From fb9bb501fb6046f4e16c7307824c588c21544698 Mon Sep 17 00:00:00 2001 From: Chao Xu Date: Mon, 17 Oct 2016 15:06:55 -0700 Subject: [PATCH] run copy.sh, remove 1.5 folder --- staging/src/k8s.io/client-go/1.5/LICENSE | 202 - .../x/sys/unix/syscall_dragonfly_386.go | 63 - .../x/sys/unix/zerrors_dragonfly_386.go | 1530 - .../x/sys/unix/zsysnum_dragonfly_386.go | 304 - .../x/sys/unix/ztypes_dragonfly_386.go | 437 - .../client-go/1.5/pkg/util/string_flag.go | 56 - .../k8s.io/client-go/1.5/rest/config_test.go | 99 - .../client-go/{1.5 => }/Godeps/Godeps.json | 6 +- .../k8s.io/client-go/{1.5 => }/Godeps/Readme | 0 staging/src/k8s.io/client-go/README.md | 38 - .../_vendor/cloud.google.com/go/LICENSE | 0 .../go/compute/metadata/metadata.go | 0 .../cloud.google.com/go/internal/cloud.go | 0 .../github.com/PuerkitoBio/purell/.gitignore | 0 .../github.com/PuerkitoBio/purell/LICENSE | 0 .../github.com/PuerkitoBio/purell/README.md | 185 + .../github.com/PuerkitoBio/purell/purell.go | 0 .../github.com/PuerkitoBio/urlesc/LICENSE | 0 .../github.com/PuerkitoBio/urlesc/README.md | 16 + .../github.com/PuerkitoBio/urlesc/urlesc.go | 0 .../_vendor/github.com/blang/semver/LICENSE | 0 .../_vendor/github.com/blang/semver/README.md | 142 + .../_vendor/github.com/blang/semver/json.go | 0 .../_vendor/github.com/blang/semver/semver.go | 0 .../_vendor/github.com/blang/semver/sort.go | 0 .../_vendor/github.com/blang/semver/sql.go | 0 .../_vendor/github.com/coreos/go-oidc/LICENSE | 0 .../_vendor/github.com/coreos/go-oidc/NOTICE | 0 .../github.com/coreos/go-oidc/http/client.go | 0 .../github.com/coreos/go-oidc/http/http.go | 0 .../github.com/coreos/go-oidc/http/url.go | 0 .../github.com/coreos/go-oidc/jose/claims.go | 0 .../github.com/coreos/go-oidc/jose/jose.go | 0 .../github.com/coreos/go-oidc/jose/jwk.go | 0 .../github.com/coreos/go-oidc/jose/jws.go | 0 .../github.com/coreos/go-oidc/jose/jwt.go | 0 .../github.com/coreos/go-oidc/jose/sig.go | 0 .../coreos/go-oidc/jose/sig_hmac.go | 0 .../github.com/coreos/go-oidc/jose/sig_rsa.go | 0 .../github.com/coreos/go-oidc/key/key.go | 0 .../github.com/coreos/go-oidc/key/manager.go | 0 .../github.com/coreos/go-oidc/key/repo.go | 0 .../github.com/coreos/go-oidc/key/rotate.go | 0 .../github.com/coreos/go-oidc/key/sync.go | 0 .../github.com/coreos/go-oidc/oauth2/error.go | 0 .../coreos/go-oidc/oauth2/oauth2.go | 0 .../github.com/coreos/go-oidc/oidc/client.go | 0 .../coreos/go-oidc/oidc/identity.go | 0 .../coreos/go-oidc/oidc/interface.go | 0 .../github.com/coreos/go-oidc/oidc/key.go | 0 .../coreos/go-oidc/oidc/provider.go | 0 .../coreos/go-oidc/oidc/transport.go | 0 .../github.com/coreos/go-oidc/oidc/util.go | 0 .../coreos/go-oidc/oidc/verification.go | 0 .../_vendor/github.com/coreos/pkg/LICENSE | 0 .../_vendor/github.com/coreos/pkg/NOTICE | 0 .../github.com/coreos/pkg/health/README.md | 11 + .../github.com/coreos/pkg/health/health.go | 0 .../github.com/coreos/pkg/httputil/README.md | 13 + .../github.com/coreos/pkg/httputil/cookie.go | 0 .../github.com/coreos/pkg/httputil/json.go | 0 .../github.com/coreos/pkg/timeutil/backoff.go | 0 .../github.com/davecgh/go-spew/LICENSE | 0 .../github.com/davecgh/go-spew/spew/bypass.go | 0 .../davecgh/go-spew/spew/bypasssafe.go | 0 .../github.com/davecgh/go-spew/spew/common.go | 0 .../github.com/davecgh/go-spew/spew/config.go | 0 .../github.com/davecgh/go-spew/spew/doc.go | 0 .../github.com/davecgh/go-spew/spew/dump.go | 0 .../github.com/davecgh/go-spew/spew/format.go | 0 .../github.com/davecgh/go-spew/spew/spew.go | 0 .../github.com/docker/distribution/LICENSE | 0 .../docker/distribution/digest/digest.go | 0 .../docker/distribution/digest/digester.go | 0 .../docker/distribution/digest/doc.go | 0 .../docker/distribution/digest/set.go | 0 .../docker/distribution/digest/verifiers.go | 0 .../distribution/reference/reference.go | 0 .../docker/distribution/reference/regexp.go | 0 .../github.com/emicklei/go-restful/.gitignore | 0 .../github.com/emicklei/go-restful/CHANGES.md | 0 .../github.com/emicklei/go-restful/LICENSE | 0 .../github.com/emicklei/go-restful/README.md | 74 + .../github.com/emicklei/go-restful/Srcfile | 0 .../emicklei/go-restful/compress.go | 0 .../emicklei/go-restful/compressor_cache.go | 0 .../emicklei/go-restful/compressor_pools.go | 0 .../emicklei/go-restful/compressors.go | 0 .../emicklei/go-restful/constants.go | 0 .../emicklei/go-restful/container.go | 0 .../emicklei/go-restful/cors_filter.go | 0 .../github.com/emicklei/go-restful/curly.go | 0 .../emicklei/go-restful/curly_route.go | 0 .../github.com/emicklei/go-restful/doc.go | 0 .../emicklei/go-restful/entity_accessors.go | 0 .../github.com/emicklei/go-restful/filter.go | 0 .../github.com/emicklei/go-restful/jsr311.go | 0 .../github.com/emicklei/go-restful/log/log.go | 0 .../github.com/emicklei/go-restful/logger.go | 0 .../github.com/emicklei/go-restful/mime.go | 0 .../emicklei/go-restful/options_filter.go | 0 .../emicklei/go-restful/parameter.go | 0 .../emicklei/go-restful/path_expression.go | 0 .../github.com/emicklei/go-restful/request.go | 0 .../emicklei/go-restful/response.go | 0 .../github.com/emicklei/go-restful/route.go | 0 .../emicklei/go-restful/route_builder.go | 0 .../github.com/emicklei/go-restful/router.go | 0 .../emicklei/go-restful/service_error.go | 0 .../emicklei/go-restful/swagger/CHANGES.md | 0 .../emicklei/go-restful/swagger/README.md | 76 + .../swagger/api_declaration_list.go | 0 .../emicklei/go-restful/swagger/config.go | 0 .../go-restful/swagger/model_builder.go | 0 .../emicklei/go-restful/swagger/model_list.go | 0 .../go-restful/swagger/model_property_ext.go | 0 .../go-restful/swagger/model_property_list.go | 0 .../go-restful/swagger/ordered_route_map.go | 0 .../emicklei/go-restful/swagger/swagger.go | 0 .../go-restful/swagger/swagger_builder.go | 0 .../go-restful/swagger/swagger_webservice.go | 0 .../emicklei/go-restful/web_service.go | 0 .../go-restful/web_service_container.go | 0 .../_vendor/github.com/ghodss/yaml/.gitignore | 0 .../_vendor/github.com/ghodss/yaml/LICENSE | 0 .../_vendor/github.com/ghodss/yaml/README.md | 116 + .../_vendor/github.com/ghodss/yaml/fields.go | 0 .../_vendor/github.com/ghodss/yaml/yaml.go | 0 .../go-openapi/jsonpointer/.drone.sec | 0 .../go-openapi/jsonpointer/.gitignore | 0 .../go-openapi/jsonpointer/CODE_OF_CONDUCT.md | 0 .../github.com/go-openapi/jsonpointer/LICENSE | 0 .../go-openapi/jsonpointer/README.md | 15 + .../go-openapi/jsonpointer/pointer.go | 0 .../go-openapi/jsonreference/.drone.sec | 0 .../go-openapi/jsonreference/.gitignore | 0 .../jsonreference/CODE_OF_CONDUCT.md | 0 .../go-openapi/jsonreference/LICENSE | 0 .../go-openapi/jsonreference/README.md | 15 + .../go-openapi/jsonreference/reference.go | 0 .../github.com/go-openapi/spec/.drone.sec | 0 .../github.com/go-openapi/spec/.gitignore | 0 .../go-openapi/spec/CODE_OF_CONDUCT.md | 0 .../github.com/go-openapi/spec/LICENSE | 0 .../github.com/go-openapi/spec/README.md | 5 + .../github.com/go-openapi/spec/bindata.go | 0 .../go-openapi/spec/contact_info.go | 0 .../github.com/go-openapi/spec/expander.go | 0 .../go-openapi/spec/external_docs.go | 0 .../github.com/go-openapi/spec/header.go | 0 .../github.com/go-openapi/spec/info.go | 0 .../github.com/go-openapi/spec/items.go | 0 .../github.com/go-openapi/spec/license.go | 0 .../github.com/go-openapi/spec/operation.go | 0 .../github.com/go-openapi/spec/parameter.go | 0 .../github.com/go-openapi/spec/path_item.go | 0 .../github.com/go-openapi/spec/paths.go | 0 .../_vendor/github.com/go-openapi/spec/ref.go | 0 .../github.com/go-openapi/spec/response.go | 0 .../github.com/go-openapi/spec/responses.go | 0 .../github.com/go-openapi/spec/schema.go | 0 .../go-openapi/spec/security_scheme.go | 0 .../github.com/go-openapi/spec/spec.go | 0 .../github.com/go-openapi/spec/swagger.go | 0 .../_vendor/github.com/go-openapi/spec/tag.go | 0 .../github.com/go-openapi/spec/xml_object.go | 0 .../github.com/go-openapi/swag/.drone.sec | 0 .../github.com/go-openapi/swag/.gitignore | 0 .../go-openapi/swag/CODE_OF_CONDUCT.md | 0 .../github.com/go-openapi/swag/LICENSE | 0 .../github.com/go-openapi/swag/README.md | 12 + .../github.com/go-openapi/swag/convert.go | 0 .../go-openapi/swag/convert_types.go | 0 .../github.com/go-openapi/swag/json.go | 0 .../github.com/go-openapi/swag/loading.go | 0 .../_vendor/github.com/go-openapi/swag/net.go | 0 .../github.com/go-openapi/swag/path.go | 0 .../github.com/go-openapi/swag/util.go | 0 .../_vendor/github.com/gogo/protobuf/LICENSE | 0 .../github.com/gogo/protobuf/proto/Makefile | 0 .../github.com/gogo/protobuf/proto/clone.go | 0 .../github.com/gogo/protobuf/proto/decode.go | 0 .../gogo/protobuf/proto/decode_gogo.go | 0 .../github.com/gogo/protobuf/proto/encode.go | 0 .../gogo/protobuf/proto/encode_gogo.go | 0 .../github.com/gogo/protobuf/proto/equal.go | 0 .../gogo/protobuf/proto/extensions.go | 0 .../gogo/protobuf/proto/extensions_gogo.go | 0 .../github.com/gogo/protobuf/proto/lib.go | 0 .../gogo/protobuf/proto/lib_gogo.go | 0 .../gogo/protobuf/proto/message_set.go | 0 .../gogo/protobuf/proto/pointer_reflect.go | 0 .../gogo/protobuf/proto/pointer_unsafe.go | 0 .../protobuf/proto/pointer_unsafe_gogo.go | 0 .../gogo/protobuf/proto/properties.go | 0 .../gogo/protobuf/proto/properties_gogo.go | 0 .../gogo/protobuf/proto/skip_gogo.go | 0 .../github.com/gogo/protobuf/proto/text.go | 0 .../gogo/protobuf/proto/text_gogo.go | 0 .../gogo/protobuf/proto/text_parser.go | 0 .../gogo/protobuf/sortkeys/sortkeys.go | 0 .../_vendor/github.com/golang/glog/LICENSE | 0 .../_vendor/github.com/golang/glog/README | 0 .../_vendor/github.com/golang/glog/glog.go | 0 .../github.com/golang/glog/glog_file.go | 0 .../github.com/golang/groupcache/LICENSE | 0 .../github.com/golang/groupcache/lru/lru.go | 0 .../github.com/golang/protobuf/LICENSE | 0 .../github.com/golang/protobuf/proto/Makefile | 0 .../github.com/golang/protobuf/proto/clone.go | 0 .../golang/protobuf/proto/decode.go | 0 .../golang/protobuf/proto/encode.go | 0 .../github.com/golang/protobuf/proto/equal.go | 0 .../golang/protobuf/proto/extensions.go | 0 .../github.com/golang/protobuf/proto/lib.go | 0 .../golang/protobuf/proto/message_set.go | 0 .../golang/protobuf/proto/pointer_reflect.go | 0 .../golang/protobuf/proto/pointer_unsafe.go | 0 .../golang/protobuf/proto/properties.go | 0 .../github.com/golang/protobuf/proto/text.go | 0 .../golang/protobuf/proto/text_parser.go | 0 .../github.com/google/gofuzz/CONTRIBUTING.md | 0 .../_vendor/github.com/google/gofuzz/LICENSE | 0 .../github.com/google/gofuzz/README.md | 71 + .../_vendor/github.com/google/gofuzz/doc.go | 0 .../_vendor/github.com/google/gofuzz/fuzz.go | 0 .../github.com/howeyc/gopass/LICENSE.txt | 0 .../howeyc/gopass/OPENSOLARIS.LICENSE | 0 .../github.com/howeyc/gopass/README.md | 27 + .../_vendor/github.com/howeyc/gopass/pass.go | 0 .../github.com/howeyc/gopass/terminal.go | 0 .../howeyc/gopass/terminal_solaris.go | 0 .../_vendor/github.com/imdario/mergo/LICENSE | 0 .../github.com/imdario/mergo/README.md | 68 + .../_vendor/github.com/imdario/mergo/doc.go | 0 .../_vendor/github.com/imdario/mergo/map.go | 0 .../_vendor/github.com/imdario/mergo/merge.go | 0 .../_vendor/github.com/imdario/mergo/mergo.go | 0 .../github.com/jonboulle/clockwork/.gitignore | 0 .../github.com/jonboulle/clockwork/LICENSE | 0 .../github.com/jonboulle/clockwork/README.md | 58 + .../jonboulle/clockwork/clockwork.go | 0 .../_vendor/github.com/juju/ratelimit/LICENSE | 0 .../github.com/juju/ratelimit/README.md | 117 + .../github.com/juju/ratelimit/ratelimit.go | 0 .../github.com/juju/ratelimit/reader.go | 0 .../github.com/mailru/easyjson/LICENSE | 0 .../github.com/mailru/easyjson/buffer/pool.go | 0 .../mailru/easyjson/jlexer/error.go | 0 .../mailru/easyjson/jlexer/lexer.go | 0 .../mailru/easyjson/jwriter/writer.go | 0 .../github.com/pborman/uuid/CONTRIBUTORS | 0 .../_vendor/github.com/pborman/uuid/LICENSE | 0 .../_vendor/github.com/pborman/uuid/dce.go | 0 .../_vendor/github.com/pborman/uuid/doc.go | 0 .../_vendor/github.com/pborman/uuid/hash.go | 0 .../_vendor/github.com/pborman/uuid/json.go | 0 .../_vendor/github.com/pborman/uuid/node.go | 0 .../_vendor/github.com/pborman/uuid/time.go | 0 .../_vendor/github.com/pborman/uuid/util.go | 0 .../_vendor/github.com/pborman/uuid/uuid.go | 0 .../github.com/pborman/uuid/version1.go | 0 .../github.com/pborman/uuid/version4.go | 0 .../_vendor/github.com/spf13/pflag/LICENSE | 0 .../_vendor/github.com/spf13/pflag/README.md | 275 + .../_vendor/github.com/spf13/pflag/bool.go | 7 +- .../_vendor/github.com/spf13/pflag/count.go | 7 +- .../github.com/spf13/pflag/duration.go | 0 .../_vendor/github.com/spf13/pflag/flag.go | 63 +- .../_vendor/github.com/spf13/pflag/float32.go | 7 +- .../_vendor/github.com/spf13/pflag/float64.go | 7 +- .../github.com/spf13/pflag/golangflag.go | 0 .../_vendor/github.com/spf13/pflag/int.go | 7 +- .../_vendor/github.com/spf13/pflag/int32.go | 7 +- .../_vendor/github.com/spf13/pflag/int64.go | 7 +- .../_vendor/github.com/spf13/pflag/int8.go | 7 +- .../github.com/spf13/pflag/int_slice.go | 0 .../_vendor/github.com/spf13/pflag/ip.go | 0 .../_vendor/github.com/spf13/pflag/ipmask.go | 0 .../_vendor/github.com/spf13/pflag/ipnet.go | 0 .../_vendor/github.com/spf13/pflag/string.go | 4 +- .../github.com/spf13/pflag/string_array.go | 110 + .../github.com/spf13/pflag/string_slice.go | 31 +- .../_vendor/github.com/spf13/pflag/uint.go | 7 +- .../_vendor/github.com/spf13/pflag/uint16.go | 9 +- .../_vendor/github.com/spf13/pflag/uint32.go | 11 +- .../_vendor/github.com/spf13/pflag/uint64.go | 7 +- .../_vendor/github.com/spf13/pflag/uint8.go | 7 +- .../_vendor/github.com/ugorji/go/LICENSE | 0 .../github.com/ugorji/go/codec/0doc.go | 0 .../github.com/ugorji/go/codec/README.md | 148 + .../github.com/ugorji/go/codec/binc.go | 0 .../github.com/ugorji/go/codec/cbor.go | 0 .../github.com/ugorji/go/codec/decode.go | 0 .../github.com/ugorji/go/codec/encode.go | 0 .../ugorji/go/codec/fast-path.generated.go | 0 .../ugorji/go/codec/fast-path.go.tmpl | 0 .../ugorji/go/codec/fast-path.not.go | 0 .../ugorji/go/codec/gen-dec-array.go.tmpl | 0 .../ugorji/go/codec/gen-dec-map.go.tmpl | 0 .../ugorji/go/codec/gen-helper.generated.go | 0 .../ugorji/go/codec/gen-helper.go.tmpl | 0 .../ugorji/go/codec/gen.generated.go | 0 .../_vendor/github.com/ugorji/go/codec/gen.go | 0 .../github.com/ugorji/go/codec/helper.go | 0 .../ugorji/go/codec/helper_internal.go | 0 .../ugorji/go/codec/helper_not_unsafe.go | 0 .../ugorji/go/codec/helper_unsafe.go | 0 .../github.com/ugorji/go/codec/json.go | 0 .../github.com/ugorji/go/codec/msgpack.go | 0 .../github.com/ugorji/go/codec/noop.go | 0 .../github.com/ugorji/go/codec/prebuild.go | 0 .../_vendor/github.com/ugorji/go/codec/rpc.go | 0 .../github.com/ugorji/go/codec/simple.go | 0 .../github.com/ugorji/go/codec/test.py | 0 .../github.com/ugorji/go/codec/time.go | 0 .../_vendor/golang.org/x/crypto/LICENSE | 0 .../_vendor/golang.org/x/crypto/PATENTS | 0 .../x/crypto/ssh/terminal/terminal.go | 0 .../golang.org/x/crypto/ssh/terminal/util.go | 0 .../x/crypto/ssh/terminal/util_bsd.go | 0 .../x/crypto/ssh/terminal/util_linux.go | 0 .../x/crypto/ssh/terminal/util_windows.go | 0 .../_vendor/golang.org/x/net/LICENSE | 0 .../_vendor/golang.org/x/net/PATENTS | 0 .../golang.org/x/net/context/context.go | 0 .../x/net/context/ctxhttp/ctxhttp.go | 0 .../x/net/context/ctxhttp/ctxhttp_pre17.go | 0 .../_vendor/golang.org/x/net/context/go17.go | 0 .../golang.org/x/net/context/pre_go17.go | 0 .../_vendor/golang.org/x/net/http2/.gitignore | 0 .../_vendor/golang.org/x/net/http2/Dockerfile | 0 .../_vendor/golang.org/x/net/http2/Makefile | 0 .../_vendor/golang.org/x/net/http2/README | 0 .../x/net/http2/client_conn_pool.go | 0 .../x/net/http2/configure_transport.go | 0 .../_vendor/golang.org/x/net/http2/errors.go | 0 .../golang.org/x/net/http2/fixed_buffer.go | 0 .../_vendor/golang.org/x/net/http2/flow.go | 0 .../_vendor/golang.org/x/net/http2/frame.go | 0 .../_vendor/golang.org/x/net/http2/go16.go | 0 .../_vendor/golang.org/x/net/http2/go17.go | 0 .../_vendor/golang.org/x/net/http2/gotrack.go | 0 .../golang.org/x/net/http2/headermap.go | 0 .../golang.org/x/net/http2/hpack/encode.go | 0 .../golang.org/x/net/http2/hpack/hpack.go | 0 .../golang.org/x/net/http2/hpack/huffman.go | 0 .../golang.org/x/net/http2/hpack/tables.go | 0 .../_vendor/golang.org/x/net/http2/http2.go | 0 .../golang.org/x/net/http2/not_go16.go | 0 .../golang.org/x/net/http2/not_go17.go | 0 .../_vendor/golang.org/x/net/http2/pipe.go | 0 .../_vendor/golang.org/x/net/http2/server.go | 0 .../golang.org/x/net/http2/transport.go | 0 .../_vendor/golang.org/x/net/http2/write.go | 0 .../golang.org/x/net/http2/writesched.go | 0 .../_vendor/golang.org/x/net/idna/idna.go | 0 .../_vendor/golang.org/x/net/idna/punycode.go | 0 .../golang.org/x/net/lex/httplex/httplex.go | 0 .../_vendor/golang.org/x/oauth2/AUTHORS | 0 .../golang.org/x/oauth2/CONTRIBUTING.md | 0 .../_vendor/golang.org/x/oauth2/CONTRIBUTORS | 0 .../_vendor/golang.org/x/oauth2/LICENSE | 0 .../_vendor/golang.org/x/oauth2/README.md | 65 + .../golang.org/x/oauth2/client_appengine.go | 0 .../golang.org/x/oauth2/google/appengine.go | 0 .../x/oauth2/google/appengine_hook.go | 0 .../x/oauth2/google/appenginevm_hook.go | 0 .../golang.org/x/oauth2/google/default.go | 0 .../golang.org/x/oauth2/google/google.go | 0 .../_vendor/golang.org/x/oauth2/google/jwt.go | 0 .../_vendor/golang.org/x/oauth2/google/sdk.go | 0 .../golang.org/x/oauth2/internal/oauth2.go | 0 .../golang.org/x/oauth2/internal/token.go | 0 .../golang.org/x/oauth2/internal/transport.go | 0 .../_vendor/golang.org/x/oauth2/jws/jws.go | 0 .../_vendor/golang.org/x/oauth2/jwt/jwt.go | 0 .../_vendor/golang.org/x/oauth2/oauth2.go | 0 .../_vendor/golang.org/x/oauth2/token.go | 0 .../_vendor/golang.org/x/oauth2/transport.go | 0 .../_vendor/golang.org/x/sys/LICENSE | 0 .../_vendor/golang.org/x/sys/PATENTS | 0 .../_vendor/golang.org/x/sys/unix/.gitignore | 1 + .../_vendor/golang.org/x/sys/unix/asm.s | 0 .../golang.org/x/sys/unix/asm_darwin_386.s | 0 .../golang.org/x/sys/unix/asm_darwin_amd64.s | 0 .../golang.org/x/sys/unix/asm_darwin_arm.s | 0 .../golang.org/x/sys/unix/asm_darwin_arm64.s | 0 .../x/sys/unix/asm_dragonfly_amd64.s | 0 .../golang.org/x/sys/unix/asm_freebsd_386.s | 0 .../golang.org/x/sys/unix/asm_freebsd_amd64.s | 0 .../golang.org/x/sys/unix/asm_freebsd_arm.s | 0 .../golang.org/x/sys/unix/asm_linux_386.s | 0 .../golang.org/x/sys/unix/asm_linux_amd64.s | 0 .../golang.org/x/sys/unix/asm_linux_arm.s | 0 .../golang.org/x/sys/unix/asm_linux_arm64.s | 0 .../x/sys/unix/asm_linux_mips64x.s} | 17 +- .../golang.org/x/sys/unix/asm_linux_ppc64x.s | 0 .../golang.org/x/sys/unix/asm_linux_s390x.s | 28 + .../golang.org/x/sys/unix/asm_netbsd_386.s | 0 .../golang.org/x/sys/unix/asm_netbsd_amd64.s | 0 .../golang.org/x/sys/unix/asm_netbsd_arm.s | 0 .../golang.org/x/sys/unix/asm_openbsd_386.s | 0 .../golang.org/x/sys/unix/asm_openbsd_amd64.s | 0 .../golang.org/x/sys/unix/asm_solaris_amd64.s | 0 .../golang.org/x/sys/unix/bluetooth_linux.go | 35 + .../golang.org/x/sys/unix/constants.go | 0 .../_vendor/golang.org/x/sys/unix/env_unix.go | 0 .../golang.org/x/sys/unix/env_unset.go | 0 .../_vendor/golang.org/x/sys/unix/flock.go | 0 .../x/sys/unix/flock_linux_32bit.go | 0 .../_vendor/golang.org/x/sys/unix/gccgo.go | 0 .../_vendor/golang.org/x/sys/unix/gccgo_c.c | 0 .../x/sys/unix/gccgo_linux_amd64.go | 0 .../_vendor/golang.org/x/sys/unix/mkpost.go | 62 + .../golang.org/x/sys/unix/mksyscall.pl | 0 .../x/sys/unix/mksyscall_solaris.pl | 4 +- .../golang.org/x/sys/unix/mksysctl_openbsd.pl | 0 .../golang.org/x/sys/unix/mksysnum_darwin.pl | 0 .../x/sys/unix/mksysnum_dragonfly.pl | 0 .../golang.org/x/sys/unix/mksysnum_freebsd.pl | 0 .../golang.org/x/sys/unix/mksysnum_linux.pl | 0 .../golang.org/x/sys/unix/mksysnum_netbsd.pl | 0 .../golang.org/x/sys/unix/mksysnum_openbsd.pl | 0 .../_vendor/golang.org/x/sys/unix/race.go | 0 .../_vendor/golang.org/x/sys/unix/race0.go | 0 .../golang.org/x/sys/unix/sockcmsg_linux.go | 0 .../golang.org/x/sys/unix/sockcmsg_unix.go | 8 +- .../_vendor/golang.org/x/sys/unix/str.go | 0 .../_vendor/golang.org/x/sys/unix/syscall.go | 2 + .../golang.org/x/sys/unix/syscall_bsd.go | 79 +- .../golang.org/x/sys/unix/syscall_darwin.go | 2 + .../x/sys/unix/syscall_darwin_386.go | 2 - .../x/sys/unix/syscall_darwin_amd64.go | 4 +- .../x/sys/unix/syscall_darwin_arm.go | 2 - .../x/sys/unix/syscall_darwin_arm64.go | 2 - .../x/sys/unix/syscall_dragonfly.go | 1 + .../x/sys/unix/syscall_dragonfly_amd64.go | 2 - .../golang.org/x/sys/unix/syscall_freebsd.go | 1 + .../x/sys/unix/syscall_freebsd_386.go | 2 - .../x/sys/unix/syscall_freebsd_amd64.go | 2 - .../x/sys/unix/syscall_freebsd_arm.go | 2 - .../golang.org/x/sys/unix/syscall_linux.go | 51 +- .../x/sys/unix/syscall_linux_386.go | 15 +- .../x/sys/unix/syscall_linux_amd64.go | 15 +- .../x/sys/unix/syscall_linux_arm.go | 34 +- .../x/sys/unix/syscall_linux_arm64.go | 48 +- .../x/sys/unix/syscall_linux_mips64x.go | 215 + .../x/sys/unix/syscall_linux_ppc64x.go | 43 +- .../x/sys/unix/syscall_linux_s390x.go | 329 + .../golang.org/x/sys/unix/syscall_netbsd.go | 0 .../x/sys/unix/syscall_netbsd_386.go | 2 - .../x/sys/unix/syscall_netbsd_amd64.go | 2 - .../x/sys/unix/syscall_netbsd_arm.go | 2 - .../golang.org/x/sys/unix/syscall_no_getwd.go | 0 .../golang.org/x/sys/unix/syscall_openbsd.go | 1 + .../x/sys/unix/syscall_openbsd_386.go | 2 - .../x/sys/unix/syscall_openbsd_amd64.go | 2 - .../golang.org/x/sys/unix/syscall_solaris.go | 263 +- .../x/sys/unix/syscall_solaris_amd64.go | 4 - .../golang.org/x/sys/unix/syscall_unix.go | 0 .../golang.org/x/sys/unix/types_darwin.go | 7 + .../golang.org/x/sys/unix/types_dragonfly.go | 0 .../golang.org/x/sys/unix/types_freebsd.go | 0 .../golang.org/x/sys/unix/types_linux.go | 57 +- .../golang.org/x/sys/unix/types_netbsd.go | 0 .../golang.org/x/sys/unix/types_openbsd.go | 0 .../golang.org/x/sys/unix/types_solaris.go | 40 + .../x/sys/unix/zerrors_darwin_386.go | 0 .../x/sys/unix/zerrors_darwin_amd64.go | 0 .../x/sys/unix/zerrors_darwin_arm.go | 0 .../x/sys/unix/zerrors_darwin_arm64.go | 0 .../x/sys/unix/zerrors_dragonfly_amd64.go | 0 .../x/sys/unix/zerrors_freebsd_386.go | 14 + .../x/sys/unix/zerrors_freebsd_amd64.go | 14 + .../x/sys/unix/zerrors_freebsd_arm.go | 0 .../x/sys/unix/zerrors_linux_386.go | 58 + .../x/sys/unix/zerrors_linux_amd64.go | 58 + .../x/sys/unix/zerrors_linux_arm.go | 166 + .../x/sys/unix/zerrors_linux_arm64.go | 54 + .../x/sys/unix/zerrors_linux_mips64.go | 1917 + .../x/sys/unix/zerrors_linux_mips64le.go | 1917 + .../x/sys/unix/zerrors_linux_ppc64.go | 48 + .../x/sys/unix/zerrors_linux_ppc64le.go | 48 + .../x/sys/unix/zerrors_linux_s390x.go | 2027 + .../x/sys/unix/zerrors_netbsd_386.go | 0 .../x/sys/unix/zerrors_netbsd_amd64.go | 0 .../x/sys/unix/zerrors_netbsd_arm.go | 0 .../x/sys/unix/zerrors_openbsd_386.go | 0 .../x/sys/unix/zerrors_openbsd_amd64.go | 0 .../x/sys/unix/zerrors_solaris_amd64.go | 26 +- .../x/sys/unix/zsyscall_darwin_386.go | 1 + .../x/sys/unix/zsyscall_darwin_amd64.go | 17 + .../x/sys/unix/zsyscall_darwin_arm.go | 1 + .../x/sys/unix/zsyscall_darwin_arm64.go | 1 + .../x/sys/unix/zsyscall_dragonfly_amd64.go | 1 + .../x/sys/unix/zsyscall_freebsd_386.go | 1 + .../x/sys/unix/zsyscall_freebsd_amd64.go | 1 + .../x/sys/unix/zsyscall_freebsd_arm.go | 1 + .../x/sys/unix/zsyscall_linux_386.go | 130 +- .../x/sys/unix/zsyscall_linux_amd64.go | 130 +- .../x/sys/unix/zsyscall_linux_arm.go | 111 +- .../x/sys/unix/zsyscall_linux_arm64.go | 104 +- .../x/sys/unix/zsyscall_linux_mips64.go | 1803 + .../x/sys/unix/zsyscall_linux_mips64le.go | 1803 + .../x/sys/unix/zsyscall_linux_ppc64.go | 171 +- .../x/sys/unix/zsyscall_linux_ppc64le.go | 171 +- .../x/sys/unix/zsyscall_linux_s390x.go} | 1813 +- .../x/sys/unix/zsyscall_netbsd_386.go | 1 + .../x/sys/unix/zsyscall_netbsd_amd64.go | 1 + .../x/sys/unix/zsyscall_netbsd_arm.go | 1 + .../x/sys/unix/zsyscall_openbsd_386.go | 1 + .../x/sys/unix/zsyscall_openbsd_amd64.go | 1 + .../x/sys/unix/zsyscall_solaris_amd64.go | 614 +- .../golang.org/x/sys/unix/zsysctl_openbsd.go | 0 .../x/sys/unix/zsysnum_darwin_386.go | 0 .../x/sys/unix/zsysnum_darwin_amd64.go | 0 .../x/sys/unix/zsysnum_darwin_arm.go | 0 .../x/sys/unix/zsysnum_darwin_arm64.go | 2 +- .../x/sys/unix/zsysnum_dragonfly_amd64.go | 0 .../x/sys/unix/zsysnum_freebsd_386.go | 0 .../x/sys/unix/zsysnum_freebsd_amd64.go | 0 .../x/sys/unix/zsysnum_freebsd_arm.go | 0 .../x/sys/unix/zsysnum_linux_386.go | 0 .../x/sys/unix/zsysnum_linux_amd64.go | 0 .../x/sys/unix/zsysnum_linux_arm.go | 0 .../x/sys/unix/zsysnum_linux_arm64.go | 0 .../x/sys/unix/zsysnum_linux_mips64.go | 327 + .../x/sys/unix/zsysnum_linux_mips64le.go | 327 + .../x/sys/unix/zsysnum_linux_ppc64.go | 0 .../x/sys/unix/zsysnum_linux_ppc64le.go | 0 .../x/sys/unix/zsysnum_linux_s390x.go | 328 + .../x/sys/unix/zsysnum_netbsd_386.go | 0 .../x/sys/unix/zsysnum_netbsd_amd64.go | 0 .../x/sys/unix/zsysnum_netbsd_arm.go | 0 .../x/sys/unix/zsysnum_openbsd_386.go | 0 .../x/sys/unix/zsysnum_openbsd_amd64.go | 0 .../x/sys/unix/zsysnum_solaris_amd64.go | 0 .../x/sys/unix/ztypes_darwin_386.go | 0 .../x/sys/unix/ztypes_darwin_amd64.go | 5 + .../x/sys/unix/ztypes_darwin_arm.go | 0 .../x/sys/unix/ztypes_darwin_arm64.go | 0 .../x/sys/unix/ztypes_dragonfly_amd64.go | 0 .../x/sys/unix/ztypes_freebsd_386.go | 12 +- .../x/sys/unix/ztypes_freebsd_amd64.go | 12 +- .../x/sys/unix/ztypes_freebsd_arm.go | 0 .../golang.org/x/sys/unix/ztypes_linux_386.go | 61 +- .../x/sys/unix/ztypes_linux_amd64.go | 61 +- .../golang.org/x/sys/unix/ztypes_linux_arm.go | 148 +- .../x/sys/unix/ztypes_linux_arm64.go | 51 +- .../x/sys/unix/ztypes_linux_mips64.go | 627 + .../x/sys/unix/ztypes_linux_mips64le.go | 627 + .../x/sys/unix/ztypes_linux_ppc64.go | 57 +- .../x/sys/unix/ztypes_linux_ppc64le.go | 57 +- .../x/sys/unix/ztypes_linux_s390x.go | 649 + .../x/sys/unix/ztypes_netbsd_386.go | 0 .../x/sys/unix/ztypes_netbsd_amd64.go | 0 .../x/sys/unix/ztypes_netbsd_arm.go | 0 .../x/sys/unix/ztypes_openbsd_386.go | 0 .../x/sys/unix/ztypes_openbsd_amd64.go | 0 .../x/sys/unix/ztypes_solaris_amd64.go | 62 +- .../_vendor/golang.org/x/text/LICENSE | 0 .../_vendor/golang.org/x/text/PATENTS | 0 .../_vendor/golang.org/x/text/cases/cases.go | 0 .../golang.org/x/text/cases/context.go | 0 .../_vendor/golang.org/x/text/cases/fold.go | 0 .../_vendor/golang.org/x/text/cases/gen.go | 0 .../golang.org/x/text/cases/gen_trieval.go | 0 .../_vendor/golang.org/x/text/cases/info.go | 0 .../_vendor/golang.org/x/text/cases/map.go | 0 .../_vendor/golang.org/x/text/cases/tables.go | 0 .../golang.org/x/text/cases/trieval.go | 0 .../golang.org/x/text/internal/tag/tag.go | 0 .../golang.org/x/text/language/Makefile | 0 .../golang.org/x/text/language/common.go | 0 .../golang.org/x/text/language/coverage.go | 0 .../golang.org/x/text/language/gen_common.go | 0 .../golang.org/x/text/language/gen_index.go | 0 .../golang.org/x/text/language/go1_1.go | 0 .../golang.org/x/text/language/go1_2.go | 0 .../golang.org/x/text/language/index.go | 0 .../golang.org/x/text/language/language.go | 0 .../golang.org/x/text/language/lookup.go | 0 .../golang.org/x/text/language/maketables.go | 0 .../golang.org/x/text/language/match.go | 0 .../golang.org/x/text/language/parse.go | 0 .../golang.org/x/text/language/tables.go | 0 .../golang.org/x/text/language/tags.go | 0 .../_vendor/golang.org/x/text/runes/cond.go | 0 .../_vendor/golang.org/x/text/runes/runes.go | 0 .../x/text/secure/bidirule/bidirule.go | 0 .../golang.org/x/text/secure/precis/class.go | 0 .../x/text/secure/precis/context.go | 0 .../golang.org/x/text/secure/precis/doc.go | 0 .../golang.org/x/text/secure/precis/gen.go | 0 .../x/text/secure/precis/gen_trieval.go | 0 .../x/text/secure/precis/nickname.go | 0 .../x/text/secure/precis/options.go | 0 .../x/text/secure/precis/profile.go | 0 .../x/text/secure/precis/profiles.go | 0 .../golang.org/x/text/secure/precis/tables.go | 0 .../x/text/secure/precis/transformer.go | 0 .../x/text/secure/precis/trieval.go | 0 .../golang.org/x/text/transform/transform.go | 0 .../golang.org/x/text/unicode/bidi/bidi.go | 0 .../golang.org/x/text/unicode/bidi/bracket.go | 0 .../golang.org/x/text/unicode/bidi/core.go | 0 .../golang.org/x/text/unicode/bidi/gen.go | 0 .../x/text/unicode/bidi/gen_ranges.go | 0 .../x/text/unicode/bidi/gen_trieval.go | 0 .../golang.org/x/text/unicode/bidi/prop.go | 0 .../golang.org/x/text/unicode/bidi/tables.go | 0 .../golang.org/x/text/unicode/bidi/trieval.go | 0 .../x/text/unicode/norm/composition.go | 0 .../x/text/unicode/norm/forminfo.go | 0 .../golang.org/x/text/unicode/norm/input.go | 0 .../golang.org/x/text/unicode/norm/iter.go | 0 .../x/text/unicode/norm/maketables.go | 0 .../x/text/unicode/norm/normalize.go | 0 .../x/text/unicode/norm/readwriter.go | 0 .../golang.org/x/text/unicode/norm/tables.go | 0 .../x/text/unicode/norm/transform.go | 0 .../golang.org/x/text/unicode/norm/trie.go | 0 .../golang.org/x/text/unicode/norm/triegen.go | 0 .../_vendor/golang.org/x/text/width/gen.go | 0 .../golang.org/x/text/width/gen_common.go | 0 .../golang.org/x/text/width/gen_trieval.go | 0 .../golang.org/x/text/width/kind_string.go | 0 .../_vendor/golang.org/x/text/width/tables.go | 0 .../golang.org/x/text/width/transform.go | 0 .../golang.org/x/text/width/trieval.go | 0 .../_vendor/golang.org/x/text/width/width.go | 0 .../google.golang.org/appengine/LICENSE | 0 .../google.golang.org/appengine/README.md | 71 + .../google.golang.org/appengine/appengine.go | 0 .../appengine/appengine_vm.go | 0 .../google.golang.org/appengine/errors.go | 0 .../google.golang.org/appengine/identity.go | 0 .../appengine/internal/api.go | 0 .../appengine/internal/api_classic.go | 0 .../appengine/internal/api_common.go | 0 .../appengine/internal/app_id.go | 0 .../app_identity/app_identity_service.pb.go | 0 .../app_identity/app_identity_service.proto | 0 .../appengine/internal/base/api_base.pb.go | 0 .../appengine/internal/base/api_base.proto | 0 .../internal/datastore/datastore_v3.pb.go | 0 .../internal/datastore/datastore_v3.proto | 0 .../appengine/internal/identity.go | 0 .../appengine/internal/identity_classic.go | 0 .../appengine/internal/identity_vm.go | 0 .../appengine/internal/internal.go | 0 .../appengine/internal/log/log_service.pb.go | 0 .../appengine/internal/log/log_service.proto | 0 .../appengine/internal/main.go | 0 .../appengine/internal/main_vm.go | 0 .../appengine/internal/metadata.go | 0 .../internal/modules/modules_service.pb.go | 0 .../internal/modules/modules_service.proto | 0 .../appengine/internal/net.go | 0 .../internal/remote_api/remote_api.pb.go | 0 .../internal/remote_api/remote_api.proto | 0 .../appengine/internal/transaction.go | 0 .../google.golang.org/appengine/namespace.go | 0 .../google.golang.org/appengine/timeout.go | 0 .../{1.5 => }/_vendor/gopkg.in/inf.v0/LICENSE | 0 .../{1.5 => }/_vendor/gopkg.in/inf.v0/dec.go | 0 .../_vendor/gopkg.in/inf.v0/rounder.go | 0 .../_vendor/gopkg.in/yaml.v2/LICENSE | 0 .../_vendor/gopkg.in/yaml.v2/LICENSE.libyaml | 0 .../_vendor/gopkg.in/yaml.v2/README.md | 131 + .../_vendor/gopkg.in/yaml.v2/apic.go | 0 .../_vendor/gopkg.in/yaml.v2/decode.go | 0 .../_vendor/gopkg.in/yaml.v2/emitterc.go | 0 .../_vendor/gopkg.in/yaml.v2/encode.go | 0 .../_vendor/gopkg.in/yaml.v2/parserc.go | 0 .../_vendor/gopkg.in/yaml.v2/readerc.go | 0 .../_vendor/gopkg.in/yaml.v2/resolve.go | 0 .../_vendor/gopkg.in/yaml.v2/scannerc.go | 0 .../_vendor/gopkg.in/yaml.v2/sorter.go | 0 .../_vendor/gopkg.in/yaml.v2/writerc.go | 0 .../_vendor/gopkg.in/yaml.v2/yaml.go | 0 .../_vendor/gopkg.in/yaml.v2/yamlh.go | 0 .../_vendor/gopkg.in/yaml.v2/yamlprivateh.go | 0 .../{1.5 => }/discovery/discovery_client.go | 73 +- .../discovery/discovery_client_test.go | 107 +- .../{1.5 => }/discovery/fake/discovery.go | 8 +- .../{1.5 => }/discovery/restmapper.go | 6 +- .../{1.5 => }/discovery/restmapper_test.go | 2 +- .../{1.5 => }/discovery/unstructured.go | 4 +- .../client-go/{1.5 => }/dynamic/client.go | 18 +- .../{1.5 => }/dynamic/client_pool.go | 12 +- .../{1.5 => }/dynamic/client_test.go | 16 +- .../{1.5 => }/dynamic/dynamic_util.go | 6 +- .../{1.5 => }/dynamic/dynamic_util_test.go | 2 +- .../client-go/examples/in-cluster/main.go | 47 - .../client-go/examples/out-of-cluster/main.go | 53 - .../{1.5 => }/kubernetes/clientset.go | 30 +- .../client-go/{1.5 => }/kubernetes/doc.go | 0 .../kubernetes/fake/clientset_generated.go | 60 +- .../{1.5 => }/kubernetes/fake/doc.go | 0 .../kubernetes/import_known_versions.go | 24 +- .../typed/apps/v1alpha1/apps_client.go | 8 +- .../kubernetes/typed/apps/v1alpha1/doc.go | 0 .../typed/apps/v1alpha1/fake/doc.go | 0 .../apps/v1alpha1/fake/fake_apps_client.go | 6 +- .../typed/apps/v1alpha1/fake/fake_petset.go | 23 +- .../apps/v1alpha1/generated_expansion.go | 0 .../kubernetes/typed/apps/v1alpha1/petset.go | 23 +- .../v1beta1/authentication_client.go | 8 +- .../typed/authentication/v1beta1/doc.go | 0 .../typed/authentication/v1beta1/fake/doc.go | 0 .../fake/fake_authentication_client.go | 6 +- .../v1beta1/fake/fake_tokenreview.go | 0 .../v1beta1/generated_expansion.go | 0 .../authentication/v1beta1/tokenreview.go | 0 .../v1beta1/authorization_client.go | 8 +- .../typed/authorization/v1beta1/doc.go | 0 .../typed/authorization/v1beta1/fake/doc.go | 0 .../v1beta1/fake/fake_authorization_client.go | 6 +- .../fake/fake_localsubjectaccessreview.go | 0 .../fake/fake_selfsubjectaccessreview.go | 0 .../v1beta1/fake/fake_subjectaccessreview.go | 0 .../fake_subjectaccessreview_expansion.go | 4 +- .../v1beta1/generated_expansion.go | 0 .../v1beta1/localsubjectaccessreview.go | 0 .../v1beta1/selfsubjectaccessreview.go | 0 .../v1beta1/subjectaccessreview.go | 0 .../v1beta1/subjectaccessreview_expansion.go | 2 +- .../autoscaling/v1/autoscaling_client.go | 8 +- .../kubernetes/typed/autoscaling/v1/doc.go | 0 .../typed/autoscaling/v1/fake/doc.go | 0 .../v1/fake/fake_autoscaling_client.go | 6 +- .../v1/fake/fake_horizontalpodautoscaler.go | 23 +- .../autoscaling/v1/generated_expansion.go | 0 .../autoscaling/v1/horizontalpodautoscaler.go | 23 +- .../kubernetes/typed/batch/v1/batch_client.go | 8 +- .../kubernetes/typed/batch/v1/doc.go | 0 .../kubernetes/typed/batch/v1/fake/doc.go | 0 .../typed/batch/v1/fake/fake_batch_client.go | 6 +- .../typed/batch/v1/fake/fake_job.go | 23 +- .../typed/batch/v1/generated_expansion.go | 0 .../kubernetes/typed/batch/v1/job.go | 23 +- .../v1alpha1/certificates_client.go | 8 +- .../v1alpha1/certificatesigningrequest.go | 23 +- .../typed/certificates/v1alpha1/doc.go | 0 .../typed/certificates/v1alpha1/fake/doc.go | 0 .../v1alpha1/fake/fake_certificates_client.go | 6 +- .../fake/fake_certificatesigningrequest.go | 23 +- .../v1alpha1/generated_expansion.go | 0 .../typed/core/v1/componentstatus.go | 22 +- .../kubernetes/typed/core/v1/configmap.go | 22 +- .../kubernetes/typed/core/v1/core_client.go | 8 +- .../{1.5 => }/kubernetes/typed/core/v1/doc.go | 0 .../kubernetes/typed/core/v1/endpoints.go | 22 +- .../kubernetes/typed/core/v1/event.go | 22 +- .../typed/core/v1/event_expansion.go | 10 +- .../kubernetes/typed/core/v1/fake/doc.go | 0 .../core/v1/fake/fake_componentstatus.go | 22 +- .../typed/core/v1/fake/fake_configmap.go | 22 +- .../typed/core/v1/fake/fake_core_client.go | 6 +- .../typed/core/v1/fake/fake_endpoints.go | 22 +- .../typed/core/v1/fake/fake_event.go | 22 +- .../core/v1/fake/fake_event_expansion.go | 10 +- .../typed/core/v1/fake/fake_limitrange.go | 22 +- .../typed/core/v1/fake/fake_namespace.go | 22 +- .../core/v1/fake/fake_namespace_expansion.go | 4 +- .../typed/core/v1/fake/fake_node.go | 22 +- .../core/v1/fake/fake_persistentvolume.go | 22 +- .../v1/fake/fake_persistentvolumeclaim.go | 22 +- .../kubernetes/typed/core/v1/fake/fake_pod.go | 22 +- .../typed/core/v1/fake/fake_pod_expansion.go | 18 +- .../typed/core/v1/fake/fake_podtemplate.go | 22 +- .../v1/fake/fake_replicationcontroller.go | 22 +- .../typed/core/v1/fake/fake_resourcequota.go | 22 +- .../typed/core/v1/fake/fake_secret.go | 22 +- .../typed/core/v1/fake/fake_service.go | 22 +- .../core/v1/fake/fake_service_expansion.go | 4 +- .../typed/core/v1/fake/fake_serviceaccount.go | 22 +- .../typed/core/v1/generated_expansion.go | 0 .../kubernetes/typed/core/v1/limitrange.go | 22 +- .../kubernetes/typed/core/v1/namespace.go | 22 +- .../typed/core/v1/namespace_expansion.go | 2 +- .../kubernetes/typed/core/v1/node.go | 22 +- .../typed/core/v1/persistentvolume.go | 22 +- .../typed/core/v1/persistentvolumeclaim.go | 22 +- .../{1.5 => }/kubernetes/typed/core/v1/pod.go | 22 +- .../kubernetes/typed/core/v1/pod_expansion.go | 8 +- .../kubernetes/typed/core/v1/podtemplate.go | 22 +- .../typed/core/v1/replicationcontroller.go | 22 +- .../kubernetes/typed/core/v1/resourcequota.go | 22 +- .../kubernetes/typed/core/v1/secret.go | 22 +- .../kubernetes/typed/core/v1/service.go | 22 +- .../typed/core/v1/service_expansion.go | 4 +- .../typed/core/v1/serviceaccount.go | 22 +- .../typed/extensions/v1beta1/daemonset.go | 23 +- .../typed/extensions/v1beta1/deployment.go | 23 +- .../v1beta1/deployment_expansion.go | 2 +- .../typed/extensions/v1beta1/doc.go | 0 .../extensions/v1beta1/extensions_client.go | 8 +- .../typed/extensions/v1beta1/fake/doc.go | 0 .../extensions/v1beta1/fake/fake_daemonset.go | 23 +- .../v1beta1/fake/fake_deployment.go | 23 +- .../v1beta1/fake/fake_deployment_expansion.go | 4 +- .../v1beta1/fake/fake_extensions_client.go | 6 +- .../extensions/v1beta1/fake/fake_ingress.go | 23 +- .../typed/extensions/v1beta1/fake/fake_job.go | 23 +- .../v1beta1/fake/fake_podsecuritypolicy.go | 23 +- .../v1beta1/fake/fake_replicaset.go | 23 +- .../extensions/v1beta1/fake/fake_scale.go | 0 .../v1beta1/fake/fake_scale_expansion.go | 6 +- .../v1beta1/fake/fake_thirdpartyresource.go | 23 +- .../extensions/v1beta1/generated_expansion.go | 0 .../typed/extensions/v1beta1/ingress.go | 23 +- .../typed/extensions/v1beta1/job.go | 23 +- .../extensions/v1beta1/podsecuritypolicy.go | 23 +- .../typed/extensions/v1beta1/replicaset.go | 23 +- .../typed/extensions/v1beta1/scale.go | 0 .../extensions/v1beta1/scale_expansion.go | 6 +- .../extensions/v1beta1/thirdpartyresource.go | 23 +- .../kubernetes/typed/policy/v1alpha1/doc.go | 0 .../typed/policy/v1alpha1/fake/doc.go | 0 .../v1alpha1/fake/fake_poddisruptionbudget.go | 23 +- .../v1alpha1/fake/fake_policy_client.go | 6 +- .../policy/v1alpha1/generated_expansion.go | 0 .../policy/v1alpha1/poddisruptionbudget.go | 23 +- .../typed/policy/v1alpha1/policy_client.go | 8 +- .../typed/rbac/v1alpha1/clusterrole.go | 23 +- .../typed/rbac/v1alpha1/clusterrolebinding.go | 23 +- .../kubernetes/typed/rbac/v1alpha1/doc.go | 0 .../typed/rbac/v1alpha1/fake/doc.go | 0 .../rbac/v1alpha1/fake/fake_clusterrole.go | 23 +- .../v1alpha1/fake/fake_clusterrolebinding.go | 23 +- .../rbac/v1alpha1/fake/fake_rbac_client.go | 6 +- .../typed/rbac/v1alpha1/fake/fake_role.go | 23 +- .../rbac/v1alpha1/fake/fake_rolebinding.go | 23 +- .../rbac/v1alpha1/generated_expansion.go | 0 .../typed/rbac/v1alpha1/rbac_client.go | 8 +- .../kubernetes/typed/rbac/v1alpha1/role.go | 23 +- .../typed/rbac/v1alpha1/rolebinding.go | 23 +- .../kubernetes/typed/storage/v1beta1/doc.go | 0 .../typed/storage/v1beta1/fake/doc.go | 0 .../v1beta1/fake/fake_storage_client.go | 6 +- .../storage/v1beta1/fake/fake_storageclass.go | 23 +- .../storage/v1beta1/generated_expansion.go | 0 .../typed/storage/v1beta1/storage_client.go | 8 +- .../typed/storage/v1beta1/storageclass.go | 23 +- .../k8s.io/client-go/{1.5 => }/pkg/api/OWNERS | 0 .../client-go/{1.5 => }/pkg/api/context.go | 4 +- .../client-go/{1.5 => }/pkg/api/conversion.go | 18 +- .../client-go/{1.5 => }/pkg/api/defaults.go | 6 +- .../k8s.io/client-go/{1.5 => }/pkg/api/doc.go | 0 .../client-go/{1.5 => }/pkg/api/errors/doc.go | 0 .../{1.5 => }/pkg/api/errors/errors.go | 14 +- .../{1.5 => }/pkg/api/field_constants.go | 0 .../client-go/{1.5 => }/pkg/api/generate.go | 2 +- .../client-go/{1.5 => }/pkg/api/helpers.go | 21 +- .../{1.5 => }/pkg/api/install/install.go | 18 +- .../client-go/{1.5 => }/pkg/api/mapper.go | 8 +- .../client-go/{1.5 => }/pkg/api/meta.go | 14 +- .../client-go/{1.5 => }/pkg/api/meta/doc.go | 0 .../{1.5 => }/pkg/api/meta/errors.go | 2 +- .../pkg/api/meta/firsthit_restmapper.go | 4 +- .../client-go/{1.5 => }/pkg/api/meta/help.go | 4 +- .../{1.5 => }/pkg/api/meta/interfaces.go | 8 +- .../client-go/{1.5 => }/pkg/api/meta/meta.go | 10 +- .../{1.5 => }/pkg/api/meta/metatypes/types.go | 2 +- .../{1.5 => }/pkg/api/meta/multirestmapper.go | 6 +- .../{1.5 => }/pkg/api/meta/priority.go | 2 +- .../{1.5 => }/pkg/api/meta/restmapper.go | 4 +- .../{1.5 => }/pkg/api/meta/unstructured.go | 4 +- .../k8s.io/client-go/{1.5 => }/pkg/api/ref.go | 6 +- .../client-go/{1.5 => }/pkg/api/register.go | 6 +- .../{1.5 => }/pkg/api/requestcontext.go | 0 .../{1.5 => }/pkg/api/resource/amount.go | 0 .../pkg/api/resource/generated.pb.go | 2 +- .../pkg/api/resource/generated.proto | 2 +- .../{1.5 => }/pkg/api/resource/math.go | 0 .../{1.5 => }/pkg/api/resource/quantity.go | 2 +- .../pkg/api/resource/quantity_proto.go | 0 .../{1.5 => }/pkg/api/resource/scale_int.go | 0 .../{1.5 => }/pkg/api/resource/suffix.go | 0 .../{1.5 => }/pkg/api/resource_helpers.go | 24 +- .../{1.5 => }/pkg/api/testapi/testapi.go | 72 +- .../{1.5 => }/pkg/api/types.generated.go | 43262 +++++++-------- .../client-go/{1.5 => }/pkg/api/types.go | 75 +- .../{1.5 => }/pkg/api/unversioned/doc.go | 0 .../{1.5 => }/pkg/api/unversioned/duration.go | 0 .../pkg/api/unversioned/generated.pb.go | 48 +- .../pkg/api/unversioned/generated.proto | 4 +- .../pkg/api/unversioned/group_version.go | 24 +- .../{1.5 => }/pkg/api/unversioned/helpers.go | 6 +- .../{1.5 => }/pkg/api/unversioned/meta.go | 0 .../{1.5 => }/pkg/api/unversioned/register.go | 0 .../{1.5 => }/pkg/api/unversioned/time.go | 2 +- .../pkg/api/unversioned/time_proto.go | 0 .../{1.5 => }/pkg/api/unversioned/types.go | 0 .../types_swagger_doc_generated.go | 0 .../pkg/api/unversioned/well_known_labels.go | 0 .../api/unversioned/zz_generated.deepcopy.go | 2 +- .../{1.5 => }/pkg/api/v1/conversion.go | 19 +- .../{1.5 => }/pkg/api/v1/defaults.go | 8 +- .../client-go/{1.5 => }/pkg/api/v1/doc.go | 0 .../{1.5 => }/pkg/api/v1/generated.pb.go | 2385 +- .../{1.5 => }/pkg/api/v1/generated.proto | 239 +- .../k8s.io/client-go/pkg/api/v1/helpers.go | 33 + .../client-go/{1.5 => }/pkg/api/v1/meta.go | 8 +- .../client-go/{1.5 => }/pkg/api/v1/ref.go | 8 +- .../{1.5 => }/pkg/api/v1/register.go | 6 +- .../{1.5 => }/pkg/api/v1/types.generated.go | 44346 ++++++++-------- .../client-go/{1.5 => }/pkg/api/v1/types.go | 253 +- .../pkg/api/v1/types_swagger_doc_generated.go | 218 +- .../pkg/api/v1/zz_generated.conversion.go | 76 +- .../pkg/api/v1/zz_generated.deepcopy.go | 39 +- .../{1.5 => }/pkg/api/validation/path/name.go | 0 .../pkg/api/zz_generated.deepcopy.go | 43 +- .../pkg/apimachinery/announced/announced.go | 4 +- .../apimachinery/announced/group_factory.go | 14 +- .../{1.5 => }/pkg/apimachinery/doc.go | 0 .../pkg/apimachinery/registered/registered.go | 8 +- .../{1.5 => }/pkg/apimachinery/types.go | 6 +- .../client-go/{1.5 => }/pkg/apis/apps/doc.go | 0 .../pkg/apis/apps/install/install.go | 8 +- .../{1.5 => }/pkg/apis/apps/register.go | 6 +- .../pkg/apis/apps/types.generated.go | 18 +- .../{1.5 => }/pkg/apis/apps/types.go | 10 +- .../pkg/apis/apps/v1alpha1/conversion.go | 18 +- .../pkg/apis/apps/v1alpha1/defaults.go | 4 +- .../{1.5 => }/pkg/apis/apps/v1alpha1/doc.go | 0 .../pkg/apis/apps/v1alpha1/generated.pb.go | 12 +- .../pkg/apis/apps/v1alpha1/generated.proto | 12 +- .../pkg/apis/apps/v1alpha1/register.go | 8 +- .../pkg/apis/apps/v1alpha1/types.generated.go | 10 +- .../{1.5 => }/pkg/apis/apps/v1alpha1/types.go | 6 +- .../v1alpha1/types_swagger_doc_generated.go | 2 +- .../apps/v1alpha1/zz_generated.conversion.go | 22 +- .../apps/v1alpha1/zz_generated.deepcopy.go | 8 +- .../pkg/apis/apps/zz_generated.deepcopy.go | 8 +- .../{1.5 => }/pkg/apis/authentication/doc.go | 0 .../apis/authentication/install/install.go | 10 +- .../pkg/apis/authentication/register.go | 6 +- .../apis/authentication/types.generated.go | 6 +- .../pkg/apis/authentication/types.go | 4 +- .../apis/authentication/v1beta1/conversion.go | 2 +- .../apis/authentication/v1beta1/defaults.go | 2 +- .../pkg/apis/authentication/v1beta1/doc.go | 0 .../authentication/v1beta1/generated.pb.go | 10 +- .../authentication/v1beta1/generated.proto | 10 +- .../apis/authentication/v1beta1/register.go | 6 +- .../authentication/v1beta1/types.generated.go | 6 +- .../pkg/apis/authentication/v1beta1/types.go | 4 +- .../v1beta1/types_swagger_doc_generated.go | 0 .../v1beta1/zz_generated.conversion.go | 8 +- .../v1beta1/zz_generated.deepcopy.go | 6 +- .../authentication/zz_generated.deepcopy.go | 6 +- .../{1.5 => }/pkg/apis/authorization/doc.go | 0 .../pkg/apis/authorization/install/install.go | 10 +- .../pkg/apis/authorization/register.go | 4 +- .../pkg/apis/authorization/types.generated.go | 6 +- .../{1.5 => }/pkg/apis/authorization/types.go | 4 +- .../apis/authorization/v1beta1/conversion.go | 2 +- .../apis/authorization/v1beta1/defaults.go | 2 +- .../pkg/apis/authorization/v1beta1/doc.go | 0 .../authorization/v1beta1/generated.pb.go | 18 +- .../authorization/v1beta1/generated.proto | 10 +- .../apis/authorization/v1beta1/register.go | 8 +- .../authorization/v1beta1/types.generated.go | 6 +- .../pkg/apis/authorization/v1beta1/types.go | 4 +- .../v1beta1/types_swagger_doc_generated.go | 0 .../v1beta1/zz_generated.conversion.go | 8 +- .../v1beta1/zz_generated.deepcopy.go | 6 +- .../authorization/zz_generated.deepcopy.go | 6 +- .../{1.5 => }/pkg/apis/autoscaling/doc.go | 0 .../pkg/apis/autoscaling/install/install.go | 8 +- .../pkg/apis/autoscaling/register.go | 6 +- .../pkg/apis/autoscaling/types.generated.go | 6 +- .../{1.5 => }/pkg/apis/autoscaling/types.go | 8 +- .../pkg/apis/autoscaling/v1/defaults.go | 2 +- .../{1.5 => }/pkg/apis/autoscaling/v1/doc.go | 0 .../pkg/apis/autoscaling/v1/generated.pb.go | 18 +- .../pkg/apis/autoscaling/v1/generated.proto | 14 +- .../pkg/apis/autoscaling/v1/register.go | 8 +- .../apis/autoscaling/v1/types.generated.go | 6 +- .../pkg/apis/autoscaling/v1/types.go | 8 +- .../v1/types_swagger_doc_generated.go | 4 +- .../autoscaling/v1/zz_generated.conversion.go | 8 +- .../autoscaling/v1/zz_generated.deepcopy.go | 8 +- .../apis/autoscaling/zz_generated.deepcopy.go | 8 +- .../client-go/{1.5 => }/pkg/apis/batch/doc.go | 0 .../pkg/apis/batch/install/install.go | 10 +- .../{1.5 => }/pkg/apis/batch/register.go | 6 +- .../pkg/apis/batch/types.generated.go | 10 +- .../{1.5 => }/pkg/apis/batch/types.go | 4 +- .../{1.5 => }/pkg/apis/batch/v1/conversion.go | 12 +- .../{1.5 => }/pkg/apis/batch/v1/defaults.go | 2 +- .../{1.5 => }/pkg/apis/batch/v1/doc.go | 0 .../pkg/apis/batch/v1/generated.pb.go | 18 +- .../pkg/apis/batch/v1/generated.proto | 20 +- .../{1.5 => }/pkg/apis/batch/v1/register.go | 8 +- .../pkg/apis/batch/v1/types.generated.go | 10 +- .../{1.5 => }/pkg/apis/batch/v1/types.go | 14 +- .../batch/v1/types_swagger_doc_generated.go | 10 +- .../apis/batch/v1/zz_generated.conversion.go | 12 +- .../apis/batch/v1/zz_generated.deepcopy.go | 8 +- .../pkg/apis/batch/v2alpha1/conversion.go | 12 +- .../pkg/apis/batch/v2alpha1/defaults.go | 2 +- .../{1.5 => }/pkg/apis/batch/v2alpha1/doc.go | 0 .../pkg/apis/batch/v2alpha1/generated.pb.go | 30 +- .../pkg/apis/batch/v2alpha1/generated.proto | 20 +- .../pkg/apis/batch/v2alpha1/register.go | 8 +- .../apis/batch/v2alpha1/types.generated.go | 10 +- .../pkg/apis/batch/v2alpha1/types.go | 14 +- .../v2alpha1/types_swagger_doc_generated.go | 10 +- .../batch/v2alpha1/zz_generated.conversion.go | 12 +- .../batch/v2alpha1/zz_generated.deepcopy.go | 8 +- .../pkg/apis/batch/zz_generated.deepcopy.go | 8 +- .../{1.5 => }/pkg/apis/certificates/doc.go | 0 .../pkg/apis/certificates/install/install.go | 10 +- .../pkg/apis/certificates/register.go | 6 +- .../pkg/apis/certificates/types.generated.go | 6 +- .../{1.5 => }/pkg/apis/certificates/types.go | 4 +- .../apis/certificates/v1alpha1/conversion.go | 4 +- .../pkg/apis/certificates/v1alpha1/doc.go | 0 .../certificates/v1alpha1/generated.pb.go | 10 +- .../certificates/v1alpha1/generated.proto | 10 +- .../apis/certificates/v1alpha1/register.go | 8 +- .../certificates/v1alpha1/types.generated.go | 6 +- .../pkg/apis/certificates/v1alpha1/types.go | 4 +- .../v1alpha1/types_swagger_doc_generated.go | 0 .../v1alpha1/zz_generated.conversion.go | 8 +- .../v1alpha1/zz_generated.deepcopy.go | 6 +- .../certificates/zz_generated.deepcopy.go | 6 +- .../{1.5 => }/pkg/apis/componentconfig/doc.go | 0 .../pkg/apis/componentconfig/helpers.go | 2 +- .../apis/componentconfig/install/install.go | 8 +- .../pkg/apis/componentconfig/register.go | 4 +- .../apis/componentconfig/types.generated.go | 395 +- .../pkg/apis/componentconfig/types.go | 16 +- .../apis/componentconfig/v1alpha1/defaults.go | 19 +- .../pkg/apis/componentconfig/v1alpha1/doc.go | 0 .../apis/componentconfig/v1alpha1/register.go | 4 +- .../apis/componentconfig/v1alpha1/types.go | 14 +- .../v1alpha1/zz_generated.conversion.go | 14 +- .../v1alpha1/zz_generated.deepcopy.go | 6 +- .../componentconfig/zz_generated.deepcopy.go | 8 +- .../{1.5 => }/pkg/apis/extensions/doc.go | 0 .../{1.5 => }/pkg/apis/extensions/helpers.go | 0 .../pkg/apis/extensions/install/install.go | 10 +- .../{1.5 => }/pkg/apis/extensions/register.go | 10 +- .../pkg/apis/extensions/types.generated.go | 12024 +++-- .../{1.5 => }/pkg/apis/extensions/types.go | 57 +- .../pkg/apis/extensions/v1beta1/conversion.go | 20 +- .../pkg/apis/extensions/v1beta1/defaults.go | 6 +- .../pkg/apis/extensions/v1beta1/doc.go | 0 .../apis/extensions/v1beta1/generated.pb.go | 1422 +- .../apis/extensions/v1beta1/generated.proto | 98 +- .../pkg/apis/extensions/v1beta1/register.go | 10 +- .../extensions/v1beta1/types.generated.go | 12975 ++--- .../pkg/apis/extensions/v1beta1/types.go | 99 +- .../v1beta1/types_swagger_doc_generated.go | 63 +- .../v1beta1/zz_generated.conversion.go | 124 +- .../v1beta1/zz_generated.deepcopy.go | 62 +- .../apis/extensions/zz_generated.deepcopy.go | 41 +- .../{1.5 => }/pkg/apis/imagepolicy/doc.go | 0 .../pkg/apis/imagepolicy/install/install.go | 10 +- .../pkg/apis/imagepolicy/register.go | 6 +- .../pkg/apis/imagepolicy/types.generated.go | 6 +- .../{1.5 => }/pkg/apis/imagepolicy/types.go | 4 +- .../pkg/apis/imagepolicy/v1alpha1/doc.go | 0 .../apis/imagepolicy/v1alpha1/generated.pb.go | 8 +- .../apis/imagepolicy/v1alpha1/generated.proto | 10 +- .../pkg/apis/imagepolicy/v1alpha1/register.go | 6 +- .../imagepolicy/v1alpha1/types.generated.go | 6 +- .../pkg/apis/imagepolicy/v1alpha1/types.go | 4 +- .../v1alpha1/types_swagger_doc_generated.go | 0 .../v1alpha1/zz_generated.conversion.go | 8 +- .../v1alpha1/zz_generated.deepcopy.go | 6 +- .../apis/imagepolicy/zz_generated.deepcopy.go | 6 +- .../client-go/pkg/apis/kubeadm/defaults.go | 25 + .../k8s.io/client-go/pkg/apis/kubeadm/doc.go | 18 + .../k8s.io/client-go/pkg/apis/kubeadm/env.go | 49 + .../client-go/pkg/apis/kubeadm/install/doc.go | 17 + .../pkg/apis/kubeadm/install/install.go | 39 + .../client-go/pkg/apis/kubeadm/register.go | 59 + .../client-go/pkg/apis/kubeadm/types.go | 78 + .../pkg/apis/kubeadm/v1alpha1/doc.go | 18 + .../pkg/apis/kubeadm/v1alpha1/register.go | 59 + .../pkg/apis/kubeadm/v1alpha1/types.go | 78 + .../{1.5 => }/pkg/apis/policy/doc.go | 0 .../pkg/apis/policy/install/install.go | 8 +- .../{1.5 => }/pkg/apis/policy/register.go | 6 +- .../pkg/apis/policy/types.generated.go | 8 +- .../{1.5 => }/pkg/apis/policy/types.go | 12 +- .../{1.5 => }/pkg/apis/policy/v1alpha1/doc.go | 0 .../pkg/apis/policy/v1alpha1/generated.pb.go | 14 +- .../pkg/apis/policy/v1alpha1/generated.proto | 16 +- .../pkg/apis/policy/v1alpha1/register.go | 8 +- .../apis/policy/v1alpha1/types.generated.go | 8 +- .../pkg/apis/policy/v1alpha1/types.go | 12 +- .../v1alpha1/types_swagger_doc_generated.go | 2 +- .../v1alpha1/zz_generated.conversion.go | 10 +- .../policy/v1alpha1/zz_generated.deepcopy.go | 8 +- .../pkg/apis/policy/zz_generated.deepcopy.go | 8 +- .../client-go/{1.5 => }/pkg/apis/rbac/doc.go | 0 .../{1.5 => }/pkg/apis/rbac/helpers.go | 61 +- .../pkg/apis/rbac/install/install.go | 10 +- .../{1.5 => }/pkg/apis/rbac/register.go | 8 +- .../{1.5 => }/pkg/apis/rbac/types.go | 6 +- .../pkg/apis/rbac/v1alpha1/defaults.go | 2 +- .../{1.5 => }/pkg/apis/rbac/v1alpha1/doc.go | 0 .../pkg/apis/rbac/v1alpha1/generated.pb.go | 22 +- .../pkg/apis/rbac/v1alpha1/generated.proto | 10 +- .../pkg/apis/rbac/v1alpha1/register.go | 8 +- .../pkg/apis/rbac/v1alpha1/types.generated.go | 8 +- .../{1.5 => }/pkg/apis/rbac/v1alpha1/types.go | 6 +- .../v1alpha1/types_swagger_doc_generated.go | 0 .../rbac/v1alpha1/zz_generated.conversion.go | 8 +- .../rbac/v1alpha1/zz_generated.deepcopy.go | 6 +- .../pkg/apis/rbac/zz_generated.deepcopy.go | 6 +- .../{1.5 => }/pkg/apis/storage/doc.go | 0 .../pkg/apis/storage/install/install.go | 10 +- .../{1.5 => }/pkg/apis/storage/register.go | 6 +- .../pkg/apis/storage/types.generated.go | 6 +- .../{1.5 => }/pkg/apis/storage/types.go | 4 +- .../{1.5 => }/pkg/apis/storage/v1beta1/doc.go | 0 .../pkg/apis/storage/v1beta1/generated.pb.go | 4 +- .../pkg/apis/storage/v1beta1/generated.proto | 10 +- .../pkg/apis/storage/v1beta1/register.go | 8 +- .../apis/storage/v1beta1/types.generated.go | 6 +- .../pkg/apis/storage/v1beta1/types.go | 4 +- .../v1beta1/types_swagger_doc_generated.go | 0 .../v1beta1/zz_generated.conversion.go | 8 +- .../storage/v1beta1/zz_generated.deepcopy.go | 6 +- .../pkg/apis/storage/zz_generated.deepcopy.go | 6 +- .../client-go/{1.5 => }/pkg/auth/user/doc.go | 0 .../client-go/{1.5 => }/pkg/auth/user/user.go | 10 + .../client-go/{1.5 => }/pkg/conversion/OWNERS | 0 .../{1.5 => }/pkg/conversion/cloner.go | 0 .../{1.5 => }/pkg/conversion/converter.go | 0 .../{1.5 => }/pkg/conversion/deep_equal.go | 2 +- .../client-go/{1.5 => }/pkg/conversion/doc.go | 0 .../{1.5 => }/pkg/conversion/helper.go | 0 .../pkg/conversion/queryparams/convert.go | 0 .../pkg/conversion/queryparams/doc.go | 0 .../pkg/federation/apis/federation/doc.go | 0 .../apis/federation/install/install.go | 20 +- .../federation/apis/federation/register.go | 6 +- .../apis/federation/types.generated.go | 6 +- .../pkg/federation/apis/federation/types.go | 4 +- .../apis/federation/v1beta1/conversion.go | 2 +- .../apis/federation/v1beta1/defaults.go | 2 +- .../federation/apis/federation/v1beta1/doc.go | 0 .../apis/federation/v1beta1/generated.pb.go | 14 +- .../apis/federation/v1beta1/generated.proto | 10 +- .../apis/federation/v1beta1/register.go | 8 +- .../federation/v1beta1/types.generated.go | 6 +- .../apis/federation/v1beta1/types.go | 4 +- .../v1beta1/types_swagger_doc_generated.go | 0 .../v1beta1/zz_generated.conversion.go | 10 +- .../v1beta1/zz_generated.deepcopy.go | 6 +- .../apis/federation/zz_generated.deepcopy.go | 6 +- .../client-go/{1.5 => }/pkg/fields/doc.go | 0 .../client-go/{1.5 => }/pkg/fields/fields.go | 0 .../{1.5 => }/pkg/fields/requirements.go | 2 +- .../{1.5 => }/pkg/fields/selector.go | 2 +- .../genericapiserver/openapi/common/common.go | 26 +- .../genericapiserver/openapi/common/doc.go | 0 .../{1.5 => }/pkg/kubelet/qos/doc.go | 0 .../{1.5 => }/pkg/kubelet/qos/policy.go | 2 +- .../{1.5 => }/pkg/kubelet/qos/qos.go | 11 +- .../{1.5 => }/pkg/kubelet/qos/types.go | 0 .../kubelet/server/portforward/constants.go | 0 .../{1.5 => }/pkg/kubelet/types/constants.go | 0 .../{1.5 => }/pkg/kubelet/types/doc.go | 0 .../{1.5 => }/pkg/kubelet/types/labels.go | 0 .../{1.5 => }/pkg/kubelet/types/pod_update.go | 2 +- .../{1.5 => }/pkg/kubelet/types/types.go | 2 +- .../client-go/{1.5 => }/pkg/labels/doc.go | 0 .../client-go/{1.5 => }/pkg/labels/labels.go | 101 + .../{1.5 => }/pkg/labels/selector.go | 6 +- .../{1.5 => }/pkg/master/ports/doc.go | 0 .../{1.5 => }/pkg/master/ports/ports.go | 2 - .../client-go/{1.5 => }/pkg/runtime/OWNERS | 0 .../client-go/{1.5 => }/pkg/runtime/codec.go | 4 +- .../{1.5 => }/pkg/runtime/codec_check.go | 2 +- .../{1.5 => }/pkg/runtime/conversion.go | 2 +- .../client-go/{1.5 => }/pkg/runtime/doc.go | 0 .../{1.5 => }/pkg/runtime/embedded.go | 4 +- .../client-go/{1.5 => }/pkg/runtime/error.go | 2 +- .../{1.5 => }/pkg/runtime/extension.go | 0 .../{1.5 => }/pkg/runtime/generated.pb.go | 6 +- .../{1.5 => }/pkg/runtime/generated.proto | 4 +- .../client-go/{1.5 => }/pkg/runtime/helper.go | 6 +- .../{1.5 => }/pkg/runtime/interfaces.go | 2 +- .../{1.5 => }/pkg/runtime/register.go | 2 +- .../client-go/{1.5 => }/pkg/runtime/scheme.go | 4 +- .../{1.5 => }/pkg/runtime/scheme_builder.go | 0 .../pkg/runtime/serializer/codec_factory.go | 10 +- .../pkg/runtime/serializer/json/json.go | 10 +- .../pkg/runtime/serializer/json/meta.go | 2 +- .../runtime/serializer/negotiated_codec.go | 2 +- .../pkg/runtime/serializer/protobuf/doc.go | 0 .../runtime/serializer/protobuf/protobuf.go | 8 +- .../runtime/serializer/protobuf_extension.go | 4 +- .../serializer/recognizer/recognizer.go | 4 +- .../runtime/serializer/streaming/streaming.go | 4 +- .../serializer/versioning/versioning.go | 4 +- .../pkg/runtime/swagger_doc_generator.go | 0 .../client-go/{1.5 => }/pkg/runtime/types.go | 0 .../{1.5 => }/pkg/runtime/types_proto.go | 0 .../{1.5 => }/pkg/runtime/unstructured.go | 8 +- .../pkg/runtime/zz_generated.deepcopy.go | 2 +- .../{1.5 => }/pkg/selection/operator.go | 0 .../third_party/forked/golang/json/fields.go | 0 .../forked/golang/reflect/deep_equal.go | 0 .../third_party/forked/golang/reflect/type.go | 0 .../client-go/{1.5 => }/pkg/types/doc.go | 0 .../{1.5 => }/pkg/types/namespacedname.go | 0 .../client-go/{1.5 => }/pkg/types/nodename.go | 0 .../client-go/{1.5 => }/pkg/types/uid.go | 0 .../{1.5 => }/pkg/types/unix_user_id.go | 0 .../client-go/{1.5 => }/pkg/util/cert/cert.go | 28 + .../client-go/{1.5 => }/pkg/util/cert/csr.go | 2 +- .../client-go/{1.5 => }/pkg/util/cert/io.go | 0 .../client-go/{1.5 => }/pkg/util/cert/pem.go | 0 .../{1.5 => }/pkg/util/clock/clock.go | 0 .../{1.5 => }/pkg/util/config/config.go | 2 +- .../pkg/util/config/configuration_map.go | 0 .../{1.5 => }/pkg/util/config/doc.go | 0 .../{1.5 => }/pkg/util/config/feature_gate.go | 0 .../client-go/{1.5 => }/pkg/util/diff/diff.go | 27 +- .../client-go/{1.5 => }/pkg/util/doc.go | 0 .../{1.5 => }/pkg/util/errors/doc.go | 0 .../{1.5 => }/pkg/util/errors/errors.go | 0 .../{1.5 => }/pkg/util/flowcontrol/backoff.go | 4 +- .../pkg/util/flowcontrol/throttle.go | 0 .../{1.5 => }/pkg/util/framer/framer.go | 0 .../{1.5 => }/pkg/util/homedir/homedir.go | 0 .../{1.5 => }/pkg/util/httpstream/doc.go | 0 .../pkg/util/httpstream/httpstream.go | 0 .../{1.5 => }/pkg/util/integer/integer.go | 0 .../{1.5 => }/pkg/util/intstr/generated.pb.go | 2 +- .../{1.5 => }/pkg/util/intstr/generated.proto | 0 .../{1.5 => }/pkg/util/intstr/intstr.go | 2 +- .../client-go/{1.5 => }/pkg/util/json/json.go | 0 .../{1.5 => }/pkg/util/labels/doc.go | 0 .../{1.5 => }/pkg/util/labels/labels.go | 2 +- .../client-go/{1.5 => }/pkg/util/net/http.go | 0 .../{1.5 => }/pkg/util/net/interface.go | 0 .../{1.5 => }/pkg/util/net/port_range.go | 0 .../{1.5 => }/pkg/util/net/port_split.go | 2 +- .../client-go/{1.5 => }/pkg/util/net/util.go | 0 .../{1.5 => }/pkg/util/parsers/parsers.go | 0 .../client-go/{1.5 => }/pkg/util/rand/rand.go | 0 .../{1.5 => }/pkg/util/runtime/runtime.go | 0 .../client-go/{1.5 => }/pkg/util/sets/byte.go | 0 .../client-go/{1.5 => }/pkg/util/sets/doc.go | 0 .../{1.5 => }/pkg/util/sets/empty.go | 0 .../client-go/{1.5 => }/pkg/util/sets/int.go | 0 .../{1.5 => }/pkg/util/sets/int64.go | 0 .../{1.5 => }/pkg/util/sets/string.go | 0 .../pkg/util/strategicpatch/patch.go | 4 +- .../client-go/{1.5 => }/pkg/util/template.go | 0 .../pkg/util/testing/fake_handler.go | 0 .../{1.5 => }/pkg/util/testing/tmpdir.go | 0 .../client-go/{1.5 => }/pkg/util/trace.go | 0 staging/src/k8s.io/client-go/pkg/util/trie.go | 79 + .../client-go/{1.5 => }/pkg/util/umask.go | 0 .../{1.5 => }/pkg/util/umask_windows.go | 0 .../client-go/{1.5 => }/pkg/util/util.go | 0 .../client-go/{1.5 => }/pkg/util/uuid/uuid.go | 2 +- .../pkg/util/validation/field/errors.go | 2 +- .../pkg/util/validation/field/path.go | 0 .../pkg/util/validation/validation.go | 0 .../client-go/{1.5 => }/pkg/util/wait/doc.go | 0 .../client-go/{1.5 => }/pkg/util/wait/wait.go | 3 + .../{1.5 => }/pkg/util/yaml/decoder.go | 26 +- .../{1.5 => }/pkg/version/.gitattributes | 0 .../client-go/{1.5 => }/pkg/version/base.go | 0 .../client-go/{1.5 => }/pkg/version/doc.go | 0 .../client-go/{1.5 => }/pkg/version/semver.go | 0 .../{1.5 => }/pkg/version/version.go | 0 .../client-go/{1.5 => }/pkg/watch/doc.go | 0 .../client-go/{1.5 => }/pkg/watch/filter.go | 0 .../client-go/{1.5 => }/pkg/watch/mux.go | 4 +- .../{1.5 => }/pkg/watch/streamwatcher.go | 6 +- .../client-go/{1.5 => }/pkg/watch/until.go | 85 +- .../{1.5 => }/pkg/watch/versioned/decoder.go | 6 +- .../{1.5 => }/pkg/watch/versioned/encoder.go | 6 +- .../pkg/watch/versioned/generated.pb.go | 2 +- .../pkg/watch/versioned/generated.proto | 4 +- .../{1.5 => }/pkg/watch/versioned/register.go | 8 +- .../{1.5 => }/pkg/watch/versioned/types.go | 2 +- .../client-go/{1.5 => }/pkg/watch/watch.go | 121 +- .../token/oidc/testing/provider.go | 0 .../plugin/pkg/client/auth/gcp/gcp.go | 2 +- .../plugin/pkg/client/auth/oidc/OWNERS | 0 .../plugin/pkg/client/auth/oidc/oidc.go | 4 +- .../plugin/pkg/client/auth/oidc/oidc_test.go | 11 +- .../plugin/pkg/client/auth/plugins.go | 4 +- .../k8s.io/client-go/{1.5 => }/rest/client.go | 8 +- .../client-go/{1.5 => }/rest/client_test.go | 19 +- .../k8s.io/client-go/{1.5 => }/rest/config.go | 43 +- .../src/k8s.io/client-go/rest/config_test.go | 244 + .../k8s.io/client-go/{1.5 => }/rest/plugin.go | 2 +- .../client-go/{1.5 => }/rest/plugin_test.go | 4 +- .../client-go/{1.5 => }/rest/request.go | 40 +- .../client-go/{1.5 => }/rest/request_test.go | 39 +- .../client-go/{1.5 => }/rest/transport.go | 12 +- .../client-go/{1.5 => }/rest/url_utils.go | 2 +- .../{1.5 => }/rest/url_utils_test.go | 19 +- .../client-go/{1.5 => }/rest/urlbackoff.go | 4 +- .../{1.5 => }/rest/urlbackoff_test.go | 2 +- .../client-go/{1.5 => }/rest/versions.go | 2 +- .../client-go/{1.5 => }/testing/actions.go | 111 +- .../client-go/{1.5 => }/testing/fake.go | 10 +- .../client-go/{1.5 => }/testing/fixture.go | 14 +- .../{1.5 => }/tools/auth/clientauth.go | 2 +- .../{1.5 => }/tools/auth/clientauth_test.go | 2 +- .../{1.5 => }/tools/cache/controller.go | 6 +- .../{1.5 => }/tools/cache/controller_test.go | 12 +- .../{1.5 => }/tools/cache/delta_fifo.go | 21 +- .../{1.5 => }/tools/cache/delta_fifo_test.go | 38 +- .../client-go/{1.5 => }/tools/cache/doc.go | 2 +- .../{1.5 => }/tools/cache/expiration_cache.go | 2 +- .../tools/cache/expiration_cache_fakes.go | 4 +- .../tools/cache/expiration_cache_test.go | 6 +- .../tools/cache/fake_custom_store.go | 0 .../client-go/{1.5 => }/tools/cache/fifo.go | 2 +- .../{1.5 => }/tools/cache/fifo_test.go | 0 .../client-go/{1.5 => }/tools/cache/index.go | 4 +- .../{1.5 => }/tools/cache/index_test.go | 2 +- .../{1.5 => }/tools/cache/listers.go | 236 +- .../{1.5 => }/tools/cache/listers_core.go | 6 +- .../tools/cache/listers_extensions.go | 210 + .../client-go/tools/cache/listers_rbac.go | 234 + .../{1.5 => }/tools/cache/listers_test.go | 28 +- .../{1.5 => }/tools/cache/listwatch.go | 10 +- .../tools/cache/processor_listener_test.go | 2 +- .../{1.5 => }/tools/cache/reflector.go | 20 +- .../{1.5 => }/tools/cache/reflector_test.go | 10 +- .../{1.5 => }/tools/cache/shared_informer.go | 6 +- .../client-go/{1.5 => }/tools/cache/store.go | 2 +- .../{1.5 => }/tools/cache/store_test.go | 2 +- .../cache/testing/fake_controller_source.go | 10 +- .../testing/fake_controller_source_test.go | 4 +- .../tools/cache/thread_safe_store.go | 2 +- .../{1.5 => }/tools/cache/undelta_store.go | 0 .../tools/cache/undelta_store_test.go | 0 .../{1.5 => }/tools/clientcmd/api/helpers.go | 0 .../tools/clientcmd/api/helpers_test.go | 0 .../tools/clientcmd/api/latest/latest.go | 12 +- .../{1.5 => }/tools/clientcmd/api/register.go | 4 +- .../{1.5 => }/tools/clientcmd/api/types.go | 2 +- .../tools/clientcmd/api/types_test.go | 0 .../tools/clientcmd/api/v1/conversion.go | 6 +- .../tools/clientcmd/api/v1/register.go | 4 +- .../{1.5 => }/tools/clientcmd/api/v1/types.go | 2 +- .../{1.5 => }/tools/clientcmd/auth_loaders.go | 2 +- .../tools/clientcmd/client_config.go | 103 +- .../tools/clientcmd/client_config_test.go | 2 +- .../{1.5 => }/tools/clientcmd/config.go | 4 +- .../{1.5 => }/tools/clientcmd/doc.go | 2 +- .../{1.5 => }/tools/clientcmd/loader.go | 14 +- .../{1.5 => }/tools/clientcmd/loader_test.go | 6 +- .../tools/clientcmd/merged_client_builder.go | 4 +- .../clientcmd/merged_client_builder_test.go | 4 +- .../{1.5 => }/tools/clientcmd/overrides.go | 2 +- .../{1.5 => }/tools/clientcmd/validation.go | 6 +- .../tools/clientcmd/validation_test.go | 4 +- .../{1.5 => }/tools/metrics/metrics.go | 0 .../{1.5 => }/tools/portforward/doc.go | 2 +- .../tools/portforward/portforward.go | 8 +- .../client-go/{1.5 => }/tools/record/doc.go | 2 +- .../client-go/{1.5 => }/tools/record/event.go | 16 +- .../{1.5 => }/tools/record/event_test.go | 16 +- .../{1.5 => }/tools/record/events_cache.go | 10 +- .../tools/record/events_cache_test.go | 8 +- .../client-go/{1.5 => }/tools/record/fake.go | 4 +- .../client-go/{1.5 => }/transport/cache.go | 2 +- .../{1.5 => }/transport/cache_test.go | 0 .../client-go/{1.5 => }/transport/config.go | 0 .../{1.5 => }/transport/round_trippers.go | 0 .../transport/round_trippers_test.go | 0 .../{1.5 => }/transport/transport.go | 0 .../{1.5 => }/transport/transport_test.go | 0 1386 files changed, 83923 insertions(+), 64181 deletions(-) delete mode 100644 staging/src/k8s.io/client-go/1.5/LICENSE delete mode 100644 staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_386.go delete mode 100644 staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_386.go delete mode 100644 staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_386.go delete mode 100644 staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_386.go delete mode 100644 staging/src/k8s.io/client-go/1.5/pkg/util/string_flag.go delete mode 100644 staging/src/k8s.io/client-go/1.5/rest/config_test.go rename staging/src/k8s.io/client-go/{1.5 => }/Godeps/Godeps.json (98%) rename staging/src/k8s.io/client-go/{1.5 => }/Godeps/Readme (100%) delete mode 100644 staging/src/k8s.io/client-go/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/cloud.google.com/go/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/cloud.google.com/go/compute/metadata/metadata.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/cloud.google.com/go/internal/cloud.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/PuerkitoBio/purell/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/PuerkitoBio/purell/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/PuerkitoBio/purell/purell.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/PuerkitoBio/urlesc/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/PuerkitoBio/urlesc/urlesc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/blang/semver/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/blang/semver/json.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/blang/semver/semver.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/blang/semver/sort.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/blang/semver/sql.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/NOTICE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/http/client.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/http/http.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/http/url.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/claims.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/jose.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/jwk.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/jws.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/jwt.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/sig.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/sig_hmac.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/jose/sig_rsa.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/key/key.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/key/manager.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/key/repo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/key/rotate.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/key/sync.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oauth2/error.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oauth2/oauth2.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/client.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/identity.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/interface.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/key.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/provider.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/transport.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/util.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/go-oidc/oidc/verification.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/pkg/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/pkg/NOTICE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/health/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/pkg/health/health.go (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/pkg/httputil/cookie.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/pkg/httputil/json.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/coreos/pkg/timeutil/backoff.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/bypass.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/bypasssafe.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/common.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/config.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/dump.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/format.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/davecgh/go-spew/spew/spew.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/digest/digest.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/digest/digester.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/digest/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/digest/set.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/digest/verifiers.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/reference/reference.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/docker/distribution/reference/regexp.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/CHANGES.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/Srcfile (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/compress.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/compressor_cache.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/compressor_pools.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/compressors.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/constants.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/container.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/cors_filter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/curly.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/curly_route.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/entity_accessors.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/filter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/jsr311.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/log/log.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/logger.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/mime.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/options_filter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/parameter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/path_expression.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/request.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/response.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/route.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/route_builder.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/router.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/service_error.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/CHANGES.md (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/api_declaration_list.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/config.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/model_builder.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/model_list.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/model_property_ext.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/model_property_list.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/ordered_route_map.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/swagger.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/swagger_builder.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/swagger/swagger_webservice.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/web_service.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/emicklei/go-restful/web_service_container.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ghodss/yaml/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ghodss/yaml/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ghodss/yaml/fields.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ghodss/yaml/yaml.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonpointer/.drone.sec (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonpointer/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonpointer/CODE_OF_CONDUCT.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonpointer/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonpointer/pointer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonreference/.drone.sec (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonreference/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonreference/CODE_OF_CONDUCT.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonreference/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/jsonreference/reference.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/.drone.sec (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/CODE_OF_CONDUCT.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/bindata.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/contact_info.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/expander.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/external_docs.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/header.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/info.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/items.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/license.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/operation.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/parameter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/path_item.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/paths.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/ref.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/response.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/responses.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/schema.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/security_scheme.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/spec.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/swagger.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/tag.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/spec/xml_object.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/.drone.sec (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/CODE_OF_CONDUCT.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/convert.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/convert_types.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/json.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/loading.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/net.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/path.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/go-openapi/swag/util.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/Makefile (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/clone.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/decode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/decode_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/encode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/encode_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/equal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/extensions.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/extensions_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/lib.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/lib_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/message_set.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/pointer_reflect.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/properties.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/properties_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/skip_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/text.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/text_gogo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/proto/text_parser.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/gogo/protobuf/sortkeys/sortkeys.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/glog/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/glog/README (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/glog/glog.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/glog/glog_file.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/groupcache/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/groupcache/lru/lru.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/Makefile (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/clone.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/decode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/encode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/equal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/extensions.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/lib.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/message_set.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/pointer_reflect.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/pointer_unsafe.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/properties.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/text.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/golang/protobuf/proto/text_parser.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/google/gofuzz/CONTRIBUTING.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/google/gofuzz/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/google/gofuzz/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/google/gofuzz/fuzz.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/howeyc/gopass/LICENSE.txt (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/howeyc/gopass/OPENSOLARIS.LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/howeyc/gopass/pass.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/howeyc/gopass/terminal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/howeyc/gopass/terminal_solaris.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/imdario/mergo/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/imdario/mergo/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/imdario/mergo/map.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/imdario/mergo/merge.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/imdario/mergo/mergo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/jonboulle/clockwork/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/jonboulle/clockwork/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/jonboulle/clockwork/clockwork.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/juju/ratelimit/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/juju/ratelimit/ratelimit.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/juju/ratelimit/reader.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/mailru/easyjson/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/mailru/easyjson/buffer/pool.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/mailru/easyjson/jlexer/error.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/mailru/easyjson/jlexer/lexer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/mailru/easyjson/jwriter/writer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/CONTRIBUTORS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/dce.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/hash.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/json.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/node.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/time.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/util.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/uuid.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/version1.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/pborman/uuid/version4.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/bool.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/count.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/duration.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/flag.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/float32.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/float64.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/golangflag.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/int.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/int32.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/int64.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/int8.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/int_slice.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/ip.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/ipmask.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/ipnet.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/string.go (97%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_array.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/string_slice.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/uint.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/uint16.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/uint32.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/uint64.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/spf13/pflag/uint8.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/0doc.go (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/binc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/cbor.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/decode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/encode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/fast-path.generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/fast-path.go.tmpl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/fast-path.not.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/gen-dec-map.go.tmpl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/gen-helper.generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/gen.generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/gen.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/helper.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/helper_internal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/helper_not_unsafe.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/helper_unsafe.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/json.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/msgpack.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/noop.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/prebuild.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/rpc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/simple.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/test.py (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/github.com/ugorji/go/codec/time.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/PATENTS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/ssh/terminal/terminal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/ssh/terminal/util.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/ssh/terminal/util_linux.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/crypto/ssh/terminal/util_windows.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/PATENTS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/context/context.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/context/go17.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/context/pre_go17.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/.gitignore (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/Dockerfile (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/Makefile (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/README (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/client_conn_pool.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/configure_transport.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/errors.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/fixed_buffer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/flow.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/frame.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/go16.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/go17.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/gotrack.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/headermap.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/hpack/encode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/hpack/hpack.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/hpack/huffman.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/hpack/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/http2.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/not_go16.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/not_go17.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/pipe.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/server.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/transport.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/write.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/http2/writesched.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/idna/idna.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/idna/punycode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/net/lex/httplex/httplex.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/AUTHORS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/CONTRIBUTING.md (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/CONTRIBUTORS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/client_appengine.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/appengine.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/appengine_hook.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/appenginevm_hook.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/default.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/google.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/jwt.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/google/sdk.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/internal/oauth2.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/internal/token.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/internal/transport.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/jws/jws.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/jwt/jwt.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/oauth2.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/token.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/oauth2/transport.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/PATENTS (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/.gitignore rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_darwin_386.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_darwin_amd64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_darwin_arm.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_darwin_arm64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_freebsd_386.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_freebsd_arm.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_linux_386.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_linux_amd64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_linux_arm.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_linux_arm64.s (100%) rename staging/src/k8s.io/client-go/{1.5/_vendor/golang.org/x/sys/unix/asm_dragonfly_386.s => _vendor/golang.org/x/sys/unix/asm_linux_mips64x.s} (56%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_s390x.s rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_netbsd_386.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_netbsd_arm.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_openbsd_386.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/asm_solaris_amd64.s (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/bluetooth_linux.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/constants.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/env_unix.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/env_unset.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/flock.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/flock_linux_32bit.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/gccgo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/gccgo_c.c (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mkpost.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksyscall.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl (97%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysnum_darwin.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysnum_linux.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/race.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/race0.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/sockcmsg_linux.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/str.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_bsd.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_darwin.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_freebsd.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_linux.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_linux_386.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go (85%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go (82%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_s390x.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_netbsd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_no_getwd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_openbsd.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_solaris.go (70%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/syscall_unix.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_darwin.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_dragonfly.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_freebsd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_linux.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_netbsd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_openbsd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/types_solaris.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_darwin_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go (96%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go (97%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go (98%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go (95%) rename staging/src/k8s.io/client-go/{1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_386.go => _vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go} (57%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go (64%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysctl_openbsd.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_linux_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_darwin_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go (95%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go (94%) create mode 100644 staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/PATENTS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/cases.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/context.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/fold.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/gen.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/gen_trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/info.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/map.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/cases/trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/internal/tag/tag.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/Makefile (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/common.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/coverage.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/gen_common.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/gen_index.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/go1_1.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/go1_2.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/index.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/language.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/lookup.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/maketables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/match.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/parse.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/language/tags.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/runes/cond.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/runes/runes.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/bidirule/bidirule.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/class.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/context.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/gen.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/gen_trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/nickname.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/options.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/profile.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/profiles.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/transformer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/secure/precis/trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/transform/transform.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/bidi.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/bracket.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/core.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/gen.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/gen_ranges.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/gen_trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/prop.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/bidi/trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/composition.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/forminfo.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/input.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/iter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/maketables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/normalize.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/readwriter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/transform.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/trie.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/unicode/norm/triegen.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/gen.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/gen_common.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/gen_trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/kind_string.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/tables.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/transform.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/trieval.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/golang.org/x/text/width/width.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/LICENSE (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/appengine.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/appengine_vm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/errors.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/identity.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/api.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/api_classic.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/api_common.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/app_id.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/base/api_base.pb.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/base/api_base.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/identity.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/identity_classic.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/identity_vm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/internal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/log/log_service.pb.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/log/log_service.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/main.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/main_vm.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/metadata.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/modules/modules_service.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/net.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/internal/transaction.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/namespace.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/google.golang.org/appengine/timeout.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/inf.v0/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/inf.v0/dec.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/inf.v0/rounder.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/LICENSE (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/LICENSE.libyaml (100%) create mode 100644 staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/README.md rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/apic.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/decode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/emitterc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/encode.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/parserc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/readerc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/resolve.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/scannerc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/sorter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/writerc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/yaml.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/yamlh.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/_vendor/gopkg.in/yaml.v2/yamlprivateh.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/discovery/discovery_client.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/discovery/discovery_client_test.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/discovery/fake/discovery.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/discovery/restmapper.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/discovery/restmapper_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/discovery/unstructured.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/dynamic/client.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/dynamic/client_pool.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/dynamic/client_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/dynamic/dynamic_util.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/dynamic/dynamic_util_test.go (97%) delete mode 100644 staging/src/k8s.io/client-go/examples/in-cluster/main.go delete mode 100644 staging/src/k8s.io/client-go/examples/out-of-cluster/main.go rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/clientset.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/fake/clientset_generated.go (64%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/import_known_versions.go (58%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/apps_client.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/apps/v1alpha1/petset.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/authentication_client.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authentication/v1beta1/tokenreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/authorization_client.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/autoscaling_client.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/batch_client.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/fake/fake_batch_client.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/fake/fake_job.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/batch/v1/job.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/certificates_client.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/certificates/v1alpha1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/componentstatus.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/configmap.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/core_client.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/endpoints.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/event.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/event_expansion.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_componentstatus.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_configmap.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_core_client.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_endpoints.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_event.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_event_expansion.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_limitrange.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_namespace.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_node.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_persistentvolume.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_pod.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_pod_expansion.go (74%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_podtemplate.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_resourcequota.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_secret.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_service.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_service_expansion.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/fake/fake_serviceaccount.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/limitrange.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/namespace.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/namespace_expansion.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/node.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/persistentvolume.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/persistentvolumeclaim.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/pod.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/pod_expansion.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/podtemplate.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/replicationcontroller.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/resourcequota.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/secret.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/service.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/service_expansion.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/core/v1/serviceaccount.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/daemonset.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/deployment.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/deployment_expansion.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/extensions_client.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_job.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/ingress.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/job.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/replicaset.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/scale.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/scale_expansion.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/policy/v1alpha1/policy_client.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/clusterrole.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go (80%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/rbac_client.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/role.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/rbac/v1alpha1/rolebinding.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/fake/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go (81%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/generated_expansion.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/storage_client.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/kubernetes/typed/storage/v1beta1/storageclass.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/OWNERS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/context.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/conversion.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/defaults.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/errors/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/errors/errors.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/field_constants.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/generate.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/helpers.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/install/install.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/mapper.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/errors.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/firsthit_restmapper.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/help.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/interfaces.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/meta.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/metatypes/types.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/multirestmapper.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/priority.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/restmapper.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/meta/unstructured.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/ref.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/register.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/requestcontext.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/amount.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/generated.pb.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/generated.proto (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/math.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/quantity.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/quantity_proto.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/scale_int.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource/suffix.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/resource_helpers.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/testapi/testapi.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/types.generated.go (72%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/duration.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/generated.proto (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/group_version.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/helpers.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/meta.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/register.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/time.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/time_proto.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/types.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/well_known_labels.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/unversioned/zz_generated.deepcopy.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/defaults.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/generated.pb.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/generated.proto (93%) create mode 100644 staging/src/k8s.io/client-go/pkg/api/v1/helpers.go rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/meta.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/ref.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/register.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/types.generated.go (71%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/types.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/types_swagger_doc_generated.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/v1/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/validation/path/name.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/api/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apimachinery/announced/announced.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apimachinery/announced/group_factory.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apimachinery/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apimachinery/registered/registered.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apimachinery/types.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/install/install.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/types.generated.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/types.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/conversion.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/defaults.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/generated.proto (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/register.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/types.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/zz_generated.conversion.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/apps/zz_generated.deepcopy.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/install/install.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/conversion.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/defaults.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/generated.proto (90%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/register.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/zz_generated.conversion.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authentication/zz_generated.deepcopy.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/install/install.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/register.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/conversion.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/defaults.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/generated.proto (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/register.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/types.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/authorization/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/install/install.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/types.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/defaults.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/generated.proto (90%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/register.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/types.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/autoscaling/zz_generated.deepcopy.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/install/install.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/types.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/conversion.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/defaults.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/generated.proto (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/register.go (87%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/types.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/types_swagger_doc_generated.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/zz_generated.conversion.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v1/zz_generated.deepcopy.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/conversion.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/defaults.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/generated.proto (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/register.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/types.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/batch/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/install/install.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/register.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/conversion.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/generated.proto (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/register.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/certificates/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/helpers.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/install/install.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/register.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/v1alpha1/defaults.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/v1alpha1/register.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/v1alpha1/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/componentconfig/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/helpers.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/install/install.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/register.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/types.generated.go (70%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/types.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/conversion.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/defaults.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/generated.pb.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/generated.proto (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/register.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/types.generated.go (72%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/types.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/zz_generated.conversion.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/extensions/zz_generated.deepcopy.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/install/install.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/types.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/generated.proto (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/register.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/imagepolicy/zz_generated.deepcopy.go (95%) create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/defaults.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/doc.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/env.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/doc.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/install.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/register.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/types.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/doc.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/register.go create mode 100644 staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/types.go rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/install/install.go (84%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/types.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/generated.proto (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/register.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/types.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/zz_generated.conversion.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/policy/zz_generated.deepcopy.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/helpers.go (69%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/install/install.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/register.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/defaults.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/generated.proto (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/register.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/rbac/zz_generated.deepcopy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/install/install.go (83%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/types.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/generated.pb.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/generated.proto (86%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/register.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/types.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/zz_generated.conversion.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/apis/storage/zz_generated.deepcopy.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/auth/user/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/auth/user/user.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/OWNERS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/cloner.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/converter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/deep_equal.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/helper.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/queryparams/convert.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/conversion/queryparams/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/install/install.go (88%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/register.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/conversion.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/defaults.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/generated.proto (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/register.go (89%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/types.generated.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/federation/apis/federation/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/fields/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/fields/fields.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/fields/requirements.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/fields/selector.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/genericapiserver/openapi/common/common.go (79%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/genericapiserver/openapi/common/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/qos/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/qos/policy.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/qos/qos.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/qos/types.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/server/portforward/constants.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/types/constants.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/types/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/types/labels.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/types/pod_update.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/kubelet/types/types.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/labels/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/labels/labels.go (51%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/labels/selector.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/master/ports/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/master/ports/ports.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/OWNERS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/codec.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/codec_check.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/embedded.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/error.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/extension.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/generated.pb.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/generated.proto (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/helper.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/interfaces.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/register.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/scheme.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/scheme_builder.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/codec_factory.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/json/json.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/json/meta.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/negotiated_codec.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/protobuf/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/protobuf/protobuf.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/protobuf_extension.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/recognizer/recognizer.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/streaming/streaming.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/serializer/versioning/versioning.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/swagger_doc_generator.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/types.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/types_proto.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/unstructured.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/runtime/zz_generated.deepcopy.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/selection/operator.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/third_party/forked/golang/json/fields.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/third_party/forked/golang/reflect/deep_equal.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/third_party/forked/golang/reflect/type.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/types/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/types/namespacedname.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/types/nodename.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/types/uid.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/types/unix_user_id.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/cert/cert.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/cert/csr.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/cert/io.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/cert/pem.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/clock/clock.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/config/config.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/config/configuration_map.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/config/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/config/feature_gate.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/diff/diff.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/errors/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/errors/errors.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/flowcontrol/backoff.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/flowcontrol/throttle.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/framer/framer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/homedir/homedir.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/httpstream/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/httpstream/httpstream.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/integer/integer.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/intstr/generated.pb.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/intstr/generated.proto (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/intstr/intstr.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/json/json.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/labels/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/labels/labels.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/net/http.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/net/interface.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/net/port_range.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/net/port_split.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/net/util.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/parsers/parsers.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/rand/rand.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/runtime/runtime.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/sets/byte.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/sets/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/sets/empty.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/sets/int.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/sets/int64.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/sets/string.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/strategicpatch/patch.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/template.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/testing/fake_handler.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/testing/tmpdir.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/trace.go (100%) create mode 100644 staging/src/k8s.io/client-go/pkg/util/trie.go rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/umask.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/umask_windows.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/util.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/uuid/uuid.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/validation/field/errors.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/validation/field/path.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/validation/validation.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/wait/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/wait/wait.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/util/yaml/decoder.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/version/.gitattributes (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/version/base.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/version/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/version/semver.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/version/version.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/doc.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/filter.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/mux.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/streamwatcher.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/until.go (51%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/versioned/decoder.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/versioned/encoder.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/versioned/generated.pb.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/versioned/generated.proto (91%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/versioned/register.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/versioned/types.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/pkg/watch/watch.go (60%) rename staging/src/k8s.io/client-go/{1.5 => }/plugin/pkg/auth/authenticator/token/oidc/testing/provider.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/plugin/pkg/client/auth/gcp/gcp.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/plugin/pkg/client/auth/oidc/OWNERS (100%) rename staging/src/k8s.io/client-go/{1.5 => }/plugin/pkg/client/auth/oidc/oidc.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/plugin/pkg/client/auth/oidc/oidc_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/plugin/pkg/client/auth/plugins.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/client.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/client_test.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/config.go (90%) create mode 100644 staging/src/k8s.io/client-go/rest/config_test.go rename staging/src/k8s.io/client-go/{1.5 => }/rest/plugin.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/plugin_test.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/request.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/request_test.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/transport.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/url_utils.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/url_utils_test.go (57%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/urlbackoff.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/urlbackoff_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/rest/versions.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/testing/actions.go (85%) rename staging/src/k8s.io/client-go/{1.5 => }/testing/fake.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/testing/fixture.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/auth/clientauth.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/auth/clientauth_test.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/controller.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/controller_test.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/delta_fifo.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/delta_fifo_test.go (92%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/doc.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/expiration_cache.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/expiration_cache_fakes.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/expiration_cache_test.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/fake_custom_store.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/fifo.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/fifo_test.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/index.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/index_test.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/listers.go (63%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/listers_core.go (98%) create mode 100644 staging/src/k8s.io/client-go/tools/cache/listers_extensions.go create mode 100644 staging/src/k8s.io/client-go/tools/cache/listers_rbac.go rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/listers_test.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/listwatch.go (93%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/processor_listener_test.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/reflector.go (96%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/reflector_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/shared_informer.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/store.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/store_test.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/testing/fake_controller_source.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/testing/fake_controller_source_test.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/thread_safe_store.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/undelta_store.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/cache/undelta_store_test.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/helpers.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/helpers_test.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/latest/latest.go (86%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/register.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/types.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/types_test.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/v1/conversion.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/v1/register.go (94%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/api/v1/types.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/auth_loaders.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/client_config.go (82%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/client_config_test.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/config.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/doc.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/loader.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/loader_test.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/merged_client_builder.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/merged_client_builder_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/overrides.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/validation.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/clientcmd/validation_test.go (99%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/metrics/metrics.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/portforward/doc.go (90%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/portforward/portforward.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/record/doc.go (91%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/record/event.go (97%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/record/event_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/record/events_cache.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/record/events_cache_test.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/tools/record/fake.go (95%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/cache.go (98%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/cache_test.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/config.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/round_trippers.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/round_trippers_test.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/transport.go (100%) rename staging/src/k8s.io/client-go/{1.5 => }/transport/transport_test.go (100%) diff --git a/staging/src/k8s.io/client-go/1.5/LICENSE b/staging/src/k8s.io/client-go/1.5/LICENSE deleted file mode 100644 index 00b2401109f..00000000000 --- a/staging/src/k8s.io/client-go/1.5/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 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. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_386.go b/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_386.go deleted file mode 100644 index 41c2e69782a..00000000000 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_386.go +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright 2009 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build 386,dragonfly - -package unix - -import ( - "syscall" - "unsafe" -) - -func Getpagesize() int { return 4096 } - -func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } - -func NsecToTimespec(nsec int64) (ts Timespec) { - ts.Sec = int32(nsec / 1e9) - ts.Nsec = int32(nsec % 1e9) - return -} - -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - -func NsecToTimeval(nsec int64) (tv Timeval) { - nsec += 999 // round up to microsecond - tv.Usec = int32(nsec % 1e9 / 1e3) - tv.Sec = int32(nsec / 1e9) - return -} - -func SetKevent(k *Kevent_t, fd, mode, flags int) { - k.Ident = uint32(fd) - k.Filter = int16(mode) - k.Flags = uint16(flags) -} - -func (iov *Iovec) SetLen(length int) { - iov.Len = uint32(length) -} - -func (msghdr *Msghdr) SetControllen(length int) { - msghdr.Controllen = uint32(length) -} - -func (cmsg *Cmsghdr) SetLen(length int) { - cmsg.Len = uint32(length) -} - -func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { - var writtenOut uint64 = 0 - _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0) - - written = int(writtenOut) - - if e1 != 0 { - err = e1 - } - return -} - -func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_386.go b/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_386.go deleted file mode 100644 index 2a329f06e25..00000000000 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_386.go +++ /dev/null @@ -1,1530 +0,0 @@ -// mkerrors.sh -m32 -// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT - -// +build 386,dragonfly - -// Created by cgo -godefs - DO NOT EDIT -// cgo -godefs -- -m32 _const.go - -package unix - -import "syscall" - -const ( - AF_APPLETALK = 0x10 - AF_ATM = 0x1e - AF_BLUETOOTH = 0x21 - AF_CCITT = 0xa - AF_CHAOS = 0x5 - AF_CNT = 0x15 - AF_COIP = 0x14 - AF_DATAKIT = 0x9 - AF_DECnet = 0xc - AF_DLI = 0xd - AF_E164 = 0x1a - AF_ECMA = 0x8 - AF_HYLINK = 0xf - AF_IEEE80211 = 0x23 - AF_IMPLINK = 0x3 - AF_INET = 0x2 - AF_INET6 = 0x1c - AF_IPX = 0x17 - AF_ISDN = 0x1a - AF_ISO = 0x7 - AF_LAT = 0xe - AF_LINK = 0x12 - AF_LOCAL = 0x1 - AF_MAX = 0x24 - AF_MPLS = 0x22 - AF_NATM = 0x1d - AF_NETGRAPH = 0x20 - AF_NS = 0x6 - AF_OSI = 0x7 - AF_PUP = 0x4 - AF_ROUTE = 0x11 - AF_SIP = 0x18 - AF_SNA = 0xb - AF_UNIX = 0x1 - AF_UNSPEC = 0x0 - B0 = 0x0 - B110 = 0x6e - B115200 = 0x1c200 - B1200 = 0x4b0 - B134 = 0x86 - B14400 = 0x3840 - B150 = 0x96 - B1800 = 0x708 - B19200 = 0x4b00 - B200 = 0xc8 - B230400 = 0x38400 - B2400 = 0x960 - B28800 = 0x7080 - B300 = 0x12c - B38400 = 0x9600 - B4800 = 0x12c0 - B50 = 0x32 - B57600 = 0xe100 - B600 = 0x258 - B7200 = 0x1c20 - B75 = 0x4b - B76800 = 0x12c00 - B9600 = 0x2580 - BIOCFLUSH = 0x20004268 - BIOCGBLEN = 0x40044266 - BIOCGDLT = 0x4004426a - BIOCGDLTLIST = 0xc0084279 - BIOCGETIF = 0x4020426b - BIOCGHDRCMPLT = 0x40044274 - BIOCGRSIG = 0x40044272 - BIOCGRTIMEOUT = 0x4008426e - BIOCGSEESENT = 0x40044276 - BIOCGSTATS = 0x4008426f - BIOCIMMEDIATE = 0x80044270 - BIOCLOCK = 0x2000427a - BIOCPROMISC = 0x20004269 - BIOCSBLEN = 0xc0044266 - BIOCSDLT = 0x80044278 - BIOCSETF = 0x80084267 - BIOCSETIF = 0x8020426c - BIOCSETWF = 0x8008427b - BIOCSHDRCMPLT = 0x80044275 - BIOCSRSIG = 0x80044273 - BIOCSRTIMEOUT = 0x8008426d - BIOCSSEESENT = 0x80044277 - BIOCVERSION = 0x40044271 - BPF_A = 0x10 - BPF_ABS = 0x20 - BPF_ADD = 0x0 - BPF_ALIGNMENT = 0x4 - BPF_ALU = 0x4 - BPF_AND = 0x50 - BPF_B = 0x10 - BPF_DEFAULTBUFSIZE = 0x1000 - BPF_DIV = 0x30 - BPF_H = 0x8 - BPF_IMM = 0x0 - BPF_IND = 0x40 - BPF_JA = 0x0 - BPF_JEQ = 0x10 - BPF_JGE = 0x30 - BPF_JGT = 0x20 - BPF_JMP = 0x5 - BPF_JSET = 0x40 - BPF_K = 0x0 - BPF_LD = 0x0 - BPF_LDX = 0x1 - BPF_LEN = 0x80 - BPF_LSH = 0x60 - BPF_MAJOR_VERSION = 0x1 - BPF_MAXBUFSIZE = 0x80000 - BPF_MAXINSNS = 0x200 - BPF_MAX_CLONES = 0x80 - BPF_MEM = 0x60 - BPF_MEMWORDS = 0x10 - BPF_MINBUFSIZE = 0x20 - BPF_MINOR_VERSION = 0x1 - BPF_MISC = 0x7 - BPF_MSH = 0xa0 - BPF_MUL = 0x20 - BPF_NEG = 0x80 - BPF_OR = 0x40 - BPF_RELEASE = 0x30bb6 - BPF_RET = 0x6 - BPF_RSH = 0x70 - BPF_ST = 0x2 - BPF_STX = 0x3 - BPF_SUB = 0x10 - BPF_TAX = 0x0 - BPF_TXA = 0x80 - BPF_W = 0x0 - BPF_X = 0x8 - BRKINT = 0x2 - CFLUSH = 0xf - CLOCAL = 0x8000 - CREAD = 0x800 - CS5 = 0x0 - CS6 = 0x100 - CS7 = 0x200 - CS8 = 0x300 - CSIZE = 0x300 - CSTART = 0x11 - CSTATUS = 0x14 - CSTOP = 0x13 - CSTOPB = 0x400 - CSUSP = 0x1a - CTL_MAXNAME = 0xc - CTL_NET = 0x4 - DLT_A429 = 0xb8 - DLT_A653_ICM = 0xb9 - DLT_AIRONET_HEADER = 0x78 - DLT_APPLE_IP_OVER_IEEE1394 = 0x8a - DLT_ARCNET = 0x7 - DLT_ARCNET_LINUX = 0x81 - DLT_ATM_CLIP = 0x13 - DLT_ATM_RFC1483 = 0xb - DLT_AURORA = 0x7e - DLT_AX25 = 0x3 - DLT_AX25_KISS = 0xca - DLT_BACNET_MS_TP = 0xa5 - DLT_BLUETOOTH_HCI_H4 = 0xbb - DLT_BLUETOOTH_HCI_H4_WITH_PHDR = 0xc9 - DLT_CAN20B = 0xbe - DLT_CHAOS = 0x5 - DLT_CHDLC = 0x68 - DLT_CISCO_IOS = 0x76 - DLT_C_HDLC = 0x68 - DLT_C_HDLC_WITH_DIR = 0xcd - DLT_DOCSIS = 0x8f - DLT_ECONET = 0x73 - DLT_EN10MB = 0x1 - DLT_EN3MB = 0x2 - DLT_ENC = 0x6d - DLT_ERF = 0xc5 - DLT_ERF_ETH = 0xaf - DLT_ERF_POS = 0xb0 - DLT_FDDI = 0xa - DLT_FLEXRAY = 0xd2 - DLT_FRELAY = 0x6b - DLT_FRELAY_WITH_DIR = 0xce - DLT_GCOM_SERIAL = 0xad - DLT_GCOM_T1E1 = 0xac - DLT_GPF_F = 0xab - DLT_GPF_T = 0xaa - DLT_GPRS_LLC = 0xa9 - DLT_HHDLC = 0x79 - DLT_IBM_SN = 0x92 - DLT_IBM_SP = 0x91 - DLT_IEEE802 = 0x6 - DLT_IEEE802_11 = 0x69 - DLT_IEEE802_11_RADIO = 0x7f - DLT_IEEE802_11_RADIO_AVS = 0xa3 - DLT_IEEE802_15_4 = 0xc3 - DLT_IEEE802_15_4_LINUX = 0xbf - DLT_IEEE802_15_4_NONASK_PHY = 0xd7 - DLT_IEEE802_16_MAC_CPS = 0xbc - DLT_IEEE802_16_MAC_CPS_RADIO = 0xc1 - DLT_IPFILTER = 0x74 - DLT_IPMB = 0xc7 - DLT_IPMB_LINUX = 0xd1 - DLT_IP_OVER_FC = 0x7a - DLT_JUNIPER_ATM1 = 0x89 - DLT_JUNIPER_ATM2 = 0x87 - DLT_JUNIPER_CHDLC = 0xb5 - DLT_JUNIPER_ES = 0x84 - DLT_JUNIPER_ETHER = 0xb2 - DLT_JUNIPER_FRELAY = 0xb4 - DLT_JUNIPER_GGSN = 0x85 - DLT_JUNIPER_ISM = 0xc2 - DLT_JUNIPER_MFR = 0x86 - DLT_JUNIPER_MLFR = 0x83 - DLT_JUNIPER_MLPPP = 0x82 - DLT_JUNIPER_MONITOR = 0xa4 - DLT_JUNIPER_PIC_PEER = 0xae - DLT_JUNIPER_PPP = 0xb3 - DLT_JUNIPER_PPPOE = 0xa7 - DLT_JUNIPER_PPPOE_ATM = 0xa8 - DLT_JUNIPER_SERVICES = 0x88 - DLT_JUNIPER_ST = 0xc8 - DLT_JUNIPER_VP = 0xb7 - DLT_LAPB_WITH_DIR = 0xcf - DLT_LAPD = 0xcb - DLT_LIN = 0xd4 - DLT_LINUX_IRDA = 0x90 - DLT_LINUX_LAPD = 0xb1 - DLT_LINUX_SLL = 0x71 - DLT_LOOP = 0x6c - DLT_LTALK = 0x72 - DLT_MFR = 0xb6 - DLT_MOST = 0xd3 - DLT_MTP2 = 0x8c - DLT_MTP2_WITH_PHDR = 0x8b - DLT_MTP3 = 0x8d - DLT_NULL = 0x0 - DLT_PCI_EXP = 0x7d - DLT_PFLOG = 0x75 - DLT_PFSYNC = 0x12 - DLT_PPI = 0xc0 - DLT_PPP = 0x9 - DLT_PPP_BSDOS = 0x10 - DLT_PPP_ETHER = 0x33 - DLT_PPP_PPPD = 0xa6 - DLT_PPP_SERIAL = 0x32 - DLT_PPP_WITH_DIR = 0xcc - DLT_PRISM_HEADER = 0x77 - DLT_PRONET = 0x4 - DLT_RAIF1 = 0xc6 - DLT_RAW = 0xc - DLT_REDBACK_SMARTEDGE = 0x20 - DLT_RIO = 0x7c - DLT_SCCP = 0x8e - DLT_SITA = 0xc4 - DLT_SLIP = 0x8 - DLT_SLIP_BSDOS = 0xf - DLT_SUNATM = 0x7b - DLT_SYMANTEC_FIREWALL = 0x63 - DLT_TZSP = 0x80 - DLT_USB = 0xba - DLT_USB_LINUX = 0xbd - DLT_X2E_SERIAL = 0xd5 - DLT_X2E_XORAYA = 0xd6 - DT_BLK = 0x6 - DT_CHR = 0x2 - DT_DBF = 0xf - DT_DIR = 0x4 - DT_FIFO = 0x1 - DT_LNK = 0xa - DT_REG = 0x8 - DT_SOCK = 0xc - DT_UNKNOWN = 0x0 - DT_WHT = 0xe - ECHO = 0x8 - ECHOCTL = 0x40 - ECHOE = 0x2 - ECHOK = 0x4 - ECHOKE = 0x1 - ECHONL = 0x10 - ECHOPRT = 0x20 - EVFILT_AIO = -0x3 - EVFILT_EXCEPT = -0x8 - EVFILT_MARKER = 0xf - EVFILT_PROC = -0x5 - EVFILT_READ = -0x1 - EVFILT_SIGNAL = -0x6 - EVFILT_SYSCOUNT = 0x8 - EVFILT_TIMER = -0x7 - EVFILT_VNODE = -0x4 - EVFILT_WRITE = -0x2 - EV_ADD = 0x1 - EV_CLEAR = 0x20 - EV_DELETE = 0x2 - EV_DISABLE = 0x8 - EV_ENABLE = 0x4 - EV_EOF = 0x8000 - EV_ERROR = 0x4000 - EV_FLAG1 = 0x2000 - EV_NODATA = 0x1000 - EV_ONESHOT = 0x10 - EV_SYSFLAGS = 0xf000 - EXTA = 0x4b00 - EXTB = 0x9600 - EXTEXIT_LWP = 0x10000 - EXTEXIT_PROC = 0x0 - EXTEXIT_SETINT = 0x1 - EXTEXIT_SIMPLE = 0x0 - EXTPROC = 0x800 - FD_CLOEXEC = 0x1 - FD_SETSIZE = 0x400 - FLUSHO = 0x800000 - F_DUP2FD = 0xa - F_DUP2FD_CLOEXEC = 0x12 - F_DUPFD = 0x0 - F_DUPFD_CLOEXEC = 0x11 - F_GETFD = 0x1 - F_GETFL = 0x3 - F_GETLK = 0x7 - F_GETOWN = 0x5 - F_OK = 0x0 - F_RDLCK = 0x1 - F_SETFD = 0x2 - F_SETFL = 0x4 - F_SETLK = 0x8 - F_SETLKW = 0x9 - F_SETOWN = 0x6 - F_UNLCK = 0x2 - F_WRLCK = 0x3 - HUPCL = 0x4000 - ICANON = 0x100 - ICMP6_FILTER = 0x12 - ICRNL = 0x100 - IEXTEN = 0x400 - IFAN_ARRIVAL = 0x0 - IFAN_DEPARTURE = 0x1 - IFF_ALLMULTI = 0x200 - IFF_ALTPHYS = 0x4000 - IFF_BROADCAST = 0x2 - IFF_CANTCHANGE = 0x118e72 - IFF_DEBUG = 0x4 - IFF_LINK0 = 0x1000 - IFF_LINK1 = 0x2000 - IFF_LINK2 = 0x4000 - IFF_LOOPBACK = 0x8 - IFF_MONITOR = 0x40000 - IFF_MULTICAST = 0x8000 - IFF_NOARP = 0x80 - IFF_NPOLLING = 0x100000 - IFF_OACTIVE = 0x400 - IFF_OACTIVE_COMPAT = 0x400 - IFF_POINTOPOINT = 0x10 - IFF_POLLING = 0x10000 - IFF_POLLING_COMPAT = 0x10000 - IFF_PPROMISC = 0x20000 - IFF_PROMISC = 0x100 - IFF_RUNNING = 0x40 - IFF_SIMPLEX = 0x800 - IFF_SMART = 0x20 - IFF_STATICARP = 0x80000 - IFF_UP = 0x1 - IFNAMSIZ = 0x10 - IFT_1822 = 0x2 - IFT_A12MPPSWITCH = 0x82 - IFT_AAL2 = 0xbb - IFT_AAL5 = 0x31 - IFT_ADSL = 0x5e - IFT_AFLANE8023 = 0x3b - IFT_AFLANE8025 = 0x3c - IFT_ARAP = 0x58 - IFT_ARCNET = 0x23 - IFT_ARCNETPLUS = 0x24 - IFT_ASYNC = 0x54 - IFT_ATM = 0x25 - IFT_ATMDXI = 0x69 - IFT_ATMFUNI = 0x6a - IFT_ATMIMA = 0x6b - IFT_ATMLOGICAL = 0x50 - IFT_ATMRADIO = 0xbd - IFT_ATMSUBINTERFACE = 0x86 - IFT_ATMVCIENDPT = 0xc2 - IFT_ATMVIRTUAL = 0x95 - IFT_BGPPOLICYACCOUNTING = 0xa2 - IFT_BRIDGE = 0xd1 - IFT_BSC = 0x53 - IFT_CARP = 0xf8 - IFT_CCTEMUL = 0x3d - IFT_CEPT = 0x13 - IFT_CES = 0x85 - IFT_CHANNEL = 0x46 - IFT_CNR = 0x55 - IFT_COFFEE = 0x84 - IFT_COMPOSITELINK = 0x9b - IFT_DCN = 0x8d - IFT_DIGITALPOWERLINE = 0x8a - IFT_DIGITALWRAPPEROVERHEADCHANNEL = 0xba - IFT_DLSW = 0x4a - IFT_DOCSCABLEDOWNSTREAM = 0x80 - IFT_DOCSCABLEMACLAYER = 0x7f - IFT_DOCSCABLEUPSTREAM = 0x81 - IFT_DS0 = 0x51 - IFT_DS0BUNDLE = 0x52 - IFT_DS1FDL = 0xaa - IFT_DS3 = 0x1e - IFT_DTM = 0x8c - IFT_DVBASILN = 0xac - IFT_DVBASIOUT = 0xad - IFT_DVBRCCDOWNSTREAM = 0x93 - IFT_DVBRCCMACLAYER = 0x92 - IFT_DVBRCCUPSTREAM = 0x94 - IFT_ENC = 0xf4 - IFT_EON = 0x19 - IFT_EPLRS = 0x57 - IFT_ESCON = 0x49 - IFT_ETHER = 0x6 - IFT_FAITH = 0xf2 - IFT_FAST = 0x7d - IFT_FASTETHER = 0x3e - IFT_FASTETHERFX = 0x45 - IFT_FDDI = 0xf - IFT_FIBRECHANNEL = 0x38 - IFT_FRAMERELAYINTERCONNECT = 0x3a - IFT_FRAMERELAYMPI = 0x5c - IFT_FRDLCIENDPT = 0xc1 - IFT_FRELAY = 0x20 - IFT_FRELAYDCE = 0x2c - IFT_FRF16MFRBUNDLE = 0xa3 - IFT_FRFORWARD = 0x9e - IFT_G703AT2MB = 0x43 - IFT_G703AT64K = 0x42 - IFT_GIF = 0xf0 - IFT_GIGABITETHERNET = 0x75 - IFT_GR303IDT = 0xb2 - IFT_GR303RDT = 0xb1 - IFT_H323GATEKEEPER = 0xa4 - IFT_H323PROXY = 0xa5 - IFT_HDH1822 = 0x3 - IFT_HDLC = 0x76 - IFT_HDSL2 = 0xa8 - IFT_HIPERLAN2 = 0xb7 - IFT_HIPPI = 0x2f - IFT_HIPPIINTERFACE = 0x39 - IFT_HOSTPAD = 0x5a - IFT_HSSI = 0x2e - IFT_HY = 0xe - IFT_IBM370PARCHAN = 0x48 - IFT_IDSL = 0x9a - IFT_IEEE1394 = 0x90 - IFT_IEEE80211 = 0x47 - IFT_IEEE80212 = 0x37 - IFT_IEEE8023ADLAG = 0xa1 - IFT_IFGSN = 0x91 - IFT_IMT = 0xbe - IFT_INTERLEAVE = 0x7c - IFT_IP = 0x7e - IFT_IPFORWARD = 0x8e - IFT_IPOVERATM = 0x72 - IFT_IPOVERCDLC = 0x6d - IFT_IPOVERCLAW = 0x6e - IFT_IPSWITCH = 0x4e - IFT_ISDN = 0x3f - IFT_ISDNBASIC = 0x14 - IFT_ISDNPRIMARY = 0x15 - IFT_ISDNS = 0x4b - IFT_ISDNU = 0x4c - IFT_ISO88022LLC = 0x29 - IFT_ISO88023 = 0x7 - IFT_ISO88024 = 0x8 - IFT_ISO88025 = 0x9 - IFT_ISO88025CRFPINT = 0x62 - IFT_ISO88025DTR = 0x56 - IFT_ISO88025FIBER = 0x73 - IFT_ISO88026 = 0xa - IFT_ISUP = 0xb3 - IFT_L2VLAN = 0x87 - IFT_L3IPVLAN = 0x88 - IFT_L3IPXVLAN = 0x89 - IFT_LAPB = 0x10 - IFT_LAPD = 0x4d - IFT_LAPF = 0x77 - IFT_LOCALTALK = 0x2a - IFT_LOOP = 0x18 - IFT_MEDIAMAILOVERIP = 0x8b - IFT_MFSIGLINK = 0xa7 - IFT_MIOX25 = 0x26 - IFT_MODEM = 0x30 - IFT_MPC = 0x71 - IFT_MPLS = 0xa6 - IFT_MPLSTUNNEL = 0x96 - IFT_MSDSL = 0x8f - IFT_MVL = 0xbf - IFT_MYRINET = 0x63 - IFT_NFAS = 0xaf - IFT_NSIP = 0x1b - IFT_OPTICALCHANNEL = 0xc3 - IFT_OPTICALTRANSPORT = 0xc4 - IFT_OTHER = 0x1 - IFT_P10 = 0xc - IFT_P80 = 0xd - IFT_PARA = 0x22 - IFT_PFLOG = 0xf5 - IFT_PFSYNC = 0xf6 - IFT_PLC = 0xae - IFT_POS = 0xab - IFT_PPP = 0x17 - IFT_PPPMULTILINKBUNDLE = 0x6c - IFT_PROPBWAP2MP = 0xb8 - IFT_PROPCNLS = 0x59 - IFT_PROPDOCSWIRELESSDOWNSTREAM = 0xb5 - IFT_PROPDOCSWIRELESSMACLAYER = 0xb4 - IFT_PROPDOCSWIRELESSUPSTREAM = 0xb6 - IFT_PROPMUX = 0x36 - IFT_PROPVIRTUAL = 0x35 - IFT_PROPWIRELESSP2P = 0x9d - IFT_PTPSERIAL = 0x16 - IFT_PVC = 0xf1 - IFT_QLLC = 0x44 - IFT_RADIOMAC = 0xbc - IFT_RADSL = 0x5f - IFT_REACHDSL = 0xc0 - IFT_RFC1483 = 0x9f - IFT_RS232 = 0x21 - IFT_RSRB = 0x4f - IFT_SDLC = 0x11 - IFT_SDSL = 0x60 - IFT_SHDSL = 0xa9 - IFT_SIP = 0x1f - IFT_SLIP = 0x1c - IFT_SMDSDXI = 0x2b - IFT_SMDSICIP = 0x34 - IFT_SONET = 0x27 - IFT_SONETOVERHEADCHANNEL = 0xb9 - IFT_SONETPATH = 0x32 - IFT_SONETVT = 0x33 - IFT_SRP = 0x97 - IFT_SS7SIGLINK = 0x9c - IFT_STACKTOSTACK = 0x6f - IFT_STARLAN = 0xb - IFT_STF = 0xf3 - IFT_T1 = 0x12 - IFT_TDLC = 0x74 - IFT_TERMPAD = 0x5b - IFT_TR008 = 0xb0 - IFT_TRANSPHDLC = 0x7b - IFT_TUNNEL = 0x83 - IFT_ULTRA = 0x1d - IFT_USB = 0xa0 - IFT_V11 = 0x40 - IFT_V35 = 0x2d - IFT_V36 = 0x41 - IFT_V37 = 0x78 - IFT_VDSL = 0x61 - IFT_VIRTUALIPADDRESS = 0x70 - IFT_VOICEEM = 0x64 - IFT_VOICEENCAP = 0x67 - IFT_VOICEFXO = 0x65 - IFT_VOICEFXS = 0x66 - IFT_VOICEOVERATM = 0x98 - IFT_VOICEOVERFRAMERELAY = 0x99 - IFT_VOICEOVERIP = 0x68 - IFT_X213 = 0x5d - IFT_X25 = 0x5 - IFT_X25DDN = 0x4 - IFT_X25HUNTGROUP = 0x7a - IFT_X25MLP = 0x79 - IFT_X25PLE = 0x28 - IFT_XETHER = 0x1a - IGNBRK = 0x1 - IGNCR = 0x80 - IGNPAR = 0x4 - IMAXBEL = 0x2000 - INLCR = 0x40 - INPCK = 0x10 - IN_CLASSA_HOST = 0xffffff - IN_CLASSA_MAX = 0x80 - IN_CLASSA_NET = 0xff000000 - IN_CLASSA_NSHIFT = 0x18 - IN_CLASSB_HOST = 0xffff - IN_CLASSB_MAX = 0x10000 - IN_CLASSB_NET = 0xffff0000 - IN_CLASSB_NSHIFT = 0x10 - IN_CLASSC_HOST = 0xff - IN_CLASSC_NET = 0xffffff00 - IN_CLASSC_NSHIFT = 0x8 - IN_CLASSD_HOST = 0xfffffff - IN_CLASSD_NET = 0xf0000000 - IN_CLASSD_NSHIFT = 0x1c - IN_LOOPBACKNET = 0x7f - IPPROTO_3PC = 0x22 - IPPROTO_ADFS = 0x44 - IPPROTO_AH = 0x33 - IPPROTO_AHIP = 0x3d - IPPROTO_APES = 0x63 - IPPROTO_ARGUS = 0xd - IPPROTO_AX25 = 0x5d - IPPROTO_BHA = 0x31 - IPPROTO_BLT = 0x1e - IPPROTO_BRSATMON = 0x4c - IPPROTO_CARP = 0x70 - IPPROTO_CFTP = 0x3e - IPPROTO_CHAOS = 0x10 - IPPROTO_CMTP = 0x26 - IPPROTO_CPHB = 0x49 - IPPROTO_CPNX = 0x48 - IPPROTO_DDP = 0x25 - IPPROTO_DGP = 0x56 - IPPROTO_DIVERT = 0xfe - IPPROTO_DONE = 0x101 - IPPROTO_DSTOPTS = 0x3c - IPPROTO_EGP = 0x8 - IPPROTO_EMCON = 0xe - IPPROTO_ENCAP = 0x62 - IPPROTO_EON = 0x50 - IPPROTO_ESP = 0x32 - IPPROTO_ETHERIP = 0x61 - IPPROTO_FRAGMENT = 0x2c - IPPROTO_GGP = 0x3 - IPPROTO_GMTP = 0x64 - IPPROTO_GRE = 0x2f - IPPROTO_HELLO = 0x3f - IPPROTO_HMP = 0x14 - IPPROTO_HOPOPTS = 0x0 - IPPROTO_ICMP = 0x1 - IPPROTO_ICMPV6 = 0x3a - IPPROTO_IDP = 0x16 - IPPROTO_IDPR = 0x23 - IPPROTO_IDRP = 0x2d - IPPROTO_IGMP = 0x2 - IPPROTO_IGP = 0x55 - IPPROTO_IGRP = 0x58 - IPPROTO_IL = 0x28 - IPPROTO_INLSP = 0x34 - IPPROTO_INP = 0x20 - IPPROTO_IP = 0x0 - IPPROTO_IPCOMP = 0x6c - IPPROTO_IPCV = 0x47 - IPPROTO_IPEIP = 0x5e - IPPROTO_IPIP = 0x4 - IPPROTO_IPPC = 0x43 - IPPROTO_IPV4 = 0x4 - IPPROTO_IPV6 = 0x29 - IPPROTO_IRTP = 0x1c - IPPROTO_KRYPTOLAN = 0x41 - IPPROTO_LARP = 0x5b - IPPROTO_LEAF1 = 0x19 - IPPROTO_LEAF2 = 0x1a - IPPROTO_MAX = 0x100 - IPPROTO_MAXID = 0x34 - IPPROTO_MEAS = 0x13 - IPPROTO_MHRP = 0x30 - IPPROTO_MICP = 0x5f - IPPROTO_MOBILE = 0x37 - IPPROTO_MTP = 0x5c - IPPROTO_MUX = 0x12 - IPPROTO_ND = 0x4d - IPPROTO_NHRP = 0x36 - IPPROTO_NONE = 0x3b - IPPROTO_NSP = 0x1f - IPPROTO_NVPII = 0xb - IPPROTO_OSPFIGP = 0x59 - IPPROTO_PFSYNC = 0xf0 - IPPROTO_PGM = 0x71 - IPPROTO_PIGP = 0x9 - IPPROTO_PIM = 0x67 - IPPROTO_PRM = 0x15 - IPPROTO_PUP = 0xc - IPPROTO_PVP = 0x4b - IPPROTO_RAW = 0xff - IPPROTO_RCCMON = 0xa - IPPROTO_RDP = 0x1b - IPPROTO_ROUTING = 0x2b - IPPROTO_RSVP = 0x2e - IPPROTO_RVD = 0x42 - IPPROTO_SATEXPAK = 0x40 - IPPROTO_SATMON = 0x45 - IPPROTO_SCCSP = 0x60 - IPPROTO_SCTP = 0x84 - IPPROTO_SDRP = 0x2a - IPPROTO_SEP = 0x21 - IPPROTO_SKIP = 0x39 - IPPROTO_SRPC = 0x5a - IPPROTO_ST = 0x7 - IPPROTO_SVMTP = 0x52 - IPPROTO_SWIPE = 0x35 - IPPROTO_TCF = 0x57 - IPPROTO_TCP = 0x6 - IPPROTO_TLSP = 0x38 - IPPROTO_TP = 0x1d - IPPROTO_TPXX = 0x27 - IPPROTO_TRUNK1 = 0x17 - IPPROTO_TRUNK2 = 0x18 - IPPROTO_TTP = 0x54 - IPPROTO_UDP = 0x11 - IPPROTO_UNKNOWN = 0x102 - IPPROTO_VINES = 0x53 - IPPROTO_VISA = 0x46 - IPPROTO_VMTP = 0x51 - IPPROTO_WBEXPAK = 0x4f - IPPROTO_WBMON = 0x4e - IPPROTO_WSN = 0x4a - IPPROTO_XNET = 0xf - IPPROTO_XTP = 0x24 - IPV6_AUTOFLOWLABEL = 0x3b - IPV6_BINDV6ONLY = 0x1b - IPV6_CHECKSUM = 0x1a - IPV6_DEFAULT_MULTICAST_HOPS = 0x1 - IPV6_DEFAULT_MULTICAST_LOOP = 0x1 - IPV6_DEFHLIM = 0x40 - IPV6_DONTFRAG = 0x3e - IPV6_DSTOPTS = 0x32 - IPV6_FAITH = 0x1d - IPV6_FLOWINFO_MASK = 0xffffff0f - IPV6_FLOWLABEL_MASK = 0xffff0f00 - IPV6_FRAGTTL = 0x78 - IPV6_FW_ADD = 0x1e - IPV6_FW_DEL = 0x1f - IPV6_FW_FLUSH = 0x20 - IPV6_FW_GET = 0x22 - IPV6_FW_ZERO = 0x21 - IPV6_HLIMDEC = 0x1 - IPV6_HOPLIMIT = 0x2f - IPV6_HOPOPTS = 0x31 - IPV6_IPSEC_POLICY = 0x1c - IPV6_JOIN_GROUP = 0xc - IPV6_LEAVE_GROUP = 0xd - IPV6_MAXHLIM = 0xff - IPV6_MAXPACKET = 0xffff - IPV6_MMTU = 0x500 - IPV6_MSFILTER = 0x4a - IPV6_MULTICAST_HOPS = 0xa - IPV6_MULTICAST_IF = 0x9 - IPV6_MULTICAST_LOOP = 0xb - IPV6_NEXTHOP = 0x30 - IPV6_PATHMTU = 0x2c - IPV6_PKTINFO = 0x2e - IPV6_PKTOPTIONS = 0x34 - IPV6_PORTRANGE = 0xe - IPV6_PORTRANGE_DEFAULT = 0x0 - IPV6_PORTRANGE_HIGH = 0x1 - IPV6_PORTRANGE_LOW = 0x2 - IPV6_PREFER_TEMPADDR = 0x3f - IPV6_RECVDSTOPTS = 0x28 - IPV6_RECVHOPLIMIT = 0x25 - IPV6_RECVHOPOPTS = 0x27 - IPV6_RECVPATHMTU = 0x2b - IPV6_RECVPKTINFO = 0x24 - IPV6_RECVRTHDR = 0x26 - IPV6_RECVTCLASS = 0x39 - IPV6_RTHDR = 0x33 - IPV6_RTHDRDSTOPTS = 0x23 - IPV6_RTHDR_LOOSE = 0x0 - IPV6_RTHDR_STRICT = 0x1 - IPV6_RTHDR_TYPE_0 = 0x0 - IPV6_SOCKOPT_RESERVED1 = 0x3 - IPV6_TCLASS = 0x3d - IPV6_UNICAST_HOPS = 0x4 - IPV6_USE_MIN_MTU = 0x2a - IPV6_V6ONLY = 0x1b - IPV6_VERSION = 0x60 - IPV6_VERSION_MASK = 0xf0 - IP_ADD_MEMBERSHIP = 0xc - IP_DEFAULT_MULTICAST_LOOP = 0x1 - IP_DEFAULT_MULTICAST_TTL = 0x1 - IP_DF = 0x4000 - IP_DROP_MEMBERSHIP = 0xd - IP_DUMMYNET_CONFIGURE = 0x3c - IP_DUMMYNET_DEL = 0x3d - IP_DUMMYNET_FLUSH = 0x3e - IP_DUMMYNET_GET = 0x40 - IP_FAITH = 0x16 - IP_FW_ADD = 0x32 - IP_FW_DEL = 0x33 - IP_FW_FLUSH = 0x34 - IP_FW_GET = 0x36 - IP_FW_RESETLOG = 0x37 - IP_FW_ZERO = 0x35 - IP_HDRINCL = 0x2 - IP_IPSEC_POLICY = 0x15 - IP_MAXPACKET = 0xffff - IP_MAX_MEMBERSHIPS = 0x14 - IP_MF = 0x2000 - IP_MINTTL = 0x42 - IP_MSS = 0x240 - IP_MULTICAST_IF = 0x9 - IP_MULTICAST_LOOP = 0xb - IP_MULTICAST_TTL = 0xa - IP_MULTICAST_VIF = 0xe - IP_OFFMASK = 0x1fff - IP_OPTIONS = 0x1 - IP_PORTRANGE = 0x13 - IP_PORTRANGE_DEFAULT = 0x0 - IP_PORTRANGE_HIGH = 0x1 - IP_PORTRANGE_LOW = 0x2 - IP_RECVDSTADDR = 0x7 - IP_RECVIF = 0x14 - IP_RECVOPTS = 0x5 - IP_RECVRETOPTS = 0x6 - IP_RECVTTL = 0x41 - IP_RETOPTS = 0x8 - IP_RF = 0x8000 - IP_RSVP_OFF = 0x10 - IP_RSVP_ON = 0xf - IP_RSVP_VIF_OFF = 0x12 - IP_RSVP_VIF_ON = 0x11 - IP_TOS = 0x3 - IP_TTL = 0x4 - ISIG = 0x80 - ISTRIP = 0x20 - IXANY = 0x800 - IXOFF = 0x400 - IXON = 0x200 - LOCK_EX = 0x2 - LOCK_NB = 0x4 - LOCK_SH = 0x1 - LOCK_UN = 0x8 - MADV_AUTOSYNC = 0x7 - MADV_CONTROL_END = 0xb - MADV_CONTROL_START = 0xa - MADV_CORE = 0x9 - MADV_DONTNEED = 0x4 - MADV_FREE = 0x5 - MADV_INVAL = 0xa - MADV_NOCORE = 0x8 - MADV_NORMAL = 0x0 - MADV_NOSYNC = 0x6 - MADV_RANDOM = 0x1 - MADV_SEQUENTIAL = 0x2 - MADV_SETMAP = 0xb - MADV_WILLNEED = 0x3 - MAP_ANON = 0x1000 - MAP_COPY = 0x2 - MAP_FILE = 0x0 - MAP_FIXED = 0x10 - MAP_HASSEMAPHORE = 0x200 - MAP_INHERIT = 0x80 - MAP_NOCORE = 0x20000 - MAP_NOEXTEND = 0x100 - MAP_NORESERVE = 0x40 - MAP_NOSYNC = 0x800 - MAP_PRIVATE = 0x2 - MAP_RENAME = 0x20 - MAP_SHARED = 0x1 - MAP_SIZEALIGN = 0x40000 - MAP_STACK = 0x400 - MAP_TRYFIXED = 0x10000 - MAP_VPAGETABLE = 0x2000 - MCL_CURRENT = 0x1 - MCL_FUTURE = 0x2 - MSG_CTRUNC = 0x20 - MSG_DONTROUTE = 0x4 - MSG_DONTWAIT = 0x80 - MSG_EOF = 0x100 - MSG_EOR = 0x8 - MSG_FBLOCKING = 0x10000 - MSG_FMASK = 0xffff0000 - MSG_FNONBLOCKING = 0x20000 - MSG_NOSIGNAL = 0x400 - MSG_NOTIFICATION = 0x200 - MSG_OOB = 0x1 - MSG_PEEK = 0x2 - MSG_SYNC = 0x800 - MSG_TRUNC = 0x10 - MSG_WAITALL = 0x40 - MS_ASYNC = 0x1 - MS_INVALIDATE = 0x2 - MS_SYNC = 0x0 - NAME_MAX = 0xff - NET_RT_DUMP = 0x1 - NET_RT_FLAGS = 0x2 - NET_RT_IFLIST = 0x3 - NET_RT_MAXID = 0x4 - NOFLSH = 0x80000000 - NOTE_ATTRIB = 0x8 - NOTE_CHILD = 0x4 - NOTE_DELETE = 0x1 - NOTE_EXEC = 0x20000000 - NOTE_EXIT = 0x80000000 - NOTE_EXTEND = 0x4 - NOTE_FORK = 0x40000000 - NOTE_LINK = 0x10 - NOTE_LOWAT = 0x1 - NOTE_OOB = 0x2 - NOTE_PCTRLMASK = 0xf0000000 - NOTE_PDATAMASK = 0xfffff - NOTE_RENAME = 0x20 - NOTE_REVOKE = 0x40 - NOTE_TRACK = 0x1 - NOTE_TRACKERR = 0x2 - NOTE_WRITE = 0x2 - OCRNL = 0x10 - ONLCR = 0x2 - ONLRET = 0x40 - ONOCR = 0x20 - ONOEOT = 0x8 - OPOST = 0x1 - O_ACCMODE = 0x3 - O_APPEND = 0x8 - O_ASYNC = 0x40 - O_CLOEXEC = 0x20000 - O_CREAT = 0x200 - O_DIRECT = 0x10000 - O_DIRECTORY = 0x8000000 - O_EXCL = 0x800 - O_EXLOCK = 0x20 - O_FAPPEND = 0x100000 - O_FASYNCWRITE = 0x800000 - O_FBLOCKING = 0x40000 - O_FBUFFERED = 0x2000000 - O_FMASK = 0x7fc0000 - O_FNONBLOCKING = 0x80000 - O_FOFFSET = 0x200000 - O_FSYNC = 0x80 - O_FSYNCWRITE = 0x400000 - O_FUNBUFFERED = 0x1000000 - O_MAPONREAD = 0x4000000 - O_NDELAY = 0x4 - O_NOCTTY = 0x8000 - O_NOFOLLOW = 0x100 - O_NONBLOCK = 0x4 - O_RDONLY = 0x0 - O_RDWR = 0x2 - O_SHLOCK = 0x10 - O_SYNC = 0x80 - O_TRUNC = 0x400 - O_WRONLY = 0x1 - PARENB = 0x1000 - PARMRK = 0x8 - PARODD = 0x2000 - PENDIN = 0x20000000 - PRIO_PGRP = 0x1 - PRIO_PROCESS = 0x0 - PRIO_USER = 0x2 - PROT_EXEC = 0x4 - PROT_NONE = 0x0 - PROT_READ = 0x1 - PROT_WRITE = 0x2 - RLIMIT_AS = 0xa - RLIMIT_CORE = 0x4 - RLIMIT_CPU = 0x0 - RLIMIT_DATA = 0x2 - RLIMIT_FSIZE = 0x1 - RLIMIT_NOFILE = 0x8 - RLIMIT_STACK = 0x3 - RLIM_INFINITY = 0x7fffffffffffffff - RTAX_AUTHOR = 0x6 - RTAX_BRD = 0x7 - RTAX_DST = 0x0 - RTAX_GATEWAY = 0x1 - RTAX_GENMASK = 0x3 - RTAX_IFA = 0x5 - RTAX_IFP = 0x4 - RTAX_MAX = 0xb - RTAX_MPLS1 = 0x8 - RTAX_MPLS2 = 0x9 - RTAX_MPLS3 = 0xa - RTAX_NETMASK = 0x2 - RTA_AUTHOR = 0x40 - RTA_BRD = 0x80 - RTA_DST = 0x1 - RTA_GATEWAY = 0x2 - RTA_GENMASK = 0x8 - RTA_IFA = 0x20 - RTA_IFP = 0x10 - RTA_MPLS1 = 0x100 - RTA_MPLS2 = 0x200 - RTA_MPLS3 = 0x400 - RTA_NETMASK = 0x4 - RTF_BLACKHOLE = 0x1000 - RTF_BROADCAST = 0x400000 - RTF_CLONING = 0x100 - RTF_DONE = 0x40 - RTF_DYNAMIC = 0x10 - RTF_GATEWAY = 0x2 - RTF_HOST = 0x4 - RTF_LLINFO = 0x400 - RTF_LOCAL = 0x200000 - RTF_MODIFIED = 0x20 - RTF_MPLSOPS = 0x1000000 - RTF_MULTICAST = 0x800000 - RTF_PINNED = 0x100000 - RTF_PRCLONING = 0x10000 - RTF_PROTO1 = 0x8000 - RTF_PROTO2 = 0x4000 - RTF_PROTO3 = 0x40000 - RTF_REJECT = 0x8 - RTF_STATIC = 0x800 - RTF_UP = 0x1 - RTF_WASCLONED = 0x20000 - RTF_XRESOLVE = 0x200 - RTM_ADD = 0x1 - RTM_CHANGE = 0x3 - RTM_DELADDR = 0xd - RTM_DELETE = 0x2 - RTM_DELMADDR = 0x10 - RTM_GET = 0x4 - RTM_IEEE80211 = 0x12 - RTM_IFANNOUNCE = 0x11 - RTM_IFINFO = 0xe - RTM_LOCK = 0x8 - RTM_LOSING = 0x5 - RTM_MISS = 0x7 - RTM_NEWADDR = 0xc - RTM_NEWMADDR = 0xf - RTM_OLDADD = 0x9 - RTM_OLDDEL = 0xa - RTM_REDIRECT = 0x6 - RTM_RESOLVE = 0xb - RTM_RTTUNIT = 0xf4240 - RTM_VERSION = 0x6 - RTV_EXPIRE = 0x4 - RTV_HOPCOUNT = 0x2 - RTV_IWCAPSEGS = 0x400 - RTV_IWMAXSEGS = 0x200 - RTV_MSL = 0x100 - RTV_MTU = 0x1 - RTV_RPIPE = 0x8 - RTV_RTT = 0x40 - RTV_RTTVAR = 0x80 - RTV_SPIPE = 0x10 - RTV_SSTHRESH = 0x20 - RUSAGE_CHILDREN = -0x1 - RUSAGE_SELF = 0x0 - SCM_CREDS = 0x3 - SCM_RIGHTS = 0x1 - SCM_TIMESTAMP = 0x2 - SHUT_RD = 0x0 - SHUT_RDWR = 0x2 - SHUT_WR = 0x1 - SIOCADDMULTI = 0x80206931 - SIOCADDRT = 0x8030720a - SIOCAIFADDR = 0x8040691a - SIOCALIFADDR = 0x8118691b - SIOCATMARK = 0x40047307 - SIOCDELMULTI = 0x80206932 - SIOCDELRT = 0x8030720b - SIOCDIFADDR = 0x80206919 - SIOCDIFPHYADDR = 0x80206949 - SIOCDLIFADDR = 0x8118691d - SIOCGDRVSPEC = 0xc01c697b - SIOCGETSGCNT = 0xc0147210 - SIOCGETVIFCNT = 0xc014720f - SIOCGHIWAT = 0x40047301 - SIOCGIFADDR = 0xc0206921 - SIOCGIFBRDADDR = 0xc0206923 - SIOCGIFCAP = 0xc020691f - SIOCGIFCONF = 0xc0086924 - SIOCGIFDATA = 0xc0206926 - SIOCGIFDSTADDR = 0xc0206922 - SIOCGIFFLAGS = 0xc0206911 - SIOCGIFGENERIC = 0xc020693a - SIOCGIFGMEMB = 0xc024698a - SIOCGIFINDEX = 0xc0206920 - SIOCGIFMEDIA = 0xc0286938 - SIOCGIFMETRIC = 0xc0206917 - SIOCGIFMTU = 0xc0206933 - SIOCGIFNETMASK = 0xc0206925 - SIOCGIFPDSTADDR = 0xc0206948 - SIOCGIFPHYS = 0xc0206935 - SIOCGIFPOLLCPU = 0xc020697e - SIOCGIFPSRCADDR = 0xc0206947 - SIOCGIFSTATUS = 0xc331693b - SIOCGIFTSOLEN = 0xc0206980 - SIOCGLIFADDR = 0xc118691c - SIOCGLIFPHYADDR = 0xc118694b - SIOCGLOWAT = 0x40047303 - SIOCGPGRP = 0x40047309 - SIOCGPRIVATE_0 = 0xc0206950 - SIOCGPRIVATE_1 = 0xc0206951 - SIOCIFCREATE = 0xc020697a - SIOCIFCREATE2 = 0xc020697c - SIOCIFDESTROY = 0x80206979 - SIOCIFGCLONERS = 0xc00c6978 - SIOCSDRVSPEC = 0x801c697b - SIOCSHIWAT = 0x80047300 - SIOCSIFADDR = 0x8020690c - SIOCSIFBRDADDR = 0x80206913 - SIOCSIFCAP = 0x8020691e - SIOCSIFDSTADDR = 0x8020690e - SIOCSIFFLAGS = 0x80206910 - SIOCSIFGENERIC = 0x80206939 - SIOCSIFLLADDR = 0x8020693c - SIOCSIFMEDIA = 0xc0206937 - SIOCSIFMETRIC = 0x80206918 - SIOCSIFMTU = 0x80206934 - SIOCSIFNAME = 0x80206928 - SIOCSIFNETMASK = 0x80206916 - SIOCSIFPHYADDR = 0x80406946 - SIOCSIFPHYS = 0x80206936 - SIOCSIFPOLLCPU = 0x8020697d - SIOCSIFTSOLEN = 0x8020697f - SIOCSLIFPHYADDR = 0x8118694a - SIOCSLOWAT = 0x80047302 - SIOCSPGRP = 0x80047308 - SOCK_DGRAM = 0x2 - SOCK_MAXADDRLEN = 0xff - SOCK_RAW = 0x3 - SOCK_RDM = 0x4 - SOCK_SEQPACKET = 0x5 - SOCK_STREAM = 0x1 - SOL_SOCKET = 0xffff - SOMAXCONN = 0x80 - SO_ACCEPTCONN = 0x2 - SO_ACCEPTFILTER = 0x1000 - SO_BROADCAST = 0x20 - SO_DEBUG = 0x1 - SO_DONTROUTE = 0x10 - SO_ERROR = 0x1007 - SO_KEEPALIVE = 0x8 - SO_LINGER = 0x80 - SO_NOSIGPIPE = 0x800 - SO_OOBINLINE = 0x100 - SO_RCVBUF = 0x1002 - SO_RCVLOWAT = 0x1004 - SO_RCVTIMEO = 0x1006 - SO_REUSEADDR = 0x4 - SO_REUSEPORT = 0x200 - SO_SNDBUF = 0x1001 - SO_SNDLOWAT = 0x1003 - SO_SNDSPACE = 0x100a - SO_SNDTIMEO = 0x1005 - SO_TIMESTAMP = 0x400 - SO_TYPE = 0x1008 - SO_USELOOPBACK = 0x40 - TCIFLUSH = 0x1 - TCIOFLUSH = 0x3 - TCOFLUSH = 0x2 - TCP_FASTKEEP = 0x80 - TCP_KEEPCNT = 0x400 - TCP_KEEPIDLE = 0x100 - TCP_KEEPINIT = 0x20 - TCP_KEEPINTVL = 0x200 - TCP_MAXBURST = 0x4 - TCP_MAXHLEN = 0x3c - TCP_MAXOLEN = 0x28 - TCP_MAXSEG = 0x2 - TCP_MAXWIN = 0xffff - TCP_MAX_WINSHIFT = 0xe - TCP_MINMSS = 0x100 - TCP_MIN_WINSHIFT = 0x5 - TCP_MSS = 0x200 - TCP_NODELAY = 0x1 - TCP_NOOPT = 0x8 - TCP_NOPUSH = 0x4 - TCP_SIGNATURE_ENABLE = 0x10 - TCSAFLUSH = 0x2 - TIOCCBRK = 0x2000747a - TIOCCDTR = 0x20007478 - TIOCCONS = 0x80047462 - TIOCDCDTIMESTAMP = 0x40087458 - TIOCDRAIN = 0x2000745e - TIOCEXCL = 0x2000740d - TIOCEXT = 0x80047460 - TIOCFLUSH = 0x80047410 - TIOCGDRAINWAIT = 0x40047456 - TIOCGETA = 0x402c7413 - TIOCGETD = 0x4004741a - TIOCGPGRP = 0x40047477 - TIOCGSID = 0x40047463 - TIOCGSIZE = 0x40087468 - TIOCGWINSZ = 0x40087468 - TIOCISPTMASTER = 0x20007455 - TIOCMBIC = 0x8004746b - TIOCMBIS = 0x8004746c - TIOCMGDTRWAIT = 0x4004745a - TIOCMGET = 0x4004746a - TIOCMODG = 0x40047403 - TIOCMODS = 0x80047404 - TIOCMSDTRWAIT = 0x8004745b - TIOCMSET = 0x8004746d - TIOCM_CAR = 0x40 - TIOCM_CD = 0x40 - TIOCM_CTS = 0x20 - TIOCM_DSR = 0x100 - TIOCM_DTR = 0x2 - TIOCM_LE = 0x1 - TIOCM_RI = 0x80 - TIOCM_RNG = 0x80 - TIOCM_RTS = 0x4 - TIOCM_SR = 0x10 - TIOCM_ST = 0x8 - TIOCNOTTY = 0x20007471 - TIOCNXCL = 0x2000740e - TIOCOUTQ = 0x40047473 - TIOCPKT = 0x80047470 - TIOCPKT_DATA = 0x0 - TIOCPKT_DOSTOP = 0x20 - TIOCPKT_FLUSHREAD = 0x1 - TIOCPKT_FLUSHWRITE = 0x2 - TIOCPKT_IOCTL = 0x40 - TIOCPKT_NOSTOP = 0x10 - TIOCPKT_START = 0x8 - TIOCPKT_STOP = 0x4 - TIOCREMOTE = 0x80047469 - TIOCSBRK = 0x2000747b - TIOCSCTTY = 0x20007461 - TIOCSDRAINWAIT = 0x80047457 - TIOCSDTR = 0x20007479 - TIOCSETA = 0x802c7414 - TIOCSETAF = 0x802c7416 - TIOCSETAW = 0x802c7415 - TIOCSETD = 0x8004741b - TIOCSIG = 0x2000745f - TIOCSPGRP = 0x80047476 - TIOCSSIZE = 0x80087467 - TIOCSTART = 0x2000746e - TIOCSTAT = 0x20007465 - TIOCSTI = 0x80017472 - TIOCSTOP = 0x2000746f - TIOCSWINSZ = 0x80087467 - TIOCTIMESTAMP = 0x40087459 - TIOCUCNTL = 0x80047466 - TOSTOP = 0x400000 - VCHECKPT = 0x13 - VDISCARD = 0xf - VDSUSP = 0xb - VEOF = 0x0 - VEOL = 0x1 - VEOL2 = 0x2 - VERASE = 0x3 - VERASE2 = 0x7 - VINTR = 0x8 - VKILL = 0x5 - VLNEXT = 0xe - VMIN = 0x10 - VQUIT = 0x9 - VREPRINT = 0x6 - VSTART = 0xc - VSTATUS = 0x12 - VSTOP = 0xd - VSUSP = 0xa - VTIME = 0x11 - VWERASE = 0x4 - WCONTINUED = 0x4 - WCOREFLAG = 0x80 - WLINUXCLONE = 0x80000000 - WNOHANG = 0x1 - WSTOPPED = 0x7f - WUNTRACED = 0x2 -) - -// Errors -const ( - E2BIG = syscall.Errno(0x7) - EACCES = syscall.Errno(0xd) - EADDRINUSE = syscall.Errno(0x30) - EADDRNOTAVAIL = syscall.Errno(0x31) - EAFNOSUPPORT = syscall.Errno(0x2f) - EAGAIN = syscall.Errno(0x23) - EALREADY = syscall.Errno(0x25) - EASYNC = syscall.Errno(0x63) - EAUTH = syscall.Errno(0x50) - EBADF = syscall.Errno(0x9) - EBADMSG = syscall.Errno(0x59) - EBADRPC = syscall.Errno(0x48) - EBUSY = syscall.Errno(0x10) - ECANCELED = syscall.Errno(0x55) - ECHILD = syscall.Errno(0xa) - ECONNABORTED = syscall.Errno(0x35) - ECONNREFUSED = syscall.Errno(0x3d) - ECONNRESET = syscall.Errno(0x36) - EDEADLK = syscall.Errno(0xb) - EDESTADDRREQ = syscall.Errno(0x27) - EDOM = syscall.Errno(0x21) - EDOOFUS = syscall.Errno(0x58) - EDQUOT = syscall.Errno(0x45) - EEXIST = syscall.Errno(0x11) - EFAULT = syscall.Errno(0xe) - EFBIG = syscall.Errno(0x1b) - EFTYPE = syscall.Errno(0x4f) - EHOSTDOWN = syscall.Errno(0x40) - EHOSTUNREACH = syscall.Errno(0x41) - EIDRM = syscall.Errno(0x52) - EILSEQ = syscall.Errno(0x56) - EINPROGRESS = syscall.Errno(0x24) - EINTR = syscall.Errno(0x4) - EINVAL = syscall.Errno(0x16) - EIO = syscall.Errno(0x5) - EISCONN = syscall.Errno(0x38) - EISDIR = syscall.Errno(0x15) - ELAST = syscall.Errno(0x63) - ELOOP = syscall.Errno(0x3e) - EMFILE = syscall.Errno(0x18) - EMLINK = syscall.Errno(0x1f) - EMSGSIZE = syscall.Errno(0x28) - EMULTIHOP = syscall.Errno(0x5a) - ENAMETOOLONG = syscall.Errno(0x3f) - ENEEDAUTH = syscall.Errno(0x51) - ENETDOWN = syscall.Errno(0x32) - ENETRESET = syscall.Errno(0x34) - ENETUNREACH = syscall.Errno(0x33) - ENFILE = syscall.Errno(0x17) - ENOATTR = syscall.Errno(0x57) - ENOBUFS = syscall.Errno(0x37) - ENODEV = syscall.Errno(0x13) - ENOENT = syscall.Errno(0x2) - ENOEXEC = syscall.Errno(0x8) - ENOLCK = syscall.Errno(0x4d) - ENOLINK = syscall.Errno(0x5b) - ENOMEDIUM = syscall.Errno(0x5d) - ENOMEM = syscall.Errno(0xc) - ENOMSG = syscall.Errno(0x53) - ENOPROTOOPT = syscall.Errno(0x2a) - ENOSPC = syscall.Errno(0x1c) - ENOSYS = syscall.Errno(0x4e) - ENOTBLK = syscall.Errno(0xf) - ENOTCONN = syscall.Errno(0x39) - ENOTDIR = syscall.Errno(0x14) - ENOTEMPTY = syscall.Errno(0x42) - ENOTSOCK = syscall.Errno(0x26) - ENOTSUP = syscall.Errno(0x2d) - ENOTTY = syscall.Errno(0x19) - ENXIO = syscall.Errno(0x6) - EOPNOTSUPP = syscall.Errno(0x2d) - EOVERFLOW = syscall.Errno(0x54) - EPERM = syscall.Errno(0x1) - EPFNOSUPPORT = syscall.Errno(0x2e) - EPIPE = syscall.Errno(0x20) - EPROCLIM = syscall.Errno(0x43) - EPROCUNAVAIL = syscall.Errno(0x4c) - EPROGMISMATCH = syscall.Errno(0x4b) - EPROGUNAVAIL = syscall.Errno(0x4a) - EPROTO = syscall.Errno(0x5c) - EPROTONOSUPPORT = syscall.Errno(0x2b) - EPROTOTYPE = syscall.Errno(0x29) - ERANGE = syscall.Errno(0x22) - EREMOTE = syscall.Errno(0x47) - EROFS = syscall.Errno(0x1e) - ERPCMISMATCH = syscall.Errno(0x49) - ESHUTDOWN = syscall.Errno(0x3a) - ESOCKTNOSUPPORT = syscall.Errno(0x2c) - ESPIPE = syscall.Errno(0x1d) - ESRCH = syscall.Errno(0x3) - ESTALE = syscall.Errno(0x46) - ETIMEDOUT = syscall.Errno(0x3c) - ETOOMANYREFS = syscall.Errno(0x3b) - ETXTBSY = syscall.Errno(0x1a) - EUNUSED94 = syscall.Errno(0x5e) - EUNUSED95 = syscall.Errno(0x5f) - EUNUSED96 = syscall.Errno(0x60) - EUNUSED97 = syscall.Errno(0x61) - EUNUSED98 = syscall.Errno(0x62) - EUSERS = syscall.Errno(0x44) - EWOULDBLOCK = syscall.Errno(0x23) - EXDEV = syscall.Errno(0x12) -) - -// Signals -const ( - SIGABRT = syscall.Signal(0x6) - SIGALRM = syscall.Signal(0xe) - SIGBUS = syscall.Signal(0xa) - SIGCHLD = syscall.Signal(0x14) - SIGCKPT = syscall.Signal(0x21) - SIGCKPTEXIT = syscall.Signal(0x22) - SIGCONT = syscall.Signal(0x13) - SIGEMT = syscall.Signal(0x7) - SIGFPE = syscall.Signal(0x8) - SIGHUP = syscall.Signal(0x1) - SIGILL = syscall.Signal(0x4) - SIGINFO = syscall.Signal(0x1d) - SIGINT = syscall.Signal(0x2) - SIGIO = syscall.Signal(0x17) - SIGIOT = syscall.Signal(0x6) - SIGKILL = syscall.Signal(0x9) - SIGPIPE = syscall.Signal(0xd) - SIGPROF = syscall.Signal(0x1b) - SIGQUIT = syscall.Signal(0x3) - SIGSEGV = syscall.Signal(0xb) - SIGSTOP = syscall.Signal(0x11) - SIGSYS = syscall.Signal(0xc) - SIGTERM = syscall.Signal(0xf) - SIGTHR = syscall.Signal(0x20) - SIGTRAP = syscall.Signal(0x5) - SIGTSTP = syscall.Signal(0x12) - SIGTTIN = syscall.Signal(0x15) - SIGTTOU = syscall.Signal(0x16) - SIGURG = syscall.Signal(0x10) - SIGUSR1 = syscall.Signal(0x1e) - SIGUSR2 = syscall.Signal(0x1f) - SIGVTALRM = syscall.Signal(0x1a) - SIGWINCH = syscall.Signal(0x1c) - SIGXCPU = syscall.Signal(0x18) - SIGXFSZ = syscall.Signal(0x19) -) - -// Error table -var errors = [...]string{ - 1: "operation not permitted", - 2: "no such file or directory", - 3: "no such process", - 4: "interrupted system call", - 5: "input/output error", - 6: "device not configured", - 7: "argument list too long", - 8: "exec format error", - 9: "bad file descriptor", - 10: "no child processes", - 11: "resource deadlock avoided", - 12: "cannot allocate memory", - 13: "permission denied", - 14: "bad address", - 15: "block device required", - 16: "device busy", - 17: "file exists", - 18: "cross-device link", - 19: "operation not supported by device", - 20: "not a directory", - 21: "is a directory", - 22: "invalid argument", - 23: "too many open files in system", - 24: "too many open files", - 25: "inappropriate ioctl for device", - 26: "text file busy", - 27: "file too large", - 28: "no space left on device", - 29: "illegal seek", - 30: "read-only file system", - 31: "too many links", - 32: "broken pipe", - 33: "numerical argument out of domain", - 34: "result too large", - 35: "resource temporarily unavailable", - 36: "operation now in progress", - 37: "operation already in progress", - 38: "socket operation on non-socket", - 39: "destination address required", - 40: "message too long", - 41: "protocol wrong type for socket", - 42: "protocol not available", - 43: "protocol not supported", - 44: "socket type not supported", - 45: "operation not supported", - 46: "protocol family not supported", - 47: "address family not supported by protocol family", - 48: "address already in use", - 49: "can't assign requested address", - 50: "network is down", - 51: "network is unreachable", - 52: "network dropped connection on reset", - 53: "software caused connection abort", - 54: "connection reset by peer", - 55: "no buffer space available", - 56: "socket is already connected", - 57: "socket is not connected", - 58: "can't send after socket shutdown", - 59: "too many references: can't splice", - 60: "operation timed out", - 61: "connection refused", - 62: "too many levels of symbolic links", - 63: "file name too long", - 64: "host is down", - 65: "no route to host", - 66: "directory not empty", - 67: "too many processes", - 68: "too many users", - 69: "disc quota exceeded", - 70: "stale NFS file handle", - 71: "too many levels of remote in path", - 72: "RPC struct is bad", - 73: "RPC version wrong", - 74: "RPC prog. not avail", - 75: "program version wrong", - 76: "bad procedure for program", - 77: "no locks available", - 78: "function not implemented", - 79: "inappropriate file type or format", - 80: "authentication error", - 81: "need authenticator", - 82: "identifier removed", - 83: "no message of desired type", - 84: "value too large to be stored in data type", - 85: "operation canceled", - 86: "illegal byte sequence", - 87: "attribute not found", - 88: "programming error", - 89: "bad message", - 90: "multihop attempted", - 91: "link has been severed", - 92: "protocol error", - 93: "no medium found", - 94: "unknown error: 94", - 95: "unknown error: 95", - 96: "unknown error: 96", - 97: "unknown error: 97", - 98: "unknown error: 98", - 99: "unknown error: 99", -} - -// Signal table -var signals = [...]string{ - 1: "hangup", - 2: "interrupt", - 3: "quit", - 4: "illegal instruction", - 5: "trace/BPT trap", - 6: "abort trap", - 7: "EMT trap", - 8: "floating point exception", - 9: "killed", - 10: "bus error", - 11: "segmentation fault", - 12: "bad system call", - 13: "broken pipe", - 14: "alarm clock", - 15: "terminated", - 16: "urgent I/O condition", - 17: "suspended (signal)", - 18: "suspended", - 19: "continued", - 20: "child exited", - 21: "stopped (tty input)", - 22: "stopped (tty output)", - 23: "I/O possible", - 24: "cputime limit exceeded", - 25: "filesize limit exceeded", - 26: "virtual timer expired", - 27: "profiling timer expired", - 28: "window size changes", - 29: "information request", - 30: "user defined signal 1", - 31: "user defined signal 2", - 32: "thread Scheduler", - 33: "checkPoint", - 34: "checkPointExit", -} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_386.go b/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_386.go deleted file mode 100644 index 785240a75b7..00000000000 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_386.go +++ /dev/null @@ -1,304 +0,0 @@ -// mksysnum_dragonfly.pl -// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT - -// +build 386,dragonfly - -package unix - -const ( - // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int - SYS_EXIT = 1 // { void exit(int rval); } - SYS_FORK = 2 // { int fork(void); } - SYS_READ = 3 // { ssize_t read(int fd, void *buf, size_t nbyte); } - SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, size_t nbyte); } - SYS_OPEN = 5 // { int open(char *path, int flags, int mode); } - SYS_CLOSE = 6 // { int close(int fd); } - SYS_WAIT4 = 7 // { int wait4(int pid, int *status, int options, \ - SYS_LINK = 9 // { int link(char *path, char *link); } - SYS_UNLINK = 10 // { int unlink(char *path); } - SYS_CHDIR = 12 // { int chdir(char *path); } - SYS_FCHDIR = 13 // { int fchdir(int fd); } - SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); } - SYS_CHMOD = 15 // { int chmod(char *path, int mode); } - SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); } - SYS_OBREAK = 17 // { int obreak(char *nsize); } break obreak_args int - SYS_GETFSSTAT = 18 // { int getfsstat(struct statfs *buf, long bufsize, \ - SYS_GETPID = 20 // { pid_t getpid(void); } - SYS_MOUNT = 21 // { int mount(char *type, char *path, int flags, \ - SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); } - SYS_SETUID = 23 // { int setuid(uid_t uid); } - SYS_GETUID = 24 // { uid_t getuid(void); } - SYS_GETEUID = 25 // { uid_t geteuid(void); } - SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, \ - SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int flags); } - SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); } - SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, size_t len, \ - SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, int *anamelen); } - SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, int *alen); } - SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, int *alen); } - SYS_ACCESS = 33 // { int access(char *path, int flags); } - SYS_CHFLAGS = 34 // { int chflags(char *path, int flags); } - SYS_FCHFLAGS = 35 // { int fchflags(int fd, int flags); } - SYS_SYNC = 36 // { int sync(void); } - SYS_KILL = 37 // { int kill(int pid, int signum); } - SYS_GETPPID = 39 // { pid_t getppid(void); } - SYS_DUP = 41 // { int dup(u_int fd); } - SYS_PIPE = 42 // { int pipe(void); } - SYS_GETEGID = 43 // { gid_t getegid(void); } - SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \ - SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, int facs, \ - SYS_GETGID = 47 // { gid_t getgid(void); } - SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); } - SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); } - SYS_ACCT = 51 // { int acct(char *path); } - SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, stack_t *oss); } - SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); } - SYS_REBOOT = 55 // { int reboot(int opt); } - SYS_REVOKE = 56 // { int revoke(char *path); } - SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } - SYS_READLINK = 58 // { int readlink(char *path, char *buf, int count); } - SYS_EXECVE = 59 // { int execve(char *fname, char **argv, char **envv); } - SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args int - SYS_CHROOT = 61 // { int chroot(char *path); } - SYS_MSYNC = 65 // { int msync(void *addr, size_t len, int flags); } - SYS_VFORK = 66 // { pid_t vfork(void); } - SYS_SBRK = 69 // { int sbrk(int incr); } - SYS_SSTK = 70 // { int sstk(int incr); } - SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); } - SYS_MPROTECT = 74 // { int mprotect(void *addr, size_t len, int prot); } - SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, int behav); } - SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \ - SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset); } - SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset); } - SYS_GETPGRP = 81 // { int getpgrp(void); } - SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); } - SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv, \ - SYS_SWAPON = 85 // { int swapon(char *name); } - SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv); } - SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); } - SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); } - SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); } - SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \ - SYS_FSYNC = 95 // { int fsync(int fd); } - SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, int prio); } - SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol); } - SYS_CONNECT = 98 // { int connect(int s, caddr_t name, int namelen); } - SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); } - SYS_BIND = 104 // { int bind(int s, caddr_t name, int namelen); } - SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \ - SYS_LISTEN = 106 // { int listen(int s, int backlog); } - SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \ - SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage); } - SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \ - SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, u_int iovcnt); } - SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \ - SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \ - SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); } - SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); } - SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); } - SYS_SETREGID = 127 // { int setregid(int rgid, int egid); } - SYS_RENAME = 128 // { int rename(char *from, char *to); } - SYS_FLOCK = 131 // { int flock(int fd, int how); } - SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); } - SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \ - SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); } - SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int protocol, \ - SYS_MKDIR = 136 // { int mkdir(char *path, int mode); } - SYS_RMDIR = 137 // { int rmdir(char *path); } - SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); } - SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \ - SYS_SETSID = 147 // { int setsid(void); } - SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \ - SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); } - SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); } - SYS_GETFH = 161 // { int getfh(char *fname, struct fhandle *fhp); } - SYS_GETDOMAINNAME = 162 // { int getdomainname(char *domainname, int len); } - SYS_SETDOMAINNAME = 163 // { int setdomainname(char *domainname, int len); } - SYS_UNAME = 164 // { int uname(struct utsname *name); } - SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); } - SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \ - SYS_EXTPREAD = 173 // { ssize_t extpread(int fd, void *buf, \ - SYS_EXTPWRITE = 174 // { ssize_t extpwrite(int fd, const void *buf, \ - SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); } - SYS_SETGID = 181 // { int setgid(gid_t gid); } - SYS_SETEGID = 182 // { int setegid(gid_t egid); } - SYS_SETEUID = 183 // { int seteuid(uid_t euid); } - SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } - SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } - SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \ - SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \ - SYS_MMAP = 197 // { caddr_t mmap(caddr_t addr, size_t len, int prot, \ - // SYS_NOSYS = 198; // { int nosys(void); } __syscall __syscall_args int - SYS_LSEEK = 199 // { off_t lseek(int fd, int pad, off_t offset, \ - SYS_TRUNCATE = 200 // { int truncate(char *path, int pad, off_t length); } - SYS_FTRUNCATE = 201 // { int ftruncate(int fd, int pad, off_t length); } - SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *old, \ - SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); } - SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); } - SYS_UNDELETE = 205 // { int undelete(char *path); } - SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); } - SYS_GETPGID = 207 // { int getpgid(pid_t pid); } - SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \ - SYS___SEMCTL = 220 // { int __semctl(int semid, int semnum, int cmd, \ - SYS_SEMGET = 221 // { int semget(key_t key, int nsems, int semflg); } - SYS_SEMOP = 222 // { int semop(int semid, struct sembuf *sops, \ - SYS_MSGCTL = 224 // { int msgctl(int msqid, int cmd, \ - SYS_MSGGET = 225 // { int msgget(key_t key, int msgflg); } - SYS_MSGSND = 226 // { int msgsnd(int msqid, void *msgp, size_t msgsz, \ - SYS_MSGRCV = 227 // { int msgrcv(int msqid, void *msgp, size_t msgsz, \ - SYS_SHMAT = 228 // { caddr_t shmat(int shmid, const void *shmaddr, \ - SYS_SHMCTL = 229 // { int shmctl(int shmid, int cmd, \ - SYS_SHMDT = 230 // { int shmdt(const void *shmaddr); } - SYS_SHMGET = 231 // { int shmget(key_t key, size_t size, int shmflg); } - SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \ - SYS_CLOCK_SETTIME = 233 // { int clock_settime(clockid_t clock_id, \ - SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \ - SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \ - SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit); } - SYS_RFORK = 251 // { int rfork(int flags); } - SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, u_int nfds, \ - SYS_ISSETUGID = 253 // { int issetugid(void); } - SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); } - SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); } - SYS_LUTIMES = 276 // { int lutimes(char *path, struct timeval *tptr); } - SYS_EXTPREADV = 289 // { ssize_t extpreadv(int fd, struct iovec *iovp, \ - SYS_EXTPWRITEV = 290 // { ssize_t extpwritev(int fd, struct iovec *iovp,\ - SYS_FHSTATFS = 297 // { int fhstatfs(const struct fhandle *u_fhp, struct statfs *buf); } - SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, int flags); } - SYS_MODNEXT = 300 // { int modnext(int modid); } - SYS_MODSTAT = 301 // { int modstat(int modid, struct module_stat* stat); } - SYS_MODFNEXT = 302 // { int modfnext(int modid); } - SYS_MODFIND = 303 // { int modfind(const char *name); } - SYS_KLDLOAD = 304 // { int kldload(const char *file); } - SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); } - SYS_KLDFIND = 306 // { int kldfind(const char *file); } - SYS_KLDNEXT = 307 // { int kldnext(int fileid); } - SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct kld_file_stat* stat); } - SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); } - SYS_GETSID = 310 // { int getsid(pid_t pid); } - SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, uid_t suid); } - SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, gid_t sgid); } - SYS_AIO_RETURN = 314 // { int aio_return(struct aiocb *aiocbp); } - SYS_AIO_SUSPEND = 315 // { int aio_suspend(struct aiocb * const * aiocbp, int nent, const struct timespec *timeout); } - SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, struct aiocb *aiocbp); } - SYS_AIO_ERROR = 317 // { int aio_error(struct aiocb *aiocbp); } - SYS_AIO_READ = 318 // { int aio_read(struct aiocb *aiocbp); } - SYS_AIO_WRITE = 319 // { int aio_write(struct aiocb *aiocbp); } - SYS_LIO_LISTIO = 320 // { int lio_listio(int mode, struct aiocb * const *acb_list, int nent, struct sigevent *sig); } - SYS_YIELD = 321 // { int yield(void); } - SYS_MLOCKALL = 324 // { int mlockall(int how); } - SYS_MUNLOCKALL = 325 // { int munlockall(void); } - SYS___GETCWD = 326 // { int __getcwd(u_char *buf, u_int buflen); } - SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, const struct sched_param *param); } - SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct sched_param *param); } - SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); } - SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); } - SYS_SCHED_YIELD = 331 // { int sched_yield (void); } - SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); } - SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); } - SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, struct timespec *interval); } - SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); } - SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, void *data); } - SYS_JAIL = 338 // { int jail(struct jail *jail); } - SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, const sigset_t *set, \ - SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); } - SYS_SIGACTION = 342 // { int sigaction(int sig, const struct sigaction *act, \ - SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); } - SYS_SIGRETURN = 344 // { int sigreturn(ucontext_t *sigcntxp); } - SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set,\ - SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set,\ - SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \ - SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \ - SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, acl_type_t type, \ - SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, acl_type_t type, \ - SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \ - SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, acl_type_t type); } - SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \ - SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, acl_type_t type, \ - SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \ - SYS_EXTATTR_SET_FILE = 356 // { int extattr_set_file(const char *path, \ - SYS_EXTATTR_GET_FILE = 357 // { int extattr_get_file(const char *path, \ - SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \ - SYS_AIO_WAITCOMPLETE = 359 // { int aio_waitcomplete(struct aiocb **aiocbp, struct timespec *timeout); } - SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid); } - SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, gid_t *sgid); } - SYS_KQUEUE = 362 // { int kqueue(void); } - SYS_KEVENT = 363 // { int kevent(int fd, \ - SYS_SCTP_PEELOFF = 364 // { int sctp_peeloff(int sd, caddr_t name ); } - SYS_LCHFLAGS = 391 // { int lchflags(char *path, int flags); } - SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, int count); } - SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, size_t nbytes, \ - SYS_VARSYM_SET = 450 // { int varsym_set(int level, const char *name, const char *data); } - SYS_VARSYM_GET = 451 // { int varsym_get(int mask, const char *wild, char *buf, int bufsize); } - SYS_VARSYM_LIST = 452 // { int varsym_list(int level, char *buf, int maxsize, int *marker); } - SYS_EXEC_SYS_REGISTER = 465 // { int exec_sys_register(void *entry); } - SYS_EXEC_SYS_UNREGISTER = 466 // { int exec_sys_unregister(int id); } - SYS_SYS_CHECKPOINT = 467 // { int sys_checkpoint(int type, int fd, pid_t pid, int retval); } - SYS_MOUNTCTL = 468 // { int mountctl(const char *path, int op, int fd, const void *ctl, int ctllen, void *buf, int buflen); } - SYS_UMTX_SLEEP = 469 // { int umtx_sleep(volatile const int *ptr, int value, int timeout); } - SYS_UMTX_WAKEUP = 470 // { int umtx_wakeup(volatile const int *ptr, int count); } - SYS_JAIL_ATTACH = 471 // { int jail_attach(int jid); } - SYS_SET_TLS_AREA = 472 // { int set_tls_area(int which, struct tls_info *info, size_t infosize); } - SYS_GET_TLS_AREA = 473 // { int get_tls_area(int which, struct tls_info *info, size_t infosize); } - SYS_CLOSEFROM = 474 // { int closefrom(int fd); } - SYS_STAT = 475 // { int stat(const char *path, struct stat *ub); } - SYS_FSTAT = 476 // { int fstat(int fd, struct stat *sb); } - SYS_LSTAT = 477 // { int lstat(const char *path, struct stat *ub); } - SYS_FHSTAT = 478 // { int fhstat(const struct fhandle *u_fhp, struct stat *sb); } - SYS_GETDIRENTRIES = 479 // { int getdirentries(int fd, char *buf, u_int count, \ - SYS_GETDENTS = 480 // { int getdents(int fd, char *buf, size_t count); } - SYS_USCHED_SET = 481 // { int usched_set(pid_t pid, int cmd, void *data, \ - SYS_EXTACCEPT = 482 // { int extaccept(int s, int flags, caddr_t name, int *anamelen); } - SYS_EXTCONNECT = 483 // { int extconnect(int s, int flags, caddr_t name, int namelen); } - SYS_MCONTROL = 485 // { int mcontrol(void *addr, size_t len, int behav, off_t value); } - SYS_VMSPACE_CREATE = 486 // { int vmspace_create(void *id, int type, void *data); } - SYS_VMSPACE_DESTROY = 487 // { int vmspace_destroy(void *id); } - SYS_VMSPACE_CTL = 488 // { int vmspace_ctl(void *id, int cmd, \ - SYS_VMSPACE_MMAP = 489 // { int vmspace_mmap(void *id, void *addr, size_t len, \ - SYS_VMSPACE_MUNMAP = 490 // { int vmspace_munmap(void *id, void *addr, \ - SYS_VMSPACE_MCONTROL = 491 // { int vmspace_mcontrol(void *id, void *addr, \ - SYS_VMSPACE_PREAD = 492 // { ssize_t vmspace_pread(void *id, void *buf, \ - SYS_VMSPACE_PWRITE = 493 // { ssize_t vmspace_pwrite(void *id, const void *buf, \ - SYS_EXTEXIT = 494 // { void extexit(int how, int status, void *addr); } - SYS_LWP_CREATE = 495 // { int lwp_create(struct lwp_params *params); } - SYS_LWP_GETTID = 496 // { lwpid_t lwp_gettid(void); } - SYS_LWP_KILL = 497 // { int lwp_kill(pid_t pid, lwpid_t tid, int signum); } - SYS_LWP_RTPRIO = 498 // { int lwp_rtprio(int function, pid_t pid, lwpid_t tid, struct rtprio *rtp); } - SYS_PSELECT = 499 // { int pselect(int nd, fd_set *in, fd_set *ou, \ - SYS_STATVFS = 500 // { int statvfs(const char *path, struct statvfs *buf); } - SYS_FSTATVFS = 501 // { int fstatvfs(int fd, struct statvfs *buf); } - SYS_FHSTATVFS = 502 // { int fhstatvfs(const struct fhandle *u_fhp, struct statvfs *buf); } - SYS_GETVFSSTAT = 503 // { int getvfsstat(struct statfs *buf, \ - SYS_OPENAT = 504 // { int openat(int fd, char *path, int flags, int mode); } - SYS_FSTATAT = 505 // { int fstatat(int fd, char *path, \ - SYS_FCHMODAT = 506 // { int fchmodat(int fd, char *path, int mode, \ - SYS_FCHOWNAT = 507 // { int fchownat(int fd, char *path, int uid, int gid, \ - SYS_UNLINKAT = 508 // { int unlinkat(int fd, char *path, int flags); } - SYS_FACCESSAT = 509 // { int faccessat(int fd, char *path, int amode, \ - SYS_MQ_OPEN = 510 // { mqd_t mq_open(const char * name, int oflag, \ - SYS_MQ_CLOSE = 511 // { int mq_close(mqd_t mqdes); } - SYS_MQ_UNLINK = 512 // { int mq_unlink(const char *name); } - SYS_MQ_GETATTR = 513 // { int mq_getattr(mqd_t mqdes, \ - SYS_MQ_SETATTR = 514 // { int mq_setattr(mqd_t mqdes, \ - SYS_MQ_NOTIFY = 515 // { int mq_notify(mqd_t mqdes, \ - SYS_MQ_SEND = 516 // { int mq_send(mqd_t mqdes, const char *msg_ptr, \ - SYS_MQ_RECEIVE = 517 // { ssize_t mq_receive(mqd_t mqdes, char *msg_ptr, \ - SYS_MQ_TIMEDSEND = 518 // { int mq_timedsend(mqd_t mqdes, \ - SYS_MQ_TIMEDRECEIVE = 519 // { ssize_t mq_timedreceive(mqd_t mqdes, \ - SYS_IOPRIO_SET = 520 // { int ioprio_set(int which, int who, int prio); } - SYS_IOPRIO_GET = 521 // { int ioprio_get(int which, int who); } - SYS_CHROOT_KERNEL = 522 // { int chroot_kernel(char *path); } - SYS_RENAMEAT = 523 // { int renameat(int oldfd, char *old, int newfd, \ - SYS_MKDIRAT = 524 // { int mkdirat(int fd, char *path, mode_t mode); } - SYS_MKFIFOAT = 525 // { int mkfifoat(int fd, char *path, mode_t mode); } - SYS_MKNODAT = 526 // { int mknodat(int fd, char *path, mode_t mode, \ - SYS_READLINKAT = 527 // { int readlinkat(int fd, char *path, char *buf, \ - SYS_SYMLINKAT = 528 // { int symlinkat(char *path1, int fd, char *path2); } - SYS_SWAPOFF = 529 // { int swapoff(char *name); } - SYS_VQUOTACTL = 530 // { int vquotactl(const char *path, \ - SYS_LINKAT = 531 // { int linkat(int fd1, char *path1, int fd2, \ - SYS_EACCESS = 532 // { int eaccess(char *path, int flags); } - SYS_LPATHCONF = 533 // { int lpathconf(char *path, int name); } - SYS_VMM_GUEST_CTL = 534 // { int vmm_guest_ctl(int op, struct vmm_guest_options *options); } - SYS_VMM_GUEST_SYNC_ADDR = 535 // { int vmm_guest_sync_addr(long *dstaddr, long *srcaddr); } -) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_386.go b/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_386.go deleted file mode 100644 index b7e7ff08865..00000000000 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_386.go +++ /dev/null @@ -1,437 +0,0 @@ -// Created by cgo -godefs - DO NOT EDIT -// cgo -godefs types_dragonfly.go - -// +build 386,dragonfly - -package unix - -const ( - sizeofPtr = 0x4 - sizeofShort = 0x2 - sizeofInt = 0x4 - sizeofLong = 0x4 - sizeofLongLong = 0x8 -) - -type ( - _C_short int16 - _C_int int32 - _C_long int32 - _C_long_long int64 -) - -type Timespec struct { - Sec int32 - Nsec int32 -} - -type Timeval struct { - Sec int32 - Usec int32 -} - -type Rusage struct { - Utime Timeval - Stime Timeval - Maxrss int32 - Ixrss int32 - Idrss int32 - Isrss int32 - Minflt int32 - Majflt int32 - Nswap int32 - Inblock int32 - Oublock int32 - Msgsnd int32 - Msgrcv int32 - Nsignals int32 - Nvcsw int32 - Nivcsw int32 -} - -type Rlimit struct { - Cur int64 - Max int64 -} - -type _Gid_t uint32 - -const ( - S_IFMT = 0xf000 - S_IFIFO = 0x1000 - S_IFCHR = 0x2000 - S_IFDIR = 0x4000 - S_IFBLK = 0x6000 - S_IFREG = 0x8000 - S_IFLNK = 0xa000 - S_IFSOCK = 0xc000 - S_ISUID = 0x800 - S_ISGID = 0x400 - S_ISVTX = 0x200 - S_IRUSR = 0x100 - S_IWUSR = 0x80 - S_IXUSR = 0x40 -) - -type Stat_t struct { - Ino uint64 - Nlink uint32 - Dev uint32 - Mode uint16 - Padding1 uint16 - Uid uint32 - Gid uint32 - Rdev uint32 - Atim Timespec - Mtim Timespec - Ctim Timespec - Size int64 - Blocks int64 - Blksize uint32 - Flags uint32 - Gen uint32 - Lspare int32 - Qspare1 int64 - Qspare2 int64 -} - -type Statfs_t struct { - Spare2 int32 - Bsize int32 - Iosize int32 - Blocks int32 - Bfree int32 - Bavail int32 - Files int32 - Ffree int32 - Fsid Fsid - Owner uint32 - Type int32 - Flags int32 - Syncwrites int32 - Asyncwrites int32 - Fstypename [16]int8 - Mntonname [80]int8 - Syncreads int32 - Asyncreads int32 - Spares1 int16 - Mntfromname [80]int8 - Spares2 int16 - Spare [2]int32 -} - -type Flock_t struct { - Start int64 - Len int64 - Pid int32 - Type int16 - Whence int16 -} - -type Dirent struct { - Fileno uint64 - Namlen uint16 - Type uint8 - Unused1 uint8 - Unused2 uint32 - Name [256]int8 -} - -type Fsid struct { - Val [2]int32 -} - -type RawSockaddrInet4 struct { - Len uint8 - Family uint8 - Port uint16 - Addr [4]byte /* in_addr */ - Zero [8]int8 -} - -type RawSockaddrInet6 struct { - Len uint8 - Family uint8 - Port uint16 - Flowinfo uint32 - Addr [16]byte /* in6_addr */ - Scope_id uint32 -} - -type RawSockaddrUnix struct { - Len uint8 - Family uint8 - Path [104]int8 -} - -type RawSockaddrDatalink struct { - Len uint8 - Family uint8 - Index uint16 - Type uint8 - Nlen uint8 - Alen uint8 - Slen uint8 - Data [12]int8 - Rcf uint16 - Route [16]uint16 -} - -type RawSockaddr struct { - Len uint8 - Family uint8 - Data [14]int8 -} - -type RawSockaddrAny struct { - Addr RawSockaddr - Pad [92]int8 -} - -type _Socklen uint32 - -type Linger struct { - Onoff int32 - Linger int32 -} - -type Iovec struct { - Base *byte - Len uint32 -} - -type IPMreq struct { - Multiaddr [4]byte /* in_addr */ - Interface [4]byte /* in_addr */ -} - -type IPv6Mreq struct { - Multiaddr [16]byte /* in6_addr */ - Interface uint32 -} - -type Msghdr struct { - Name *byte - Namelen uint32 - Iov *Iovec - Iovlen int32 - Control *byte - Controllen uint32 - Flags int32 -} - -type Cmsghdr struct { - Len uint32 - Level int32 - Type int32 -} - -type Inet6Pktinfo struct { - Addr [16]byte /* in6_addr */ - Ifindex uint32 -} - -type IPv6MTUInfo struct { - Addr RawSockaddrInet6 - Mtu uint32 -} - -type ICMPv6Filter struct { - Filt [8]uint32 -} - -const ( - SizeofSockaddrInet4 = 0x10 - SizeofSockaddrInet6 = 0x1c - SizeofSockaddrAny = 0x6c - SizeofSockaddrUnix = 0x6a - SizeofSockaddrDatalink = 0x36 - SizeofLinger = 0x8 - SizeofIPMreq = 0x8 - SizeofIPv6Mreq = 0x14 - SizeofMsghdr = 0x1c - SizeofCmsghdr = 0xc - SizeofInet6Pktinfo = 0x14 - SizeofIPv6MTUInfo = 0x20 - SizeofICMPv6Filter = 0x20 -) - -const ( - PTRACE_TRACEME = 0x0 - PTRACE_CONT = 0x7 - PTRACE_KILL = 0x8 -) - -type Kevent_t struct { - Ident uint32 - Filter int16 - Flags uint16 - Fflags uint32 - Data int32 - Udata *byte -} - -type FdSet struct { - Bits [32]uint32 -} - -const ( - SizeofIfMsghdr = 0x68 - SizeofIfData = 0x58 - SizeofIfaMsghdr = 0x14 - SizeofIfmaMsghdr = 0x10 - SizeofIfAnnounceMsghdr = 0x18 - SizeofRtMsghdr = 0x5c - SizeofRtMetrics = 0x38 -) - -type IfMsghdr struct { - Msglen uint16 - Version uint8 - Type uint8 - Addrs int32 - Flags int32 - Index uint16 - Pad_cgo_0 [2]byte - Data IfData -} - -type IfData struct { - Type uint8 - Physical uint8 - Addrlen uint8 - Hdrlen uint8 - Recvquota uint8 - Xmitquota uint8 - Pad_cgo_0 [2]byte - Mtu uint32 - Metric uint32 - Link_state uint32 - Baudrate uint64 - Ipackets uint32 - Ierrors uint32 - Opackets uint32 - Oerrors uint32 - Collisions uint32 - Ibytes uint32 - Obytes uint32 - Imcasts uint32 - Omcasts uint32 - Iqdrops uint32 - Noproto uint32 - Hwassist uint32 - Unused uint32 - Lastchange Timeval -} - -type IfaMsghdr struct { - Msglen uint16 - Version uint8 - Type uint8 - Addrs int32 - Flags int32 - Index uint16 - Pad_cgo_0 [2]byte - Metric int32 -} - -type IfmaMsghdr struct { - Msglen uint16 - Version uint8 - Type uint8 - Addrs int32 - Flags int32 - Index uint16 - Pad_cgo_0 [2]byte -} - -type IfAnnounceMsghdr struct { - Msglen uint16 - Version uint8 - Type uint8 - Index uint16 - Name [16]int8 - What uint16 -} - -type RtMsghdr struct { - Msglen uint16 - Version uint8 - Type uint8 - Index uint16 - Pad_cgo_0 [2]byte - Flags int32 - Addrs int32 - Pid int32 - Seq int32 - Errno int32 - Use int32 - Inits uint32 - Rmx RtMetrics -} - -type RtMetrics struct { - Locks uint32 - Mtu uint32 - Pksent uint32 - Expire uint32 - Sendpipe uint32 - Ssthresh uint32 - Rtt uint32 - Rttvar uint32 - Recvpipe uint32 - Hopcount uint32 - Mssopt uint16 - Pad uint16 - Msl uint32 - Iwmaxsegs uint32 - Iwcapsegs uint32 -} - -const ( - SizeofBpfVersion = 0x4 - SizeofBpfStat = 0x8 - SizeofBpfProgram = 0x8 - SizeofBpfInsn = 0x8 - SizeofBpfHdr = 0x14 -) - -type BpfVersion struct { - Major uint16 - Minor uint16 -} - -type BpfStat struct { - Recv uint32 - Drop uint32 -} - -type BpfProgram struct { - Len uint32 - Insns *BpfInsn -} - -type BpfInsn struct { - Code uint16 - Jt uint8 - Jf uint8 - K uint32 -} - -type BpfHdr struct { - Tstamp Timeval - Caplen uint32 - Datalen uint32 - Hdrlen uint16 - Pad_cgo_0 [2]byte -} - -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Cc [20]uint8 - Ispeed uint32 - Ospeed uint32 -} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/string_flag.go b/staging/src/k8s.io/client-go/1.5/pkg/util/string_flag.go deleted file mode 100644 index 9d6a00a1592..00000000000 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/string_flag.go +++ /dev/null @@ -1,56 +0,0 @@ -/* -Copyright 2014 The Kubernetes Authors. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package util - -// StringFlag is a string flag compatible with flags and pflags that keeps track of whether it had a value supplied or not. -type StringFlag struct { - // If Set has been invoked this value is true - provided bool - // The exact value provided on the flag - value string -} - -func NewStringFlag(defaultVal string) StringFlag { - return StringFlag{value: defaultVal} -} - -func (f *StringFlag) Default(value string) { - f.value = value -} - -func (f StringFlag) String() string { - return f.value -} - -func (f StringFlag) Value() string { - return f.value -} - -func (f *StringFlag) Set(value string) error { - f.value = value - f.provided = true - - return nil -} - -func (f StringFlag) Provided() bool { - return f.provided -} - -func (f *StringFlag) Type() string { - return "string" -} diff --git a/staging/src/k8s.io/client-go/1.5/rest/config_test.go b/staging/src/k8s.io/client-go/1.5/rest/config_test.go deleted file mode 100644 index 616293f2ac8..00000000000 --- a/staging/src/k8s.io/client-go/1.5/rest/config_test.go +++ /dev/null @@ -1,99 +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 rest - -import ( - "strings" - "testing" - - "k8s.io/client-go/1.5/pkg/api/testapi" -) - -func TestIsConfigTransportTLS(t *testing.T) { - testCases := []struct { - Config *Config - TransportTLS bool - }{ - { - Config: &Config{}, - TransportTLS: false, - }, - { - Config: &Config{ - Host: "https://localhost", - }, - TransportTLS: true, - }, - { - Config: &Config{ - Host: "localhost", - TLSClientConfig: TLSClientConfig{ - CertFile: "foo", - }, - }, - TransportTLS: true, - }, - { - Config: &Config{ - Host: "///:://localhost", - TLSClientConfig: TLSClientConfig{ - CertFile: "foo", - }, - }, - TransportTLS: false, - }, - { - Config: &Config{ - Host: "1.2.3.4:567", - Insecure: true, - }, - TransportTLS: true, - }, - } - for _, testCase := range testCases { - if err := SetKubernetesDefaults(testCase.Config); err != nil { - t.Errorf("setting defaults failed for %#v: %v", testCase.Config, err) - continue - } - useTLS := IsConfigTransportTLS(*testCase.Config) - if testCase.TransportTLS != useTLS { - t.Errorf("expected %v for %#v", testCase.TransportTLS, testCase.Config) - } - } -} - -func TestSetKubernetesDefaultsUserAgent(t *testing.T) { - config := &Config{} - if err := SetKubernetesDefaults(config); err != nil { - t.Errorf("unexpected error: %v", err) - } - if !strings.Contains(config.UserAgent, "kubernetes/") { - t.Errorf("no user agent set: %#v", config) - } -} - -func TestRESTClientRequires(t *testing.T) { - if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err == nil { - t.Errorf("unexpected non-error") - } - if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: testapi.Default.GroupVersion()}}); err == nil { - t.Errorf("unexpected non-error") - } - if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: testapi.Default.GroupVersion(), NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err != nil { - t.Errorf("unexpected error: %v", err) - } -} diff --git a/staging/src/k8s.io/client-go/1.5/Godeps/Godeps.json b/staging/src/k8s.io/client-go/Godeps/Godeps.json similarity index 98% rename from staging/src/k8s.io/client-go/1.5/Godeps/Godeps.json rename to staging/src/k8s.io/client-go/Godeps/Godeps.json index d9aeabf2852..e0c0fe46b8a 100644 --- a/staging/src/k8s.io/client-go/1.5/Godeps/Godeps.json +++ b/staging/src/k8s.io/client-go/Godeps/Godeps.json @@ -1,5 +1,5 @@ { - "ImportPath": "k8s.io/client-go/1.5", + "ImportPath": "k8s.io/client-go", "GoVersion": "go1.6", "GodepVersion": "v74", "Packages": [ @@ -175,7 +175,7 @@ }, { "ImportPath": "github.com/spf13/pflag", - "Rev": "1560c1005499d61b80f865c04d39ca7505bf7f0b" + "Rev": "c7e63cf4530bcd3ba943729cee0efeff2ebea63f" }, { "ImportPath": "github.com/ugorji/go/codec", @@ -231,7 +231,7 @@ }, { "ImportPath": "golang.org/x/sys/unix", - "Rev": "9c60d1c508f5134d1ca726b4641db998f2523357" + "Rev": "8f0908ab3b2457e2e15403d3697c9ef5cb4b57a9" }, { "ImportPath": "golang.org/x/text/cases", diff --git a/staging/src/k8s.io/client-go/1.5/Godeps/Readme b/staging/src/k8s.io/client-go/Godeps/Readme similarity index 100% rename from staging/src/k8s.io/client-go/1.5/Godeps/Readme rename to staging/src/k8s.io/client-go/Godeps/Readme diff --git a/staging/src/k8s.io/client-go/README.md b/staging/src/k8s.io/client-go/README.md deleted file mode 100644 index 86ebf568d23..00000000000 --- a/staging/src/k8s.io/client-go/README.md +++ /dev/null @@ -1,38 +0,0 @@ -# client-go - -Go clients for talking to a [kubernetes](http://kubernetes.io/) cluster. - -### What's included - -* The `kubernetes` package contains the clientset to access Kubernetes API. -* The `discovery` package is used to discover APIs supported by a Kubernetes API server. -* The `dynamic` package contains a dynamic client that can perform generic operations on arbitrary Kubernetes API objects. -* The `transport` package is used to set up auth and start a connection. -* The `tools/cache` package is useful for writing controllers. - -### Releases - -Each top-level folder (e.g., 1.4) contains a release of clients and their dependencies. - -client-go has the same release cycle as the Kubernetes main repository. For example, in the 1.4 release cycle, the contents in `1.4/` folder are subjected to changes. Once 1.4 is released, new changes will go into the `1.5/` folder. We will make great efforts to not change the public interface of a version of the client once that version has been released. We may change the interface between versions. Old versions of the client will be retained for two release cycles. - -### How to get it - -You can `go get` to get a release of client-go, e.g., `go get k8s.io/client-go/1.4/...` or `go get k8s.io/client-go/1.4/kubernetes`. - -### How to use it - -If your application runs in a Pod in the cluster, please refer to the in-cluster [example](examples/in-cluster/main.go), otherwise please refer to the out-of-cluster [example](examples/out-of-cluster/main.go). - -### Dependency management - -If your application depends on a package that client-go depends on, and you let the Go compiler find the dependency in `GOPATH`, you will end up with duplicated dependencies: one copy from the `GOPATH`, and one from the vendor folder of client-go. This will cause unexpected runtime error like flag redefinition, since the go compiler ends up importing both packages separately, even if they are exactly the same thing. If this happens, you can either -* run `godep restore` ([godep](https://github.com/tools/godep)) in the client-go/1.4 folder, then remove the vendor folder of client-go. Then the packages in your GOPATH will be the only copy -* or run `godep save` in your application folder to flatten all dependencies. - -### Reporting bugs - -Please report bugs to the main Kubernetes [repository](https://github.com/kubernetes/kubernetes/issues/new). - -### Contributing code -Please send pull requests against the client packages in the Kubernetes main [repository](https://github.com/kubernetes/kubernetes), and run the `/staging/src/k8s.io/client-go/copy.sh` script to update the staging area in the main repository. Changes in the staging area will be published to this repository every day. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/cloud.google.com/go/LICENSE b/staging/src/k8s.io/client-go/_vendor/cloud.google.com/go/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/cloud.google.com/go/LICENSE rename to staging/src/k8s.io/client-go/_vendor/cloud.google.com/go/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/cloud.google.com/go/compute/metadata/metadata.go b/staging/src/k8s.io/client-go/_vendor/cloud.google.com/go/compute/metadata/metadata.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/cloud.google.com/go/compute/metadata/metadata.go rename to staging/src/k8s.io/client-go/_vendor/cloud.google.com/go/compute/metadata/metadata.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/cloud.google.com/go/internal/cloud.go b/staging/src/k8s.io/client-go/_vendor/cloud.google.com/go/internal/cloud.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/cloud.google.com/go/internal/cloud.go rename to staging/src/k8s.io/client-go/_vendor/cloud.google.com/go/internal/cloud.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/purell/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/purell/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/purell/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/purell/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/README.md new file mode 100644 index 00000000000..a78a3df651d --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/README.md @@ -0,0 +1,185 @@ +# Purell + +Purell is a tiny Go library to normalize URLs. It returns a pure URL. Pure-ell. Sanitizer and all. Yeah, I know... + +Based on the [wikipedia paper][wiki] and the [RFC 3986 document][rfc]. + +[![build status](https://secure.travis-ci.org/PuerkitoBio/purell.png)](http://travis-ci.org/PuerkitoBio/purell) + +## Install + +`go get github.com/PuerkitoBio/purell` + +## Changelog + +* **2016-07-27 (v1.0.0)** : Normalize IDN to ASCII (thanks to @zenovich). +* **2015-02-08** : Add fix for relative paths issue ([PR #5][pr5]) and add fix for unnecessary encoding of reserved characters ([see issue #7][iss7]). +* **v0.2.0** : Add benchmarks, Attempt IDN support. +* **v0.1.0** : Initial release. + +## Examples + +From `example_test.go` (note that in your code, you would import "github.com/PuerkitoBio/purell", and would prefix references to its methods and constants with "purell."): + +```go +package purell + +import ( + "fmt" + "net/url" +) + +func ExampleNormalizeURLString() { + if normalized, err := NormalizeURLString("hTTp://someWEBsite.com:80/Amazing%3f/url/", + FlagLowercaseScheme|FlagLowercaseHost|FlagUppercaseEscapes); err != nil { + panic(err) + } else { + fmt.Print(normalized) + } + // Output: http://somewebsite.com:80/Amazing%3F/url/ +} + +func ExampleMustNormalizeURLString() { + normalized := MustNormalizeURLString("hTTpS://someWEBsite.com:443/Amazing%fa/url/", + FlagsUnsafeGreedy) + fmt.Print(normalized) + + // Output: http://somewebsite.com/Amazing%FA/url +} + +func ExampleNormalizeURL() { + if u, err := url.Parse("Http://SomeUrl.com:8080/a/b/.././c///g?c=3&a=1&b=9&c=0#target"); err != nil { + panic(err) + } else { + normalized := NormalizeURL(u, FlagsUsuallySafeGreedy|FlagRemoveDuplicateSlashes|FlagRemoveFragment) + fmt.Print(normalized) + } + + // Output: http://someurl.com:8080/a/c/g?c=3&a=1&b=9&c=0 +} +``` + +## API + +As seen in the examples above, purell offers three methods, `NormalizeURLString(string, NormalizationFlags) (string, error)`, `MustNormalizeURLString(string, NormalizationFlags) (string)` and `NormalizeURL(*url.URL, NormalizationFlags) (string)`. They all normalize the provided URL based on the specified flags. Here are the available flags: + +```go +const ( + // Safe normalizations + FlagLowercaseScheme NormalizationFlags = 1 << iota // HTTP://host -> http://host, applied by default in Go1.1 + FlagLowercaseHost // http://HOST -> http://host + FlagUppercaseEscapes // http://host/t%ef -> http://host/t%EF + FlagDecodeUnnecessaryEscapes // http://host/t%41 -> http://host/tA + FlagEncodeNecessaryEscapes // http://host/!"#$ -> http://host/%21%22#$ + FlagRemoveDefaultPort // http://host:80 -> http://host + FlagRemoveEmptyQuerySeparator // http://host/path? -> http://host/path + + // Usually safe normalizations + FlagRemoveTrailingSlash // http://host/path/ -> http://host/path + FlagAddTrailingSlash // http://host/path -> http://host/path/ (should choose only one of these add/remove trailing slash flags) + FlagRemoveDotSegments // http://host/path/./a/b/../c -> http://host/path/a/c + + // Unsafe normalizations + FlagRemoveDirectoryIndex // http://host/path/index.html -> http://host/path/ + FlagRemoveFragment // http://host/path#fragment -> http://host/path + FlagForceHTTP // https://host -> http://host + FlagRemoveDuplicateSlashes // http://host/path//a///b -> http://host/path/a/b + FlagRemoveWWW // http://www.host/ -> http://host/ + FlagAddWWW // http://host/ -> http://www.host/ (should choose only one of these add/remove WWW flags) + FlagSortQuery // http://host/path?c=3&b=2&a=1&b=1 -> http://host/path?a=1&b=1&b=2&c=3 + + // Normalizations not in the wikipedia article, required to cover tests cases + // submitted by jehiah + FlagDecodeDWORDHost // http://1113982867 -> http://66.102.7.147 + FlagDecodeOctalHost // http://0102.0146.07.0223 -> http://66.102.7.147 + FlagDecodeHexHost // http://0x42660793 -> http://66.102.7.147 + FlagRemoveUnnecessaryHostDots // http://.host../path -> http://host/path + FlagRemoveEmptyPortSeparator // http://host:/path -> http://host/path + + // Convenience set of safe normalizations + FlagsSafe NormalizationFlags = FlagLowercaseHost | FlagLowercaseScheme | FlagUppercaseEscapes | FlagDecodeUnnecessaryEscapes | FlagEncodeNecessaryEscapes | FlagRemoveDefaultPort | FlagRemoveEmptyQuerySeparator + + // For convenience sets, "greedy" uses the "remove trailing slash" and "remove www. prefix" flags, + // while "non-greedy" uses the "add (or keep) the trailing slash" and "add www. prefix". + + // Convenience set of usually safe normalizations (includes FlagsSafe) + FlagsUsuallySafeGreedy NormalizationFlags = FlagsSafe | FlagRemoveTrailingSlash | FlagRemoveDotSegments + FlagsUsuallySafeNonGreedy NormalizationFlags = FlagsSafe | FlagAddTrailingSlash | FlagRemoveDotSegments + + // Convenience set of unsafe normalizations (includes FlagsUsuallySafe) + FlagsUnsafeGreedy NormalizationFlags = FlagsUsuallySafeGreedy | FlagRemoveDirectoryIndex | FlagRemoveFragment | FlagForceHTTP | FlagRemoveDuplicateSlashes | FlagRemoveWWW | FlagSortQuery + FlagsUnsafeNonGreedy NormalizationFlags = FlagsUsuallySafeNonGreedy | FlagRemoveDirectoryIndex | FlagRemoveFragment | FlagForceHTTP | FlagRemoveDuplicateSlashes | FlagAddWWW | FlagSortQuery + + // Convenience set of all available flags + FlagsAllGreedy = FlagsUnsafeGreedy | FlagDecodeDWORDHost | FlagDecodeOctalHost | FlagDecodeHexHost | FlagRemoveUnnecessaryHostDots | FlagRemoveEmptyPortSeparator + FlagsAllNonGreedy = FlagsUnsafeNonGreedy | FlagDecodeDWORDHost | FlagDecodeOctalHost | FlagDecodeHexHost | FlagRemoveUnnecessaryHostDots | FlagRemoveEmptyPortSeparator +) +``` + +For convenience, the set of flags `FlagsSafe`, `FlagsUsuallySafe[Greedy|NonGreedy]`, `FlagsUnsafe[Greedy|NonGreedy]` and `FlagsAll[Greedy|NonGreedy]` are provided for the similarly grouped normalizations on [wikipedia's URL normalization page][wiki]. You can add (using the bitwise OR `|` operator) or remove (using the bitwise AND NOT `&^` operator) individual flags from the sets if required, to build your own custom set. + +The [full godoc reference is available on gopkgdoc][godoc]. + +Some things to note: + +* `FlagDecodeUnnecessaryEscapes`, `FlagEncodeNecessaryEscapes`, `FlagUppercaseEscapes` and `FlagRemoveEmptyQuerySeparator` are always implicitly set, because internally, the URL string is parsed as an URL object, which automatically decodes unnecessary escapes, uppercases and encodes necessary ones, and removes empty query separators (an unnecessary `?` at the end of the url). So this operation cannot **not** be done. For this reason, `FlagRemoveEmptyQuerySeparator` (as well as the other three) has been included in the `FlagsSafe` convenience set, instead of `FlagsUnsafe`, where Wikipedia puts it. + +* The `FlagDecodeUnnecessaryEscapes` decodes the following escapes (*from -> to*): + - %24 -> $ + - %26 -> & + - %2B-%3B -> +,-./0123456789:; + - %3D -> = + - %40-%5A -> @ABCDEFGHIJKLMNOPQRSTUVWXYZ + - %5F -> _ + - %61-%7A -> abcdefghijklmnopqrstuvwxyz + - %7E -> ~ + + +* When the `NormalizeURL` function is used (passing an URL object), this source URL object is modified (that is, after the call, the URL object will be modified to reflect the normalization). + +* The *replace IP with domain name* normalization (`http://208.77.188.166/ → http://www.example.com/`) is obviously not possible for a library without making some network requests. This is not implemented in purell. + +* The *remove unused query string parameters* and *remove default query parameters* are also not implemented, since this is a very case-specific normalization, and it is quite trivial to do with an URL object. + +### Safe vs Usually Safe vs Unsafe + +Purell allows you to control the level of risk you take while normalizing an URL. You can aggressively normalize, play it totally safe, or anything in between. + +Consider the following URL: + +`HTTPS://www.RooT.com/toto/t%45%1f///a/./b/../c/?z=3&w=2&a=4&w=1#invalid` + +Normalizing with the `FlagsSafe` gives: + +`https://www.root.com/toto/tE%1F///a/./b/../c/?z=3&w=2&a=4&w=1#invalid` + +With the `FlagsUsuallySafeGreedy`: + +`https://www.root.com/toto/tE%1F///a/c?z=3&w=2&a=4&w=1#invalid` + +And with `FlagsUnsafeGreedy`: + +`http://root.com/toto/tE%1F/a/c?a=4&w=1&w=2&z=3` + +## TODOs + +* Add a class/default instance to allow specifying custom directory index names? At the moment, removing directory index removes `(^|/)((?:default|index)\.\w{1,4})$`. + +## Thanks / Contributions + +@rogpeppe +@jehiah +@opennota +@pchristopher1275 +@zenovich + +## License + +The [BSD 3-Clause license][bsd]. + +[bsd]: http://opensource.org/licenses/BSD-3-Clause +[wiki]: http://en.wikipedia.org/wiki/URL_normalization +[rfc]: http://tools.ietf.org/html/rfc3986#section-6 +[godoc]: http://go.pkgdoc.org/github.com/PuerkitoBio/purell +[pr5]: https://github.com/PuerkitoBio/purell/pull/5 +[iss7]: https://github.com/PuerkitoBio/purell/issues/7 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/purell/purell.go b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/purell.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/purell/purell.go rename to staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/purell/purell.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/urlesc/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/urlesc/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/README.md new file mode 100644 index 00000000000..bebe305e0d1 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/README.md @@ -0,0 +1,16 @@ +urlesc [![Build Status](https://travis-ci.org/PuerkitoBio/urlesc.png?branch=master)](https://travis-ci.org/PuerkitoBio/urlesc) [![GoDoc](http://godoc.org/github.com/PuerkitoBio/urlesc?status.svg)](http://godoc.org/github.com/PuerkitoBio/urlesc) +====== + +Package urlesc implements query escaping as per RFC 3986. + +It contains some parts of the net/url package, modified so as to allow +some reserved characters incorrectly escaped by net/url (see [issue 5684](https://github.com/golang/go/issues/5684)). + +## Install + + go get github.com/PuerkitoBio/urlesc + +## License + +Go license (BSD-3-Clause) + diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/urlesc/urlesc.go b/staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/urlesc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/PuerkitoBio/urlesc/urlesc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/PuerkitoBio/urlesc/urlesc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/README.md new file mode 100644 index 00000000000..5171c5c5571 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/README.md @@ -0,0 +1,142 @@ +semver for golang [![Build Status](https://drone.io/github.com/blang/semver/status.png)](https://drone.io/github.com/blang/semver/latest) [![GoDoc](https://godoc.org/github.com/blang/semver?status.png)](https://godoc.org/github.com/blang/semver) [![Coverage Status](https://img.shields.io/coveralls/blang/semver.svg)](https://coveralls.io/r/blang/semver?branch=master) +====== + +semver is a [Semantic Versioning](http://semver.org/) library written in golang. It fully covers spec version `2.0.0`. + +Usage +----- +```bash +$ go get github.com/blang/semver +``` +Note: Always vendor your dependencies or fix on a specific version tag. + +```go +import github.com/blang/semver +v1, err := semver.Make("1.0.0-beta") +v2, err := semver.Make("2.0.0-beta") +v1.Compare(v2) +``` + +Also check the [GoDocs](http://godoc.org/github.com/blang/semver). + +Why should I use this lib? +----- + +- Fully spec compatible +- No reflection +- No regex +- Fully tested (Coverage >99%) +- Readable parsing/validation errors +- Fast (See [Benchmarks](#benchmarks)) +- Only Stdlib +- Uses values instead of pointers +- Many features, see below + + +Features +----- + +- Parsing and validation at all levels +- Comparator-like comparisons +- Compare Helper Methods +- InPlace manipulation +- Sortable (implements sort.Interface) +- database/sql compatible (sql.Scanner/Valuer) +- encoding/json compatible (json.Marshaler/Unmarshaler) + + +Example +----- + +Have a look at full examples in [examples/main.go](examples/main.go) + +```go +import github.com/blang/semver + +v, err := semver.Make("0.0.1-alpha.preview+123.github") +fmt.Printf("Major: %d\n", v.Major) +fmt.Printf("Minor: %d\n", v.Minor) +fmt.Printf("Patch: %d\n", v.Patch) +fmt.Printf("Pre: %s\n", v.Pre) +fmt.Printf("Build: %s\n", v.Build) + +// Prerelease versions array +if len(v.Pre) > 0 { + fmt.Println("Prerelease versions:") + for i, pre := range v.Pre { + fmt.Printf("%d: %q\n", i, pre) + } +} + +// Build meta data array +if len(v.Build) > 0 { + fmt.Println("Build meta data:") + for i, build := range v.Build { + fmt.Printf("%d: %q\n", i, build) + } +} + +v001, err := semver.Make("0.0.1") +// Compare using helpers: v.GT(v2), v.LT, v.GTE, v.LTE +v001.GT(v) == true +v.LT(v001) == true +v.GTE(v) == true +v.LTE(v) == true + +// Or use v.Compare(v2) for comparisons (-1, 0, 1): +v001.Compare(v) == 1 +v.Compare(v001) == -1 +v.Compare(v) == 0 + +// Manipulate Version in place: +v.Pre[0], err = semver.NewPRVersion("beta") +if err != nil { + fmt.Printf("Error parsing pre release version: %q", err) +} + +fmt.Println("\nValidate versions:") +v.Build[0] = "?" + +err = v.Validate() +if err != nil { + fmt.Printf("Validation failed: %s\n", err) +} +``` + +Benchmarks +----- + + BenchmarkParseSimple 5000000 328 ns/op 49 B/op 1 allocs/op + BenchmarkParseComplex 1000000 2105 ns/op 263 B/op 7 allocs/op + BenchmarkParseAverage 1000000 1301 ns/op 168 B/op 4 allocs/op + BenchmarkStringSimple 10000000 130 ns/op 5 B/op 1 allocs/op + BenchmarkStringLarger 5000000 280 ns/op 32 B/op 2 allocs/op + BenchmarkStringComplex 3000000 512 ns/op 80 B/op 3 allocs/op + BenchmarkStringAverage 5000000 387 ns/op 47 B/op 2 allocs/op + BenchmarkValidateSimple 500000000 7.92 ns/op 0 B/op 0 allocs/op + BenchmarkValidateComplex 2000000 923 ns/op 0 B/op 0 allocs/op + BenchmarkValidateAverage 5000000 452 ns/op 0 B/op 0 allocs/op + BenchmarkCompareSimple 100000000 11.2 ns/op 0 B/op 0 allocs/op + BenchmarkCompareComplex 50000000 40.9 ns/op 0 B/op 0 allocs/op + BenchmarkCompareAverage 50000000 43.8 ns/op 0 B/op 0 allocs/op + BenchmarkSort 5000000 436 ns/op 259 B/op 2 allocs/op + +See benchmark cases at [semver_test.go](semver_test.go) + + +Motivation +----- + +I simply couldn't find any lib supporting the full spec. Others were just wrong or used reflection and regex which i don't like. + + +Contribution +----- + +Feel free to make a pull request. For bigger changes create a issue first to discuss about it. + + +License +----- + +See [LICENSE](LICENSE) file. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/json.go b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/json.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/json.go rename to staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/json.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/semver.go b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/semver.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/semver.go rename to staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/semver.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/sort.go b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/sort.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/sort.go rename to staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/sort.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/sql.go b/staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/sql.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/blang/semver/sql.go rename to staging/src/k8s.io/client-go/_vendor/github.com/blang/semver/sql.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/NOTICE b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/NOTICE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/NOTICE rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/NOTICE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/http/client.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/http/client.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/http/client.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/http/client.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/http/http.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/http/http.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/http/http.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/http/http.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/http/url.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/http/url.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/http/url.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/http/url.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/claims.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/claims.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/claims.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/claims.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jose.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jose.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jose.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jose.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jwk.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jwk.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jwk.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jwk.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jws.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jws.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jws.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jws.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jwt.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jwt.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/jwt.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/jwt.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/sig.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/sig.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/sig.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/sig.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/sig_hmac.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/sig_hmac.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/sig_hmac.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/sig_hmac.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/sig_rsa.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/sig_rsa.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/jose/sig_rsa.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/jose/sig_rsa.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/key.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/key.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/key.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/key.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/manager.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/manager.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/manager.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/manager.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/repo.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/repo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/repo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/repo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/rotate.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/rotate.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/rotate.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/rotate.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/sync.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/sync.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/key/sync.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/key/sync.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oauth2/error.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oauth2/error.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oauth2/error.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oauth2/error.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oauth2/oauth2.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oauth2/oauth2.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oauth2/oauth2.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oauth2/oauth2.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/client.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/client.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/client.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/client.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/identity.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/identity.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/identity.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/identity.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/interface.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/interface.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/interface.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/interface.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/key.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/key.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/key.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/key.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/provider.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/provider.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/provider.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/provider.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/transport.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/transport.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/transport.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/transport.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/util.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/util.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/util.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/util.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/verification.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/verification.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/go-oidc/oidc/verification.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/go-oidc/oidc/verification.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/NOTICE b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/NOTICE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/NOTICE rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/NOTICE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/health/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/health/README.md new file mode 100644 index 00000000000..5ec34c21e0f --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/health/README.md @@ -0,0 +1,11 @@ +health +==== + +A simple framework for implementing an HTTP health check endpoint on servers. + +Users implement their `health.Checkable` types, and create a `health.Checker`, from which they can get an `http.HandlerFunc` using `health.Checker.MakeHealthHandlerFunc`. + +### Documentation + +For more details, visit the docs on [gopkgdoc](http://godoc.org/github.com/coreos/pkg/health) + diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/health/health.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/health/health.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/health/health.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/health/health.go diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/README.md new file mode 100644 index 00000000000..44fa751c4a0 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/README.md @@ -0,0 +1,13 @@ +httputil +==== + +Common code for dealing with HTTP. + +Includes: + +* Code for returning JSON responses. + +### Documentation + +Visit the docs on [gopkgdoc](http://godoc.org/github.com/coreos/pkg/httputil) + diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/httputil/cookie.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/cookie.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/httputil/cookie.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/cookie.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/httputil/json.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/json.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/httputil/json.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/httputil/json.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/timeutil/backoff.go b/staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/timeutil/backoff.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/coreos/pkg/timeutil/backoff.go rename to staging/src/k8s.io/client-go/_vendor/github.com/coreos/pkg/timeutil/backoff.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/bypass.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/bypass.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/bypass.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/bypass.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/bypasssafe.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/bypasssafe.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/bypasssafe.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/common.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/common.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/common.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/common.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/config.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/config.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/config.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/config.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/dump.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/dump.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/dump.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/dump.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/format.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/format.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/format.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/format.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/spew.go b/staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/spew.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/davecgh/go-spew/spew/spew.go rename to staging/src/k8s.io/client-go/_vendor/github.com/davecgh/go-spew/spew/spew.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/digest.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/digest.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/digest.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/digest.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/digester.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/digester.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/digester.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/digester.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/set.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/set.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/set.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/set.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/verifiers.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/verifiers.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/digest/verifiers.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/digest/verifiers.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/reference/reference.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/reference/reference.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/reference/reference.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/reference/reference.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/reference/regexp.go b/staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/reference/regexp.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/docker/distribution/reference/regexp.go rename to staging/src/k8s.io/client-go/_vendor/github.com/docker/distribution/reference/regexp.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/CHANGES.md b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/CHANGES.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/CHANGES.md rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/CHANGES.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/README.md new file mode 100644 index 00000000000..cfe6d0a916b --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/README.md @@ -0,0 +1,74 @@ +go-restful +========== + +package for building REST-style Web Services using Google Go + +REST asks developers to use HTTP methods explicitly and in a way that's consistent with the protocol definition. This basic REST design principle establishes a one-to-one mapping between create, read, update, and delete (CRUD) operations and HTTP methods. According to this mapping: + +- GET = Retrieve a representation of a resource +- POST = Create if you are sending content to the server to create a subordinate of the specified resource collection, using some server-side algorithm. +- PUT = Create if you are sending the full content of the specified resource (URI). +- PUT = Update if you are updating the full content of the specified resource. +- DELETE = Delete if you are requesting the server to delete the resource +- PATCH = Update partial content of a resource +- OPTIONS = Get information about the communication options for the request URI + +### Example + +```Go +ws := new(restful.WebService) +ws. + Path("/users"). + Consumes(restful.MIME_XML, restful.MIME_JSON). + Produces(restful.MIME_JSON, restful.MIME_XML) + +ws.Route(ws.GET("/{user-id}").To(u.findUser). + Doc("get a user"). + Param(ws.PathParameter("user-id", "identifier of the user").DataType("string")). + Writes(User{})) +... + +func (u UserResource) findUser(request *restful.Request, response *restful.Response) { + id := request.PathParameter("user-id") + ... +} +``` + +[Full API of a UserResource](https://github.com/emicklei/go-restful/tree/master/examples/restful-user-resource.go) + +### Features + +- Routes for request → function mapping with path parameter (e.g. {id}) support +- Configurable router: + - Routing algorithm after [JSR311](http://jsr311.java.net/nonav/releases/1.1/spec/spec.html) that is implemented using (but does **not** accept) regular expressions (See RouterJSR311 which is used by default) + - Fast routing algorithm that allows static elements, regular expressions and dynamic parameters in the URL path (e.g. /meetings/{id} or /static/{subpath:*}, See CurlyRouter) +- Request API for reading structs from JSON/XML and accesing parameters (path,query,header) +- Response API for writing structs to JSON/XML and setting headers +- Filters for intercepting the request → response flow on Service or Route level +- Request-scoped variables using attributes +- Containers for WebServices on different HTTP endpoints +- Content encoding (gzip,deflate) of request and response payloads +- Automatic responses on OPTIONS (using a filter) +- Automatic CORS request handling (using a filter) +- API declaration for Swagger UI (see swagger package) +- Panic recovery to produce HTTP 500, customizable using RecoverHandler(...) +- Route errors produce HTTP 404/405/406/415 errors, customizable using ServiceErrorHandler(...) +- Configurable (trace) logging +- Customizable encoding using EntityReaderWriter registration +- Customizable gzip/deflate readers and writers using CompressorProvider registration + +### Resources + +- [Documentation on godoc.org](http://godoc.org/github.com/emicklei/go-restful) +- [Code examples](https://github.com/emicklei/go-restful/tree/master/examples) +- [Example posted on blog](http://ernestmicklei.com/2012/11/go-restful-first-working-example/) +- [Design explained on blog](http://ernestmicklei.com/2012/11/go-restful-api-design/) +- [sourcegraph](https://sourcegraph.com/github.com/emicklei/go-restful) +- [gopkg.in](https://gopkg.in/emicklei/go-restful.v1) +- [showcase: Mora - MongoDB REST Api server](https://github.com/emicklei/mora) + +[![Build Status](https://drone.io/github.com/emicklei/go-restful/status.png)](https://drone.io/github.com/emicklei/go-restful/latest) + +(c) 2012 - 2015, http://ernestmicklei.com. MIT License + +Type ```git shortlog -s``` for a full list of contributors. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/Srcfile b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/Srcfile similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/Srcfile rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/Srcfile diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compress.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compress.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compress.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compress.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compressor_cache.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compressor_cache.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compressor_cache.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compressor_cache.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compressor_pools.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compressor_pools.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compressor_pools.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compressor_pools.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compressors.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compressors.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/compressors.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/compressors.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/constants.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/constants.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/constants.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/constants.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/container.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/container.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/container.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/container.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/cors_filter.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/cors_filter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/cors_filter.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/cors_filter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/curly.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/curly.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/curly.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/curly.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/curly_route.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/curly_route.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/curly_route.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/curly_route.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/entity_accessors.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/entity_accessors.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/entity_accessors.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/entity_accessors.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/filter.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/filter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/filter.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/filter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/jsr311.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/jsr311.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/jsr311.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/jsr311.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/log/log.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/log/log.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/log/log.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/log/log.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/logger.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/logger.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/logger.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/logger.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/mime.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/mime.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/mime.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/mime.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/options_filter.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/options_filter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/options_filter.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/options_filter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/parameter.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/parameter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/parameter.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/parameter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/path_expression.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/path_expression.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/path_expression.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/path_expression.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/request.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/request.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/request.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/request.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/response.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/response.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/response.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/response.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/route.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/route.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/route.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/route.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/route_builder.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/route_builder.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/route_builder.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/route_builder.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/router.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/router.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/router.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/router.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/service_error.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/service_error.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/service_error.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/service_error.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/CHANGES.md b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/CHANGES.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/CHANGES.md rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/CHANGES.md diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/README.md new file mode 100644 index 00000000000..6c27c307061 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/README.md @@ -0,0 +1,76 @@ +How to use Swagger UI with go-restful += + +Get the Swagger UI sources (version 1.2 only) + + git clone https://github.com/wordnik/swagger-ui.git + +The project contains a "dist" folder. +Its contents has all the Swagger UI files you need. + +The `index.html` has an `url` set to `http://petstore.swagger.wordnik.com/api/api-docs`. +You need to change that to match your WebService JSON endpoint e.g. `http://localhost:8080/apidocs.json` + +Now, you can install the Swagger WebService for serving the Swagger specification in JSON. + + config := swagger.Config{ + WebServices: restful.RegisteredWebServices(), + ApiPath: "/apidocs.json", + SwaggerPath: "/apidocs/", + SwaggerFilePath: "/Users/emicklei/Projects/swagger-ui/dist"} + swagger.InstallSwaggerService(config) + + +Documenting Structs +-- + +Currently there are 2 ways to document your structs in the go-restful Swagger. + +###### By using struct tags +- Use tag "description" to annotate a struct field with a description to show in the UI +- Use tag "modelDescription" to annotate the struct itself with a description to show in the UI. The tag can be added in an field of the struct and in case that there are multiple definition, they will be appended with an empty line. + +###### By using the SwaggerDoc method +Here is an example with an `Address` struct and the documentation for each of the fields. The `""` is a special entry for **documenting the struct itself**. + + type Address struct { + Country string `json:"country,omitempty"` + PostCode int `json:"postcode,omitempty"` + } + + func (Address) SwaggerDoc() map[string]string { + return map[string]string{ + "": "Address doc", + "country": "Country doc", + "postcode": "PostCode doc", + } + } + +This example will generate a JSON like this + + { + "Address": { + "id": "Address", + "description": "Address doc", + "properties": { + "country": { + "type": "string", + "description": "Country doc" + }, + "postcode": { + "type": "integer", + "format": "int32", + "description": "PostCode doc" + } + } + } + } + +**Very Important Notes:** +- `SwaggerDoc()` is using a **NON-Pointer** receiver (e.g. func (Address) and not func (*Address)) +- The returned map should use as key the name of the field as defined in the JSON parameter (e.g. `"postcode"` and not `"PostCode"`) + +Notes +-- +- The Nickname of an Operation is automatically set by finding the name of the function. You can override it using RouteBuilder.Operation(..) +- The WebServices field of swagger.Config can be used to control which service you want to expose and document ; you can have multiple configs and therefore multiple endpoints. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/api_declaration_list.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/api_declaration_list.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/api_declaration_list.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/api_declaration_list.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/config.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/config.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/config.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/config.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_builder.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_builder.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_builder.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_builder.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_list.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_list.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_list.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_list.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_property_ext.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_property_ext.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_property_ext.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_property_ext.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_property_list.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_property_list.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/model_property_list.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/model_property_list.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/ordered_route_map.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/ordered_route_map.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/ordered_route_map.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/ordered_route_map.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/swagger.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/swagger.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/swagger.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/swagger.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/swagger_builder.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/swagger_builder.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/swagger_builder.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/swagger_builder.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/swagger_webservice.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/swagger_webservice.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/swagger/swagger_webservice.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/swagger/swagger_webservice.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/web_service.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/web_service.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/web_service.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/web_service.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/web_service_container.go b/staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/web_service_container.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/emicklei/go-restful/web_service_container.go rename to staging/src/k8s.io/client-go/_vendor/github.com/emicklei/go-restful/web_service_container.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/README.md new file mode 100644 index 00000000000..f8f7e369549 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/README.md @@ -0,0 +1,116 @@ +# YAML marshaling and unmarshaling support for Go + +[![Build Status](https://travis-ci.org/ghodss/yaml.svg)](https://travis-ci.org/ghodss/yaml) + +## Introduction + +A wrapper around [go-yaml](https://github.com/go-yaml/yaml) designed to enable a better way of handling YAML when marshaling to and from structs. + +In short, this library first converts YAML to JSON using go-yaml and then uses `json.Marshal` and `json.Unmarshal` to convert to or from the struct. This means that it effectively reuses the JSON struct tags as well as the custom JSON methods `MarshalJSON` and `UnmarshalJSON` unlike go-yaml. For a detailed overview of the rationale behind this method, [see this blog post](http://ghodss.com/2014/the-right-way-to-handle-yaml-in-golang/). + +## Compatibility + +This package uses [go-yaml v2](https://github.com/go-yaml/yaml) and therefore supports [everything go-yaml supports](https://github.com/go-yaml/yaml#compatibility). + +## Caveats + +**Caveat #1:** When using `yaml.Marshal` and `yaml.Unmarshal`, binary data should NOT be preceded with the `!!binary` YAML tag. If you do, go-yaml will convert the binary data from base64 to native binary data, which is not compatible with JSON. You can still use binary in your YAML files though - just store them without the `!!binary` tag and decode the base64 in your code (e.g. in the custom JSON methods `MarshalJSON` and `UnmarshalJSON`). This also has the benefit that your YAML and your JSON binary data will be decoded exactly the same way. As an example: + +``` +BAD: + exampleKey: !!binary gIGC + +GOOD: + exampleKey: gIGC +... and decode the base64 data in your code. +``` + +**Caveat #2:** When using `YAMLToJSON` directly, maps with keys that are maps will result in an error since this is not supported by JSON. This error will occur in `Unmarshal` as well since you can't unmarshal map keys anyways since struct fields can't be keys. + +## Installation and usage + +To install, run: + +``` +$ go get github.com/ghodss/yaml +``` + +And import using: + +``` +import "github.com/ghodss/yaml" +``` + +Usage is very similar to the JSON library: + +```go +import ( + "fmt" + + "github.com/ghodss/yaml" +) + +type Person struct { + Name string `json:"name"` // Affects YAML field names too. + Age int `json:"name"` +} + +func main() { + // Marshal a Person struct to YAML. + p := Person{"John", 30} + y, err := yaml.Marshal(p) + if err != nil { + fmt.Printf("err: %v\n", err) + return + } + fmt.Println(string(y)) + /* Output: + name: John + age: 30 + */ + + // Unmarshal the YAML back into a Person struct. + var p2 Person + err := yaml.Unmarshal(y, &p2) + if err != nil { + fmt.Printf("err: %v\n", err) + return + } + fmt.Println(p2) + /* Output: + {John 30} + */ +} +``` + +`yaml.YAMLToJSON` and `yaml.JSONToYAML` methods are also available: + +```go +import ( + "fmt" + + "github.com/ghodss/yaml" +) +func main() { + j := []byte(`{"name": "John", "age": 30}`) + y, err := yaml.JSONToYAML(j) + if err != nil { + fmt.Printf("err: %v\n", err) + return + } + fmt.Println(string(y)) + /* Output: + name: John + age: 30 + */ + j2, err := yaml.YAMLToJSON(y) + if err != nil { + fmt.Printf("err: %v\n", err) + return + } + fmt.Println(string(j2)) + /* Output: + {"age":30,"name":"John"} + */ +} +``` diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/fields.go b/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/fields.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/fields.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/fields.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/yaml.go b/staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/yaml.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ghodss/yaml/yaml.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ghodss/yaml/yaml.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/.drone.sec b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/.drone.sec similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/.drone.sec rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/.drone.sec diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/CODE_OF_CONDUCT.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/CODE_OF_CONDUCT.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/CODE_OF_CONDUCT.md rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/CODE_OF_CONDUCT.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/README.md new file mode 100644 index 00000000000..9c9b1fd488e --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/README.md @@ -0,0 +1,15 @@ +# gojsonpointer [![Build Status](https://ci.vmware.run/api/badges/go-openapi/jsonpointer/status.svg)](https://ci.vmware.run/go-openapi/jsonpointer) [![Coverage](https://coverage.vmware.run/badges/go-openapi/jsonpointer/coverage.svg)](https://coverage.vmware.run/go-openapi/jsonpointer) [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) + +[![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/go-openapi/jsonpointer/master/LICENSE) [![GoDoc](https://godoc.org/github.com/go-openapi/jsonpointer?status.svg)](http://godoc.org/github.com/go-openapi/jsonpointer) +An implementation of JSON Pointer - Go language + +## Status +Completed YES + +Tested YES + +## References +http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07 + +### Note +The 4.Evaluation part of the previous reference, starting with 'If the currently referenced value is a JSON array, the reference token MUST contain either...' is not implemented. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/pointer.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/pointer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonpointer/pointer.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonpointer/pointer.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/.drone.sec b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/.drone.sec similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/.drone.sec rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/.drone.sec diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/CODE_OF_CONDUCT.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/CODE_OF_CONDUCT.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/CODE_OF_CONDUCT.md rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/CODE_OF_CONDUCT.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/README.md new file mode 100644 index 00000000000..5f7881274ee --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/README.md @@ -0,0 +1,15 @@ +# gojsonreference [![Build Status](https://ci.vmware.run/api/badges/go-openapi/jsonreference/status.svg)](https://ci.vmware.run/go-openapi/jsonreference) [![Coverage](https://coverage.vmware.run/badges/go-openapi/jsonreference/coverage.svg)](https://coverage.vmware.run/go-openapi/jsonreference) [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) + +[![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/go-openapi/jsonreference/master/LICENSE) [![GoDoc](https://godoc.org/github.com/go-openapi/jsonreference?status.svg)](http://godoc.org/github.com/go-openapi/jsonreference) +An implementation of JSON Reference - Go language + +## Status +Work in progress ( 90% done ) + +## Dependencies +https://github.com/xeipuuv/gojsonpointer + +## References +http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07 + +http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/reference.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/reference.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/jsonreference/reference.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/jsonreference/reference.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/.drone.sec b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/.drone.sec similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/.drone.sec rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/.drone.sec diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/CODE_OF_CONDUCT.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/CODE_OF_CONDUCT.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/CODE_OF_CONDUCT.md rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/CODE_OF_CONDUCT.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/README.md new file mode 100644 index 00000000000..4b2af124acd --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/README.md @@ -0,0 +1,5 @@ +# OAI object model [![Build Status](https://ci.vmware.run/api/badges/go-openapi/spec/status.svg)](https://ci.vmware.run/go-openapi/spec) [![Coverage](https://coverage.vmware.run/badges/go-openapi/spec/coverage.svg)](https://coverage.vmware.run/go-openapi/spec) [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) + +[![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/go-openapi/spec/master/LICENSE) [![GoDoc](https://godoc.org/github.com/go-openapi/spec?status.svg)](http://godoc.org/github.com/go-openapi/spec) + +The object model for OpenAPI specification documents \ No newline at end of file diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/bindata.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/bindata.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/bindata.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/bindata.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/contact_info.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/contact_info.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/contact_info.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/contact_info.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/expander.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/expander.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/expander.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/expander.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/external_docs.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/external_docs.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/external_docs.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/external_docs.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/header.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/header.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/header.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/header.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/info.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/info.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/info.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/info.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/items.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/items.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/items.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/items.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/license.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/license.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/license.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/license.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/operation.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/operation.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/operation.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/operation.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/parameter.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/parameter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/parameter.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/parameter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/path_item.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/path_item.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/path_item.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/path_item.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/paths.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/paths.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/paths.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/paths.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/ref.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/ref.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/ref.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/ref.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/response.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/response.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/response.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/response.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/responses.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/responses.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/responses.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/responses.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/schema.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/schema.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/schema.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/schema.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/security_scheme.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/security_scheme.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/security_scheme.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/security_scheme.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/spec.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/spec.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/spec.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/spec.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/swagger.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/swagger.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/swagger.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/swagger.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/tag.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/tag.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/tag.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/tag.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/xml_object.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/xml_object.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/spec/xml_object.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/spec/xml_object.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/.drone.sec b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/.drone.sec similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/.drone.sec rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/.drone.sec diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/CODE_OF_CONDUCT.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/CODE_OF_CONDUCT.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/CODE_OF_CONDUCT.md rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/CODE_OF_CONDUCT.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/README.md new file mode 100644 index 00000000000..c1d3c196ca7 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/README.md @@ -0,0 +1,12 @@ +# Swag [![Build Status](https://ci.vmware.run/api/badges/go-openapi/swag/status.svg)](https://ci.vmware.run/go-openapi/swag) [![Coverage](https://coverage.vmware.run/badges/go-openapi/swag/coverage.svg)](https://coverage.vmware.run/go-openapi/swag) [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) + +[![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/go-openapi/swag/master/LICENSE) [![GoDoc](https://godoc.org/github.com/go-openapi/swag?status.svg)](http://godoc.org/github.com/go-openapi/swag) + +Contains a bunch of helper functions: + +* convert between value and pointers for builtins +* convert from string to builtin +* fast json concatenation +* search in path +* load from file or http +* name manglin \ No newline at end of file diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/convert.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/convert.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/convert.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/convert.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/convert_types.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/convert_types.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/convert_types.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/convert_types.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/json.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/json.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/json.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/json.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/loading.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/loading.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/loading.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/loading.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/net.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/net.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/net.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/net.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/path.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/path.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/path.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/path.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/util.go b/staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/util.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/go-openapi/swag/util.go rename to staging/src/k8s.io/client-go/_vendor/github.com/go-openapi/swag/util.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/Makefile b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/Makefile similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/Makefile rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/Makefile diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/clone.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/clone.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/clone.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/clone.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/decode.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/decode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/decode.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/decode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/decode_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/decode_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/decode_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/decode_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/encode.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/encode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/encode.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/encode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/encode_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/encode_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/encode_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/encode_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/equal.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/equal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/equal.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/equal.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/extensions.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/extensions.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/extensions.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/extensions.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/extensions_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/extensions_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/extensions_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/extensions_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/lib.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/lib.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/lib.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/lib.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/lib_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/lib_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/lib_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/lib_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/message_set.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/message_set.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/message_set.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/message_set.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/pointer_reflect.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/pointer_reflect.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/pointer_reflect.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/pointer_reflect.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/properties.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/properties.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/properties.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/properties.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/properties_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/properties_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/properties_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/properties_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/skip_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/skip_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/skip_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/skip_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/text.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/text.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/text.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/text.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/text_gogo.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/text_gogo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/text_gogo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/text_gogo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/text_parser.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/text_parser.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/proto/text_parser.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/proto/text_parser.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/sortkeys/sortkeys.go b/staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/sortkeys/sortkeys.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/gogo/protobuf/sortkeys/sortkeys.go rename to staging/src/k8s.io/client-go/_vendor/github.com/gogo/protobuf/sortkeys/sortkeys.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/README b/staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/README similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/README rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/README diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/glog.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/glog.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/glog.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/glog.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/glog_file.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/glog_file.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/glog/glog_file.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/glog/glog_file.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/groupcache/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/golang/groupcache/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/groupcache/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/groupcache/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/groupcache/lru/lru.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/groupcache/lru/lru.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/groupcache/lru/lru.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/groupcache/lru/lru.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/Makefile b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/Makefile similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/Makefile rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/Makefile diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/clone.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/clone.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/clone.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/clone.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/decode.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/decode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/decode.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/decode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/encode.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/encode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/encode.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/encode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/equal.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/equal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/equal.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/equal.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/extensions.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/extensions.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/extensions.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/extensions.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/lib.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/lib.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/lib.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/lib.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/message_set.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/message_set.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/message_set.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/message_set.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/pointer_reflect.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/pointer_reflect.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/pointer_reflect.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/pointer_reflect.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/pointer_unsafe.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/pointer_unsafe.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/pointer_unsafe.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/pointer_unsafe.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/properties.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/properties.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/properties.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/properties.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/text.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/text.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/text.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/text.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/text_parser.go b/staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/text_parser.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/golang/protobuf/proto/text_parser.go rename to staging/src/k8s.io/client-go/_vendor/github.com/golang/protobuf/proto/text_parser.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/CONTRIBUTING.md b/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/CONTRIBUTING.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/CONTRIBUTING.md rename to staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/CONTRIBUTING.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/README.md new file mode 100644 index 00000000000..68fcf2cabb2 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/README.md @@ -0,0 +1,71 @@ +gofuzz +====== + +gofuzz is a library for populating go objects with random values. + +[![GoDoc](https://godoc.org/github.com/google/gofuzz?status.png)](https://godoc.org/github.com/google/gofuzz) +[![Travis](https://travis-ci.org/google/gofuzz.svg?branch=master)](https://travis-ci.org/google/gofuzz) + +This is useful for testing: + +* Do your project's objects really serialize/unserialize correctly in all cases? +* Is there an incorrectly formatted object that will cause your project to panic? + +Import with ```import "github.com/google/gofuzz"``` + +You can use it on single variables: +``` +f := fuzz.New() +var myInt int +f.Fuzz(&myInt) // myInt gets a random value. +``` + +You can use it on maps: +``` +f := fuzz.New().NilChance(0).NumElements(1, 1) +var myMap map[ComplexKeyType]string +f.Fuzz(&myMap) // myMap will have exactly one element. +``` + +Customize the chance of getting a nil pointer: +``` +f := fuzz.New().NilChance(.5) +var fancyStruct struct { + A, B, C, D *string +} +f.Fuzz(&fancyStruct) // About half the pointers should be set. +``` + +You can even customize the randomization completely if needed: +``` +type MyEnum string +const ( + A MyEnum = "A" + B MyEnum = "B" +) +type MyInfo struct { + Type MyEnum + AInfo *string + BInfo *string +} + +f := fuzz.New().NilChance(0).Funcs( + func(e *MyInfo, c fuzz.Continue) { + switch c.Intn(2) { + case 0: + e.Type = A + c.Fuzz(&e.AInfo) + case 1: + e.Type = B + c.Fuzz(&e.BInfo) + } + }, +) + +var myObject MyInfo +f.Fuzz(&myObject) // Type will correspond to whether A or B info is set. +``` + +See more examples in ```example_test.go```. + +Happy testing! diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/fuzz.go b/staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/fuzz.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/google/gofuzz/fuzz.go rename to staging/src/k8s.io/client-go/_vendor/github.com/google/gofuzz/fuzz.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/LICENSE.txt b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/LICENSE.txt similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/LICENSE.txt rename to staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/LICENSE.txt diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/OPENSOLARIS.LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/OPENSOLARIS.LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/OPENSOLARIS.LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/OPENSOLARIS.LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/README.md new file mode 100644 index 00000000000..2d6a4e72c92 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/README.md @@ -0,0 +1,27 @@ +# getpasswd in Go [![GoDoc](https://godoc.org/github.com/howeyc/gopass?status.svg)](https://godoc.org/github.com/howeyc/gopass) [![Build Status](https://secure.travis-ci.org/howeyc/gopass.png?branch=master)](http://travis-ci.org/howeyc/gopass) + +Retrieve password from user terminal or piped input without echo. + +Verified on BSD, Linux, and Windows. + +Example: +```go +package main + +import "fmt" +import "github.com/howeyc/gopass" + +func main() { + fmt.Printf("Password: ") + + // Silent. For printing *'s use gopass.GetPasswdMasked() + pass, err := gopass.GetPasswd() + if err != nil { + // Handle gopass.ErrInterrupted or getch() read error + } + + // Do something with pass +} +``` + +Caution: Multi-byte characters not supported! diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/pass.go b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/pass.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/pass.go rename to staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/pass.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/terminal.go b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/terminal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/terminal.go rename to staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/terminal.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/terminal_solaris.go b/staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/terminal_solaris.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/howeyc/gopass/terminal_solaris.go rename to staging/src/k8s.io/client-go/_vendor/github.com/howeyc/gopass/terminal_solaris.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/README.md new file mode 100644 index 00000000000..cdcea0f6592 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/README.md @@ -0,0 +1,68 @@ +# Mergo + +A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements. + +Also a lovely [comune](http://en.wikipedia.org/wiki/Mergo) (municipality) in the Province of Ancona in the Italian region Marche. + +![Mergo dall'alto](http://www.comune.mergo.an.it/Siti/Mergo/Immagini/Foto/mergo_dall_alto.jpg) + +## Status + +It is ready for production use. It works fine although it may use more of testing. Here some projects in the wild using Mergo: + +- [EagerIO/Stout](https://github.com/EagerIO/Stout) +- [lynndylanhurley/defsynth-api](https://github.com/lynndylanhurley/defsynth-api) +- [russross/canvasassignments](https://github.com/russross/canvasassignments) +- [rdegges/cryptly-api](https://github.com/rdegges/cryptly-api) +- [casualjim/exeggutor](https://github.com/casualjim/exeggutor) +- [divshot/gitling](https://github.com/divshot/gitling) +- [RWJMurphy/gorl](https://github.com/RWJMurphy/gorl) + +[![Build Status][1]][2] +[![GoDoc](https://godoc.org/github.com/imdario/mergo?status.svg)](https://godoc.org/github.com/imdario/mergo) + +[1]: https://travis-ci.org/imdario/mergo.png +[2]: https://travis-ci.org/imdario/mergo + +## Installation + + go get github.com/imdario/mergo + + // use in your .go code + import ( + "github.com/imdario/mergo" + ) + +## Usage + +You can only merge same-type structs with exported fields initialized as zero value of their type and same-types maps. Mergo won't merge unexported (private) fields but will do recursively any exported one. Also maps will be merged recursively except for structs inside maps (because they are not addressable using Go reflection). + + if err := mergo.Merge(&dst, src); err != nil { + // ... + } + +Additionally, you can map a map[string]interface{} to a struct (and otherwise, from struct to map), following the same restrictions as in Merge(). Keys are capitalized to find each corresponding exported field. + + if err := mergo.Map(&dst, srcMap); err != nil { + // ... + } + +Warning: if you map a struct to map, it won't do it recursively. Don't expect Mergo to map struct members of your struct as map[string]interface{}. They will be just assigned as values. + +More information and examples in [godoc documentation](http://godoc.org/github.com/imdario/mergo). + +Note: if test are failing due missing package, please execute: + + go get gopkg.in/yaml.v1 + +## Contact me + +If I can help you, you have an idea or you are using Mergo in your projects, don't hesitate to drop me a line (or a pull request): [@im_dario](https://twitter.com/im_dario) + +## About + +Written by [Dario Castañé](http://dario.im). + +## License + +[BSD 3-Clause](http://opensource.org/licenses/BSD-3-Clause) license, as [Go language](http://golang.org/LICENSE). diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/map.go b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/map.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/map.go rename to staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/map.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/merge.go b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/merge.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/merge.go rename to staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/merge.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/mergo.go b/staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/mergo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/imdario/mergo/mergo.go rename to staging/src/k8s.io/client-go/_vendor/github.com/imdario/mergo/mergo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/jonboulle/clockwork/.gitignore b/staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/jonboulle/clockwork/.gitignore rename to staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/jonboulle/clockwork/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/jonboulle/clockwork/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/README.md new file mode 100644 index 00000000000..236c86a2442 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/README.md @@ -0,0 +1,58 @@ +clockwork +========= + +a simple fake clock for golang + +# Usage + +Replace uses of the `time` package with the `clockwork.Clock` interface instead. + +For example, instead of using `time.Sleep` directly: + +``` +func my_func() { + time.Sleep(3 * time.Second) + do_something() +} +``` + +inject a clock and use its `Sleep` method instead: + +``` +func my_func(clock clockwork.Clock) { + clock.Sleep(3 * time.Second) + do_something() +} +``` + +Now you can easily test `my_func` with a `FakeClock`: + +``` +func TestMyFunc(t *testing.T) { + c := clockwork.NewFakeClock() + + // Start our sleepy function + my_func(c) + + // Ensure we wait until my_func is sleeping + c.BlockUntil(1) + + assert_state() + + // Advance the FakeClock forward in time + c.Advance(3) + + assert_state() +} +``` + +and in production builds, simply inject the real clock instead: +``` +my_func(clockwork.NewRealClock()) +``` + +See [example_test.go](example_test.go) for a full example. + +# Credits + +Inspired by @wickman's [threaded fake clock](https://gist.github.com/wickman/3840816), and the [Golang playground](http://blog.golang.org/playground#Faking time) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/jonboulle/clockwork/clockwork.go b/staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/clockwork.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/jonboulle/clockwork/clockwork.go rename to staging/src/k8s.io/client-go/_vendor/github.com/jonboulle/clockwork/clockwork.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/juju/ratelimit/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/juju/ratelimit/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/README.md new file mode 100644 index 00000000000..a0fdfe2b128 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/README.md @@ -0,0 +1,117 @@ +# ratelimit +-- + import "github.com/juju/ratelimit" + +The ratelimit package provides an efficient token bucket implementation. See +http://en.wikipedia.org/wiki/Token_bucket. + +## Usage + +#### func Reader + +```go +func Reader(r io.Reader, bucket *Bucket) io.Reader +``` +Reader returns a reader that is rate limited by the given token bucket. Each +token in the bucket represents one byte. + +#### func Writer + +```go +func Writer(w io.Writer, bucket *Bucket) io.Writer +``` +Writer returns a writer that is rate limited by the given token bucket. Each +token in the bucket represents one byte. + +#### type Bucket + +```go +type Bucket struct { +} +``` + +Bucket represents a token bucket that fills at a predetermined rate. Methods on +Bucket may be called concurrently. + +#### func NewBucket + +```go +func NewBucket(fillInterval time.Duration, capacity int64) *Bucket +``` +NewBucket returns a new token bucket that fills at the rate of one token every +fillInterval, up to the given maximum capacity. Both arguments must be positive. +The bucket is initially full. + +#### func NewBucketWithQuantum + +```go +func NewBucketWithQuantum(fillInterval time.Duration, capacity, quantum int64) *Bucket +``` +NewBucketWithQuantum is similar to NewBucket, but allows the specification of +the quantum size - quantum tokens are added every fillInterval. + +#### func NewBucketWithRate + +```go +func NewBucketWithRate(rate float64, capacity int64) *Bucket +``` +NewBucketWithRate returns a token bucket that fills the bucket at the rate of +rate tokens per second up to the given maximum capacity. Because of limited +clock resolution, at high rates, the actual rate may be up to 1% different from +the specified rate. + +#### func (*Bucket) Rate + +```go +func (tb *Bucket) Rate() float64 +``` +Rate returns the fill rate of the bucket, in tokens per second. + +#### func (*Bucket) Take + +```go +func (tb *Bucket) Take(count int64) time.Duration +``` +Take takes count tokens from the bucket without blocking. It returns the time +that the caller should wait until the tokens are actually available. + +Note that if the request is irrevocable - there is no way to return tokens to +the bucket once this method commits us to taking them. + +#### func (*Bucket) TakeAvailable + +```go +func (tb *Bucket) TakeAvailable(count int64) int64 +``` +TakeAvailable takes up to count immediately available tokens from the bucket. It +returns the number of tokens removed, or zero if there are no available tokens. +It does not block. + +#### func (*Bucket) TakeMaxDuration + +```go +func (tb *Bucket) TakeMaxDuration(count int64, maxWait time.Duration) (time.Duration, bool) +``` +TakeMaxDuration is like Take, except that it will only take tokens from the +bucket if the wait time for the tokens is no greater than maxWait. + +If it would take longer than maxWait for the tokens to become available, it does +nothing and reports false, otherwise it returns the time that the caller should +wait until the tokens are actually available, and reports true. + +#### func (*Bucket) Wait + +```go +func (tb *Bucket) Wait(count int64) +``` +Wait takes count tokens from the bucket, waiting until they are available. + +#### func (*Bucket) WaitMaxDuration + +```go +func (tb *Bucket) WaitMaxDuration(count int64, maxWait time.Duration) bool +``` +WaitMaxDuration is like Wait except that it will only take tokens from the +bucket if it needs to wait for no greater than maxWait. It reports whether any +tokens have been removed from the bucket If no tokens have been removed, it +returns immediately. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/juju/ratelimit/ratelimit.go b/staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/ratelimit.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/juju/ratelimit/ratelimit.go rename to staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/ratelimit.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/juju/ratelimit/reader.go b/staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/reader.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/juju/ratelimit/reader.go rename to staging/src/k8s.io/client-go/_vendor/github.com/juju/ratelimit/reader.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/buffer/pool.go b/staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/buffer/pool.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/buffer/pool.go rename to staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/buffer/pool.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/jlexer/error.go b/staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/jlexer/error.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/jlexer/error.go rename to staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/jlexer/error.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/jlexer/lexer.go b/staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/jlexer/lexer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/jlexer/lexer.go rename to staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/jlexer/lexer.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/jwriter/writer.go b/staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/jwriter/writer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/mailru/easyjson/jwriter/writer.go rename to staging/src/k8s.io/client-go/_vendor/github.com/mailru/easyjson/jwriter/writer.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/CONTRIBUTORS b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/CONTRIBUTORS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/CONTRIBUTORS rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/CONTRIBUTORS diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/dce.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/dce.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/dce.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/dce.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/hash.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/hash.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/hash.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/hash.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/json.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/json.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/json.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/json.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/node.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/node.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/node.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/node.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/time.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/time.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/time.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/time.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/util.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/util.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/util.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/util.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/uuid.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/uuid.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/uuid.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/uuid.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/version1.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/version1.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/version1.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/version1.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/version4.go b/staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/version4.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/pborman/uuid/version4.go rename to staging/src/k8s.io/client-go/_vendor/github.com/pborman/uuid/version4.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/README.md new file mode 100644 index 00000000000..08ad9456588 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/README.md @@ -0,0 +1,275 @@ +[![Build Status](https://travis-ci.org/spf13/pflag.svg?branch=master)](https://travis-ci.org/spf13/pflag) + +## Description + +pflag is a drop-in replacement for Go's flag package, implementing +POSIX/GNU-style --flags. + +pflag is compatible with the [GNU extensions to the POSIX recommendations +for command-line options][1]. For a more precise description, see the +"Command-line flag syntax" section below. + +[1]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html + +pflag is available under the same style of BSD license as the Go language, +which can be found in the LICENSE file. + +## Installation + +pflag is available using the standard `go get` command. + +Install by running: + + go get github.com/spf13/pflag + +Run tests by running: + + go test github.com/spf13/pflag + +## Usage + +pflag is a drop-in replacement of Go's native flag package. If you import +pflag under the name "flag" then all code should continue to function +with no changes. + +``` go +import flag "github.com/spf13/pflag" +``` + +There is one exception to this: if you directly instantiate the Flag struct +there is one more field "Shorthand" that you will need to set. +Most code never instantiates this struct directly, and instead uses +functions such as String(), BoolVar(), and Var(), and is therefore +unaffected. + +Define flags using flag.String(), Bool(), Int(), etc. + +This declares an integer flag, -flagname, stored in the pointer ip, with type *int. + +``` go +var ip *int = flag.Int("flagname", 1234, "help message for flagname") +``` + +If you like, you can bind the flag to a variable using the Var() functions. + +``` go +var flagvar int +func init() { + flag.IntVar(&flagvar, "flagname", 1234, "help message for flagname") +} +``` + +Or you can create custom flags that satisfy the Value interface (with +pointer receivers) and couple them to flag parsing by + +``` go +flag.Var(&flagVal, "name", "help message for flagname") +``` + +For such flags, the default value is just the initial value of the variable. + +After all flags are defined, call + +``` go +flag.Parse() +``` + +to parse the command line into the defined flags. + +Flags may then be used directly. If you're using the flags themselves, +they are all pointers; if you bind to variables, they're values. + +``` go +fmt.Println("ip has value ", *ip) +fmt.Println("flagvar has value ", flagvar) +``` + +There are helpers function to get values later if you have the FlagSet but +it was difficult to keep up with all of the flag pointers in your code. +If you have a pflag.FlagSet with a flag called 'flagname' of type int you +can use GetInt() to get the int value. But notice that 'flagname' must exist +and it must be an int. GetString("flagname") will fail. + +``` go +i, err := flagset.GetInt("flagname") +``` + +After parsing, the arguments after the flag are available as the +slice flag.Args() or individually as flag.Arg(i). +The arguments are indexed from 0 through flag.NArg()-1. + +The pflag package also defines some new functions that are not in flag, +that give one-letter shorthands for flags. You can use these by appending +'P' to the name of any function that defines a flag. + +``` go +var ip = flag.IntP("flagname", "f", 1234, "help message") +var flagvar bool +func init() { + flag.BoolVarP("boolname", "b", true, "help message") +} +flag.VarP(&flagVar, "varname", "v", 1234, "help message") +``` + +Shorthand letters can be used with single dashes on the command line. +Boolean shorthand flags can be combined with other shorthand flags. + +The default set of command-line flags is controlled by +top-level functions. The FlagSet type allows one to define +independent sets of flags, such as to implement subcommands +in a command-line interface. The methods of FlagSet are +analogous to the top-level functions for the command-line +flag set. + +## Setting no option default values for flags + +After you create a flag it is possible to set the pflag.NoOptDefVal for +the given flag. Doing this changes the meaning of the flag slightly. If +a flag has a NoOptDefVal and the flag is set on the command line without +an option the flag will be set to the NoOptDefVal. For example given: + +``` go +var ip = flag.IntP("flagname", "f", 1234, "help message") +flag.Lookup("flagname").NoOptDefVal = "4321" +``` + +Would result in something like + +| Parsed Arguments | Resulting Value | +| ------------- | ------------- | +| --flagname=1357 | ip=1357 | +| --flagname | ip=4321 | +| [nothing] | ip=1234 | + +## Command line flag syntax + +``` +--flag // boolean flags, or flags with no option default values +--flag x // only on flags without a default value +--flag=x +``` + +Unlike the flag package, a single dash before an option means something +different than a double dash. Single dashes signify a series of shorthand +letters for flags. All but the last shorthand letter must be boolean flags +or a flag with a default value + +``` +// boolean or flags where the 'no option default value' is set +-f +-f=true +-abc +but +-b true is INVALID + +// non-boolean and flags without a 'no option default value' +-n 1234 +-n=1234 +-n1234 + +// mixed +-abcs "hello" +-absd="hello" +-abcs1234 +``` + +Flag parsing stops after the terminator "--". Unlike the flag package, +flags can be interspersed with arguments anywhere on the command line +before this terminator. + +Integer flags accept 1234, 0664, 0x1234 and may be negative. +Boolean flags (in their long form) accept 1, 0, t, f, true, false, +TRUE, FALSE, True, False. +Duration flags accept any input valid for time.ParseDuration. + +## Mutating or "Normalizing" Flag names + +It is possible to set a custom flag name 'normalization function.' It allows flag names to be mutated both when created in the code and when used on the command line to some 'normalized' form. The 'normalized' form is used for comparison. Two examples of using the custom normalization func follow. + +**Example #1**: You want -, _, and . in flags to compare the same. aka --my-flag == --my_flag == --my.flag + +``` go +func wordSepNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName { + from := []string{"-", "_"} + to := "." + for _, sep := range from { + name = strings.Replace(name, sep, to, -1) + } + return pflag.NormalizedName(name) +} + +myFlagSet.SetNormalizeFunc(wordSepNormalizeFunc) +``` + +**Example #2**: You want to alias two flags. aka --old-flag-name == --new-flag-name + +``` go +func aliasNormalizeFunc(f *pflag.FlagSet, name string) pflag.NormalizedName { + switch name { + case "old-flag-name": + name = "new-flag-name" + break + } + return pflag.NormalizedName(name) +} + +myFlagSet.SetNormalizeFunc(aliasNormalizeFunc) +``` + +## Deprecating a flag or its shorthand +It is possible to deprecate a flag, or just its shorthand. Deprecating a flag/shorthand hides it from help text and prints a usage message when the deprecated flag/shorthand is used. + +**Example #1**: You want to deprecate a flag named "badflag" as well as inform the users what flag they should use instead. +```go +// deprecate a flag by specifying its name and a usage message +flags.MarkDeprecated("badflag", "please use --good-flag instead") +``` +This hides "badflag" from help text, and prints `Flag --badflag has been deprecated, please use --good-flag instead` when "badflag" is used. + +**Example #2**: You want to keep a flag name "noshorthandflag" but deprecate its shortname "n". +```go +// deprecate a flag shorthand by specifying its flag name and a usage message +flags.MarkShorthandDeprecated("noshorthandflag", "please use --noshorthandflag only") +``` +This hides the shortname "n" from help text, and prints `Flag shorthand -n has been deprecated, please use --noshorthandflag only` when the shorthand "n" is used. + +Note that usage message is essential here, and it should not be empty. + +## Hidden flags +It is possible to mark a flag as hidden, meaning it will still function as normal, however will not show up in usage/help text. + +**Example**: You have a flag named "secretFlag" that you need for internal use only and don't want it showing up in help text, or for its usage text to be available. +```go +// hide a flag by specifying its name +flags.MarkHidden("secretFlag") +``` + +## Supporting Go flags when using pflag +In order to support flags defined using Go's `flag` package, they must be added to the `pflag` flagset. This is usually necessary +to support flags defined by third-party dependencies (e.g. `golang/glog`). + +**Example**: You want to add the Go flags to the `CommandLine` flagset +```go +import ( + goflag "flag" + flag "github.com/spf13/pflag" +) + +var ip *int = flag.Int("flagname", 1234, "help message for flagname") + +func main() { + flag.CommandLine.AddGoFlagSet(goflag.CommandLine) + flag.Parse() +} +``` + +## More info + +You can see the full reference documentation of the pflag package +[at godoc.org][3], or through go's standard documentation system by +running `godoc -http=:6060` and browsing to +[http://localhost:6060/pkg/github.com/ogier/pflag][2] after +installation. + +[2]: http://localhost:6060/pkg/github.com/ogier/pflag +[3]: http://godoc.org/github.com/ogier/pflag diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/bool.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/bool.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/bool.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/bool.go index d272e40bddc..c4c5c0bfda0 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/bool.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/bool.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // optional interface to indicate boolean flags that can be // supplied without "=value" text @@ -30,7 +27,7 @@ func (b *boolValue) Type() string { return "bool" } -func (b *boolValue) String() string { return fmt.Sprintf("%v", *b) } +func (b *boolValue) String() string { return strconv.FormatBool(bool(*b)) } func (b *boolValue) IsBoolFlag() bool { return true } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/count.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/count.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/count.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/count.go index 7b1f142e78a..d22be41f29f 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/count.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/count.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- count Value type countValue int @@ -28,7 +25,7 @@ func (i *countValue) Type() string { return "count" } -func (i *countValue) String() string { return fmt.Sprintf("%v", *i) } +func (i *countValue) String() string { return strconv.Itoa(int(*i)) } func countConv(sval string) (interface{}, error) { i, err := strconv.Atoi(sval) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/duration.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/duration.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/duration.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/duration.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/flag.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/flag.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/flag.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/flag.go index 965df13797a..b0b0d46f7ff 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/flag.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/flag.go @@ -419,20 +419,36 @@ func (f *FlagSet) PrintDefaults() { fmt.Fprintf(f.out(), "%s", usages) } -// isZeroValue guesses whether the string represents the zero -// value for a flag. It is not accurate but in practice works OK. -func isZeroValue(value string) bool { - switch value { - case "false": - return true - case "": - return true - case "": - return true - case "0": - return true +// defaultIsZeroValue returns true if the default value for this flag represents +// a zero value. +func (f *Flag) defaultIsZeroValue() bool { + switch f.Value.(type) { + case boolFlag: + return f.DefValue == "false" + case *durationValue: + // Beginning in Go 1.7, duration zero values are "0s" + return f.DefValue == "0" || f.DefValue == "0s" + case *intValue, *int8Value, *int32Value, *int64Value, *uintValue, *uint8Value, *uint16Value, *uint32Value, *uint64Value, *countValue, *float32Value, *float64Value: + return f.DefValue == "0" + case *stringValue: + return f.DefValue == "" + case *ipValue, *ipMaskValue, *ipNetValue: + return f.DefValue == "" + case *intSliceValue, *stringSliceValue, *stringArrayValue: + return f.DefValue == "[]" + default: + switch f.Value.String() { + case "false": + return true + case "": + return true + case "": + return true + case "0": + return true + } + return false } - return false } // UnquoteUsage extracts a back-quoted name from the usage @@ -455,22 +471,19 @@ func UnquoteUsage(flag *Flag) (name string, usage string) { break // Only one back quote; use type name. } } - // No explicit name, so use type if we can find one. - name = "value" - switch flag.Value.(type) { - case boolFlag: + + name = flag.Value.Type() + switch name { + case "bool": name = "" - case *durationValue: - name = "duration" - case *float64Value: + case "float64": name = "float" - case *intValue, *int64Value: + case "int64": name = "int" - case *stringValue: - name = "string" - case *uintValue, *uint64Value: + case "uint64": name = "uint" } + return } @@ -519,7 +532,7 @@ func (f *FlagSet) FlagUsages() string { } line += usage - if !isZeroValue(flag.DefValue) { + if !flag.defaultIsZeroValue() { if flag.Value.Type() == "string" { line += fmt.Sprintf(" (default %q)", flag.DefValue) } else { diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/float32.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/float32.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/float32.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/float32.go index 7683fae1b14..a243f81f7fb 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/float32.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/float32.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- float32 Value type float32Value float32 @@ -23,7 +20,7 @@ func (f *float32Value) Type() string { return "float32" } -func (f *float32Value) String() string { return fmt.Sprintf("%v", *f) } +func (f *float32Value) String() string { return strconv.FormatFloat(float64(*f), 'g', -1, 32) } func float32Conv(sval string) (interface{}, error) { v, err := strconv.ParseFloat(sval, 32) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/float64.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/float64.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/float64.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/float64.go index 50fbf8cc1a1..04b5492a7d3 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/float64.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/float64.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- float64 Value type float64Value float64 @@ -23,7 +20,7 @@ func (f *float64Value) Type() string { return "float64" } -func (f *float64Value) String() string { return fmt.Sprintf("%v", *f) } +func (f *float64Value) String() string { return strconv.FormatFloat(float64(*f), 'g', -1, 64) } func float64Conv(sval string) (interface{}, error) { return strconv.ParseFloat(sval, 64) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/golangflag.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/golangflag.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/golangflag.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/golangflag.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int.go index b6560368a91..1474b89df66 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- int Value type intValue int @@ -23,7 +20,7 @@ func (i *intValue) Type() string { return "int" } -func (i *intValue) String() string { return fmt.Sprintf("%v", *i) } +func (i *intValue) String() string { return strconv.Itoa(int(*i)) } func intConv(sval string) (interface{}, error) { return strconv.Atoi(sval) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int32.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int32.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int32.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int32.go index 41659a9aff3..9b95944f0fe 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int32.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int32.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- int32 Value type int32Value int32 @@ -23,7 +20,7 @@ func (i *int32Value) Type() string { return "int32" } -func (i *int32Value) String() string { return fmt.Sprintf("%v", *i) } +func (i *int32Value) String() string { return strconv.FormatInt(int64(*i), 10) } func int32Conv(sval string) (interface{}, error) { v, err := strconv.ParseInt(sval, 0, 32) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int64.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int64.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int64.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int64.go index 6e67e380f46..0026d781d9f 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int64.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int64.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- int64 Value type int64Value int64 @@ -23,7 +20,7 @@ func (i *int64Value) Type() string { return "int64" } -func (i *int64Value) String() string { return fmt.Sprintf("%v", *i) } +func (i *int64Value) String() string { return strconv.FormatInt(int64(*i), 10) } func int64Conv(sval string) (interface{}, error) { return strconv.ParseInt(sval, 0, 64) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int8.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int8.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int8.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int8.go index 400db21f5e9..4da92228e63 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int8.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int8.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- int8 Value type int8Value int8 @@ -23,7 +20,7 @@ func (i *int8Value) Type() string { return "int8" } -func (i *int8Value) String() string { return fmt.Sprintf("%v", *i) } +func (i *int8Value) String() string { return strconv.FormatInt(int64(*i), 10) } func int8Conv(sval string) (interface{}, error) { v, err := strconv.ParseInt(sval, 0, 8) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int_slice.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int_slice.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/int_slice.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/int_slice.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/ip.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/ip.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/ip.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/ip.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/ipmask.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/ipmask.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/ipmask.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/ipmask.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/ipnet.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/ipnet.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/ipnet.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/ipnet.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/string.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/string.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string.go index e296136e5b8..04e0a26ff7f 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/string.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string.go @@ -1,7 +1,5 @@ package pflag -import "fmt" - // -- string Value type stringValue string @@ -18,7 +16,7 @@ func (s *stringValue) Type() string { return "string" } -func (s *stringValue) String() string { return fmt.Sprintf("%s", *s) } +func (s *stringValue) String() string { return string(*s) } func stringConv(sval string) (interface{}, error) { return sval, nil diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_array.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_array.go new file mode 100644 index 00000000000..f320f2ece36 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_array.go @@ -0,0 +1,110 @@ +package pflag + +import ( + "fmt" + "strings" +) + +var _ = fmt.Fprint + +// -- stringArray Value +type stringArrayValue struct { + value *[]string + changed bool +} + +func newStringArrayValue(val []string, p *[]string) *stringArrayValue { + ssv := new(stringArrayValue) + ssv.value = p + *ssv.value = val + return ssv +} + +func (s *stringArrayValue) Set(val string) error { + if !s.changed { + *s.value = []string{val} + s.changed = true + } else { + *s.value = append(*s.value, val) + } + return nil +} + +func (s *stringArrayValue) Type() string { + return "stringArray" +} + +func (s *stringArrayValue) String() string { + str, _ := writeAsCSV(*s.value) + return "[" + str + "]" +} + +func stringArrayConv(sval string) (interface{}, error) { + sval = strings.Trim(sval, "[]") + // An empty string would cause a array with one (empty) string + if len(sval) == 0 { + return []string{}, nil + } + return readAsCSV(sval) +} + +// GetStringArray return the []string value of a flag with the given name +func (f *FlagSet) GetStringArray(name string) ([]string, error) { + val, err := f.getFlagType(name, "stringArray", stringArrayConv) + if err != nil { + return []string{}, err + } + return val.([]string), nil +} + +// StringArrayVar defines a string flag with specified name, default value, and usage string. +// The argument p points to a []string variable in which to store the values of the multiple flags. +// The value of each argument will not try to be separated by comma +func (f *FlagSet) StringArrayVar(p *[]string, name string, value []string, usage string) { + f.VarP(newStringArrayValue(value, p), name, "", usage) +} + +// StringArrayVarP is like StringArrayVar, but accepts a shorthand letter that can be used after a single dash. +func (f *FlagSet) StringArrayVarP(p *[]string, name, shorthand string, value []string, usage string) { + f.VarP(newStringArrayValue(value, p), name, shorthand, usage) +} + +// StringArrayVar defines a string flag with specified name, default value, and usage string. +// The argument p points to a []string variable in which to store the value of the flag. +// The value of each argument will not try to be separated by comma +func StringArrayVar(p *[]string, name string, value []string, usage string) { + CommandLine.VarP(newStringArrayValue(value, p), name, "", usage) +} + +// StringArrayVarP is like StringArrayVar, but accepts a shorthand letter that can be used after a single dash. +func StringArrayVarP(p *[]string, name, shorthand string, value []string, usage string) { + CommandLine.VarP(newStringArrayValue(value, p), name, shorthand, usage) +} + +// StringArray defines a string flag with specified name, default value, and usage string. +// The return value is the address of a []string variable that stores the value of the flag. +// The value of each argument will not try to be separated by comma +func (f *FlagSet) StringArray(name string, value []string, usage string) *[]string { + p := []string{} + f.StringArrayVarP(&p, name, "", value, usage) + return &p +} + +// StringArrayP is like StringArray, but accepts a shorthand letter that can be used after a single dash. +func (f *FlagSet) StringArrayP(name, shorthand string, value []string, usage string) *[]string { + p := []string{} + f.StringArrayVarP(&p, name, shorthand, value, usage) + return &p +} + +// StringArray defines a string flag with specified name, default value, and usage string. +// The return value is the address of a []string variable that stores the value of the flag. +// The value of each argument will not try to be separated by comma +func StringArray(name string, value []string, usage string) *[]string { + return CommandLine.StringArrayP(name, "", value, usage) +} + +// StringArrayP is like StringArray, but accepts a shorthand letter that can be used after a single dash. +func StringArrayP(name, shorthand string, value []string, usage string) *[]string { + return CommandLine.StringArrayP(name, shorthand, value, usage) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/string_slice.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_slice.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/string_slice.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_slice.go index b53648b2e52..51e3c5d2238 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/string_slice.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/string_slice.go @@ -1,6 +1,7 @@ package pflag import ( + "bytes" "encoding/csv" "fmt" "strings" @@ -21,10 +22,28 @@ func newStringSliceValue(val []string, p *[]string) *stringSliceValue { return ssv } -func (s *stringSliceValue) Set(val string) error { +func readAsCSV(val string) ([]string, error) { + if val == "" { + return []string{}, nil + } stringReader := strings.NewReader(val) csvReader := csv.NewReader(stringReader) - v, err := csvReader.Read() + return csvReader.Read() +} + +func writeAsCSV(vals []string) (string, error) { + b := &bytes.Buffer{} + w := csv.NewWriter(b) + err := w.Write(vals) + if err != nil { + return "", err + } + w.Flush() + return strings.TrimSuffix(b.String(), fmt.Sprintln()), nil +} + +func (s *stringSliceValue) Set(val string) error { + v, err := readAsCSV(val) if err != nil { return err } @@ -41,7 +60,10 @@ func (s *stringSliceValue) Type() string { return "stringSlice" } -func (s *stringSliceValue) String() string { return "[" + strings.Join(*s.value, ",") + "]" } +func (s *stringSliceValue) String() string { + str, _ := writeAsCSV(*s.value) + return "[" + str + "]" +} func stringSliceConv(sval string) (interface{}, error) { sval = strings.Trim(sval, "[]") @@ -49,8 +71,7 @@ func stringSliceConv(sval string) (interface{}, error) { if len(sval) == 0 { return []string{}, nil } - v := strings.Split(sval, ",") - return v, nil + return readAsCSV(sval) } // GetStringSlice return the []string value of a flag with the given name diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint.go index e142b49964e..dcbc2b758c3 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- uint Value type uintValue uint @@ -23,7 +20,7 @@ func (i *uintValue) Type() string { return "uint" } -func (i *uintValue) String() string { return fmt.Sprintf("%v", *i) } +func (i *uintValue) String() string { return strconv.FormatUint(uint64(*i), 10) } func uintConv(sval string) (interface{}, error) { v, err := strconv.ParseUint(sval, 0, 0) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint16.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint16.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint16.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint16.go index 5c96c19dcf4..7e9914eddde 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint16.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint16.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- uint16 value type uint16Value uint16 @@ -12,7 +9,7 @@ func newUint16Value(val uint16, p *uint16) *uint16Value { *p = val return (*uint16Value)(p) } -func (i *uint16Value) String() string { return fmt.Sprintf("%d", *i) } + func (i *uint16Value) Set(s string) error { v, err := strconv.ParseUint(s, 0, 16) *i = uint16Value(v) @@ -23,6 +20,8 @@ func (i *uint16Value) Type() string { return "uint16" } +func (i *uint16Value) String() string { return strconv.FormatUint(uint64(*i), 10) } + func uint16Conv(sval string) (interface{}, error) { v, err := strconv.ParseUint(sval, 0, 16) if err != nil { diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint32.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint32.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint32.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint32.go index 294fcaa32df..d8024539bf6 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint32.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint32.go @@ -1,18 +1,15 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" -// -- uint16 value +// -- uint32 value type uint32Value uint32 func newUint32Value(val uint32, p *uint32) *uint32Value { *p = val return (*uint32Value)(p) } -func (i *uint32Value) String() string { return fmt.Sprintf("%d", *i) } + func (i *uint32Value) Set(s string) error { v, err := strconv.ParseUint(s, 0, 32) *i = uint32Value(v) @@ -23,6 +20,8 @@ func (i *uint32Value) Type() string { return "uint32" } +func (i *uint32Value) String() string { return strconv.FormatUint(uint64(*i), 10) } + func uint32Conv(sval string) (interface{}, error) { v, err := strconv.ParseUint(sval, 0, 32) if err != nil { diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint64.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint64.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint64.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint64.go index c68188505a6..f62240f2cea 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint64.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint64.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- uint64 Value type uint64Value uint64 @@ -23,7 +20,7 @@ func (i *uint64Value) Type() string { return "uint64" } -func (i *uint64Value) String() string { return fmt.Sprintf("%v", *i) } +func (i *uint64Value) String() string { return strconv.FormatUint(uint64(*i), 10) } func uint64Conv(sval string) (interface{}, error) { v, err := strconv.ParseUint(sval, 0, 64) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint8.go b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint8.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint8.go rename to staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint8.go index 26db418adf6..bb0e83c1f6d 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/spf13/pflag/uint8.go +++ b/staging/src/k8s.io/client-go/_vendor/github.com/spf13/pflag/uint8.go @@ -1,9 +1,6 @@ package pflag -import ( - "fmt" - "strconv" -) +import "strconv" // -- uint8 Value type uint8Value uint8 @@ -23,7 +20,7 @@ func (i *uint8Value) Type() string { return "uint8" } -func (i *uint8Value) String() string { return fmt.Sprintf("%v", *i) } +func (i *uint8Value) String() string { return strconv.FormatUint(uint64(*i), 10) } func uint8Conv(sval string) (interface{}, error) { v, err := strconv.ParseUint(sval, 0, 8) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/LICENSE b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/LICENSE rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/0doc.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/0doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/0doc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/0doc.go diff --git a/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/README.md b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/README.md new file mode 100644 index 00000000000..a790a52bb98 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/README.md @@ -0,0 +1,148 @@ +# Codec + +High Performance, Feature-Rich Idiomatic Go codec/encoding library for +binc, msgpack, cbor, json. + +Supported Serialization formats are: + + - msgpack: https://github.com/msgpack/msgpack + - binc: http://github.com/ugorji/binc + - cbor: http://cbor.io http://tools.ietf.org/html/rfc7049 + - json: http://json.org http://tools.ietf.org/html/rfc7159 + - simple: + +To install: + + go get github.com/ugorji/go/codec + +This package understands the `unsafe` tag, to allow using unsafe semantics: + + - When decoding into a struct, you need to read the field name as a string + so you can find the struct field it is mapped to. + Using `unsafe` will bypass the allocation and copying overhead of `[]byte->string` conversion. + +To use it, you must pass the `unsafe` tag during install: + +``` +go install -tags=unsafe github.com/ugorji/go/codec +``` + +Online documentation: http://godoc.org/github.com/ugorji/go/codec +Detailed Usage/How-to Primer: http://ugorji.net/blog/go-codec-primer + +The idiomatic Go support is as seen in other encoding packages in +the standard library (ie json, xml, gob, etc). + +Rich Feature Set includes: + + - Simple but extremely powerful and feature-rich API + - Very High Performance. + Our extensive benchmarks show us outperforming Gob, Json, Bson, etc by 2-4X. + - Multiple conversions: + Package coerces types where appropriate + e.g. decode an int in the stream into a float, etc. + - Corner Cases: + Overflows, nil maps/slices, nil values in streams are handled correctly + - Standard field renaming via tags + - Support for omitting empty fields during an encoding + - Encoding from any value and decoding into pointer to any value + (struct, slice, map, primitives, pointers, interface{}, etc) + - Extensions to support efficient encoding/decoding of any named types + - Support encoding.(Binary|Text)(M|Unm)arshaler interfaces + - Decoding without a schema (into a interface{}). + Includes Options to configure what specific map or slice type to use + when decoding an encoded list or map into a nil interface{} + - Encode a struct as an array, and decode struct from an array in the data stream + - Comprehensive support for anonymous fields + - Fast (no-reflection) encoding/decoding of common maps and slices + - Code-generation for faster performance. + - Support binary (e.g. messagepack, cbor) and text (e.g. json) formats + - Support indefinite-length formats to enable true streaming + (for formats which support it e.g. json, cbor) + - Support canonical encoding, where a value is ALWAYS encoded as same sequence of bytes. + This mostly applies to maps, where iteration order is non-deterministic. + - NIL in data stream decoded as zero value + - Never silently skip data when decoding. + User decides whether to return an error or silently skip data when keys or indexes + in the data stream do not map to fields in the struct. + - Encode/Decode from/to chan types (for iterative streaming support) + - Drop-in replacement for encoding/json. `json:` key in struct tag supported. + - Provides a RPC Server and Client Codec for net/rpc communication protocol. + - Handle unique idiosynchracies of codecs e.g. + - For messagepack, configure how ambiguities in handling raw bytes are resolved + - For messagepack, provide rpc server/client codec to support + msgpack-rpc protocol defined at: + https://github.com/msgpack-rpc/msgpack-rpc/blob/master/spec.md + +## Extension Support + +Users can register a function to handle the encoding or decoding of +their custom types. + +There are no restrictions on what the custom type can be. Some examples: + + type BisSet []int + type BitSet64 uint64 + type UUID string + type MyStructWithUnexportedFields struct { a int; b bool; c []int; } + type GifImage struct { ... } + +As an illustration, MyStructWithUnexportedFields would normally be +encoded as an empty map because it has no exported fields, while UUID +would be encoded as a string. However, with extension support, you can +encode any of these however you like. + +## RPC + +RPC Client and Server Codecs are implemented, so the codecs can be used +with the standard net/rpc package. + +## Usage + +Typical usage model: + + // create and configure Handle + var ( + bh codec.BincHandle + mh codec.MsgpackHandle + ch codec.CborHandle + ) + + mh.MapType = reflect.TypeOf(map[string]interface{}(nil)) + + // configure extensions + // e.g. for msgpack, define functions and enable Time support for tag 1 + // mh.SetExt(reflect.TypeOf(time.Time{}), 1, myExt) + + // create and use decoder/encoder + var ( + r io.Reader + w io.Writer + b []byte + h = &bh // or mh to use msgpack + ) + + dec = codec.NewDecoder(r, h) + dec = codec.NewDecoderBytes(b, h) + err = dec.Decode(&v) + + enc = codec.NewEncoder(w, h) + enc = codec.NewEncoderBytes(&b, h) + err = enc.Encode(v) + + //RPC Server + go func() { + for { + conn, err := listener.Accept() + rpcCodec := codec.GoRpc.ServerCodec(conn, h) + //OR rpcCodec := codec.MsgpackSpecRpc.ServerCodec(conn, h) + rpc.ServeCodec(rpcCodec) + } + }() + + //RPC Communication (client side) + conn, err = net.Dial("tcp", "localhost:5555") + rpcCodec := codec.GoRpc.ClientCodec(conn, h) + //OR rpcCodec := codec.MsgpackSpecRpc.ClientCodec(conn, h) + client := rpc.NewClientWithCodec(rpcCodec) + diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/binc.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/binc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/binc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/binc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/cbor.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/cbor.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/cbor.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/cbor.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/decode.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/decode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/decode.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/decode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/encode.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/encode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/encode.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/encode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/fast-path.generated.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/fast-path.generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/fast-path.generated.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/fast-path.generated.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/fast-path.go.tmpl b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/fast-path.go.tmpl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/fast-path.go.tmpl rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/fast-path.go.tmpl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/fast-path.not.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/fast-path.not.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/fast-path.not.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/fast-path.not.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-dec-array.go.tmpl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-dec-map.go.tmpl b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-dec-map.go.tmpl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-dec-map.go.tmpl rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-dec-map.go.tmpl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-helper.generated.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-helper.generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-helper.generated.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-helper.generated.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen-helper.go.tmpl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen.generated.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen.generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen.generated.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen.generated.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/gen.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/gen.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper_internal.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper_internal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper_internal.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper_internal.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper_not_unsafe.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper_not_unsafe.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper_not_unsafe.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper_not_unsafe.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper_unsafe.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper_unsafe.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/helper_unsafe.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/helper_unsafe.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/json.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/json.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/json.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/json.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/msgpack.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/msgpack.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/msgpack.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/msgpack.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/noop.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/noop.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/noop.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/noop.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/prebuild.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/prebuild.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/prebuild.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/prebuild.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/rpc.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/rpc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/rpc.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/rpc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/simple.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/simple.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/simple.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/simple.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/test.py b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/test.py similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/test.py rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/test.py diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/time.go b/staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/time.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/github.com/ugorji/go/codec/time.go rename to staging/src/k8s.io/client-go/_vendor/github.com/ugorji/go/codec/time.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/LICENSE b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/LICENSE rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/PATENTS b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/PATENTS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/PATENTS rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/PATENTS diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/terminal.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/terminal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/terminal.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/terminal.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util_linux.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util_linux.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util_linux.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util_linux.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util_windows.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util_windows.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/crypto/ssh/terminal/util_windows.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/crypto/ssh/terminal/util_windows.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/LICENSE b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/LICENSE rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/PATENTS b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/PATENTS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/PATENTS rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/PATENTS diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/context.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/context.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/context.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/context.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/ctxhttp/ctxhttp_pre17.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/go17.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/go17.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/go17.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/go17.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/pre_go17.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/pre_go17.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/context/pre_go17.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/context/pre_go17.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/.gitignore b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/.gitignore similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/.gitignore rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/.gitignore diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/Dockerfile b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/Dockerfile similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/Dockerfile rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/Dockerfile diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/Makefile b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/Makefile similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/Makefile rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/Makefile diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/README b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/README similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/README rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/README diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/client_conn_pool.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/client_conn_pool.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/client_conn_pool.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/client_conn_pool.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/configure_transport.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/configure_transport.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/configure_transport.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/configure_transport.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/errors.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/errors.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/errors.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/errors.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/fixed_buffer.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/fixed_buffer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/fixed_buffer.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/fixed_buffer.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/flow.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/flow.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/flow.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/flow.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/frame.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/frame.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/frame.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/frame.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/go16.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/go16.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/go16.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/go16.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/go17.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/go17.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/go17.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/go17.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/gotrack.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/gotrack.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/gotrack.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/gotrack.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/headermap.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/headermap.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/headermap.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/headermap.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/encode.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/encode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/encode.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/encode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/hpack.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/hpack.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/hpack.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/hpack.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/huffman.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/huffman.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/huffman.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/huffman.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/hpack/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/hpack/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/http2.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/http2.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/http2.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/http2.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/not_go16.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/not_go16.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/not_go16.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/not_go16.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/not_go17.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/not_go17.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/not_go17.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/not_go17.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/pipe.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/pipe.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/pipe.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/pipe.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/server.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/server.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/server.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/server.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/transport.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/transport.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/transport.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/transport.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/write.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/write.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/write.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/write.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/writesched.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/writesched.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/http2/writesched.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/http2/writesched.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/idna/idna.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/idna/idna.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/idna/idna.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/idna/idna.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/idna/punycode.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/idna/punycode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/idna/punycode.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/idna/punycode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/lex/httplex/httplex.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/net/lex/httplex/httplex.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/net/lex/httplex/httplex.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/net/lex/httplex/httplex.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/AUTHORS b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/AUTHORS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/AUTHORS rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/AUTHORS diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/CONTRIBUTING.md b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/CONTRIBUTING.md similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/CONTRIBUTING.md rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/CONTRIBUTING.md diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/CONTRIBUTORS b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/CONTRIBUTORS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/CONTRIBUTORS rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/CONTRIBUTORS diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/LICENSE b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/LICENSE rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/README.md b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/README.md new file mode 100644 index 00000000000..1643c08ef87 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/README.md @@ -0,0 +1,65 @@ +# OAuth2 for Go + +[![Build Status](https://travis-ci.org/golang/oauth2.svg?branch=master)](https://travis-ci.org/golang/oauth2) +[![GoDoc](https://godoc.org/golang.org/x/oauth2?status.svg)](https://godoc.org/golang.org/x/oauth2) + +oauth2 package contains a client implementation for OAuth 2.0 spec. + +## Installation + +~~~~ +go get golang.org/x/oauth2 +~~~~ + +See godoc for further documentation and examples. + +* [godoc.org/golang.org/x/oauth2](http://godoc.org/golang.org/x/oauth2) +* [godoc.org/golang.org/x/oauth2/google](http://godoc.org/golang.org/x/oauth2/google) + + +## App Engine + +In change 96e89be (March 2015) we removed the `oauth2.Context2` type in favor +of the [`context.Context`](https://golang.org/x/net/context#Context) type from +the `golang.org/x/net/context` package + +This means its no longer possible to use the "Classic App Engine" +`appengine.Context` type with the `oauth2` package. (You're using +Classic App Engine if you import the package `"appengine"`.) + +To work around this, you may use the new `"google.golang.org/appengine"` +package. This package has almost the same API as the `"appengine"` package, +but it can be fetched with `go get` and used on "Managed VMs" and well as +Classic App Engine. + +See the [new `appengine` package's readme](https://github.com/golang/appengine#updating-a-go-app-engine-app) +for information on updating your app. + +If you don't want to update your entire app to use the new App Engine packages, +you may use both sets of packages in parallel, using only the new packages +with the `oauth2` package. + + import ( + "golang.org/x/net/context" + "golang.org/x/oauth2" + "golang.org/x/oauth2/google" + newappengine "google.golang.org/appengine" + newurlfetch "google.golang.org/appengine/urlfetch" + + "appengine" + ) + + func handler(w http.ResponseWriter, r *http.Request) { + var c appengine.Context = appengine.NewContext(r) + c.Infof("Logging a message with the old package") + + var ctx context.Context = newappengine.NewContext(r) + client := &http.Client{ + Transport: &oauth2.Transport{ + Source: google.AppEngineTokenSource(ctx, "scope"), + Base: &newurlfetch.Transport{Context: ctx}, + }, + } + client.Get("...") + } + diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/client_appengine.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/client_appengine.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/client_appengine.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/client_appengine.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/appengine.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/appengine.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/appengine.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/appengine.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/appengine_hook.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/appengine_hook.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/appengine_hook.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/appengine_hook.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/appenginevm_hook.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/appenginevm_hook.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/appenginevm_hook.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/appenginevm_hook.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/default.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/default.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/default.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/default.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/google.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/google.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/google.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/google.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/jwt.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/jwt.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/jwt.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/jwt.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/sdk.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/sdk.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/google/sdk.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/google/sdk.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/internal/oauth2.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/internal/oauth2.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/internal/oauth2.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/internal/oauth2.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/internal/token.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/internal/token.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/internal/token.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/internal/token.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/internal/transport.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/internal/transport.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/internal/transport.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/internal/transport.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/jws/jws.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/jws/jws.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/jws/jws.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/jws/jws.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/jwt/jwt.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/jwt/jwt.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/jwt/jwt.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/jwt/jwt.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/oauth2.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/oauth2.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/oauth2.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/oauth2.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/token.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/token.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/token.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/token.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/transport.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/transport.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/oauth2/transport.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/oauth2/transport.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/LICENSE b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/LICENSE rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/PATENTS b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/PATENTS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/PATENTS rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/PATENTS diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/.gitignore b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/.gitignore new file mode 100644 index 00000000000..e482715909b --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/.gitignore @@ -0,0 +1 @@ +_obj/ diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_386.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_386.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_386.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_386.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_amd64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_arm.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_arm.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_arm.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_arm.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_arm64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_arm64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_darwin_arm64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_darwin_arm64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_freebsd_386.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_freebsd_386.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_freebsd_386.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_freebsd_386.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_freebsd_arm.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_freebsd_arm.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_freebsd_arm.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_freebsd_arm.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_386.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_386.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_386.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_386.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_amd64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_arm.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_arm.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_arm.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_arm.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_arm64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_arm64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_arm64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_arm64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_dragonfly_386.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_mips64x.s similarity index 56% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_dragonfly_386.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_mips64x.s index 7e55e0d3175..724e580c4ea 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_dragonfly_386.s +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_mips64x.s @@ -1,29 +1,28 @@ -// Copyright 2009 The Go Authors. All rights reserved. +// Copyright 2015 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +// +build linux +// +build mips64 mips64le // +build !gccgo #include "textflag.h" // -// System call support for 386, FreeBSD +// System calls for mips64, Linux // // Just jump to package syscall's implementation for all these functions. // The runtime may know about them. -TEXT ·Syscall(SB),NOSPLIT,$0-32 +TEXT ·Syscall(SB),NOSPLIT,$0-56 JMP syscall·Syscall(SB) -TEXT ·Syscall6(SB),NOSPLIT,$0-44 +TEXT ·Syscall6(SB),NOSPLIT,$0-80 JMP syscall·Syscall6(SB) -TEXT ·Syscall9(SB),NOSPLIT,$0-56 - JMP syscall·Syscall9(SB) - -TEXT ·RawSyscall(SB),NOSPLIT,$0-32 +TEXT ·RawSyscall(SB),NOSPLIT,$0-56 JMP syscall·RawSyscall(SB) -TEXT ·RawSyscall6(SB),NOSPLIT,$0-44 +TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 JMP syscall·RawSyscall6(SB) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_ppc64x.s diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_s390x.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_s390x.s new file mode 100644 index 00000000000..11889859fb0 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_linux_s390x.s @@ -0,0 +1,28 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build s390x +// +build linux +// +build !gccgo + +#include "textflag.h" + +// +// System calls for s390x, Linux +// + +// Just jump to package syscall's implementation for all these functions. +// The runtime may know about them. + +TEXT ·Syscall(SB),NOSPLIT,$0-56 + BR syscall·Syscall(SB) + +TEXT ·Syscall6(SB),NOSPLIT,$0-80 + BR syscall·Syscall6(SB) + +TEXT ·RawSyscall(SB),NOSPLIT,$0-56 + BR syscall·RawSyscall(SB) + +TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 + BR syscall·RawSyscall6(SB) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_netbsd_386.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_netbsd_386.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_netbsd_386.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_netbsd_386.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_netbsd_arm.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_netbsd_arm.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_netbsd_arm.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_netbsd_arm.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_openbsd_386.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_openbsd_386.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_openbsd_386.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_openbsd_386.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_solaris_amd64.s b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_solaris_amd64.s similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/asm_solaris_amd64.s rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/asm_solaris_amd64.s diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/bluetooth_linux.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/bluetooth_linux.go new file mode 100644 index 00000000000..6e322969706 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/bluetooth_linux.go @@ -0,0 +1,35 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Bluetooth sockets and messages + +package unix + +// Bluetooth Protocols +const ( + BTPROTO_L2CAP = 0 + BTPROTO_HCI = 1 + BTPROTO_SCO = 2 + BTPROTO_RFCOMM = 3 + BTPROTO_BNEP = 4 + BTPROTO_CMTP = 5 + BTPROTO_HIDP = 6 + BTPROTO_AVDTP = 7 +) + +const ( + HCI_CHANNEL_RAW = 0 + HCI_CHANNEL_USER = 1 + HCI_CHANNEL_MONITOR = 2 + HCI_CHANNEL_CONTROL = 3 +) + +// Socketoption Level +const ( + SOL_BLUETOOTH = 0x112 + SOL_HCI = 0x0 + SOL_L2CAP = 0x6 + SOL_RFCOMM = 0x12 + SOL_SCO = 0x11 +) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/constants.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/constants.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/constants.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/constants.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/env_unix.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/env_unix.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/env_unix.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/env_unix.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/env_unset.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/env_unset.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/env_unset.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/env_unset.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/flock.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/flock.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/flock.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/flock.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/flock_linux_32bit.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/flock_linux_32bit.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/flock_linux_32bit.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/flock_linux_32bit.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/gccgo.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/gccgo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/gccgo.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/gccgo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/gccgo_c.c b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/gccgo_c.c similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/gccgo_c.c rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/gccgo_c.c diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/gccgo_linux_amd64.go diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mkpost.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mkpost.go new file mode 100644 index 00000000000..ed50d902af5 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mkpost.go @@ -0,0 +1,62 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build ignore + +// mkpost processes the output of cgo -godefs to +// modify the generated types. It is used to clean up +// the sys API in an architecture specific manner. +// +// mkpost is run after cgo -godefs by mkall.sh. +package main + +import ( + "fmt" + "go/format" + "io/ioutil" + "log" + "os" + "regexp" +) + +func main() { + b, err := ioutil.ReadAll(os.Stdin) + if err != nil { + log.Fatal(err) + } + s := string(b) + + goarch := os.Getenv("GOARCH") + goos := os.Getenv("GOOS") + if goarch == "s390x" && goos == "linux" { + // Export the types of PtraceRegs fields. + re := regexp.MustCompile("ptrace(Psw|Fpregs|Per)") + s = re.ReplaceAllString(s, "Ptrace$1") + + // Replace padding fields inserted by cgo with blank identifiers. + re = regexp.MustCompile("Pad_cgo[A-Za-z0-9_]*") + s = re.ReplaceAllString(s, "_") + + // Replace other unwanted fields with blank identifiers. + re = regexp.MustCompile("X_[A-Za-z0-9_]*") + s = re.ReplaceAllString(s, "_") + + // Replace the control_regs union with a blank identifier for now. + re = regexp.MustCompile("(Control_regs)\\s+\\[0\\]uint64") + s = re.ReplaceAllString(s, "_ [0]uint64") + } + + // gofmt + b, err = format.Source([]byte(s)) + if err != nil { + log.Fatal(err) + } + + // Append this command to the header to show where the new file + // came from. + re := regexp.MustCompile("(cgo -godefs [a-zA-Z0-9_]+\\.go.*)") + b = re.ReplaceAll(b, []byte("$1 | go run mkpost.go")) + + fmt.Printf("%s", b) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksyscall.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksyscall.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksyscall.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksyscall.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl index f17b6125b51..06bade76877 100755 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksyscall_solaris.pl @@ -110,9 +110,9 @@ while(<>) { $sysname =~ y/A-Z/a-z/; # All libc functions are lowercase. # Runtime import of function to allow cross-platform builds. - $dynimports .= "//go:cgo_import_dynamic ${modname}_${sysname} ${sysname} \"$modname.so\"\n"; + $dynimports .= "//go:cgo_import_dynamic libc_${sysname} ${sysname} \"$modname.so\"\n"; # Link symbol to proc address variable. - $linknames .= "//go:linkname ${sysvarname} ${modname}_${sysname}\n"; + $linknames .= "//go:linkname ${sysvarname} libc_${sysname}\n"; # Library proc address variable. push @vars, $sysvarname; diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_darwin.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_darwin.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_darwin.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_darwin.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_linux.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_linux.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_linux.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_linux.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/race.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/race.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/race.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/race.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/race0.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/race0.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/race0.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/race0.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/sockcmsg_linux.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/sockcmsg_linux.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/sockcmsg_linux.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/sockcmsg_linux.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go index 6668bec711d..f1493a3e6f2 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/sockcmsg_unix.go @@ -62,7 +62,7 @@ func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error) { func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error) { h := (*Cmsghdr)(unsafe.Pointer(&b[0])) - if h.Len < SizeofCmsghdr || int(h.Len) > len(b) { + if h.Len < SizeofCmsghdr || uint64(h.Len) > uint64(len(b)) { return nil, nil, EINVAL } return h, b[cmsgAlignOf(SizeofCmsghdr):h.Len], nil @@ -77,10 +77,10 @@ func UnixRights(fds ...int) []byte { h.Level = SOL_SOCKET h.Type = SCM_RIGHTS h.SetLen(CmsgLen(datalen)) - data := uintptr(cmsgData(h)) + data := cmsgData(h) for _, fd := range fds { - *(*int32)(unsafe.Pointer(data)) = int32(fd) - data += 4 + *(*int32)(data) = int32(fd) + data = unsafe.Pointer(uintptr(data) + 4) } return b } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/str.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/str.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/str.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/str.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall.go index a48d47cff81..571e6993c3c 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall.go @@ -68,6 +68,8 @@ func (tv *Timeval) Nano() int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1000 } +func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } + // use is a no-op, but the compiler cannot see that it is. // Calling use(p) ensures that p is kept live until that point. //go:noescape diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_bsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_bsd.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_bsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_bsd.go index 9679dec8982..e9671764ccb 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_bsd.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_bsd.go @@ -450,16 +450,34 @@ func Kevent(kq int, changes, events []Kevent_t, timeout *Timespec) (n int, err e //sys sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) = SYS___SYSCTL -func Sysctl(name string) (value string, err error) { +// sysctlmib translates name to mib number and appends any additional args. +func sysctlmib(name string, args ...int) ([]_C_int, error) { // Translate name to mib number. mib, err := nametomib(name) + if err != nil { + return nil, err + } + + for _, a := range args { + mib = append(mib, _C_int(a)) + } + + return mib, nil +} + +func Sysctl(name string) (string, error) { + return SysctlArgs(name) +} + +func SysctlArgs(name string, args ...int) (string, error) { + mib, err := sysctlmib(name, args...) if err != nil { return "", err } // Find size. n := uintptr(0) - if err = sysctl(mib, nil, &n, nil, 0); err != nil { + if err := sysctl(mib, nil, &n, nil, 0); err != nil { return "", err } if n == 0 { @@ -468,7 +486,7 @@ func Sysctl(name string) (value string, err error) { // Read into buffer of that size. buf := make([]byte, n) - if err = sysctl(mib, &buf[0], &n, nil, 0); err != nil { + if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil { return "", err } @@ -479,17 +497,19 @@ func Sysctl(name string) (value string, err error) { return string(buf[0:n]), nil } -func SysctlUint32(name string) (value uint32, err error) { - // Translate name to mib number. - mib, err := nametomib(name) +func SysctlUint32(name string) (uint32, error) { + return SysctlUint32Args(name) +} + +func SysctlUint32Args(name string, args ...int) (uint32, error) { + mib, err := sysctlmib(name, args...) if err != nil { return 0, err } - // Read into buffer of that size. n := uintptr(4) buf := make([]byte, 4) - if err = sysctl(mib, &buf[0], &n, nil, 0); err != nil { + if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil { return 0, err } if n != 4 { @@ -498,6 +518,49 @@ func SysctlUint32(name string) (value uint32, err error) { return *(*uint32)(unsafe.Pointer(&buf[0])), nil } +func SysctlUint64(name string, args ...int) (uint64, error) { + mib, err := sysctlmib(name, args...) + if err != nil { + return 0, err + } + + n := uintptr(8) + buf := make([]byte, 8) + if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil { + return 0, err + } + if n != 8 { + return 0, EIO + } + return *(*uint64)(unsafe.Pointer(&buf[0])), nil +} + +func SysctlRaw(name string, args ...int) ([]byte, error) { + mib, err := sysctlmib(name, args...) + if err != nil { + return nil, err + } + + // Find size. + n := uintptr(0) + if err := sysctl(mib, nil, &n, nil, 0); err != nil { + return nil, err + } + if n == 0 { + return nil, nil + } + + // Read into buffer of that size. + buf := make([]byte, n) + if err := sysctl(mib, &buf[0], &n, nil, 0); err != nil { + return nil, err + } + + // The actual call may return less than the original reported required + // size so ensure we deal with that. + return buf[:n], nil +} + //sys utimes(path string, timeval *[2]Timeval) (err error) func Utimes(path string, tv []Timeval) error { diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin.go index 0d1771c3fca..3d534d2daad 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin.go @@ -144,6 +144,7 @@ func getAttrList(path string, attrList attrList, attrBuf []byte, options uint) ( uintptr(options), 0, ) + use(unsafe.Pointer(_p0)) if e1 != 0 { return nil, e1 } @@ -196,6 +197,7 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) } r0, _, e1 := Syscall(SYS_GETFSSTAT64, uintptr(_p0), bufsize, uintptr(flags)) + use(unsafe.Pointer(_p0)) n = int(r0) if e1 != 0 { err = e1 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go index 3195c8bf5c6..c172a3da5a3 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_386.go @@ -21,8 +21,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go index db5a02dc640..fc1e5a4a825 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go @@ -11,6 +11,8 @@ import ( "unsafe" ) +//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) + func Getpagesize() int { return 4096 } func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } @@ -21,8 +23,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go index e47ffd73967..d286cf408d8 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_arm.go @@ -19,8 +19,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go index 2560a959983..c33905cdcd9 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go @@ -21,8 +21,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go index fbbe0dce255..ec408ee7894 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_dragonfly.go @@ -109,6 +109,7 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) } r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) + use(unsafe.Pointer(_p0)) n = int(r0) if e1 != 0 { err = e1 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go index 2ed92590e27..da7cb7982cd 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go @@ -21,8 +21,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = nsec % 1e9 / 1e3 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd.go index ec56ed608a3..520ccbeaf7d 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd.go @@ -129,6 +129,7 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) } r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) + use(unsafe.Pointer(_p0)) n = int(r0) if e1 != 0 { err = e1 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go index 6255d40ff86..6a0cd804d88 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_386.go @@ -21,8 +21,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go index 8b395d596dc..e142540efa4 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go @@ -21,8 +21,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = nsec % 1e9 / 1e3 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go index 4e72d46a816..5504cb12559 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go @@ -21,8 +21,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return tv.Sec*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux.go index 9df719571d1..6d10c9cffab 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux.go @@ -36,10 +36,10 @@ func Creat(path string, mode uint32) (fd int, err error) { return Open(path, O_CREAT|O_WRONLY|O_TRUNC, mode) } -//sys linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) +//sys Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) func Link(oldpath string, newpath string) (err error) { - return linkat(AT_FDCWD, oldpath, AT_FDCWD, newpath, 0) + return Linkat(AT_FDCWD, oldpath, AT_FDCWD, newpath, 0) } func Mkdir(path string, mode uint32) (err error) { @@ -60,6 +60,15 @@ func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) return openat(dirfd, path, flags|O_LARGEFILE, mode) } +//sys ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) + +func Ppoll(fds []PollFd, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + if len(fds) == 0 { + return ppoll(nil, 0, timeout, sigmask) + } + return ppoll(&fds[0], len(fds), timeout, sigmask) +} + //sys readlinkat(dirfd int, path string, buf []byte) (n int, err error) func Readlink(path string, buf []byte) (n int, err error) { @@ -86,19 +95,30 @@ func Unlink(path string) error { //sys unlinkat(dirfd int, path string, flags int) (err error) -func Unlinkat(dirfd int, path string) error { - return unlinkat(dirfd, path, 0) +func Unlinkat(dirfd int, path string, flags int) error { + return unlinkat(dirfd, path, flags) } //sys utimes(path string, times *[2]Timeval) (err error) -func Utimes(path string, tv []Timeval) (err error) { +func Utimes(path string, tv []Timeval) error { if tv == nil { + err := utimensat(AT_FDCWD, path, nil, 0) + if err != ENOSYS { + return err + } return utimes(path, nil) } if len(tv) != 2 { return EINVAL } + var ts [2]Timespec + ts[0] = NsecToTimespec(TimevalToNsec(tv[0])) + ts[1] = NsecToTimespec(TimevalToNsec(tv[1])) + err := utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) + if err != ENOSYS { + return err + } return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) } @@ -383,6 +403,19 @@ func (sa *SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error) { return unsafe.Pointer(&sa.raw), SizeofSockaddrNetlink, nil } +type SockaddrHCI struct { + Dev uint16 + Channel uint16 + raw RawSockaddrHCI +} + +func (sa *SockaddrHCI) sockaddr() (unsafe.Pointer, _Socklen, error) { + sa.raw.Family = AF_BLUETOOTH + sa.raw.Dev = sa.Dev + sa.raw.Channel = sa.Channel + return unsafe.Pointer(&sa.raw), SizeofSockaddrHCI, nil +} + func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) { switch rsa.Addr.Family { case AF_NETLINK: @@ -848,7 +881,6 @@ func Mount(source string, target string, fstype string, flags uintptr, data stri //sysnb EpollCreate(size int) (fd int, err error) //sysnb EpollCreate1(flag int) (fd int, err error) //sysnb EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) -//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) //sys Exit(code int) = SYS_EXIT_GROUP //sys Faccessat(dirfd int, path string, mode uint32, flags int) (err error) //sys Fallocate(fd int, mode uint32, off int64, len int64) (err error) @@ -883,9 +915,9 @@ func Getpgrp() (pid int) { //sys Mkdirat(dirfd int, path string, mode uint32) (err error) //sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error) //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) -//sys Pause() (err error) //sys PivotRoot(newroot string, putold string) (err error) = SYS_PIVOT_ROOT //sysnb prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) = SYS_PRLIMIT64 +//sys Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) //sys read(fd int, p []byte) (n int, err error) //sys Removexattr(path string, attr string) (err error) //sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) @@ -894,6 +926,7 @@ func Getpgrp() (pid int) { //sysnb Setpgid(pid int, pgid int) (err error) //sysnb Setsid() (pid int, err error) //sysnb Settimeofday(tv *Timeval) (err error) +//sys Setns(fd int, nstype int) (err error) // issue 1435. // On linux Setuid and Setgid only affects the current thread, not the process. @@ -920,7 +953,6 @@ func Setgid(uid int) (err error) { //sys Unmount(target string, flags int) (err error) = SYS_UMOUNT2 //sys Unshare(flags int) (err error) //sys Ustat(dev int, ubuf *Ustat_t) (err error) -//sys Utime(path string, buf *Utimbuf) (err error) //sys write(fd int, p []byte) (n int, err error) //sys exitThread(code int) (err error) = SYS_EXIT //sys readlen(fd int, p *byte, np int) (n int, err error) = SYS_READ @@ -1020,9 +1052,6 @@ func Munmap(b []byte) (err error) { // Newfstatat // Nfsservctl // Personality -// Poll -// Ppoll -// Prctl // Pselect6 // Ptrace // Putpmsg diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_386.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_386.go index 7171219af7f..2b881b9793b 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_386.go @@ -24,8 +24,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Sec = int32(nsec / 1e9) @@ -93,6 +91,8 @@ func Pipe2(p []int, flags int) (err error) { //sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS__NEWSELECT //sys mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset uintptr) (xaddr uintptr, err error) +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) +//sys Pause() (err error) func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { page := uintptr(offset / 4096) @@ -181,6 +181,8 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { //sysnb Gettimeofday(tv *Timeval) (err error) //sysnb Time(t *Time_t) (tt Time_t, err error) +//sys Utime(path string, buf *Utimbuf) (err error) + // On x86 Linux, all the socket calls go through an extra indirection, // I think because the 5-register system call interface can't handle // the 6-argument calls like sendto and recvfrom. Instead the @@ -386,3 +388,12 @@ func (msghdr *Msghdr) SetControllen(length int) { func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) } + +//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + if len(fds) == 0 { + return poll(nil, 0, timeout) + } + return poll(&fds[0], len(fds), timeout) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go index ae70c2afca0..18911c2d985 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_amd64.go @@ -9,6 +9,7 @@ package unix import "syscall" //sys Dup2(oldfd int, newfd int) (err error) +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) //sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 //sys Fchown(fd int, uid int, gid int) (err error) //sys Fstat(fd int, stat *Stat_t) (err error) @@ -25,6 +26,7 @@ import "syscall" //sys Lchown(path string, uid int, gid int) (err error) //sys Listen(s int, n int) (err error) //sys Lstat(path string, stat *Stat_t) (err error) +//sys Pause() (err error) //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK @@ -86,6 +88,8 @@ func Time(t *Time_t) (tt Time_t, err error) { return Time_t(tv.Sec), nil } +//sys Utime(path string, buf *Utimbuf) (err error) + func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } func NsecToTimespec(nsec int64) (ts Timespec) { @@ -94,8 +98,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Sec = nsec / 1e9 @@ -144,3 +146,12 @@ func (msghdr *Msghdr) SetControllen(length int) { func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint64(length) } + +//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + if len(fds) == 0 { + return poll(nil, 0, timeout) + } + return poll(&fds[0], len(fds), timeout) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go index abc41c3ea5d..71d87022899 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_arm.go @@ -108,7 +108,28 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { // Vsyscalls on amd64. //sysnb Gettimeofday(tv *Timeval) (err error) -//sysnb Time(t *Time_t) (tt Time_t, err error) +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) +//sys Pause() (err error) + +func Time(t *Time_t) (Time_t, error) { + var tv Timeval + err := Gettimeofday(&tv) + if err != nil { + return 0, err + } + if t != nil { + *t = Time_t(tv.Sec) + } + return Time_t(tv.Sec), nil +} + +func Utime(path string, buf *Utimbuf) error { + tv := []Timeval{ + {Sec: buf.Actime}, + {Sec: buf.Modtime}, + } + return Utimes(path, tv) +} //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 @@ -158,7 +179,7 @@ type rlimit32 struct { Max uint32 } -//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_GETRLIMIT +//sysnb getrlimit(resource int, rlim *rlimit32) (err error) = SYS_UGETRLIMIT const rlimInf32 = ^uint32(0) const rlimInf64 = ^uint64(0) @@ -231,3 +252,12 @@ func (msghdr *Msghdr) SetControllen(length int) { func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) } + +//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + if len(fds) == 0 { + return poll(nil, 0, timeout) + } + return poll(&fds[0], len(fds), timeout) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go index f3d72dfd301..4b6ff2a80da 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_arm64.go @@ -8,6 +8,7 @@ package unix const _SYS_dup = SYS_DUP3 +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) = SYS_EPOLL_PWAIT //sys Fchown(fd int, uid int, gid int) (err error) //sys Fstat(fd int, stat *Stat_t) (err error) //sys Fstatat(fd int, path string, stat *Stat_t, flags int) (err error) @@ -70,7 +71,6 @@ func Lstat(path string, stat *Stat_t) (err error) { func Getpagesize() int { return 65536 } //sysnb Gettimeofday(tv *Timeval) (err error) -//sysnb Time(t *Time_t) (tt Time_t, err error) func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } @@ -80,8 +80,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Sec = nsec / 1e9 @@ -89,6 +87,26 @@ func NsecToTimeval(nsec int64) (tv Timeval) { return } +func Time(t *Time_t) (Time_t, error) { + var tv Timeval + err := Gettimeofday(&tv) + if err != nil { + return 0, err + } + if t != nil { + *t = Time_t(tv.Sec) + } + return Time_t(tv.Sec), nil +} + +func Utime(path string, buf *Utimbuf) error { + tv := []Timeval{ + {Sec: buf.Actime}, + {Sec: buf.Modtime}, + } + return Utimes(path, tv) +} + func Pipe(p []int) (err error) { if len(p) != 2 { return EINVAL @@ -133,6 +151,18 @@ func InotifyInit() (fd int, err error) { return InotifyInit1(0) } +func Dup2(oldfd int, newfd int) (err error) { + return Dup3(oldfd, newfd, 0) +} + +func Pause() (err error) { + _, _, e1 := Syscall6(SYS_PPOLL, 0, 0, 0, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + // TODO(dfc): constants that should be in zsysnum_linux_arm64.go, remove // these when the deprecated syscalls that the syscall package relies on // are removed. @@ -148,3 +178,15 @@ const ( SYS_EPOLL_CREATE = 1042 SYS_EPOLL_WAIT = 1069 ) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + var ts *Timespec + if timeout >= 0 { + ts = new(Timespec) + *ts = NsecToTimespec(int64(timeout) * 1e6) + } + if len(fds) == 0 { + return ppoll(nil, 0, ts, nil) + } + return ppoll(&fds[0], len(fds), ts, nil) +} diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go new file mode 100644 index 00000000000..440f54ee9c5 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go @@ -0,0 +1,215 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build linux +// +build mips64 mips64le + +package unix + +// Linux introduced getdents64 syscall for N64 ABI only in 3.10 +// (May 21 2013, rev dec33abaafc89bcbd78f85fad0513170415a26d5), +// to support older kernels, we have to use getdents for mips64. +// Also note that struct dirent is different for these two. +// Lookup linux_dirent{,64} in kernel source code for details. +const _SYS_getdents = SYS_GETDENTS + +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) +//sys Fchown(fd int, uid int, gid int) (err error) +//sys Fstatfs(fd int, buf *Statfs_t) (err error) +//sys Ftruncate(fd int, length int64) (err error) +//sysnb Getegid() (egid int) +//sysnb Geteuid() (euid int) +//sysnb Getgid() (gid int) +//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) +//sysnb Getuid() (uid int) +//sys Lchown(path string, uid int, gid int) (err error) +//sys Listen(s int, n int) (err error) +//sys Pause() (err error) +//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 +//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 +//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK +//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) = SYS_PSELECT6 +//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) +//sys Setfsgid(gid int) (err error) +//sys Setfsuid(uid int) (err error) +//sysnb Setregid(rgid int, egid int) (err error) +//sysnb Setresgid(rgid int, egid int, sgid int) (err error) +//sysnb Setresuid(ruid int, euid int, suid int) (err error) +//sysnb Setrlimit(resource int, rlim *Rlimit) (err error) +//sysnb Setreuid(ruid int, euid int) (err error) +//sys Shutdown(fd int, how int) (err error) +//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) +//sys Statfs(path string, buf *Statfs_t) (err error) +//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) +//sys Truncate(path string, length int64) (err error) +//sys accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) +//sys accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) +//sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) +//sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) +//sysnb getgroups(n int, list *_Gid_t) (nn int, err error) +//sysnb setgroups(n int, list *_Gid_t) (err error) +//sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) +//sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) +//sysnb socket(domain int, typ int, proto int) (fd int, err error) +//sysnb socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) +//sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) +//sysnb getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) +//sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) +//sys sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) +//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) +//sys sendmsg(s int, msg *Msghdr, flags int) (n int, err error) +//sys mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) + +func Getpagesize() int { return 65536 } + +//sysnb Gettimeofday(tv *Timeval) (err error) + +func Time(t *Time_t) (tt Time_t, err error) { + var tv Timeval + err = Gettimeofday(&tv) + if err != nil { + return 0, err + } + if t != nil { + *t = Time_t(tv.Sec) + } + return Time_t(tv.Sec), nil +} + +//sys Utime(path string, buf *Utimbuf) (err error) + +func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } + +func NsecToTimespec(nsec int64) (ts Timespec) { + ts.Sec = nsec / 1e9 + ts.Nsec = nsec % 1e9 + return +} + +func NsecToTimeval(nsec int64) (tv Timeval) { + nsec += 999 // round up to microsecond + tv.Sec = nsec / 1e9 + tv.Usec = nsec % 1e9 / 1e3 + return +} + +func Pipe(p []int) (err error) { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err = pipe2(&pp, 0) + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return +} + +//sysnb pipe2(p *[2]_C_int, flags int) (err error) + +func Pipe2(p []int, flags int) (err error) { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err = pipe2(&pp, flags) + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return +} + +func Ioperm(from int, num int, on int) (err error) { + return ENOSYS +} + +func Iopl(level int) (err error) { + return ENOSYS +} + +type stat_t struct { + Dev uint32 + Pad0 [3]int32 + Ino uint64 + Mode uint32 + Nlink uint32 + Uid uint32 + Gid uint32 + Rdev uint32 + Pad1 [3]uint32 + Size int64 + Atime uint32 + Atime_nsec uint32 + Mtime uint32 + Mtime_nsec uint32 + Ctime uint32 + Ctime_nsec uint32 + Blksize uint32 + Pad2 uint32 + Blocks int64 +} + +//sys fstat(fd int, st *stat_t) (err error) +//sys lstat(path string, st *stat_t) (err error) +//sys stat(path string, st *stat_t) (err error) + +func Fstat(fd int, s *Stat_t) (err error) { + st := &stat_t{} + err = fstat(fd, st) + fillStat_t(s, st) + return +} + +func Lstat(path string, s *Stat_t) (err error) { + st := &stat_t{} + err = lstat(path, st) + fillStat_t(s, st) + return +} + +func Stat(path string, s *Stat_t) (err error) { + st := &stat_t{} + err = stat(path, st) + fillStat_t(s, st) + return +} + +func fillStat_t(s *Stat_t, st *stat_t) { + s.Dev = st.Dev + s.Ino = st.Ino + s.Mode = st.Mode + s.Nlink = st.Nlink + s.Uid = st.Uid + s.Gid = st.Gid + s.Rdev = st.Rdev + s.Size = st.Size + s.Atim = Timespec{int64(st.Atime), int64(st.Atime_nsec)} + s.Mtim = Timespec{int64(st.Mtime), int64(st.Mtime_nsec)} + s.Ctim = Timespec{int64(st.Ctime), int64(st.Ctime_nsec)} + s.Blksize = st.Blksize + s.Blocks = st.Blocks +} + +func (r *PtraceRegs) PC() uint64 { return r.Regs[64] } + +func (r *PtraceRegs) SetPC(pc uint64) { r.Regs[64] = pc } + +func (iov *Iovec) SetLen(length int) { + iov.Len = uint64(length) +} + +func (msghdr *Msghdr) SetControllen(length int) { + msghdr.Controllen = uint64(length) +} + +func (cmsg *Cmsghdr) SetLen(length int) { + cmsg.Len = uint64(length) +} + +//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + if len(fds) == 0 { + return poll(nil, 0, timeout) + } + return poll(&fds[0], len(fds), timeout) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go index 67eed6334c4..60770f627c6 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go @@ -7,6 +7,8 @@ package unix +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) +//sys Dup2(oldfd int, newfd int) (err error) //sys Fchown(fd int, uid int, gid int) (err error) //sys Fstat(fd int, stat *Stat_t) (err error) //sys Fstatfs(fd int, buf *Statfs_t) (err error) @@ -16,11 +18,13 @@ package unix //sysnb Getgid() (gid int) //sysnb Getrlimit(resource int, rlim *Rlimit) (err error) = SYS_UGETRLIMIT //sysnb Getuid() (uid int) +//sysnb InotifyInit() (fd int, err error) //sys Ioperm(from int, num int, on int) (err error) //sys Iopl(level int) (err error) //sys Lchown(path string, uid int, gid int) (err error) //sys Listen(s int, n int) (err error) //sys Lstat(path string, stat *Stat_t) (err error) +//sys Pause() (err error) //sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK @@ -62,6 +66,8 @@ func Getpagesize() int { return 65536 } //sysnb Gettimeofday(tv *Timeval) (err error) //sysnb Time(t *Time_t) (tt Time_t, err error) +//sys Utime(path string, buf *Utimbuf) (err error) + func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } func NsecToTimespec(nsec int64) (ts Timespec) { @@ -70,8 +76,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Sec = nsec / 1e9 @@ -94,3 +98,38 @@ func (msghdr *Msghdr) SetControllen(length int) { func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint64(length) } + +//sysnb pipe(p *[2]_C_int) (err error) + +func Pipe(p []int) (err error) { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err = pipe(&pp) + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return +} + +//sysnb pipe2(p *[2]_C_int, flags int) (err error) + +func Pipe2(p []int, flags int) (err error) { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err = pipe2(&pp, flags) + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return +} + +//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + if len(fds) == 0 { + return poll(nil, 0, timeout) + } + return poll(&fds[0], len(fds), timeout) +} diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_s390x.go new file mode 100644 index 00000000000..81c5f473229 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_linux_s390x.go @@ -0,0 +1,329 @@ +// Copyright 2016 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build s390x,linux + +package unix + +import ( + "unsafe" +) + +//sys Dup2(oldfd int, newfd int) (err error) +//sys EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) +//sys Fadvise(fd int, offset int64, length int64, advice int) (err error) = SYS_FADVISE64 +//sys Fchown(fd int, uid int, gid int) (err error) +//sys Fstat(fd int, stat *Stat_t) (err error) +//sys Fstatfs(fd int, buf *Statfs_t) (err error) +//sys Ftruncate(fd int, length int64) (err error) +//sysnb Getegid() (egid int) +//sysnb Geteuid() (euid int) +//sysnb Getgid() (gid int) +//sysnb Getrlimit(resource int, rlim *Rlimit) (err error) +//sysnb Getuid() (uid int) +//sysnb InotifyInit() (fd int, err error) +//sys Lchown(path string, uid int, gid int) (err error) +//sys Lstat(path string, stat *Stat_t) (err error) +//sys Pause() (err error) +//sys Pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 +//sys Pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 +//sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK +//sys Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) +//sys sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) +//sys Setfsgid(gid int) (err error) +//sys Setfsuid(uid int) (err error) +//sysnb Setregid(rgid int, egid int) (err error) +//sysnb Setresgid(rgid int, egid int, sgid int) (err error) +//sysnb Setresuid(ruid int, euid int, suid int) (err error) +//sysnb Setrlimit(resource int, rlim *Rlimit) (err error) +//sysnb Setreuid(ruid int, euid int) (err error) +//sys Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) +//sys Stat(path string, stat *Stat_t) (err error) +//sys Statfs(path string, buf *Statfs_t) (err error) +//sys SyncFileRange(fd int, off int64, n int64, flags int) (err error) +//sys Truncate(path string, length int64) (err error) +//sysnb getgroups(n int, list *_Gid_t) (nn int, err error) +//sysnb setgroups(n int, list *_Gid_t) (err error) + +func Getpagesize() int { return 4096 } + +//sysnb Gettimeofday(tv *Timeval) (err error) + +func Time(t *Time_t) (tt Time_t, err error) { + var tv Timeval + err = Gettimeofday(&tv) + if err != nil { + return 0, err + } + if t != nil { + *t = Time_t(tv.Sec) + } + return Time_t(tv.Sec), nil +} + +//sys Utime(path string, buf *Utimbuf) (err error) + +func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } + +func NsecToTimespec(nsec int64) (ts Timespec) { + ts.Sec = nsec / 1e9 + ts.Nsec = nsec % 1e9 + return +} + +func NsecToTimeval(nsec int64) (tv Timeval) { + nsec += 999 // round up to microsecond + tv.Sec = nsec / 1e9 + tv.Usec = nsec % 1e9 / 1e3 + return +} + +//sysnb pipe2(p *[2]_C_int, flags int) (err error) + +func Pipe(p []int) (err error) { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err = pipe2(&pp, 0) // pipe2 is the same as pipe when flags are set to 0. + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return +} + +func Pipe2(p []int, flags int) (err error) { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err = pipe2(&pp, flags) + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return +} + +func Ioperm(from int, num int, on int) (err error) { + return ENOSYS +} + +func Iopl(level int) (err error) { + return ENOSYS +} + +func (r *PtraceRegs) PC() uint64 { return r.Psw.Addr } + +func (r *PtraceRegs) SetPC(pc uint64) { r.Psw.Addr = pc } + +func (iov *Iovec) SetLen(length int) { + iov.Len = uint64(length) +} + +func (msghdr *Msghdr) SetControllen(length int) { + msghdr.Controllen = uint64(length) +} + +func (cmsg *Cmsghdr) SetLen(length int) { + cmsg.Len = uint64(length) +} + +// Linux on s390x uses the old mmap interface, which requires arguments to be passed in a struct. +// mmap2 also requires arguments to be passed in a struct; it is currently not exposed in . +func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { + mmap_args := [6]uintptr{addr, length, uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)} + r0, _, e1 := Syscall(SYS_MMAP, uintptr(unsafe.Pointer(&mmap_args[0])), 0, 0) + use(unsafe.Pointer(&mmap_args[0])) + xaddr = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// On s390x Linux, all the socket calls go through an extra indirection. +// The arguments to the underlying system call (SYS_SOCKETCALL) are the +// number below and a pointer to an array of uintptr. +const ( + // see linux/net.h + netSocket = 1 + netBind = 2 + netConnect = 3 + netListen = 4 + netAccept = 5 + netGetSockName = 6 + netGetPeerName = 7 + netSocketPair = 8 + netSend = 9 + netRecv = 10 + netSendTo = 11 + netRecvFrom = 12 + netShutdown = 13 + netSetSockOpt = 14 + netGetSockOpt = 15 + netSendMsg = 16 + netRecvMsg = 17 + netAccept4 = 18 + netRecvMMsg = 19 + netSendMMsg = 20 +) + +func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (int, error) { + args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))} + fd, _, err := Syscall(SYS_SOCKETCALL, netAccept, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return 0, err + } + return int(fd), nil +} + +func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (int, error) { + args := [4]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags)} + fd, _, err := Syscall(SYS_SOCKETCALL, netAccept4, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return 0, err + } + return int(fd), nil +} + +func getsockname(s int, rsa *RawSockaddrAny, addrlen *_Socklen) error { + args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))} + _, _, err := RawSyscall(SYS_SOCKETCALL, netGetSockName, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func getpeername(s int, rsa *RawSockaddrAny, addrlen *_Socklen) error { + args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))} + _, _, err := RawSyscall(SYS_SOCKETCALL, netGetPeerName, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func socketpair(domain int, typ int, flags int, fd *[2]int32) error { + args := [4]uintptr{uintptr(domain), uintptr(typ), uintptr(flags), uintptr(unsafe.Pointer(fd))} + _, _, err := RawSyscall(SYS_SOCKETCALL, netSocketPair, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func bind(s int, addr unsafe.Pointer, addrlen _Socklen) error { + args := [3]uintptr{uintptr(s), uintptr(addr), uintptr(addrlen)} + _, _, err := Syscall(SYS_SOCKETCALL, netBind, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func connect(s int, addr unsafe.Pointer, addrlen _Socklen) error { + args := [3]uintptr{uintptr(s), uintptr(addr), uintptr(addrlen)} + _, _, err := Syscall(SYS_SOCKETCALL, netConnect, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func socket(domain int, typ int, proto int) (int, error) { + args := [3]uintptr{uintptr(domain), uintptr(typ), uintptr(proto)} + fd, _, err := RawSyscall(SYS_SOCKETCALL, netSocket, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return 0, err + } + return int(fd), nil +} + +func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) error { + args := [5]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen))} + _, _, err := Syscall(SYS_SOCKETCALL, netGetSockOpt, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) error { + args := [4]uintptr{uintptr(s), uintptr(level), uintptr(name), uintptr(val)} + _, _, err := Syscall(SYS_SOCKETCALL, netSetSockOpt, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func recvfrom(s int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (int, error) { + var base uintptr + if len(p) > 0 { + base = uintptr(unsafe.Pointer(&p[0])) + } + args := [6]uintptr{uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))} + n, _, err := Syscall(SYS_SOCKETCALL, netRecvFrom, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return 0, err + } + return int(n), nil +} + +func sendto(s int, p []byte, flags int, to unsafe.Pointer, addrlen _Socklen) error { + var base uintptr + if len(p) > 0 { + base = uintptr(unsafe.Pointer(&p[0])) + } + args := [6]uintptr{uintptr(s), base, uintptr(len(p)), uintptr(flags), uintptr(to), uintptr(addrlen)} + _, _, err := Syscall(SYS_SOCKETCALL, netSendTo, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func recvmsg(s int, msg *Msghdr, flags int) (int, error) { + args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)} + n, _, err := Syscall(SYS_SOCKETCALL, netRecvMsg, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return 0, err + } + return int(n), nil +} + +func sendmsg(s int, msg *Msghdr, flags int) (int, error) { + args := [3]uintptr{uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)} + n, _, err := Syscall(SYS_SOCKETCALL, netSendMsg, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return 0, err + } + return int(n), nil +} + +func Listen(s int, n int) error { + args := [2]uintptr{uintptr(s), uintptr(n)} + _, _, err := Syscall(SYS_SOCKETCALL, netListen, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +func Shutdown(s, how int) error { + args := [2]uintptr{uintptr(s), uintptr(how)} + _, _, err := Syscall(SYS_SOCKETCALL, netShutdown, uintptr(unsafe.Pointer(&args)), 0) + if err != 0 { + return err + } + return nil +} + +//sys poll(fds *PollFd, nfds int, timeout int) (n int, err error) + +func Poll(fds []PollFd, timeout int) (n int, err error) { + if len(fds) == 0 { + return poll(nil, 0, timeout) + } + return poll(&fds[0], len(fds), timeout) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go index 1b0e1af1257..afaca09838a 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_386.go @@ -16,8 +16,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go index 1b6dcbe35d6..a6ff04ce5bd 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go @@ -16,8 +16,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go index 87d1d6fed1e..68a6969b285 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_netbsd_arm.go @@ -16,8 +16,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_no_getwd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_no_getwd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_no_getwd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_no_getwd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd.go index 246131d2afc..554a8234269 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd.go @@ -111,6 +111,7 @@ func Getfsstat(buf []Statfs_t, flags int) (n int, err error) { bufsize = unsafe.Sizeof(Statfs_t{}) * uintptr(len(buf)) } r0, _, e1 := Syscall(SYS_GETFSSTAT, uintptr(_p0), bufsize, uintptr(flags)) + use(unsafe.Pointer(_p0)) n = int(r0) if e1 != 0 { err = e1 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go index 9529b20e82e..a66ddc59ce9 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd_386.go @@ -16,8 +16,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = int32(nsec % 1e9 / 1e3) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go index fc6402946e3..0776c1faf98 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go @@ -16,8 +16,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = nsec % 1e9 / 1e3 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_solaris.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_solaris.go similarity index 70% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_solaris.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_solaris.go index ab54718f63d..acb74b1d158 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_solaris.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_solaris.go @@ -13,6 +13,7 @@ package unix import ( + "sync/atomic" "syscall" "unsafe" ) @@ -71,18 +72,20 @@ func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, return origlen - len(buf), count, names } -func pipe() (r uintptr, w uintptr, err uintptr) +//sysnb pipe(p *[2]_C_int) (n int, err error) func Pipe(p []int) (err error) { if len(p) != 2 { return EINVAL } - r0, w0, e1 := pipe() - if e1 != 0 { - err = syscall.Errno(e1) + var pp [2]_C_int + n, err := pipe(&pp) + if n != 0 { + return err } - p[0], p[1] = int(r0), int(w0) - return + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return nil } func (sa *SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error) { @@ -138,6 +141,8 @@ func (sa *SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error) { return unsafe.Pointer(&sa.raw), sl, nil } +//sys getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getsockname + func Getsockname(fd int) (sa Sockaddr, err error) { var rsa RawSockaddrAny var len _Socklen = SizeofSockaddrAny @@ -147,12 +152,23 @@ func Getsockname(fd int) (sa Sockaddr, err error) { return anyToSockaddr(&rsa) } -// The const provides a compile-time constant so clients -// can adjust to whether there is a working Getwd and avoid -// even linking this function into the binary. See ../os/getwd.go. -const ImplementsGetwd = false +const ImplementsGetwd = true -func Getwd() (string, error) { return "", ENOTSUP } +//sys Getcwd(buf []byte) (n int, err error) + +func Getwd() (wd string, err error) { + var buf [PathMax]byte + // Getcwd will return an error if it failed for any reason. + _, err = Getcwd(buf[0:]) + if err != nil { + return "", err + } + n := clen(buf[:]) + if n < 1 { + return "", EINVAL + } + return string(buf[:n]), nil +} /* * Wrapped @@ -163,21 +179,20 @@ func Getwd() (string, error) { return "", ENOTSUP } func Getgroups() (gids []int, err error) { n, err := getgroups(0, nil) - if err != nil { - return nil, err - } - if n == 0 { - return nil, nil - } - - // Sanity check group count. Max is 16 on BSD. - if n < 0 || n > 1000 { + // Check for error and sanity check group count. Newer versions of + // Solaris allow up to 1024 (NGROUPS_MAX). + if n < 0 || n > 1024 { + if err != nil { + return nil, err + } return nil, EINVAL + } else if n == 0 { + return nil, nil } a := make([]_Gid_t, n) n, err = getgroups(n, &a[0]) - if err != nil { + if n == -1 { return nil, err } gids = make([]int, n) @@ -256,39 +271,68 @@ func (w WaitStatus) StopSignal() syscall.Signal { func (w WaitStatus) TrapCause() int { return -1 } -func wait4(pid uintptr, wstatus *WaitStatus, options uintptr, rusage *Rusage) (wpid uintptr, err uintptr) +//sys wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) -func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) { - r0, e1 := wait4(uintptr(pid), wstatus, uintptr(options), rusage) - if e1 != 0 { - err = syscall.Errno(e1) +func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (int, error) { + var status _C_int + rpid, err := wait4(int32(pid), &status, options, rusage) + wpid := int(rpid) + if wpid == -1 { + return wpid, err } - return int(r0), err + if wstatus != nil { + *wstatus = WaitStatus(status) + } + return wpid, nil } -func gethostname() (name string, err uintptr) +//sys gethostname(buf []byte) (n int, err error) func Gethostname() (name string, err error) { - name, e1 := gethostname() - if e1 != 0 { - err = syscall.Errno(e1) + var buf [MaxHostNameLen]byte + n, err := gethostname(buf[:]) + if n != 0 { + return "", err } - return name, err + n = clen(buf[:]) + if n < 1 { + return "", EFAULT + } + return string(buf[:n]), nil } +//sys utimes(path string, times *[2]Timeval) (err error) + +func Utimes(path string, tv []Timeval) (err error) { + if tv == nil { + return utimes(path, nil) + } + if len(tv) != 2 { + return EINVAL + } + return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) +} + +//sys utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) + func UtimesNano(path string, ts []Timespec) error { if ts == nil { - return Utimes(path, nil) + return utimensat(AT_FDCWD, path, nil, 0) } if len(ts) != 2 { return EINVAL } - var tv [2]Timeval - for i := 0; i < 2; i++ { - tv[i].Sec = ts[i].Sec - tv[i].Usec = ts[i].Nsec / 1000 + return utimensat(AT_FDCWD, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), 0) +} + +func UtimesNanoAt(dirfd int, path string, ts []Timespec, flags int) error { + if ts == nil { + return utimensat(dirfd, path, nil, flags) } - return Utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) + if len(ts) != 2 { + return EINVAL + } + return utimensat(dirfd, path, (*[2]Timespec)(unsafe.Pointer(&ts[0])), flags) } //sys fcntl(fd int, cmd int, arg int) (val int, err error) @@ -302,6 +346,35 @@ func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error { return nil } +//sys futimesat(fildes int, path *byte, times *[2]Timeval) (err error) + +func Futimesat(dirfd int, path string, tv []Timeval) error { + pathp, err := BytePtrFromString(path) + if err != nil { + return err + } + if tv == nil { + return futimesat(dirfd, pathp, nil) + } + if len(tv) != 2 { + return EINVAL + } + return futimesat(dirfd, pathp, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) +} + +// Solaris doesn't have an futimes function because it allows NULL to be +// specified as the path for futimesat. However, Go doesn't like +// NULL-style string interfaces, so this simple wrapper is provided. +func Futimes(fd int, tv []Timeval) error { + if tv == nil { + return futimesat(fd, nil, nil) + } + if len(tv) != 2 { + return EINVAL + } + return futimesat(fd, nil, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) +} + func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error) { switch rsa.Addr.Family { case AF_UNIX: @@ -350,7 +423,7 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) { var rsa RawSockaddrAny var len _Socklen = SizeofSockaddrAny nfd, err = accept(fd, &rsa, &len) - if err != nil { + if nfd == -1 { return } sa, err = anyToSockaddr(&rsa) @@ -361,6 +434,8 @@ func Accept(fd int) (nfd int, sa Sockaddr, err error) { return } +//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.recvmsg + func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) { var msg Msghdr var rsa RawSockaddrAny @@ -382,7 +457,7 @@ func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from } msg.Iov = &iov msg.Iovlen = 1 - if n, err = recvmsg(fd, &msg, flags); err != nil { + if n, err = recvmsg(fd, &msg, flags); n == -1 { return } oobn = int(msg.Accrightslen) @@ -437,6 +512,67 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) return n, nil } +//sys acct(path *byte) (err error) + +func Acct(path string) (err error) { + if len(path) == 0 { + // Assume caller wants to disable accounting. + return acct(nil) + } + + pathp, err := BytePtrFromString(path) + if err != nil { + return err + } + return acct(pathp) +} + +/* + * Expose the ioctl function + */ + +//sys ioctl(fd int, req int, arg uintptr) (err error) + +func IoctlSetInt(fd int, req int, value int) (err error) { + return ioctl(fd, req, uintptr(value)) +} + +func IoctlSetWinsize(fd int, req int, value *Winsize) (err error) { + return ioctl(fd, req, uintptr(unsafe.Pointer(value))) +} + +func IoctlSetTermios(fd int, req int, value *Termios) (err error) { + return ioctl(fd, req, uintptr(unsafe.Pointer(value))) +} + +func IoctlSetTermio(fd int, req int, value *Termio) (err error) { + return ioctl(fd, req, uintptr(unsafe.Pointer(value))) +} + +func IoctlGetInt(fd int, req int) (int, error) { + var value int + err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) + return value, err +} + +func IoctlGetWinsize(fd int, req int) (*Winsize, error) { + var value Winsize + err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) + return &value, err +} + +func IoctlGetTermios(fd int, req int) (*Termios, error) { + var value Termios + err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) + return &value, err +} + +func IoctlGetTermio(fd int, req int) (*Termio, error) { + var value Termio + err := ioctl(fd, req, uintptr(unsafe.Pointer(&value))) + return &value, err +} + /* * Exposed directly */ @@ -447,21 +583,29 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) //sys Chown(path string, uid int, gid int) (err error) //sys Chroot(path string) (err error) //sys Close(fd int) (err error) +//sys Creat(path string, mode uint32) (fd int, err error) //sys Dup(fd int) (nfd int, err error) +//sys Dup2(oldfd int, newfd int) (err error) //sys Exit(code int) //sys Fchdir(fd int) (err error) //sys Fchmod(fd int, mode uint32) (err error) +//sys Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) //sys Fchown(fd int, uid int, gid int) (err error) +//sys Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) +//sys Fdatasync(fd int) (err error) //sys Fpathconf(fd int, name int) (val int, err error) //sys Fstat(fd int, stat *Stat_t) (err error) //sys Getdents(fd int, buf []byte, basep *uintptr) (n int, err error) //sysnb Getgid() (gid int) //sysnb Getpid() (pid int) +//sysnb Getpgid(pid int) (pgid int, err error) +//sysnb Getpgrp() (pgid int, err error) //sys Geteuid() (euid int) //sys Getegid() (egid int) //sys Getppid() (ppid int) //sys Getpriority(which int, who int) (n int, err error) //sysnb Getrlimit(which int, lim *Rlimit) (err error) +//sysnb Getrusage(who int, rusage *Rusage) (err error) //sysnb Gettimeofday(tv *Timeval) (err error) //sysnb Getuid() (uid int) //sys Kill(pid int, signum syscall.Signal) (err error) @@ -471,20 +615,33 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) //sys Lstat(path string, stat *Stat_t) (err error) //sys Madvise(b []byte, advice int) (err error) //sys Mkdir(path string, mode uint32) (err error) +//sys Mkdirat(dirfd int, path string, mode uint32) (err error) +//sys Mkfifo(path string, mode uint32) (err error) +//sys Mkfifoat(dirfd int, path string, mode uint32) (err error) //sys Mknod(path string, mode uint32, dev int) (err error) +//sys Mknodat(dirfd int, path string, mode uint32, dev int) (err error) +//sys Mlock(b []byte) (err error) +//sys Mlockall(flags int) (err error) +//sys Mprotect(b []byte, prot int) (err error) +//sys Munlock(b []byte) (err error) +//sys Munlockall() (err error) //sys Nanosleep(time *Timespec, leftover *Timespec) (err error) //sys Open(path string, mode int, perm uint32) (fd int, err error) +//sys Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) //sys Pathconf(path string, name int) (val int, err error) +//sys Pause() (err error) //sys Pread(fd int, p []byte, offset int64) (n int, err error) //sys Pwrite(fd int, p []byte, offset int64) (n int, err error) //sys read(fd int, p []byte) (n int, err error) //sys Readlink(path string, buf []byte) (n int, err error) //sys Rename(from string, to string) (err error) +//sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) //sys Rmdir(path string) (err error) //sys Seek(fd int, offset int64, whence int) (newoffset int64, err error) = lseek //sysnb Setegid(egid int) (err error) //sysnb Seteuid(euid int) (err error) //sysnb Setgid(gid int) (err error) +//sys Sethostname(p []byte) (err error) //sysnb Setpgid(pid int, pgid int) (err error) //sys Setpriority(which int, who int, prio int) (err error) //sysnb Setregid(rgid int, egid int) (err error) @@ -496,12 +653,17 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) //sys Stat(path string, stat *Stat_t) (err error) //sys Symlink(path string, link string) (err error) //sys Sync() (err error) +//sysnb Times(tms *Tms) (ticks uintptr, err error) //sys Truncate(path string, length int64) (err error) //sys Fsync(fd int) (err error) //sys Ftruncate(fd int, length int64) (err error) -//sys Umask(newmask int) (oldmask int) +//sys Umask(mask int) (oldmask int) +//sysnb Uname(buf *Utsname) (err error) +//sys Unmount(target string, flags int) (err error) = libc.umount //sys Unlink(path string) (err error) -//sys Utimes(path string, times *[2]Timeval) (err error) +//sys Unlinkat(dirfd int, path string, flags int) (err error) +//sys Ustat(dev int, ubuf *Ustat_t) (err error) +//sys Utime(path string, buf *Utimbuf) (err error) //sys bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.bind //sys connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) = libsocket.connect //sys mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) @@ -512,10 +674,8 @@ func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error) //sys write(fd int, p []byte) (n int, err error) //sys getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) = libsocket.getsockopt //sysnb getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getpeername -//sys getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) = libsocket.getsockname //sys setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) = libsocket.setsockopt //sys recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) = libsocket.recvfrom -//sys recvmsg(s int, msg *Msghdr, flags int) (n int, err error) = libsocket.recvmsg func readlen(fd int, buf *byte, nbuf int) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procread)), 3, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf), 0, 0, 0) @@ -548,3 +708,18 @@ func Mmap(fd int, offset int64, length int, prot int, flags int) (data []byte, e func Munmap(b []byte) (err error) { return mapper.Munmap(b) } + +//sys sysconf(name int) (n int64, err error) + +// pageSize caches the value of Getpagesize, since it can't change +// once the system is booted. +var pageSize int64 // accessed atomically + +func Getpagesize() int { + n := atomic.LoadInt64(&pageSize) + if n == 0 { + n, _ = sysconf(_SC_PAGESIZE) + atomic.StoreInt64(&pageSize, n) + } + return int(n) +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go index 9c173cd5f2b..5aff62c3bbe 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go @@ -6,8 +6,6 @@ package unix -func Getpagesize() int { return 4096 } - func TimespecToNsec(ts Timespec) int64 { return int64(ts.Sec)*1e9 + int64(ts.Nsec) } func NsecToTimespec(nsec int64) (ts Timespec) { @@ -16,8 +14,6 @@ func NsecToTimespec(nsec int64) (ts Timespec) { return } -func TimevalToNsec(tv Timeval) int64 { return int64(tv.Sec)*1e9 + int64(tv.Usec)*1e3 } - func NsecToTimeval(nsec int64) (tv Timeval) { nsec += 999 // round up to microsecond tv.Usec = nsec % 1e9 / 1e3 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_unix.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_unix.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/syscall_unix.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/syscall_unix.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_darwin.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_darwin.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_darwin.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_darwin.go index 2bb15cb8b7e..1153261822b 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_darwin.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_darwin.go @@ -241,3 +241,10 @@ type BpfHdr C.struct_bpf_hdr // Terminal handling type Termios C.struct_termios + +// fchmodat-like syscalls. + +const ( + AT_FDCWD = C.AT_FDCWD + AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW +) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_dragonfly.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_dragonfly.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_dragonfly.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_dragonfly.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_freebsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_freebsd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_freebsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_freebsd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_linux.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_linux.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_linux.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_linux.go index 9b75633b379..7dea79a8eff 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_linux.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_linux.go @@ -24,6 +24,7 @@ package unix #include #include #include +#include #include #include #include @@ -50,11 +51,20 @@ package unix #include #include #include -#include +#include #include #include #include #include +#include +#include + +#ifdef TCSETS2 +// On systems that have "struct termios2" use this as type Termios. +typedef struct termios2 termios_t; +#else +typedef struct termios termios_t; +#endif enum { sizeofPtr = sizeof(void*), @@ -91,17 +101,33 @@ typedef struct user_regs PtraceRegs; typedef struct user_pt_regs PtraceRegs; #elif defined(__powerpc64__) typedef struct pt_regs PtraceRegs; +#elif defined(__mips__) +typedef struct user PtraceRegs; +#elif defined(__s390x__) +typedef struct _user_regs_struct PtraceRegs; #else typedef struct user_regs_struct PtraceRegs; #endif +#if defined(__s390x__) +typedef struct _user_psw_struct ptracePsw; +typedef struct _user_fpregs_struct ptraceFpregs; +typedef struct _user_per_struct ptracePer; +#else +typedef struct {} ptracePsw; +typedef struct {} ptraceFpregs; +typedef struct {} ptracePer; +#endif + // The real epoll_event is a union, and godefs doesn't handle it well. struct my_epoll_event { uint32_t events; -#ifdef __ARM_EABI__ +#if defined(__ARM_EABI__) || defined(__aarch64__) // padding is not specified in linux/eventpoll.h but added to conform to the // alignment requirements of EABI int32_t padFd; +#elif defined(__powerpc64__) || defined(__s390x__) + int32_t _padFd; #endif int32_t fd; int32_t pad; @@ -187,6 +213,8 @@ type RawSockaddrLinklayer C.struct_sockaddr_ll type RawSockaddrNetlink C.struct_sockaddr_nl +type RawSockaddrHCI C.struct_sockaddr_hci + type RawSockaddr C.struct_sockaddr type RawSockaddrAny C.struct_sockaddr_any @@ -226,6 +254,7 @@ const ( SizeofSockaddrUnix = C.sizeof_struct_sockaddr_un SizeofSockaddrLinklayer = C.sizeof_struct_sockaddr_ll SizeofSockaddrNetlink = C.sizeof_struct_sockaddr_nl + SizeofSockaddrHCI = C.sizeof_struct_sockaddr_hci SizeofLinger = C.sizeof_struct_linger SizeofIPMreq = C.sizeof_struct_ip_mreq SizeofIPMreqn = C.sizeof_struct_ip_mreqn @@ -376,6 +405,13 @@ const SizeofInotifyEvent = C.sizeof_struct_inotify_event // Register structures type PtraceRegs C.PtraceRegs +// Structures contained in PtraceRegs on s390x (exported by mkpost.go) +type ptracePsw C.ptracePsw + +type ptraceFpregs C.ptraceFpregs + +type ptracePer C.ptracePer + // Misc type FdSet C.fd_set @@ -391,9 +427,24 @@ type EpollEvent C.struct_my_epoll_event const ( AT_FDCWD = C.AT_FDCWD AT_REMOVEDIR = C.AT_REMOVEDIR + AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW ) +type PollFd C.struct_pollfd + +const ( + POLLIN = C.POLLIN + POLLPRI = C.POLLPRI + POLLOUT = C.POLLOUT + POLLRDHUP = C.POLLRDHUP + POLLERR = C.POLLERR + POLLHUP = C.POLLHUP + POLLNVAL = C.POLLNVAL +) + +type Sigset_t C.sigset_t + // Terminal handling -type Termios C.struct_termios +type Termios C.termios_t diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_netbsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_netbsd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_netbsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_netbsd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_openbsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_openbsd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_openbsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_openbsd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_solaris.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_solaris.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_solaris.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_solaris.go index 753c7996b1d..c5d5c8f16a5 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/types_solaris.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/types_solaris.go @@ -15,10 +15,18 @@ package unix /* #define KERNEL +// These defines ensure that builds done on newer versions of Solaris are +// backwards-compatible with older versions of Solaris and +// OpenSolaris-based derivatives. +#define __USE_SUNOS_SOCKETS__ // msghdr +#define __USE_LEGACY_PROTOTYPES__ // iovec #include #include +#include +#include #include #include +#include #include #include #include @@ -30,7 +38,9 @@ package unix #include #include #include +#include #include +#include #include #include #include @@ -40,6 +50,8 @@ package unix #include #include #include +#include +#include enum { sizeofPtr = sizeof(void*), @@ -69,6 +81,8 @@ const ( sizeofInt = C.sizeof_int sizeofLong = C.sizeof_long sizeofLongLong = C.sizeof_longlong + PathMax = C.PATH_MAX + MaxHostNameLen = C.MAXHOSTNAMELEN ) // Basic types @@ -88,6 +102,10 @@ type Timeval C.struct_timeval type Timeval32 C.struct_timeval32 +type Tms C.struct_tms + +type Utimbuf C.struct_utimbuf + // Processes type Rusage C.struct_rusage @@ -175,6 +193,20 @@ const ( type FdSet C.fd_set +// Misc + +type Utsname C.struct_utsname + +type Ustat_t C.struct_ustat + +const ( + AT_FDCWD = C.AT_FDCWD + AT_SYMLINK_NOFOLLOW = C.AT_SYMLINK_NOFOLLOW + AT_SYMLINK_FOLLOW = C.AT_SYMLINK_FOLLOW + AT_REMOVEDIR = C.AT_REMOVEDIR + AT_EACCESS = C.AT_EACCESS +) + // Routing and interface messages const ( @@ -217,6 +249,14 @@ type BpfTimeval C.struct_bpf_timeval type BpfHdr C.struct_bpf_hdr +// sysconf information + +const _SC_PAGESIZE = C._SC_PAGESIZE + // Terminal handling type Termios C.struct_termios + +type Termio C.struct_termio + +type Winsize C.struct_winsize diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_darwin_arm64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_dragonfly_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go index 3c2a5bfc2e7..7b95751c3db 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_386.go @@ -225,6 +225,20 @@ const ( BRKINT = 0x2 CFLUSH = 0xf CLOCAL = 0x8000 + CLOCK_MONOTONIC = 0x4 + CLOCK_MONOTONIC_FAST = 0xc + CLOCK_MONOTONIC_PRECISE = 0xb + CLOCK_PROCESS_CPUTIME_ID = 0xf + CLOCK_PROF = 0x2 + CLOCK_REALTIME = 0x0 + CLOCK_REALTIME_FAST = 0xa + CLOCK_REALTIME_PRECISE = 0x9 + CLOCK_SECOND = 0xd + CLOCK_THREAD_CPUTIME_ID = 0xe + CLOCK_UPTIME = 0x5 + CLOCK_UPTIME_FAST = 0x8 + CLOCK_UPTIME_PRECISE = 0x7 + CLOCK_VIRTUAL = 0x1 CREAD = 0x800 CS5 = 0x0 CS6 = 0x100 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go index 3b3f7a9d22d..e48e7799a1d 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_amd64.go @@ -225,6 +225,20 @@ const ( BRKINT = 0x2 CFLUSH = 0xf CLOCAL = 0x8000 + CLOCK_MONOTONIC = 0x4 + CLOCK_MONOTONIC_FAST = 0xc + CLOCK_MONOTONIC_PRECISE = 0xb + CLOCK_PROCESS_CPUTIME_ID = 0xf + CLOCK_PROF = 0x2 + CLOCK_REALTIME = 0x0 + CLOCK_REALTIME_FAST = 0xa + CLOCK_REALTIME_PRECISE = 0x9 + CLOCK_SECOND = 0xd + CLOCK_THREAD_CPUTIME_ID = 0xe + CLOCK_UPTIME = 0x5 + CLOCK_UPTIME_FAST = 0x8 + CLOCK_UPTIME_PRECISE = 0x7 + CLOCK_VIRTUAL = 0x1 CREAD = 0x800 CS5 = 0x0 CS6 = 0x100 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_freebsd_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go index 6fbef752263..8f920124b87 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_386.go @@ -145,6 +145,7 @@ const ( B75 = 0x2 B921600 = 0x1007 B9600 = 0xd + BOTHER = 0x1000 BPF_A = 0x10 BPF_ABS = 0x20 BPF_ADD = 0x0 @@ -186,7 +187,13 @@ const ( BPF_W = 0x0 BPF_X = 0x8 BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x2000 + BSDLY = 0x2000 + CBAUD = 0x100f + CBAUDEX = 0x1000 CFLUSH = 0xf + CIBAUD = 0x100f0000 CLOCAL = 0x800 CLOCK_BOOTTIME = 0x7 CLOCK_BOOTTIME_ALARM = 0x9 @@ -209,6 +216,7 @@ const ( CLONE_FILES = 0x400 CLONE_FS = 0x200 CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 CLONE_NEWIPC = 0x8000000 CLONE_NEWNET = 0x40000000 CLONE_NEWNS = 0x20000 @@ -225,7 +233,14 @@ const ( CLONE_UNTRACED = 0x800000 CLONE_VFORK = 0x4000 CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x200 + CR2 = 0x400 + CR3 = 0x600 + CRDLY = 0x600 CREAD = 0x80 + CRTSCTS = 0x80000000 CS5 = 0x0 CS6 = 0x10 CS7 = 0x20 @@ -353,6 +368,9 @@ const ( EXTPROC = 0x10000 FD_CLOEXEC = 0x1 FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x8000 + FFDLY = 0x8000 FLUSHO = 0x1000 F_DUPFD = 0x0 F_DUPFD_CLOEXEC = 0x406 @@ -388,6 +406,7 @@ const ( F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x400 + IBSHIFT = 0x10 ICANON = 0x2 ICMPV6_FILTER = 0x1 ICRNL = 0x100 @@ -619,6 +638,7 @@ const ( IP_XFRM_POLICY = 0x11 ISIG = 0x1 ISTRIP = 0x20 + IUCLC = 0x200 IUTF8 = 0x4000 IXANY = 0x800 IXOFF = 0x1000 @@ -750,10 +770,13 @@ const ( NETLINK_UNUSED = 0x1 NETLINK_USERSOCK = 0x2 NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 NLA_ALIGNTO = 0x4 NLA_F_NESTED = 0x8000 NLA_F_NET_BYTEORDER = 0x4000 NLA_HDRLEN = 0x4 + NLDLY = 0x100 NLMSG_ALIGNTO = 0x4 NLMSG_DONE = 0x3 NLMSG_ERROR = 0x2 @@ -778,6 +801,7 @@ const ( OCRNL = 0x8 OFDEL = 0x80 OFILL = 0x40 + OLCUC = 0x2 ONLCR = 0x4 ONLRET = 0x20 ONOCR = 0x10 @@ -803,6 +827,7 @@ const ( O_RDWR = 0x2 O_RSYNC = 0x101000 O_SYNC = 0x101000 + O_TMPFILE = 0x410000 O_TRUNC = 0x200 O_WRONLY = 0x1 PACKET_ADD_MEMBERSHIP = 0x1 @@ -1275,10 +1300,23 @@ const ( S_IXGRP = 0x8 S_IXOTH = 0x1 S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x800 + TAB2 = 0x1000 + TAB3 = 0x1800 + TABDLY = 0x1800 TCFLSH = 0x540b + TCGETA = 0x5405 + TCGETS = 0x5401 + TCGETS2 = 0x802c542a + TCGETX = 0x5432 TCIFLUSH = 0x0 + TCIOFF = 0x2 TCIOFLUSH = 0x2 + TCION = 0x3 TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 TCP_CONGESTION = 0xd TCP_CORK = 0x3 TCP_DEFER_ACCEPT = 0x9 @@ -1298,14 +1336,32 @@ const ( TCP_SYNCNT = 0x7 TCP_WINDOW_CLAMP = 0xa TCSAFLUSH = 0x2 + TCSBRK = 0x5409 + TCSBRKP = 0x5425 + TCSETA = 0x5406 + TCSETAF = 0x5408 + TCSETAW = 0x5407 + TCSETS = 0x5402 + TCSETS2 = 0x402c542b + TCSETSF = 0x5404 + TCSETSF2 = 0x402c542d + TCSETSW = 0x5403 + TCSETSW2 = 0x402c542c + TCSETX = 0x5433 + TCSETXF = 0x5434 + TCSETXW = 0x5435 + TCXONC = 0x540a TIOCCBRK = 0x5428 TIOCCONS = 0x541d TIOCEXCL = 0x540c TIOCGDEV = 0x80045432 TIOCGETD = 0x5424 + TIOCGEXCL = 0x80045440 TIOCGICOUNT = 0x545d TIOCGLCKTRMIOS = 0x5456 TIOCGPGRP = 0x540f + TIOCGPKT = 0x80045438 + TIOCGPTLCK = 0x80045439 TIOCGPTN = 0x80045430 TIOCGRS485 = 0x542e TIOCGSERIAL = 0x541e @@ -1411,6 +1467,8 @@ const ( WORDSIZE = 0x20 WSTOPPED = 0x2 WUNTRACED = 0x2 + XCASE = 0x4 + XTABS = 0x1800 ) // Errors diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go index b40ccb8d7e5..49b6c354675 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go @@ -145,6 +145,7 @@ const ( B75 = 0x2 B921600 = 0x1007 B9600 = 0xd + BOTHER = 0x1000 BPF_A = 0x10 BPF_ABS = 0x20 BPF_ADD = 0x0 @@ -186,7 +187,13 @@ const ( BPF_W = 0x0 BPF_X = 0x8 BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x2000 + BSDLY = 0x2000 + CBAUD = 0x100f + CBAUDEX = 0x1000 CFLUSH = 0xf + CIBAUD = 0x100f0000 CLOCAL = 0x800 CLOCK_BOOTTIME = 0x7 CLOCK_BOOTTIME_ALARM = 0x9 @@ -209,6 +216,7 @@ const ( CLONE_FILES = 0x400 CLONE_FS = 0x200 CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 CLONE_NEWIPC = 0x8000000 CLONE_NEWNET = 0x40000000 CLONE_NEWNS = 0x20000 @@ -225,7 +233,14 @@ const ( CLONE_UNTRACED = 0x800000 CLONE_VFORK = 0x4000 CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x200 + CR2 = 0x400 + CR3 = 0x600 + CRDLY = 0x600 CREAD = 0x80 + CRTSCTS = 0x80000000 CS5 = 0x0 CS6 = 0x10 CS7 = 0x20 @@ -353,6 +368,9 @@ const ( EXTPROC = 0x10000 FD_CLOEXEC = 0x1 FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x8000 + FFDLY = 0x8000 FLUSHO = 0x1000 F_DUPFD = 0x0 F_DUPFD_CLOEXEC = 0x406 @@ -388,6 +406,7 @@ const ( F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x400 + IBSHIFT = 0x10 ICANON = 0x2 ICMPV6_FILTER = 0x1 ICRNL = 0x100 @@ -619,6 +638,7 @@ const ( IP_XFRM_POLICY = 0x11 ISIG = 0x1 ISTRIP = 0x20 + IUCLC = 0x200 IUTF8 = 0x4000 IXANY = 0x800 IXOFF = 0x1000 @@ -750,10 +770,13 @@ const ( NETLINK_UNUSED = 0x1 NETLINK_USERSOCK = 0x2 NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 NLA_ALIGNTO = 0x4 NLA_F_NESTED = 0x8000 NLA_F_NET_BYTEORDER = 0x4000 NLA_HDRLEN = 0x4 + NLDLY = 0x100 NLMSG_ALIGNTO = 0x4 NLMSG_DONE = 0x3 NLMSG_ERROR = 0x2 @@ -778,6 +801,7 @@ const ( OCRNL = 0x8 OFDEL = 0x80 OFILL = 0x40 + OLCUC = 0x2 ONLCR = 0x4 ONLRET = 0x20 ONOCR = 0x10 @@ -803,6 +827,7 @@ const ( O_RDWR = 0x2 O_RSYNC = 0x101000 O_SYNC = 0x101000 + O_TMPFILE = 0x410000 O_TRUNC = 0x200 O_WRONLY = 0x1 PACKET_ADD_MEMBERSHIP = 0x1 @@ -1276,10 +1301,23 @@ const ( S_IXGRP = 0x8 S_IXOTH = 0x1 S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x800 + TAB2 = 0x1000 + TAB3 = 0x1800 + TABDLY = 0x1800 TCFLSH = 0x540b + TCGETA = 0x5405 + TCGETS = 0x5401 + TCGETS2 = 0x802c542a + TCGETX = 0x5432 TCIFLUSH = 0x0 + TCIOFF = 0x2 TCIOFLUSH = 0x2 + TCION = 0x3 TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 TCP_CONGESTION = 0xd TCP_CORK = 0x3 TCP_DEFER_ACCEPT = 0x9 @@ -1299,14 +1337,32 @@ const ( TCP_SYNCNT = 0x7 TCP_WINDOW_CLAMP = 0xa TCSAFLUSH = 0x2 + TCSBRK = 0x5409 + TCSBRKP = 0x5425 + TCSETA = 0x5406 + TCSETAF = 0x5408 + TCSETAW = 0x5407 + TCSETS = 0x5402 + TCSETS2 = 0x402c542b + TCSETSF = 0x5404 + TCSETSF2 = 0x402c542d + TCSETSW = 0x5403 + TCSETSW2 = 0x402c542c + TCSETX = 0x5433 + TCSETXF = 0x5434 + TCSETXW = 0x5435 + TCXONC = 0x540a TIOCCBRK = 0x5428 TIOCCONS = 0x541d TIOCEXCL = 0x540c TIOCGDEV = 0x80045432 TIOCGETD = 0x5424 + TIOCGEXCL = 0x80045440 TIOCGICOUNT = 0x545d TIOCGLCKTRMIOS = 0x5456 TIOCGPGRP = 0x540f + TIOCGPKT = 0x80045438 + TIOCGPTLCK = 0x80045439 TIOCGPTN = 0x80045430 TIOCGRS485 = 0x542e TIOCGSERIAL = 0x541e @@ -1412,6 +1468,8 @@ const ( WORDSIZE = 0x40 WSTOPPED = 0x2 WUNTRACED = 0x2 + XCASE = 0x4 + XTABS = 0x1800 ) // Errors diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go index 4535b78b777..f036758f926 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_arm.go @@ -110,6 +110,38 @@ const ( ARPHRD_TUNNEL6 = 0x301 ARPHRD_VOID = 0xffff ARPHRD_X25 = 0x10f + B0 = 0x0 + B1000000 = 0x1008 + B110 = 0x3 + B115200 = 0x1002 + B1152000 = 0x1009 + B1200 = 0x9 + B134 = 0x4 + B150 = 0x5 + B1500000 = 0x100a + B1800 = 0xa + B19200 = 0xe + B200 = 0x6 + B2000000 = 0x100b + B230400 = 0x1003 + B2400 = 0xb + B2500000 = 0x100c + B300 = 0x7 + B3000000 = 0x100d + B3500000 = 0x100e + B38400 = 0xf + B4000000 = 0x100f + B460800 = 0x1004 + B4800 = 0xc + B50 = 0x1 + B500000 = 0x1005 + B57600 = 0x1001 + B576000 = 0x1006 + B600 = 0x8 + B75 = 0x2 + B921600 = 0x1007 + B9600 = 0xd + BOTHER = 0x1000 BPF_A = 0x10 BPF_ABS = 0x20 BPF_ADD = 0x0 @@ -150,6 +182,15 @@ const ( BPF_TXA = 0x80 BPF_W = 0x0 BPF_X = 0x8 + BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x2000 + BSDLY = 0x2000 + CBAUD = 0x100f + CBAUDEX = 0x1000 + CFLUSH = 0xf + CIBAUD = 0x100f0000 + CLOCAL = 0x800 CLOCK_BOOTTIME = 0x7 CLOCK_BOOTTIME_ALARM = 0x9 CLOCK_DEFAULT = 0x0 @@ -171,6 +212,7 @@ const ( CLONE_FILES = 0x400 CLONE_FS = 0x200 CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 CLONE_NEWIPC = 0x8000000 CLONE_NEWNET = 0x40000000 CLONE_NEWNS = 0x20000 @@ -187,6 +229,25 @@ const ( CLONE_UNTRACED = 0x800000 CLONE_VFORK = 0x4000 CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x200 + CR2 = 0x400 + CR3 = 0x600 + CRDLY = 0x600 + CREAD = 0x80 + CRTSCTS = 0x80000000 + CS5 = 0x0 + CS6 = 0x10 + CS7 = 0x20 + CS8 = 0x30 + CSIGNAL = 0xff + CSIZE = 0x30 + CSTART = 0x11 + CSTATUS = 0x0 + CSTOP = 0x13 + CSTOPB = 0x40 + CSUSP = 0x1a DT_BLK = 0x6 DT_CHR = 0x2 DT_DIR = 0x4 @@ -198,6 +259,13 @@ const ( DT_WHT = 0xe ELF_NGREG = 0x12 ELF_PRARGSZ = 0x50 + ECHO = 0x8 + ECHOCTL = 0x200 + ECHOE = 0x10 + ECHOK = 0x20 + ECHOKE = 0x800 + ECHONL = 0x40 + ECHOPRT = 0x400 EPOLLERR = 0x8 EPOLLET = -0x80000000 EPOLLHUP = 0x10 @@ -280,8 +348,15 @@ const ( ETH_P_WAN_PPP = 0x7 ETH_P_WCCP = 0x883e ETH_P_X25 = 0x805 + EXTA = 0xe + EXTB = 0xf + EXTPROC = 0x10000 FD_CLOEXEC = 0x1 FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x8000 + FFDLY = 0x8000 + FLUSHO = 0x1000 F_DUPFD = 0x0 F_DUPFD_CLOEXEC = 0x406 F_EXLCK = 0x4 @@ -315,7 +390,12 @@ const ( F_ULOCK = 0x0 F_UNLCK = 0x2 F_WRLCK = 0x1 + HUPCL = 0x400 + IBSHIFT = 0x10 + ICANON = 0x2 ICMPV6_FILTER = 0x1 + ICRNL = 0x100 + IEXTEN = 0x8000 IFA_F_DADFAILED = 0x8 IFA_F_DEPRECATED = 0x20 IFA_F_HOMEADDRESS = 0x10 @@ -349,6 +429,12 @@ const ( IFF_UP = 0x1 IFF_VNET_HDR = 0x4000 IFNAMSIZ = 0x10 + IGNBRK = 0x1 + IGNCR = 0x80 + IGNPAR = 0x4 + IMAXBEL = 0x2000 + INLCR = 0x40 + INPCK = 0x10 IN_ACCESS = 0x1 IN_ALL_EVENTS = 0xfff IN_ATTRIB = 0x4 @@ -512,6 +598,13 @@ const ( IP_TTL = 0x2 IP_UNBLOCK_SOURCE = 0x25 IP_XFRM_POLICY = 0x11 + ISIG = 0x1 + ISTRIP = 0x20 + IUCLC = 0x200 + IUTF8 = 0x4000 + IXANY = 0x800 + IXOFF = 0x1000 + IXON = 0x400 LINUX_REBOOT_CMD_CAD_OFF = 0x0 LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef LINUX_REBOOT_CMD_HALT = 0xcdef0123 @@ -635,10 +728,13 @@ const ( NETLINK_UNUSED = 0x1 NETLINK_USERSOCK = 0x2 NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 NLA_ALIGNTO = 0x4 NLA_F_NESTED = 0x8000 NLA_F_NET_BYTEORDER = 0x4000 NLA_HDRLEN = 0x4 + NLDLY = 0x100 NLMSG_ALIGNTO = 0x4 NLMSG_DONE = 0x3 NLMSG_ERROR = 0x2 @@ -658,6 +754,15 @@ const ( NLM_F_REPLACE = 0x100 NLM_F_REQUEST = 0x1 NLM_F_ROOT = 0x100 + NOFLSH = 0x80 + OCRNL = 0x8 + OFDEL = 0x80 + OFILL = 0x40 + OLCUC = 0x2 + ONLCR = 0x4 + ONLRET = 0x20 + ONOCR = 0x10 + OPOST = 0x1 O_ACCMODE = 0x3 O_APPEND = 0x400 O_ASYNC = 0x2000 @@ -674,6 +779,7 @@ const ( O_NOCTTY = 0x100 O_NOFOLLOW = 0x8000 O_NONBLOCK = 0x800 + O_PATH = 0x200000 O_RDONLY = 0x0 O_RDWR = 0x2 O_RSYNC = 0x1000 @@ -695,6 +801,10 @@ const ( PACKET_RECV_OUTPUT = 0x3 PACKET_RX_RING = 0x5 PACKET_STATISTICS = 0x6 + PARENB = 0x100 + PARMRK = 0x8 + PARODD = 0x200 + PENDIN = 0x4000 PRIO_PGRP = 0x1 PRIO_PROCESS = 0x0 PRIO_USER = 0x2 @@ -1114,9 +1224,23 @@ const ( S_IXGRP = 0x8 S_IXOTH = 0x1 S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x800 + TAB2 = 0x1000 + TAB3 = 0x1800 + TABDLY = 0x1800 + TCFLSH = 0x540b + TCGETA = 0x5405 + TCGETS = 0x5401 + TCGETS2 = 0x802c542a + TCGETX = 0x5432 TCIFLUSH = 0x0 + TCIOFF = 0x2 TCIOFLUSH = 0x2 + TCION = 0x3 TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 TCP_CONGESTION = 0xd TCP_CORK = 0x3 TCP_DEFER_ACCEPT = 0x9 @@ -1135,14 +1259,33 @@ const ( TCP_QUICKACK = 0xc TCP_SYNCNT = 0x7 TCP_WINDOW_CLAMP = 0xa + TCSAFLUSH = 0x2 + TCSBRK = 0x5409 + TCSBRKP = 0x5425 + TCSETA = 0x5406 + TCSETAF = 0x5408 + TCSETAW = 0x5407 + TCSETS = 0x5402 + TCSETS2 = 0x402c542b + TCSETSF = 0x5404 + TCSETSF2 = 0x402c542d + TCSETSW = 0x5403 + TCSETSW2 = 0x402c542c + TCSETX = 0x5433 + TCSETXF = 0x5434 + TCSETXW = 0x5435 + TCXONC = 0x540a TIOCCBRK = 0x5428 TIOCCONS = 0x541d TIOCEXCL = 0x540c TIOCGDEV = 0x80045432 TIOCGETD = 0x5424 + TIOCGEXCL = 0x80045440 TIOCGICOUNT = 0x545d TIOCGLCKTRMIOS = 0x5456 TIOCGPGRP = 0x540f + TIOCGPKT = 0x80045438 + TIOCGPTLCK = 0x80045439 TIOCGPTN = 0x80045430 TIOCGRS485 = 0x542e TIOCGSERIAL = 0x541e @@ -1200,6 +1343,7 @@ const ( TIOCSTI = 0x5412 TIOCSWINSZ = 0x5414 TIOCVHANGUP = 0x5437 + TOSTOP = 0x100 TUNATTACHFILTER = 0x400854d5 TUNDETACHFILTER = 0x400854d6 TUNGETFEATURES = 0x800454cf @@ -1217,6 +1361,26 @@ const ( TUNSETSNDBUF = 0x400454d4 TUNSETTXFILTER = 0x400454d1 TUNSETVNETHDRSZ = 0x400454d8 + VDISCARD = 0xd + VEOF = 0x4 + VEOL = 0xb + VEOL2 = 0x10 + VERASE = 0x2 + VINTR = 0x0 + VKILL = 0x3 + VLNEXT = 0xf + VMIN = 0x6 + VQUIT = 0x1 + VREPRINT = 0xc + VSTART = 0x8 + VSTOP = 0x9 + VSUSP = 0xa + VSWTC = 0x7 + VT0 = 0x0 + VT1 = 0x4000 + VTDLY = 0x4000 + VTIME = 0x5 + VWERASE = 0xe WALL = 0x40000000 WCLONE = 0x80000000 WCONTINUED = 0x8 @@ -1227,6 +1391,8 @@ const ( WORDSIZE = 0x20 WSTOPPED = 0x2 WUNTRACED = 0x2 + XCASE = 0x4 + XTABS = 0x1800 ) // Errors diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go index 165073f1326..16dcbc9cb21 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go @@ -149,6 +149,7 @@ const ( B75 = 0x2 B921600 = 0x1007 B9600 = 0xd + BOTHER = 0x1000 BPF_A = 0x10 BPF_ABS = 0x20 BPF_ADD = 0x0 @@ -192,7 +193,13 @@ const ( BPF_X = 0x8 BPF_XOR = 0xa0 BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x2000 + BSDLY = 0x2000 + CBAUD = 0x100f + CBAUDEX = 0x1000 CFLUSH = 0xf + CIBAUD = 0x100f0000 CLOCAL = 0x800 CLOCK_BOOTTIME = 0x7 CLOCK_BOOTTIME_ALARM = 0x9 @@ -215,6 +222,7 @@ const ( CLONE_FILES = 0x400 CLONE_FS = 0x200 CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 CLONE_NEWIPC = 0x8000000 CLONE_NEWNET = 0x40000000 CLONE_NEWNS = 0x20000 @@ -231,7 +239,14 @@ const ( CLONE_UNTRACED = 0x800000 CLONE_VFORK = 0x4000 CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x200 + CR2 = 0x400 + CR3 = 0x600 + CRDLY = 0x600 CREAD = 0x80 + CRTSCTS = 0x80000000 CS5 = 0x0 CS6 = 0x10 CS7 = 0x20 @@ -367,6 +382,9 @@ const ( EXTPROC = 0x10000 FD_CLOEXEC = 0x1 FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x8000 + FFDLY = 0x8000 FLUSHO = 0x1000 F_DUPFD = 0x0 F_DUPFD_CLOEXEC = 0x406 @@ -402,6 +420,7 @@ const ( F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x400 + IBSHIFT = 0x10 ICANON = 0x2 ICMPV6_FILTER = 0x1 ICRNL = 0x100 @@ -645,6 +664,7 @@ const ( IP_XFRM_POLICY = 0x11 ISIG = 0x1 ISTRIP = 0x20 + IUCLC = 0x200 IUTF8 = 0x4000 IXANY = 0x800 IXOFF = 0x1000 @@ -782,10 +802,13 @@ const ( NETLINK_UNUSED = 0x1 NETLINK_USERSOCK = 0x2 NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 NLA_ALIGNTO = 0x4 NLA_F_NESTED = 0x8000 NLA_F_NET_BYTEORDER = 0x4000 NLA_HDRLEN = 0x4 + NLDLY = 0x100 NLMSG_ALIGNTO = 0x4 NLMSG_DONE = 0x3 NLMSG_ERROR = 0x2 @@ -810,6 +833,7 @@ const ( OCRNL = 0x8 OFDEL = 0x80 OFILL = 0x40 + OLCUC = 0x2 ONLCR = 0x4 ONLRET = 0x20 ONOCR = 0x10 @@ -1332,10 +1356,23 @@ const ( S_IXGRP = 0x8 S_IXOTH = 0x1 S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x800 + TAB2 = 0x1000 + TAB3 = 0x1800 + TABDLY = 0x1800 TCFLSH = 0x540b + TCGETA = 0x5405 + TCGETS = 0x5401 + TCGETS2 = 0x802c542a + TCGETX = 0x5432 TCIFLUSH = 0x0 + TCIOFF = 0x2 TCIOFLUSH = 0x2 + TCION = 0x3 TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 TCP_CONGESTION = 0xd TCP_COOKIE_IN_ALWAYS = 0x1 TCP_COOKIE_MAX = 0x10 @@ -1374,6 +1411,21 @@ const ( TCP_USER_TIMEOUT = 0x12 TCP_WINDOW_CLAMP = 0xa TCSAFLUSH = 0x2 + TCSBRK = 0x5409 + TCSBRKP = 0x5425 + TCSETA = 0x5406 + TCSETAF = 0x5408 + TCSETAW = 0x5407 + TCSETS = 0x5402 + TCSETS2 = 0x402c542b + TCSETSF = 0x5404 + TCSETSF2 = 0x402c542d + TCSETSW = 0x5403 + TCSETSW2 = 0x402c542c + TCSETX = 0x5433 + TCSETXF = 0x5434 + TCSETXW = 0x5435 + TCXONC = 0x540a TIOCCBRK = 0x5428 TIOCCONS = 0x541d TIOCEXCL = 0x540c @@ -1493,6 +1545,8 @@ const ( WORDSIZE = 0x40 WSTOPPED = 0x2 WUNTRACED = 0x2 + XCASE = 0x4 + XTABS = 0x1800 ) // Errors diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go new file mode 100644 index 00000000000..36535b242d2 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go @@ -0,0 +1,1917 @@ +// mkerrors.sh +// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT + +// +build mips64,linux + +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs -- _const.go + +package unix + +import "syscall" + +const ( + AF_ALG = 0x26 + AF_APPLETALK = 0x5 + AF_ASH = 0x12 + AF_ATMPVC = 0x8 + AF_ATMSVC = 0x14 + AF_AX25 = 0x3 + AF_BLUETOOTH = 0x1f + AF_BRIDGE = 0x7 + AF_CAIF = 0x25 + AF_CAN = 0x1d + AF_DECnet = 0xc + AF_ECONET = 0x13 + AF_FILE = 0x1 + AF_IB = 0x1b + AF_IEEE802154 = 0x24 + AF_INET = 0x2 + AF_INET6 = 0xa + AF_IPX = 0x4 + AF_IRDA = 0x17 + AF_ISDN = 0x22 + AF_IUCV = 0x20 + AF_KEY = 0xf + AF_LLC = 0x1a + AF_LOCAL = 0x1 + AF_MAX = 0x29 + AF_MPLS = 0x1c + AF_NETBEUI = 0xd + AF_NETLINK = 0x10 + AF_NETROM = 0x6 + AF_NFC = 0x27 + AF_PACKET = 0x11 + AF_PHONET = 0x23 + AF_PPPOX = 0x18 + AF_RDS = 0x15 + AF_ROSE = 0xb + AF_ROUTE = 0x10 + AF_RXRPC = 0x21 + AF_SECURITY = 0xe + AF_SNA = 0x16 + AF_TIPC = 0x1e + AF_UNIX = 0x1 + AF_UNSPEC = 0x0 + AF_VSOCK = 0x28 + AF_WANPIPE = 0x19 + AF_X25 = 0x9 + ARPHRD_6LOWPAN = 0x339 + ARPHRD_ADAPT = 0x108 + ARPHRD_APPLETLK = 0x8 + ARPHRD_ARCNET = 0x7 + ARPHRD_ASH = 0x30d + ARPHRD_ATM = 0x13 + ARPHRD_AX25 = 0x3 + ARPHRD_BIF = 0x307 + ARPHRD_CAIF = 0x336 + ARPHRD_CAN = 0x118 + ARPHRD_CHAOS = 0x5 + ARPHRD_CISCO = 0x201 + ARPHRD_CSLIP = 0x101 + ARPHRD_CSLIP6 = 0x103 + ARPHRD_DDCMP = 0x205 + ARPHRD_DLCI = 0xf + ARPHRD_ECONET = 0x30e + ARPHRD_EETHER = 0x2 + ARPHRD_ETHER = 0x1 + ARPHRD_EUI64 = 0x1b + ARPHRD_FCAL = 0x311 + ARPHRD_FCFABRIC = 0x313 + ARPHRD_FCPL = 0x312 + ARPHRD_FCPP = 0x310 + ARPHRD_FDDI = 0x306 + ARPHRD_FRAD = 0x302 + ARPHRD_HDLC = 0x201 + ARPHRD_HIPPI = 0x30c + ARPHRD_HWX25 = 0x110 + ARPHRD_IEEE1394 = 0x18 + ARPHRD_IEEE802 = 0x6 + ARPHRD_IEEE80211 = 0x321 + ARPHRD_IEEE80211_PRISM = 0x322 + ARPHRD_IEEE80211_RADIOTAP = 0x323 + ARPHRD_IEEE802154 = 0x324 + ARPHRD_IEEE802154_MONITOR = 0x325 + ARPHRD_IEEE802_TR = 0x320 + ARPHRD_INFINIBAND = 0x20 + ARPHRD_IP6GRE = 0x337 + ARPHRD_IPDDP = 0x309 + ARPHRD_IPGRE = 0x30a + ARPHRD_IRDA = 0x30f + ARPHRD_LAPB = 0x204 + ARPHRD_LOCALTLK = 0x305 + ARPHRD_LOOPBACK = 0x304 + ARPHRD_METRICOM = 0x17 + ARPHRD_NETLINK = 0x338 + ARPHRD_NETROM = 0x0 + ARPHRD_NONE = 0xfffe + ARPHRD_PHONET = 0x334 + ARPHRD_PHONET_PIPE = 0x335 + ARPHRD_PIMREG = 0x30b + ARPHRD_PPP = 0x200 + ARPHRD_PRONET = 0x4 + ARPHRD_RAWHDLC = 0x206 + ARPHRD_ROSE = 0x10e + ARPHRD_RSRVD = 0x104 + ARPHRD_SIT = 0x308 + ARPHRD_SKIP = 0x303 + ARPHRD_SLIP = 0x100 + ARPHRD_SLIP6 = 0x102 + ARPHRD_TUNNEL = 0x300 + ARPHRD_TUNNEL6 = 0x301 + ARPHRD_VOID = 0xffff + ARPHRD_X25 = 0x10f + B0 = 0x0 + B1000000 = 0x1008 + B110 = 0x3 + B115200 = 0x1002 + B1152000 = 0x1009 + B1200 = 0x9 + B134 = 0x4 + B150 = 0x5 + B1500000 = 0x100a + B1800 = 0xa + B19200 = 0xe + B200 = 0x6 + B2000000 = 0x100b + B230400 = 0x1003 + B2400 = 0xb + B2500000 = 0x100c + B300 = 0x7 + B3000000 = 0x100d + B3500000 = 0x100e + B38400 = 0xf + B4000000 = 0x100f + B460800 = 0x1004 + B4800 = 0xc + B50 = 0x1 + B500000 = 0x1005 + B57600 = 0x1001 + B576000 = 0x1006 + B600 = 0x8 + B75 = 0x2 + B921600 = 0x1007 + B9600 = 0xd + BPF_A = 0x10 + BPF_ABS = 0x20 + BPF_ADD = 0x0 + BPF_ALU = 0x4 + BPF_AND = 0x50 + BPF_B = 0x10 + BPF_DIV = 0x30 + BPF_H = 0x8 + BPF_IMM = 0x0 + BPF_IND = 0x40 + BPF_JA = 0x0 + BPF_JEQ = 0x10 + BPF_JGE = 0x30 + BPF_JGT = 0x20 + BPF_JMP = 0x5 + BPF_JSET = 0x40 + BPF_K = 0x0 + BPF_LD = 0x0 + BPF_LDX = 0x1 + BPF_LEN = 0x80 + BPF_LL_OFF = -0x200000 + BPF_LSH = 0x60 + BPF_MAJOR_VERSION = 0x1 + BPF_MAXINSNS = 0x1000 + BPF_MEM = 0x60 + BPF_MEMWORDS = 0x10 + BPF_MINOR_VERSION = 0x1 + BPF_MISC = 0x7 + BPF_MOD = 0x90 + BPF_MSH = 0xa0 + BPF_MUL = 0x20 + BPF_NEG = 0x80 + BPF_NET_OFF = -0x100000 + BPF_OR = 0x40 + BPF_RET = 0x6 + BPF_RSH = 0x70 + BPF_ST = 0x2 + BPF_STX = 0x3 + BPF_SUB = 0x10 + BPF_TAX = 0x0 + BPF_TXA = 0x80 + BPF_W = 0x0 + BPF_X = 0x8 + BPF_XOR = 0xa0 + BRKINT = 0x2 + CFLUSH = 0xf + CLOCAL = 0x800 + CLOCK_BOOTTIME = 0x7 + CLOCK_BOOTTIME_ALARM = 0x9 + CLOCK_DEFAULT = 0x0 + CLOCK_EXT = 0x1 + CLOCK_INT = 0x2 + CLOCK_MONOTONIC = 0x1 + CLOCK_MONOTONIC_COARSE = 0x6 + CLOCK_MONOTONIC_RAW = 0x4 + CLOCK_PROCESS_CPUTIME_ID = 0x2 + CLOCK_REALTIME = 0x0 + CLOCK_REALTIME_ALARM = 0x8 + CLOCK_REALTIME_COARSE = 0x5 + CLOCK_TAI = 0xb + CLOCK_THREAD_CPUTIME_ID = 0x3 + CLOCK_TXFROMRX = 0x4 + CLOCK_TXINT = 0x3 + CLONE_CHILD_CLEARTID = 0x200000 + CLONE_CHILD_SETTID = 0x1000000 + CLONE_DETACHED = 0x400000 + CLONE_FILES = 0x400 + CLONE_FS = 0x200 + CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 + CLONE_NEWIPC = 0x8000000 + CLONE_NEWNET = 0x40000000 + CLONE_NEWNS = 0x20000 + CLONE_NEWPID = 0x20000000 + CLONE_NEWUSER = 0x10000000 + CLONE_NEWUTS = 0x4000000 + CLONE_PARENT = 0x8000 + CLONE_PARENT_SETTID = 0x100000 + CLONE_PTRACE = 0x2000 + CLONE_SETTLS = 0x80000 + CLONE_SIGHAND = 0x800 + CLONE_SYSVSEM = 0x40000 + CLONE_THREAD = 0x10000 + CLONE_UNTRACED = 0x800000 + CLONE_VFORK = 0x4000 + CLONE_VM = 0x100 + CREAD = 0x80 + CS5 = 0x0 + CS6 = 0x10 + CS7 = 0x20 + CS8 = 0x30 + CSIGNAL = 0xff + CSIZE = 0x30 + CSTART = 0x11 + CSTATUS = 0x0 + CSTOP = 0x13 + CSTOPB = 0x40 + CSUSP = 0x1a + DT_BLK = 0x6 + DT_CHR = 0x2 + DT_DIR = 0x4 + DT_FIFO = 0x1 + DT_LNK = 0xa + DT_REG = 0x8 + DT_SOCK = 0xc + DT_UNKNOWN = 0x0 + DT_WHT = 0xe + ECHO = 0x8 + ECHOCTL = 0x200 + ECHOE = 0x10 + ECHOK = 0x20 + ECHOKE = 0x800 + ECHONL = 0x40 + ECHOPRT = 0x400 + ENCODING_DEFAULT = 0x0 + ENCODING_FM_MARK = 0x3 + ENCODING_FM_SPACE = 0x4 + ENCODING_MANCHESTER = 0x5 + ENCODING_NRZ = 0x1 + ENCODING_NRZI = 0x2 + EPOLLERR = 0x8 + EPOLLET = 0x80000000 + EPOLLHUP = 0x10 + EPOLLIN = 0x1 + EPOLLMSG = 0x400 + EPOLLONESHOT = 0x40000000 + EPOLLOUT = 0x4 + EPOLLPRI = 0x2 + EPOLLRDBAND = 0x80 + EPOLLRDHUP = 0x2000 + EPOLLRDNORM = 0x40 + EPOLLWAKEUP = 0x20000000 + EPOLLWRBAND = 0x200 + EPOLLWRNORM = 0x100 + EPOLL_CLOEXEC = 0x80000 + EPOLL_CTL_ADD = 0x1 + EPOLL_CTL_DEL = 0x2 + EPOLL_CTL_MOD = 0x3 + ETH_P_1588 = 0x88f7 + ETH_P_8021AD = 0x88a8 + ETH_P_8021AH = 0x88e7 + ETH_P_8021Q = 0x8100 + ETH_P_80221 = 0x8917 + ETH_P_802_2 = 0x4 + ETH_P_802_3 = 0x1 + ETH_P_802_3_MIN = 0x600 + ETH_P_802_EX1 = 0x88b5 + ETH_P_AARP = 0x80f3 + ETH_P_AF_IUCV = 0xfbfb + ETH_P_ALL = 0x3 + ETH_P_AOE = 0x88a2 + ETH_P_ARCNET = 0x1a + ETH_P_ARP = 0x806 + ETH_P_ATALK = 0x809b + ETH_P_ATMFATE = 0x8884 + ETH_P_ATMMPOA = 0x884c + ETH_P_AX25 = 0x2 + ETH_P_BATMAN = 0x4305 + ETH_P_BPQ = 0x8ff + ETH_P_CAIF = 0xf7 + ETH_P_CAN = 0xc + ETH_P_CANFD = 0xd + ETH_P_CONTROL = 0x16 + ETH_P_CUST = 0x6006 + ETH_P_DDCMP = 0x6 + ETH_P_DEC = 0x6000 + ETH_P_DIAG = 0x6005 + ETH_P_DNA_DL = 0x6001 + ETH_P_DNA_RC = 0x6002 + ETH_P_DNA_RT = 0x6003 + ETH_P_DSA = 0x1b + ETH_P_ECONET = 0x18 + ETH_P_EDSA = 0xdada + ETH_P_FCOE = 0x8906 + ETH_P_FIP = 0x8914 + ETH_P_HDLC = 0x19 + ETH_P_IEEE802154 = 0xf6 + ETH_P_IEEEPUP = 0xa00 + ETH_P_IEEEPUPAT = 0xa01 + ETH_P_IP = 0x800 + ETH_P_IPV6 = 0x86dd + ETH_P_IPX = 0x8137 + ETH_P_IRDA = 0x17 + ETH_P_LAT = 0x6004 + ETH_P_LINK_CTL = 0x886c + ETH_P_LOCALTALK = 0x9 + ETH_P_LOOP = 0x60 + ETH_P_LOOPBACK = 0x9000 + ETH_P_MOBITEX = 0x15 + ETH_P_MPLS_MC = 0x8848 + ETH_P_MPLS_UC = 0x8847 + ETH_P_MVRP = 0x88f5 + ETH_P_PAE = 0x888e + ETH_P_PAUSE = 0x8808 + ETH_P_PHONET = 0xf5 + ETH_P_PPPTALK = 0x10 + ETH_P_PPP_DISC = 0x8863 + ETH_P_PPP_MP = 0x8 + ETH_P_PPP_SES = 0x8864 + ETH_P_PRP = 0x88fb + ETH_P_PUP = 0x200 + ETH_P_PUPAT = 0x201 + ETH_P_QINQ1 = 0x9100 + ETH_P_QINQ2 = 0x9200 + ETH_P_QINQ3 = 0x9300 + ETH_P_RARP = 0x8035 + ETH_P_SCA = 0x6007 + ETH_P_SLOW = 0x8809 + ETH_P_SNAP = 0x5 + ETH_P_TDLS = 0x890d + ETH_P_TEB = 0x6558 + ETH_P_TIPC = 0x88ca + ETH_P_TRAILER = 0x1c + ETH_P_TR_802_2 = 0x11 + ETH_P_TSN = 0x22f0 + ETH_P_WAN_PPP = 0x7 + ETH_P_WCCP = 0x883e + ETH_P_X25 = 0x805 + ETH_P_XDSA = 0xf8 + EXTA = 0xe + EXTB = 0xf + EXTPROC = 0x10000 + FD_CLOEXEC = 0x1 + FD_SETSIZE = 0x400 + FLUSHO = 0x2000 + F_DUPFD = 0x0 + F_DUPFD_CLOEXEC = 0x406 + F_EXLCK = 0x4 + F_GETFD = 0x1 + F_GETFL = 0x3 + F_GETLEASE = 0x401 + F_GETLK = 0xe + F_GETLK64 = 0xe + F_GETOWN = 0x17 + F_GETOWN_EX = 0x10 + F_GETPIPE_SZ = 0x408 + F_GETSIG = 0xb + F_LOCK = 0x1 + F_NOTIFY = 0x402 + F_OFD_GETLK = 0x24 + F_OFD_SETLK = 0x25 + F_OFD_SETLKW = 0x26 + F_OK = 0x0 + F_RDLCK = 0x0 + F_SETFD = 0x2 + F_SETFL = 0x4 + F_SETLEASE = 0x400 + F_SETLK = 0x6 + F_SETLK64 = 0x6 + F_SETLKW = 0x7 + F_SETLKW64 = 0x7 + F_SETOWN = 0x18 + F_SETOWN_EX = 0xf + F_SETPIPE_SZ = 0x407 + F_SETSIG = 0xa + F_SHLCK = 0x8 + F_TEST = 0x3 + F_TLOCK = 0x2 + F_ULOCK = 0x0 + F_UNLCK = 0x2 + F_WRLCK = 0x1 + HUPCL = 0x400 + ICANON = 0x2 + ICMPV6_FILTER = 0x1 + ICRNL = 0x100 + IEXTEN = 0x100 + IFA_F_DADFAILED = 0x8 + IFA_F_DEPRECATED = 0x20 + IFA_F_HOMEADDRESS = 0x10 + IFA_F_MANAGETEMPADDR = 0x100 + IFA_F_MCAUTOJOIN = 0x400 + IFA_F_NODAD = 0x2 + IFA_F_NOPREFIXROUTE = 0x200 + IFA_F_OPTIMISTIC = 0x4 + IFA_F_PERMANENT = 0x80 + IFA_F_SECONDARY = 0x1 + IFA_F_STABLE_PRIVACY = 0x800 + IFA_F_TEMPORARY = 0x1 + IFA_F_TENTATIVE = 0x40 + IFA_MAX = 0x8 + IFF_ALLMULTI = 0x200 + IFF_ATTACH_QUEUE = 0x200 + IFF_AUTOMEDIA = 0x4000 + IFF_BROADCAST = 0x2 + IFF_DEBUG = 0x4 + IFF_DETACH_QUEUE = 0x400 + IFF_DORMANT = 0x20000 + IFF_DYNAMIC = 0x8000 + IFF_ECHO = 0x40000 + IFF_LOOPBACK = 0x8 + IFF_LOWER_UP = 0x10000 + IFF_MASTER = 0x400 + IFF_MULTICAST = 0x1000 + IFF_MULTI_QUEUE = 0x100 + IFF_NOARP = 0x80 + IFF_NOFILTER = 0x1000 + IFF_NOTRAILERS = 0x20 + IFF_NO_PI = 0x1000 + IFF_ONE_QUEUE = 0x2000 + IFF_PERSIST = 0x800 + IFF_POINTOPOINT = 0x10 + IFF_PORTSEL = 0x2000 + IFF_PROMISC = 0x100 + IFF_RUNNING = 0x40 + IFF_SLAVE = 0x800 + IFF_TAP = 0x2 + IFF_TUN = 0x1 + IFF_TUN_EXCL = 0x8000 + IFF_UP = 0x1 + IFF_VNET_HDR = 0x4000 + IFF_VOLATILE = 0x70c5a + IFNAMSIZ = 0x10 + IGNBRK = 0x1 + IGNCR = 0x80 + IGNPAR = 0x4 + IMAXBEL = 0x2000 + INLCR = 0x40 + INPCK = 0x10 + IN_ACCESS = 0x1 + IN_ALL_EVENTS = 0xfff + IN_ATTRIB = 0x4 + IN_CLASSA_HOST = 0xffffff + IN_CLASSA_MAX = 0x80 + IN_CLASSA_NET = 0xff000000 + IN_CLASSA_NSHIFT = 0x18 + IN_CLASSB_HOST = 0xffff + IN_CLASSB_MAX = 0x10000 + IN_CLASSB_NET = 0xffff0000 + IN_CLASSB_NSHIFT = 0x10 + IN_CLASSC_HOST = 0xff + IN_CLASSC_NET = 0xffffff00 + IN_CLASSC_NSHIFT = 0x8 + IN_CLOEXEC = 0x80000 + IN_CLOSE = 0x18 + IN_CLOSE_NOWRITE = 0x10 + IN_CLOSE_WRITE = 0x8 + IN_CREATE = 0x100 + IN_DELETE = 0x200 + IN_DELETE_SELF = 0x400 + IN_DONT_FOLLOW = 0x2000000 + IN_EXCL_UNLINK = 0x4000000 + IN_IGNORED = 0x8000 + IN_ISDIR = 0x40000000 + IN_LOOPBACKNET = 0x7f + IN_MASK_ADD = 0x20000000 + IN_MODIFY = 0x2 + IN_MOVE = 0xc0 + IN_MOVED_FROM = 0x40 + IN_MOVED_TO = 0x80 + IN_MOVE_SELF = 0x800 + IN_NONBLOCK = 0x80 + IN_ONESHOT = 0x80000000 + IN_ONLYDIR = 0x1000000 + IN_OPEN = 0x20 + IN_Q_OVERFLOW = 0x4000 + IN_UNMOUNT = 0x2000 + IPPROTO_AH = 0x33 + IPPROTO_BEETPH = 0x5e + IPPROTO_COMP = 0x6c + IPPROTO_DCCP = 0x21 + IPPROTO_DSTOPTS = 0x3c + IPPROTO_EGP = 0x8 + IPPROTO_ENCAP = 0x62 + IPPROTO_ESP = 0x32 + IPPROTO_FRAGMENT = 0x2c + IPPROTO_GRE = 0x2f + IPPROTO_HOPOPTS = 0x0 + IPPROTO_ICMP = 0x1 + IPPROTO_ICMPV6 = 0x3a + IPPROTO_IDP = 0x16 + IPPROTO_IGMP = 0x2 + IPPROTO_IP = 0x0 + IPPROTO_IPIP = 0x4 + IPPROTO_IPV6 = 0x29 + IPPROTO_MH = 0x87 + IPPROTO_MTP = 0x5c + IPPROTO_NONE = 0x3b + IPPROTO_PIM = 0x67 + IPPROTO_PUP = 0xc + IPPROTO_RAW = 0xff + IPPROTO_ROUTING = 0x2b + IPPROTO_RSVP = 0x2e + IPPROTO_SCTP = 0x84 + IPPROTO_TCP = 0x6 + IPPROTO_TP = 0x1d + IPPROTO_UDP = 0x11 + IPPROTO_UDPLITE = 0x88 + IPV6_2292DSTOPTS = 0x4 + IPV6_2292HOPLIMIT = 0x8 + IPV6_2292HOPOPTS = 0x3 + IPV6_2292PKTINFO = 0x2 + IPV6_2292PKTOPTIONS = 0x6 + IPV6_2292RTHDR = 0x5 + IPV6_ADDRFORM = 0x1 + IPV6_ADD_MEMBERSHIP = 0x14 + IPV6_AUTHHDR = 0xa + IPV6_CHECKSUM = 0x7 + IPV6_DONTFRAG = 0x3e + IPV6_DROP_MEMBERSHIP = 0x15 + IPV6_DSTOPTS = 0x3b + IPV6_HOPLIMIT = 0x34 + IPV6_HOPOPTS = 0x36 + IPV6_IPSEC_POLICY = 0x22 + IPV6_JOIN_ANYCAST = 0x1b + IPV6_JOIN_GROUP = 0x14 + IPV6_LEAVE_ANYCAST = 0x1c + IPV6_LEAVE_GROUP = 0x15 + IPV6_MTU = 0x18 + IPV6_MTU_DISCOVER = 0x17 + IPV6_MULTICAST_HOPS = 0x12 + IPV6_MULTICAST_IF = 0x11 + IPV6_MULTICAST_LOOP = 0x13 + IPV6_NEXTHOP = 0x9 + IPV6_PATHMTU = 0x3d + IPV6_PKTINFO = 0x32 + IPV6_PMTUDISC_DO = 0x2 + IPV6_PMTUDISC_DONT = 0x0 + IPV6_PMTUDISC_INTERFACE = 0x4 + IPV6_PMTUDISC_OMIT = 0x5 + IPV6_PMTUDISC_PROBE = 0x3 + IPV6_PMTUDISC_WANT = 0x1 + IPV6_RECVDSTOPTS = 0x3a + IPV6_RECVERR = 0x19 + IPV6_RECVHOPLIMIT = 0x33 + IPV6_RECVHOPOPTS = 0x35 + IPV6_RECVPATHMTU = 0x3c + IPV6_RECVPKTINFO = 0x31 + IPV6_RECVRTHDR = 0x38 + IPV6_RECVTCLASS = 0x42 + IPV6_ROUTER_ALERT = 0x16 + IPV6_RTHDR = 0x39 + IPV6_RTHDRDSTOPTS = 0x37 + IPV6_RTHDR_LOOSE = 0x0 + IPV6_RTHDR_STRICT = 0x1 + IPV6_RTHDR_TYPE_0 = 0x0 + IPV6_RXDSTOPTS = 0x3b + IPV6_RXHOPOPTS = 0x36 + IPV6_TCLASS = 0x43 + IPV6_UNICAST_HOPS = 0x10 + IPV6_V6ONLY = 0x1a + IPV6_XFRM_POLICY = 0x23 + IP_ADD_MEMBERSHIP = 0x23 + IP_ADD_SOURCE_MEMBERSHIP = 0x27 + IP_BLOCK_SOURCE = 0x26 + IP_CHECKSUM = 0x17 + IP_DEFAULT_MULTICAST_LOOP = 0x1 + IP_DEFAULT_MULTICAST_TTL = 0x1 + IP_DF = 0x4000 + IP_DROP_MEMBERSHIP = 0x24 + IP_DROP_SOURCE_MEMBERSHIP = 0x28 + IP_FREEBIND = 0xf + IP_HDRINCL = 0x3 + IP_IPSEC_POLICY = 0x10 + IP_MAXPACKET = 0xffff + IP_MAX_MEMBERSHIPS = 0x14 + IP_MF = 0x2000 + IP_MINTTL = 0x15 + IP_MSFILTER = 0x29 + IP_MSS = 0x240 + IP_MTU = 0xe + IP_MTU_DISCOVER = 0xa + IP_MULTICAST_ALL = 0x31 + IP_MULTICAST_IF = 0x20 + IP_MULTICAST_LOOP = 0x22 + IP_MULTICAST_TTL = 0x21 + IP_NODEFRAG = 0x16 + IP_OFFMASK = 0x1fff + IP_OPTIONS = 0x4 + IP_ORIGDSTADDR = 0x14 + IP_PASSSEC = 0x12 + IP_PKTINFO = 0x8 + IP_PKTOPTIONS = 0x9 + IP_PMTUDISC = 0xa + IP_PMTUDISC_DO = 0x2 + IP_PMTUDISC_DONT = 0x0 + IP_PMTUDISC_INTERFACE = 0x4 + IP_PMTUDISC_OMIT = 0x5 + IP_PMTUDISC_PROBE = 0x3 + IP_PMTUDISC_WANT = 0x1 + IP_RECVERR = 0xb + IP_RECVOPTS = 0x6 + IP_RECVORIGDSTADDR = 0x14 + IP_RECVRETOPTS = 0x7 + IP_RECVTOS = 0xd + IP_RECVTTL = 0xc + IP_RETOPTS = 0x7 + IP_RF = 0x8000 + IP_ROUTER_ALERT = 0x5 + IP_TOS = 0x1 + IP_TRANSPARENT = 0x13 + IP_TTL = 0x2 + IP_UNBLOCK_SOURCE = 0x25 + IP_UNICAST_IF = 0x32 + IP_XFRM_POLICY = 0x11 + ISIG = 0x1 + ISTRIP = 0x20 + IUTF8 = 0x4000 + IXANY = 0x800 + IXOFF = 0x1000 + IXON = 0x400 + LINUX_REBOOT_CMD_CAD_OFF = 0x0 + LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef + LINUX_REBOOT_CMD_HALT = 0xcdef0123 + LINUX_REBOOT_CMD_KEXEC = 0x45584543 + LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc + LINUX_REBOOT_CMD_RESTART = 0x1234567 + LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4 + LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2 + LINUX_REBOOT_MAGIC1 = 0xfee1dead + LINUX_REBOOT_MAGIC2 = 0x28121969 + LOCK_EX = 0x2 + LOCK_NB = 0x4 + LOCK_SH = 0x1 + LOCK_UN = 0x8 + MADV_DODUMP = 0x11 + MADV_DOFORK = 0xb + MADV_DONTDUMP = 0x10 + MADV_DONTFORK = 0xa + MADV_DONTNEED = 0x4 + MADV_HUGEPAGE = 0xe + MADV_HWPOISON = 0x64 + MADV_MERGEABLE = 0xc + MADV_NOHUGEPAGE = 0xf + MADV_NORMAL = 0x0 + MADV_RANDOM = 0x1 + MADV_REMOVE = 0x9 + MADV_SEQUENTIAL = 0x2 + MADV_UNMERGEABLE = 0xd + MADV_WILLNEED = 0x3 + MAP_ANON = 0x800 + MAP_ANONYMOUS = 0x800 + MAP_DENYWRITE = 0x2000 + MAP_EXECUTABLE = 0x4000 + MAP_FILE = 0x0 + MAP_FIXED = 0x10 + MAP_GROWSDOWN = 0x1000 + MAP_HUGETLB = 0x80000 + MAP_HUGE_MASK = 0x3f + MAP_HUGE_SHIFT = 0x1a + MAP_LOCKED = 0x8000 + MAP_NONBLOCK = 0x20000 + MAP_NORESERVE = 0x400 + MAP_POPULATE = 0x10000 + MAP_PRIVATE = 0x2 + MAP_RENAME = 0x800 + MAP_SHARED = 0x1 + MAP_STACK = 0x40000 + MAP_TYPE = 0xf + MCL_CURRENT = 0x1 + MCL_FUTURE = 0x2 + MNT_DETACH = 0x2 + MNT_EXPIRE = 0x4 + MNT_FORCE = 0x1 + MSG_CMSG_CLOEXEC = 0x40000000 + MSG_CONFIRM = 0x800 + MSG_CTRUNC = 0x8 + MSG_DONTROUTE = 0x4 + MSG_DONTWAIT = 0x40 + MSG_EOR = 0x80 + MSG_ERRQUEUE = 0x2000 + MSG_FASTOPEN = 0x20000000 + MSG_FIN = 0x200 + MSG_MORE = 0x8000 + MSG_NOSIGNAL = 0x4000 + MSG_OOB = 0x1 + MSG_PEEK = 0x2 + MSG_PROXY = 0x10 + MSG_RST = 0x1000 + MSG_SYN = 0x400 + MSG_TRUNC = 0x20 + MSG_TRYHARD = 0x4 + MSG_WAITALL = 0x100 + MSG_WAITFORONE = 0x10000 + MS_ACTIVE = 0x40000000 + MS_ASYNC = 0x1 + MS_BIND = 0x1000 + MS_DIRSYNC = 0x80 + MS_INVALIDATE = 0x2 + MS_I_VERSION = 0x800000 + MS_KERNMOUNT = 0x400000 + MS_LAZYTIME = 0x2000000 + MS_MANDLOCK = 0x40 + MS_MGC_MSK = 0xffff0000 + MS_MGC_VAL = 0xc0ed0000 + MS_MOVE = 0x2000 + MS_NOATIME = 0x400 + MS_NODEV = 0x4 + MS_NODIRATIME = 0x800 + MS_NOEXEC = 0x8 + MS_NOSUID = 0x2 + MS_NOUSER = -0x80000000 + MS_POSIXACL = 0x10000 + MS_PRIVATE = 0x40000 + MS_RDONLY = 0x1 + MS_REC = 0x4000 + MS_RELATIME = 0x200000 + MS_REMOUNT = 0x20 + MS_RMT_MASK = 0x2800051 + MS_SHARED = 0x100000 + MS_SILENT = 0x8000 + MS_SLAVE = 0x80000 + MS_STRICTATIME = 0x1000000 + MS_SYNC = 0x4 + MS_SYNCHRONOUS = 0x10 + MS_UNBINDABLE = 0x20000 + NAME_MAX = 0xff + NETLINK_ADD_MEMBERSHIP = 0x1 + NETLINK_AUDIT = 0x9 + NETLINK_BROADCAST_ERROR = 0x4 + NETLINK_CAP_ACK = 0xa + NETLINK_CONNECTOR = 0xb + NETLINK_CRYPTO = 0x15 + NETLINK_DNRTMSG = 0xe + NETLINK_DROP_MEMBERSHIP = 0x2 + NETLINK_ECRYPTFS = 0x13 + NETLINK_FIB_LOOKUP = 0xa + NETLINK_FIREWALL = 0x3 + NETLINK_GENERIC = 0x10 + NETLINK_INET_DIAG = 0x4 + NETLINK_IP6_FW = 0xd + NETLINK_ISCSI = 0x8 + NETLINK_KOBJECT_UEVENT = 0xf + NETLINK_LISTEN_ALL_NSID = 0x8 + NETLINK_LIST_MEMBERSHIPS = 0x9 + NETLINK_NETFILTER = 0xc + NETLINK_NFLOG = 0x5 + NETLINK_NO_ENOBUFS = 0x5 + NETLINK_PKTINFO = 0x3 + NETLINK_RDMA = 0x14 + NETLINK_ROUTE = 0x0 + NETLINK_RX_RING = 0x6 + NETLINK_SCSITRANSPORT = 0x12 + NETLINK_SELINUX = 0x7 + NETLINK_SOCK_DIAG = 0x4 + NETLINK_TX_RING = 0x7 + NETLINK_UNUSED = 0x1 + NETLINK_USERSOCK = 0x2 + NETLINK_XFRM = 0x6 + NLA_ALIGNTO = 0x4 + NLA_F_NESTED = 0x8000 + NLA_F_NET_BYTEORDER = 0x4000 + NLA_HDRLEN = 0x4 + NLMSG_ALIGNTO = 0x4 + NLMSG_DONE = 0x3 + NLMSG_ERROR = 0x2 + NLMSG_HDRLEN = 0x10 + NLMSG_MIN_TYPE = 0x10 + NLMSG_NOOP = 0x1 + NLMSG_OVERRUN = 0x4 + NLM_F_ACK = 0x4 + NLM_F_APPEND = 0x800 + NLM_F_ATOMIC = 0x400 + NLM_F_CREATE = 0x400 + NLM_F_DUMP = 0x300 + NLM_F_DUMP_INTR = 0x10 + NLM_F_ECHO = 0x8 + NLM_F_EXCL = 0x200 + NLM_F_MATCH = 0x200 + NLM_F_MULTI = 0x2 + NLM_F_REPLACE = 0x100 + NLM_F_REQUEST = 0x1 + NLM_F_ROOT = 0x100 + NOFLSH = 0x80 + OCRNL = 0x8 + OFDEL = 0x80 + OFILL = 0x40 + ONLCR = 0x4 + ONLRET = 0x20 + ONOCR = 0x10 + OPOST = 0x1 + O_ACCMODE = 0x3 + O_APPEND = 0x8 + O_ASYNC = 0x1000 + O_CLOEXEC = 0x80000 + O_CREAT = 0x100 + O_DIRECT = 0x8000 + O_DIRECTORY = 0x10000 + O_DSYNC = 0x10 + O_EXCL = 0x400 + O_FSYNC = 0x4010 + O_LARGEFILE = 0x0 + O_NDELAY = 0x80 + O_NOATIME = 0x40000 + O_NOCTTY = 0x800 + O_NOFOLLOW = 0x20000 + O_NONBLOCK = 0x80 + O_PATH = 0x200000 + O_RDONLY = 0x0 + O_RDWR = 0x2 + O_RSYNC = 0x4010 + O_SYNC = 0x4010 + O_TMPFILE = 0x410000 + O_TRUNC = 0x200 + O_WRONLY = 0x1 + PACKET_ADD_MEMBERSHIP = 0x1 + PACKET_AUXDATA = 0x8 + PACKET_BROADCAST = 0x1 + PACKET_COPY_THRESH = 0x7 + PACKET_DROP_MEMBERSHIP = 0x2 + PACKET_FANOUT = 0x12 + PACKET_FANOUT_CBPF = 0x6 + PACKET_FANOUT_CPU = 0x2 + PACKET_FANOUT_DATA = 0x16 + PACKET_FANOUT_EBPF = 0x7 + PACKET_FANOUT_FLAG_DEFRAG = 0x8000 + PACKET_FANOUT_FLAG_ROLLOVER = 0x1000 + PACKET_FANOUT_HASH = 0x0 + PACKET_FANOUT_LB = 0x1 + PACKET_FANOUT_QM = 0x5 + PACKET_FANOUT_RND = 0x4 + PACKET_FANOUT_ROLLOVER = 0x3 + PACKET_FASTROUTE = 0x6 + PACKET_HDRLEN = 0xb + PACKET_HOST = 0x0 + PACKET_KERNEL = 0x7 + PACKET_LOOPBACK = 0x5 + PACKET_LOSS = 0xe + PACKET_MR_ALLMULTI = 0x2 + PACKET_MR_MULTICAST = 0x0 + PACKET_MR_PROMISC = 0x1 + PACKET_MR_UNICAST = 0x3 + PACKET_MULTICAST = 0x2 + PACKET_ORIGDEV = 0x9 + PACKET_OTHERHOST = 0x3 + PACKET_OUTGOING = 0x4 + PACKET_QDISC_BYPASS = 0x14 + PACKET_RECV_OUTPUT = 0x3 + PACKET_RESERVE = 0xc + PACKET_ROLLOVER_STATS = 0x15 + PACKET_RX_RING = 0x5 + PACKET_STATISTICS = 0x6 + PACKET_TIMESTAMP = 0x11 + PACKET_TX_HAS_OFF = 0x13 + PACKET_TX_RING = 0xd + PACKET_TX_TIMESTAMP = 0x10 + PACKET_USER = 0x6 + PACKET_VERSION = 0xa + PACKET_VNET_HDR = 0xf + PARENB = 0x100 + PARITY_CRC16_PR0 = 0x2 + PARITY_CRC16_PR0_CCITT = 0x4 + PARITY_CRC16_PR1 = 0x3 + PARITY_CRC16_PR1_CCITT = 0x5 + PARITY_CRC32_PR0_CCITT = 0x6 + PARITY_CRC32_PR1_CCITT = 0x7 + PARITY_DEFAULT = 0x0 + PARITY_NONE = 0x1 + PARMRK = 0x8 + PARODD = 0x200 + PENDIN = 0x4000 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 + PROT_EXEC = 0x4 + PROT_GROWSDOWN = 0x1000000 + PROT_GROWSUP = 0x2000000 + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 + PR_CAPBSET_DROP = 0x18 + PR_CAPBSET_READ = 0x17 + PR_CAP_AMBIENT = 0x2f + PR_CAP_AMBIENT_CLEAR_ALL = 0x4 + PR_CAP_AMBIENT_IS_SET = 0x1 + PR_CAP_AMBIENT_LOWER = 0x3 + PR_CAP_AMBIENT_RAISE = 0x2 + PR_ENDIAN_BIG = 0x0 + PR_ENDIAN_LITTLE = 0x1 + PR_ENDIAN_PPC_LITTLE = 0x2 + PR_FPEMU_NOPRINT = 0x1 + PR_FPEMU_SIGFPE = 0x2 + PR_FP_EXC_ASYNC = 0x2 + PR_FP_EXC_DISABLED = 0x0 + PR_FP_EXC_DIV = 0x10000 + PR_FP_EXC_INV = 0x100000 + PR_FP_EXC_NONRECOV = 0x1 + PR_FP_EXC_OVF = 0x20000 + PR_FP_EXC_PRECISE = 0x3 + PR_FP_EXC_RES = 0x80000 + PR_FP_EXC_SW_ENABLE = 0x80 + PR_FP_EXC_UND = 0x40000 + PR_FP_MODE_FR = 0x1 + PR_FP_MODE_FRE = 0x2 + PR_GET_CHILD_SUBREAPER = 0x25 + PR_GET_DUMPABLE = 0x3 + PR_GET_ENDIAN = 0x13 + PR_GET_FPEMU = 0x9 + PR_GET_FPEXC = 0xb + PR_GET_FP_MODE = 0x2e + PR_GET_KEEPCAPS = 0x7 + PR_GET_NAME = 0x10 + PR_GET_NO_NEW_PRIVS = 0x27 + PR_GET_PDEATHSIG = 0x2 + PR_GET_SECCOMP = 0x15 + PR_GET_SECUREBITS = 0x1b + PR_GET_THP_DISABLE = 0x2a + PR_GET_TID_ADDRESS = 0x28 + PR_GET_TIMERSLACK = 0x1e + PR_GET_TIMING = 0xd + PR_GET_TSC = 0x19 + PR_GET_UNALIGN = 0x5 + PR_MCE_KILL = 0x21 + PR_MCE_KILL_CLEAR = 0x0 + PR_MCE_KILL_DEFAULT = 0x2 + PR_MCE_KILL_EARLY = 0x1 + PR_MCE_KILL_GET = 0x22 + PR_MCE_KILL_LATE = 0x0 + PR_MCE_KILL_SET = 0x1 + PR_MPX_DISABLE_MANAGEMENT = 0x2c + PR_MPX_ENABLE_MANAGEMENT = 0x2b + PR_SET_CHILD_SUBREAPER = 0x24 + PR_SET_DUMPABLE = 0x4 + PR_SET_ENDIAN = 0x14 + PR_SET_FPEMU = 0xa + PR_SET_FPEXC = 0xc + PR_SET_FP_MODE = 0x2d + PR_SET_KEEPCAPS = 0x8 + PR_SET_MM = 0x23 + PR_SET_MM_ARG_END = 0x9 + PR_SET_MM_ARG_START = 0x8 + PR_SET_MM_AUXV = 0xc + PR_SET_MM_BRK = 0x7 + PR_SET_MM_END_CODE = 0x2 + PR_SET_MM_END_DATA = 0x4 + PR_SET_MM_ENV_END = 0xb + PR_SET_MM_ENV_START = 0xa + PR_SET_MM_EXE_FILE = 0xd + PR_SET_MM_MAP = 0xe + PR_SET_MM_MAP_SIZE = 0xf + PR_SET_MM_START_BRK = 0x6 + PR_SET_MM_START_CODE = 0x1 + PR_SET_MM_START_DATA = 0x3 + PR_SET_MM_START_STACK = 0x5 + PR_SET_NAME = 0xf + PR_SET_NO_NEW_PRIVS = 0x26 + PR_SET_PDEATHSIG = 0x1 + PR_SET_PTRACER = 0x59616d61 + PR_SET_PTRACER_ANY = -0x1 + PR_SET_SECCOMP = 0x16 + PR_SET_SECUREBITS = 0x1c + PR_SET_THP_DISABLE = 0x29 + PR_SET_TIMERSLACK = 0x1d + PR_SET_TIMING = 0xe + PR_SET_TSC = 0x1a + PR_SET_UNALIGN = 0x6 + PR_TASK_PERF_EVENTS_DISABLE = 0x1f + PR_TASK_PERF_EVENTS_ENABLE = 0x20 + PR_TIMING_STATISTICAL = 0x0 + PR_TIMING_TIMESTAMP = 0x1 + PR_TSC_ENABLE = 0x1 + PR_TSC_SIGSEGV = 0x2 + PR_UNALIGN_NOPRINT = 0x1 + PR_UNALIGN_SIGBUS = 0x2 + PTRACE_ATTACH = 0x10 + PTRACE_CONT = 0x7 + PTRACE_DETACH = 0x11 + PTRACE_EVENT_CLONE = 0x3 + PTRACE_EVENT_EXEC = 0x4 + PTRACE_EVENT_EXIT = 0x6 + PTRACE_EVENT_FORK = 0x1 + PTRACE_EVENT_SECCOMP = 0x7 + PTRACE_EVENT_STOP = 0x80 + PTRACE_EVENT_VFORK = 0x2 + PTRACE_EVENT_VFORK_DONE = 0x5 + PTRACE_GETEVENTMSG = 0x4201 + PTRACE_GETFPREGS = 0xe + PTRACE_GETREGS = 0xc + PTRACE_GETREGSET = 0x4204 + PTRACE_GETSIGINFO = 0x4202 + PTRACE_GETSIGMASK = 0x420a + PTRACE_GET_THREAD_AREA = 0x19 + PTRACE_GET_THREAD_AREA_3264 = 0xc4 + PTRACE_GET_WATCH_REGS = 0xd0 + PTRACE_INTERRUPT = 0x4207 + PTRACE_KILL = 0x8 + PTRACE_LISTEN = 0x4208 + PTRACE_OLDSETOPTIONS = 0x15 + PTRACE_O_EXITKILL = 0x100000 + PTRACE_O_MASK = 0x3000ff + PTRACE_O_SUSPEND_SECCOMP = 0x200000 + PTRACE_O_TRACECLONE = 0x8 + PTRACE_O_TRACEEXEC = 0x10 + PTRACE_O_TRACEEXIT = 0x40 + PTRACE_O_TRACEFORK = 0x2 + PTRACE_O_TRACESECCOMP = 0x80 + PTRACE_O_TRACESYSGOOD = 0x1 + PTRACE_O_TRACEVFORK = 0x4 + PTRACE_O_TRACEVFORKDONE = 0x20 + PTRACE_PEEKDATA = 0x2 + PTRACE_PEEKDATA_3264 = 0xc1 + PTRACE_PEEKSIGINFO = 0x4209 + PTRACE_PEEKSIGINFO_SHARED = 0x1 + PTRACE_PEEKTEXT = 0x1 + PTRACE_PEEKTEXT_3264 = 0xc0 + PTRACE_PEEKUSR = 0x3 + PTRACE_POKEDATA = 0x5 + PTRACE_POKEDATA_3264 = 0xc3 + PTRACE_POKETEXT = 0x4 + PTRACE_POKETEXT_3264 = 0xc2 + PTRACE_POKEUSR = 0x6 + PTRACE_SEIZE = 0x4206 + PTRACE_SETFPREGS = 0xf + PTRACE_SETOPTIONS = 0x4200 + PTRACE_SETREGS = 0xd + PTRACE_SETREGSET = 0x4205 + PTRACE_SETSIGINFO = 0x4203 + PTRACE_SETSIGMASK = 0x420b + PTRACE_SET_THREAD_AREA = 0x1a + PTRACE_SET_WATCH_REGS = 0xd1 + PTRACE_SINGLESTEP = 0x9 + PTRACE_SYSCALL = 0x18 + PTRACE_TRACEME = 0x0 + RLIMIT_AS = 0x6 + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 + RLIMIT_DATA = 0x2 + RLIMIT_FSIZE = 0x1 + RLIMIT_NOFILE = 0x5 + RLIMIT_STACK = 0x3 + RLIM_INFINITY = -0x1 + RTAX_ADVMSS = 0x8 + RTAX_CC_ALGO = 0x10 + RTAX_CWND = 0x7 + RTAX_FEATURES = 0xc + RTAX_FEATURE_ALLFRAG = 0x8 + RTAX_FEATURE_ECN = 0x1 + RTAX_FEATURE_MASK = 0xf + RTAX_FEATURE_SACK = 0x2 + RTAX_FEATURE_TIMESTAMP = 0x4 + RTAX_HOPLIMIT = 0xa + RTAX_INITCWND = 0xb + RTAX_INITRWND = 0xe + RTAX_LOCK = 0x1 + RTAX_MAX = 0x10 + RTAX_MTU = 0x2 + RTAX_QUICKACK = 0xf + RTAX_REORDERING = 0x9 + RTAX_RTO_MIN = 0xd + RTAX_RTT = 0x4 + RTAX_RTTVAR = 0x5 + RTAX_SSTHRESH = 0x6 + RTAX_UNSPEC = 0x0 + RTAX_WINDOW = 0x3 + RTA_ALIGNTO = 0x4 + RTA_MAX = 0x16 + RTCF_DIRECTSRC = 0x4000000 + RTCF_DOREDIRECT = 0x1000000 + RTCF_LOG = 0x2000000 + RTCF_MASQ = 0x400000 + RTCF_NAT = 0x800000 + RTCF_VALVE = 0x200000 + RTF_ADDRCLASSMASK = 0xf8000000 + RTF_ADDRCONF = 0x40000 + RTF_ALLONLINK = 0x20000 + RTF_BROADCAST = 0x10000000 + RTF_CACHE = 0x1000000 + RTF_DEFAULT = 0x10000 + RTF_DYNAMIC = 0x10 + RTF_FLOW = 0x2000000 + RTF_GATEWAY = 0x2 + RTF_HOST = 0x4 + RTF_INTERFACE = 0x40000000 + RTF_IRTT = 0x100 + RTF_LINKRT = 0x100000 + RTF_LOCAL = 0x80000000 + RTF_MODIFIED = 0x20 + RTF_MSS = 0x40 + RTF_MTU = 0x40 + RTF_MULTICAST = 0x20000000 + RTF_NAT = 0x8000000 + RTF_NOFORWARD = 0x1000 + RTF_NONEXTHOP = 0x200000 + RTF_NOPMTUDISC = 0x4000 + RTF_POLICY = 0x4000000 + RTF_REINSTATE = 0x8 + RTF_REJECT = 0x200 + RTF_STATIC = 0x400 + RTF_THROW = 0x2000 + RTF_UP = 0x1 + RTF_WINDOW = 0x80 + RTF_XRESOLVE = 0x800 + RTM_BASE = 0x10 + RTM_DELACTION = 0x31 + RTM_DELADDR = 0x15 + RTM_DELADDRLABEL = 0x49 + RTM_DELLINK = 0x11 + RTM_DELMDB = 0x55 + RTM_DELNEIGH = 0x1d + RTM_DELNSID = 0x59 + RTM_DELQDISC = 0x25 + RTM_DELROUTE = 0x19 + RTM_DELRULE = 0x21 + RTM_DELTCLASS = 0x29 + RTM_DELTFILTER = 0x2d + RTM_F_CLONED = 0x200 + RTM_F_EQUALIZE = 0x400 + RTM_F_NOTIFY = 0x100 + RTM_F_PREFIX = 0x800 + RTM_GETACTION = 0x32 + RTM_GETADDR = 0x16 + RTM_GETADDRLABEL = 0x4a + RTM_GETANYCAST = 0x3e + RTM_GETDCB = 0x4e + RTM_GETLINK = 0x12 + RTM_GETMDB = 0x56 + RTM_GETMULTICAST = 0x3a + RTM_GETNEIGH = 0x1e + RTM_GETNEIGHTBL = 0x42 + RTM_GETNETCONF = 0x52 + RTM_GETNSID = 0x5a + RTM_GETQDISC = 0x26 + RTM_GETROUTE = 0x1a + RTM_GETRULE = 0x22 + RTM_GETTCLASS = 0x2a + RTM_GETTFILTER = 0x2e + RTM_MAX = 0x5b + RTM_NEWACTION = 0x30 + RTM_NEWADDR = 0x14 + RTM_NEWADDRLABEL = 0x48 + RTM_NEWLINK = 0x10 + RTM_NEWMDB = 0x54 + RTM_NEWNDUSEROPT = 0x44 + RTM_NEWNEIGH = 0x1c + RTM_NEWNEIGHTBL = 0x40 + RTM_NEWNETCONF = 0x50 + RTM_NEWNSID = 0x58 + RTM_NEWPREFIX = 0x34 + RTM_NEWQDISC = 0x24 + RTM_NEWROUTE = 0x18 + RTM_NEWRULE = 0x20 + RTM_NEWTCLASS = 0x28 + RTM_NEWTFILTER = 0x2c + RTM_NR_FAMILIES = 0x13 + RTM_NR_MSGTYPES = 0x4c + RTM_SETDCB = 0x4f + RTM_SETLINK = 0x13 + RTM_SETNEIGHTBL = 0x43 + RTNH_ALIGNTO = 0x4 + RTNH_COMPARE_MASK = 0x11 + RTNH_F_DEAD = 0x1 + RTNH_F_LINKDOWN = 0x10 + RTNH_F_OFFLOAD = 0x8 + RTNH_F_ONLINK = 0x4 + RTNH_F_PERVASIVE = 0x2 + RTN_MAX = 0xb + RTPROT_BABEL = 0x2a + RTPROT_BIRD = 0xc + RTPROT_BOOT = 0x3 + RTPROT_DHCP = 0x10 + RTPROT_DNROUTED = 0xd + RTPROT_GATED = 0x8 + RTPROT_KERNEL = 0x2 + RTPROT_MROUTED = 0x11 + RTPROT_MRT = 0xa + RTPROT_NTK = 0xf + RTPROT_RA = 0x9 + RTPROT_REDIRECT = 0x1 + RTPROT_STATIC = 0x4 + RTPROT_UNSPEC = 0x0 + RTPROT_XORP = 0xe + RTPROT_ZEBRA = 0xb + RT_CLASS_DEFAULT = 0xfd + RT_CLASS_LOCAL = 0xff + RT_CLASS_MAIN = 0xfe + RT_CLASS_MAX = 0xff + RT_CLASS_UNSPEC = 0x0 + RUSAGE_CHILDREN = -0x1 + RUSAGE_SELF = 0x0 + RUSAGE_THREAD = 0x1 + SCM_CREDENTIALS = 0x2 + SCM_RIGHTS = 0x1 + SCM_TIMESTAMP = 0x1d + SCM_TIMESTAMPING = 0x25 + SCM_TIMESTAMPNS = 0x23 + SCM_WIFI_STATUS = 0x29 + SHUT_RD = 0x0 + SHUT_RDWR = 0x2 + SHUT_WR = 0x1 + SIOCADDDLCI = 0x8980 + SIOCADDMULTI = 0x8931 + SIOCADDRT = 0x890b + SIOCATMARK = 0x40047307 + SIOCDARP = 0x8953 + SIOCDELDLCI = 0x8981 + SIOCDELMULTI = 0x8932 + SIOCDELRT = 0x890c + SIOCDEVPRIVATE = 0x89f0 + SIOCDIFADDR = 0x8936 + SIOCDRARP = 0x8960 + SIOCGARP = 0x8954 + SIOCGIFADDR = 0x8915 + SIOCGIFBR = 0x8940 + SIOCGIFBRDADDR = 0x8919 + SIOCGIFCONF = 0x8912 + SIOCGIFCOUNT = 0x8938 + SIOCGIFDSTADDR = 0x8917 + SIOCGIFENCAP = 0x8925 + SIOCGIFFLAGS = 0x8913 + SIOCGIFHWADDR = 0x8927 + SIOCGIFINDEX = 0x8933 + SIOCGIFMAP = 0x8970 + SIOCGIFMEM = 0x891f + SIOCGIFMETRIC = 0x891d + SIOCGIFMTU = 0x8921 + SIOCGIFNAME = 0x8910 + SIOCGIFNETMASK = 0x891b + SIOCGIFPFLAGS = 0x8935 + SIOCGIFSLAVE = 0x8929 + SIOCGIFTXQLEN = 0x8942 + SIOCGPGRP = 0x40047309 + SIOCGRARP = 0x8961 + SIOCGSTAMP = 0x8906 + SIOCGSTAMPNS = 0x8907 + SIOCPROTOPRIVATE = 0x89e0 + SIOCRTMSG = 0x890d + SIOCSARP = 0x8955 + SIOCSIFADDR = 0x8916 + SIOCSIFBR = 0x8941 + SIOCSIFBRDADDR = 0x891a + SIOCSIFDSTADDR = 0x8918 + SIOCSIFENCAP = 0x8926 + SIOCSIFFLAGS = 0x8914 + SIOCSIFHWADDR = 0x8924 + SIOCSIFHWBROADCAST = 0x8937 + SIOCSIFLINK = 0x8911 + SIOCSIFMAP = 0x8971 + SIOCSIFMEM = 0x8920 + SIOCSIFMETRIC = 0x891e + SIOCSIFMTU = 0x8922 + SIOCSIFNAME = 0x8923 + SIOCSIFNETMASK = 0x891c + SIOCSIFPFLAGS = 0x8934 + SIOCSIFSLAVE = 0x8930 + SIOCSIFTXQLEN = 0x8943 + SIOCSPGRP = 0x80047308 + SIOCSRARP = 0x8962 + SOCK_CLOEXEC = 0x80000 + SOCK_DCCP = 0x6 + SOCK_DGRAM = 0x1 + SOCK_NONBLOCK = 0x80 + SOCK_PACKET = 0xa + SOCK_RAW = 0x3 + SOCK_RDM = 0x4 + SOCK_SEQPACKET = 0x5 + SOCK_STREAM = 0x2 + SOL_AAL = 0x109 + SOL_ATM = 0x108 + SOL_DECNET = 0x105 + SOL_ICMPV6 = 0x3a + SOL_IP = 0x0 + SOL_IPV6 = 0x29 + SOL_IRDA = 0x10a + SOL_PACKET = 0x107 + SOL_RAW = 0xff + SOL_SOCKET = 0xffff + SOL_TCP = 0x6 + SOL_X25 = 0x106 + SOMAXCONN = 0x80 + SO_ACCEPTCONN = 0x1009 + SO_ATTACH_BPF = 0x32 + SO_ATTACH_FILTER = 0x1a + SO_BINDTODEVICE = 0x19 + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0xe + SO_BUSY_POLL = 0x2e + SO_DEBUG = 0x1 + SO_DETACH_BPF = 0x1b + SO_DETACH_FILTER = 0x1b + SO_DOMAIN = 0x1029 + SO_DONTROUTE = 0x10 + SO_ERROR = 0x1007 + SO_GET_FILTER = 0x1a + SO_INCOMING_CPU = 0x31 + SO_KEEPALIVE = 0x8 + SO_LINGER = 0x80 + SO_LOCK_FILTER = 0x2c + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_NOFCS = 0x2b + SO_NO_CHECK = 0xb + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x11 + SO_PASSSEC = 0x22 + SO_PEEK_OFF = 0x2a + SO_PEERCRED = 0x12 + SO_PEERNAME = 0x1c + SO_PEERSEC = 0x1e + SO_PRIORITY = 0xc + SO_PROTOCOL = 0x1028 + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x28 + SO_SECURITY_AUTHENTICATION = 0x16 + SO_SECURITY_ENCRYPTION_NETWORK = 0x18 + SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 + SO_SELECT_ERR_QUEUE = 0x2d + SO_SNDBUF = 0x1001 + SO_SNDBUFFORCE = 0x1f + SO_SNDLOWAT = 0x1003 + SO_SNDTIMEO = 0x1005 + SO_STYLE = 0x1008 + SO_TIMESTAMP = 0x1d + SO_TIMESTAMPING = 0x25 + SO_TIMESTAMPNS = 0x23 + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x29 + S_BLKSIZE = 0x200 + S_IEXEC = 0x40 + S_IFBLK = 0x6000 + S_IFCHR = 0x2000 + S_IFDIR = 0x4000 + S_IFIFO = 0x1000 + S_IFLNK = 0xa000 + S_IFMT = 0xf000 + S_IFREG = 0x8000 + S_IFSOCK = 0xc000 + S_IREAD = 0x100 + S_IRGRP = 0x20 + S_IROTH = 0x4 + S_IRUSR = 0x100 + S_IRWXG = 0x38 + S_IRWXO = 0x7 + S_IRWXU = 0x1c0 + S_ISGID = 0x400 + S_ISUID = 0x800 + S_ISVTX = 0x200 + S_IWGRP = 0x10 + S_IWOTH = 0x2 + S_IWRITE = 0x80 + S_IWUSR = 0x80 + S_IXGRP = 0x8 + S_IXOTH = 0x1 + S_IXUSR = 0x40 + TCFLSH = 0x5407 + TCIFLUSH = 0x0 + TCIOFLUSH = 0x2 + TCOFLUSH = 0x1 + TCP_CONGESTION = 0xd + TCP_COOKIE_IN_ALWAYS = 0x1 + TCP_COOKIE_MAX = 0x10 + TCP_COOKIE_MIN = 0x8 + TCP_COOKIE_OUT_NEVER = 0x2 + TCP_COOKIE_PAIR_SIZE = 0x20 + TCP_COOKIE_TRANSACTIONS = 0xf + TCP_CORK = 0x3 + TCP_DEFER_ACCEPT = 0x9 + TCP_FASTOPEN = 0x17 + TCP_INFO = 0xb + TCP_KEEPCNT = 0x6 + TCP_KEEPIDLE = 0x4 + TCP_KEEPINTVL = 0x5 + TCP_LINGER2 = 0x8 + TCP_MAXSEG = 0x2 + TCP_MAXWIN = 0xffff + TCP_MAX_WINSHIFT = 0xe + TCP_MD5SIG = 0xe + TCP_MD5SIG_MAXKEYLEN = 0x50 + TCP_MSS = 0x200 + TCP_MSS_DEFAULT = 0x218 + TCP_MSS_DESIRED = 0x4c4 + TCP_NODELAY = 0x1 + TCP_QUEUE_SEQ = 0x15 + TCP_QUICKACK = 0xc + TCP_REPAIR = 0x13 + TCP_REPAIR_OPTIONS = 0x16 + TCP_REPAIR_QUEUE = 0x14 + TCP_SYNCNT = 0x7 + TCP_S_DATA_IN = 0x4 + TCP_S_DATA_OUT = 0x8 + TCP_THIN_DUPACK = 0x11 + TCP_THIN_LINEAR_TIMEOUTS = 0x10 + TCP_TIMESTAMP = 0x18 + TCP_USER_TIMEOUT = 0x12 + TCP_WINDOW_CLAMP = 0xa + TCSAFLUSH = 0x5410 + TCSBRK = 0x5405 + TCXONC = 0x5406 + TIOCCBRK = 0x5428 + TIOCCONS = 0x80047478 + TIOCEXCL = 0x740d + TIOCGDEV = 0x40045432 + TIOCGETD = 0x7400 + TIOCGETP = 0x7408 + TIOCGEXCL = 0x40045440 + TIOCGICOUNT = 0x5492 + TIOCGLCKTRMIOS = 0x548b + TIOCGLTC = 0x7474 + TIOCGPGRP = 0x40047477 + TIOCGPKT = 0x40045438 + TIOCGPTLCK = 0x40045439 + TIOCGPTN = 0x40045430 + TIOCGRS485 = 0x4020542e + TIOCGSERIAL = 0x5484 + TIOCGSID = 0x7416 + TIOCGSOFTCAR = 0x5481 + TIOCGWINSZ = 0x40087468 + TIOCINQ = 0x467f + TIOCLINUX = 0x5483 + TIOCMBIC = 0x741c + TIOCMBIS = 0x741b + TIOCMGET = 0x741d + TIOCMIWAIT = 0x5491 + TIOCMSET = 0x741a + TIOCM_CAR = 0x100 + TIOCM_CD = 0x100 + TIOCM_CTS = 0x40 + TIOCM_DSR = 0x400 + TIOCM_DTR = 0x2 + TIOCM_LE = 0x1 + TIOCM_RI = 0x200 + TIOCM_RNG = 0x200 + TIOCM_RTS = 0x4 + TIOCM_SR = 0x20 + TIOCM_ST = 0x10 + TIOCNOTTY = 0x5471 + TIOCNXCL = 0x740e + TIOCOUTQ = 0x7472 + TIOCPKT = 0x5470 + TIOCPKT_DATA = 0x0 + TIOCPKT_DOSTOP = 0x20 + TIOCPKT_FLUSHREAD = 0x1 + TIOCPKT_FLUSHWRITE = 0x2 + TIOCPKT_IOCTL = 0x40 + TIOCPKT_NOSTOP = 0x10 + TIOCPKT_START = 0x8 + TIOCPKT_STOP = 0x4 + TIOCSBRK = 0x5427 + TIOCSCTTY = 0x5480 + TIOCSERCONFIG = 0x5488 + TIOCSERGETLSR = 0x548e + TIOCSERGETMULTI = 0x548f + TIOCSERGSTRUCT = 0x548d + TIOCSERGWILD = 0x5489 + TIOCSERSETMULTI = 0x5490 + TIOCSERSWILD = 0x548a + TIOCSER_TEMT = 0x1 + TIOCSETD = 0x7401 + TIOCSETN = 0x740a + TIOCSETP = 0x7409 + TIOCSIG = 0x80045436 + TIOCSLCKTRMIOS = 0x548c + TIOCSLTC = 0x7475 + TIOCSPGRP = 0x80047476 + TIOCSPTLCK = 0x80045431 + TIOCSRS485 = 0xc020542f + TIOCSSERIAL = 0x5485 + TIOCSSOFTCAR = 0x5482 + TIOCSTI = 0x5472 + TIOCSWINSZ = 0x80087467 + TIOCVHANGUP = 0x5437 + TOSTOP = 0x8000 + TUNATTACHFILTER = 0x801054d5 + TUNDETACHFILTER = 0x801054d6 + TUNGETFEATURES = 0x400454cf + TUNGETFILTER = 0x401054db + TUNGETIFF = 0x400454d2 + TUNGETSNDBUF = 0x400454d3 + TUNGETVNETBE = 0x400454df + TUNGETVNETHDRSZ = 0x400454d7 + TUNGETVNETLE = 0x400454dd + TUNSETDEBUG = 0x800454c9 + TUNSETGROUP = 0x800454ce + TUNSETIFF = 0x800454ca + TUNSETIFINDEX = 0x800454da + TUNSETLINK = 0x800454cd + TUNSETNOCSUM = 0x800454c8 + TUNSETOFFLOAD = 0x800454d0 + TUNSETOWNER = 0x800454cc + TUNSETPERSIST = 0x800454cb + TUNSETQUEUE = 0x800454d9 + TUNSETSNDBUF = 0x800454d4 + TUNSETTXFILTER = 0x800454d1 + TUNSETVNETBE = 0x800454de + TUNSETVNETHDRSZ = 0x800454d8 + TUNSETVNETLE = 0x800454dc + VDISCARD = 0xd + VEOF = 0x10 + VEOL = 0x11 + VEOL2 = 0x6 + VERASE = 0x2 + VINTR = 0x0 + VKILL = 0x3 + VLNEXT = 0xf + VMIN = 0x4 + VQUIT = 0x1 + VREPRINT = 0xc + VSTART = 0x8 + VSTOP = 0x9 + VSUSP = 0xa + VSWTC = 0x7 + VSWTCH = 0x7 + VT0 = 0x0 + VT1 = 0x4000 + VTDLY = 0x4000 + VTIME = 0x5 + VWERASE = 0xe + WALL = 0x40000000 + WCLONE = 0x80000000 + WCONTINUED = 0x8 + WEXITED = 0x4 + WNOHANG = 0x1 + WNOTHREAD = 0x20000000 + WNOWAIT = 0x1000000 + WORDSIZE = 0x40 + WSTOPPED = 0x2 + WUNTRACED = 0x2 +) + +// Errors +const ( + E2BIG = syscall.Errno(0x7) + EACCES = syscall.Errno(0xd) + EADDRINUSE = syscall.Errno(0x7d) + EADDRNOTAVAIL = syscall.Errno(0x7e) + EADV = syscall.Errno(0x44) + EAFNOSUPPORT = syscall.Errno(0x7c) + EAGAIN = syscall.Errno(0xb) + EALREADY = syscall.Errno(0x95) + EBADE = syscall.Errno(0x32) + EBADF = syscall.Errno(0x9) + EBADFD = syscall.Errno(0x51) + EBADMSG = syscall.Errno(0x4d) + EBADR = syscall.Errno(0x33) + EBADRQC = syscall.Errno(0x36) + EBADSLT = syscall.Errno(0x37) + EBFONT = syscall.Errno(0x3b) + EBUSY = syscall.Errno(0x10) + ECANCELED = syscall.Errno(0x9e) + ECHILD = syscall.Errno(0xa) + ECHRNG = syscall.Errno(0x25) + ECOMM = syscall.Errno(0x46) + ECONNABORTED = syscall.Errno(0x82) + ECONNREFUSED = syscall.Errno(0x92) + ECONNRESET = syscall.Errno(0x83) + EDEADLK = syscall.Errno(0x2d) + EDEADLOCK = syscall.Errno(0x38) + EDESTADDRREQ = syscall.Errno(0x60) + EDOM = syscall.Errno(0x21) + EDOTDOT = syscall.Errno(0x49) + EDQUOT = syscall.Errno(0x46d) + EEXIST = syscall.Errno(0x11) + EFAULT = syscall.Errno(0xe) + EFBIG = syscall.Errno(0x1b) + EHOSTDOWN = syscall.Errno(0x93) + EHOSTUNREACH = syscall.Errno(0x94) + EHWPOISON = syscall.Errno(0xa8) + EIDRM = syscall.Errno(0x24) + EILSEQ = syscall.Errno(0x58) + EINIT = syscall.Errno(0x8d) + EINPROGRESS = syscall.Errno(0x96) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x85) + EISDIR = syscall.Errno(0x15) + EISNAM = syscall.Errno(0x8b) + EKEYEXPIRED = syscall.Errno(0xa2) + EKEYREJECTED = syscall.Errno(0xa4) + EKEYREVOKED = syscall.Errno(0xa3) + EL2HLT = syscall.Errno(0x2c) + EL2NSYNC = syscall.Errno(0x26) + EL3HLT = syscall.Errno(0x27) + EL3RST = syscall.Errno(0x28) + ELIBACC = syscall.Errno(0x53) + ELIBBAD = syscall.Errno(0x54) + ELIBEXEC = syscall.Errno(0x57) + ELIBMAX = syscall.Errno(0x56) + ELIBSCN = syscall.Errno(0x55) + ELNRNG = syscall.Errno(0x29) + ELOOP = syscall.Errno(0x5a) + EMEDIUMTYPE = syscall.Errno(0xa0) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) + EMSGSIZE = syscall.Errno(0x61) + EMULTIHOP = syscall.Errno(0x4a) + ENAMETOOLONG = syscall.Errno(0x4e) + ENAVAIL = syscall.Errno(0x8a) + ENETDOWN = syscall.Errno(0x7f) + ENETRESET = syscall.Errno(0x81) + ENETUNREACH = syscall.Errno(0x80) + ENFILE = syscall.Errno(0x17) + ENOANO = syscall.Errno(0x35) + ENOBUFS = syscall.Errno(0x84) + ENOCSI = syscall.Errno(0x2b) + ENODATA = syscall.Errno(0x3d) + ENODEV = syscall.Errno(0x13) + ENOENT = syscall.Errno(0x2) + ENOEXEC = syscall.Errno(0x8) + ENOKEY = syscall.Errno(0xa1) + ENOLCK = syscall.Errno(0x2e) + ENOLINK = syscall.Errno(0x43) + ENOMEDIUM = syscall.Errno(0x9f) + ENOMEM = syscall.Errno(0xc) + ENOMSG = syscall.Errno(0x23) + ENONET = syscall.Errno(0x40) + ENOPKG = syscall.Errno(0x41) + ENOPROTOOPT = syscall.Errno(0x63) + ENOSPC = syscall.Errno(0x1c) + ENOSR = syscall.Errno(0x3f) + ENOSTR = syscall.Errno(0x3c) + ENOSYS = syscall.Errno(0x59) + ENOTBLK = syscall.Errno(0xf) + ENOTCONN = syscall.Errno(0x86) + ENOTDIR = syscall.Errno(0x14) + ENOTEMPTY = syscall.Errno(0x5d) + ENOTNAM = syscall.Errno(0x89) + ENOTRECOVERABLE = syscall.Errno(0xa6) + ENOTSOCK = syscall.Errno(0x5f) + ENOTSUP = syscall.Errno(0x7a) + ENOTTY = syscall.Errno(0x19) + ENOTUNIQ = syscall.Errno(0x50) + ENXIO = syscall.Errno(0x6) + EOPNOTSUPP = syscall.Errno(0x7a) + EOVERFLOW = syscall.Errno(0x4f) + EOWNERDEAD = syscall.Errno(0xa5) + EPERM = syscall.Errno(0x1) + EPFNOSUPPORT = syscall.Errno(0x7b) + EPIPE = syscall.Errno(0x20) + EPROTO = syscall.Errno(0x47) + EPROTONOSUPPORT = syscall.Errno(0x78) + EPROTOTYPE = syscall.Errno(0x62) + ERANGE = syscall.Errno(0x22) + EREMCHG = syscall.Errno(0x52) + EREMDEV = syscall.Errno(0x8e) + EREMOTE = syscall.Errno(0x42) + EREMOTEIO = syscall.Errno(0x8c) + ERESTART = syscall.Errno(0x5b) + ERFKILL = syscall.Errno(0xa7) + EROFS = syscall.Errno(0x1e) + ESHUTDOWN = syscall.Errno(0x8f) + ESOCKTNOSUPPORT = syscall.Errno(0x79) + ESPIPE = syscall.Errno(0x1d) + ESRCH = syscall.Errno(0x3) + ESRMNT = syscall.Errno(0x45) + ESTALE = syscall.Errno(0x97) + ESTRPIPE = syscall.Errno(0x5c) + ETIME = syscall.Errno(0x3e) + ETIMEDOUT = syscall.Errno(0x91) + ETOOMANYREFS = syscall.Errno(0x90) + ETXTBSY = syscall.Errno(0x1a) + EUCLEAN = syscall.Errno(0x87) + EUNATCH = syscall.Errno(0x2a) + EUSERS = syscall.Errno(0x5e) + EWOULDBLOCK = syscall.Errno(0xb) + EXDEV = syscall.Errno(0x12) + EXFULL = syscall.Errno(0x34) +) + +// Signals +const ( + SIGABRT = syscall.Signal(0x6) + SIGALRM = syscall.Signal(0xe) + SIGBUS = syscall.Signal(0xa) + SIGCHLD = syscall.Signal(0x12) + SIGCLD = syscall.Signal(0x12) + SIGCONT = syscall.Signal(0x19) + SIGEMT = syscall.Signal(0x7) + SIGFPE = syscall.Signal(0x8) + SIGHUP = syscall.Signal(0x1) + SIGILL = syscall.Signal(0x4) + SIGINT = syscall.Signal(0x2) + SIGIO = syscall.Signal(0x16) + SIGIOT = syscall.Signal(0x6) + SIGKILL = syscall.Signal(0x9) + SIGPIPE = syscall.Signal(0xd) + SIGPOLL = syscall.Signal(0x16) + SIGPROF = syscall.Signal(0x1d) + SIGPWR = syscall.Signal(0x13) + SIGQUIT = syscall.Signal(0x3) + SIGSEGV = syscall.Signal(0xb) + SIGSTOP = syscall.Signal(0x17) + SIGSYS = syscall.Signal(0xc) + SIGTERM = syscall.Signal(0xf) + SIGTRAP = syscall.Signal(0x5) + SIGTSTP = syscall.Signal(0x18) + SIGTTIN = syscall.Signal(0x1a) + SIGTTOU = syscall.Signal(0x1b) + SIGURG = syscall.Signal(0x15) + SIGUSR1 = syscall.Signal(0x10) + SIGUSR2 = syscall.Signal(0x11) + SIGVTALRM = syscall.Signal(0x1c) + SIGWINCH = syscall.Signal(0x14) + SIGXCPU = syscall.Signal(0x1e) + SIGXFSZ = syscall.Signal(0x1f) +) + +// Error table +var errors = [...]string{ + 1: "operation not permitted", + 2: "no such file or directory", + 3: "no such process", + 4: "interrupted system call", + 5: "input/output error", + 6: "no such device or address", + 7: "argument list too long", + 8: "exec format error", + 9: "bad file descriptor", + 10: "no child processes", + 11: "resource temporarily unavailable", + 12: "cannot allocate memory", + 13: "permission denied", + 14: "bad address", + 15: "block device required", + 16: "device or resource busy", + 17: "file exists", + 18: "invalid cross-device link", + 19: "no such device", + 20: "not a directory", + 21: "is a directory", + 22: "invalid argument", + 23: "too many open files in system", + 24: "too many open files", + 25: "inappropriate ioctl for device", + 26: "text file busy", + 27: "file too large", + 28: "no space left on device", + 29: "illegal seek", + 30: "read-only file system", + 31: "too many links", + 32: "broken pipe", + 33: "numerical argument out of domain", + 34: "numerical result out of range", + 35: "no message of desired type", + 36: "identifier removed", + 37: "channel number out of range", + 38: "level 2 not synchronized", + 39: "level 3 halted", + 40: "level 3 reset", + 41: "link number out of range", + 42: "protocol driver not attached", + 43: "no CSI structure available", + 44: "level 2 halted", + 45: "resource deadlock avoided", + 46: "no locks available", + 50: "invalid exchange", + 51: "invalid request descriptor", + 52: "exchange full", + 53: "no anode", + 54: "invalid request code", + 55: "invalid slot", + 56: "file locking deadlock error", + 59: "bad font file format", + 60: "device not a stream", + 61: "no data available", + 62: "timer expired", + 63: "out of streams resources", + 64: "machine is not on the network", + 65: "package not installed", + 66: "object is remote", + 67: "link has been severed", + 68: "advertise error", + 69: "srmount error", + 70: "communication error on send", + 71: "protocol error", + 73: "RFS specific error", + 74: "multihop attempted", + 77: "bad message", + 78: "file name too long", + 79: "value too large for defined data type", + 80: "name not unique on network", + 81: "file descriptor in bad state", + 82: "remote address changed", + 83: "can not access a needed shared library", + 84: "accessing a corrupted shared library", + 85: ".lib section in a.out corrupted", + 86: "attempting to link in too many shared libraries", + 87: "cannot exec a shared library directly", + 88: "invalid or incomplete multibyte or wide character", + 89: "function not implemented", + 90: "too many levels of symbolic links", + 91: "interrupted system call should be restarted", + 92: "streams pipe error", + 93: "directory not empty", + 94: "too many users", + 95: "socket operation on non-socket", + 96: "destination address required", + 97: "message too long", + 98: "protocol wrong type for socket", + 99: "protocol not available", + 120: "protocol not supported", + 121: "socket type not supported", + 122: "operation not supported", + 123: "protocol family not supported", + 124: "address family not supported by protocol", + 125: "address already in use", + 126: "cannot assign requested address", + 127: "network is down", + 128: "network is unreachable", + 129: "network dropped connection on reset", + 130: "software caused connection abort", + 131: "connection reset by peer", + 132: "no buffer space available", + 133: "transport endpoint is already connected", + 134: "transport endpoint is not connected", + 135: "structure needs cleaning", + 137: "not a XENIX named type file", + 138: "no XENIX semaphores available", + 139: "is a named type file", + 140: "remote I/O error", + 141: "unknown error 141", + 142: "unknown error 142", + 143: "cannot send after transport endpoint shutdown", + 144: "too many references: cannot splice", + 145: "connection timed out", + 146: "connection refused", + 147: "host is down", + 148: "no route to host", + 149: "operation already in progress", + 150: "operation now in progress", + 151: "stale file handle", + 158: "operation canceled", + 159: "no medium found", + 160: "wrong medium type", + 161: "required key not available", + 162: "key has expired", + 163: "key has been revoked", + 164: "key was rejected by service", + 165: "owner died", + 166: "state not recoverable", + 167: "operation not possible due to RF-kill", + 168: "memory page has hardware error", + 1133: "disk quota exceeded", +} + +// Signal table +var signals = [...]string{ + 1: "hangup", + 2: "interrupt", + 3: "quit", + 4: "illegal instruction", + 5: "trace/breakpoint trap", + 6: "aborted", + 7: "EMT trap", + 8: "floating point exception", + 9: "killed", + 10: "bus error", + 11: "segmentation fault", + 12: "bad system call", + 13: "broken pipe", + 14: "alarm clock", + 15: "terminated", + 16: "user defined signal 1", + 17: "user defined signal 2", + 18: "child exited", + 19: "power failure", + 20: "window changed", + 21: "urgent I/O condition", + 22: "I/O possible", + 23: "stopped (signal)", + 24: "stopped", + 25: "continued", + 26: "stopped (tty input)", + 27: "stopped (tty output)", + 28: "virtual timer expired", + 29: "profiling timer expired", + 30: "CPU time limit exceeded", + 31: "file size limit exceeded", +} diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go new file mode 100644 index 00000000000..112f05de56e --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go @@ -0,0 +1,1917 @@ +// mkerrors.sh +// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT + +// +build mips64le,linux + +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs -- _const.go + +package unix + +import "syscall" + +const ( + AF_ALG = 0x26 + AF_APPLETALK = 0x5 + AF_ASH = 0x12 + AF_ATMPVC = 0x8 + AF_ATMSVC = 0x14 + AF_AX25 = 0x3 + AF_BLUETOOTH = 0x1f + AF_BRIDGE = 0x7 + AF_CAIF = 0x25 + AF_CAN = 0x1d + AF_DECnet = 0xc + AF_ECONET = 0x13 + AF_FILE = 0x1 + AF_IB = 0x1b + AF_IEEE802154 = 0x24 + AF_INET = 0x2 + AF_INET6 = 0xa + AF_IPX = 0x4 + AF_IRDA = 0x17 + AF_ISDN = 0x22 + AF_IUCV = 0x20 + AF_KEY = 0xf + AF_LLC = 0x1a + AF_LOCAL = 0x1 + AF_MAX = 0x29 + AF_MPLS = 0x1c + AF_NETBEUI = 0xd + AF_NETLINK = 0x10 + AF_NETROM = 0x6 + AF_NFC = 0x27 + AF_PACKET = 0x11 + AF_PHONET = 0x23 + AF_PPPOX = 0x18 + AF_RDS = 0x15 + AF_ROSE = 0xb + AF_ROUTE = 0x10 + AF_RXRPC = 0x21 + AF_SECURITY = 0xe + AF_SNA = 0x16 + AF_TIPC = 0x1e + AF_UNIX = 0x1 + AF_UNSPEC = 0x0 + AF_VSOCK = 0x28 + AF_WANPIPE = 0x19 + AF_X25 = 0x9 + ARPHRD_6LOWPAN = 0x339 + ARPHRD_ADAPT = 0x108 + ARPHRD_APPLETLK = 0x8 + ARPHRD_ARCNET = 0x7 + ARPHRD_ASH = 0x30d + ARPHRD_ATM = 0x13 + ARPHRD_AX25 = 0x3 + ARPHRD_BIF = 0x307 + ARPHRD_CAIF = 0x336 + ARPHRD_CAN = 0x118 + ARPHRD_CHAOS = 0x5 + ARPHRD_CISCO = 0x201 + ARPHRD_CSLIP = 0x101 + ARPHRD_CSLIP6 = 0x103 + ARPHRD_DDCMP = 0x205 + ARPHRD_DLCI = 0xf + ARPHRD_ECONET = 0x30e + ARPHRD_EETHER = 0x2 + ARPHRD_ETHER = 0x1 + ARPHRD_EUI64 = 0x1b + ARPHRD_FCAL = 0x311 + ARPHRD_FCFABRIC = 0x313 + ARPHRD_FCPL = 0x312 + ARPHRD_FCPP = 0x310 + ARPHRD_FDDI = 0x306 + ARPHRD_FRAD = 0x302 + ARPHRD_HDLC = 0x201 + ARPHRD_HIPPI = 0x30c + ARPHRD_HWX25 = 0x110 + ARPHRD_IEEE1394 = 0x18 + ARPHRD_IEEE802 = 0x6 + ARPHRD_IEEE80211 = 0x321 + ARPHRD_IEEE80211_PRISM = 0x322 + ARPHRD_IEEE80211_RADIOTAP = 0x323 + ARPHRD_IEEE802154 = 0x324 + ARPHRD_IEEE802154_MONITOR = 0x325 + ARPHRD_IEEE802_TR = 0x320 + ARPHRD_INFINIBAND = 0x20 + ARPHRD_IP6GRE = 0x337 + ARPHRD_IPDDP = 0x309 + ARPHRD_IPGRE = 0x30a + ARPHRD_IRDA = 0x30f + ARPHRD_LAPB = 0x204 + ARPHRD_LOCALTLK = 0x305 + ARPHRD_LOOPBACK = 0x304 + ARPHRD_METRICOM = 0x17 + ARPHRD_NETLINK = 0x338 + ARPHRD_NETROM = 0x0 + ARPHRD_NONE = 0xfffe + ARPHRD_PHONET = 0x334 + ARPHRD_PHONET_PIPE = 0x335 + ARPHRD_PIMREG = 0x30b + ARPHRD_PPP = 0x200 + ARPHRD_PRONET = 0x4 + ARPHRD_RAWHDLC = 0x206 + ARPHRD_ROSE = 0x10e + ARPHRD_RSRVD = 0x104 + ARPHRD_SIT = 0x308 + ARPHRD_SKIP = 0x303 + ARPHRD_SLIP = 0x100 + ARPHRD_SLIP6 = 0x102 + ARPHRD_TUNNEL = 0x300 + ARPHRD_TUNNEL6 = 0x301 + ARPHRD_VOID = 0xffff + ARPHRD_X25 = 0x10f + B0 = 0x0 + B1000000 = 0x1008 + B110 = 0x3 + B115200 = 0x1002 + B1152000 = 0x1009 + B1200 = 0x9 + B134 = 0x4 + B150 = 0x5 + B1500000 = 0x100a + B1800 = 0xa + B19200 = 0xe + B200 = 0x6 + B2000000 = 0x100b + B230400 = 0x1003 + B2400 = 0xb + B2500000 = 0x100c + B300 = 0x7 + B3000000 = 0x100d + B3500000 = 0x100e + B38400 = 0xf + B4000000 = 0x100f + B460800 = 0x1004 + B4800 = 0xc + B50 = 0x1 + B500000 = 0x1005 + B57600 = 0x1001 + B576000 = 0x1006 + B600 = 0x8 + B75 = 0x2 + B921600 = 0x1007 + B9600 = 0xd + BPF_A = 0x10 + BPF_ABS = 0x20 + BPF_ADD = 0x0 + BPF_ALU = 0x4 + BPF_AND = 0x50 + BPF_B = 0x10 + BPF_DIV = 0x30 + BPF_H = 0x8 + BPF_IMM = 0x0 + BPF_IND = 0x40 + BPF_JA = 0x0 + BPF_JEQ = 0x10 + BPF_JGE = 0x30 + BPF_JGT = 0x20 + BPF_JMP = 0x5 + BPF_JSET = 0x40 + BPF_K = 0x0 + BPF_LD = 0x0 + BPF_LDX = 0x1 + BPF_LEN = 0x80 + BPF_LL_OFF = -0x200000 + BPF_LSH = 0x60 + BPF_MAJOR_VERSION = 0x1 + BPF_MAXINSNS = 0x1000 + BPF_MEM = 0x60 + BPF_MEMWORDS = 0x10 + BPF_MINOR_VERSION = 0x1 + BPF_MISC = 0x7 + BPF_MOD = 0x90 + BPF_MSH = 0xa0 + BPF_MUL = 0x20 + BPF_NEG = 0x80 + BPF_NET_OFF = -0x100000 + BPF_OR = 0x40 + BPF_RET = 0x6 + BPF_RSH = 0x70 + BPF_ST = 0x2 + BPF_STX = 0x3 + BPF_SUB = 0x10 + BPF_TAX = 0x0 + BPF_TXA = 0x80 + BPF_W = 0x0 + BPF_X = 0x8 + BPF_XOR = 0xa0 + BRKINT = 0x2 + CFLUSH = 0xf + CLOCAL = 0x800 + CLOCK_BOOTTIME = 0x7 + CLOCK_BOOTTIME_ALARM = 0x9 + CLOCK_DEFAULT = 0x0 + CLOCK_EXT = 0x1 + CLOCK_INT = 0x2 + CLOCK_MONOTONIC = 0x1 + CLOCK_MONOTONIC_COARSE = 0x6 + CLOCK_MONOTONIC_RAW = 0x4 + CLOCK_PROCESS_CPUTIME_ID = 0x2 + CLOCK_REALTIME = 0x0 + CLOCK_REALTIME_ALARM = 0x8 + CLOCK_REALTIME_COARSE = 0x5 + CLOCK_TAI = 0xb + CLOCK_THREAD_CPUTIME_ID = 0x3 + CLOCK_TXFROMRX = 0x4 + CLOCK_TXINT = 0x3 + CLONE_CHILD_CLEARTID = 0x200000 + CLONE_CHILD_SETTID = 0x1000000 + CLONE_DETACHED = 0x400000 + CLONE_FILES = 0x400 + CLONE_FS = 0x200 + CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 + CLONE_NEWIPC = 0x8000000 + CLONE_NEWNET = 0x40000000 + CLONE_NEWNS = 0x20000 + CLONE_NEWPID = 0x20000000 + CLONE_NEWUSER = 0x10000000 + CLONE_NEWUTS = 0x4000000 + CLONE_PARENT = 0x8000 + CLONE_PARENT_SETTID = 0x100000 + CLONE_PTRACE = 0x2000 + CLONE_SETTLS = 0x80000 + CLONE_SIGHAND = 0x800 + CLONE_SYSVSEM = 0x40000 + CLONE_THREAD = 0x10000 + CLONE_UNTRACED = 0x800000 + CLONE_VFORK = 0x4000 + CLONE_VM = 0x100 + CREAD = 0x80 + CS5 = 0x0 + CS6 = 0x10 + CS7 = 0x20 + CS8 = 0x30 + CSIGNAL = 0xff + CSIZE = 0x30 + CSTART = 0x11 + CSTATUS = 0x0 + CSTOP = 0x13 + CSTOPB = 0x40 + CSUSP = 0x1a + DT_BLK = 0x6 + DT_CHR = 0x2 + DT_DIR = 0x4 + DT_FIFO = 0x1 + DT_LNK = 0xa + DT_REG = 0x8 + DT_SOCK = 0xc + DT_UNKNOWN = 0x0 + DT_WHT = 0xe + ECHO = 0x8 + ECHOCTL = 0x200 + ECHOE = 0x10 + ECHOK = 0x20 + ECHOKE = 0x800 + ECHONL = 0x40 + ECHOPRT = 0x400 + ENCODING_DEFAULT = 0x0 + ENCODING_FM_MARK = 0x3 + ENCODING_FM_SPACE = 0x4 + ENCODING_MANCHESTER = 0x5 + ENCODING_NRZ = 0x1 + ENCODING_NRZI = 0x2 + EPOLLERR = 0x8 + EPOLLET = 0x80000000 + EPOLLHUP = 0x10 + EPOLLIN = 0x1 + EPOLLMSG = 0x400 + EPOLLONESHOT = 0x40000000 + EPOLLOUT = 0x4 + EPOLLPRI = 0x2 + EPOLLRDBAND = 0x80 + EPOLLRDHUP = 0x2000 + EPOLLRDNORM = 0x40 + EPOLLWAKEUP = 0x20000000 + EPOLLWRBAND = 0x200 + EPOLLWRNORM = 0x100 + EPOLL_CLOEXEC = 0x80000 + EPOLL_CTL_ADD = 0x1 + EPOLL_CTL_DEL = 0x2 + EPOLL_CTL_MOD = 0x3 + ETH_P_1588 = 0x88f7 + ETH_P_8021AD = 0x88a8 + ETH_P_8021AH = 0x88e7 + ETH_P_8021Q = 0x8100 + ETH_P_80221 = 0x8917 + ETH_P_802_2 = 0x4 + ETH_P_802_3 = 0x1 + ETH_P_802_3_MIN = 0x600 + ETH_P_802_EX1 = 0x88b5 + ETH_P_AARP = 0x80f3 + ETH_P_AF_IUCV = 0xfbfb + ETH_P_ALL = 0x3 + ETH_P_AOE = 0x88a2 + ETH_P_ARCNET = 0x1a + ETH_P_ARP = 0x806 + ETH_P_ATALK = 0x809b + ETH_P_ATMFATE = 0x8884 + ETH_P_ATMMPOA = 0x884c + ETH_P_AX25 = 0x2 + ETH_P_BATMAN = 0x4305 + ETH_P_BPQ = 0x8ff + ETH_P_CAIF = 0xf7 + ETH_P_CAN = 0xc + ETH_P_CANFD = 0xd + ETH_P_CONTROL = 0x16 + ETH_P_CUST = 0x6006 + ETH_P_DDCMP = 0x6 + ETH_P_DEC = 0x6000 + ETH_P_DIAG = 0x6005 + ETH_P_DNA_DL = 0x6001 + ETH_P_DNA_RC = 0x6002 + ETH_P_DNA_RT = 0x6003 + ETH_P_DSA = 0x1b + ETH_P_ECONET = 0x18 + ETH_P_EDSA = 0xdada + ETH_P_FCOE = 0x8906 + ETH_P_FIP = 0x8914 + ETH_P_HDLC = 0x19 + ETH_P_IEEE802154 = 0xf6 + ETH_P_IEEEPUP = 0xa00 + ETH_P_IEEEPUPAT = 0xa01 + ETH_P_IP = 0x800 + ETH_P_IPV6 = 0x86dd + ETH_P_IPX = 0x8137 + ETH_P_IRDA = 0x17 + ETH_P_LAT = 0x6004 + ETH_P_LINK_CTL = 0x886c + ETH_P_LOCALTALK = 0x9 + ETH_P_LOOP = 0x60 + ETH_P_LOOPBACK = 0x9000 + ETH_P_MOBITEX = 0x15 + ETH_P_MPLS_MC = 0x8848 + ETH_P_MPLS_UC = 0x8847 + ETH_P_MVRP = 0x88f5 + ETH_P_PAE = 0x888e + ETH_P_PAUSE = 0x8808 + ETH_P_PHONET = 0xf5 + ETH_P_PPPTALK = 0x10 + ETH_P_PPP_DISC = 0x8863 + ETH_P_PPP_MP = 0x8 + ETH_P_PPP_SES = 0x8864 + ETH_P_PRP = 0x88fb + ETH_P_PUP = 0x200 + ETH_P_PUPAT = 0x201 + ETH_P_QINQ1 = 0x9100 + ETH_P_QINQ2 = 0x9200 + ETH_P_QINQ3 = 0x9300 + ETH_P_RARP = 0x8035 + ETH_P_SCA = 0x6007 + ETH_P_SLOW = 0x8809 + ETH_P_SNAP = 0x5 + ETH_P_TDLS = 0x890d + ETH_P_TEB = 0x6558 + ETH_P_TIPC = 0x88ca + ETH_P_TRAILER = 0x1c + ETH_P_TR_802_2 = 0x11 + ETH_P_TSN = 0x22f0 + ETH_P_WAN_PPP = 0x7 + ETH_P_WCCP = 0x883e + ETH_P_X25 = 0x805 + ETH_P_XDSA = 0xf8 + EXTA = 0xe + EXTB = 0xf + EXTPROC = 0x10000 + FD_CLOEXEC = 0x1 + FD_SETSIZE = 0x400 + FLUSHO = 0x2000 + F_DUPFD = 0x0 + F_DUPFD_CLOEXEC = 0x406 + F_EXLCK = 0x4 + F_GETFD = 0x1 + F_GETFL = 0x3 + F_GETLEASE = 0x401 + F_GETLK = 0xe + F_GETLK64 = 0xe + F_GETOWN = 0x17 + F_GETOWN_EX = 0x10 + F_GETPIPE_SZ = 0x408 + F_GETSIG = 0xb + F_LOCK = 0x1 + F_NOTIFY = 0x402 + F_OFD_GETLK = 0x24 + F_OFD_SETLK = 0x25 + F_OFD_SETLKW = 0x26 + F_OK = 0x0 + F_RDLCK = 0x0 + F_SETFD = 0x2 + F_SETFL = 0x4 + F_SETLEASE = 0x400 + F_SETLK = 0x6 + F_SETLK64 = 0x6 + F_SETLKW = 0x7 + F_SETLKW64 = 0x7 + F_SETOWN = 0x18 + F_SETOWN_EX = 0xf + F_SETPIPE_SZ = 0x407 + F_SETSIG = 0xa + F_SHLCK = 0x8 + F_TEST = 0x3 + F_TLOCK = 0x2 + F_ULOCK = 0x0 + F_UNLCK = 0x2 + F_WRLCK = 0x1 + HUPCL = 0x400 + ICANON = 0x2 + ICMPV6_FILTER = 0x1 + ICRNL = 0x100 + IEXTEN = 0x100 + IFA_F_DADFAILED = 0x8 + IFA_F_DEPRECATED = 0x20 + IFA_F_HOMEADDRESS = 0x10 + IFA_F_MANAGETEMPADDR = 0x100 + IFA_F_MCAUTOJOIN = 0x400 + IFA_F_NODAD = 0x2 + IFA_F_NOPREFIXROUTE = 0x200 + IFA_F_OPTIMISTIC = 0x4 + IFA_F_PERMANENT = 0x80 + IFA_F_SECONDARY = 0x1 + IFA_F_STABLE_PRIVACY = 0x800 + IFA_F_TEMPORARY = 0x1 + IFA_F_TENTATIVE = 0x40 + IFA_MAX = 0x8 + IFF_ALLMULTI = 0x200 + IFF_ATTACH_QUEUE = 0x200 + IFF_AUTOMEDIA = 0x4000 + IFF_BROADCAST = 0x2 + IFF_DEBUG = 0x4 + IFF_DETACH_QUEUE = 0x400 + IFF_DORMANT = 0x20000 + IFF_DYNAMIC = 0x8000 + IFF_ECHO = 0x40000 + IFF_LOOPBACK = 0x8 + IFF_LOWER_UP = 0x10000 + IFF_MASTER = 0x400 + IFF_MULTICAST = 0x1000 + IFF_MULTI_QUEUE = 0x100 + IFF_NOARP = 0x80 + IFF_NOFILTER = 0x1000 + IFF_NOTRAILERS = 0x20 + IFF_NO_PI = 0x1000 + IFF_ONE_QUEUE = 0x2000 + IFF_PERSIST = 0x800 + IFF_POINTOPOINT = 0x10 + IFF_PORTSEL = 0x2000 + IFF_PROMISC = 0x100 + IFF_RUNNING = 0x40 + IFF_SLAVE = 0x800 + IFF_TAP = 0x2 + IFF_TUN = 0x1 + IFF_TUN_EXCL = 0x8000 + IFF_UP = 0x1 + IFF_VNET_HDR = 0x4000 + IFF_VOLATILE = 0x70c5a + IFNAMSIZ = 0x10 + IGNBRK = 0x1 + IGNCR = 0x80 + IGNPAR = 0x4 + IMAXBEL = 0x2000 + INLCR = 0x40 + INPCK = 0x10 + IN_ACCESS = 0x1 + IN_ALL_EVENTS = 0xfff + IN_ATTRIB = 0x4 + IN_CLASSA_HOST = 0xffffff + IN_CLASSA_MAX = 0x80 + IN_CLASSA_NET = 0xff000000 + IN_CLASSA_NSHIFT = 0x18 + IN_CLASSB_HOST = 0xffff + IN_CLASSB_MAX = 0x10000 + IN_CLASSB_NET = 0xffff0000 + IN_CLASSB_NSHIFT = 0x10 + IN_CLASSC_HOST = 0xff + IN_CLASSC_NET = 0xffffff00 + IN_CLASSC_NSHIFT = 0x8 + IN_CLOEXEC = 0x80000 + IN_CLOSE = 0x18 + IN_CLOSE_NOWRITE = 0x10 + IN_CLOSE_WRITE = 0x8 + IN_CREATE = 0x100 + IN_DELETE = 0x200 + IN_DELETE_SELF = 0x400 + IN_DONT_FOLLOW = 0x2000000 + IN_EXCL_UNLINK = 0x4000000 + IN_IGNORED = 0x8000 + IN_ISDIR = 0x40000000 + IN_LOOPBACKNET = 0x7f + IN_MASK_ADD = 0x20000000 + IN_MODIFY = 0x2 + IN_MOVE = 0xc0 + IN_MOVED_FROM = 0x40 + IN_MOVED_TO = 0x80 + IN_MOVE_SELF = 0x800 + IN_NONBLOCK = 0x80 + IN_ONESHOT = 0x80000000 + IN_ONLYDIR = 0x1000000 + IN_OPEN = 0x20 + IN_Q_OVERFLOW = 0x4000 + IN_UNMOUNT = 0x2000 + IPPROTO_AH = 0x33 + IPPROTO_BEETPH = 0x5e + IPPROTO_COMP = 0x6c + IPPROTO_DCCP = 0x21 + IPPROTO_DSTOPTS = 0x3c + IPPROTO_EGP = 0x8 + IPPROTO_ENCAP = 0x62 + IPPROTO_ESP = 0x32 + IPPROTO_FRAGMENT = 0x2c + IPPROTO_GRE = 0x2f + IPPROTO_HOPOPTS = 0x0 + IPPROTO_ICMP = 0x1 + IPPROTO_ICMPV6 = 0x3a + IPPROTO_IDP = 0x16 + IPPROTO_IGMP = 0x2 + IPPROTO_IP = 0x0 + IPPROTO_IPIP = 0x4 + IPPROTO_IPV6 = 0x29 + IPPROTO_MH = 0x87 + IPPROTO_MTP = 0x5c + IPPROTO_NONE = 0x3b + IPPROTO_PIM = 0x67 + IPPROTO_PUP = 0xc + IPPROTO_RAW = 0xff + IPPROTO_ROUTING = 0x2b + IPPROTO_RSVP = 0x2e + IPPROTO_SCTP = 0x84 + IPPROTO_TCP = 0x6 + IPPROTO_TP = 0x1d + IPPROTO_UDP = 0x11 + IPPROTO_UDPLITE = 0x88 + IPV6_2292DSTOPTS = 0x4 + IPV6_2292HOPLIMIT = 0x8 + IPV6_2292HOPOPTS = 0x3 + IPV6_2292PKTINFO = 0x2 + IPV6_2292PKTOPTIONS = 0x6 + IPV6_2292RTHDR = 0x5 + IPV6_ADDRFORM = 0x1 + IPV6_ADD_MEMBERSHIP = 0x14 + IPV6_AUTHHDR = 0xa + IPV6_CHECKSUM = 0x7 + IPV6_DONTFRAG = 0x3e + IPV6_DROP_MEMBERSHIP = 0x15 + IPV6_DSTOPTS = 0x3b + IPV6_HOPLIMIT = 0x34 + IPV6_HOPOPTS = 0x36 + IPV6_IPSEC_POLICY = 0x22 + IPV6_JOIN_ANYCAST = 0x1b + IPV6_JOIN_GROUP = 0x14 + IPV6_LEAVE_ANYCAST = 0x1c + IPV6_LEAVE_GROUP = 0x15 + IPV6_MTU = 0x18 + IPV6_MTU_DISCOVER = 0x17 + IPV6_MULTICAST_HOPS = 0x12 + IPV6_MULTICAST_IF = 0x11 + IPV6_MULTICAST_LOOP = 0x13 + IPV6_NEXTHOP = 0x9 + IPV6_PATHMTU = 0x3d + IPV6_PKTINFO = 0x32 + IPV6_PMTUDISC_DO = 0x2 + IPV6_PMTUDISC_DONT = 0x0 + IPV6_PMTUDISC_INTERFACE = 0x4 + IPV6_PMTUDISC_OMIT = 0x5 + IPV6_PMTUDISC_PROBE = 0x3 + IPV6_PMTUDISC_WANT = 0x1 + IPV6_RECVDSTOPTS = 0x3a + IPV6_RECVERR = 0x19 + IPV6_RECVHOPLIMIT = 0x33 + IPV6_RECVHOPOPTS = 0x35 + IPV6_RECVPATHMTU = 0x3c + IPV6_RECVPKTINFO = 0x31 + IPV6_RECVRTHDR = 0x38 + IPV6_RECVTCLASS = 0x42 + IPV6_ROUTER_ALERT = 0x16 + IPV6_RTHDR = 0x39 + IPV6_RTHDRDSTOPTS = 0x37 + IPV6_RTHDR_LOOSE = 0x0 + IPV6_RTHDR_STRICT = 0x1 + IPV6_RTHDR_TYPE_0 = 0x0 + IPV6_RXDSTOPTS = 0x3b + IPV6_RXHOPOPTS = 0x36 + IPV6_TCLASS = 0x43 + IPV6_UNICAST_HOPS = 0x10 + IPV6_V6ONLY = 0x1a + IPV6_XFRM_POLICY = 0x23 + IP_ADD_MEMBERSHIP = 0x23 + IP_ADD_SOURCE_MEMBERSHIP = 0x27 + IP_BLOCK_SOURCE = 0x26 + IP_CHECKSUM = 0x17 + IP_DEFAULT_MULTICAST_LOOP = 0x1 + IP_DEFAULT_MULTICAST_TTL = 0x1 + IP_DF = 0x4000 + IP_DROP_MEMBERSHIP = 0x24 + IP_DROP_SOURCE_MEMBERSHIP = 0x28 + IP_FREEBIND = 0xf + IP_HDRINCL = 0x3 + IP_IPSEC_POLICY = 0x10 + IP_MAXPACKET = 0xffff + IP_MAX_MEMBERSHIPS = 0x14 + IP_MF = 0x2000 + IP_MINTTL = 0x15 + IP_MSFILTER = 0x29 + IP_MSS = 0x240 + IP_MTU = 0xe + IP_MTU_DISCOVER = 0xa + IP_MULTICAST_ALL = 0x31 + IP_MULTICAST_IF = 0x20 + IP_MULTICAST_LOOP = 0x22 + IP_MULTICAST_TTL = 0x21 + IP_NODEFRAG = 0x16 + IP_OFFMASK = 0x1fff + IP_OPTIONS = 0x4 + IP_ORIGDSTADDR = 0x14 + IP_PASSSEC = 0x12 + IP_PKTINFO = 0x8 + IP_PKTOPTIONS = 0x9 + IP_PMTUDISC = 0xa + IP_PMTUDISC_DO = 0x2 + IP_PMTUDISC_DONT = 0x0 + IP_PMTUDISC_INTERFACE = 0x4 + IP_PMTUDISC_OMIT = 0x5 + IP_PMTUDISC_PROBE = 0x3 + IP_PMTUDISC_WANT = 0x1 + IP_RECVERR = 0xb + IP_RECVOPTS = 0x6 + IP_RECVORIGDSTADDR = 0x14 + IP_RECVRETOPTS = 0x7 + IP_RECVTOS = 0xd + IP_RECVTTL = 0xc + IP_RETOPTS = 0x7 + IP_RF = 0x8000 + IP_ROUTER_ALERT = 0x5 + IP_TOS = 0x1 + IP_TRANSPARENT = 0x13 + IP_TTL = 0x2 + IP_UNBLOCK_SOURCE = 0x25 + IP_UNICAST_IF = 0x32 + IP_XFRM_POLICY = 0x11 + ISIG = 0x1 + ISTRIP = 0x20 + IUTF8 = 0x4000 + IXANY = 0x800 + IXOFF = 0x1000 + IXON = 0x400 + LINUX_REBOOT_CMD_CAD_OFF = 0x0 + LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef + LINUX_REBOOT_CMD_HALT = 0xcdef0123 + LINUX_REBOOT_CMD_KEXEC = 0x45584543 + LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc + LINUX_REBOOT_CMD_RESTART = 0x1234567 + LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4 + LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2 + LINUX_REBOOT_MAGIC1 = 0xfee1dead + LINUX_REBOOT_MAGIC2 = 0x28121969 + LOCK_EX = 0x2 + LOCK_NB = 0x4 + LOCK_SH = 0x1 + LOCK_UN = 0x8 + MADV_DODUMP = 0x11 + MADV_DOFORK = 0xb + MADV_DONTDUMP = 0x10 + MADV_DONTFORK = 0xa + MADV_DONTNEED = 0x4 + MADV_HUGEPAGE = 0xe + MADV_HWPOISON = 0x64 + MADV_MERGEABLE = 0xc + MADV_NOHUGEPAGE = 0xf + MADV_NORMAL = 0x0 + MADV_RANDOM = 0x1 + MADV_REMOVE = 0x9 + MADV_SEQUENTIAL = 0x2 + MADV_UNMERGEABLE = 0xd + MADV_WILLNEED = 0x3 + MAP_ANON = 0x800 + MAP_ANONYMOUS = 0x800 + MAP_DENYWRITE = 0x2000 + MAP_EXECUTABLE = 0x4000 + MAP_FILE = 0x0 + MAP_FIXED = 0x10 + MAP_GROWSDOWN = 0x1000 + MAP_HUGETLB = 0x80000 + MAP_HUGE_MASK = 0x3f + MAP_HUGE_SHIFT = 0x1a + MAP_LOCKED = 0x8000 + MAP_NONBLOCK = 0x20000 + MAP_NORESERVE = 0x400 + MAP_POPULATE = 0x10000 + MAP_PRIVATE = 0x2 + MAP_RENAME = 0x800 + MAP_SHARED = 0x1 + MAP_STACK = 0x40000 + MAP_TYPE = 0xf + MCL_CURRENT = 0x1 + MCL_FUTURE = 0x2 + MNT_DETACH = 0x2 + MNT_EXPIRE = 0x4 + MNT_FORCE = 0x1 + MSG_CMSG_CLOEXEC = 0x40000000 + MSG_CONFIRM = 0x800 + MSG_CTRUNC = 0x8 + MSG_DONTROUTE = 0x4 + MSG_DONTWAIT = 0x40 + MSG_EOR = 0x80 + MSG_ERRQUEUE = 0x2000 + MSG_FASTOPEN = 0x20000000 + MSG_FIN = 0x200 + MSG_MORE = 0x8000 + MSG_NOSIGNAL = 0x4000 + MSG_OOB = 0x1 + MSG_PEEK = 0x2 + MSG_PROXY = 0x10 + MSG_RST = 0x1000 + MSG_SYN = 0x400 + MSG_TRUNC = 0x20 + MSG_TRYHARD = 0x4 + MSG_WAITALL = 0x100 + MSG_WAITFORONE = 0x10000 + MS_ACTIVE = 0x40000000 + MS_ASYNC = 0x1 + MS_BIND = 0x1000 + MS_DIRSYNC = 0x80 + MS_INVALIDATE = 0x2 + MS_I_VERSION = 0x800000 + MS_KERNMOUNT = 0x400000 + MS_LAZYTIME = 0x2000000 + MS_MANDLOCK = 0x40 + MS_MGC_MSK = 0xffff0000 + MS_MGC_VAL = 0xc0ed0000 + MS_MOVE = 0x2000 + MS_NOATIME = 0x400 + MS_NODEV = 0x4 + MS_NODIRATIME = 0x800 + MS_NOEXEC = 0x8 + MS_NOSUID = 0x2 + MS_NOUSER = -0x80000000 + MS_POSIXACL = 0x10000 + MS_PRIVATE = 0x40000 + MS_RDONLY = 0x1 + MS_REC = 0x4000 + MS_RELATIME = 0x200000 + MS_REMOUNT = 0x20 + MS_RMT_MASK = 0x2800051 + MS_SHARED = 0x100000 + MS_SILENT = 0x8000 + MS_SLAVE = 0x80000 + MS_STRICTATIME = 0x1000000 + MS_SYNC = 0x4 + MS_SYNCHRONOUS = 0x10 + MS_UNBINDABLE = 0x20000 + NAME_MAX = 0xff + NETLINK_ADD_MEMBERSHIP = 0x1 + NETLINK_AUDIT = 0x9 + NETLINK_BROADCAST_ERROR = 0x4 + NETLINK_CAP_ACK = 0xa + NETLINK_CONNECTOR = 0xb + NETLINK_CRYPTO = 0x15 + NETLINK_DNRTMSG = 0xe + NETLINK_DROP_MEMBERSHIP = 0x2 + NETLINK_ECRYPTFS = 0x13 + NETLINK_FIB_LOOKUP = 0xa + NETLINK_FIREWALL = 0x3 + NETLINK_GENERIC = 0x10 + NETLINK_INET_DIAG = 0x4 + NETLINK_IP6_FW = 0xd + NETLINK_ISCSI = 0x8 + NETLINK_KOBJECT_UEVENT = 0xf + NETLINK_LISTEN_ALL_NSID = 0x8 + NETLINK_LIST_MEMBERSHIPS = 0x9 + NETLINK_NETFILTER = 0xc + NETLINK_NFLOG = 0x5 + NETLINK_NO_ENOBUFS = 0x5 + NETLINK_PKTINFO = 0x3 + NETLINK_RDMA = 0x14 + NETLINK_ROUTE = 0x0 + NETLINK_RX_RING = 0x6 + NETLINK_SCSITRANSPORT = 0x12 + NETLINK_SELINUX = 0x7 + NETLINK_SOCK_DIAG = 0x4 + NETLINK_TX_RING = 0x7 + NETLINK_UNUSED = 0x1 + NETLINK_USERSOCK = 0x2 + NETLINK_XFRM = 0x6 + NLA_ALIGNTO = 0x4 + NLA_F_NESTED = 0x8000 + NLA_F_NET_BYTEORDER = 0x4000 + NLA_HDRLEN = 0x4 + NLMSG_ALIGNTO = 0x4 + NLMSG_DONE = 0x3 + NLMSG_ERROR = 0x2 + NLMSG_HDRLEN = 0x10 + NLMSG_MIN_TYPE = 0x10 + NLMSG_NOOP = 0x1 + NLMSG_OVERRUN = 0x4 + NLM_F_ACK = 0x4 + NLM_F_APPEND = 0x800 + NLM_F_ATOMIC = 0x400 + NLM_F_CREATE = 0x400 + NLM_F_DUMP = 0x300 + NLM_F_DUMP_INTR = 0x10 + NLM_F_ECHO = 0x8 + NLM_F_EXCL = 0x200 + NLM_F_MATCH = 0x200 + NLM_F_MULTI = 0x2 + NLM_F_REPLACE = 0x100 + NLM_F_REQUEST = 0x1 + NLM_F_ROOT = 0x100 + NOFLSH = 0x80 + OCRNL = 0x8 + OFDEL = 0x80 + OFILL = 0x40 + ONLCR = 0x4 + ONLRET = 0x20 + ONOCR = 0x10 + OPOST = 0x1 + O_ACCMODE = 0x3 + O_APPEND = 0x8 + O_ASYNC = 0x1000 + O_CLOEXEC = 0x80000 + O_CREAT = 0x100 + O_DIRECT = 0x8000 + O_DIRECTORY = 0x10000 + O_DSYNC = 0x10 + O_EXCL = 0x400 + O_FSYNC = 0x4010 + O_LARGEFILE = 0x0 + O_NDELAY = 0x80 + O_NOATIME = 0x40000 + O_NOCTTY = 0x800 + O_NOFOLLOW = 0x20000 + O_NONBLOCK = 0x80 + O_PATH = 0x200000 + O_RDONLY = 0x0 + O_RDWR = 0x2 + O_RSYNC = 0x4010 + O_SYNC = 0x4010 + O_TMPFILE = 0x410000 + O_TRUNC = 0x200 + O_WRONLY = 0x1 + PACKET_ADD_MEMBERSHIP = 0x1 + PACKET_AUXDATA = 0x8 + PACKET_BROADCAST = 0x1 + PACKET_COPY_THRESH = 0x7 + PACKET_DROP_MEMBERSHIP = 0x2 + PACKET_FANOUT = 0x12 + PACKET_FANOUT_CBPF = 0x6 + PACKET_FANOUT_CPU = 0x2 + PACKET_FANOUT_DATA = 0x16 + PACKET_FANOUT_EBPF = 0x7 + PACKET_FANOUT_FLAG_DEFRAG = 0x8000 + PACKET_FANOUT_FLAG_ROLLOVER = 0x1000 + PACKET_FANOUT_HASH = 0x0 + PACKET_FANOUT_LB = 0x1 + PACKET_FANOUT_QM = 0x5 + PACKET_FANOUT_RND = 0x4 + PACKET_FANOUT_ROLLOVER = 0x3 + PACKET_FASTROUTE = 0x6 + PACKET_HDRLEN = 0xb + PACKET_HOST = 0x0 + PACKET_KERNEL = 0x7 + PACKET_LOOPBACK = 0x5 + PACKET_LOSS = 0xe + PACKET_MR_ALLMULTI = 0x2 + PACKET_MR_MULTICAST = 0x0 + PACKET_MR_PROMISC = 0x1 + PACKET_MR_UNICAST = 0x3 + PACKET_MULTICAST = 0x2 + PACKET_ORIGDEV = 0x9 + PACKET_OTHERHOST = 0x3 + PACKET_OUTGOING = 0x4 + PACKET_QDISC_BYPASS = 0x14 + PACKET_RECV_OUTPUT = 0x3 + PACKET_RESERVE = 0xc + PACKET_ROLLOVER_STATS = 0x15 + PACKET_RX_RING = 0x5 + PACKET_STATISTICS = 0x6 + PACKET_TIMESTAMP = 0x11 + PACKET_TX_HAS_OFF = 0x13 + PACKET_TX_RING = 0xd + PACKET_TX_TIMESTAMP = 0x10 + PACKET_USER = 0x6 + PACKET_VERSION = 0xa + PACKET_VNET_HDR = 0xf + PARENB = 0x100 + PARITY_CRC16_PR0 = 0x2 + PARITY_CRC16_PR0_CCITT = 0x4 + PARITY_CRC16_PR1 = 0x3 + PARITY_CRC16_PR1_CCITT = 0x5 + PARITY_CRC32_PR0_CCITT = 0x6 + PARITY_CRC32_PR1_CCITT = 0x7 + PARITY_DEFAULT = 0x0 + PARITY_NONE = 0x1 + PARMRK = 0x8 + PARODD = 0x200 + PENDIN = 0x4000 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 + PROT_EXEC = 0x4 + PROT_GROWSDOWN = 0x1000000 + PROT_GROWSUP = 0x2000000 + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 + PR_CAPBSET_DROP = 0x18 + PR_CAPBSET_READ = 0x17 + PR_CAP_AMBIENT = 0x2f + PR_CAP_AMBIENT_CLEAR_ALL = 0x4 + PR_CAP_AMBIENT_IS_SET = 0x1 + PR_CAP_AMBIENT_LOWER = 0x3 + PR_CAP_AMBIENT_RAISE = 0x2 + PR_ENDIAN_BIG = 0x0 + PR_ENDIAN_LITTLE = 0x1 + PR_ENDIAN_PPC_LITTLE = 0x2 + PR_FPEMU_NOPRINT = 0x1 + PR_FPEMU_SIGFPE = 0x2 + PR_FP_EXC_ASYNC = 0x2 + PR_FP_EXC_DISABLED = 0x0 + PR_FP_EXC_DIV = 0x10000 + PR_FP_EXC_INV = 0x100000 + PR_FP_EXC_NONRECOV = 0x1 + PR_FP_EXC_OVF = 0x20000 + PR_FP_EXC_PRECISE = 0x3 + PR_FP_EXC_RES = 0x80000 + PR_FP_EXC_SW_ENABLE = 0x80 + PR_FP_EXC_UND = 0x40000 + PR_FP_MODE_FR = 0x1 + PR_FP_MODE_FRE = 0x2 + PR_GET_CHILD_SUBREAPER = 0x25 + PR_GET_DUMPABLE = 0x3 + PR_GET_ENDIAN = 0x13 + PR_GET_FPEMU = 0x9 + PR_GET_FPEXC = 0xb + PR_GET_FP_MODE = 0x2e + PR_GET_KEEPCAPS = 0x7 + PR_GET_NAME = 0x10 + PR_GET_NO_NEW_PRIVS = 0x27 + PR_GET_PDEATHSIG = 0x2 + PR_GET_SECCOMP = 0x15 + PR_GET_SECUREBITS = 0x1b + PR_GET_THP_DISABLE = 0x2a + PR_GET_TID_ADDRESS = 0x28 + PR_GET_TIMERSLACK = 0x1e + PR_GET_TIMING = 0xd + PR_GET_TSC = 0x19 + PR_GET_UNALIGN = 0x5 + PR_MCE_KILL = 0x21 + PR_MCE_KILL_CLEAR = 0x0 + PR_MCE_KILL_DEFAULT = 0x2 + PR_MCE_KILL_EARLY = 0x1 + PR_MCE_KILL_GET = 0x22 + PR_MCE_KILL_LATE = 0x0 + PR_MCE_KILL_SET = 0x1 + PR_MPX_DISABLE_MANAGEMENT = 0x2c + PR_MPX_ENABLE_MANAGEMENT = 0x2b + PR_SET_CHILD_SUBREAPER = 0x24 + PR_SET_DUMPABLE = 0x4 + PR_SET_ENDIAN = 0x14 + PR_SET_FPEMU = 0xa + PR_SET_FPEXC = 0xc + PR_SET_FP_MODE = 0x2d + PR_SET_KEEPCAPS = 0x8 + PR_SET_MM = 0x23 + PR_SET_MM_ARG_END = 0x9 + PR_SET_MM_ARG_START = 0x8 + PR_SET_MM_AUXV = 0xc + PR_SET_MM_BRK = 0x7 + PR_SET_MM_END_CODE = 0x2 + PR_SET_MM_END_DATA = 0x4 + PR_SET_MM_ENV_END = 0xb + PR_SET_MM_ENV_START = 0xa + PR_SET_MM_EXE_FILE = 0xd + PR_SET_MM_MAP = 0xe + PR_SET_MM_MAP_SIZE = 0xf + PR_SET_MM_START_BRK = 0x6 + PR_SET_MM_START_CODE = 0x1 + PR_SET_MM_START_DATA = 0x3 + PR_SET_MM_START_STACK = 0x5 + PR_SET_NAME = 0xf + PR_SET_NO_NEW_PRIVS = 0x26 + PR_SET_PDEATHSIG = 0x1 + PR_SET_PTRACER = 0x59616d61 + PR_SET_PTRACER_ANY = -0x1 + PR_SET_SECCOMP = 0x16 + PR_SET_SECUREBITS = 0x1c + PR_SET_THP_DISABLE = 0x29 + PR_SET_TIMERSLACK = 0x1d + PR_SET_TIMING = 0xe + PR_SET_TSC = 0x1a + PR_SET_UNALIGN = 0x6 + PR_TASK_PERF_EVENTS_DISABLE = 0x1f + PR_TASK_PERF_EVENTS_ENABLE = 0x20 + PR_TIMING_STATISTICAL = 0x0 + PR_TIMING_TIMESTAMP = 0x1 + PR_TSC_ENABLE = 0x1 + PR_TSC_SIGSEGV = 0x2 + PR_UNALIGN_NOPRINT = 0x1 + PR_UNALIGN_SIGBUS = 0x2 + PTRACE_ATTACH = 0x10 + PTRACE_CONT = 0x7 + PTRACE_DETACH = 0x11 + PTRACE_EVENT_CLONE = 0x3 + PTRACE_EVENT_EXEC = 0x4 + PTRACE_EVENT_EXIT = 0x6 + PTRACE_EVENT_FORK = 0x1 + PTRACE_EVENT_SECCOMP = 0x7 + PTRACE_EVENT_STOP = 0x80 + PTRACE_EVENT_VFORK = 0x2 + PTRACE_EVENT_VFORK_DONE = 0x5 + PTRACE_GETEVENTMSG = 0x4201 + PTRACE_GETFPREGS = 0xe + PTRACE_GETREGS = 0xc + PTRACE_GETREGSET = 0x4204 + PTRACE_GETSIGINFO = 0x4202 + PTRACE_GETSIGMASK = 0x420a + PTRACE_GET_THREAD_AREA = 0x19 + PTRACE_GET_THREAD_AREA_3264 = 0xc4 + PTRACE_GET_WATCH_REGS = 0xd0 + PTRACE_INTERRUPT = 0x4207 + PTRACE_KILL = 0x8 + PTRACE_LISTEN = 0x4208 + PTRACE_OLDSETOPTIONS = 0x15 + PTRACE_O_EXITKILL = 0x100000 + PTRACE_O_MASK = 0x3000ff + PTRACE_O_SUSPEND_SECCOMP = 0x200000 + PTRACE_O_TRACECLONE = 0x8 + PTRACE_O_TRACEEXEC = 0x10 + PTRACE_O_TRACEEXIT = 0x40 + PTRACE_O_TRACEFORK = 0x2 + PTRACE_O_TRACESECCOMP = 0x80 + PTRACE_O_TRACESYSGOOD = 0x1 + PTRACE_O_TRACEVFORK = 0x4 + PTRACE_O_TRACEVFORKDONE = 0x20 + PTRACE_PEEKDATA = 0x2 + PTRACE_PEEKDATA_3264 = 0xc1 + PTRACE_PEEKSIGINFO = 0x4209 + PTRACE_PEEKSIGINFO_SHARED = 0x1 + PTRACE_PEEKTEXT = 0x1 + PTRACE_PEEKTEXT_3264 = 0xc0 + PTRACE_PEEKUSR = 0x3 + PTRACE_POKEDATA = 0x5 + PTRACE_POKEDATA_3264 = 0xc3 + PTRACE_POKETEXT = 0x4 + PTRACE_POKETEXT_3264 = 0xc2 + PTRACE_POKEUSR = 0x6 + PTRACE_SEIZE = 0x4206 + PTRACE_SETFPREGS = 0xf + PTRACE_SETOPTIONS = 0x4200 + PTRACE_SETREGS = 0xd + PTRACE_SETREGSET = 0x4205 + PTRACE_SETSIGINFO = 0x4203 + PTRACE_SETSIGMASK = 0x420b + PTRACE_SET_THREAD_AREA = 0x1a + PTRACE_SET_WATCH_REGS = 0xd1 + PTRACE_SINGLESTEP = 0x9 + PTRACE_SYSCALL = 0x18 + PTRACE_TRACEME = 0x0 + RLIMIT_AS = 0x6 + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 + RLIMIT_DATA = 0x2 + RLIMIT_FSIZE = 0x1 + RLIMIT_NOFILE = 0x5 + RLIMIT_STACK = 0x3 + RLIM_INFINITY = -0x1 + RTAX_ADVMSS = 0x8 + RTAX_CC_ALGO = 0x10 + RTAX_CWND = 0x7 + RTAX_FEATURES = 0xc + RTAX_FEATURE_ALLFRAG = 0x8 + RTAX_FEATURE_ECN = 0x1 + RTAX_FEATURE_MASK = 0xf + RTAX_FEATURE_SACK = 0x2 + RTAX_FEATURE_TIMESTAMP = 0x4 + RTAX_HOPLIMIT = 0xa + RTAX_INITCWND = 0xb + RTAX_INITRWND = 0xe + RTAX_LOCK = 0x1 + RTAX_MAX = 0x10 + RTAX_MTU = 0x2 + RTAX_QUICKACK = 0xf + RTAX_REORDERING = 0x9 + RTAX_RTO_MIN = 0xd + RTAX_RTT = 0x4 + RTAX_RTTVAR = 0x5 + RTAX_SSTHRESH = 0x6 + RTAX_UNSPEC = 0x0 + RTAX_WINDOW = 0x3 + RTA_ALIGNTO = 0x4 + RTA_MAX = 0x16 + RTCF_DIRECTSRC = 0x4000000 + RTCF_DOREDIRECT = 0x1000000 + RTCF_LOG = 0x2000000 + RTCF_MASQ = 0x400000 + RTCF_NAT = 0x800000 + RTCF_VALVE = 0x200000 + RTF_ADDRCLASSMASK = 0xf8000000 + RTF_ADDRCONF = 0x40000 + RTF_ALLONLINK = 0x20000 + RTF_BROADCAST = 0x10000000 + RTF_CACHE = 0x1000000 + RTF_DEFAULT = 0x10000 + RTF_DYNAMIC = 0x10 + RTF_FLOW = 0x2000000 + RTF_GATEWAY = 0x2 + RTF_HOST = 0x4 + RTF_INTERFACE = 0x40000000 + RTF_IRTT = 0x100 + RTF_LINKRT = 0x100000 + RTF_LOCAL = 0x80000000 + RTF_MODIFIED = 0x20 + RTF_MSS = 0x40 + RTF_MTU = 0x40 + RTF_MULTICAST = 0x20000000 + RTF_NAT = 0x8000000 + RTF_NOFORWARD = 0x1000 + RTF_NONEXTHOP = 0x200000 + RTF_NOPMTUDISC = 0x4000 + RTF_POLICY = 0x4000000 + RTF_REINSTATE = 0x8 + RTF_REJECT = 0x200 + RTF_STATIC = 0x400 + RTF_THROW = 0x2000 + RTF_UP = 0x1 + RTF_WINDOW = 0x80 + RTF_XRESOLVE = 0x800 + RTM_BASE = 0x10 + RTM_DELACTION = 0x31 + RTM_DELADDR = 0x15 + RTM_DELADDRLABEL = 0x49 + RTM_DELLINK = 0x11 + RTM_DELMDB = 0x55 + RTM_DELNEIGH = 0x1d + RTM_DELNSID = 0x59 + RTM_DELQDISC = 0x25 + RTM_DELROUTE = 0x19 + RTM_DELRULE = 0x21 + RTM_DELTCLASS = 0x29 + RTM_DELTFILTER = 0x2d + RTM_F_CLONED = 0x200 + RTM_F_EQUALIZE = 0x400 + RTM_F_NOTIFY = 0x100 + RTM_F_PREFIX = 0x800 + RTM_GETACTION = 0x32 + RTM_GETADDR = 0x16 + RTM_GETADDRLABEL = 0x4a + RTM_GETANYCAST = 0x3e + RTM_GETDCB = 0x4e + RTM_GETLINK = 0x12 + RTM_GETMDB = 0x56 + RTM_GETMULTICAST = 0x3a + RTM_GETNEIGH = 0x1e + RTM_GETNEIGHTBL = 0x42 + RTM_GETNETCONF = 0x52 + RTM_GETNSID = 0x5a + RTM_GETQDISC = 0x26 + RTM_GETROUTE = 0x1a + RTM_GETRULE = 0x22 + RTM_GETTCLASS = 0x2a + RTM_GETTFILTER = 0x2e + RTM_MAX = 0x5b + RTM_NEWACTION = 0x30 + RTM_NEWADDR = 0x14 + RTM_NEWADDRLABEL = 0x48 + RTM_NEWLINK = 0x10 + RTM_NEWMDB = 0x54 + RTM_NEWNDUSEROPT = 0x44 + RTM_NEWNEIGH = 0x1c + RTM_NEWNEIGHTBL = 0x40 + RTM_NEWNETCONF = 0x50 + RTM_NEWNSID = 0x58 + RTM_NEWPREFIX = 0x34 + RTM_NEWQDISC = 0x24 + RTM_NEWROUTE = 0x18 + RTM_NEWRULE = 0x20 + RTM_NEWTCLASS = 0x28 + RTM_NEWTFILTER = 0x2c + RTM_NR_FAMILIES = 0x13 + RTM_NR_MSGTYPES = 0x4c + RTM_SETDCB = 0x4f + RTM_SETLINK = 0x13 + RTM_SETNEIGHTBL = 0x43 + RTNH_ALIGNTO = 0x4 + RTNH_COMPARE_MASK = 0x11 + RTNH_F_DEAD = 0x1 + RTNH_F_LINKDOWN = 0x10 + RTNH_F_OFFLOAD = 0x8 + RTNH_F_ONLINK = 0x4 + RTNH_F_PERVASIVE = 0x2 + RTN_MAX = 0xb + RTPROT_BABEL = 0x2a + RTPROT_BIRD = 0xc + RTPROT_BOOT = 0x3 + RTPROT_DHCP = 0x10 + RTPROT_DNROUTED = 0xd + RTPROT_GATED = 0x8 + RTPROT_KERNEL = 0x2 + RTPROT_MROUTED = 0x11 + RTPROT_MRT = 0xa + RTPROT_NTK = 0xf + RTPROT_RA = 0x9 + RTPROT_REDIRECT = 0x1 + RTPROT_STATIC = 0x4 + RTPROT_UNSPEC = 0x0 + RTPROT_XORP = 0xe + RTPROT_ZEBRA = 0xb + RT_CLASS_DEFAULT = 0xfd + RT_CLASS_LOCAL = 0xff + RT_CLASS_MAIN = 0xfe + RT_CLASS_MAX = 0xff + RT_CLASS_UNSPEC = 0x0 + RUSAGE_CHILDREN = -0x1 + RUSAGE_SELF = 0x0 + RUSAGE_THREAD = 0x1 + SCM_CREDENTIALS = 0x2 + SCM_RIGHTS = 0x1 + SCM_TIMESTAMP = 0x1d + SCM_TIMESTAMPING = 0x25 + SCM_TIMESTAMPNS = 0x23 + SCM_WIFI_STATUS = 0x29 + SHUT_RD = 0x0 + SHUT_RDWR = 0x2 + SHUT_WR = 0x1 + SIOCADDDLCI = 0x8980 + SIOCADDMULTI = 0x8931 + SIOCADDRT = 0x890b + SIOCATMARK = 0x40047307 + SIOCDARP = 0x8953 + SIOCDELDLCI = 0x8981 + SIOCDELMULTI = 0x8932 + SIOCDELRT = 0x890c + SIOCDEVPRIVATE = 0x89f0 + SIOCDIFADDR = 0x8936 + SIOCDRARP = 0x8960 + SIOCGARP = 0x8954 + SIOCGIFADDR = 0x8915 + SIOCGIFBR = 0x8940 + SIOCGIFBRDADDR = 0x8919 + SIOCGIFCONF = 0x8912 + SIOCGIFCOUNT = 0x8938 + SIOCGIFDSTADDR = 0x8917 + SIOCGIFENCAP = 0x8925 + SIOCGIFFLAGS = 0x8913 + SIOCGIFHWADDR = 0x8927 + SIOCGIFINDEX = 0x8933 + SIOCGIFMAP = 0x8970 + SIOCGIFMEM = 0x891f + SIOCGIFMETRIC = 0x891d + SIOCGIFMTU = 0x8921 + SIOCGIFNAME = 0x8910 + SIOCGIFNETMASK = 0x891b + SIOCGIFPFLAGS = 0x8935 + SIOCGIFSLAVE = 0x8929 + SIOCGIFTXQLEN = 0x8942 + SIOCGPGRP = 0x40047309 + SIOCGRARP = 0x8961 + SIOCGSTAMP = 0x8906 + SIOCGSTAMPNS = 0x8907 + SIOCPROTOPRIVATE = 0x89e0 + SIOCRTMSG = 0x890d + SIOCSARP = 0x8955 + SIOCSIFADDR = 0x8916 + SIOCSIFBR = 0x8941 + SIOCSIFBRDADDR = 0x891a + SIOCSIFDSTADDR = 0x8918 + SIOCSIFENCAP = 0x8926 + SIOCSIFFLAGS = 0x8914 + SIOCSIFHWADDR = 0x8924 + SIOCSIFHWBROADCAST = 0x8937 + SIOCSIFLINK = 0x8911 + SIOCSIFMAP = 0x8971 + SIOCSIFMEM = 0x8920 + SIOCSIFMETRIC = 0x891e + SIOCSIFMTU = 0x8922 + SIOCSIFNAME = 0x8923 + SIOCSIFNETMASK = 0x891c + SIOCSIFPFLAGS = 0x8934 + SIOCSIFSLAVE = 0x8930 + SIOCSIFTXQLEN = 0x8943 + SIOCSPGRP = 0x80047308 + SIOCSRARP = 0x8962 + SOCK_CLOEXEC = 0x80000 + SOCK_DCCP = 0x6 + SOCK_DGRAM = 0x1 + SOCK_NONBLOCK = 0x80 + SOCK_PACKET = 0xa + SOCK_RAW = 0x3 + SOCK_RDM = 0x4 + SOCK_SEQPACKET = 0x5 + SOCK_STREAM = 0x2 + SOL_AAL = 0x109 + SOL_ATM = 0x108 + SOL_DECNET = 0x105 + SOL_ICMPV6 = 0x3a + SOL_IP = 0x0 + SOL_IPV6 = 0x29 + SOL_IRDA = 0x10a + SOL_PACKET = 0x107 + SOL_RAW = 0xff + SOL_SOCKET = 0xffff + SOL_TCP = 0x6 + SOL_X25 = 0x106 + SOMAXCONN = 0x80 + SO_ACCEPTCONN = 0x1009 + SO_ATTACH_BPF = 0x32 + SO_ATTACH_FILTER = 0x1a + SO_BINDTODEVICE = 0x19 + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x20 + SO_BSDCOMPAT = 0xe + SO_BUSY_POLL = 0x2e + SO_DEBUG = 0x1 + SO_DETACH_BPF = 0x1b + SO_DETACH_FILTER = 0x1b + SO_DOMAIN = 0x1029 + SO_DONTROUTE = 0x10 + SO_ERROR = 0x1007 + SO_GET_FILTER = 0x1a + SO_INCOMING_CPU = 0x31 + SO_KEEPALIVE = 0x8 + SO_LINGER = 0x80 + SO_LOCK_FILTER = 0x2c + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_NOFCS = 0x2b + SO_NO_CHECK = 0xb + SO_OOBINLINE = 0x100 + SO_PASSCRED = 0x11 + SO_PASSSEC = 0x22 + SO_PEEK_OFF = 0x2a + SO_PEERCRED = 0x12 + SO_PEERNAME = 0x1c + SO_PEERSEC = 0x1e + SO_PRIORITY = 0xc + SO_PROTOCOL = 0x1028 + SO_RCVBUF = 0x1002 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x1004 + SO_RCVTIMEO = 0x1006 + SO_REUSEADDR = 0x4 + SO_REUSEPORT = 0x200 + SO_RXQ_OVFL = 0x28 + SO_SECURITY_AUTHENTICATION = 0x16 + SO_SECURITY_ENCRYPTION_NETWORK = 0x18 + SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 + SO_SELECT_ERR_QUEUE = 0x2d + SO_SNDBUF = 0x1001 + SO_SNDBUFFORCE = 0x1f + SO_SNDLOWAT = 0x1003 + SO_SNDTIMEO = 0x1005 + SO_STYLE = 0x1008 + SO_TIMESTAMP = 0x1d + SO_TIMESTAMPING = 0x25 + SO_TIMESTAMPNS = 0x23 + SO_TYPE = 0x1008 + SO_WIFI_STATUS = 0x29 + S_BLKSIZE = 0x200 + S_IEXEC = 0x40 + S_IFBLK = 0x6000 + S_IFCHR = 0x2000 + S_IFDIR = 0x4000 + S_IFIFO = 0x1000 + S_IFLNK = 0xa000 + S_IFMT = 0xf000 + S_IFREG = 0x8000 + S_IFSOCK = 0xc000 + S_IREAD = 0x100 + S_IRGRP = 0x20 + S_IROTH = 0x4 + S_IRUSR = 0x100 + S_IRWXG = 0x38 + S_IRWXO = 0x7 + S_IRWXU = 0x1c0 + S_ISGID = 0x400 + S_ISUID = 0x800 + S_ISVTX = 0x200 + S_IWGRP = 0x10 + S_IWOTH = 0x2 + S_IWRITE = 0x80 + S_IWUSR = 0x80 + S_IXGRP = 0x8 + S_IXOTH = 0x1 + S_IXUSR = 0x40 + TCFLSH = 0x5407 + TCIFLUSH = 0x0 + TCIOFLUSH = 0x2 + TCOFLUSH = 0x1 + TCP_CONGESTION = 0xd + TCP_COOKIE_IN_ALWAYS = 0x1 + TCP_COOKIE_MAX = 0x10 + TCP_COOKIE_MIN = 0x8 + TCP_COOKIE_OUT_NEVER = 0x2 + TCP_COOKIE_PAIR_SIZE = 0x20 + TCP_COOKIE_TRANSACTIONS = 0xf + TCP_CORK = 0x3 + TCP_DEFER_ACCEPT = 0x9 + TCP_FASTOPEN = 0x17 + TCP_INFO = 0xb + TCP_KEEPCNT = 0x6 + TCP_KEEPIDLE = 0x4 + TCP_KEEPINTVL = 0x5 + TCP_LINGER2 = 0x8 + TCP_MAXSEG = 0x2 + TCP_MAXWIN = 0xffff + TCP_MAX_WINSHIFT = 0xe + TCP_MD5SIG = 0xe + TCP_MD5SIG_MAXKEYLEN = 0x50 + TCP_MSS = 0x200 + TCP_MSS_DEFAULT = 0x218 + TCP_MSS_DESIRED = 0x4c4 + TCP_NODELAY = 0x1 + TCP_QUEUE_SEQ = 0x15 + TCP_QUICKACK = 0xc + TCP_REPAIR = 0x13 + TCP_REPAIR_OPTIONS = 0x16 + TCP_REPAIR_QUEUE = 0x14 + TCP_SYNCNT = 0x7 + TCP_S_DATA_IN = 0x4 + TCP_S_DATA_OUT = 0x8 + TCP_THIN_DUPACK = 0x11 + TCP_THIN_LINEAR_TIMEOUTS = 0x10 + TCP_TIMESTAMP = 0x18 + TCP_USER_TIMEOUT = 0x12 + TCP_WINDOW_CLAMP = 0xa + TCSAFLUSH = 0x5410 + TCSBRK = 0x5405 + TCXONC = 0x5406 + TIOCCBRK = 0x5428 + TIOCCONS = 0x80047478 + TIOCEXCL = 0x740d + TIOCGDEV = 0x40045432 + TIOCGETD = 0x7400 + TIOCGETP = 0x7408 + TIOCGEXCL = 0x40045440 + TIOCGICOUNT = 0x5492 + TIOCGLCKTRMIOS = 0x548b + TIOCGLTC = 0x7474 + TIOCGPGRP = 0x40047477 + TIOCGPKT = 0x40045438 + TIOCGPTLCK = 0x40045439 + TIOCGPTN = 0x40045430 + TIOCGRS485 = 0x4020542e + TIOCGSERIAL = 0x5484 + TIOCGSID = 0x7416 + TIOCGSOFTCAR = 0x5481 + TIOCGWINSZ = 0x40087468 + TIOCINQ = 0x467f + TIOCLINUX = 0x5483 + TIOCMBIC = 0x741c + TIOCMBIS = 0x741b + TIOCMGET = 0x741d + TIOCMIWAIT = 0x5491 + TIOCMSET = 0x741a + TIOCM_CAR = 0x100 + TIOCM_CD = 0x100 + TIOCM_CTS = 0x40 + TIOCM_DSR = 0x400 + TIOCM_DTR = 0x2 + TIOCM_LE = 0x1 + TIOCM_RI = 0x200 + TIOCM_RNG = 0x200 + TIOCM_RTS = 0x4 + TIOCM_SR = 0x20 + TIOCM_ST = 0x10 + TIOCNOTTY = 0x5471 + TIOCNXCL = 0x740e + TIOCOUTQ = 0x7472 + TIOCPKT = 0x5470 + TIOCPKT_DATA = 0x0 + TIOCPKT_DOSTOP = 0x20 + TIOCPKT_FLUSHREAD = 0x1 + TIOCPKT_FLUSHWRITE = 0x2 + TIOCPKT_IOCTL = 0x40 + TIOCPKT_NOSTOP = 0x10 + TIOCPKT_START = 0x8 + TIOCPKT_STOP = 0x4 + TIOCSBRK = 0x5427 + TIOCSCTTY = 0x5480 + TIOCSERCONFIG = 0x5488 + TIOCSERGETLSR = 0x548e + TIOCSERGETMULTI = 0x548f + TIOCSERGSTRUCT = 0x548d + TIOCSERGWILD = 0x5489 + TIOCSERSETMULTI = 0x5490 + TIOCSERSWILD = 0x548a + TIOCSER_TEMT = 0x1 + TIOCSETD = 0x7401 + TIOCSETN = 0x740a + TIOCSETP = 0x7409 + TIOCSIG = 0x80045436 + TIOCSLCKTRMIOS = 0x548c + TIOCSLTC = 0x7475 + TIOCSPGRP = 0x80047476 + TIOCSPTLCK = 0x80045431 + TIOCSRS485 = 0xc020542f + TIOCSSERIAL = 0x5485 + TIOCSSOFTCAR = 0x5482 + TIOCSTI = 0x5472 + TIOCSWINSZ = 0x80087467 + TIOCVHANGUP = 0x5437 + TOSTOP = 0x8000 + TUNATTACHFILTER = 0x801054d5 + TUNDETACHFILTER = 0x801054d6 + TUNGETFEATURES = 0x400454cf + TUNGETFILTER = 0x401054db + TUNGETIFF = 0x400454d2 + TUNGETSNDBUF = 0x400454d3 + TUNGETVNETBE = 0x400454df + TUNGETVNETHDRSZ = 0x400454d7 + TUNGETVNETLE = 0x400454dd + TUNSETDEBUG = 0x800454c9 + TUNSETGROUP = 0x800454ce + TUNSETIFF = 0x800454ca + TUNSETIFINDEX = 0x800454da + TUNSETLINK = 0x800454cd + TUNSETNOCSUM = 0x800454c8 + TUNSETOFFLOAD = 0x800454d0 + TUNSETOWNER = 0x800454cc + TUNSETPERSIST = 0x800454cb + TUNSETQUEUE = 0x800454d9 + TUNSETSNDBUF = 0x800454d4 + TUNSETTXFILTER = 0x800454d1 + TUNSETVNETBE = 0x800454de + TUNSETVNETHDRSZ = 0x800454d8 + TUNSETVNETLE = 0x800454dc + VDISCARD = 0xd + VEOF = 0x10 + VEOL = 0x11 + VEOL2 = 0x6 + VERASE = 0x2 + VINTR = 0x0 + VKILL = 0x3 + VLNEXT = 0xf + VMIN = 0x4 + VQUIT = 0x1 + VREPRINT = 0xc + VSTART = 0x8 + VSTOP = 0x9 + VSUSP = 0xa + VSWTC = 0x7 + VSWTCH = 0x7 + VT0 = 0x0 + VT1 = 0x4000 + VTDLY = 0x4000 + VTIME = 0x5 + VWERASE = 0xe + WALL = 0x40000000 + WCLONE = 0x80000000 + WCONTINUED = 0x8 + WEXITED = 0x4 + WNOHANG = 0x1 + WNOTHREAD = 0x20000000 + WNOWAIT = 0x1000000 + WORDSIZE = 0x40 + WSTOPPED = 0x2 + WUNTRACED = 0x2 +) + +// Errors +const ( + E2BIG = syscall.Errno(0x7) + EACCES = syscall.Errno(0xd) + EADDRINUSE = syscall.Errno(0x7d) + EADDRNOTAVAIL = syscall.Errno(0x7e) + EADV = syscall.Errno(0x44) + EAFNOSUPPORT = syscall.Errno(0x7c) + EAGAIN = syscall.Errno(0xb) + EALREADY = syscall.Errno(0x95) + EBADE = syscall.Errno(0x32) + EBADF = syscall.Errno(0x9) + EBADFD = syscall.Errno(0x51) + EBADMSG = syscall.Errno(0x4d) + EBADR = syscall.Errno(0x33) + EBADRQC = syscall.Errno(0x36) + EBADSLT = syscall.Errno(0x37) + EBFONT = syscall.Errno(0x3b) + EBUSY = syscall.Errno(0x10) + ECANCELED = syscall.Errno(0x9e) + ECHILD = syscall.Errno(0xa) + ECHRNG = syscall.Errno(0x25) + ECOMM = syscall.Errno(0x46) + ECONNABORTED = syscall.Errno(0x82) + ECONNREFUSED = syscall.Errno(0x92) + ECONNRESET = syscall.Errno(0x83) + EDEADLK = syscall.Errno(0x2d) + EDEADLOCK = syscall.Errno(0x38) + EDESTADDRREQ = syscall.Errno(0x60) + EDOM = syscall.Errno(0x21) + EDOTDOT = syscall.Errno(0x49) + EDQUOT = syscall.Errno(0x46d) + EEXIST = syscall.Errno(0x11) + EFAULT = syscall.Errno(0xe) + EFBIG = syscall.Errno(0x1b) + EHOSTDOWN = syscall.Errno(0x93) + EHOSTUNREACH = syscall.Errno(0x94) + EHWPOISON = syscall.Errno(0xa8) + EIDRM = syscall.Errno(0x24) + EILSEQ = syscall.Errno(0x58) + EINIT = syscall.Errno(0x8d) + EINPROGRESS = syscall.Errno(0x96) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x85) + EISDIR = syscall.Errno(0x15) + EISNAM = syscall.Errno(0x8b) + EKEYEXPIRED = syscall.Errno(0xa2) + EKEYREJECTED = syscall.Errno(0xa4) + EKEYREVOKED = syscall.Errno(0xa3) + EL2HLT = syscall.Errno(0x2c) + EL2NSYNC = syscall.Errno(0x26) + EL3HLT = syscall.Errno(0x27) + EL3RST = syscall.Errno(0x28) + ELIBACC = syscall.Errno(0x53) + ELIBBAD = syscall.Errno(0x54) + ELIBEXEC = syscall.Errno(0x57) + ELIBMAX = syscall.Errno(0x56) + ELIBSCN = syscall.Errno(0x55) + ELNRNG = syscall.Errno(0x29) + ELOOP = syscall.Errno(0x5a) + EMEDIUMTYPE = syscall.Errno(0xa0) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) + EMSGSIZE = syscall.Errno(0x61) + EMULTIHOP = syscall.Errno(0x4a) + ENAMETOOLONG = syscall.Errno(0x4e) + ENAVAIL = syscall.Errno(0x8a) + ENETDOWN = syscall.Errno(0x7f) + ENETRESET = syscall.Errno(0x81) + ENETUNREACH = syscall.Errno(0x80) + ENFILE = syscall.Errno(0x17) + ENOANO = syscall.Errno(0x35) + ENOBUFS = syscall.Errno(0x84) + ENOCSI = syscall.Errno(0x2b) + ENODATA = syscall.Errno(0x3d) + ENODEV = syscall.Errno(0x13) + ENOENT = syscall.Errno(0x2) + ENOEXEC = syscall.Errno(0x8) + ENOKEY = syscall.Errno(0xa1) + ENOLCK = syscall.Errno(0x2e) + ENOLINK = syscall.Errno(0x43) + ENOMEDIUM = syscall.Errno(0x9f) + ENOMEM = syscall.Errno(0xc) + ENOMSG = syscall.Errno(0x23) + ENONET = syscall.Errno(0x40) + ENOPKG = syscall.Errno(0x41) + ENOPROTOOPT = syscall.Errno(0x63) + ENOSPC = syscall.Errno(0x1c) + ENOSR = syscall.Errno(0x3f) + ENOSTR = syscall.Errno(0x3c) + ENOSYS = syscall.Errno(0x59) + ENOTBLK = syscall.Errno(0xf) + ENOTCONN = syscall.Errno(0x86) + ENOTDIR = syscall.Errno(0x14) + ENOTEMPTY = syscall.Errno(0x5d) + ENOTNAM = syscall.Errno(0x89) + ENOTRECOVERABLE = syscall.Errno(0xa6) + ENOTSOCK = syscall.Errno(0x5f) + ENOTSUP = syscall.Errno(0x7a) + ENOTTY = syscall.Errno(0x19) + ENOTUNIQ = syscall.Errno(0x50) + ENXIO = syscall.Errno(0x6) + EOPNOTSUPP = syscall.Errno(0x7a) + EOVERFLOW = syscall.Errno(0x4f) + EOWNERDEAD = syscall.Errno(0xa5) + EPERM = syscall.Errno(0x1) + EPFNOSUPPORT = syscall.Errno(0x7b) + EPIPE = syscall.Errno(0x20) + EPROTO = syscall.Errno(0x47) + EPROTONOSUPPORT = syscall.Errno(0x78) + EPROTOTYPE = syscall.Errno(0x62) + ERANGE = syscall.Errno(0x22) + EREMCHG = syscall.Errno(0x52) + EREMDEV = syscall.Errno(0x8e) + EREMOTE = syscall.Errno(0x42) + EREMOTEIO = syscall.Errno(0x8c) + ERESTART = syscall.Errno(0x5b) + ERFKILL = syscall.Errno(0xa7) + EROFS = syscall.Errno(0x1e) + ESHUTDOWN = syscall.Errno(0x8f) + ESOCKTNOSUPPORT = syscall.Errno(0x79) + ESPIPE = syscall.Errno(0x1d) + ESRCH = syscall.Errno(0x3) + ESRMNT = syscall.Errno(0x45) + ESTALE = syscall.Errno(0x97) + ESTRPIPE = syscall.Errno(0x5c) + ETIME = syscall.Errno(0x3e) + ETIMEDOUT = syscall.Errno(0x91) + ETOOMANYREFS = syscall.Errno(0x90) + ETXTBSY = syscall.Errno(0x1a) + EUCLEAN = syscall.Errno(0x87) + EUNATCH = syscall.Errno(0x2a) + EUSERS = syscall.Errno(0x5e) + EWOULDBLOCK = syscall.Errno(0xb) + EXDEV = syscall.Errno(0x12) + EXFULL = syscall.Errno(0x34) +) + +// Signals +const ( + SIGABRT = syscall.Signal(0x6) + SIGALRM = syscall.Signal(0xe) + SIGBUS = syscall.Signal(0xa) + SIGCHLD = syscall.Signal(0x12) + SIGCLD = syscall.Signal(0x12) + SIGCONT = syscall.Signal(0x19) + SIGEMT = syscall.Signal(0x7) + SIGFPE = syscall.Signal(0x8) + SIGHUP = syscall.Signal(0x1) + SIGILL = syscall.Signal(0x4) + SIGINT = syscall.Signal(0x2) + SIGIO = syscall.Signal(0x16) + SIGIOT = syscall.Signal(0x6) + SIGKILL = syscall.Signal(0x9) + SIGPIPE = syscall.Signal(0xd) + SIGPOLL = syscall.Signal(0x16) + SIGPROF = syscall.Signal(0x1d) + SIGPWR = syscall.Signal(0x13) + SIGQUIT = syscall.Signal(0x3) + SIGSEGV = syscall.Signal(0xb) + SIGSTOP = syscall.Signal(0x17) + SIGSYS = syscall.Signal(0xc) + SIGTERM = syscall.Signal(0xf) + SIGTRAP = syscall.Signal(0x5) + SIGTSTP = syscall.Signal(0x18) + SIGTTIN = syscall.Signal(0x1a) + SIGTTOU = syscall.Signal(0x1b) + SIGURG = syscall.Signal(0x15) + SIGUSR1 = syscall.Signal(0x10) + SIGUSR2 = syscall.Signal(0x11) + SIGVTALRM = syscall.Signal(0x1c) + SIGWINCH = syscall.Signal(0x14) + SIGXCPU = syscall.Signal(0x1e) + SIGXFSZ = syscall.Signal(0x1f) +) + +// Error table +var errors = [...]string{ + 1: "operation not permitted", + 2: "no such file or directory", + 3: "no such process", + 4: "interrupted system call", + 5: "input/output error", + 6: "no such device or address", + 7: "argument list too long", + 8: "exec format error", + 9: "bad file descriptor", + 10: "no child processes", + 11: "resource temporarily unavailable", + 12: "cannot allocate memory", + 13: "permission denied", + 14: "bad address", + 15: "block device required", + 16: "device or resource busy", + 17: "file exists", + 18: "invalid cross-device link", + 19: "no such device", + 20: "not a directory", + 21: "is a directory", + 22: "invalid argument", + 23: "too many open files in system", + 24: "too many open files", + 25: "inappropriate ioctl for device", + 26: "text file busy", + 27: "file too large", + 28: "no space left on device", + 29: "illegal seek", + 30: "read-only file system", + 31: "too many links", + 32: "broken pipe", + 33: "numerical argument out of domain", + 34: "numerical result out of range", + 35: "no message of desired type", + 36: "identifier removed", + 37: "channel number out of range", + 38: "level 2 not synchronized", + 39: "level 3 halted", + 40: "level 3 reset", + 41: "link number out of range", + 42: "protocol driver not attached", + 43: "no CSI structure available", + 44: "level 2 halted", + 45: "resource deadlock avoided", + 46: "no locks available", + 50: "invalid exchange", + 51: "invalid request descriptor", + 52: "exchange full", + 53: "no anode", + 54: "invalid request code", + 55: "invalid slot", + 56: "file locking deadlock error", + 59: "bad font file format", + 60: "device not a stream", + 61: "no data available", + 62: "timer expired", + 63: "out of streams resources", + 64: "machine is not on the network", + 65: "package not installed", + 66: "object is remote", + 67: "link has been severed", + 68: "advertise error", + 69: "srmount error", + 70: "communication error on send", + 71: "protocol error", + 73: "RFS specific error", + 74: "multihop attempted", + 77: "bad message", + 78: "file name too long", + 79: "value too large for defined data type", + 80: "name not unique on network", + 81: "file descriptor in bad state", + 82: "remote address changed", + 83: "can not access a needed shared library", + 84: "accessing a corrupted shared library", + 85: ".lib section in a.out corrupted", + 86: "attempting to link in too many shared libraries", + 87: "cannot exec a shared library directly", + 88: "invalid or incomplete multibyte or wide character", + 89: "function not implemented", + 90: "too many levels of symbolic links", + 91: "interrupted system call should be restarted", + 92: "streams pipe error", + 93: "directory not empty", + 94: "too many users", + 95: "socket operation on non-socket", + 96: "destination address required", + 97: "message too long", + 98: "protocol wrong type for socket", + 99: "protocol not available", + 120: "protocol not supported", + 121: "socket type not supported", + 122: "operation not supported", + 123: "protocol family not supported", + 124: "address family not supported by protocol", + 125: "address already in use", + 126: "cannot assign requested address", + 127: "network is down", + 128: "network is unreachable", + 129: "network dropped connection on reset", + 130: "software caused connection abort", + 131: "connection reset by peer", + 132: "no buffer space available", + 133: "transport endpoint is already connected", + 134: "transport endpoint is not connected", + 135: "structure needs cleaning", + 137: "not a XENIX named type file", + 138: "no XENIX semaphores available", + 139: "is a named type file", + 140: "remote I/O error", + 141: "unknown error 141", + 142: "unknown error 142", + 143: "cannot send after transport endpoint shutdown", + 144: "too many references: cannot splice", + 145: "connection timed out", + 146: "connection refused", + 147: "host is down", + 148: "no route to host", + 149: "operation already in progress", + 150: "operation now in progress", + 151: "stale file handle", + 158: "operation canceled", + 159: "no medium found", + 160: "wrong medium type", + 161: "required key not available", + 162: "key has expired", + 163: "key has been revoked", + 164: "key was rejected by service", + 165: "owner died", + 166: "state not recoverable", + 167: "operation not possible due to RF-kill", + 168: "memory page has hardware error", + 1133: "disk quota exceeded", +} + +// Signal table +var signals = [...]string{ + 1: "hangup", + 2: "interrupt", + 3: "quit", + 4: "illegal instruction", + 5: "trace/breakpoint trap", + 6: "aborted", + 7: "EMT trap", + 8: "floating point exception", + 9: "killed", + 10: "bus error", + 11: "segmentation fault", + 12: "bad system call", + 13: "broken pipe", + 14: "alarm clock", + 15: "terminated", + 16: "user defined signal 1", + 17: "user defined signal 2", + 18: "child exited", + 19: "power failure", + 20: "window changed", + 21: "urgent I/O condition", + 22: "I/O possible", + 23: "stopped (signal)", + 24: "stopped", + 25: "continued", + 26: "stopped (tty input)", + 27: "stopped (tty output)", + 28: "virtual timer expired", + 29: "profiling timer expired", + 30: "CPU time limit exceeded", + 31: "file size limit exceeded", +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go index 9d908d7199f..8b42ca2fe9b 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go @@ -150,6 +150,7 @@ const ( B75 = 0x2 B921600 = 0x16 B9600 = 0xd + BOTHER = 0x1f BPF_A = 0x10 BPF_ABS = 0x20 BPF_ADD = 0x0 @@ -193,7 +194,13 @@ const ( BPF_X = 0x8 BPF_XOR = 0xa0 BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x8000 + BSDLY = 0x8000 + CBAUD = 0xff + CBAUDEX = 0x0 CFLUSH = 0xf + CIBAUD = 0xff0000 CLOCAL = 0x8000 CLOCK_BOOTTIME = 0x7 CLOCK_BOOTTIME_ALARM = 0x9 @@ -216,6 +223,7 @@ const ( CLONE_FILES = 0x400 CLONE_FS = 0x200 CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 CLONE_NEWIPC = 0x8000000 CLONE_NEWNET = 0x40000000 CLONE_NEWNS = 0x20000 @@ -232,7 +240,14 @@ const ( CLONE_UNTRACED = 0x800000 CLONE_VFORK = 0x4000 CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x1000 + CR2 = 0x2000 + CR3 = 0x3000 + CRDLY = 0x3000 CREAD = 0x800 + CRTSCTS = 0x80000000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 @@ -369,6 +384,9 @@ const ( EXTPROC = 0x10000000 FD_CLOEXEC = 0x1 FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x4000 + FFDLY = 0x4000 FLUSHO = 0x800000 F_DUPFD = 0x0 F_DUPFD_CLOEXEC = 0x406 @@ -407,6 +425,7 @@ const ( F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x4000 + IBSHIFT = 0x10 ICANON = 0x100 ICMPV6_FILTER = 0x1 ICRNL = 0x100 @@ -635,6 +654,7 @@ const ( IP_XFRM_POLICY = 0x11 ISIG = 0x80 ISTRIP = 0x20 + IUCLC = 0x1000 IUTF8 = 0x4000 IXANY = 0x800 IXOFF = 0x400 @@ -772,10 +792,15 @@ const ( NETLINK_UNUSED = 0x1 NETLINK_USERSOCK = 0x2 NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 + NL2 = 0x200 + NL3 = 0x300 NLA_ALIGNTO = 0x4 NLA_F_NESTED = 0x8000 NLA_F_NET_BYTEORDER = 0x4000 NLA_HDRLEN = 0x4 + NLDLY = 0x300 NLMSG_ALIGNTO = 0x4 NLMSG_DONE = 0x3 NLMSG_ERROR = 0x2 @@ -800,6 +825,7 @@ const ( OCRNL = 0x8 OFDEL = 0x80 OFILL = 0x40 + OLCUC = 0x4 ONLCR = 0x2 ONLRET = 0x20 ONOCR = 0x10 @@ -1398,10 +1424,21 @@ const ( S_IXGRP = 0x8 S_IXOTH = 0x1 S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x400 + TAB2 = 0x800 + TAB3 = 0xc00 + TABDLY = 0xc00 TCFLSH = 0x2000741f + TCGETA = 0x40147417 + TCGETS = 0x402c7413 TCIFLUSH = 0x0 + TCIOFF = 0x2 TCIOFLUSH = 0x2 + TCION = 0x3 TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 TCP_CONGESTION = 0xd TCP_COOKIE_IN_ALWAYS = 0x1 TCP_COOKIE_MAX = 0x10 @@ -1440,6 +1477,15 @@ const ( TCP_USER_TIMEOUT = 0x12 TCP_WINDOW_CLAMP = 0xa TCSAFLUSH = 0x2 + TCSBRK = 0x2000741d + TCSBRKP = 0x5425 + TCSETA = 0x80147418 + TCSETAF = 0x8014741c + TCSETAW = 0x80147419 + TCSETS = 0x802c7414 + TCSETSF = 0x802c7416 + TCSETSW = 0x802c7415 + TCXONC = 0x2000741e TIOCCBRK = 0x5428 TIOCCONS = 0x541d TIOCEXCL = 0x540c @@ -1571,6 +1617,8 @@ const ( WORDSIZE = 0x40 WSTOPPED = 0x2 WUNTRACED = 0x2 + XCASE = 0x4000 + XTABS = 0xc00 ) // Errors diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go index ccf05a27415..e8d12b5d6d4 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go @@ -149,6 +149,7 @@ const ( B75 = 0x2 B921600 = 0x16 B9600 = 0xd + BOTHER = 0x1f BPF_A = 0x10 BPF_ABS = 0x20 BPF_ADD = 0x0 @@ -192,7 +193,13 @@ const ( BPF_X = 0x8 BPF_XOR = 0xa0 BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x8000 + BSDLY = 0x8000 + CBAUD = 0xff + CBAUDEX = 0x0 CFLUSH = 0xf + CIBAUD = 0xff0000 CLOCAL = 0x8000 CLOCK_BOOTTIME = 0x7 CLOCK_BOOTTIME_ALARM = 0x9 @@ -215,6 +222,7 @@ const ( CLONE_FILES = 0x400 CLONE_FS = 0x200 CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 CLONE_NEWIPC = 0x8000000 CLONE_NEWNET = 0x40000000 CLONE_NEWNS = 0x20000 @@ -231,7 +239,14 @@ const ( CLONE_UNTRACED = 0x800000 CLONE_VFORK = 0x4000 CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x1000 + CR2 = 0x2000 + CR3 = 0x3000 + CRDLY = 0x3000 CREAD = 0x800 + CRTSCTS = 0x80000000 CS5 = 0x0 CS6 = 0x100 CS7 = 0x200 @@ -365,6 +380,9 @@ const ( EXTPROC = 0x10000000 FD_CLOEXEC = 0x1 FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x4000 + FFDLY = 0x4000 FLUSHO = 0x800000 F_DUPFD = 0x0 F_DUPFD_CLOEXEC = 0x406 @@ -400,6 +418,7 @@ const ( F_UNLCK = 0x2 F_WRLCK = 0x1 HUPCL = 0x4000 + IBSHIFT = 0x10 ICANON = 0x100 ICMPV6_FILTER = 0x1 ICRNL = 0x100 @@ -643,6 +662,7 @@ const ( IP_XFRM_POLICY = 0x11 ISIG = 0x80 ISTRIP = 0x20 + IUCLC = 0x1000 IUTF8 = 0x4000 IXANY = 0x800 IXOFF = 0x400 @@ -780,10 +800,15 @@ const ( NETLINK_UNUSED = 0x1 NETLINK_USERSOCK = 0x2 NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 + NL2 = 0x200 + NL3 = 0x300 NLA_ALIGNTO = 0x4 NLA_F_NESTED = 0x8000 NLA_F_NET_BYTEORDER = 0x4000 NLA_HDRLEN = 0x4 + NLDLY = 0x300 NLMSG_ALIGNTO = 0x4 NLMSG_DONE = 0x3 NLMSG_ERROR = 0x2 @@ -808,6 +833,7 @@ const ( OCRNL = 0x8 OFDEL = 0x80 OFILL = 0x40 + OLCUC = 0x4 ONLCR = 0x2 ONLRET = 0x20 ONOCR = 0x10 @@ -1397,10 +1423,21 @@ const ( S_IXGRP = 0x8 S_IXOTH = 0x1 S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x400 + TAB2 = 0x800 + TAB3 = 0xc00 + TABDLY = 0xc00 TCFLSH = 0x2000741f + TCGETA = 0x40147417 + TCGETS = 0x402c7413 TCIFLUSH = 0x0 + TCIOFF = 0x2 TCIOFLUSH = 0x2 + TCION = 0x3 TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 TCP_CONGESTION = 0xd TCP_COOKIE_IN_ALWAYS = 0x1 TCP_COOKIE_MAX = 0x10 @@ -1439,6 +1476,15 @@ const ( TCP_USER_TIMEOUT = 0x12 TCP_WINDOW_CLAMP = 0xa TCSAFLUSH = 0x2 + TCSBRK = 0x2000741d + TCSBRKP = 0x5425 + TCSETA = 0x80147418 + TCSETAF = 0x8014741c + TCSETAW = 0x80147419 + TCSETS = 0x802c7414 + TCSETSF = 0x802c7416 + TCSETSW = 0x802c7415 + TCXONC = 0x2000741e TIOCCBRK = 0x5428 TIOCCONS = 0x541d TIOCEXCL = 0x540c @@ -1570,6 +1616,8 @@ const ( WORDSIZE = 0x40 WSTOPPED = 0x2 WUNTRACED = 0x2 + XCASE = 0x4000 + XTABS = 0xc00 ) // Errors diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go new file mode 100644 index 00000000000..329f25e7cf6 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go @@ -0,0 +1,2027 @@ +// mkerrors.sh -m64 +// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT + +// +build s390x,linux + +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs -- -m64 _const.go + +package unix + +import "syscall" + +const ( + AF_ALG = 0x26 + AF_APPLETALK = 0x5 + AF_ASH = 0x12 + AF_ATMPVC = 0x8 + AF_ATMSVC = 0x14 + AF_AX25 = 0x3 + AF_BLUETOOTH = 0x1f + AF_BRIDGE = 0x7 + AF_CAIF = 0x25 + AF_CAN = 0x1d + AF_DECnet = 0xc + AF_ECONET = 0x13 + AF_FILE = 0x1 + AF_IB = 0x1b + AF_IEEE802154 = 0x24 + AF_INET = 0x2 + AF_INET6 = 0xa + AF_IPX = 0x4 + AF_IRDA = 0x17 + AF_ISDN = 0x22 + AF_IUCV = 0x20 + AF_KEY = 0xf + AF_LLC = 0x1a + AF_LOCAL = 0x1 + AF_MAX = 0x29 + AF_MPLS = 0x1c + AF_NETBEUI = 0xd + AF_NETLINK = 0x10 + AF_NETROM = 0x6 + AF_NFC = 0x27 + AF_PACKET = 0x11 + AF_PHONET = 0x23 + AF_PPPOX = 0x18 + AF_RDS = 0x15 + AF_ROSE = 0xb + AF_ROUTE = 0x10 + AF_RXRPC = 0x21 + AF_SECURITY = 0xe + AF_SNA = 0x16 + AF_TIPC = 0x1e + AF_UNIX = 0x1 + AF_UNSPEC = 0x0 + AF_VSOCK = 0x28 + AF_WANPIPE = 0x19 + AF_X25 = 0x9 + ARPHRD_6LOWPAN = 0x339 + ARPHRD_ADAPT = 0x108 + ARPHRD_APPLETLK = 0x8 + ARPHRD_ARCNET = 0x7 + ARPHRD_ASH = 0x30d + ARPHRD_ATM = 0x13 + ARPHRD_AX25 = 0x3 + ARPHRD_BIF = 0x307 + ARPHRD_CAIF = 0x336 + ARPHRD_CAN = 0x118 + ARPHRD_CHAOS = 0x5 + ARPHRD_CISCO = 0x201 + ARPHRD_CSLIP = 0x101 + ARPHRD_CSLIP6 = 0x103 + ARPHRD_DDCMP = 0x205 + ARPHRD_DLCI = 0xf + ARPHRD_ECONET = 0x30e + ARPHRD_EETHER = 0x2 + ARPHRD_ETHER = 0x1 + ARPHRD_EUI64 = 0x1b + ARPHRD_FCAL = 0x311 + ARPHRD_FCFABRIC = 0x313 + ARPHRD_FCPL = 0x312 + ARPHRD_FCPP = 0x310 + ARPHRD_FDDI = 0x306 + ARPHRD_FRAD = 0x302 + ARPHRD_HDLC = 0x201 + ARPHRD_HIPPI = 0x30c + ARPHRD_HWX25 = 0x110 + ARPHRD_IEEE1394 = 0x18 + ARPHRD_IEEE802 = 0x6 + ARPHRD_IEEE80211 = 0x321 + ARPHRD_IEEE80211_PRISM = 0x322 + ARPHRD_IEEE80211_RADIOTAP = 0x323 + ARPHRD_IEEE802154 = 0x324 + ARPHRD_IEEE802154_MONITOR = 0x325 + ARPHRD_IEEE802_TR = 0x320 + ARPHRD_INFINIBAND = 0x20 + ARPHRD_IP6GRE = 0x337 + ARPHRD_IPDDP = 0x309 + ARPHRD_IPGRE = 0x30a + ARPHRD_IRDA = 0x30f + ARPHRD_LAPB = 0x204 + ARPHRD_LOCALTLK = 0x305 + ARPHRD_LOOPBACK = 0x304 + ARPHRD_METRICOM = 0x17 + ARPHRD_NETLINK = 0x338 + ARPHRD_NETROM = 0x0 + ARPHRD_NONE = 0xfffe + ARPHRD_PHONET = 0x334 + ARPHRD_PHONET_PIPE = 0x335 + ARPHRD_PIMREG = 0x30b + ARPHRD_PPP = 0x200 + ARPHRD_PRONET = 0x4 + ARPHRD_RAWHDLC = 0x206 + ARPHRD_ROSE = 0x10e + ARPHRD_RSRVD = 0x104 + ARPHRD_SIT = 0x308 + ARPHRD_SKIP = 0x303 + ARPHRD_SLIP = 0x100 + ARPHRD_SLIP6 = 0x102 + ARPHRD_TUNNEL = 0x300 + ARPHRD_TUNNEL6 = 0x301 + ARPHRD_VOID = 0xffff + ARPHRD_X25 = 0x10f + B0 = 0x0 + B1000000 = 0x1008 + B110 = 0x3 + B115200 = 0x1002 + B1152000 = 0x1009 + B1200 = 0x9 + B134 = 0x4 + B150 = 0x5 + B1500000 = 0x100a + B1800 = 0xa + B19200 = 0xe + B200 = 0x6 + B2000000 = 0x100b + B230400 = 0x1003 + B2400 = 0xb + B2500000 = 0x100c + B300 = 0x7 + B3000000 = 0x100d + B3500000 = 0x100e + B38400 = 0xf + B4000000 = 0x100f + B460800 = 0x1004 + B4800 = 0xc + B50 = 0x1 + B500000 = 0x1005 + B57600 = 0x1001 + B576000 = 0x1006 + B600 = 0x8 + B75 = 0x2 + B921600 = 0x1007 + B9600 = 0xd + BOTHER = 0x1000 + BPF_A = 0x10 + BPF_ABS = 0x20 + BPF_ADD = 0x0 + BPF_ALU = 0x4 + BPF_AND = 0x50 + BPF_B = 0x10 + BPF_DIV = 0x30 + BPF_H = 0x8 + BPF_IMM = 0x0 + BPF_IND = 0x40 + BPF_JA = 0x0 + BPF_JEQ = 0x10 + BPF_JGE = 0x30 + BPF_JGT = 0x20 + BPF_JMP = 0x5 + BPF_JSET = 0x40 + BPF_K = 0x0 + BPF_LD = 0x0 + BPF_LDX = 0x1 + BPF_LEN = 0x80 + BPF_LL_OFF = -0x200000 + BPF_LSH = 0x60 + BPF_MAJOR_VERSION = 0x1 + BPF_MAXINSNS = 0x1000 + BPF_MEM = 0x60 + BPF_MEMWORDS = 0x10 + BPF_MINOR_VERSION = 0x1 + BPF_MISC = 0x7 + BPF_MOD = 0x90 + BPF_MSH = 0xa0 + BPF_MUL = 0x20 + BPF_NEG = 0x80 + BPF_NET_OFF = -0x100000 + BPF_OR = 0x40 + BPF_RET = 0x6 + BPF_RSH = 0x70 + BPF_ST = 0x2 + BPF_STX = 0x3 + BPF_SUB = 0x10 + BPF_TAX = 0x0 + BPF_TXA = 0x80 + BPF_W = 0x0 + BPF_X = 0x8 + BPF_XOR = 0xa0 + BRKINT = 0x2 + BS0 = 0x0 + BS1 = 0x2000 + BSDLY = 0x2000 + CBAUD = 0x100f + CBAUDEX = 0x1000 + CFLUSH = 0xf + CIBAUD = 0x100f0000 + CLOCAL = 0x800 + CLOCK_BOOTTIME = 0x7 + CLOCK_BOOTTIME_ALARM = 0x9 + CLOCK_DEFAULT = 0x0 + CLOCK_EXT = 0x1 + CLOCK_INT = 0x2 + CLOCK_MONOTONIC = 0x1 + CLOCK_MONOTONIC_COARSE = 0x6 + CLOCK_MONOTONIC_RAW = 0x4 + CLOCK_PROCESS_CPUTIME_ID = 0x2 + CLOCK_REALTIME = 0x0 + CLOCK_REALTIME_ALARM = 0x8 + CLOCK_REALTIME_COARSE = 0x5 + CLOCK_TAI = 0xb + CLOCK_THREAD_CPUTIME_ID = 0x3 + CLOCK_TXFROMRX = 0x4 + CLOCK_TXINT = 0x3 + CLONE_CHILD_CLEARTID = 0x200000 + CLONE_CHILD_SETTID = 0x1000000 + CLONE_DETACHED = 0x400000 + CLONE_FILES = 0x400 + CLONE_FS = 0x200 + CLONE_IO = 0x80000000 + CLONE_NEWCGROUP = 0x2000000 + CLONE_NEWIPC = 0x8000000 + CLONE_NEWNET = 0x40000000 + CLONE_NEWNS = 0x20000 + CLONE_NEWPID = 0x20000000 + CLONE_NEWUSER = 0x10000000 + CLONE_NEWUTS = 0x4000000 + CLONE_PARENT = 0x8000 + CLONE_PARENT_SETTID = 0x100000 + CLONE_PTRACE = 0x2000 + CLONE_SETTLS = 0x80000 + CLONE_SIGHAND = 0x800 + CLONE_SYSVSEM = 0x40000 + CLONE_THREAD = 0x10000 + CLONE_UNTRACED = 0x800000 + CLONE_VFORK = 0x4000 + CLONE_VM = 0x100 + CMSPAR = 0x40000000 + CR0 = 0x0 + CR1 = 0x200 + CR2 = 0x400 + CR3 = 0x600 + CRDLY = 0x600 + CREAD = 0x80 + CRTSCTS = 0x80000000 + CS5 = 0x0 + CS6 = 0x10 + CS7 = 0x20 + CS8 = 0x30 + CSIGNAL = 0xff + CSIZE = 0x30 + CSTART = 0x11 + CSTATUS = 0x0 + CSTOP = 0x13 + CSTOPB = 0x40 + CSUSP = 0x1a + DT_BLK = 0x6 + DT_CHR = 0x2 + DT_DIR = 0x4 + DT_FIFO = 0x1 + DT_LNK = 0xa + DT_REG = 0x8 + DT_SOCK = 0xc + DT_UNKNOWN = 0x0 + DT_WHT = 0xe + ECHO = 0x8 + ECHOCTL = 0x200 + ECHOE = 0x10 + ECHOK = 0x20 + ECHOKE = 0x800 + ECHONL = 0x40 + ECHOPRT = 0x400 + ENCODING_DEFAULT = 0x0 + ENCODING_FM_MARK = 0x3 + ENCODING_FM_SPACE = 0x4 + ENCODING_MANCHESTER = 0x5 + ENCODING_NRZ = 0x1 + ENCODING_NRZI = 0x2 + EPOLLERR = 0x8 + EPOLLET = 0x80000000 + EPOLLHUP = 0x10 + EPOLLIN = 0x1 + EPOLLMSG = 0x400 + EPOLLONESHOT = 0x40000000 + EPOLLOUT = 0x4 + EPOLLPRI = 0x2 + EPOLLRDBAND = 0x80 + EPOLLRDHUP = 0x2000 + EPOLLRDNORM = 0x40 + EPOLLWAKEUP = 0x20000000 + EPOLLWRBAND = 0x200 + EPOLLWRNORM = 0x100 + EPOLL_CLOEXEC = 0x80000 + EPOLL_CTL_ADD = 0x1 + EPOLL_CTL_DEL = 0x2 + EPOLL_CTL_MOD = 0x3 + ETH_P_1588 = 0x88f7 + ETH_P_8021AD = 0x88a8 + ETH_P_8021AH = 0x88e7 + ETH_P_8021Q = 0x8100 + ETH_P_80221 = 0x8917 + ETH_P_802_2 = 0x4 + ETH_P_802_3 = 0x1 + ETH_P_802_3_MIN = 0x600 + ETH_P_802_EX1 = 0x88b5 + ETH_P_AARP = 0x80f3 + ETH_P_AF_IUCV = 0xfbfb + ETH_P_ALL = 0x3 + ETH_P_AOE = 0x88a2 + ETH_P_ARCNET = 0x1a + ETH_P_ARP = 0x806 + ETH_P_ATALK = 0x809b + ETH_P_ATMFATE = 0x8884 + ETH_P_ATMMPOA = 0x884c + ETH_P_AX25 = 0x2 + ETH_P_BATMAN = 0x4305 + ETH_P_BPQ = 0x8ff + ETH_P_CAIF = 0xf7 + ETH_P_CAN = 0xc + ETH_P_CANFD = 0xd + ETH_P_CONTROL = 0x16 + ETH_P_CUST = 0x6006 + ETH_P_DDCMP = 0x6 + ETH_P_DEC = 0x6000 + ETH_P_DIAG = 0x6005 + ETH_P_DNA_DL = 0x6001 + ETH_P_DNA_RC = 0x6002 + ETH_P_DNA_RT = 0x6003 + ETH_P_DSA = 0x1b + ETH_P_ECONET = 0x18 + ETH_P_EDSA = 0xdada + ETH_P_FCOE = 0x8906 + ETH_P_FIP = 0x8914 + ETH_P_HDLC = 0x19 + ETH_P_IEEE802154 = 0xf6 + ETH_P_IEEEPUP = 0xa00 + ETH_P_IEEEPUPAT = 0xa01 + ETH_P_IP = 0x800 + ETH_P_IPV6 = 0x86dd + ETH_P_IPX = 0x8137 + ETH_P_IRDA = 0x17 + ETH_P_LAT = 0x6004 + ETH_P_LINK_CTL = 0x886c + ETH_P_LOCALTALK = 0x9 + ETH_P_LOOP = 0x60 + ETH_P_LOOPBACK = 0x9000 + ETH_P_MOBITEX = 0x15 + ETH_P_MPLS_MC = 0x8848 + ETH_P_MPLS_UC = 0x8847 + ETH_P_MVRP = 0x88f5 + ETH_P_PAE = 0x888e + ETH_P_PAUSE = 0x8808 + ETH_P_PHONET = 0xf5 + ETH_P_PPPTALK = 0x10 + ETH_P_PPP_DISC = 0x8863 + ETH_P_PPP_MP = 0x8 + ETH_P_PPP_SES = 0x8864 + ETH_P_PRP = 0x88fb + ETH_P_PUP = 0x200 + ETH_P_PUPAT = 0x201 + ETH_P_QINQ1 = 0x9100 + ETH_P_QINQ2 = 0x9200 + ETH_P_QINQ3 = 0x9300 + ETH_P_RARP = 0x8035 + ETH_P_SCA = 0x6007 + ETH_P_SLOW = 0x8809 + ETH_P_SNAP = 0x5 + ETH_P_TDLS = 0x890d + ETH_P_TEB = 0x6558 + ETH_P_TIPC = 0x88ca + ETH_P_TRAILER = 0x1c + ETH_P_TR_802_2 = 0x11 + ETH_P_TSN = 0x22f0 + ETH_P_WAN_PPP = 0x7 + ETH_P_WCCP = 0x883e + ETH_P_X25 = 0x805 + ETH_P_XDSA = 0xf8 + EXTA = 0xe + EXTB = 0xf + EXTPROC = 0x10000 + FD_CLOEXEC = 0x1 + FD_SETSIZE = 0x400 + FF0 = 0x0 + FF1 = 0x8000 + FFDLY = 0x8000 + FLUSHO = 0x1000 + F_DUPFD = 0x0 + F_DUPFD_CLOEXEC = 0x406 + F_EXLCK = 0x4 + F_GETFD = 0x1 + F_GETFL = 0x3 + F_GETLEASE = 0x401 + F_GETLK = 0x5 + F_GETLK64 = 0x5 + F_GETOWN = 0x9 + F_GETOWN_EX = 0x10 + F_GETPIPE_SZ = 0x408 + F_GETSIG = 0xb + F_LOCK = 0x1 + F_NOTIFY = 0x402 + F_OFD_GETLK = 0x24 + F_OFD_SETLK = 0x25 + F_OFD_SETLKW = 0x26 + F_OK = 0x0 + F_RDLCK = 0x0 + F_SETFD = 0x2 + F_SETFL = 0x4 + F_SETLEASE = 0x400 + F_SETLK = 0x6 + F_SETLK64 = 0x6 + F_SETLKW = 0x7 + F_SETLKW64 = 0x7 + F_SETOWN = 0x8 + F_SETOWN_EX = 0xf + F_SETPIPE_SZ = 0x407 + F_SETSIG = 0xa + F_SHLCK = 0x8 + F_TEST = 0x3 + F_TLOCK = 0x2 + F_ULOCK = 0x0 + F_UNLCK = 0x2 + F_WRLCK = 0x1 + HUPCL = 0x400 + IBSHIFT = 0x10 + ICANON = 0x2 + ICMPV6_FILTER = 0x1 + ICRNL = 0x100 + IEXTEN = 0x8000 + IFA_F_DADFAILED = 0x8 + IFA_F_DEPRECATED = 0x20 + IFA_F_HOMEADDRESS = 0x10 + IFA_F_MANAGETEMPADDR = 0x100 + IFA_F_MCAUTOJOIN = 0x400 + IFA_F_NODAD = 0x2 + IFA_F_NOPREFIXROUTE = 0x200 + IFA_F_OPTIMISTIC = 0x4 + IFA_F_PERMANENT = 0x80 + IFA_F_SECONDARY = 0x1 + IFA_F_STABLE_PRIVACY = 0x800 + IFA_F_TEMPORARY = 0x1 + IFA_F_TENTATIVE = 0x40 + IFA_MAX = 0x8 + IFF_ALLMULTI = 0x200 + IFF_ATTACH_QUEUE = 0x200 + IFF_AUTOMEDIA = 0x4000 + IFF_BROADCAST = 0x2 + IFF_DEBUG = 0x4 + IFF_DETACH_QUEUE = 0x400 + IFF_DORMANT = 0x20000 + IFF_DYNAMIC = 0x8000 + IFF_ECHO = 0x40000 + IFF_LOOPBACK = 0x8 + IFF_LOWER_UP = 0x10000 + IFF_MASTER = 0x400 + IFF_MULTICAST = 0x1000 + IFF_MULTI_QUEUE = 0x100 + IFF_NOARP = 0x80 + IFF_NOFILTER = 0x1000 + IFF_NOTRAILERS = 0x20 + IFF_NO_PI = 0x1000 + IFF_ONE_QUEUE = 0x2000 + IFF_PERSIST = 0x800 + IFF_POINTOPOINT = 0x10 + IFF_PORTSEL = 0x2000 + IFF_PROMISC = 0x100 + IFF_RUNNING = 0x40 + IFF_SLAVE = 0x800 + IFF_TAP = 0x2 + IFF_TUN = 0x1 + IFF_TUN_EXCL = 0x8000 + IFF_UP = 0x1 + IFF_VNET_HDR = 0x4000 + IFF_VOLATILE = 0x70c5a + IFNAMSIZ = 0x10 + IGNBRK = 0x1 + IGNCR = 0x80 + IGNPAR = 0x4 + IMAXBEL = 0x2000 + INLCR = 0x40 + INPCK = 0x10 + IN_ACCESS = 0x1 + IN_ALL_EVENTS = 0xfff + IN_ATTRIB = 0x4 + IN_CLASSA_HOST = 0xffffff + IN_CLASSA_MAX = 0x80 + IN_CLASSA_NET = 0xff000000 + IN_CLASSA_NSHIFT = 0x18 + IN_CLASSB_HOST = 0xffff + IN_CLASSB_MAX = 0x10000 + IN_CLASSB_NET = 0xffff0000 + IN_CLASSB_NSHIFT = 0x10 + IN_CLASSC_HOST = 0xff + IN_CLASSC_NET = 0xffffff00 + IN_CLASSC_NSHIFT = 0x8 + IN_CLOEXEC = 0x80000 + IN_CLOSE = 0x18 + IN_CLOSE_NOWRITE = 0x10 + IN_CLOSE_WRITE = 0x8 + IN_CREATE = 0x100 + IN_DELETE = 0x200 + IN_DELETE_SELF = 0x400 + IN_DONT_FOLLOW = 0x2000000 + IN_EXCL_UNLINK = 0x4000000 + IN_IGNORED = 0x8000 + IN_ISDIR = 0x40000000 + IN_LOOPBACKNET = 0x7f + IN_MASK_ADD = 0x20000000 + IN_MODIFY = 0x2 + IN_MOVE = 0xc0 + IN_MOVED_FROM = 0x40 + IN_MOVED_TO = 0x80 + IN_MOVE_SELF = 0x800 + IN_NONBLOCK = 0x800 + IN_ONESHOT = 0x80000000 + IN_ONLYDIR = 0x1000000 + IN_OPEN = 0x20 + IN_Q_OVERFLOW = 0x4000 + IN_UNMOUNT = 0x2000 + IPPROTO_AH = 0x33 + IPPROTO_BEETPH = 0x5e + IPPROTO_COMP = 0x6c + IPPROTO_DCCP = 0x21 + IPPROTO_DSTOPTS = 0x3c + IPPROTO_EGP = 0x8 + IPPROTO_ENCAP = 0x62 + IPPROTO_ESP = 0x32 + IPPROTO_FRAGMENT = 0x2c + IPPROTO_GRE = 0x2f + IPPROTO_HOPOPTS = 0x0 + IPPROTO_ICMP = 0x1 + IPPROTO_ICMPV6 = 0x3a + IPPROTO_IDP = 0x16 + IPPROTO_IGMP = 0x2 + IPPROTO_IP = 0x0 + IPPROTO_IPIP = 0x4 + IPPROTO_IPV6 = 0x29 + IPPROTO_MH = 0x87 + IPPROTO_MPLS = 0x89 + IPPROTO_MTP = 0x5c + IPPROTO_NONE = 0x3b + IPPROTO_PIM = 0x67 + IPPROTO_PUP = 0xc + IPPROTO_RAW = 0xff + IPPROTO_ROUTING = 0x2b + IPPROTO_RSVP = 0x2e + IPPROTO_SCTP = 0x84 + IPPROTO_TCP = 0x6 + IPPROTO_TP = 0x1d + IPPROTO_UDP = 0x11 + IPPROTO_UDPLITE = 0x88 + IPV6_2292DSTOPTS = 0x4 + IPV6_2292HOPLIMIT = 0x8 + IPV6_2292HOPOPTS = 0x3 + IPV6_2292PKTINFO = 0x2 + IPV6_2292PKTOPTIONS = 0x6 + IPV6_2292RTHDR = 0x5 + IPV6_ADDRFORM = 0x1 + IPV6_ADD_MEMBERSHIP = 0x14 + IPV6_AUTHHDR = 0xa + IPV6_CHECKSUM = 0x7 + IPV6_DONTFRAG = 0x3e + IPV6_DROP_MEMBERSHIP = 0x15 + IPV6_DSTOPTS = 0x3b + IPV6_HOPLIMIT = 0x34 + IPV6_HOPOPTS = 0x36 + IPV6_IPSEC_POLICY = 0x22 + IPV6_JOIN_ANYCAST = 0x1b + IPV6_JOIN_GROUP = 0x14 + IPV6_LEAVE_ANYCAST = 0x1c + IPV6_LEAVE_GROUP = 0x15 + IPV6_MTU = 0x18 + IPV6_MTU_DISCOVER = 0x17 + IPV6_MULTICAST_HOPS = 0x12 + IPV6_MULTICAST_IF = 0x11 + IPV6_MULTICAST_LOOP = 0x13 + IPV6_NEXTHOP = 0x9 + IPV6_PATHMTU = 0x3d + IPV6_PKTINFO = 0x32 + IPV6_PMTUDISC_DO = 0x2 + IPV6_PMTUDISC_DONT = 0x0 + IPV6_PMTUDISC_INTERFACE = 0x4 + IPV6_PMTUDISC_OMIT = 0x5 + IPV6_PMTUDISC_PROBE = 0x3 + IPV6_PMTUDISC_WANT = 0x1 + IPV6_RECVDSTOPTS = 0x3a + IPV6_RECVERR = 0x19 + IPV6_RECVHOPLIMIT = 0x33 + IPV6_RECVHOPOPTS = 0x35 + IPV6_RECVPATHMTU = 0x3c + IPV6_RECVPKTINFO = 0x31 + IPV6_RECVRTHDR = 0x38 + IPV6_RECVTCLASS = 0x42 + IPV6_ROUTER_ALERT = 0x16 + IPV6_RTHDR = 0x39 + IPV6_RTHDRDSTOPTS = 0x37 + IPV6_RTHDR_LOOSE = 0x0 + IPV6_RTHDR_STRICT = 0x1 + IPV6_RTHDR_TYPE_0 = 0x0 + IPV6_RXDSTOPTS = 0x3b + IPV6_RXHOPOPTS = 0x36 + IPV6_TCLASS = 0x43 + IPV6_UNICAST_HOPS = 0x10 + IPV6_V6ONLY = 0x1a + IPV6_XFRM_POLICY = 0x23 + IP_ADD_MEMBERSHIP = 0x23 + IP_ADD_SOURCE_MEMBERSHIP = 0x27 + IP_BIND_ADDRESS_NO_PORT = 0x18 + IP_BLOCK_SOURCE = 0x26 + IP_CHECKSUM = 0x17 + IP_DEFAULT_MULTICAST_LOOP = 0x1 + IP_DEFAULT_MULTICAST_TTL = 0x1 + IP_DF = 0x4000 + IP_DROP_MEMBERSHIP = 0x24 + IP_DROP_SOURCE_MEMBERSHIP = 0x28 + IP_FREEBIND = 0xf + IP_HDRINCL = 0x3 + IP_IPSEC_POLICY = 0x10 + IP_MAXPACKET = 0xffff + IP_MAX_MEMBERSHIPS = 0x14 + IP_MF = 0x2000 + IP_MINTTL = 0x15 + IP_MSFILTER = 0x29 + IP_MSS = 0x240 + IP_MTU = 0xe + IP_MTU_DISCOVER = 0xa + IP_MULTICAST_ALL = 0x31 + IP_MULTICAST_IF = 0x20 + IP_MULTICAST_LOOP = 0x22 + IP_MULTICAST_TTL = 0x21 + IP_NODEFRAG = 0x16 + IP_OFFMASK = 0x1fff + IP_OPTIONS = 0x4 + IP_ORIGDSTADDR = 0x14 + IP_PASSSEC = 0x12 + IP_PKTINFO = 0x8 + IP_PKTOPTIONS = 0x9 + IP_PMTUDISC = 0xa + IP_PMTUDISC_DO = 0x2 + IP_PMTUDISC_DONT = 0x0 + IP_PMTUDISC_INTERFACE = 0x4 + IP_PMTUDISC_OMIT = 0x5 + IP_PMTUDISC_PROBE = 0x3 + IP_PMTUDISC_WANT = 0x1 + IP_RECVERR = 0xb + IP_RECVOPTS = 0x6 + IP_RECVORIGDSTADDR = 0x14 + IP_RECVRETOPTS = 0x7 + IP_RECVTOS = 0xd + IP_RECVTTL = 0xc + IP_RETOPTS = 0x7 + IP_RF = 0x8000 + IP_ROUTER_ALERT = 0x5 + IP_TOS = 0x1 + IP_TRANSPARENT = 0x13 + IP_TTL = 0x2 + IP_UNBLOCK_SOURCE = 0x25 + IP_UNICAST_IF = 0x32 + IP_XFRM_POLICY = 0x11 + ISIG = 0x1 + ISTRIP = 0x20 + IUCLC = 0x200 + IUTF8 = 0x4000 + IXANY = 0x800 + IXOFF = 0x1000 + IXON = 0x400 + LINUX_REBOOT_CMD_CAD_OFF = 0x0 + LINUX_REBOOT_CMD_CAD_ON = 0x89abcdef + LINUX_REBOOT_CMD_HALT = 0xcdef0123 + LINUX_REBOOT_CMD_KEXEC = 0x45584543 + LINUX_REBOOT_CMD_POWER_OFF = 0x4321fedc + LINUX_REBOOT_CMD_RESTART = 0x1234567 + LINUX_REBOOT_CMD_RESTART2 = 0xa1b2c3d4 + LINUX_REBOOT_CMD_SW_SUSPEND = 0xd000fce2 + LINUX_REBOOT_MAGIC1 = 0xfee1dead + LINUX_REBOOT_MAGIC2 = 0x28121969 + LOCK_EX = 0x2 + LOCK_NB = 0x4 + LOCK_SH = 0x1 + LOCK_UN = 0x8 + MADV_DODUMP = 0x11 + MADV_DOFORK = 0xb + MADV_DONTDUMP = 0x10 + MADV_DONTFORK = 0xa + MADV_DONTNEED = 0x4 + MADV_HUGEPAGE = 0xe + MADV_HWPOISON = 0x64 + MADV_MERGEABLE = 0xc + MADV_NOHUGEPAGE = 0xf + MADV_NORMAL = 0x0 + MADV_RANDOM = 0x1 + MADV_REMOVE = 0x9 + MADV_SEQUENTIAL = 0x2 + MADV_UNMERGEABLE = 0xd + MADV_WILLNEED = 0x3 + MAP_ANON = 0x20 + MAP_ANONYMOUS = 0x20 + MAP_DENYWRITE = 0x800 + MAP_EXECUTABLE = 0x1000 + MAP_FILE = 0x0 + MAP_FIXED = 0x10 + MAP_GROWSDOWN = 0x100 + MAP_HUGETLB = 0x40000 + MAP_HUGE_MASK = 0x3f + MAP_HUGE_SHIFT = 0x1a + MAP_LOCKED = 0x2000 + MAP_NONBLOCK = 0x10000 + MAP_NORESERVE = 0x4000 + MAP_POPULATE = 0x8000 + MAP_PRIVATE = 0x2 + MAP_SHARED = 0x1 + MAP_STACK = 0x20000 + MAP_TYPE = 0xf + MCL_CURRENT = 0x1 + MCL_FUTURE = 0x2 + MCL_ONFAULT = 0x4 + MNT_DETACH = 0x2 + MNT_EXPIRE = 0x4 + MNT_FORCE = 0x1 + MSG_CMSG_CLOEXEC = 0x40000000 + MSG_CONFIRM = 0x800 + MSG_CTRUNC = 0x8 + MSG_DONTROUTE = 0x4 + MSG_DONTWAIT = 0x40 + MSG_EOR = 0x80 + MSG_ERRQUEUE = 0x2000 + MSG_FASTOPEN = 0x20000000 + MSG_FIN = 0x200 + MSG_MORE = 0x8000 + MSG_NOSIGNAL = 0x4000 + MSG_OOB = 0x1 + MSG_PEEK = 0x2 + MSG_PROXY = 0x10 + MSG_RST = 0x1000 + MSG_SYN = 0x400 + MSG_TRUNC = 0x20 + MSG_TRYHARD = 0x4 + MSG_WAITALL = 0x100 + MSG_WAITFORONE = 0x10000 + MS_ACTIVE = 0x40000000 + MS_ASYNC = 0x1 + MS_BIND = 0x1000 + MS_DIRSYNC = 0x80 + MS_INVALIDATE = 0x2 + MS_I_VERSION = 0x800000 + MS_KERNMOUNT = 0x400000 + MS_LAZYTIME = 0x2000000 + MS_MANDLOCK = 0x40 + MS_MGC_MSK = 0xffff0000 + MS_MGC_VAL = 0xc0ed0000 + MS_MOVE = 0x2000 + MS_NOATIME = 0x400 + MS_NODEV = 0x4 + MS_NODIRATIME = 0x800 + MS_NOEXEC = 0x8 + MS_NOSUID = 0x2 + MS_NOUSER = -0x80000000 + MS_POSIXACL = 0x10000 + MS_PRIVATE = 0x40000 + MS_RDONLY = 0x1 + MS_REC = 0x4000 + MS_RELATIME = 0x200000 + MS_REMOUNT = 0x20 + MS_RMT_MASK = 0x2800051 + MS_SHARED = 0x100000 + MS_SILENT = 0x8000 + MS_SLAVE = 0x80000 + MS_STRICTATIME = 0x1000000 + MS_SYNC = 0x4 + MS_SYNCHRONOUS = 0x10 + MS_UNBINDABLE = 0x20000 + NAME_MAX = 0xff + NETLINK_ADD_MEMBERSHIP = 0x1 + NETLINK_AUDIT = 0x9 + NETLINK_BROADCAST_ERROR = 0x4 + NETLINK_CAP_ACK = 0xa + NETLINK_CONNECTOR = 0xb + NETLINK_CRYPTO = 0x15 + NETLINK_DNRTMSG = 0xe + NETLINK_DROP_MEMBERSHIP = 0x2 + NETLINK_ECRYPTFS = 0x13 + NETLINK_FIB_LOOKUP = 0xa + NETLINK_FIREWALL = 0x3 + NETLINK_GENERIC = 0x10 + NETLINK_INET_DIAG = 0x4 + NETLINK_IP6_FW = 0xd + NETLINK_ISCSI = 0x8 + NETLINK_KOBJECT_UEVENT = 0xf + NETLINK_LISTEN_ALL_NSID = 0x8 + NETLINK_LIST_MEMBERSHIPS = 0x9 + NETLINK_NETFILTER = 0xc + NETLINK_NFLOG = 0x5 + NETLINK_NO_ENOBUFS = 0x5 + NETLINK_PKTINFO = 0x3 + NETLINK_RDMA = 0x14 + NETLINK_ROUTE = 0x0 + NETLINK_RX_RING = 0x6 + NETLINK_SCSITRANSPORT = 0x12 + NETLINK_SELINUX = 0x7 + NETLINK_SOCK_DIAG = 0x4 + NETLINK_TX_RING = 0x7 + NETLINK_UNUSED = 0x1 + NETLINK_USERSOCK = 0x2 + NETLINK_XFRM = 0x6 + NL0 = 0x0 + NL1 = 0x100 + NLA_ALIGNTO = 0x4 + NLA_F_NESTED = 0x8000 + NLA_F_NET_BYTEORDER = 0x4000 + NLA_HDRLEN = 0x4 + NLDLY = 0x100 + NLMSG_ALIGNTO = 0x4 + NLMSG_DONE = 0x3 + NLMSG_ERROR = 0x2 + NLMSG_HDRLEN = 0x10 + NLMSG_MIN_TYPE = 0x10 + NLMSG_NOOP = 0x1 + NLMSG_OVERRUN = 0x4 + NLM_F_ACK = 0x4 + NLM_F_APPEND = 0x800 + NLM_F_ATOMIC = 0x400 + NLM_F_CREATE = 0x400 + NLM_F_DUMP = 0x300 + NLM_F_DUMP_FILTERED = 0x20 + NLM_F_DUMP_INTR = 0x10 + NLM_F_ECHO = 0x8 + NLM_F_EXCL = 0x200 + NLM_F_MATCH = 0x200 + NLM_F_MULTI = 0x2 + NLM_F_REPLACE = 0x100 + NLM_F_REQUEST = 0x1 + NLM_F_ROOT = 0x100 + NOFLSH = 0x80 + OCRNL = 0x8 + OFDEL = 0x80 + OFILL = 0x40 + OLCUC = 0x2 + ONLCR = 0x4 + ONLRET = 0x20 + ONOCR = 0x10 + OPOST = 0x1 + O_ACCMODE = 0x3 + O_APPEND = 0x400 + O_ASYNC = 0x2000 + O_CLOEXEC = 0x80000 + O_CREAT = 0x40 + O_DIRECT = 0x4000 + O_DIRECTORY = 0x10000 + O_DSYNC = 0x1000 + O_EXCL = 0x80 + O_FSYNC = 0x101000 + O_LARGEFILE = 0x0 + O_NDELAY = 0x800 + O_NOATIME = 0x40000 + O_NOCTTY = 0x100 + O_NOFOLLOW = 0x20000 + O_NONBLOCK = 0x800 + O_PATH = 0x200000 + O_RDONLY = 0x0 + O_RDWR = 0x2 + O_RSYNC = 0x101000 + O_SYNC = 0x101000 + O_TMPFILE = 0x410000 + O_TRUNC = 0x200 + O_WRONLY = 0x1 + PACKET_ADD_MEMBERSHIP = 0x1 + PACKET_AUXDATA = 0x8 + PACKET_BROADCAST = 0x1 + PACKET_COPY_THRESH = 0x7 + PACKET_DROP_MEMBERSHIP = 0x2 + PACKET_FANOUT = 0x12 + PACKET_FANOUT_CBPF = 0x6 + PACKET_FANOUT_CPU = 0x2 + PACKET_FANOUT_DATA = 0x16 + PACKET_FANOUT_EBPF = 0x7 + PACKET_FANOUT_FLAG_DEFRAG = 0x8000 + PACKET_FANOUT_FLAG_ROLLOVER = 0x1000 + PACKET_FANOUT_HASH = 0x0 + PACKET_FANOUT_LB = 0x1 + PACKET_FANOUT_QM = 0x5 + PACKET_FANOUT_RND = 0x4 + PACKET_FANOUT_ROLLOVER = 0x3 + PACKET_FASTROUTE = 0x6 + PACKET_HDRLEN = 0xb + PACKET_HOST = 0x0 + PACKET_KERNEL = 0x7 + PACKET_LOOPBACK = 0x5 + PACKET_LOSS = 0xe + PACKET_MR_ALLMULTI = 0x2 + PACKET_MR_MULTICAST = 0x0 + PACKET_MR_PROMISC = 0x1 + PACKET_MR_UNICAST = 0x3 + PACKET_MULTICAST = 0x2 + PACKET_ORIGDEV = 0x9 + PACKET_OTHERHOST = 0x3 + PACKET_OUTGOING = 0x4 + PACKET_QDISC_BYPASS = 0x14 + PACKET_RECV_OUTPUT = 0x3 + PACKET_RESERVE = 0xc + PACKET_ROLLOVER_STATS = 0x15 + PACKET_RX_RING = 0x5 + PACKET_STATISTICS = 0x6 + PACKET_TIMESTAMP = 0x11 + PACKET_TX_HAS_OFF = 0x13 + PACKET_TX_RING = 0xd + PACKET_TX_TIMESTAMP = 0x10 + PACKET_USER = 0x6 + PACKET_VERSION = 0xa + PACKET_VNET_HDR = 0xf + PARENB = 0x100 + PARITY_CRC16_PR0 = 0x2 + PARITY_CRC16_PR0_CCITT = 0x4 + PARITY_CRC16_PR1 = 0x3 + PARITY_CRC16_PR1_CCITT = 0x5 + PARITY_CRC32_PR0_CCITT = 0x6 + PARITY_CRC32_PR1_CCITT = 0x7 + PARITY_DEFAULT = 0x0 + PARITY_NONE = 0x1 + PARMRK = 0x8 + PARODD = 0x200 + PENDIN = 0x4000 + PRIO_PGRP = 0x1 + PRIO_PROCESS = 0x0 + PRIO_USER = 0x2 + PROT_EXEC = 0x4 + PROT_GROWSDOWN = 0x1000000 + PROT_GROWSUP = 0x2000000 + PROT_NONE = 0x0 + PROT_READ = 0x1 + PROT_WRITE = 0x2 + PR_CAPBSET_DROP = 0x18 + PR_CAPBSET_READ = 0x17 + PR_CAP_AMBIENT = 0x2f + PR_CAP_AMBIENT_CLEAR_ALL = 0x4 + PR_CAP_AMBIENT_IS_SET = 0x1 + PR_CAP_AMBIENT_LOWER = 0x3 + PR_CAP_AMBIENT_RAISE = 0x2 + PR_ENDIAN_BIG = 0x0 + PR_ENDIAN_LITTLE = 0x1 + PR_ENDIAN_PPC_LITTLE = 0x2 + PR_FPEMU_NOPRINT = 0x1 + PR_FPEMU_SIGFPE = 0x2 + PR_FP_EXC_ASYNC = 0x2 + PR_FP_EXC_DISABLED = 0x0 + PR_FP_EXC_DIV = 0x10000 + PR_FP_EXC_INV = 0x100000 + PR_FP_EXC_NONRECOV = 0x1 + PR_FP_EXC_OVF = 0x20000 + PR_FP_EXC_PRECISE = 0x3 + PR_FP_EXC_RES = 0x80000 + PR_FP_EXC_SW_ENABLE = 0x80 + PR_FP_EXC_UND = 0x40000 + PR_FP_MODE_FR = 0x1 + PR_FP_MODE_FRE = 0x2 + PR_GET_CHILD_SUBREAPER = 0x25 + PR_GET_DUMPABLE = 0x3 + PR_GET_ENDIAN = 0x13 + PR_GET_FPEMU = 0x9 + PR_GET_FPEXC = 0xb + PR_GET_FP_MODE = 0x2e + PR_GET_KEEPCAPS = 0x7 + PR_GET_NAME = 0x10 + PR_GET_NO_NEW_PRIVS = 0x27 + PR_GET_PDEATHSIG = 0x2 + PR_GET_SECCOMP = 0x15 + PR_GET_SECUREBITS = 0x1b + PR_GET_THP_DISABLE = 0x2a + PR_GET_TID_ADDRESS = 0x28 + PR_GET_TIMERSLACK = 0x1e + PR_GET_TIMING = 0xd + PR_GET_TSC = 0x19 + PR_GET_UNALIGN = 0x5 + PR_MCE_KILL = 0x21 + PR_MCE_KILL_CLEAR = 0x0 + PR_MCE_KILL_DEFAULT = 0x2 + PR_MCE_KILL_EARLY = 0x1 + PR_MCE_KILL_GET = 0x22 + PR_MCE_KILL_LATE = 0x0 + PR_MCE_KILL_SET = 0x1 + PR_MPX_DISABLE_MANAGEMENT = 0x2c + PR_MPX_ENABLE_MANAGEMENT = 0x2b + PR_SET_CHILD_SUBREAPER = 0x24 + PR_SET_DUMPABLE = 0x4 + PR_SET_ENDIAN = 0x14 + PR_SET_FPEMU = 0xa + PR_SET_FPEXC = 0xc + PR_SET_FP_MODE = 0x2d + PR_SET_KEEPCAPS = 0x8 + PR_SET_MM = 0x23 + PR_SET_MM_ARG_END = 0x9 + PR_SET_MM_ARG_START = 0x8 + PR_SET_MM_AUXV = 0xc + PR_SET_MM_BRK = 0x7 + PR_SET_MM_END_CODE = 0x2 + PR_SET_MM_END_DATA = 0x4 + PR_SET_MM_ENV_END = 0xb + PR_SET_MM_ENV_START = 0xa + PR_SET_MM_EXE_FILE = 0xd + PR_SET_MM_MAP = 0xe + PR_SET_MM_MAP_SIZE = 0xf + PR_SET_MM_START_BRK = 0x6 + PR_SET_MM_START_CODE = 0x1 + PR_SET_MM_START_DATA = 0x3 + PR_SET_MM_START_STACK = 0x5 + PR_SET_NAME = 0xf + PR_SET_NO_NEW_PRIVS = 0x26 + PR_SET_PDEATHSIG = 0x1 + PR_SET_PTRACER = 0x59616d61 + PR_SET_PTRACER_ANY = -0x1 + PR_SET_SECCOMP = 0x16 + PR_SET_SECUREBITS = 0x1c + PR_SET_THP_DISABLE = 0x29 + PR_SET_TIMERSLACK = 0x1d + PR_SET_TIMING = 0xe + PR_SET_TSC = 0x1a + PR_SET_UNALIGN = 0x6 + PR_TASK_PERF_EVENTS_DISABLE = 0x1f + PR_TASK_PERF_EVENTS_ENABLE = 0x20 + PR_TIMING_STATISTICAL = 0x0 + PR_TIMING_TIMESTAMP = 0x1 + PR_TSC_ENABLE = 0x1 + PR_TSC_SIGSEGV = 0x2 + PR_UNALIGN_NOPRINT = 0x1 + PR_UNALIGN_SIGBUS = 0x2 + PTRACE_ATTACH = 0x10 + PTRACE_CONT = 0x7 + PTRACE_DETACH = 0x11 + PTRACE_DISABLE_TE = 0x5010 + PTRACE_ENABLE_TE = 0x5009 + PTRACE_EVENT_CLONE = 0x3 + PTRACE_EVENT_EXEC = 0x4 + PTRACE_EVENT_EXIT = 0x6 + PTRACE_EVENT_FORK = 0x1 + PTRACE_EVENT_SECCOMP = 0x7 + PTRACE_EVENT_STOP = 0x80 + PTRACE_EVENT_VFORK = 0x2 + PTRACE_EVENT_VFORK_DONE = 0x5 + PTRACE_GETEVENTMSG = 0x4201 + PTRACE_GETREGS = 0xc + PTRACE_GETREGSET = 0x4204 + PTRACE_GETSIGINFO = 0x4202 + PTRACE_GETSIGMASK = 0x420a + PTRACE_GET_LAST_BREAK = 0x5006 + PTRACE_INTERRUPT = 0x4207 + PTRACE_KILL = 0x8 + PTRACE_LISTEN = 0x4208 + PTRACE_OLDSETOPTIONS = 0x15 + PTRACE_O_EXITKILL = 0x100000 + PTRACE_O_MASK = 0x3000ff + PTRACE_O_SUSPEND_SECCOMP = 0x200000 + PTRACE_O_TRACECLONE = 0x8 + PTRACE_O_TRACEEXEC = 0x10 + PTRACE_O_TRACEEXIT = 0x40 + PTRACE_O_TRACEFORK = 0x2 + PTRACE_O_TRACESECCOMP = 0x80 + PTRACE_O_TRACESYSGOOD = 0x1 + PTRACE_O_TRACEVFORK = 0x4 + PTRACE_O_TRACEVFORKDONE = 0x20 + PTRACE_PEEKDATA = 0x2 + PTRACE_PEEKDATA_AREA = 0x5003 + PTRACE_PEEKSIGINFO = 0x4209 + PTRACE_PEEKSIGINFO_SHARED = 0x1 + PTRACE_PEEKTEXT = 0x1 + PTRACE_PEEKTEXT_AREA = 0x5002 + PTRACE_PEEKUSR = 0x3 + PTRACE_PEEKUSR_AREA = 0x5000 + PTRACE_PEEK_SYSTEM_CALL = 0x5007 + PTRACE_POKEDATA = 0x5 + PTRACE_POKEDATA_AREA = 0x5005 + PTRACE_POKETEXT = 0x4 + PTRACE_POKETEXT_AREA = 0x5004 + PTRACE_POKEUSR = 0x6 + PTRACE_POKEUSR_AREA = 0x5001 + PTRACE_POKE_SYSTEM_CALL = 0x5008 + PTRACE_PROT = 0x15 + PTRACE_SECCOMP_GET_FILTER = 0x420c + PTRACE_SEIZE = 0x4206 + PTRACE_SETOPTIONS = 0x4200 + PTRACE_SETREGS = 0xd + PTRACE_SETREGSET = 0x4205 + PTRACE_SETSIGINFO = 0x4203 + PTRACE_SETSIGMASK = 0x420b + PTRACE_SINGLEBLOCK = 0xc + PTRACE_SINGLESTEP = 0x9 + PTRACE_SYSCALL = 0x18 + PTRACE_TE_ABORT_RAND = 0x5011 + PTRACE_TRACEME = 0x0 + PT_ACR0 = 0x90 + PT_ACR1 = 0x94 + PT_ACR10 = 0xb8 + PT_ACR11 = 0xbc + PT_ACR12 = 0xc0 + PT_ACR13 = 0xc4 + PT_ACR14 = 0xc8 + PT_ACR15 = 0xcc + PT_ACR2 = 0x98 + PT_ACR3 = 0x9c + PT_ACR4 = 0xa0 + PT_ACR5 = 0xa4 + PT_ACR6 = 0xa8 + PT_ACR7 = 0xac + PT_ACR8 = 0xb0 + PT_ACR9 = 0xb4 + PT_CR_10 = 0x168 + PT_CR_11 = 0x170 + PT_CR_9 = 0x160 + PT_ENDREGS = 0x1af + PT_FPC = 0xd8 + PT_FPR0 = 0xe0 + PT_FPR1 = 0xe8 + PT_FPR10 = 0x130 + PT_FPR11 = 0x138 + PT_FPR12 = 0x140 + PT_FPR13 = 0x148 + PT_FPR14 = 0x150 + PT_FPR15 = 0x158 + PT_FPR2 = 0xf0 + PT_FPR3 = 0xf8 + PT_FPR4 = 0x100 + PT_FPR5 = 0x108 + PT_FPR6 = 0x110 + PT_FPR7 = 0x118 + PT_FPR8 = 0x120 + PT_FPR9 = 0x128 + PT_GPR0 = 0x10 + PT_GPR1 = 0x18 + PT_GPR10 = 0x60 + PT_GPR11 = 0x68 + PT_GPR12 = 0x70 + PT_GPR13 = 0x78 + PT_GPR14 = 0x80 + PT_GPR15 = 0x88 + PT_GPR2 = 0x20 + PT_GPR3 = 0x28 + PT_GPR4 = 0x30 + PT_GPR5 = 0x38 + PT_GPR6 = 0x40 + PT_GPR7 = 0x48 + PT_GPR8 = 0x50 + PT_GPR9 = 0x58 + PT_IEEE_IP = 0x1a8 + PT_LASTOFF = 0x1a8 + PT_ORIGGPR2 = 0xd0 + PT_PSWADDR = 0x8 + PT_PSWMASK = 0x0 + RLIMIT_AS = 0x9 + RLIMIT_CORE = 0x4 + RLIMIT_CPU = 0x0 + RLIMIT_DATA = 0x2 + RLIMIT_FSIZE = 0x1 + RLIMIT_NOFILE = 0x7 + RLIMIT_STACK = 0x3 + RLIM_INFINITY = -0x1 + RTAX_ADVMSS = 0x8 + RTAX_CC_ALGO = 0x10 + RTAX_CWND = 0x7 + RTAX_FEATURES = 0xc + RTAX_FEATURE_ALLFRAG = 0x8 + RTAX_FEATURE_ECN = 0x1 + RTAX_FEATURE_MASK = 0xf + RTAX_FEATURE_SACK = 0x2 + RTAX_FEATURE_TIMESTAMP = 0x4 + RTAX_HOPLIMIT = 0xa + RTAX_INITCWND = 0xb + RTAX_INITRWND = 0xe + RTAX_LOCK = 0x1 + RTAX_MAX = 0x10 + RTAX_MTU = 0x2 + RTAX_QUICKACK = 0xf + RTAX_REORDERING = 0x9 + RTAX_RTO_MIN = 0xd + RTAX_RTT = 0x4 + RTAX_RTTVAR = 0x5 + RTAX_SSTHRESH = 0x6 + RTAX_UNSPEC = 0x0 + RTAX_WINDOW = 0x3 + RTA_ALIGNTO = 0x4 + RTA_MAX = 0x16 + RTCF_DIRECTSRC = 0x4000000 + RTCF_DOREDIRECT = 0x1000000 + RTCF_LOG = 0x2000000 + RTCF_MASQ = 0x400000 + RTCF_NAT = 0x800000 + RTCF_VALVE = 0x200000 + RTF_ADDRCLASSMASK = 0xf8000000 + RTF_ADDRCONF = 0x40000 + RTF_ALLONLINK = 0x20000 + RTF_BROADCAST = 0x10000000 + RTF_CACHE = 0x1000000 + RTF_DEFAULT = 0x10000 + RTF_DYNAMIC = 0x10 + RTF_FLOW = 0x2000000 + RTF_GATEWAY = 0x2 + RTF_HOST = 0x4 + RTF_INTERFACE = 0x40000000 + RTF_IRTT = 0x100 + RTF_LINKRT = 0x100000 + RTF_LOCAL = 0x80000000 + RTF_MODIFIED = 0x20 + RTF_MSS = 0x40 + RTF_MTU = 0x40 + RTF_MULTICAST = 0x20000000 + RTF_NAT = 0x8000000 + RTF_NOFORWARD = 0x1000 + RTF_NONEXTHOP = 0x200000 + RTF_NOPMTUDISC = 0x4000 + RTF_POLICY = 0x4000000 + RTF_REINSTATE = 0x8 + RTF_REJECT = 0x200 + RTF_STATIC = 0x400 + RTF_THROW = 0x2000 + RTF_UP = 0x1 + RTF_WINDOW = 0x80 + RTF_XRESOLVE = 0x800 + RTM_BASE = 0x10 + RTM_DELACTION = 0x31 + RTM_DELADDR = 0x15 + RTM_DELADDRLABEL = 0x49 + RTM_DELLINK = 0x11 + RTM_DELMDB = 0x55 + RTM_DELNEIGH = 0x1d + RTM_DELNSID = 0x59 + RTM_DELQDISC = 0x25 + RTM_DELROUTE = 0x19 + RTM_DELRULE = 0x21 + RTM_DELTCLASS = 0x29 + RTM_DELTFILTER = 0x2d + RTM_F_CLONED = 0x200 + RTM_F_EQUALIZE = 0x400 + RTM_F_LOOKUP_TABLE = 0x1000 + RTM_F_NOTIFY = 0x100 + RTM_F_PREFIX = 0x800 + RTM_GETACTION = 0x32 + RTM_GETADDR = 0x16 + RTM_GETADDRLABEL = 0x4a + RTM_GETANYCAST = 0x3e + RTM_GETDCB = 0x4e + RTM_GETLINK = 0x12 + RTM_GETMDB = 0x56 + RTM_GETMULTICAST = 0x3a + RTM_GETNEIGH = 0x1e + RTM_GETNEIGHTBL = 0x42 + RTM_GETNETCONF = 0x52 + RTM_GETNSID = 0x5a + RTM_GETQDISC = 0x26 + RTM_GETROUTE = 0x1a + RTM_GETRULE = 0x22 + RTM_GETTCLASS = 0x2a + RTM_GETTFILTER = 0x2e + RTM_MAX = 0x5b + RTM_NEWACTION = 0x30 + RTM_NEWADDR = 0x14 + RTM_NEWADDRLABEL = 0x48 + RTM_NEWLINK = 0x10 + RTM_NEWMDB = 0x54 + RTM_NEWNDUSEROPT = 0x44 + RTM_NEWNEIGH = 0x1c + RTM_NEWNEIGHTBL = 0x40 + RTM_NEWNETCONF = 0x50 + RTM_NEWNSID = 0x58 + RTM_NEWPREFIX = 0x34 + RTM_NEWQDISC = 0x24 + RTM_NEWROUTE = 0x18 + RTM_NEWRULE = 0x20 + RTM_NEWTCLASS = 0x28 + RTM_NEWTFILTER = 0x2c + RTM_NR_FAMILIES = 0x13 + RTM_NR_MSGTYPES = 0x4c + RTM_SETDCB = 0x4f + RTM_SETLINK = 0x13 + RTM_SETNEIGHTBL = 0x43 + RTNH_ALIGNTO = 0x4 + RTNH_COMPARE_MASK = 0x11 + RTNH_F_DEAD = 0x1 + RTNH_F_LINKDOWN = 0x10 + RTNH_F_OFFLOAD = 0x8 + RTNH_F_ONLINK = 0x4 + RTNH_F_PERVASIVE = 0x2 + RTN_MAX = 0xb + RTPROT_BABEL = 0x2a + RTPROT_BIRD = 0xc + RTPROT_BOOT = 0x3 + RTPROT_DHCP = 0x10 + RTPROT_DNROUTED = 0xd + RTPROT_GATED = 0x8 + RTPROT_KERNEL = 0x2 + RTPROT_MROUTED = 0x11 + RTPROT_MRT = 0xa + RTPROT_NTK = 0xf + RTPROT_RA = 0x9 + RTPROT_REDIRECT = 0x1 + RTPROT_STATIC = 0x4 + RTPROT_UNSPEC = 0x0 + RTPROT_XORP = 0xe + RTPROT_ZEBRA = 0xb + RT_CLASS_DEFAULT = 0xfd + RT_CLASS_LOCAL = 0xff + RT_CLASS_MAIN = 0xfe + RT_CLASS_MAX = 0xff + RT_CLASS_UNSPEC = 0x0 + RUSAGE_CHILDREN = -0x1 + RUSAGE_SELF = 0x0 + RUSAGE_THREAD = 0x1 + SCM_CREDENTIALS = 0x2 + SCM_RIGHTS = 0x1 + SCM_TIMESTAMP = 0x1d + SCM_TIMESTAMPING = 0x25 + SCM_TIMESTAMPNS = 0x23 + SCM_WIFI_STATUS = 0x29 + SHUT_RD = 0x0 + SHUT_RDWR = 0x2 + SHUT_WR = 0x1 + SIOCADDDLCI = 0x8980 + SIOCADDMULTI = 0x8931 + SIOCADDRT = 0x890b + SIOCATMARK = 0x8905 + SIOCDARP = 0x8953 + SIOCDELDLCI = 0x8981 + SIOCDELMULTI = 0x8932 + SIOCDELRT = 0x890c + SIOCDEVPRIVATE = 0x89f0 + SIOCDIFADDR = 0x8936 + SIOCDRARP = 0x8960 + SIOCGARP = 0x8954 + SIOCGIFADDR = 0x8915 + SIOCGIFBR = 0x8940 + SIOCGIFBRDADDR = 0x8919 + SIOCGIFCONF = 0x8912 + SIOCGIFCOUNT = 0x8938 + SIOCGIFDSTADDR = 0x8917 + SIOCGIFENCAP = 0x8925 + SIOCGIFFLAGS = 0x8913 + SIOCGIFHWADDR = 0x8927 + SIOCGIFINDEX = 0x8933 + SIOCGIFMAP = 0x8970 + SIOCGIFMEM = 0x891f + SIOCGIFMETRIC = 0x891d + SIOCGIFMTU = 0x8921 + SIOCGIFNAME = 0x8910 + SIOCGIFNETMASK = 0x891b + SIOCGIFPFLAGS = 0x8935 + SIOCGIFSLAVE = 0x8929 + SIOCGIFTXQLEN = 0x8942 + SIOCGPGRP = 0x8904 + SIOCGRARP = 0x8961 + SIOCGSTAMP = 0x8906 + SIOCGSTAMPNS = 0x8907 + SIOCPROTOPRIVATE = 0x89e0 + SIOCRTMSG = 0x890d + SIOCSARP = 0x8955 + SIOCSIFADDR = 0x8916 + SIOCSIFBR = 0x8941 + SIOCSIFBRDADDR = 0x891a + SIOCSIFDSTADDR = 0x8918 + SIOCSIFENCAP = 0x8926 + SIOCSIFFLAGS = 0x8914 + SIOCSIFHWADDR = 0x8924 + SIOCSIFHWBROADCAST = 0x8937 + SIOCSIFLINK = 0x8911 + SIOCSIFMAP = 0x8971 + SIOCSIFMEM = 0x8920 + SIOCSIFMETRIC = 0x891e + SIOCSIFMTU = 0x8922 + SIOCSIFNAME = 0x8923 + SIOCSIFNETMASK = 0x891c + SIOCSIFPFLAGS = 0x8934 + SIOCSIFSLAVE = 0x8930 + SIOCSIFTXQLEN = 0x8943 + SIOCSPGRP = 0x8902 + SIOCSRARP = 0x8962 + SOCK_CLOEXEC = 0x80000 + SOCK_DCCP = 0x6 + SOCK_DGRAM = 0x2 + SOCK_NONBLOCK = 0x800 + SOCK_PACKET = 0xa + SOCK_RAW = 0x3 + SOCK_RDM = 0x4 + SOCK_SEQPACKET = 0x5 + SOCK_STREAM = 0x1 + SOL_AAL = 0x109 + SOL_ATM = 0x108 + SOL_DECNET = 0x105 + SOL_ICMPV6 = 0x3a + SOL_IP = 0x0 + SOL_IPV6 = 0x29 + SOL_IRDA = 0x10a + SOL_PACKET = 0x107 + SOL_RAW = 0xff + SOL_SOCKET = 0x1 + SOL_TCP = 0x6 + SOL_X25 = 0x106 + SOMAXCONN = 0x80 + SO_ACCEPTCONN = 0x1e + SO_ATTACH_BPF = 0x32 + SO_ATTACH_FILTER = 0x1a + SO_BINDTODEVICE = 0x19 + SO_BPF_EXTENSIONS = 0x30 + SO_BROADCAST = 0x6 + SO_BSDCOMPAT = 0xe + SO_BUSY_POLL = 0x2e + SO_DEBUG = 0x1 + SO_DETACH_BPF = 0x1b + SO_DETACH_FILTER = 0x1b + SO_DOMAIN = 0x27 + SO_DONTROUTE = 0x5 + SO_ERROR = 0x4 + SO_GET_FILTER = 0x1a + SO_INCOMING_CPU = 0x31 + SO_KEEPALIVE = 0x9 + SO_LINGER = 0xd + SO_LOCK_FILTER = 0x2c + SO_MARK = 0x24 + SO_MAX_PACING_RATE = 0x2f + SO_NOFCS = 0x2b + SO_NO_CHECK = 0xb + SO_OOBINLINE = 0xa + SO_PASSCRED = 0x10 + SO_PASSSEC = 0x22 + SO_PEEK_OFF = 0x2a + SO_PEERCRED = 0x11 + SO_PEERNAME = 0x1c + SO_PEERSEC = 0x1f + SO_PRIORITY = 0xc + SO_PROTOCOL = 0x26 + SO_RCVBUF = 0x8 + SO_RCVBUFFORCE = 0x21 + SO_RCVLOWAT = 0x12 + SO_RCVTIMEO = 0x14 + SO_REUSEADDR = 0x2 + SO_REUSEPORT = 0xf + SO_RXQ_OVFL = 0x28 + SO_SECURITY_AUTHENTICATION = 0x16 + SO_SECURITY_ENCRYPTION_NETWORK = 0x18 + SO_SECURITY_ENCRYPTION_TRANSPORT = 0x17 + SO_SELECT_ERR_QUEUE = 0x2d + SO_SNDBUF = 0x7 + SO_SNDBUFFORCE = 0x20 + SO_SNDLOWAT = 0x13 + SO_SNDTIMEO = 0x15 + SO_TIMESTAMP = 0x1d + SO_TIMESTAMPING = 0x25 + SO_TIMESTAMPNS = 0x23 + SO_TYPE = 0x3 + SO_WIFI_STATUS = 0x29 + S_BLKSIZE = 0x200 + S_IEXEC = 0x40 + S_IFBLK = 0x6000 + S_IFCHR = 0x2000 + S_IFDIR = 0x4000 + S_IFIFO = 0x1000 + S_IFLNK = 0xa000 + S_IFMT = 0xf000 + S_IFREG = 0x8000 + S_IFSOCK = 0xc000 + S_IREAD = 0x100 + S_IRGRP = 0x20 + S_IROTH = 0x4 + S_IRUSR = 0x100 + S_IRWXG = 0x38 + S_IRWXO = 0x7 + S_IRWXU = 0x1c0 + S_ISGID = 0x400 + S_ISUID = 0x800 + S_ISVTX = 0x200 + S_IWGRP = 0x10 + S_IWOTH = 0x2 + S_IWRITE = 0x80 + S_IWUSR = 0x80 + S_IXGRP = 0x8 + S_IXOTH = 0x1 + S_IXUSR = 0x40 + TAB0 = 0x0 + TAB1 = 0x800 + TAB2 = 0x1000 + TAB3 = 0x1800 + TABDLY = 0x1800 + TCFLSH = 0x540b + TCGETA = 0x5405 + TCGETS = 0x5401 + TCGETS2 = 0x802c542a + TCGETX = 0x5432 + TCIFLUSH = 0x0 + TCIOFF = 0x2 + TCIOFLUSH = 0x2 + TCION = 0x3 + TCOFLUSH = 0x1 + TCOOFF = 0x0 + TCOON = 0x1 + TCP_CC_INFO = 0x1a + TCP_CONGESTION = 0xd + TCP_COOKIE_IN_ALWAYS = 0x1 + TCP_COOKIE_MAX = 0x10 + TCP_COOKIE_MIN = 0x8 + TCP_COOKIE_OUT_NEVER = 0x2 + TCP_COOKIE_PAIR_SIZE = 0x20 + TCP_COOKIE_TRANSACTIONS = 0xf + TCP_CORK = 0x3 + TCP_DEFER_ACCEPT = 0x9 + TCP_FASTOPEN = 0x17 + TCP_INFO = 0xb + TCP_KEEPCNT = 0x6 + TCP_KEEPIDLE = 0x4 + TCP_KEEPINTVL = 0x5 + TCP_LINGER2 = 0x8 + TCP_MAXSEG = 0x2 + TCP_MAXWIN = 0xffff + TCP_MAX_WINSHIFT = 0xe + TCP_MD5SIG = 0xe + TCP_MD5SIG_MAXKEYLEN = 0x50 + TCP_MSS = 0x200 + TCP_MSS_DEFAULT = 0x218 + TCP_MSS_DESIRED = 0x4c4 + TCP_NODELAY = 0x1 + TCP_NOTSENT_LOWAT = 0x19 + TCP_QUEUE_SEQ = 0x15 + TCP_QUICKACK = 0xc + TCP_REPAIR = 0x13 + TCP_REPAIR_OPTIONS = 0x16 + TCP_REPAIR_QUEUE = 0x14 + TCP_SAVED_SYN = 0x1c + TCP_SAVE_SYN = 0x1b + TCP_SYNCNT = 0x7 + TCP_S_DATA_IN = 0x4 + TCP_S_DATA_OUT = 0x8 + TCP_THIN_DUPACK = 0x11 + TCP_THIN_LINEAR_TIMEOUTS = 0x10 + TCP_TIMESTAMP = 0x18 + TCP_USER_TIMEOUT = 0x12 + TCP_WINDOW_CLAMP = 0xa + TCSAFLUSH = 0x2 + TCSBRK = 0x5409 + TCSBRKP = 0x5425 + TCSETA = 0x5406 + TCSETAF = 0x5408 + TCSETAW = 0x5407 + TCSETS = 0x5402 + TCSETS2 = 0x402c542b + TCSETSF = 0x5404 + TCSETSF2 = 0x402c542d + TCSETSW = 0x5403 + TCSETSW2 = 0x402c542c + TCSETX = 0x5433 + TCSETXF = 0x5434 + TCSETXW = 0x5435 + TCXONC = 0x540a + TIOCCBRK = 0x5428 + TIOCCONS = 0x541d + TIOCEXCL = 0x540c + TIOCGDEV = 0x80045432 + TIOCGETD = 0x5424 + TIOCGEXCL = 0x80045440 + TIOCGICOUNT = 0x545d + TIOCGLCKTRMIOS = 0x5456 + TIOCGPGRP = 0x540f + TIOCGPKT = 0x80045438 + TIOCGPTLCK = 0x80045439 + TIOCGPTN = 0x80045430 + TIOCGRS485 = 0x542e + TIOCGSERIAL = 0x541e + TIOCGSID = 0x5429 + TIOCGSOFTCAR = 0x5419 + TIOCGWINSZ = 0x5413 + TIOCINQ = 0x541b + TIOCLINUX = 0x541c + TIOCMBIC = 0x5417 + TIOCMBIS = 0x5416 + TIOCMGET = 0x5415 + TIOCMIWAIT = 0x545c + TIOCMSET = 0x5418 + TIOCM_CAR = 0x40 + TIOCM_CD = 0x40 + TIOCM_CTS = 0x20 + TIOCM_DSR = 0x100 + TIOCM_DTR = 0x2 + TIOCM_LE = 0x1 + TIOCM_RI = 0x80 + TIOCM_RNG = 0x80 + TIOCM_RTS = 0x4 + TIOCM_SR = 0x10 + TIOCM_ST = 0x8 + TIOCNOTTY = 0x5422 + TIOCNXCL = 0x540d + TIOCOUTQ = 0x5411 + TIOCPKT = 0x5420 + TIOCPKT_DATA = 0x0 + TIOCPKT_DOSTOP = 0x20 + TIOCPKT_FLUSHREAD = 0x1 + TIOCPKT_FLUSHWRITE = 0x2 + TIOCPKT_IOCTL = 0x40 + TIOCPKT_NOSTOP = 0x10 + TIOCPKT_START = 0x8 + TIOCPKT_STOP = 0x4 + TIOCSBRK = 0x5427 + TIOCSCTTY = 0x540e + TIOCSERCONFIG = 0x5453 + TIOCSERGETLSR = 0x5459 + TIOCSERGETMULTI = 0x545a + TIOCSERGSTRUCT = 0x5458 + TIOCSERGWILD = 0x5454 + TIOCSERSETMULTI = 0x545b + TIOCSERSWILD = 0x5455 + TIOCSER_TEMT = 0x1 + TIOCSETD = 0x5423 + TIOCSIG = 0x40045436 + TIOCSLCKTRMIOS = 0x5457 + TIOCSPGRP = 0x5410 + TIOCSPTLCK = 0x40045431 + TIOCSRS485 = 0x542f + TIOCSSERIAL = 0x541f + TIOCSSOFTCAR = 0x541a + TIOCSTI = 0x5412 + TIOCSWINSZ = 0x5414 + TIOCVHANGUP = 0x5437 + TOSTOP = 0x100 + TUNATTACHFILTER = 0x401054d5 + TUNDETACHFILTER = 0x401054d6 + TUNGETFEATURES = 0x800454cf + TUNGETFILTER = 0x801054db + TUNGETIFF = 0x800454d2 + TUNGETSNDBUF = 0x800454d3 + TUNGETVNETBE = 0x800454df + TUNGETVNETHDRSZ = 0x800454d7 + TUNGETVNETLE = 0x800454dd + TUNSETDEBUG = 0x400454c9 + TUNSETGROUP = 0x400454ce + TUNSETIFF = 0x400454ca + TUNSETIFINDEX = 0x400454da + TUNSETLINK = 0x400454cd + TUNSETNOCSUM = 0x400454c8 + TUNSETOFFLOAD = 0x400454d0 + TUNSETOWNER = 0x400454cc + TUNSETPERSIST = 0x400454cb + TUNSETQUEUE = 0x400454d9 + TUNSETSNDBUF = 0x400454d4 + TUNSETTXFILTER = 0x400454d1 + TUNSETVNETBE = 0x400454de + TUNSETVNETHDRSZ = 0x400454d8 + TUNSETVNETLE = 0x400454dc + VDISCARD = 0xd + VEOF = 0x4 + VEOL = 0xb + VEOL2 = 0x10 + VERASE = 0x2 + VINTR = 0x0 + VKILL = 0x3 + VLNEXT = 0xf + VMIN = 0x6 + VQUIT = 0x1 + VREPRINT = 0xc + VSTART = 0x8 + VSTOP = 0x9 + VSUSP = 0xa + VSWTC = 0x7 + VT0 = 0x0 + VT1 = 0x4000 + VTDLY = 0x4000 + VTIME = 0x5 + VWERASE = 0xe + WALL = 0x40000000 + WCLONE = 0x80000000 + WCONTINUED = 0x8 + WEXITED = 0x4 + WNOHANG = 0x1 + WNOTHREAD = 0x20000000 + WNOWAIT = 0x1000000 + WORDSIZE = 0x40 + WSTOPPED = 0x2 + WUNTRACED = 0x2 + XCASE = 0x4 + XTABS = 0x1800 +) + +// Errors +const ( + E2BIG = syscall.Errno(0x7) + EACCES = syscall.Errno(0xd) + EADDRINUSE = syscall.Errno(0x62) + EADDRNOTAVAIL = syscall.Errno(0x63) + EADV = syscall.Errno(0x44) + EAFNOSUPPORT = syscall.Errno(0x61) + EAGAIN = syscall.Errno(0xb) + EALREADY = syscall.Errno(0x72) + EBADE = syscall.Errno(0x34) + EBADF = syscall.Errno(0x9) + EBADFD = syscall.Errno(0x4d) + EBADMSG = syscall.Errno(0x4a) + EBADR = syscall.Errno(0x35) + EBADRQC = syscall.Errno(0x38) + EBADSLT = syscall.Errno(0x39) + EBFONT = syscall.Errno(0x3b) + EBUSY = syscall.Errno(0x10) + ECANCELED = syscall.Errno(0x7d) + ECHILD = syscall.Errno(0xa) + ECHRNG = syscall.Errno(0x2c) + ECOMM = syscall.Errno(0x46) + ECONNABORTED = syscall.Errno(0x67) + ECONNREFUSED = syscall.Errno(0x6f) + ECONNRESET = syscall.Errno(0x68) + EDEADLK = syscall.Errno(0x23) + EDEADLOCK = syscall.Errno(0x23) + EDESTADDRREQ = syscall.Errno(0x59) + EDOM = syscall.Errno(0x21) + EDOTDOT = syscall.Errno(0x49) + EDQUOT = syscall.Errno(0x7a) + EEXIST = syscall.Errno(0x11) + EFAULT = syscall.Errno(0xe) + EFBIG = syscall.Errno(0x1b) + EHOSTDOWN = syscall.Errno(0x70) + EHOSTUNREACH = syscall.Errno(0x71) + EHWPOISON = syscall.Errno(0x85) + EIDRM = syscall.Errno(0x2b) + EILSEQ = syscall.Errno(0x54) + EINPROGRESS = syscall.Errno(0x73) + EINTR = syscall.Errno(0x4) + EINVAL = syscall.Errno(0x16) + EIO = syscall.Errno(0x5) + EISCONN = syscall.Errno(0x6a) + EISDIR = syscall.Errno(0x15) + EISNAM = syscall.Errno(0x78) + EKEYEXPIRED = syscall.Errno(0x7f) + EKEYREJECTED = syscall.Errno(0x81) + EKEYREVOKED = syscall.Errno(0x80) + EL2HLT = syscall.Errno(0x33) + EL2NSYNC = syscall.Errno(0x2d) + EL3HLT = syscall.Errno(0x2e) + EL3RST = syscall.Errno(0x2f) + ELIBACC = syscall.Errno(0x4f) + ELIBBAD = syscall.Errno(0x50) + ELIBEXEC = syscall.Errno(0x53) + ELIBMAX = syscall.Errno(0x52) + ELIBSCN = syscall.Errno(0x51) + ELNRNG = syscall.Errno(0x30) + ELOOP = syscall.Errno(0x28) + EMEDIUMTYPE = syscall.Errno(0x7c) + EMFILE = syscall.Errno(0x18) + EMLINK = syscall.Errno(0x1f) + EMSGSIZE = syscall.Errno(0x5a) + EMULTIHOP = syscall.Errno(0x48) + ENAMETOOLONG = syscall.Errno(0x24) + ENAVAIL = syscall.Errno(0x77) + ENETDOWN = syscall.Errno(0x64) + ENETRESET = syscall.Errno(0x66) + ENETUNREACH = syscall.Errno(0x65) + ENFILE = syscall.Errno(0x17) + ENOANO = syscall.Errno(0x37) + ENOBUFS = syscall.Errno(0x69) + ENOCSI = syscall.Errno(0x32) + ENODATA = syscall.Errno(0x3d) + ENODEV = syscall.Errno(0x13) + ENOENT = syscall.Errno(0x2) + ENOEXEC = syscall.Errno(0x8) + ENOKEY = syscall.Errno(0x7e) + ENOLCK = syscall.Errno(0x25) + ENOLINK = syscall.Errno(0x43) + ENOMEDIUM = syscall.Errno(0x7b) + ENOMEM = syscall.Errno(0xc) + ENOMSG = syscall.Errno(0x2a) + ENONET = syscall.Errno(0x40) + ENOPKG = syscall.Errno(0x41) + ENOPROTOOPT = syscall.Errno(0x5c) + ENOSPC = syscall.Errno(0x1c) + ENOSR = syscall.Errno(0x3f) + ENOSTR = syscall.Errno(0x3c) + ENOSYS = syscall.Errno(0x26) + ENOTBLK = syscall.Errno(0xf) + ENOTCONN = syscall.Errno(0x6b) + ENOTDIR = syscall.Errno(0x14) + ENOTEMPTY = syscall.Errno(0x27) + ENOTNAM = syscall.Errno(0x76) + ENOTRECOVERABLE = syscall.Errno(0x83) + ENOTSOCK = syscall.Errno(0x58) + ENOTSUP = syscall.Errno(0x5f) + ENOTTY = syscall.Errno(0x19) + ENOTUNIQ = syscall.Errno(0x4c) + ENXIO = syscall.Errno(0x6) + EOPNOTSUPP = syscall.Errno(0x5f) + EOVERFLOW = syscall.Errno(0x4b) + EOWNERDEAD = syscall.Errno(0x82) + EPERM = syscall.Errno(0x1) + EPFNOSUPPORT = syscall.Errno(0x60) + EPIPE = syscall.Errno(0x20) + EPROTO = syscall.Errno(0x47) + EPROTONOSUPPORT = syscall.Errno(0x5d) + EPROTOTYPE = syscall.Errno(0x5b) + ERANGE = syscall.Errno(0x22) + EREMCHG = syscall.Errno(0x4e) + EREMOTE = syscall.Errno(0x42) + EREMOTEIO = syscall.Errno(0x79) + ERESTART = syscall.Errno(0x55) + ERFKILL = syscall.Errno(0x84) + EROFS = syscall.Errno(0x1e) + ESHUTDOWN = syscall.Errno(0x6c) + ESOCKTNOSUPPORT = syscall.Errno(0x5e) + ESPIPE = syscall.Errno(0x1d) + ESRCH = syscall.Errno(0x3) + ESRMNT = syscall.Errno(0x45) + ESTALE = syscall.Errno(0x74) + ESTRPIPE = syscall.Errno(0x56) + ETIME = syscall.Errno(0x3e) + ETIMEDOUT = syscall.Errno(0x6e) + ETOOMANYREFS = syscall.Errno(0x6d) + ETXTBSY = syscall.Errno(0x1a) + EUCLEAN = syscall.Errno(0x75) + EUNATCH = syscall.Errno(0x31) + EUSERS = syscall.Errno(0x57) + EWOULDBLOCK = syscall.Errno(0xb) + EXDEV = syscall.Errno(0x12) + EXFULL = syscall.Errno(0x36) +) + +// Signals +const ( + SIGABRT = syscall.Signal(0x6) + SIGALRM = syscall.Signal(0xe) + SIGBUS = syscall.Signal(0x7) + SIGCHLD = syscall.Signal(0x11) + SIGCLD = syscall.Signal(0x11) + SIGCONT = syscall.Signal(0x12) + SIGFPE = syscall.Signal(0x8) + SIGHUP = syscall.Signal(0x1) + SIGILL = syscall.Signal(0x4) + SIGINT = syscall.Signal(0x2) + SIGIO = syscall.Signal(0x1d) + SIGIOT = syscall.Signal(0x6) + SIGKILL = syscall.Signal(0x9) + SIGPIPE = syscall.Signal(0xd) + SIGPOLL = syscall.Signal(0x1d) + SIGPROF = syscall.Signal(0x1b) + SIGPWR = syscall.Signal(0x1e) + SIGQUIT = syscall.Signal(0x3) + SIGSEGV = syscall.Signal(0xb) + SIGSTKFLT = syscall.Signal(0x10) + SIGSTOP = syscall.Signal(0x13) + SIGSYS = syscall.Signal(0x1f) + SIGTERM = syscall.Signal(0xf) + SIGTRAP = syscall.Signal(0x5) + SIGTSTP = syscall.Signal(0x14) + SIGTTIN = syscall.Signal(0x15) + SIGTTOU = syscall.Signal(0x16) + SIGUNUSED = syscall.Signal(0x1f) + SIGURG = syscall.Signal(0x17) + SIGUSR1 = syscall.Signal(0xa) + SIGUSR2 = syscall.Signal(0xc) + SIGVTALRM = syscall.Signal(0x1a) + SIGWINCH = syscall.Signal(0x1c) + SIGXCPU = syscall.Signal(0x18) + SIGXFSZ = syscall.Signal(0x19) +) + +// Error table +var errors = [...]string{ + 1: "operation not permitted", + 2: "no such file or directory", + 3: "no such process", + 4: "interrupted system call", + 5: "input/output error", + 6: "no such device or address", + 7: "argument list too long", + 8: "exec format error", + 9: "bad file descriptor", + 10: "no child processes", + 11: "resource temporarily unavailable", + 12: "cannot allocate memory", + 13: "permission denied", + 14: "bad address", + 15: "block device required", + 16: "device or resource busy", + 17: "file exists", + 18: "invalid cross-device link", + 19: "no such device", + 20: "not a directory", + 21: "is a directory", + 22: "invalid argument", + 23: "too many open files in system", + 24: "too many open files", + 25: "inappropriate ioctl for device", + 26: "text file busy", + 27: "file too large", + 28: "no space left on device", + 29: "illegal seek", + 30: "read-only file system", + 31: "too many links", + 32: "broken pipe", + 33: "numerical argument out of domain", + 34: "numerical result out of range", + 35: "resource deadlock avoided", + 36: "file name too long", + 37: "no locks available", + 38: "function not implemented", + 39: "directory not empty", + 40: "too many levels of symbolic links", + 42: "no message of desired type", + 43: "identifier removed", + 44: "channel number out of range", + 45: "level 2 not synchronized", + 46: "level 3 halted", + 47: "level 3 reset", + 48: "link number out of range", + 49: "protocol driver not attached", + 50: "no CSI structure available", + 51: "level 2 halted", + 52: "invalid exchange", + 53: "invalid request descriptor", + 54: "exchange full", + 55: "no anode", + 56: "invalid request code", + 57: "invalid slot", + 59: "bad font file format", + 60: "device not a stream", + 61: "no data available", + 62: "timer expired", + 63: "out of streams resources", + 64: "machine is not on the network", + 65: "package not installed", + 66: "object is remote", + 67: "link has been severed", + 68: "advertise error", + 69: "srmount error", + 70: "communication error on send", + 71: "protocol error", + 72: "multihop attempted", + 73: "RFS specific error", + 74: "bad message", + 75: "value too large for defined data type", + 76: "name not unique on network", + 77: "file descriptor in bad state", + 78: "remote address changed", + 79: "can not access a needed shared library", + 80: "accessing a corrupted shared library", + 81: ".lib section in a.out corrupted", + 82: "attempting to link in too many shared libraries", + 83: "cannot exec a shared library directly", + 84: "invalid or incomplete multibyte or wide character", + 85: "interrupted system call should be restarted", + 86: "streams pipe error", + 87: "too many users", + 88: "socket operation on non-socket", + 89: "destination address required", + 90: "message too long", + 91: "protocol wrong type for socket", + 92: "protocol not available", + 93: "protocol not supported", + 94: "socket type not supported", + 95: "operation not supported", + 96: "protocol family not supported", + 97: "address family not supported by protocol", + 98: "address already in use", + 99: "cannot assign requested address", + 100: "network is down", + 101: "network is unreachable", + 102: "network dropped connection on reset", + 103: "software caused connection abort", + 104: "connection reset by peer", + 105: "no buffer space available", + 106: "transport endpoint is already connected", + 107: "transport endpoint is not connected", + 108: "cannot send after transport endpoint shutdown", + 109: "too many references: cannot splice", + 110: "connection timed out", + 111: "connection refused", + 112: "host is down", + 113: "no route to host", + 114: "operation already in progress", + 115: "operation now in progress", + 116: "stale file handle", + 117: "structure needs cleaning", + 118: "not a XENIX named type file", + 119: "no XENIX semaphores available", + 120: "is a named type file", + 121: "remote I/O error", + 122: "disk quota exceeded", + 123: "no medium found", + 124: "wrong medium type", + 125: "operation canceled", + 126: "required key not available", + 127: "key has expired", + 128: "key has been revoked", + 129: "key was rejected by service", + 130: "owner died", + 131: "state not recoverable", + 132: "operation not possible due to RF-kill", + 133: "memory page has hardware error", +} + +// Signal table +var signals = [...]string{ + 1: "hangup", + 2: "interrupt", + 3: "quit", + 4: "illegal instruction", + 5: "trace/breakpoint trap", + 6: "aborted", + 7: "bus error", + 8: "floating point exception", + 9: "killed", + 10: "user defined signal 1", + 11: "segmentation fault", + 12: "user defined signal 2", + 13: "broken pipe", + 14: "alarm clock", + 15: "terminated", + 16: "stack fault", + 17: "child exited", + 18: "continued", + 19: "stopped (signal)", + 20: "stopped", + 21: "stopped (tty input)", + 22: "stopped (tty output)", + 23: "urgent I/O condition", + 24: "CPU time limit exceeded", + 25: "file size limit exceeded", + 26: "virtual timer expired", + 27: "profiling timer expired", + 28: "window changed", + 29: "I/O possible", + 30: "power failure", + 31: "bad system call", +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_netbsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_netbsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_netbsd_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_openbsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_openbsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go index afdf7c565ed..a08922b9818 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go @@ -161,6 +161,14 @@ const ( BRKINT = 0x2 CFLUSH = 0xf CLOCAL = 0x800 + CLOCK_HIGHRES = 0x4 + CLOCK_LEVEL = 0xa + CLOCK_MONOTONIC = 0x4 + CLOCK_PROCESS_CPUTIME_ID = 0x5 + CLOCK_PROF = 0x2 + CLOCK_REALTIME = 0x3 + CLOCK_THREAD_CPUTIME_ID = 0x2 + CLOCK_VIRTUAL = 0x1 CREAD = 0x80 CS5 = 0x0 CS6 = 0x10 @@ -168,6 +176,7 @@ const ( CS8 = 0x30 CSIZE = 0x30 CSTART = 0x11 + CSTATUS = 0x14 CSTOP = 0x13 CSTOPB = 0x40 CSUSP = 0x1a @@ -757,9 +766,7 @@ const ( SIOCDARP = -0x7fdb96e0 SIOCDELMULTI = -0x7fdf96ce SIOCDELRT = -0x7fcf8df5 - SIOCDIPSECONFIG = -0x7ffb9669 SIOCDXARP = -0x7fff9658 - SIOCFIPSECONFIG = -0x7ffb966b SIOCGARP = -0x3fdb96e1 SIOCGDSTINFO = -0x3fff965c SIOCGENADDR = -0x3fdf96ab @@ -821,7 +828,6 @@ const ( SIOCLIFGETND = -0x3f879672 SIOCLIFREMOVEIF = -0x7f879692 SIOCLIFSETND = -0x7f879671 - SIOCLIPSECONFIG = -0x7ffb9668 SIOCLOWER = -0x7fdf96d7 SIOCSARP = -0x7fdb96e2 SIOCSCTPGOPT = -0x3fef9653 @@ -844,7 +850,6 @@ const ( SIOCSIFNETMASK = -0x7fdf96e6 SIOCSIP6ADDRPOLICY = -0x7fff965d SIOCSIPMSFILTER = -0x7ffb964b - SIOCSIPSECONFIG = -0x7ffb966a SIOCSLGETREQ = -0x3fdf96b9 SIOCSLIFADDR = -0x7f879690 SIOCSLIFBRDADDR = -0x7f879684 @@ -951,6 +956,8 @@ const ( SO_VRRP = 0x1017 SO_WROFF = 0x2 TCFLSH = 0x5407 + TCGETA = 0x5401 + TCGETS = 0x540d TCIFLUSH = 0x0 TCIOFLUSH = 0x2 TCOFLUSH = 0x1 @@ -977,6 +984,14 @@ const ( TCP_RTO_MAX = 0x1b TCP_RTO_MIN = 0x1a TCSAFLUSH = 0x5410 + TCSBRK = 0x5405 + TCSETA = 0x5402 + TCSETAF = 0x5404 + TCSETAW = 0x5403 + TCSETS = 0x540e + TCSETSF = 0x5410 + TCSETSW = 0x540f + TCXONC = 0x5406 TIOC = 0x5400 TIOCCBRK = 0x747a TIOCCDTR = 0x7478 @@ -1052,6 +1067,7 @@ const ( VQUIT = 0x1 VREPRINT = 0xc VSTART = 0x8 + VSTATUS = 0x10 VSTOP = 0x9 VSUSP = 0xa VSWTCH = 0x7 @@ -1215,6 +1231,7 @@ const ( SIGFREEZE = syscall.Signal(0x22) SIGHUP = syscall.Signal(0x1) SIGILL = syscall.Signal(0x4) + SIGINFO = syscall.Signal(0x29) SIGINT = syscall.Signal(0x2) SIGIO = syscall.Signal(0x16) SIGIOT = syscall.Signal(0x6) @@ -1415,4 +1432,5 @@ var signals = [...]string{ 38: "resource Control Exceeded", 39: "reserved for JVM 1", 40: "reserved for JVM 2", + 41: "information Request", } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go index a15aaf120a7..031034a345d 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go index e28b044e9fe..ee96f78badc 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } @@ -1415,6 +1416,22 @@ func writelen(fd int, buf *byte, nbuf int) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func gettimeofday(tp *Timeval) (sec int64, usec int32, err error) { r0, r1, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) sec = int64(r0) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go index 640e8542692..e52cd0d54c0 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go index 933f67bbf12..9863ef99e3d 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go index 3fa6ff796db..78de48dcf3a 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go index 1a0e528cdac..fade994dcf6 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go index 6e4cf1455ca..c28281e83e2 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go index 1872d32308f..a18ba5c88bb 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go index 81ae498a38f..1f7a7566950 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_386.go @@ -14,7 +14,7 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { @@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -370,23 +381,6 @@ func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { - var _p0 unsafe.Pointer - if len(events) > 0 { - _p0 = unsafe.Pointer(&events[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Exit(code int) { Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return @@ -746,16 +740,6 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pause() (err error) { - _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(newroot) @@ -788,6 +772,16 @@ func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -912,6 +906,16 @@ func Settimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1053,22 +1057,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Utime(path string, buf *Utimbuf) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1578,6 +1566,33 @@ func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func getrlimit(resource int, rlim *rlimit32) (err error) { _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) if e1 != 0 { @@ -1616,3 +1631,30 @@ func Time(t *Time_t) (tt Time_t, err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go index 2adb9284a34..b4e24fc0a0f 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go @@ -14,7 +14,7 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { @@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -370,23 +381,6 @@ func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { - var _p0 unsafe.Pointer - if len(events) > 0 { - _p0 = unsafe.Pointer(&events[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Exit(code int) { Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return @@ -746,16 +740,6 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pause() (err error) { - _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(newroot) @@ -788,6 +772,16 @@ func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -912,6 +906,16 @@ func Settimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1053,22 +1057,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Utime(path string, buf *Utimbuf) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1222,6 +1210,23 @@ func Dup2(oldfd int, newfd int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Fadvise(fd int, offset int64, length int64, advice int) (err error) { _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0) if e1 != 0 { @@ -1387,6 +1392,16 @@ func Lstat(path string, stat *Stat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1793,6 +1808,22 @@ func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int6 // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func pipe(p *[2]_C_int) (err error) { _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) if e1 != 0 { @@ -1810,3 +1841,14 @@ func pipe2(p *[2]_C_int, flags int) (err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go index ca00ed3dfb9..20bf33ce5ff 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go @@ -14,7 +14,7 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { @@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -370,23 +381,6 @@ func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { - var _p0 unsafe.Pointer - if len(events) > 0 { - _p0 = unsafe.Pointer(&events[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Exit(code int) { Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return @@ -746,16 +740,6 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pause() (err error) { - _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(newroot) @@ -788,6 +772,16 @@ func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -912,6 +906,16 @@ func Settimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1053,22 +1057,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Utime(path string, buf *Utimbuf) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1645,9 +1633,25 @@ func Gettimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Time(t *Time_t) (tt Time_t, err error) { - r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0) - tt = Time_t(r0) +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) if e1 != 0 { err = errnoErr(e1) } @@ -1728,7 +1732,7 @@ func mmap2(addr uintptr, length uintptr, prot int, flags int, fd int, pageOffset // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func getrlimit(resource int, rlim *rlimit32) (err error) { - _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) + _, _, e1 := RawSyscall(SYS_UGETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1744,3 +1748,14 @@ func setrlimit(resource int, rlim *rlimit32) (err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go index 8eafcebcbfd..c7286db4851 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go @@ -14,7 +14,7 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { @@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -370,23 +381,6 @@ func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { - var _p0 unsafe.Pointer - if len(events) > 0 { - _p0 = unsafe.Pointer(&events[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Exit(code int) { Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return @@ -746,16 +740,6 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pause() (err error) { - _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(newroot) @@ -788,6 +772,16 @@ func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -912,6 +906,16 @@ func Settimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1053,22 +1057,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Utime(path string, buf *Utimbuf) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1212,6 +1200,23 @@ func Munlockall() (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_PWAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) if e1 != 0 { @@ -1720,17 +1725,6 @@ func Gettimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Time(t *Time_t) (tt Time_t, err error) { - r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0) - tt = Time_t(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func pipe2(p *[2]_C_int, flags int) (err error) { _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) if e1 != 0 { diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go new file mode 100644 index 00000000000..b709ed2f532 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go @@ -0,0 +1,1803 @@ +// mksyscall.pl syscall_linux.go syscall_linux_mips64x.go +// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT + +// +build mips64,linux + +package unix + +import ( + "syscall" + "unsafe" +) + +var _ syscall.Errno + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0) + use(unsafe.Pointer(_p0)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(buf) > 0 { + _p1 = unsafe.Pointer(&buf[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + use(unsafe.Pointer(_p0)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unlinkat(dirfd int, path string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimes(path string, times *[2]Timeval) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) { + _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getcwd(buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { + r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(arg) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(source) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(target) + if err != nil { + return + } + var _p2 *byte + _p2, err = BytePtrFromString(fstype) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + use(unsafe.Pointer(_p2)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Acct(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Adjtimex(buf *Timex) (state int, err error) { + r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0) + state = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chdir(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chroot(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ClockGettime(clockid int32, time *Timespec) (err error) { + _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Close(fd int) (err error) { + _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup(oldfd int) (fd int, err error) { + r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup3(oldfd int, newfd int, flags int) (err error) { + _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCreate(size int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCreate1(flag int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { + _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Exit(code int) { + Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fallocate(fd int, mode uint32, off int64, len int64) (err error) { + _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchdir(fd int) (err error) { + _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchmod(fd int, mode uint32) (err error) { + _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func fcntl(fd int, cmd int, arg int) (val int, err error) { + r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg)) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fdatasync(fd int) (err error) { + _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Flock(fd int, how int) (err error) { + _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fsync(fd int) (err error) { + _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getdents(fd int, buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpgid(pid int) (pgid int, err error) { + r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpid() (pid int) { + r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) + pid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getppid() (ppid int) { + r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) + ppid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpriority(which int, who int) (prio int, err error) { + r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrusage(who int, rusage *Rusage) (err error) { + _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettid() (tid int) { + r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0) + tid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getxattr(path string, attr string, dest []byte) (sz int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + var _p2 unsafe.Pointer + if len(dest) > 0 { + _p2 = unsafe.Pointer(&dest[0]) + } else { + _p2 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + sz = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(pathname) + if err != nil { + return + } + r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask)) + use(unsafe.Pointer(_p0)) + watchdesc = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyInit1(flags int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0) + success = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Kill(pid int, sig syscall.Signal) (err error) { + _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Klogctl(typ int, buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Listxattr(path string, dest []byte) (sz int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(dest) > 0 { + _p1 = unsafe.Pointer(&dest[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest))) + use(unsafe.Pointer(_p0)) + sz = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mkdirat(dirfd int, path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Nanosleep(time *Timespec, leftover *Timespec) (err error) { + _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func PivotRoot(newroot string, putold string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(newroot) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(putold) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { + _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func read(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Removexattr(path string, attr string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setdomainname(p []byte) (err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sethostname(p []byte) (err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setpgid(pid int, pgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setsid() (pid int, err error) { + r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Settimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setpriority(which int, who int, prio int) (err error) { + _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setxattr(path string, attr string, data []byte, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + var _p2 unsafe.Pointer + if len(data) > 0 { + _p2 = unsafe.Pointer(&data[0]) + } else { + _p2 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sync() { + Syscall(SYS_SYNC, 0, 0, 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sysinfo(info *Sysinfo_t) (err error) { + _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) { + _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Times(tms *Tms) (ticks uintptr, err error) { + r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0) + ticks = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Umask(mask int) (oldmask int) { + r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0) + oldmask = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Uname(buf *Utsname) (err error) { + _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unmount(target string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(target) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unshare(flags int) (err error) { + _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ustat(dev int, ubuf *Ustat_t) (err error) { + _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func write(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func exitThread(code int) (err error) { + _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func readlen(fd int, p *byte, np int) (n int, err error) { + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func writelen(fd int, p *byte, np int) (n int, err error) { + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func munmap(addr uintptr, length uintptr) (err error) { + _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Madvise(b []byte, advice int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mprotect(b []byte, prot int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlockall(flags int) (err error) { + _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlockall() (err error) { + _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchown(fd int, uid int, gid int) (err error) { + _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstatfs(fd int, buf *Statfs_t) (err error) { + _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ftruncate(fd int, length int64) (err error) { + _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getegid() (egid int) { + r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) + egid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Geteuid() (euid int) { + r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) + euid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getgid() (gid int) { + r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) + gid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrlimit(resource int, rlim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getuid() (uid int) { + r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) + uid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Lchown(path string, uid int, gid int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Listen(s int, n int) (err error) { + _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Seek(fd int, offset int64, whence int) (off int64, err error) { + r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) + off = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { + r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) + written = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setfsgid(gid int) (err error) { + _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setfsuid(uid int) (err error) { + _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setregid(rgid int, egid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresgid(rgid int, egid int, sgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresuid(ruid int, euid int, suid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setrlimit(resource int, rlim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setreuid(ruid int, euid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Shutdown(fd int, how int) (err error) { + _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags)) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Statfs(path string, buf *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func SyncFileRange(fd int, off int64, n int64, flags int) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Truncate(path string, length int64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) { + r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getgroups(n int, list *_Gid_t) (nn int, err error) { + r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + nn = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setgroups(n int, list *_Gid_t) (err error) { + _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { + _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { + _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socket(domain int, typ int, proto int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { + _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { + r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)) + xaddr = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func fstat(fd int, st *stat_t) (err error) { + _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(st)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func lstat(path string, st *stat_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func stat(path string, st *stat_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go new file mode 100644 index 00000000000..5cb1c567156 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go @@ -0,0 +1,1803 @@ +// mksyscall.pl syscall_linux.go syscall_linux_mips64x.go +// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT + +// +build mips64le,linux + +package unix + +import ( + "syscall" + "unsafe" +) + +var _ syscall.Errno + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0) + use(unsafe.Pointer(_p0)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(buf) > 0 { + _p1 = unsafe.Pointer(&buf[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + use(unsafe.Pointer(_p0)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unlinkat(dirfd int, path string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimes(path string, times *[2]Timeval) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) { + _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getcwd(buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error) { + r0, _, e1 := Syscall6(SYS_WAIT4, uintptr(pid), uintptr(unsafe.Pointer(wstatus)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(arg) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(source) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(target) + if err != nil { + return + } + var _p2 *byte + _p2, err = BytePtrFromString(fstype) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + use(unsafe.Pointer(_p2)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Acct(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Adjtimex(buf *Timex) (state int, err error) { + r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0) + state = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chdir(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Chroot(path string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_CHROOT, uintptr(unsafe.Pointer(_p0)), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ClockGettime(clockid int32, time *Timespec) (err error) { + _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Close(fd int) (err error) { + _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup(oldfd int) (fd int, err error) { + r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup3(oldfd int, newfd int, flags int) (err error) { + _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCreate(size int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCreate1(flag int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { + _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Exit(code int) { + Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fallocate(fd int, mode uint32, off int64, len int64) (err error) { + _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchdir(fd int) (err error) { + _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchmod(fd int, mode uint32) (err error) { + _, _, e1 := Syscall(SYS_FCHMOD, uintptr(fd), uintptr(mode), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func fcntl(fd int, cmd int, arg int) (val int, err error) { + r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg)) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fdatasync(fd int) (err error) { + _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Flock(fd int, how int) (err error) { + _, _, e1 := Syscall(SYS_FLOCK, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fsync(fd int) (err error) { + _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getdents(fd int, buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpgid(pid int) (pgid int, err error) { + r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0) + pgid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpid() (pid int) { + r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) + pid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getppid() (ppid int) { + r0, _, _ := RawSyscall(SYS_GETPPID, 0, 0, 0) + ppid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getpriority(which int, who int) (prio int, err error) { + r0, _, e1 := Syscall(SYS_GETPRIORITY, uintptr(which), uintptr(who), 0) + prio = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrusage(who int, rusage *Rusage) (err error) { + _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettid() (tid int) { + r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0) + tid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getxattr(path string, attr string, dest []byte) (sz int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + var _p2 unsafe.Pointer + if len(dest) > 0 { + _p2 = unsafe.Pointer(&dest[0]) + } else { + _p2 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + sz = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(pathname) + if err != nil { + return + } + r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask)) + use(unsafe.Pointer(_p0)) + watchdesc = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyInit1(flags int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0) + success = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Kill(pid int, sig syscall.Signal) (err error) { + _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Klogctl(typ int, buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Listxattr(path string, dest []byte) (sz int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(dest) > 0 { + _p1 = unsafe.Pointer(&dest[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest))) + use(unsafe.Pointer(_p0)) + sz = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mkdirat(dirfd int, path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Nanosleep(time *Timespec, leftover *Timespec) (err error) { + _, _, e1 := Syscall(SYS_NANOSLEEP, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func PivotRoot(newroot string, putold string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(newroot) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(putold) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { + _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func read(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Removexattr(path string, attr string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setdomainname(p []byte) (err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sethostname(p []byte) (err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setpgid(pid int, pgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETPGID, uintptr(pid), uintptr(pgid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setsid() (pid int, err error) { + r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Settimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setpriority(which int, who int, prio int) (err error) { + _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setxattr(path string, attr string, data []byte, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + var _p2 unsafe.Pointer + if len(data) > 0 { + _p2 = unsafe.Pointer(&data[0]) + } else { + _p2 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sync() { + Syscall(SYS_SYNC, 0, 0, 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sysinfo(info *Sysinfo_t) (err error) { + _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) { + _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Times(tms *Tms) (ticks uintptr, err error) { + r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0) + ticks = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Umask(mask int) (oldmask int) { + r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0) + oldmask = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Uname(buf *Utsname) (err error) { + _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unmount(target string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(target) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unshare(flags int) (err error) { + _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ustat(dev int, ubuf *Ustat_t) (err error) { + _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func write(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func exitThread(code int) (err error) { + _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func readlen(fd int, p *byte, np int) (n int, err error) { + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func writelen(fd int, p *byte, np int) (n int, err error) { + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func munmap(addr uintptr, length uintptr) (err error) { + _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Madvise(b []byte, advice int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mprotect(b []byte, prot int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlockall(flags int) (err error) { + _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlockall() (err error) { + _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchown(fd int, uid int, gid int) (err error) { + _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstatfs(fd int, buf *Statfs_t) (err error) { + _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ftruncate(fd int, length int64) (err error) { + _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getegid() (egid int) { + r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) + egid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Geteuid() (euid int) { + r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) + euid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getgid() (gid int) { + r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) + gid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrlimit(resource int, rlim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getuid() (uid int) { + r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) + uid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Lchown(path string, uid int, gid int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Listen(s int, n int) (err error) { + _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(n), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Seek(fd int, offset int64, whence int) (off int64, err error) { + r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) + off = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PSELECT6, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { + r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) + written = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setfsgid(gid int) (err error) { + _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setfsuid(uid int) (err error) { + _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setregid(rgid int, egid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresgid(rgid int, egid int, sgid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESGID, uintptr(rgid), uintptr(egid), uintptr(sgid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setresuid(ruid int, euid int, suid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETRESUID, uintptr(ruid), uintptr(euid), uintptr(suid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setrlimit(resource int, rlim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setreuid(ruid int, euid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Shutdown(fd int, how int) (err error) { + _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(fd), uintptr(how), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags)) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Statfs(path string, buf *Statfs_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func SyncFileRange(fd int, off int64, n int64, flags int) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Truncate(path string, length int64) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { + r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error) { + r0, _, e1 := Syscall6(SYS_ACCEPT4, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), uintptr(flags), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { + _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getgroups(n int, list *_Gid_t) (nn int, err error) { + r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + nn = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setgroups(n int, list *_Gid_t) (err error) { + _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { + _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { + _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socket(domain int, typ int, proto int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { + _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { + r0, _, e1 := Syscall6(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flags), uintptr(fd), uintptr(offset)) + xaddr = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func fstat(fd int, st *stat_t) (err error) { + _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(st)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func lstat(path string, st *stat_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func stat(path string, st *stat_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_STAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(st)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go index 008a52638b9..873bb18f785 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go @@ -14,7 +14,7 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { @@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -370,23 +381,6 @@ func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { - var _p0 unsafe.Pointer - if len(events) > 0 { - _p0 = unsafe.Pointer(&events[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Exit(code int) { Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return @@ -746,16 +740,6 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pause() (err error) { - _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(newroot) @@ -788,6 +772,16 @@ func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -912,6 +906,16 @@ func Settimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1053,22 +1057,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Utime(path string, buf *Utimbuf) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1212,6 +1200,33 @@ func Munlockall() (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup2(oldfd int, newfd int) (err error) { + _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) if e1 != 0 { @@ -1294,6 +1309,17 @@ func Getuid() (uid int) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func InotifyInit() (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Ioperm(from int, num int, on int) (err error) { _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on)) if e1 != 0 { @@ -1356,6 +1382,16 @@ func Lstat(path string, stat *Stat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1780,3 +1816,50 @@ func Time(t *Time_t) (tt Time_t, err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe(p *[2]_C_int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go index d91f763af9d..bf08835c5c8 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go @@ -14,7 +14,7 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(oldpath) if err != nil { @@ -53,6 +53,17 @@ func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -370,23 +381,6 @@ func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { - var _p0 unsafe.Pointer - if len(events) > 0 { - _p0 = unsafe.Pointer(&events[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Exit(code int) { Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return @@ -746,16 +740,6 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pause() (err error) { - _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(newroot) @@ -788,6 +772,16 @@ func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func read(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -912,6 +906,16 @@ func Settimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1053,22 +1057,6 @@ func Ustat(dev int, ubuf *Ustat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Utime(path string, buf *Utimbuf) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func write(fd int, p []byte) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1212,6 +1200,33 @@ func Munlockall() (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup2(oldfd int, newfd int) (err error) { + _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) if e1 != 0 { @@ -1294,6 +1309,17 @@ func Getuid() (uid int) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func InotifyInit() (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Ioperm(from int, num int, on int) (err error) { _, _, e1 := Syscall(SYS_IOPERM, uintptr(from), uintptr(num), uintptr(on)) if e1 != 0 { @@ -1356,6 +1382,16 @@ func Lstat(path string, stat *Stat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 unsafe.Pointer if len(p) > 0 { @@ -1780,3 +1816,50 @@ func Time(t *Time_t) (tt Time_t, err error) { } return } + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe(p *[2]_C_int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE, uintptr(unsafe.Pointer(p)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go similarity index 57% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go index 32e46af601e..dbaa53b9843 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_dragonfly_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go @@ -1,7 +1,7 @@ -// mksyscall.pl -l32 -dragonfly syscall_bsd.go syscall_dragonfly.go syscall_dragonfly_386.go +// mksyscall.pl syscall_linux.go syscall_linux_s390x.go // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT -// +build 386,dragonfly +// +build s390x,linux package unix @@ -14,8 +14,47 @@ var _ syscall.Errno // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func getgroups(ngid int, gid *_Gid_t) (n int, err error) { - r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) +func Linkat(olddirfd int, oldpath string, newdirfd int, newpath string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_LINKAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := Syscall6(SYS_OPENAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0) + use(unsafe.Pointer(_p0)) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func ppoll(fds *PollFd, nfds int, timeout *Timespec, sigmask *Sigset_t) (n int, err error) { + r0, _, e1 := Syscall6(SYS_PPOLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(unsafe.Pointer(timeout)), uintptr(unsafe.Pointer(sigmask)), 0, 0) n = int(r0) if e1 != 0 { err = errnoErr(e1) @@ -25,8 +64,118 @@ func getgroups(ngid int, gid *_Gid_t) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func setgroups(ngid int, gid *_Gid_t) (err error) { - _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0) +func readlinkat(dirfd int, path string, buf []byte) (n int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 unsafe.Pointer + if len(buf) > 0 { + _p1 = unsafe.Pointer(&buf[0]) + } else { + _p1 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_READLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf)), 0, 0) + use(unsafe.Pointer(_p0)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func symlinkat(oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_SYMLINKAT, uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1))) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func unlinkat(dirfd int, path string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UNLINKAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimes(path string, times *[2]Timeval) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func utimensat(dirfd int, path string, times *[2]Timespec, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_UTIMENSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func futimesat(dirfd int, path *byte, times *[2]Timeval) (err error) { + _, _, e1 := Syscall(SYS_FUTIMESAT, uintptr(dirfd), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times))) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getcwd(buf []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_GETCWD, uintptr(_p0), uintptr(len(buf)), 0) + n = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -46,9 +195,8 @@ func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { - r0, _, e1 := Syscall(SYS_ACCEPT, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) - fd = int(r0) +func ptrace(request int, pid int, addr uintptr, data uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PTRACE, uintptr(request), uintptr(pid), uintptr(addr), uintptr(data), 0, 0) if e1 != 0 { err = errnoErr(e1) } @@ -57,186 +205,13 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { - _, _, e1 := Syscall(SYS_BIND, uintptr(s), uintptr(addr), uintptr(addrlen)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func connect(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) { - _, _, e1 := Syscall(SYS_CONNECT, uintptr(s), uintptr(addr), uintptr(addrlen)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func socket(domain int, typ int, proto int) (fd int, err error) { - r0, _, e1 := RawSyscall(SYS_SOCKET, uintptr(domain), uintptr(typ), uintptr(proto)) - fd = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func getsockopt(s int, level int, name int, val unsafe.Pointer, vallen *_Socklen) (err error) { - _, _, e1 := Syscall6(SYS_GETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(unsafe.Pointer(vallen)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { - _, _, e1 := Syscall6(SYS_SETSOCKOPT, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { - _, _, e1 := RawSyscall(SYS_GETPEERNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { - _, _, e1 := RawSyscall(SYS_GETSOCKNAME, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen))) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Shutdown(s int, how int) (err error) { - _, _, e1 := Syscall(SYS_SHUTDOWN, uintptr(s), uintptr(how), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func socketpair(domain int, typ int, proto int, fd *[2]int32) (err error) { - _, _, e1 := RawSyscall6(SYS_SOCKETPAIR, uintptr(domain), uintptr(typ), uintptr(proto), uintptr(unsafe.Pointer(fd)), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error) { - var _p0 unsafe.Pointer - if len(p) > 0 { - _p0 = unsafe.Pointer(&p[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_RECVFROM, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(fromlen))) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func sendto(s int, buf []byte, flags int, to unsafe.Pointer, addrlen _Socklen) (err error) { - var _p0 unsafe.Pointer - if len(buf) > 0 { - _p0 = unsafe.Pointer(&buf[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - _, _, e1 := Syscall6(SYS_SENDTO, uintptr(s), uintptr(_p0), uintptr(len(buf)), uintptr(flags), uintptr(to), uintptr(addrlen)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { - r0, _, e1 := Syscall(SYS_RECVMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { - r0, _, e1 := Syscall(SYS_SENDMSG, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags)) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func kevent(kq int, change unsafe.Pointer, nchange int, event unsafe.Pointer, nevent int, timeout *Timespec) (n int, err error) { - r0, _, e1 := Syscall6(SYS_KEVENT, uintptr(kq), uintptr(change), uintptr(nchange), uintptr(event), uintptr(nevent), uintptr(unsafe.Pointer(timeout))) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error) { - var _p0 unsafe.Pointer - if len(mib) > 0 { - _p0 = unsafe.Pointer(&mib[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func utimes(path string, timeval *[2]Timeval) (err error) { +func reboot(magic1 uint, magic2 uint, cmd int, arg string) (err error) { var _p0 *byte - _p0, err = BytePtrFromString(path) + _p0, err = BytePtrFromString(arg) if err != nil { return } - _, _, e1 := Syscall(SYS_UTIMES, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(timeval)), 0) + _, _, e1 := Syscall6(SYS_REBOOT, uintptr(magic1), uintptr(magic2), uintptr(cmd), uintptr(unsafe.Pointer(_p0)), 0, 0) use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) @@ -246,8 +221,26 @@ func utimes(path string, timeval *[2]Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func futimes(fd int, timeval *[2]Timeval) (err error) { - _, _, e1 := Syscall(SYS_FUTIMES, uintptr(fd), uintptr(unsafe.Pointer(timeval)), 0) +func mount(source string, target string, fstype string, flags uintptr, data *byte) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(source) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(target) + if err != nil { + return + } + var _p2 *byte + _p2, err = BytePtrFromString(fstype) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(unsafe.Pointer(_p2)), uintptr(flags), uintptr(unsafe.Pointer(data)), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + use(unsafe.Pointer(_p2)) if e1 != 0 { err = errnoErr(e1) } @@ -256,70 +249,13 @@ func futimes(fd int, timeval *[2]Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func fcntl(fd int, cmd int, arg int) (val int, err error) { - r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg)) - val = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func pipe() (r int, w int, err error) { - r0, r1, e1 := RawSyscall(SYS_PIPE, 0, 0, 0) - r = int(r0) - w = int(r1) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func extpread(fd int, p []byte, flags int, offset int64) (n int, err error) { - var _p0 unsafe.Pointer - if len(p) > 0 { - _p0 = unsafe.Pointer(&p[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EXTPREAD, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), uintptr(offset>>32)) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func extpwrite(fd int, p []byte, flags int, offset int64) (n int, err error) { - var _p0 unsafe.Pointer - if len(p) > 0 { - _p0 = unsafe.Pointer(&p[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall6(SYS_EXTPWRITE, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(flags), uintptr(offset), uintptr(offset>>32)) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Access(path string, mode uint32) (err error) { +func Acct(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - _, _, e1 := Syscall(SYS_ACCESS, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) + _, _, e1 := Syscall(SYS_ACCT, uintptr(unsafe.Pointer(_p0)), 0, 0) use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) @@ -329,8 +265,9 @@ func Access(path string, mode uint32) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Adjtime(delta *Timeval, olddelta *Timeval) (err error) { - _, _, e1 := Syscall(SYS_ADJTIME, uintptr(unsafe.Pointer(delta)), uintptr(unsafe.Pointer(olddelta)), 0) +func Adjtimex(buf *Timex) (state int, err error) { + r0, _, e1 := Syscall(SYS_ADJTIMEX, uintptr(unsafe.Pointer(buf)), 0, 0) + state = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -355,54 +292,6 @@ func Chdir(path string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Chflags(path string, flags int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_CHFLAGS, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Chmod(path string, mode uint32) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_CHMOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Chown(path string, uid int, gid int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_CHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Chroot(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -419,6 +308,16 @@ func Chroot(path string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func ClockGettime(clockid int32, time *Timespec) (err error) { + _, _, e1 := Syscall(SYS_CLOCK_GETTIME, uintptr(clockid), uintptr(unsafe.Pointer(time)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Close(fd int) (err error) { _, _, e1 := Syscall(SYS_CLOSE, uintptr(fd), 0, 0) if e1 != 0 { @@ -429,9 +328,9 @@ func Close(fd int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Dup(fd int) (nfd int, err error) { - r0, _, e1 := Syscall(SYS_DUP, uintptr(fd), 0, 0) - nfd = int(r0) +func Dup(oldfd int) (fd int, err error) { + r0, _, e1 := Syscall(SYS_DUP, uintptr(oldfd), 0, 0) + fd = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -440,8 +339,40 @@ func Dup(fd int) (nfd int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Dup2(from int, to int) (err error) { - _, _, e1 := Syscall(SYS_DUP2, uintptr(from), uintptr(to), 0) +func Dup3(oldfd int, newfd int, flags int) (err error) { + _, _, e1 := Syscall(SYS_DUP3, uintptr(oldfd), uintptr(newfd), uintptr(flags)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCreate(size int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE, uintptr(size), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCreate1(flag int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_EPOLL_CREATE1, uintptr(flag), 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error) { + _, _, e1 := RawSyscall6(SYS_EPOLL_CTL, uintptr(epfd), uintptr(op), uintptr(fd), uintptr(unsafe.Pointer(event)), 0, 0) if e1 != 0 { err = errnoErr(e1) } @@ -451,14 +382,20 @@ func Dup2(from int, to int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func Exit(code int) { - Syscall(SYS_EXIT, uintptr(code), 0, 0) + Syscall(SYS_EXIT_GROUP, uintptr(code), 0, 0) return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Fchdir(fd int) (err error) { - _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) +func Faccessat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FACCESSAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) } @@ -467,8 +404,18 @@ func Fchdir(fd int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Fchflags(fd int, flags int) (err error) { - _, _, e1 := Syscall(SYS_FCHFLAGS, uintptr(fd), uintptr(flags), 0) +func Fallocate(fd int, mode uint32, off int64, len int64) (err error) { + _, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(len), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchdir(fd int) (err error) { + _, _, e1 := Syscall(SYS_FCHDIR, uintptr(fd), 0, 0) if e1 != 0 { err = errnoErr(e1) } @@ -487,8 +434,51 @@ func Fchmod(fd int, mode uint32) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Fchown(fd int, uid int, gid int) (err error) { - _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) +func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHMODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_FCHOWNAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func fcntl(fd int, cmd int, arg int) (val int, err error) { + r0, _, e1 := Syscall(SYS_FCNTL, uintptr(fd), uintptr(cmd), uintptr(arg)) + val = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fdatasync(fd int) (err error) { + _, _, e1 := Syscall(SYS_FDATASYNC, uintptr(fd), 0, 0) if e1 != 0 { err = errnoErr(e1) } @@ -507,37 +497,6 @@ func Flock(fd int, how int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Fpathconf(fd int, name int) (val int, err error) { - r0, _, e1 := Syscall(SYS_FPATHCONF, uintptr(fd), uintptr(name), 0) - val = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Fstat(fd int, stat *Stat_t) (err error) { - _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Fstatfs(fd int, stat *Statfs_t) (err error) { - _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Fsync(fd int) (err error) { _, _, e1 := Syscall(SYS_FSYNC, uintptr(fd), 0, 0) if e1 != 0 { @@ -548,24 +507,14 @@ func Fsync(fd int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Ftruncate(fd int, length int64) (err error) { - _, _, e1 := Syscall6(SYS_FTRUNCATE, uintptr(fd), 0, uintptr(length), uintptr(length>>32), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { +func Getdents(fd int, buf []byte) (n int, err error) { var _p0 unsafe.Pointer if len(buf) > 0 { _p0 = unsafe.Pointer(&buf[0]) } else { _p0 = unsafe.Pointer(&_zero) } - r0, _, e1 := Syscall6(SYS_GETDIRENTRIES, uintptr(fd), uintptr(_p0), uintptr(len(buf)), uintptr(unsafe.Pointer(basep)), 0, 0) + r0, _, e1 := Syscall(SYS_GETDENTS64, uintptr(fd), uintptr(_p0), uintptr(len(buf))) n = int(r0) if e1 != 0 { err = errnoErr(e1) @@ -575,38 +524,6 @@ func Getdirentries(fd int, buf []byte, basep *uintptr) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Getdtablesize() (size int) { - r0, _, _ := Syscall(SYS_GETDTABLESIZE, 0, 0, 0) - size = int(r0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Getegid() (egid int) { - r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) - egid = int(r0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Geteuid() (uid int) { - r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) - uid = int(r0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Getgid() (gid int) { - r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) - gid = int(r0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getpgid(pid int) (pgid int, err error) { r0, _, e1 := RawSyscall(SYS_GETPGID, uintptr(pid), 0, 0) pgid = int(r0) @@ -618,14 +535,6 @@ func Getpgid(pid int) (pgid int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Getpgrp() (pgrp int) { - r0, _, _ := RawSyscall(SYS_GETPGRP, 0, 0, 0) - pgrp = int(r0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getpid() (pid int) { r0, _, _ := RawSyscall(SYS_GETPID, 0, 0, 0) pid = int(r0) @@ -653,16 +562,6 @@ func Getpriority(which int, who int) (prio int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Getrlimit(which int, lim *Rlimit) (err error) { - _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - func Getrusage(who int, rusage *Rusage) (err error) { _, _, e1 := RawSyscall(SYS_GETRUSAGE, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0) if e1 != 0 { @@ -673,9 +572,35 @@ func Getrusage(who int, rusage *Rusage) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Getsid(pid int) (sid int, err error) { - r0, _, e1 := RawSyscall(SYS_GETSID, uintptr(pid), 0, 0) - sid = int(r0) +func Gettid() (tid int) { + r0, _, _ := RawSyscall(SYS_GETTID, 0, 0, 0) + tid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getxattr(path string, attr string, dest []byte) (sz int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + var _p2 unsafe.Pointer + if len(dest) > 0 { + _p2 = unsafe.Pointer(&dest[0]) + } else { + _p2 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_GETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(dest)), 0, 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + sz = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -684,8 +609,15 @@ func Getsid(pid int) (sid int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Gettimeofday(tv *Timeval) (err error) { - _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) +func InotifyAddWatch(fd int, pathname string, mask uint32) (watchdesc int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(pathname) + if err != nil { + return + } + r0, _, e1 := Syscall(SYS_INOTIFY_ADD_WATCH, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(mask)) + use(unsafe.Pointer(_p0)) + watchdesc = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -694,34 +626,8 @@ func Gettimeofday(tv *Timeval) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Getuid() (uid int) { - r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) - uid = int(r0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Issetugid() (tainted bool) { - r0, _, _ := Syscall(SYS_ISSETUGID, 0, 0, 0) - tainted = bool(r0 != 0) - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Kill(pid int, signum syscall.Signal) (err error) { - _, _, e1 := Syscall(SYS_KILL, uintptr(pid), uintptr(signum), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Kqueue() (fd int, err error) { - r0, _, e1 := Syscall(SYS_KQUEUE, 0, 0, 0) +func InotifyInit1(flags int) (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT1, uintptr(flags), 0, 0) fd = int(r0) if e1 != 0 { err = errnoErr(e1) @@ -731,14 +637,9 @@ func Kqueue() (fd int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Lchown(path string, uid int, gid int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) - use(unsafe.Pointer(_p0)) +func InotifyRmWatch(fd int, watchdesc uint32) (success int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_RM_WATCH, uintptr(fd), uintptr(watchdesc), 0) + success = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -747,20 +648,8 @@ func Lchown(path string, uid int, gid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Link(path string, link string) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - var _p1 *byte - _p1, err = BytePtrFromString(link) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) - use(unsafe.Pointer(_p0)) - use(unsafe.Pointer(_p1)) +func Kill(pid int, sig syscall.Signal) (err error) { + _, _, e1 := RawSyscall(SYS_KILL, uintptr(pid), uintptr(sig), 0) if e1 != 0 { err = errnoErr(e1) } @@ -769,88 +658,15 @@ func Link(path string, link string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Listen(s int, backlog int) (err error) { - _, _, e1 := Syscall(SYS_LISTEN, uintptr(s), uintptr(backlog), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Lstat(path string, stat *Stat_t) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Mkdir(path string, mode uint32) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKDIR, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Mkfifo(path string, mode uint32) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKFIFO, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Mknod(path string, mode uint32, dev int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_MKNOD, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev)) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Mlock(b []byte) (err error) { +func Klogctl(typ int, buf []byte) (n int, err error) { var _p0 unsafe.Pointer - if len(b) > 0 { - _p0 = unsafe.Pointer(&b[0]) + if len(buf) > 0 { + _p0 = unsafe.Pointer(&buf[0]) } else { _p0 = unsafe.Pointer(&_zero) } - _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) + r0, _, e1 := Syscall(SYS_SYSLOG, uintptr(typ), uintptr(_p0), uintptr(len(buf))) + n = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -859,24 +675,21 @@ func Mlock(b []byte) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Mlockall(flags int) (err error) { - _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0) - if e1 != 0 { - err = errnoErr(e1) +func Listxattr(path string, dest []byte) (sz int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Mprotect(b []byte, prot int) (err error) { - var _p0 unsafe.Pointer - if len(b) > 0 { - _p0 = unsafe.Pointer(&b[0]) + var _p1 unsafe.Pointer + if len(dest) > 0 { + _p1 = unsafe.Pointer(&dest[0]) } else { - _p0 = unsafe.Pointer(&_zero) + _p1 = unsafe.Pointer(&_zero) } - _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + r0, _, e1 := Syscall(SYS_LISTXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(dest))) + use(unsafe.Pointer(_p0)) + sz = int(r0) if e1 != 0 { err = errnoErr(e1) } @@ -885,14 +698,14 @@ func Mprotect(b []byte, prot int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Munlock(b []byte) (err error) { - var _p0 unsafe.Pointer - if len(b) > 0 { - _p0 = unsafe.Pointer(&b[0]) - } else { - _p0 = unsafe.Pointer(&_zero) +func Mkdirat(dirfd int, path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return } - _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) + _, _, e1 := Syscall(SYS_MKDIRAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode)) + use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) } @@ -901,8 +714,14 @@ func Munlock(b []byte) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Munlockall() (err error) { - _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) +func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall6(SYS_MKNODAT, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) } @@ -921,15 +740,20 @@ func Nanosleep(time *Timespec, leftover *Timespec) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Open(path string, mode int, perm uint32) (fd int, err error) { +func PivotRoot(newroot string, putold string) (err error) { var _p0 *byte - _p0, err = BytePtrFromString(path) + _p0, err = BytePtrFromString(newroot) if err != nil { return } - r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(perm)) + var _p1 *byte + _p1, err = BytePtrFromString(putold) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_PIVOT_ROOT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) use(unsafe.Pointer(_p0)) - fd = int(r0) + use(unsafe.Pointer(_p1)) if e1 != 0 { err = errnoErr(e1) } @@ -938,15 +762,18 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Pathconf(path string, name int) (val int, err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return +func prlimit(pid int, resource int, old *Rlimit, newlimit *Rlimit) (err error) { + _, _, e1 := RawSyscall6(SYS_PRLIMIT64, uintptr(pid), uintptr(resource), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(newlimit)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) } - r0, _, e1 := Syscall(SYS_PATHCONF, uintptr(unsafe.Pointer(_p0)), uintptr(name), 0) - use(unsafe.Pointer(_p0)) - val = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Prctl(option int, arg2 uintptr, arg3 uintptr, arg4 uintptr, arg5 uintptr) (err error) { + _, _, e1 := Syscall6(SYS_PRCTL, uintptr(option), uintptr(arg2), uintptr(arg3), uintptr(arg4), uintptr(arg5), 0) if e1 != 0 { err = errnoErr(e1) } @@ -972,41 +799,18 @@ func read(fd int, p []byte) (n int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Readlink(path string, buf []byte) (n int, err error) { +func Removexattr(path string, attr string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - var _p1 unsafe.Pointer - if len(buf) > 0 { - _p1 = unsafe.Pointer(&buf[0]) - } else { - _p1 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall(SYS_READLINK, uintptr(unsafe.Pointer(_p0)), uintptr(_p1), uintptr(len(buf))) - use(unsafe.Pointer(_p0)) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Rename(from string, to string) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(from) - if err != nil { - return - } var _p1 *byte - _p1, err = BytePtrFromString(to) + _p1, err = BytePtrFromString(attr) if err != nil { return } - _, _, e1 := Syscall(SYS_RENAME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) + _, _, e1 := Syscall(SYS_REMOVEXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) use(unsafe.Pointer(_p0)) use(unsafe.Pointer(_p1)) if e1 != 0 { @@ -1017,30 +821,20 @@ func Rename(from string, to string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Revoke(path string) (err error) { +func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { var _p0 *byte - _p0, err = BytePtrFromString(path) + _p0, err = BytePtrFromString(oldpath) if err != nil { return } - _, _, e1 := Syscall(SYS_REVOKE, uintptr(unsafe.Pointer(_p0)), 0, 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Rmdir(path string) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) + var _p1 *byte + _p1, err = BytePtrFromString(newpath) if err != nil { return } - _, _, e1 := Syscall(SYS_RMDIR, uintptr(unsafe.Pointer(_p0)), 0, 0) + _, _, e1 := Syscall6(SYS_RENAMEAT, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) if e1 != 0 { err = errnoErr(e1) } @@ -1049,9 +843,14 @@ func Rmdir(path string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { - r0, r1, e1 := Syscall6(SYS_LSEEK, uintptr(fd), 0, uintptr(offset), uintptr(offset>>32), uintptr(whence), 0) - newoffset = int64(int64(r1)<<32 | int64(r0)) +func Setdomainname(p []byte) (err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_SETDOMAINNAME, uintptr(_p0), uintptr(len(p)), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1060,54 +859,14 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Select(n int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (err error) { - _, _, e1 := Syscall6(SYS_SELECT, uintptr(n), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) - if e1 != 0 { - err = errnoErr(e1) +func Sethostname(p []byte) (err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Setegid(egid int) (err error) { - _, _, e1 := RawSyscall(SYS_SETEGID, uintptr(egid), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Seteuid(euid int) (err error) { - _, _, e1 := RawSyscall(SYS_SETEUID, uintptr(euid), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Setgid(gid int) (err error) { - _, _, e1 := RawSyscall(SYS_SETGID, uintptr(gid), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Setlogin(name string) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(name) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_SETLOGIN, uintptr(unsafe.Pointer(_p0)), 0, 0) - use(unsafe.Pointer(_p0)) + _, _, e1 := Syscall(SYS_SETHOSTNAME, uintptr(_p0), uintptr(len(p)), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1126,6 +885,37 @@ func Setpgid(pid int, pgid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT +func Setsid() (pid int, err error) { + r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0) + pid = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Settimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setns(fd int, nstype int) (err error) { + _, _, e1 := Syscall(SYS_SETNS, uintptr(fd), uintptr(nstype), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + func Setpriority(which int, who int, prio int) (err error) { _, _, e1 := Syscall(SYS_SETPRIORITY, uintptr(which), uintptr(who), uintptr(prio)) if e1 != 0 { @@ -1136,8 +926,26 @@ func Setpriority(which int, who int, prio int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Setregid(rgid int, egid int) (err error) { - _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) +func Setxattr(path string, attr string, data []byte, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(attr) + if err != nil { + return + } + var _p2 unsafe.Pointer + if len(data) > 0 { + _p2 = unsafe.Pointer(&data[0]) + } else { + _p2 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall6(SYS_SETXATTR, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), uintptr(_p2), uintptr(len(data)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) if e1 != 0 { err = errnoErr(e1) } @@ -1146,8 +954,513 @@ func Setregid(rgid int, egid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Setreuid(ruid int, euid int) (err error) { - _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) +func Sync() { + Syscall(SYS_SYNC, 0, 0, 0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Sysinfo(info *Sysinfo_t) (err error) { + _, _, e1 := RawSyscall(SYS_SYSINFO, uintptr(unsafe.Pointer(info)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tee(rfd int, wfd int, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0) + n = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Tgkill(tgid int, tid int, sig syscall.Signal) (err error) { + _, _, e1 := RawSyscall(SYS_TGKILL, uintptr(tgid), uintptr(tid), uintptr(sig)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Times(tms *Tms) (ticks uintptr, err error) { + r0, _, e1 := RawSyscall(SYS_TIMES, uintptr(unsafe.Pointer(tms)), 0, 0) + ticks = uintptr(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Umask(mask int) (oldmask int) { + r0, _, _ := RawSyscall(SYS_UMASK, uintptr(mask), 0, 0) + oldmask = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Uname(buf *Utsname) (err error) { + _, _, e1 := RawSyscall(SYS_UNAME, uintptr(unsafe.Pointer(buf)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unmount(target string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(target) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_UMOUNT2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Unshare(flags int) (err error) { + _, _, e1 := Syscall(SYS_UNSHARE, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ustat(dev int, ubuf *Ustat_t) (err error) { + _, _, e1 := Syscall(SYS_USTAT, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func write(fd int, p []byte) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func exitThread(code int) (err error) { + _, _, e1 := Syscall(SYS_EXIT, uintptr(code), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func readlen(fd int, p *byte, np int) (n int, err error) { + r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func writelen(fd int, p *byte, np int) (n int, err error) { + r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(p)), uintptr(np)) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func munmap(addr uintptr, length uintptr) (err error) { + _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Madvise(b []byte, advice int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MADVISE, uintptr(_p0), uintptr(len(b)), uintptr(advice)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mprotect(b []byte, prot int) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MPROTECT, uintptr(_p0), uintptr(len(b)), uintptr(prot)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlock(b []byte) (err error) { + var _p0 unsafe.Pointer + if len(b) > 0 { + _p0 = unsafe.Pointer(&b[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + _, _, e1 := Syscall(SYS_MUNLOCK, uintptr(_p0), uintptr(len(b)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Mlockall(flags int) (err error) { + _, _, e1 := Syscall(SYS_MLOCKALL, uintptr(flags), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Munlockall() (err error) { + _, _, e1 := Syscall(SYS_MUNLOCKALL, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Dup2(oldfd int, newfd int) (err error) { + _, _, e1 := Syscall(SYS_DUP2, uintptr(oldfd), uintptr(newfd), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error) { + var _p0 unsafe.Pointer + if len(events) > 0 { + _p0 = unsafe.Pointer(&events[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_EPOLL_WAIT, uintptr(epfd), uintptr(_p0), uintptr(len(events)), uintptr(msec), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fadvise(fd int, offset int64, length int64, advice int) (err error) { + _, _, e1 := Syscall6(SYS_FADVISE64, uintptr(fd), uintptr(offset), uintptr(length), uintptr(advice), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fchown(fd int, uid int, gid int) (err error) { + _, _, e1 := Syscall(SYS_FCHOWN, uintptr(fd), uintptr(uid), uintptr(gid)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstat(fd int, stat *Stat_t) (err error) { + _, _, e1 := Syscall(SYS_FSTAT, uintptr(fd), uintptr(unsafe.Pointer(stat)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Fstatfs(fd int, buf *Statfs_t) (err error) { + _, _, e1 := Syscall(SYS_FSTATFS, uintptr(fd), uintptr(unsafe.Pointer(buf)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Ftruncate(fd int, length int64) (err error) { + _, _, e1 := Syscall(SYS_FTRUNCATE, uintptr(fd), uintptr(length), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getegid() (egid int) { + r0, _, _ := RawSyscall(SYS_GETEGID, 0, 0, 0) + egid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Geteuid() (euid int) { + r0, _, _ := RawSyscall(SYS_GETEUID, 0, 0, 0) + euid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getgid() (gid int) { + r0, _, _ := RawSyscall(SYS_GETGID, 0, 0, 0) + gid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getrlimit(resource int, rlim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_GETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Getuid() (uid int) { + r0, _, _ := RawSyscall(SYS_GETUID, 0, 0, 0) + uid = int(r0) + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func InotifyInit() (fd int, err error) { + r0, _, e1 := RawSyscall(SYS_INOTIFY_INIT, 0, 0, 0) + fd = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Lchown(path string, uid int, gid int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LCHOWN, uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid)) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Lstat(path string, stat *Stat_t) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := Syscall(SYS_LSTAT, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pause() (err error) { + _, _, e1 := Syscall(SYS_PAUSE, 0, 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pread(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PREAD64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Pwrite(fd int, p []byte, offset int64) (n int, err error) { + var _p0 unsafe.Pointer + if len(p) > 0 { + _p0 = unsafe.Pointer(&p[0]) + } else { + _p0 = unsafe.Pointer(&_zero) + } + r0, _, e1 := Syscall6(SYS_PWRITE64, uintptr(fd), uintptr(_p0), uintptr(len(p)), uintptr(offset), 0, 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Seek(fd int, offset int64, whence int) (off int64, err error) { + r0, _, e1 := Syscall(SYS_LSEEK, uintptr(fd), uintptr(offset), uintptr(whence)) + off = int64(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { + r0, _, e1 := Syscall6(SYS_SELECT, uintptr(nfd), uintptr(unsafe.Pointer(r)), uintptr(unsafe.Pointer(w)), uintptr(unsafe.Pointer(e)), uintptr(unsafe.Pointer(timeout)), 0) + n = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { + r0, _, e1 := Syscall6(SYS_SENDFILE, uintptr(outfd), uintptr(infd), uintptr(unsafe.Pointer(offset)), uintptr(count), 0, 0) + written = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setfsgid(gid int) (err error) { + _, _, e1 := Syscall(SYS_SETFSGID, uintptr(gid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setfsuid(uid int) (err error) { + _, _, e1 := Syscall(SYS_SETFSUID, uintptr(uid), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Setregid(rgid int, egid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREGID, uintptr(rgid), uintptr(egid), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1176,8 +1489,8 @@ func Setresuid(ruid int, euid int, suid int) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Setrlimit(which int, lim *Rlimit) (err error) { - _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(which), uintptr(unsafe.Pointer(lim)), 0) +func Setrlimit(resource int, rlim *Rlimit) (err error) { + _, _, e1 := RawSyscall(SYS_SETRLIMIT, uintptr(resource), uintptr(unsafe.Pointer(rlim)), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1186,9 +1499,8 @@ func Setrlimit(which int, lim *Rlimit) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Setsid() (pid int, err error) { - r0, _, e1 := RawSyscall(SYS_SETSID, 0, 0, 0) - pid = int(r0) +func Setreuid(ruid int, euid int) (err error) { + _, _, e1 := RawSyscall(SYS_SETREUID, uintptr(ruid), uintptr(euid), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1197,18 +1509,9 @@ func Setsid() (pid int, err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Settimeofday(tp *Timeval) (err error) { - _, _, e1 := RawSyscall(SYS_SETTIMEOFDAY, uintptr(unsafe.Pointer(tp)), 0, 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Setuid(uid int) (err error) { - _, _, e1 := RawSyscall(SYS_SETUID, uintptr(uid), 0, 0) +func Splice(rfd int, roff *int64, wfd int, woff *int64, len int, flags int) (n int64, err error) { + r0, _, e1 := Syscall6(SYS_SPLICE, uintptr(rfd), uintptr(unsafe.Pointer(roff)), uintptr(wfd), uintptr(unsafe.Pointer(woff)), uintptr(len), uintptr(flags)) + n = int64(r0) if e1 != 0 { err = errnoErr(e1) } @@ -1233,13 +1536,13 @@ func Stat(path string, stat *Stat_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Statfs(path string, stat *Statfs_t) (err error) { +func Statfs(path string, buf *Statfs_t) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(stat)), 0) + _, _, e1 := Syscall(SYS_STATFS, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) @@ -1249,30 +1552,8 @@ func Statfs(path string, stat *Statfs_t) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Symlink(path string, link string) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - var _p1 *byte - _p1, err = BytePtrFromString(link) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_SYMLINK, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(_p1)), 0) - use(unsafe.Pointer(_p0)) - use(unsafe.Pointer(_p1)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func Sync() (err error) { - _, _, e1 := Syscall(SYS_SYNC, 0, 0, 0) +func SyncFileRange(fd int, off int64, n int64, flags int) (err error) { + _, _, e1 := Syscall6(SYS_SYNC_FILE_RANGE, uintptr(fd), uintptr(off), uintptr(n), uintptr(flags), 0, 0) if e1 != 0 { err = errnoErr(e1) } @@ -1287,7 +1568,7 @@ func Truncate(path string, length int64) (err error) { if err != nil { return } - _, _, e1 := Syscall6(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), 0, uintptr(length), uintptr(length>>32), 0, 0) + _, _, e1 := Syscall(SYS_TRUNCATE, uintptr(unsafe.Pointer(_p0)), uintptr(length), 0) use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) @@ -1297,21 +1578,44 @@ func Truncate(path string, length int64) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Umask(newmask int) (oldmask int) { - r0, _, _ := Syscall(SYS_UMASK, uintptr(newmask), 0, 0) - oldmask = int(r0) +func getgroups(n int, list *_Gid_t) (nn int, err error) { + r0, _, e1 := RawSyscall(SYS_GETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + nn = int(r0) + if e1 != 0 { + err = errnoErr(e1) + } return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Undelete(path string) (err error) { +func setgroups(n int, list *_Gid_t) (err error) { + _, _, e1 := RawSyscall(SYS_SETGROUPS, uintptr(n), uintptr(unsafe.Pointer(list)), 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Gettimeofday(tv *Timeval) (err error) { + _, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0) + if e1 != 0 { + err = errnoErr(e1) + } + return +} + +// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT + +func Utime(path string, buf *Utimbuf) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - _, _, e1 := Syscall(SYS_UNDELETE, uintptr(unsafe.Pointer(_p0)), 0, 0) + _, _, e1 := Syscall(SYS_UTIME, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0) use(unsafe.Pointer(_p0)) if e1 != 0 { err = errnoErr(e1) @@ -1321,14 +1625,8 @@ func Undelete(path string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Unlink(path string) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UNLINK, uintptr(unsafe.Pointer(_p0)), 0, 0) - use(unsafe.Pointer(_p0)) +func pipe2(p *[2]_C_int, flags int) (err error) { + _, _, e1 := RawSyscall(SYS_PIPE2, uintptr(unsafe.Pointer(p)), uintptr(flags), 0) if e1 != 0 { err = errnoErr(e1) } @@ -1337,73 +1635,8 @@ func Unlink(path string) (err error) { // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT -func Unmount(path string, flags int) (err error) { - var _p0 *byte - _p0, err = BytePtrFromString(path) - if err != nil { - return - } - _, _, e1 := Syscall(SYS_UNMOUNT, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0) - use(unsafe.Pointer(_p0)) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func write(fd int, p []byte) (n int, err error) { - var _p0 unsafe.Pointer - if len(p) > 0 { - _p0 = unsafe.Pointer(&p[0]) - } else { - _p0 = unsafe.Pointer(&_zero) - } - r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(_p0), uintptr(len(p))) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func mmap(addr uintptr, length uintptr, prot int, flag int, fd int, pos int64) (ret uintptr, err error) { - r0, _, e1 := Syscall9(SYS_MMAP, uintptr(addr), uintptr(length), uintptr(prot), uintptr(flag), uintptr(fd), 0, uintptr(pos), uintptr(pos>>32), 0) - ret = uintptr(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func munmap(addr uintptr, length uintptr) (err error) { - _, _, e1 := Syscall(SYS_MUNMAP, uintptr(addr), uintptr(length), 0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func readlen(fd int, buf *byte, nbuf int) (n int, err error) { - r0, _, e1 := Syscall(SYS_READ, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) - n = int(r0) - if e1 != 0 { - err = errnoErr(e1) - } - return -} - -// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT - -func writelen(fd int, buf *byte, nbuf int) (n int, err error) { - r0, _, e1 := Syscall(SYS_WRITE, uintptr(fd), uintptr(unsafe.Pointer(buf)), uintptr(nbuf)) +func poll(fds *PollFd, nfds int, timeout int) (n int, err error) { + r0, _, e1 := Syscall(SYS_POLL, uintptr(unsafe.Pointer(fds)), uintptr(nfds), uintptr(timeout)) n = int(r0) if e1 != 0 { err = errnoErr(e1) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go index 00ca1f9c119..b16e1d0ee33 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go index 03f31b973d5..b63667da9cf 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go index 84dc61cfa98..b0d19038d2e 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go index 02b3528a69e..f91a5b8564f 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go index 7dc2b7eaf7f..2e8d59d724a 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go @@ -222,6 +222,7 @@ func sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) _p0 = unsafe.Pointer(&_zero) } _, _, e1 := Syscall6(SYS___SYSCTL, uintptr(_p0), uintptr(len(mib)), uintptr(unsafe.Pointer(old)), uintptr(unsafe.Pointer(oldlen)), uintptr(unsafe.Pointer(new)), uintptr(newlen)) + use(_p0) if e1 != 0 { err = errnoErr(e1) } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go similarity index 64% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go index 95cb1f65f7e..c0ecfc044a2 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go @@ -10,11 +10,22 @@ import ( "unsafe" ) +//go:cgo_import_dynamic libc_pipe pipe "libc.so" +//go:cgo_import_dynamic libc_getsockname getsockname "libsocket.so" +//go:cgo_import_dynamic libc_getcwd getcwd "libc.so" //go:cgo_import_dynamic libc_getgroups getgroups "libc.so" //go:cgo_import_dynamic libc_setgroups setgroups "libc.so" +//go:cgo_import_dynamic libc_wait4 wait4 "libc.so" +//go:cgo_import_dynamic libc_gethostname gethostname "libc.so" +//go:cgo_import_dynamic libc_utimes utimes "libc.so" +//go:cgo_import_dynamic libc_utimensat utimensat "libc.so" //go:cgo_import_dynamic libc_fcntl fcntl "libc.so" -//go:cgo_import_dynamic libsocket_accept accept "libsocket.so" -//go:cgo_import_dynamic libsocket_sendmsg sendmsg "libsocket.so" +//go:cgo_import_dynamic libc_futimesat futimesat "libc.so" +//go:cgo_import_dynamic libc_accept accept "libsocket.so" +//go:cgo_import_dynamic libc_recvmsg recvmsg "libsocket.so" +//go:cgo_import_dynamic libc_sendmsg sendmsg "libsocket.so" +//go:cgo_import_dynamic libc_acct acct "libc.so" +//go:cgo_import_dynamic libc_ioctl ioctl "libc.so" //go:cgo_import_dynamic libc_access access "libc.so" //go:cgo_import_dynamic libc_adjtime adjtime "libc.so" //go:cgo_import_dynamic libc_chdir chdir "libc.so" @@ -22,44 +33,65 @@ import ( //go:cgo_import_dynamic libc_chown chown "libc.so" //go:cgo_import_dynamic libc_chroot chroot "libc.so" //go:cgo_import_dynamic libc_close close "libc.so" +//go:cgo_import_dynamic libc_creat creat "libc.so" //go:cgo_import_dynamic libc_dup dup "libc.so" +//go:cgo_import_dynamic libc_dup2 dup2 "libc.so" //go:cgo_import_dynamic libc_exit exit "libc.so" //go:cgo_import_dynamic libc_fchdir fchdir "libc.so" //go:cgo_import_dynamic libc_fchmod fchmod "libc.so" +//go:cgo_import_dynamic libc_fchmodat fchmodat "libc.so" //go:cgo_import_dynamic libc_fchown fchown "libc.so" +//go:cgo_import_dynamic libc_fchownat fchownat "libc.so" +//go:cgo_import_dynamic libc_fdatasync fdatasync "libc.so" //go:cgo_import_dynamic libc_fpathconf fpathconf "libc.so" //go:cgo_import_dynamic libc_fstat fstat "libc.so" //go:cgo_import_dynamic libc_getdents getdents "libc.so" //go:cgo_import_dynamic libc_getgid getgid "libc.so" //go:cgo_import_dynamic libc_getpid getpid "libc.so" +//go:cgo_import_dynamic libc_getpgid getpgid "libc.so" +//go:cgo_import_dynamic libc_getpgrp getpgrp "libc.so" //go:cgo_import_dynamic libc_geteuid geteuid "libc.so" //go:cgo_import_dynamic libc_getegid getegid "libc.so" //go:cgo_import_dynamic libc_getppid getppid "libc.so" //go:cgo_import_dynamic libc_getpriority getpriority "libc.so" //go:cgo_import_dynamic libc_getrlimit getrlimit "libc.so" +//go:cgo_import_dynamic libc_getrusage getrusage "libc.so" //go:cgo_import_dynamic libc_gettimeofday gettimeofday "libc.so" //go:cgo_import_dynamic libc_getuid getuid "libc.so" //go:cgo_import_dynamic libc_kill kill "libc.so" //go:cgo_import_dynamic libc_lchown lchown "libc.so" //go:cgo_import_dynamic libc_link link "libc.so" -//go:cgo_import_dynamic libsocket_listen listen "libsocket.so" +//go:cgo_import_dynamic libc_listen listen "libsocket.so" //go:cgo_import_dynamic libc_lstat lstat "libc.so" //go:cgo_import_dynamic libc_madvise madvise "libc.so" //go:cgo_import_dynamic libc_mkdir mkdir "libc.so" +//go:cgo_import_dynamic libc_mkdirat mkdirat "libc.so" +//go:cgo_import_dynamic libc_mkfifo mkfifo "libc.so" +//go:cgo_import_dynamic libc_mkfifoat mkfifoat "libc.so" //go:cgo_import_dynamic libc_mknod mknod "libc.so" +//go:cgo_import_dynamic libc_mknodat mknodat "libc.so" +//go:cgo_import_dynamic libc_mlock mlock "libc.so" +//go:cgo_import_dynamic libc_mlockall mlockall "libc.so" +//go:cgo_import_dynamic libc_mprotect mprotect "libc.so" +//go:cgo_import_dynamic libc_munlock munlock "libc.so" +//go:cgo_import_dynamic libc_munlockall munlockall "libc.so" //go:cgo_import_dynamic libc_nanosleep nanosleep "libc.so" //go:cgo_import_dynamic libc_open open "libc.so" +//go:cgo_import_dynamic libc_openat openat "libc.so" //go:cgo_import_dynamic libc_pathconf pathconf "libc.so" +//go:cgo_import_dynamic libc_pause pause "libc.so" //go:cgo_import_dynamic libc_pread pread "libc.so" //go:cgo_import_dynamic libc_pwrite pwrite "libc.so" //go:cgo_import_dynamic libc_read read "libc.so" //go:cgo_import_dynamic libc_readlink readlink "libc.so" //go:cgo_import_dynamic libc_rename rename "libc.so" +//go:cgo_import_dynamic libc_renameat renameat "libc.so" //go:cgo_import_dynamic libc_rmdir rmdir "libc.so" //go:cgo_import_dynamic libc_lseek lseek "libc.so" //go:cgo_import_dynamic libc_setegid setegid "libc.so" //go:cgo_import_dynamic libc_seteuid seteuid "libc.so" //go:cgo_import_dynamic libc_setgid setgid "libc.so" +//go:cgo_import_dynamic libc_sethostname sethostname "libc.so" //go:cgo_import_dynamic libc_setpgid setpgid "libc.so" //go:cgo_import_dynamic libc_setpriority setpriority "libc.so" //go:cgo_import_dynamic libc_setregid setregid "libc.so" @@ -67,36 +99,51 @@ import ( //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.so" //go:cgo_import_dynamic libc_setsid setsid "libc.so" //go:cgo_import_dynamic libc_setuid setuid "libc.so" -//go:cgo_import_dynamic libsocket_shutdown shutdown "libsocket.so" +//go:cgo_import_dynamic libc_shutdown shutdown "libsocket.so" //go:cgo_import_dynamic libc_stat stat "libc.so" //go:cgo_import_dynamic libc_symlink symlink "libc.so" //go:cgo_import_dynamic libc_sync sync "libc.so" +//go:cgo_import_dynamic libc_times times "libc.so" //go:cgo_import_dynamic libc_truncate truncate "libc.so" //go:cgo_import_dynamic libc_fsync fsync "libc.so" //go:cgo_import_dynamic libc_ftruncate ftruncate "libc.so" //go:cgo_import_dynamic libc_umask umask "libc.so" +//go:cgo_import_dynamic libc_uname uname "libc.so" +//go:cgo_import_dynamic libc_umount umount "libc.so" //go:cgo_import_dynamic libc_unlink unlink "libc.so" -//go:cgo_import_dynamic libc_utimes utimes "libc.so" -//go:cgo_import_dynamic libsocket_bind bind "libsocket.so" -//go:cgo_import_dynamic libsocket_connect connect "libsocket.so" +//go:cgo_import_dynamic libc_unlinkat unlinkat "libc.so" +//go:cgo_import_dynamic libc_ustat ustat "libc.so" +//go:cgo_import_dynamic libc_utime utime "libc.so" +//go:cgo_import_dynamic libc_bind bind "libsocket.so" +//go:cgo_import_dynamic libc_connect connect "libsocket.so" //go:cgo_import_dynamic libc_mmap mmap "libc.so" //go:cgo_import_dynamic libc_munmap munmap "libc.so" -//go:cgo_import_dynamic libsocket_sendto sendto "libsocket.so" -//go:cgo_import_dynamic libsocket_socket socket "libsocket.so" -//go:cgo_import_dynamic libsocket_socketpair socketpair "libsocket.so" +//go:cgo_import_dynamic libc_sendto sendto "libsocket.so" +//go:cgo_import_dynamic libc_socket socket "libsocket.so" +//go:cgo_import_dynamic libc_socketpair socketpair "libsocket.so" //go:cgo_import_dynamic libc_write write "libc.so" -//go:cgo_import_dynamic libsocket_getsockopt getsockopt "libsocket.so" -//go:cgo_import_dynamic libsocket_getpeername getpeername "libsocket.so" -//go:cgo_import_dynamic libsocket_getsockname getsockname "libsocket.so" -//go:cgo_import_dynamic libsocket_setsockopt setsockopt "libsocket.so" -//go:cgo_import_dynamic libsocket_recvfrom recvfrom "libsocket.so" -//go:cgo_import_dynamic libsocket_recvmsg recvmsg "libsocket.so" +//go:cgo_import_dynamic libc_getsockopt getsockopt "libsocket.so" +//go:cgo_import_dynamic libc_getpeername getpeername "libsocket.so" +//go:cgo_import_dynamic libc_setsockopt setsockopt "libsocket.so" +//go:cgo_import_dynamic libc_recvfrom recvfrom "libsocket.so" +//go:cgo_import_dynamic libc_sysconf sysconf "libc.so" +//go:linkname procpipe libc_pipe +//go:linkname procgetsockname libc_getsockname +//go:linkname procGetcwd libc_getcwd //go:linkname procgetgroups libc_getgroups //go:linkname procsetgroups libc_setgroups +//go:linkname procwait4 libc_wait4 +//go:linkname procgethostname libc_gethostname +//go:linkname procutimes libc_utimes +//go:linkname procutimensat libc_utimensat //go:linkname procfcntl libc_fcntl -//go:linkname procaccept libsocket_accept -//go:linkname procsendmsg libsocket_sendmsg +//go:linkname procfutimesat libc_futimesat +//go:linkname procaccept libc_accept +//go:linkname procrecvmsg libc_recvmsg +//go:linkname procsendmsg libc_sendmsg +//go:linkname procacct libc_acct +//go:linkname procioctl libc_ioctl //go:linkname procAccess libc_access //go:linkname procAdjtime libc_adjtime //go:linkname procChdir libc_chdir @@ -104,44 +151,65 @@ import ( //go:linkname procChown libc_chown //go:linkname procChroot libc_chroot //go:linkname procClose libc_close +//go:linkname procCreat libc_creat //go:linkname procDup libc_dup +//go:linkname procDup2 libc_dup2 //go:linkname procExit libc_exit //go:linkname procFchdir libc_fchdir //go:linkname procFchmod libc_fchmod +//go:linkname procFchmodat libc_fchmodat //go:linkname procFchown libc_fchown +//go:linkname procFchownat libc_fchownat +//go:linkname procFdatasync libc_fdatasync //go:linkname procFpathconf libc_fpathconf //go:linkname procFstat libc_fstat //go:linkname procGetdents libc_getdents //go:linkname procGetgid libc_getgid //go:linkname procGetpid libc_getpid +//go:linkname procGetpgid libc_getpgid +//go:linkname procGetpgrp libc_getpgrp //go:linkname procGeteuid libc_geteuid //go:linkname procGetegid libc_getegid //go:linkname procGetppid libc_getppid //go:linkname procGetpriority libc_getpriority //go:linkname procGetrlimit libc_getrlimit +//go:linkname procGetrusage libc_getrusage //go:linkname procGettimeofday libc_gettimeofday //go:linkname procGetuid libc_getuid //go:linkname procKill libc_kill //go:linkname procLchown libc_lchown //go:linkname procLink libc_link -//go:linkname proclisten libsocket_listen +//go:linkname proclisten libc_listen //go:linkname procLstat libc_lstat //go:linkname procMadvise libc_madvise //go:linkname procMkdir libc_mkdir +//go:linkname procMkdirat libc_mkdirat +//go:linkname procMkfifo libc_mkfifo +//go:linkname procMkfifoat libc_mkfifoat //go:linkname procMknod libc_mknod +//go:linkname procMknodat libc_mknodat +//go:linkname procMlock libc_mlock +//go:linkname procMlockall libc_mlockall +//go:linkname procMprotect libc_mprotect +//go:linkname procMunlock libc_munlock +//go:linkname procMunlockall libc_munlockall //go:linkname procNanosleep libc_nanosleep //go:linkname procOpen libc_open +//go:linkname procOpenat libc_openat //go:linkname procPathconf libc_pathconf +//go:linkname procPause libc_pause //go:linkname procPread libc_pread //go:linkname procPwrite libc_pwrite //go:linkname procread libc_read //go:linkname procReadlink libc_readlink //go:linkname procRename libc_rename +//go:linkname procRenameat libc_renameat //go:linkname procRmdir libc_rmdir //go:linkname proclseek libc_lseek //go:linkname procSetegid libc_setegid //go:linkname procSeteuid libc_seteuid //go:linkname procSetgid libc_setgid +//go:linkname procSethostname libc_sethostname //go:linkname procSetpgid libc_setpgid //go:linkname procSetpriority libc_setpriority //go:linkname procSetregid libc_setregid @@ -149,37 +217,52 @@ import ( //go:linkname procSetrlimit libc_setrlimit //go:linkname procSetsid libc_setsid //go:linkname procSetuid libc_setuid -//go:linkname procshutdown libsocket_shutdown +//go:linkname procshutdown libc_shutdown //go:linkname procStat libc_stat //go:linkname procSymlink libc_symlink //go:linkname procSync libc_sync +//go:linkname procTimes libc_times //go:linkname procTruncate libc_truncate //go:linkname procFsync libc_fsync //go:linkname procFtruncate libc_ftruncate //go:linkname procUmask libc_umask +//go:linkname procUname libc_uname +//go:linkname procumount libc_umount //go:linkname procUnlink libc_unlink -//go:linkname procUtimes libc_utimes -//go:linkname procbind libsocket_bind -//go:linkname procconnect libsocket_connect +//go:linkname procUnlinkat libc_unlinkat +//go:linkname procUstat libc_ustat +//go:linkname procUtime libc_utime +//go:linkname procbind libc_bind +//go:linkname procconnect libc_connect //go:linkname procmmap libc_mmap //go:linkname procmunmap libc_munmap -//go:linkname procsendto libsocket_sendto -//go:linkname procsocket libsocket_socket -//go:linkname procsocketpair libsocket_socketpair +//go:linkname procsendto libc_sendto +//go:linkname procsocket libc_socket +//go:linkname procsocketpair libc_socketpair //go:linkname procwrite libc_write -//go:linkname procgetsockopt libsocket_getsockopt -//go:linkname procgetpeername libsocket_getpeername -//go:linkname procgetsockname libsocket_getsockname -//go:linkname procsetsockopt libsocket_setsockopt -//go:linkname procrecvfrom libsocket_recvfrom -//go:linkname procrecvmsg libsocket_recvmsg +//go:linkname procgetsockopt libc_getsockopt +//go:linkname procgetpeername libc_getpeername +//go:linkname procsetsockopt libc_setsockopt +//go:linkname procrecvfrom libc_recvfrom +//go:linkname procsysconf libc_sysconf var ( + procpipe, + procgetsockname, + procGetcwd, procgetgroups, procsetgroups, + procwait4, + procgethostname, + procutimes, + procutimensat, procfcntl, + procfutimesat, procaccept, + procrecvmsg, procsendmsg, + procacct, + procioctl, procAccess, procAdjtime, procChdir, @@ -187,21 +270,29 @@ var ( procChown, procChroot, procClose, + procCreat, procDup, + procDup2, procExit, procFchdir, procFchmod, + procFchmodat, procFchown, + procFchownat, + procFdatasync, procFpathconf, procFstat, procGetdents, procGetgid, procGetpid, + procGetpgid, + procGetpgrp, procGeteuid, procGetegid, procGetppid, procGetpriority, procGetrlimit, + procGetrusage, procGettimeofday, procGetuid, procKill, @@ -211,20 +302,33 @@ var ( procLstat, procMadvise, procMkdir, + procMkdirat, + procMkfifo, + procMkfifoat, procMknod, + procMknodat, + procMlock, + procMlockall, + procMprotect, + procMunlock, + procMunlockall, procNanosleep, procOpen, + procOpenat, procPathconf, + procPause, procPread, procPwrite, procread, procReadlink, procRename, + procRenameat, procRmdir, proclseek, procSetegid, procSeteuid, procSetgid, + procSethostname, procSetpgid, procSetpriority, procSetregid, @@ -236,12 +340,17 @@ var ( procStat, procSymlink, procSync, + procTimes, procTruncate, procFsync, procFtruncate, procUmask, + procUname, + procumount, procUnlink, - procUtimes, + procUnlinkat, + procUstat, + procUtime, procbind, procconnect, procmmap, @@ -252,12 +361,41 @@ var ( procwrite, procgetsockopt, procgetpeername, - procgetsockname, procsetsockopt, procrecvfrom, - procrecvmsg syscallFunc + procsysconf syscallFunc ) +func pipe(p *[2]_C_int) (n int, err error) { + r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procpipe)), 1, uintptr(unsafe.Pointer(p)), 0, 0, 0, 0, 0) + n = int(r0) + if e1 != 0 { + err = e1 + } + return +} + +func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Getcwd(buf []byte) (n int, err error) { + var _p0 *byte + if len(buf) > 0 { + _p0 = &buf[0] + } + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procGetcwd)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0) + n = int(r0) + if e1 != 0 { + err = e1 + } + return +} + func getgroups(ngid int, gid *_Gid_t) (n int, err error) { r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procgetgroups)), 2, uintptr(ngid), uintptr(unsafe.Pointer(gid)), 0, 0, 0, 0) n = int(r0) @@ -275,6 +413,56 @@ func setgroups(ngid int, gid *_Gid_t) (err error) { return } +func wait4(pid int32, statusp *_C_int, options int, rusage *Rusage) (wpid int32, err error) { + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procwait4)), 4, uintptr(pid), uintptr(unsafe.Pointer(statusp)), uintptr(options), uintptr(unsafe.Pointer(rusage)), 0, 0) + wpid = int32(r0) + if e1 != 0 { + err = e1 + } + return +} + +func gethostname(buf []byte) (n int, err error) { + var _p0 *byte + if len(buf) > 0 { + _p0 = &buf[0] + } + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(buf)), 0, 0, 0, 0) + n = int(r0) + if e1 != 0 { + err = e1 + } + return +} + +func utimes(path string, times *[2]Timeval) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + +func utimensat(fd int, path string, times *[2]Timespec, flag int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procutimensat)), 4, uintptr(fd), uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), uintptr(flag), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + func fcntl(fd int, cmd int, arg int) (val int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfcntl)), 3, uintptr(fd), uintptr(cmd), uintptr(arg), 0, 0, 0) val = int(r0) @@ -284,6 +472,14 @@ func fcntl(fd int, cmd int, arg int) (val int, err error) { return } +func futimesat(fildes int, path *byte, times *[2]Timeval) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procfutimesat)), 3, uintptr(fildes), uintptr(unsafe.Pointer(path)), uintptr(unsafe.Pointer(times)), 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procaccept)), 3, uintptr(s), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) fd = int(r0) @@ -293,6 +489,15 @@ func accept(s int, rsa *RawSockaddrAny, addrlen *_Socklen) (fd int, err error) { return } +func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0) + n = int(r0) + if e1 != 0 { + err = e1 + } + return +} + func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsendmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0) n = int(r0) @@ -302,6 +507,22 @@ func sendmsg(s int, msg *Msghdr, flags int) (n int, err error) { return } +func acct(path *byte) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procacct)), 1, uintptr(unsafe.Pointer(path)), 0, 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func ioctl(fd int, req int, arg uintptr) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procioctl)), 3, uintptr(fd), uintptr(req), uintptr(arg), 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Access(path string, mode uint32) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -388,6 +609,21 @@ func Close(fd int) (err error) { return } +func Creat(path string, mode uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procCreat)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) + use(unsafe.Pointer(_p0)) + fd = int(r0) + if e1 != 0 { + err = e1 + } + return +} + func Dup(fd int) (nfd int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup)), 1, uintptr(fd), 0, 0, 0, 0, 0) nfd = int(r0) @@ -397,6 +633,14 @@ func Dup(fd int) (nfd int, err error) { return } +func Dup2(oldfd int, newfd int) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procDup2)), 2, uintptr(oldfd), uintptr(newfd), 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Exit(code int) { sysvicall6(uintptr(unsafe.Pointer(&procExit)), 1, uintptr(code), 0, 0, 0, 0, 0) return @@ -418,6 +662,20 @@ func Fchmod(fd int, mode uint32) (err error) { return } +func Fchmodat(dirfd int, path string, mode uint32, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchmodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(flags), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + func Fchown(fd int, uid int, gid int) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchown)), 3, uintptr(fd), uintptr(uid), uintptr(gid), 0, 0, 0) if e1 != 0 { @@ -426,6 +684,28 @@ func Fchown(fd int, uid int, gid int) (err error) { return } +func Fchownat(dirfd int, path string, uid int, gid int, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFchownat)), 5, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(uid), uintptr(gid), uintptr(flags), 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + +func Fdatasync(fd int) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFdatasync)), 1, uintptr(fd), 0, 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Fpathconf(fd int, name int) (val int, err error) { r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procFpathconf)), 2, uintptr(fd), uintptr(name), 0, 0, 0, 0) val = int(r0) @@ -468,6 +748,24 @@ func Getpid() (pid int) { return } +func Getpgid(pid int) (pgid int, err error) { + r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgid)), 1, uintptr(pid), 0, 0, 0, 0, 0) + pgid = int(r0) + if e1 != 0 { + err = e1 + } + return +} + +func Getpgrp() (pgid int, err error) { + r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetpgrp)), 0, 0, 0, 0, 0, 0, 0) + pgid = int(r0) + if e1 != 0 { + err = e1 + } + return +} + func Geteuid() (euid int) { r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procGeteuid)), 0, 0, 0, 0, 0, 0, 0) euid = int(r0) @@ -503,6 +801,14 @@ func Getrlimit(which int, lim *Rlimit) (err error) { return } +func Getrusage(who int, rusage *Rusage) (err error) { + _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGetrusage)), 2, uintptr(who), uintptr(unsafe.Pointer(rusage)), 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Gettimeofday(tv *Timeval) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procGettimeofday)), 1, uintptr(unsafe.Pointer(tv)), 0, 0, 0, 0, 0) if e1 != 0 { @@ -607,6 +913,48 @@ func Mkdir(path string, mode uint32) (err error) { return } +func Mkdirat(dirfd int, path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkdirat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + +func Mkfifo(path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifo)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + +func Mkfifoat(dirfd int, path string, mode uint32) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMkfifoat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0, 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + func Mknod(path string, mode uint32, dev int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -621,6 +969,72 @@ func Mknod(path string, mode uint32, dev int) (err error) { return } +func Mknodat(dirfd int, path string, mode uint32, dev int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMknodat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(mode), uintptr(dev), 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + +func Mlock(b []byte) (err error) { + var _p0 *byte + if len(b) > 0 { + _p0 = &b[0] + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Mlockall(flags int) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMlockall)), 1, uintptr(flags), 0, 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Mprotect(b []byte, prot int) (err error) { + var _p0 *byte + if len(b) > 0 { + _p0 = &b[0] + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMprotect)), 3, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), uintptr(prot), 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Munlock(b []byte) (err error) { + var _p0 *byte + if len(b) > 0 { + _p0 = &b[0] + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlock)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(b)), 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Munlockall() (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procMunlockall)), 0, 0, 0, 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Nanosleep(time *Timespec, leftover *Timespec) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procNanosleep)), 2, uintptr(unsafe.Pointer(time)), uintptr(unsafe.Pointer(leftover)), 0, 0, 0, 0) if e1 != 0 { @@ -644,6 +1058,21 @@ func Open(path string, mode int, perm uint32) (fd int, err error) { return } +func Openat(dirfd int, path string, flags int, mode uint32) (fd int, err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procOpenat)), 4, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), uintptr(mode), 0, 0) + use(unsafe.Pointer(_p0)) + fd = int(r0) + if e1 != 0 { + err = e1 + } + return +} + func Pathconf(path string, name int) (val int, err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -659,6 +1088,14 @@ func Pathconf(path string, name int) (val int, err error) { return } +func Pause() (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procPause)), 0, 0, 0, 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Pread(fd int, p []byte, offset int64) (n int, err error) { var _p0 *byte if len(p) > 0 { @@ -737,6 +1174,26 @@ func Rename(from string, to string) (err error) { return } +func Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(oldpath) + if err != nil { + return + } + var _p1 *byte + _p1, err = BytePtrFromString(newpath) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procRenameat)), 4, uintptr(olddirfd), uintptr(unsafe.Pointer(_p0)), uintptr(newdirfd), uintptr(unsafe.Pointer(_p1)), 0, 0) + use(unsafe.Pointer(_p0)) + use(unsafe.Pointer(_p1)) + if e1 != 0 { + err = e1 + } + return +} + func Rmdir(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -784,6 +1241,18 @@ func Setgid(gid int) (err error) { return } +func Sethostname(p []byte) (err error) { + var _p0 *byte + if len(p) > 0 { + _p0 = &p[0] + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procSethostname)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(len(p)), 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + func Setpgid(pid int, pgid int) (err error) { _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procSetpgid)), 2, uintptr(pid), uintptr(pgid), 0, 0, 0, 0) if e1 != 0 { @@ -891,6 +1360,15 @@ func Sync() (err error) { return } +func Times(tms *Tms) (ticks uintptr, err error) { + r0, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procTimes)), 1, uintptr(unsafe.Pointer(tms)), 0, 0, 0, 0, 0) + ticks = uintptr(r0) + if e1 != 0 { + err = e1 + } + return +} + func Truncate(path string, length int64) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -921,12 +1399,34 @@ func Ftruncate(fd int, length int64) (err error) { return } -func Umask(newmask int) (oldmask int) { - r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(newmask), 0, 0, 0, 0, 0) +func Umask(mask int) (oldmask int) { + r0, _, _ := sysvicall6(uintptr(unsafe.Pointer(&procUmask)), 1, uintptr(mask), 0, 0, 0, 0, 0) oldmask = int(r0) return } +func Uname(buf *Utsname) (err error) { + _, _, e1 := rawSysvicall6(uintptr(unsafe.Pointer(&procUname)), 1, uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Unmount(target string, flags int) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(target) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procumount)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + func Unlink(path string) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) @@ -941,13 +1441,35 @@ func Unlink(path string) (err error) { return } -func Utimes(path string, times *[2]Timeval) (err error) { +func Unlinkat(dirfd int, path string, flags int) (err error) { var _p0 *byte _p0, err = BytePtrFromString(path) if err != nil { return } - _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtimes)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(times)), 0, 0, 0, 0) + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUnlinkat)), 3, uintptr(dirfd), uintptr(unsafe.Pointer(_p0)), uintptr(flags), 0, 0, 0) + use(unsafe.Pointer(_p0)) + if e1 != 0 { + err = e1 + } + return +} + +func Ustat(dev int, ubuf *Ustat_t) (err error) { + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUstat)), 2, uintptr(dev), uintptr(unsafe.Pointer(ubuf)), 0, 0, 0, 0) + if e1 != 0 { + err = e1 + } + return +} + +func Utime(path string, buf *Utimbuf) (err error) { + var _p0 *byte + _p0, err = BytePtrFromString(path) + if err != nil { + return + } + _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procUtime)), 2, uintptr(unsafe.Pointer(_p0)), uintptr(unsafe.Pointer(buf)), 0, 0, 0, 0) use(unsafe.Pointer(_p0)) if e1 != 0 { err = e1 @@ -1046,14 +1568,6 @@ func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { return } -func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error) { - _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procgetsockname)), 3, uintptr(fd), uintptr(unsafe.Pointer(rsa)), uintptr(unsafe.Pointer(addrlen)), 0, 0, 0) - if e1 != 0 { - err = e1 - } - return -} - func setsockopt(s int, level int, name int, val unsafe.Pointer, vallen uintptr) (err error) { _, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsetsockopt)), 5, uintptr(s), uintptr(level), uintptr(name), uintptr(val), uintptr(vallen), 0) if e1 != 0 { @@ -1075,9 +1589,9 @@ func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Sockl return } -func recvmsg(s int, msg *Msghdr, flags int) (n int, err error) { - r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procrecvmsg)), 3, uintptr(s), uintptr(unsafe.Pointer(msg)), uintptr(flags), 0, 0, 0) - n = int(r0) +func sysconf(name int) (n int64, err error) { + r0, _, e1 := sysvicall6(uintptr(unsafe.Pointer(&procsysconf)), 1, uintptr(name), 0, 0, 0, 0, 0) + n = int64(r0) if e1 != 0 { err = e1 } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysctl_openbsd.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysctl_openbsd.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysctl_openbsd.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysctl_openbsd.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go index 39537d21086..26677ebbf5b 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go @@ -1,4 +1,4 @@ -// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/syscall.h +// mksysnum_darwin.pl /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk/usr/include/sys/syscall.h // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT // +build arm64,darwin diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go new file mode 100644 index 00000000000..5ffe1c7191b --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go @@ -0,0 +1,327 @@ +// mksysnum_linux.pl /usr/include/asm/unistd.h +// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT + +// +build mips64,linux + +package unix + +const ( + SYS_READ = 5000 + SYS_WRITE = 5001 + SYS_OPEN = 5002 + SYS_CLOSE = 5003 + SYS_STAT = 5004 + SYS_FSTAT = 5005 + SYS_LSTAT = 5006 + SYS_POLL = 5007 + SYS_LSEEK = 5008 + SYS_MMAP = 5009 + SYS_MPROTECT = 5010 + SYS_MUNMAP = 5011 + SYS_BRK = 5012 + SYS_RT_SIGACTION = 5013 + SYS_RT_SIGPROCMASK = 5014 + SYS_IOCTL = 5015 + SYS_PREAD64 = 5016 + SYS_PWRITE64 = 5017 + SYS_READV = 5018 + SYS_WRITEV = 5019 + SYS_ACCESS = 5020 + SYS_PIPE = 5021 + SYS__NEWSELECT = 5022 + SYS_SCHED_YIELD = 5023 + SYS_MREMAP = 5024 + SYS_MSYNC = 5025 + SYS_MINCORE = 5026 + SYS_MADVISE = 5027 + SYS_SHMGET = 5028 + SYS_SHMAT = 5029 + SYS_SHMCTL = 5030 + SYS_DUP = 5031 + SYS_DUP2 = 5032 + SYS_PAUSE = 5033 + SYS_NANOSLEEP = 5034 + SYS_GETITIMER = 5035 + SYS_SETITIMER = 5036 + SYS_ALARM = 5037 + SYS_GETPID = 5038 + SYS_SENDFILE = 5039 + SYS_SOCKET = 5040 + SYS_CONNECT = 5041 + SYS_ACCEPT = 5042 + SYS_SENDTO = 5043 + SYS_RECVFROM = 5044 + SYS_SENDMSG = 5045 + SYS_RECVMSG = 5046 + SYS_SHUTDOWN = 5047 + SYS_BIND = 5048 + SYS_LISTEN = 5049 + SYS_GETSOCKNAME = 5050 + SYS_GETPEERNAME = 5051 + SYS_SOCKETPAIR = 5052 + SYS_SETSOCKOPT = 5053 + SYS_GETSOCKOPT = 5054 + SYS_CLONE = 5055 + SYS_FORK = 5056 + SYS_EXECVE = 5057 + SYS_EXIT = 5058 + SYS_WAIT4 = 5059 + SYS_KILL = 5060 + SYS_UNAME = 5061 + SYS_SEMGET = 5062 + SYS_SEMOP = 5063 + SYS_SEMCTL = 5064 + SYS_SHMDT = 5065 + SYS_MSGGET = 5066 + SYS_MSGSND = 5067 + SYS_MSGRCV = 5068 + SYS_MSGCTL = 5069 + SYS_FCNTL = 5070 + SYS_FLOCK = 5071 + SYS_FSYNC = 5072 + SYS_FDATASYNC = 5073 + SYS_TRUNCATE = 5074 + SYS_FTRUNCATE = 5075 + SYS_GETDENTS = 5076 + SYS_GETCWD = 5077 + SYS_CHDIR = 5078 + SYS_FCHDIR = 5079 + SYS_RENAME = 5080 + SYS_MKDIR = 5081 + SYS_RMDIR = 5082 + SYS_CREAT = 5083 + SYS_LINK = 5084 + SYS_UNLINK = 5085 + SYS_SYMLINK = 5086 + SYS_READLINK = 5087 + SYS_CHMOD = 5088 + SYS_FCHMOD = 5089 + SYS_CHOWN = 5090 + SYS_FCHOWN = 5091 + SYS_LCHOWN = 5092 + SYS_UMASK = 5093 + SYS_GETTIMEOFDAY = 5094 + SYS_GETRLIMIT = 5095 + SYS_GETRUSAGE = 5096 + SYS_SYSINFO = 5097 + SYS_TIMES = 5098 + SYS_PTRACE = 5099 + SYS_GETUID = 5100 + SYS_SYSLOG = 5101 + SYS_GETGID = 5102 + SYS_SETUID = 5103 + SYS_SETGID = 5104 + SYS_GETEUID = 5105 + SYS_GETEGID = 5106 + SYS_SETPGID = 5107 + SYS_GETPPID = 5108 + SYS_GETPGRP = 5109 + SYS_SETSID = 5110 + SYS_SETREUID = 5111 + SYS_SETREGID = 5112 + SYS_GETGROUPS = 5113 + SYS_SETGROUPS = 5114 + SYS_SETRESUID = 5115 + SYS_GETRESUID = 5116 + SYS_SETRESGID = 5117 + SYS_GETRESGID = 5118 + SYS_GETPGID = 5119 + SYS_SETFSUID = 5120 + SYS_SETFSGID = 5121 + SYS_GETSID = 5122 + SYS_CAPGET = 5123 + SYS_CAPSET = 5124 + SYS_RT_SIGPENDING = 5125 + SYS_RT_SIGTIMEDWAIT = 5126 + SYS_RT_SIGQUEUEINFO = 5127 + SYS_RT_SIGSUSPEND = 5128 + SYS_SIGALTSTACK = 5129 + SYS_UTIME = 5130 + SYS_MKNOD = 5131 + SYS_PERSONALITY = 5132 + SYS_USTAT = 5133 + SYS_STATFS = 5134 + SYS_FSTATFS = 5135 + SYS_SYSFS = 5136 + SYS_GETPRIORITY = 5137 + SYS_SETPRIORITY = 5138 + SYS_SCHED_SETPARAM = 5139 + SYS_SCHED_GETPARAM = 5140 + SYS_SCHED_SETSCHEDULER = 5141 + SYS_SCHED_GETSCHEDULER = 5142 + SYS_SCHED_GET_PRIORITY_MAX = 5143 + SYS_SCHED_GET_PRIORITY_MIN = 5144 + SYS_SCHED_RR_GET_INTERVAL = 5145 + SYS_MLOCK = 5146 + SYS_MUNLOCK = 5147 + SYS_MLOCKALL = 5148 + SYS_MUNLOCKALL = 5149 + SYS_VHANGUP = 5150 + SYS_PIVOT_ROOT = 5151 + SYS__SYSCTL = 5152 + SYS_PRCTL = 5153 + SYS_ADJTIMEX = 5154 + SYS_SETRLIMIT = 5155 + SYS_CHROOT = 5156 + SYS_SYNC = 5157 + SYS_ACCT = 5158 + SYS_SETTIMEOFDAY = 5159 + SYS_MOUNT = 5160 + SYS_UMOUNT2 = 5161 + SYS_SWAPON = 5162 + SYS_SWAPOFF = 5163 + SYS_REBOOT = 5164 + SYS_SETHOSTNAME = 5165 + SYS_SETDOMAINNAME = 5166 + SYS_CREATE_MODULE = 5167 + SYS_INIT_MODULE = 5168 + SYS_DELETE_MODULE = 5169 + SYS_GET_KERNEL_SYMS = 5170 + SYS_QUERY_MODULE = 5171 + SYS_QUOTACTL = 5172 + SYS_NFSSERVCTL = 5173 + SYS_GETPMSG = 5174 + SYS_PUTPMSG = 5175 + SYS_AFS_SYSCALL = 5176 + SYS_RESERVED177 = 5177 + SYS_GETTID = 5178 + SYS_READAHEAD = 5179 + SYS_SETXATTR = 5180 + SYS_LSETXATTR = 5181 + SYS_FSETXATTR = 5182 + SYS_GETXATTR = 5183 + SYS_LGETXATTR = 5184 + SYS_FGETXATTR = 5185 + SYS_LISTXATTR = 5186 + SYS_LLISTXATTR = 5187 + SYS_FLISTXATTR = 5188 + SYS_REMOVEXATTR = 5189 + SYS_LREMOVEXATTR = 5190 + SYS_FREMOVEXATTR = 5191 + SYS_TKILL = 5192 + SYS_RESERVED193 = 5193 + SYS_FUTEX = 5194 + SYS_SCHED_SETAFFINITY = 5195 + SYS_SCHED_GETAFFINITY = 5196 + SYS_CACHEFLUSH = 5197 + SYS_CACHECTL = 5198 + SYS_SYSMIPS = 5199 + SYS_IO_SETUP = 5200 + SYS_IO_DESTROY = 5201 + SYS_IO_GETEVENTS = 5202 + SYS_IO_SUBMIT = 5203 + SYS_IO_CANCEL = 5204 + SYS_EXIT_GROUP = 5205 + SYS_LOOKUP_DCOOKIE = 5206 + SYS_EPOLL_CREATE = 5207 + SYS_EPOLL_CTL = 5208 + SYS_EPOLL_WAIT = 5209 + SYS_REMAP_FILE_PAGES = 5210 + SYS_RT_SIGRETURN = 5211 + SYS_SET_TID_ADDRESS = 5212 + SYS_RESTART_SYSCALL = 5213 + SYS_SEMTIMEDOP = 5214 + SYS_FADVISE64 = 5215 + SYS_TIMER_CREATE = 5216 + SYS_TIMER_SETTIME = 5217 + SYS_TIMER_GETTIME = 5218 + SYS_TIMER_GETOVERRUN = 5219 + SYS_TIMER_DELETE = 5220 + SYS_CLOCK_SETTIME = 5221 + SYS_CLOCK_GETTIME = 5222 + SYS_CLOCK_GETRES = 5223 + SYS_CLOCK_NANOSLEEP = 5224 + SYS_TGKILL = 5225 + SYS_UTIMES = 5226 + SYS_MBIND = 5227 + SYS_GET_MEMPOLICY = 5228 + SYS_SET_MEMPOLICY = 5229 + SYS_MQ_OPEN = 5230 + SYS_MQ_UNLINK = 5231 + SYS_MQ_TIMEDSEND = 5232 + SYS_MQ_TIMEDRECEIVE = 5233 + SYS_MQ_NOTIFY = 5234 + SYS_MQ_GETSETATTR = 5235 + SYS_VSERVER = 5236 + SYS_WAITID = 5237 + SYS_ADD_KEY = 5239 + SYS_REQUEST_KEY = 5240 + SYS_KEYCTL = 5241 + SYS_SET_THREAD_AREA = 5242 + SYS_INOTIFY_INIT = 5243 + SYS_INOTIFY_ADD_WATCH = 5244 + SYS_INOTIFY_RM_WATCH = 5245 + SYS_MIGRATE_PAGES = 5246 + SYS_OPENAT = 5247 + SYS_MKDIRAT = 5248 + SYS_MKNODAT = 5249 + SYS_FCHOWNAT = 5250 + SYS_FUTIMESAT = 5251 + SYS_NEWFSTATAT = 5252 + SYS_UNLINKAT = 5253 + SYS_RENAMEAT = 5254 + SYS_LINKAT = 5255 + SYS_SYMLINKAT = 5256 + SYS_READLINKAT = 5257 + SYS_FCHMODAT = 5258 + SYS_FACCESSAT = 5259 + SYS_PSELECT6 = 5260 + SYS_PPOLL = 5261 + SYS_UNSHARE = 5262 + SYS_SPLICE = 5263 + SYS_SYNC_FILE_RANGE = 5264 + SYS_TEE = 5265 + SYS_VMSPLICE = 5266 + SYS_MOVE_PAGES = 5267 + SYS_SET_ROBUST_LIST = 5268 + SYS_GET_ROBUST_LIST = 5269 + SYS_KEXEC_LOAD = 5270 + SYS_GETCPU = 5271 + SYS_EPOLL_PWAIT = 5272 + SYS_IOPRIO_SET = 5273 + SYS_IOPRIO_GET = 5274 + SYS_UTIMENSAT = 5275 + SYS_SIGNALFD = 5276 + SYS_TIMERFD = 5277 + SYS_EVENTFD = 5278 + SYS_FALLOCATE = 5279 + SYS_TIMERFD_CREATE = 5280 + SYS_TIMERFD_GETTIME = 5281 + SYS_TIMERFD_SETTIME = 5282 + SYS_SIGNALFD4 = 5283 + SYS_EVENTFD2 = 5284 + SYS_EPOLL_CREATE1 = 5285 + SYS_DUP3 = 5286 + SYS_PIPE2 = 5287 + SYS_INOTIFY_INIT1 = 5288 + SYS_PREADV = 5289 + SYS_PWRITEV = 5290 + SYS_RT_TGSIGQUEUEINFO = 5291 + SYS_PERF_EVENT_OPEN = 5292 + SYS_ACCEPT4 = 5293 + SYS_RECVMMSG = 5294 + SYS_FANOTIFY_INIT = 5295 + SYS_FANOTIFY_MARK = 5296 + SYS_PRLIMIT64 = 5297 + SYS_NAME_TO_HANDLE_AT = 5298 + SYS_OPEN_BY_HANDLE_AT = 5299 + SYS_CLOCK_ADJTIME = 5300 + SYS_SYNCFS = 5301 + SYS_SENDMMSG = 5302 + SYS_SETNS = 5303 + SYS_PROCESS_VM_READV = 5304 + SYS_PROCESS_VM_WRITEV = 5305 + SYS_KCMP = 5306 + SYS_FINIT_MODULE = 5307 + SYS_GETDENTS64 = 5308 + SYS_SCHED_SETATTR = 5309 + SYS_SCHED_GETATTR = 5310 + SYS_RENAMEAT2 = 5311 + SYS_SECCOMP = 5312 + SYS_GETRANDOM = 5313 + SYS_MEMFD_CREATE = 5314 + SYS_BPF = 5315 + SYS_EXECVEAT = 5316 + SYS_USERFAULTFD = 5317 + SYS_MEMBARRIER = 5318 +) diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go new file mode 100644 index 00000000000..d192b940ce3 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go @@ -0,0 +1,327 @@ +// mksysnum_linux.pl /usr/include/asm/unistd.h +// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT + +// +build mips64le,linux + +package unix + +const ( + SYS_READ = 5000 + SYS_WRITE = 5001 + SYS_OPEN = 5002 + SYS_CLOSE = 5003 + SYS_STAT = 5004 + SYS_FSTAT = 5005 + SYS_LSTAT = 5006 + SYS_POLL = 5007 + SYS_LSEEK = 5008 + SYS_MMAP = 5009 + SYS_MPROTECT = 5010 + SYS_MUNMAP = 5011 + SYS_BRK = 5012 + SYS_RT_SIGACTION = 5013 + SYS_RT_SIGPROCMASK = 5014 + SYS_IOCTL = 5015 + SYS_PREAD64 = 5016 + SYS_PWRITE64 = 5017 + SYS_READV = 5018 + SYS_WRITEV = 5019 + SYS_ACCESS = 5020 + SYS_PIPE = 5021 + SYS__NEWSELECT = 5022 + SYS_SCHED_YIELD = 5023 + SYS_MREMAP = 5024 + SYS_MSYNC = 5025 + SYS_MINCORE = 5026 + SYS_MADVISE = 5027 + SYS_SHMGET = 5028 + SYS_SHMAT = 5029 + SYS_SHMCTL = 5030 + SYS_DUP = 5031 + SYS_DUP2 = 5032 + SYS_PAUSE = 5033 + SYS_NANOSLEEP = 5034 + SYS_GETITIMER = 5035 + SYS_SETITIMER = 5036 + SYS_ALARM = 5037 + SYS_GETPID = 5038 + SYS_SENDFILE = 5039 + SYS_SOCKET = 5040 + SYS_CONNECT = 5041 + SYS_ACCEPT = 5042 + SYS_SENDTO = 5043 + SYS_RECVFROM = 5044 + SYS_SENDMSG = 5045 + SYS_RECVMSG = 5046 + SYS_SHUTDOWN = 5047 + SYS_BIND = 5048 + SYS_LISTEN = 5049 + SYS_GETSOCKNAME = 5050 + SYS_GETPEERNAME = 5051 + SYS_SOCKETPAIR = 5052 + SYS_SETSOCKOPT = 5053 + SYS_GETSOCKOPT = 5054 + SYS_CLONE = 5055 + SYS_FORK = 5056 + SYS_EXECVE = 5057 + SYS_EXIT = 5058 + SYS_WAIT4 = 5059 + SYS_KILL = 5060 + SYS_UNAME = 5061 + SYS_SEMGET = 5062 + SYS_SEMOP = 5063 + SYS_SEMCTL = 5064 + SYS_SHMDT = 5065 + SYS_MSGGET = 5066 + SYS_MSGSND = 5067 + SYS_MSGRCV = 5068 + SYS_MSGCTL = 5069 + SYS_FCNTL = 5070 + SYS_FLOCK = 5071 + SYS_FSYNC = 5072 + SYS_FDATASYNC = 5073 + SYS_TRUNCATE = 5074 + SYS_FTRUNCATE = 5075 + SYS_GETDENTS = 5076 + SYS_GETCWD = 5077 + SYS_CHDIR = 5078 + SYS_FCHDIR = 5079 + SYS_RENAME = 5080 + SYS_MKDIR = 5081 + SYS_RMDIR = 5082 + SYS_CREAT = 5083 + SYS_LINK = 5084 + SYS_UNLINK = 5085 + SYS_SYMLINK = 5086 + SYS_READLINK = 5087 + SYS_CHMOD = 5088 + SYS_FCHMOD = 5089 + SYS_CHOWN = 5090 + SYS_FCHOWN = 5091 + SYS_LCHOWN = 5092 + SYS_UMASK = 5093 + SYS_GETTIMEOFDAY = 5094 + SYS_GETRLIMIT = 5095 + SYS_GETRUSAGE = 5096 + SYS_SYSINFO = 5097 + SYS_TIMES = 5098 + SYS_PTRACE = 5099 + SYS_GETUID = 5100 + SYS_SYSLOG = 5101 + SYS_GETGID = 5102 + SYS_SETUID = 5103 + SYS_SETGID = 5104 + SYS_GETEUID = 5105 + SYS_GETEGID = 5106 + SYS_SETPGID = 5107 + SYS_GETPPID = 5108 + SYS_GETPGRP = 5109 + SYS_SETSID = 5110 + SYS_SETREUID = 5111 + SYS_SETREGID = 5112 + SYS_GETGROUPS = 5113 + SYS_SETGROUPS = 5114 + SYS_SETRESUID = 5115 + SYS_GETRESUID = 5116 + SYS_SETRESGID = 5117 + SYS_GETRESGID = 5118 + SYS_GETPGID = 5119 + SYS_SETFSUID = 5120 + SYS_SETFSGID = 5121 + SYS_GETSID = 5122 + SYS_CAPGET = 5123 + SYS_CAPSET = 5124 + SYS_RT_SIGPENDING = 5125 + SYS_RT_SIGTIMEDWAIT = 5126 + SYS_RT_SIGQUEUEINFO = 5127 + SYS_RT_SIGSUSPEND = 5128 + SYS_SIGALTSTACK = 5129 + SYS_UTIME = 5130 + SYS_MKNOD = 5131 + SYS_PERSONALITY = 5132 + SYS_USTAT = 5133 + SYS_STATFS = 5134 + SYS_FSTATFS = 5135 + SYS_SYSFS = 5136 + SYS_GETPRIORITY = 5137 + SYS_SETPRIORITY = 5138 + SYS_SCHED_SETPARAM = 5139 + SYS_SCHED_GETPARAM = 5140 + SYS_SCHED_SETSCHEDULER = 5141 + SYS_SCHED_GETSCHEDULER = 5142 + SYS_SCHED_GET_PRIORITY_MAX = 5143 + SYS_SCHED_GET_PRIORITY_MIN = 5144 + SYS_SCHED_RR_GET_INTERVAL = 5145 + SYS_MLOCK = 5146 + SYS_MUNLOCK = 5147 + SYS_MLOCKALL = 5148 + SYS_MUNLOCKALL = 5149 + SYS_VHANGUP = 5150 + SYS_PIVOT_ROOT = 5151 + SYS__SYSCTL = 5152 + SYS_PRCTL = 5153 + SYS_ADJTIMEX = 5154 + SYS_SETRLIMIT = 5155 + SYS_CHROOT = 5156 + SYS_SYNC = 5157 + SYS_ACCT = 5158 + SYS_SETTIMEOFDAY = 5159 + SYS_MOUNT = 5160 + SYS_UMOUNT2 = 5161 + SYS_SWAPON = 5162 + SYS_SWAPOFF = 5163 + SYS_REBOOT = 5164 + SYS_SETHOSTNAME = 5165 + SYS_SETDOMAINNAME = 5166 + SYS_CREATE_MODULE = 5167 + SYS_INIT_MODULE = 5168 + SYS_DELETE_MODULE = 5169 + SYS_GET_KERNEL_SYMS = 5170 + SYS_QUERY_MODULE = 5171 + SYS_QUOTACTL = 5172 + SYS_NFSSERVCTL = 5173 + SYS_GETPMSG = 5174 + SYS_PUTPMSG = 5175 + SYS_AFS_SYSCALL = 5176 + SYS_RESERVED177 = 5177 + SYS_GETTID = 5178 + SYS_READAHEAD = 5179 + SYS_SETXATTR = 5180 + SYS_LSETXATTR = 5181 + SYS_FSETXATTR = 5182 + SYS_GETXATTR = 5183 + SYS_LGETXATTR = 5184 + SYS_FGETXATTR = 5185 + SYS_LISTXATTR = 5186 + SYS_LLISTXATTR = 5187 + SYS_FLISTXATTR = 5188 + SYS_REMOVEXATTR = 5189 + SYS_LREMOVEXATTR = 5190 + SYS_FREMOVEXATTR = 5191 + SYS_TKILL = 5192 + SYS_RESERVED193 = 5193 + SYS_FUTEX = 5194 + SYS_SCHED_SETAFFINITY = 5195 + SYS_SCHED_GETAFFINITY = 5196 + SYS_CACHEFLUSH = 5197 + SYS_CACHECTL = 5198 + SYS_SYSMIPS = 5199 + SYS_IO_SETUP = 5200 + SYS_IO_DESTROY = 5201 + SYS_IO_GETEVENTS = 5202 + SYS_IO_SUBMIT = 5203 + SYS_IO_CANCEL = 5204 + SYS_EXIT_GROUP = 5205 + SYS_LOOKUP_DCOOKIE = 5206 + SYS_EPOLL_CREATE = 5207 + SYS_EPOLL_CTL = 5208 + SYS_EPOLL_WAIT = 5209 + SYS_REMAP_FILE_PAGES = 5210 + SYS_RT_SIGRETURN = 5211 + SYS_SET_TID_ADDRESS = 5212 + SYS_RESTART_SYSCALL = 5213 + SYS_SEMTIMEDOP = 5214 + SYS_FADVISE64 = 5215 + SYS_TIMER_CREATE = 5216 + SYS_TIMER_SETTIME = 5217 + SYS_TIMER_GETTIME = 5218 + SYS_TIMER_GETOVERRUN = 5219 + SYS_TIMER_DELETE = 5220 + SYS_CLOCK_SETTIME = 5221 + SYS_CLOCK_GETTIME = 5222 + SYS_CLOCK_GETRES = 5223 + SYS_CLOCK_NANOSLEEP = 5224 + SYS_TGKILL = 5225 + SYS_UTIMES = 5226 + SYS_MBIND = 5227 + SYS_GET_MEMPOLICY = 5228 + SYS_SET_MEMPOLICY = 5229 + SYS_MQ_OPEN = 5230 + SYS_MQ_UNLINK = 5231 + SYS_MQ_TIMEDSEND = 5232 + SYS_MQ_TIMEDRECEIVE = 5233 + SYS_MQ_NOTIFY = 5234 + SYS_MQ_GETSETATTR = 5235 + SYS_VSERVER = 5236 + SYS_WAITID = 5237 + SYS_ADD_KEY = 5239 + SYS_REQUEST_KEY = 5240 + SYS_KEYCTL = 5241 + SYS_SET_THREAD_AREA = 5242 + SYS_INOTIFY_INIT = 5243 + SYS_INOTIFY_ADD_WATCH = 5244 + SYS_INOTIFY_RM_WATCH = 5245 + SYS_MIGRATE_PAGES = 5246 + SYS_OPENAT = 5247 + SYS_MKDIRAT = 5248 + SYS_MKNODAT = 5249 + SYS_FCHOWNAT = 5250 + SYS_FUTIMESAT = 5251 + SYS_NEWFSTATAT = 5252 + SYS_UNLINKAT = 5253 + SYS_RENAMEAT = 5254 + SYS_LINKAT = 5255 + SYS_SYMLINKAT = 5256 + SYS_READLINKAT = 5257 + SYS_FCHMODAT = 5258 + SYS_FACCESSAT = 5259 + SYS_PSELECT6 = 5260 + SYS_PPOLL = 5261 + SYS_UNSHARE = 5262 + SYS_SPLICE = 5263 + SYS_SYNC_FILE_RANGE = 5264 + SYS_TEE = 5265 + SYS_VMSPLICE = 5266 + SYS_MOVE_PAGES = 5267 + SYS_SET_ROBUST_LIST = 5268 + SYS_GET_ROBUST_LIST = 5269 + SYS_KEXEC_LOAD = 5270 + SYS_GETCPU = 5271 + SYS_EPOLL_PWAIT = 5272 + SYS_IOPRIO_SET = 5273 + SYS_IOPRIO_GET = 5274 + SYS_UTIMENSAT = 5275 + SYS_SIGNALFD = 5276 + SYS_TIMERFD = 5277 + SYS_EVENTFD = 5278 + SYS_FALLOCATE = 5279 + SYS_TIMERFD_CREATE = 5280 + SYS_TIMERFD_GETTIME = 5281 + SYS_TIMERFD_SETTIME = 5282 + SYS_SIGNALFD4 = 5283 + SYS_EVENTFD2 = 5284 + SYS_EPOLL_CREATE1 = 5285 + SYS_DUP3 = 5286 + SYS_PIPE2 = 5287 + SYS_INOTIFY_INIT1 = 5288 + SYS_PREADV = 5289 + SYS_PWRITEV = 5290 + SYS_RT_TGSIGQUEUEINFO = 5291 + SYS_PERF_EVENT_OPEN = 5292 + SYS_ACCEPT4 = 5293 + SYS_RECVMMSG = 5294 + SYS_FANOTIFY_INIT = 5295 + SYS_FANOTIFY_MARK = 5296 + SYS_PRLIMIT64 = 5297 + SYS_NAME_TO_HANDLE_AT = 5298 + SYS_OPEN_BY_HANDLE_AT = 5299 + SYS_CLOCK_ADJTIME = 5300 + SYS_SYNCFS = 5301 + SYS_SENDMMSG = 5302 + SYS_SETNS = 5303 + SYS_PROCESS_VM_READV = 5304 + SYS_PROCESS_VM_WRITEV = 5305 + SYS_KCMP = 5306 + SYS_FINIT_MODULE = 5307 + SYS_GETDENTS64 = 5308 + SYS_SCHED_SETATTR = 5309 + SYS_SCHED_GETATTR = 5310 + SYS_RENAMEAT2 = 5311 + SYS_SECCOMP = 5312 + SYS_GETRANDOM = 5313 + SYS_MEMFD_CREATE = 5314 + SYS_BPF = 5315 + SYS_EXECVEAT = 5316 + SYS_USERFAULTFD = 5317 + SYS_MEMBARRIER = 5318 +) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go new file mode 100644 index 00000000000..42d4f5cda8e --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go @@ -0,0 +1,328 @@ +// mksysnum_linux.pl /usr/include/asm/unistd.h +// MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT + +// +build s390x,linux + +package unix + +const ( + SYS_EXIT = 1 + SYS_FORK = 2 + SYS_READ = 3 + SYS_WRITE = 4 + SYS_OPEN = 5 + SYS_CLOSE = 6 + SYS_RESTART_SYSCALL = 7 + SYS_CREAT = 8 + SYS_LINK = 9 + SYS_UNLINK = 10 + SYS_EXECVE = 11 + SYS_CHDIR = 12 + SYS_MKNOD = 14 + SYS_CHMOD = 15 + SYS_LSEEK = 19 + SYS_GETPID = 20 + SYS_MOUNT = 21 + SYS_UMOUNT = 22 + SYS_PTRACE = 26 + SYS_ALARM = 27 + SYS_PAUSE = 29 + SYS_UTIME = 30 + SYS_ACCESS = 33 + SYS_NICE = 34 + SYS_SYNC = 36 + SYS_KILL = 37 + SYS_RENAME = 38 + SYS_MKDIR = 39 + SYS_RMDIR = 40 + SYS_DUP = 41 + SYS_PIPE = 42 + SYS_TIMES = 43 + SYS_BRK = 45 + SYS_SIGNAL = 48 + SYS_ACCT = 51 + SYS_UMOUNT2 = 52 + SYS_IOCTL = 54 + SYS_FCNTL = 55 + SYS_SETPGID = 57 + SYS_UMASK = 60 + SYS_CHROOT = 61 + SYS_USTAT = 62 + SYS_DUP2 = 63 + SYS_GETPPID = 64 + SYS_GETPGRP = 65 + SYS_SETSID = 66 + SYS_SIGACTION = 67 + SYS_SIGSUSPEND = 72 + SYS_SIGPENDING = 73 + SYS_SETHOSTNAME = 74 + SYS_SETRLIMIT = 75 + SYS_GETRUSAGE = 77 + SYS_GETTIMEOFDAY = 78 + SYS_SETTIMEOFDAY = 79 + SYS_SYMLINK = 83 + SYS_READLINK = 85 + SYS_USELIB = 86 + SYS_SWAPON = 87 + SYS_REBOOT = 88 + SYS_READDIR = 89 + SYS_MMAP = 90 + SYS_MUNMAP = 91 + SYS_TRUNCATE = 92 + SYS_FTRUNCATE = 93 + SYS_FCHMOD = 94 + SYS_GETPRIORITY = 96 + SYS_SETPRIORITY = 97 + SYS_STATFS = 99 + SYS_FSTATFS = 100 + SYS_SOCKETCALL = 102 + SYS_SYSLOG = 103 + SYS_SETITIMER = 104 + SYS_GETITIMER = 105 + SYS_STAT = 106 + SYS_LSTAT = 107 + SYS_FSTAT = 108 + SYS_LOOKUP_DCOOKIE = 110 + SYS_VHANGUP = 111 + SYS_IDLE = 112 + SYS_WAIT4 = 114 + SYS_SWAPOFF = 115 + SYS_SYSINFO = 116 + SYS_IPC = 117 + SYS_FSYNC = 118 + SYS_SIGRETURN = 119 + SYS_CLONE = 120 + SYS_SETDOMAINNAME = 121 + SYS_UNAME = 122 + SYS_ADJTIMEX = 124 + SYS_MPROTECT = 125 + SYS_SIGPROCMASK = 126 + SYS_CREATE_MODULE = 127 + SYS_INIT_MODULE = 128 + SYS_DELETE_MODULE = 129 + SYS_GET_KERNEL_SYMS = 130 + SYS_QUOTACTL = 131 + SYS_GETPGID = 132 + SYS_FCHDIR = 133 + SYS_BDFLUSH = 134 + SYS_SYSFS = 135 + SYS_PERSONALITY = 136 + SYS_AFS_SYSCALL = 137 + SYS_GETDENTS = 141 + SYS_FLOCK = 143 + SYS_MSYNC = 144 + SYS_READV = 145 + SYS_WRITEV = 146 + SYS_GETSID = 147 + SYS_FDATASYNC = 148 + SYS__SYSCTL = 149 + SYS_MLOCK = 150 + SYS_MUNLOCK = 151 + SYS_MLOCKALL = 152 + SYS_MUNLOCKALL = 153 + SYS_SCHED_SETPARAM = 154 + SYS_SCHED_GETPARAM = 155 + SYS_SCHED_SETSCHEDULER = 156 + SYS_SCHED_GETSCHEDULER = 157 + SYS_SCHED_YIELD = 158 + SYS_SCHED_GET_PRIORITY_MAX = 159 + SYS_SCHED_GET_PRIORITY_MIN = 160 + SYS_SCHED_RR_GET_INTERVAL = 161 + SYS_NANOSLEEP = 162 + SYS_MREMAP = 163 + SYS_QUERY_MODULE = 167 + SYS_POLL = 168 + SYS_NFSSERVCTL = 169 + SYS_PRCTL = 172 + SYS_RT_SIGRETURN = 173 + SYS_RT_SIGACTION = 174 + SYS_RT_SIGPROCMASK = 175 + SYS_RT_SIGPENDING = 176 + SYS_RT_SIGTIMEDWAIT = 177 + SYS_RT_SIGQUEUEINFO = 178 + SYS_RT_SIGSUSPEND = 179 + SYS_PREAD64 = 180 + SYS_PWRITE64 = 181 + SYS_GETCWD = 183 + SYS_CAPGET = 184 + SYS_CAPSET = 185 + SYS_SIGALTSTACK = 186 + SYS_SENDFILE = 187 + SYS_GETPMSG = 188 + SYS_PUTPMSG = 189 + SYS_VFORK = 190 + SYS_PIVOT_ROOT = 217 + SYS_MINCORE = 218 + SYS_MADVISE = 219 + SYS_GETDENTS64 = 220 + SYS_READAHEAD = 222 + SYS_SETXATTR = 224 + SYS_LSETXATTR = 225 + SYS_FSETXATTR = 226 + SYS_GETXATTR = 227 + SYS_LGETXATTR = 228 + SYS_FGETXATTR = 229 + SYS_LISTXATTR = 230 + SYS_LLISTXATTR = 231 + SYS_FLISTXATTR = 232 + SYS_REMOVEXATTR = 233 + SYS_LREMOVEXATTR = 234 + SYS_FREMOVEXATTR = 235 + SYS_GETTID = 236 + SYS_TKILL = 237 + SYS_FUTEX = 238 + SYS_SCHED_SETAFFINITY = 239 + SYS_SCHED_GETAFFINITY = 240 + SYS_TGKILL = 241 + SYS_IO_SETUP = 243 + SYS_IO_DESTROY = 244 + SYS_IO_GETEVENTS = 245 + SYS_IO_SUBMIT = 246 + SYS_IO_CANCEL = 247 + SYS_EXIT_GROUP = 248 + SYS_EPOLL_CREATE = 249 + SYS_EPOLL_CTL = 250 + SYS_EPOLL_WAIT = 251 + SYS_SET_TID_ADDRESS = 252 + SYS_FADVISE64 = 253 + SYS_TIMER_CREATE = 254 + SYS_TIMER_SETTIME = 255 + SYS_TIMER_GETTIME = 256 + SYS_TIMER_GETOVERRUN = 257 + SYS_TIMER_DELETE = 258 + SYS_CLOCK_SETTIME = 259 + SYS_CLOCK_GETTIME = 260 + SYS_CLOCK_GETRES = 261 + SYS_CLOCK_NANOSLEEP = 262 + SYS_STATFS64 = 265 + SYS_FSTATFS64 = 266 + SYS_REMAP_FILE_PAGES = 267 + SYS_MBIND = 268 + SYS_GET_MEMPOLICY = 269 + SYS_SET_MEMPOLICY = 270 + SYS_MQ_OPEN = 271 + SYS_MQ_UNLINK = 272 + SYS_MQ_TIMEDSEND = 273 + SYS_MQ_TIMEDRECEIVE = 274 + SYS_MQ_NOTIFY = 275 + SYS_MQ_GETSETATTR = 276 + SYS_KEXEC_LOAD = 277 + SYS_ADD_KEY = 278 + SYS_REQUEST_KEY = 279 + SYS_KEYCTL = 280 + SYS_WAITID = 281 + SYS_IOPRIO_SET = 282 + SYS_IOPRIO_GET = 283 + SYS_INOTIFY_INIT = 284 + SYS_INOTIFY_ADD_WATCH = 285 + SYS_INOTIFY_RM_WATCH = 286 + SYS_MIGRATE_PAGES = 287 + SYS_OPENAT = 288 + SYS_MKDIRAT = 289 + SYS_MKNODAT = 290 + SYS_FCHOWNAT = 291 + SYS_FUTIMESAT = 292 + SYS_UNLINKAT = 294 + SYS_RENAMEAT = 295 + SYS_LINKAT = 296 + SYS_SYMLINKAT = 297 + SYS_READLINKAT = 298 + SYS_FCHMODAT = 299 + SYS_FACCESSAT = 300 + SYS_PSELECT6 = 301 + SYS_PPOLL = 302 + SYS_UNSHARE = 303 + SYS_SET_ROBUST_LIST = 304 + SYS_GET_ROBUST_LIST = 305 + SYS_SPLICE = 306 + SYS_SYNC_FILE_RANGE = 307 + SYS_TEE = 308 + SYS_VMSPLICE = 309 + SYS_MOVE_PAGES = 310 + SYS_GETCPU = 311 + SYS_EPOLL_PWAIT = 312 + SYS_UTIMES = 313 + SYS_FALLOCATE = 314 + SYS_UTIMENSAT = 315 + SYS_SIGNALFD = 316 + SYS_TIMERFD = 317 + SYS_EVENTFD = 318 + SYS_TIMERFD_CREATE = 319 + SYS_TIMERFD_SETTIME = 320 + SYS_TIMERFD_GETTIME = 321 + SYS_SIGNALFD4 = 322 + SYS_EVENTFD2 = 323 + SYS_INOTIFY_INIT1 = 324 + SYS_PIPE2 = 325 + SYS_DUP3 = 326 + SYS_EPOLL_CREATE1 = 327 + SYS_PREADV = 328 + SYS_PWRITEV = 329 + SYS_RT_TGSIGQUEUEINFO = 330 + SYS_PERF_EVENT_OPEN = 331 + SYS_FANOTIFY_INIT = 332 + SYS_FANOTIFY_MARK = 333 + SYS_PRLIMIT64 = 334 + SYS_NAME_TO_HANDLE_AT = 335 + SYS_OPEN_BY_HANDLE_AT = 336 + SYS_CLOCK_ADJTIME = 337 + SYS_SYNCFS = 338 + SYS_SETNS = 339 + SYS_PROCESS_VM_READV = 340 + SYS_PROCESS_VM_WRITEV = 341 + SYS_S390_RUNTIME_INSTR = 342 + SYS_KCMP = 343 + SYS_FINIT_MODULE = 344 + SYS_SCHED_SETATTR = 345 + SYS_SCHED_GETATTR = 346 + SYS_RENAMEAT2 = 347 + SYS_SECCOMP = 348 + SYS_GETRANDOM = 349 + SYS_MEMFD_CREATE = 350 + SYS_BPF = 351 + SYS_S390_PCI_MMIO_WRITE = 352 + SYS_S390_PCI_MMIO_READ = 353 + SYS_EXECVEAT = 354 + SYS_USERFAULTFD = 355 + SYS_MEMBARRIER = 356 + SYS_RECVMMSG = 357 + SYS_SENDMMSG = 358 + SYS_SOCKET = 359 + SYS_SOCKETPAIR = 360 + SYS_BIND = 361 + SYS_CONNECT = 362 + SYS_LISTEN = 363 + SYS_ACCEPT4 = 364 + SYS_GETSOCKOPT = 365 + SYS_SETSOCKOPT = 366 + SYS_GETSOCKNAME = 367 + SYS_GETPEERNAME = 368 + SYS_SENDTO = 369 + SYS_SENDMSG = 370 + SYS_RECVFROM = 371 + SYS_RECVMSG = 372 + SYS_SHUTDOWN = 373 + SYS_MLOCK2 = 374 + SYS_SELECT = 142 + SYS_GETRLIMIT = 191 + SYS_LCHOWN = 198 + SYS_GETUID = 199 + SYS_GETGID = 200 + SYS_GETEUID = 201 + SYS_GETEGID = 202 + SYS_SETREUID = 203 + SYS_SETREGID = 204 + SYS_GETGROUPS = 205 + SYS_SETGROUPS = 206 + SYS_FCHOWN = 207 + SYS_SETRESUID = 208 + SYS_GETRESUID = 209 + SYS_SETRESGID = 210 + SYS_GETRESGID = 211 + SYS_CHOWN = 212 + SYS_SETUID = 213 + SYS_SETGID = 214 + SYS_SETFSUID = 215 + SYS_SETFSGID = 216 + SYS_NEWFSTATAT = 293 +) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go index 6bedd16f638..044657878c8 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_amd64.go @@ -455,3 +455,8 @@ type Termios struct { Ispeed uint64 Ospeed uint64 } + +const ( + AT_FDCWD = -0x2 + AT_SYMLINK_NOFOLLOW = 0x20 +) diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_darwin_arm64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_dragonfly_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go index 330c0e6356f..8cf30947b41 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_386.go @@ -1,8 +1,7 @@ +// +build 386,freebsd // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_freebsd.go -// +build 386,freebsd - package unix const ( @@ -140,6 +139,15 @@ type Fsid struct { Val [2]int32 } +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + type RawSockaddrInet4 struct { Len uint8 Family uint8 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go index 93395924c48..e5feb207be6 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_amd64.go @@ -1,8 +1,7 @@ +// +build amd64,freebsd // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_freebsd.go -// +build amd64,freebsd - package unix const ( @@ -140,6 +139,15 @@ type Fsid struct { Val [2]int32 } +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + type RawSockaddrInet4 struct { Len uint8 Family uint8 diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_freebsd_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go index 9a58381b4dc..f3ddf5345bb 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_386.go @@ -1,8 +1,7 @@ +// +build 386,linux // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_linux.go -// +build 386,linux - package unix const ( @@ -152,6 +151,15 @@ type Flock_t struct { Pid int32 } +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + type RawSockaddrInet4 struct { Family uint16 Port uint16 @@ -189,6 +197,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]int8 @@ -311,6 +325,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -575,18 +590,38 @@ type EpollEvent struct { const ( AT_FDCWD = -0x64 - AT_SYMLINK_NOFOLLOW = 0x100 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 ) -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Line uint8 - Cc [32]uint8 - Pad_cgo_0 [3]byte - Ispeed uint32 - Ospeed uint32 +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [19]uint8 + Ispeed uint32 + Ospeed uint32 } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go index f1937a62756..a923bef353c 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go @@ -1,8 +1,7 @@ +// +build amd64,linux // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_linux.go -// +build amd64,linux - package unix const ( @@ -154,6 +153,15 @@ type Flock_t struct { Pad_cgo_1 [4]byte } +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + type RawSockaddrInet4 struct { Family uint16 Port uint16 @@ -191,6 +199,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]int8 @@ -315,6 +329,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -593,18 +608,38 @@ type EpollEvent struct { const ( AT_FDCWD = -0x64 - AT_SYMLINK_NOFOLLOW = 0x100 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 ) -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Line uint8 - Cc [32]uint8 - Pad_cgo_0 [3]byte - Ispeed uint32 - Ospeed uint32 +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [19]uint8 + Ispeed uint32 + Ospeed uint32 } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go index c8a0de45adf..817ac9c29a0 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_arm.go @@ -1,8 +1,7 @@ +// +build arm,linux // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_linux.go -// +build arm,linux - package unix const ( @@ -193,6 +192,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]uint8 @@ -315,6 +320,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -564,120 +570,38 @@ type EpollEvent struct { const ( AT_FDCWD = -0x64 - AT_SYMLINK_NOFOLLOW = 0x100 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 ) -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Line uint8 - Cc [32]uint8 - Pad_cgo_0 [3]byte - Ispeed uint32 - Ospeed uint32 +type PollFd struct { + Fd int32 + Events int16 + Revents int16 } const ( - VINTR = 0x0 - VQUIT = 0x1 - VERASE = 0x2 - VKILL = 0x3 - VEOF = 0x4 - VTIME = 0x5 - VMIN = 0x6 - VSWTC = 0x7 - VSTART = 0x8 - VSTOP = 0x9 - VSUSP = 0xa - VEOL = 0xb - VREPRINT = 0xc - VDISCARD = 0xd - VWERASE = 0xe - VLNEXT = 0xf - VEOL2 = 0x10 - IGNBRK = 0x1 - BRKINT = 0x2 - IGNPAR = 0x4 - PARMRK = 0x8 - INPCK = 0x10 - ISTRIP = 0x20 - INLCR = 0x40 - IGNCR = 0x80 - ICRNL = 0x100 - IUCLC = 0x200 - IXON = 0x400 - IXANY = 0x800 - IXOFF = 0x1000 - IMAXBEL = 0x2000 - IUTF8 = 0x4000 - OPOST = 0x1 - OLCUC = 0x2 - ONLCR = 0x4 - OCRNL = 0x8 - ONOCR = 0x10 - ONLRET = 0x20 - OFILL = 0x40 - OFDEL = 0x80 - B0 = 0x0 - B50 = 0x1 - B75 = 0x2 - B110 = 0x3 - B134 = 0x4 - B150 = 0x5 - B200 = 0x6 - B300 = 0x7 - B600 = 0x8 - B1200 = 0x9 - B1800 = 0xa - B2400 = 0xb - B4800 = 0xc - B9600 = 0xd - B19200 = 0xe - B38400 = 0xf - CSIZE = 0x30 - CS5 = 0x0 - CS6 = 0x10 - CS7 = 0x20 - CS8 = 0x30 - CSTOPB = 0x40 - CREAD = 0x80 - PARENB = 0x100 - PARODD = 0x200 - HUPCL = 0x400 - CLOCAL = 0x800 - B57600 = 0x1001 - B115200 = 0x1002 - B230400 = 0x1003 - B460800 = 0x1004 - B500000 = 0x1005 - B576000 = 0x1006 - B921600 = 0x1007 - B1000000 = 0x1008 - B1152000 = 0x1009 - B1500000 = 0x100a - B2000000 = 0x100b - B2500000 = 0x100c - B3000000 = 0x100d - B3500000 = 0x100e - B4000000 = 0x100f - ISIG = 0x1 - ICANON = 0x2 - XCASE = 0x4 - ECHO = 0x8 - ECHOE = 0x10 - ECHOK = 0x20 - ECHONL = 0x40 - NOFLSH = 0x80 - TOSTOP = 0x100 - ECHOCTL = 0x200 - ECHOPRT = 0x400 - ECHOKE = 0x800 - FLUSHO = 0x1000 - PENDIN = 0x4000 - IEXTEN = 0x8000 - TCGETS = 0x5401 - TCSETS = 0x5402 + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 ) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [19]uint8 + Ispeed uint32 + Ospeed uint32 +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go index f989a36052c..e786addf78b 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go @@ -1,8 +1,7 @@ +// +build arm64,linux // Created by cgo -godefs - DO NOT EDIT // cgo -godefs -- -fsigned-char types_linux.go -// +build arm64,linux - package unix const ( @@ -201,6 +200,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]int8 @@ -325,6 +330,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -574,6 +580,7 @@ type Ustat_t struct { type EpollEvent struct { Events uint32 + PadFd int32 Fd int32 Pad int32 } @@ -581,17 +588,37 @@ type EpollEvent struct { const ( AT_FDCWD = -0x64 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 AT_SYMLINK_NOFOLLOW = 0x100 ) -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Line uint8 - Cc [32]uint8 - Pad_cgo_0 [3]byte - Ispeed uint32 - Ospeed uint32 +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [19]uint8 + Ispeed uint32 + Ospeed uint32 } diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go new file mode 100644 index 00000000000..b29894deba8 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go @@ -0,0 +1,627 @@ +// +build mips64,linux +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs types_linux.go + +package unix + +const ( + sizeofPtr = 0x8 + sizeofShort = 0x2 + sizeofInt = 0x4 + sizeofLong = 0x8 + sizeofLongLong = 0x8 + PathMax = 0x1000 +) + +type ( + _C_short int16 + _C_int int32 + _C_long int64 + _C_long_long int64 +) + +type Timespec struct { + Sec int64 + Nsec int64 +} + +type Timeval struct { + Sec int64 + Usec int64 +} + +type Timex struct { + Modes uint32 + Pad_cgo_0 [4]byte + Offset int64 + Freq int64 + Maxerror int64 + Esterror int64 + Status int32 + Pad_cgo_1 [4]byte + Constant int64 + Precision int64 + Tolerance int64 + Time Timeval + Tick int64 + Ppsfreq int64 + Jitter int64 + Shift int32 + Pad_cgo_2 [4]byte + Stabil int64 + Jitcnt int64 + Calcnt int64 + Errcnt int64 + Stbcnt int64 + Tai int32 + Pad_cgo_3 [44]byte +} + +type Time_t int64 + +type Tms struct { + Utime int64 + Stime int64 + Cutime int64 + Cstime int64 +} + +type Utimbuf struct { + Actime int64 + Modtime int64 +} + +type Rusage struct { + Utime Timeval + Stime Timeval + Maxrss int64 + Ixrss int64 + Idrss int64 + Isrss int64 + Minflt int64 + Majflt int64 + Nswap int64 + Inblock int64 + Oublock int64 + Msgsnd int64 + Msgrcv int64 + Nsignals int64 + Nvcsw int64 + Nivcsw int64 +} + +type Rlimit struct { + Cur uint64 + Max uint64 +} + +type _Gid_t uint32 + +type Stat_t struct { + Dev uint32 + Pad1 [3]int32 + Ino uint64 + Mode uint32 + Nlink uint32 + Uid uint32 + Gid uint32 + Rdev uint32 + Pad2 [3]uint32 + Size int64 + Atim Timespec + Mtim Timespec + Ctim Timespec + Blksize uint32 + Pad4 uint32 + Blocks int64 +} + +type Statfs_t struct { + Type int64 + Bsize int64 + Frsize int64 + Blocks uint64 + Bfree uint64 + Files uint64 + Ffree uint64 + Bavail uint64 + Fsid Fsid + Namelen int64 + Flags int64 + Spare [5]int64 +} + +type Dirent struct { + Ino uint64 + Off int64 + Reclen uint16 + Type uint8 + Name [256]int8 + Pad_cgo_0 [5]byte +} + +type Fsid struct { + X__val [2]int32 +} + +type Flock_t struct { + Type int16 + Whence int16 + Pad_cgo_0 [4]byte + Start int64 + Len int64 + Pid int32 + Pad_cgo_1 [4]byte +} + +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + +type RawSockaddrInet4 struct { + Family uint16 + Port uint16 + Addr [4]byte /* in_addr */ + Zero [8]uint8 +} + +type RawSockaddrInet6 struct { + Family uint16 + Port uint16 + Flowinfo uint32 + Addr [16]byte /* in6_addr */ + Scope_id uint32 +} + +type RawSockaddrUnix struct { + Family uint16 + Path [108]int8 +} + +type RawSockaddrLinklayer struct { + Family uint16 + Protocol uint16 + Ifindex int32 + Hatype uint16 + Pkttype uint8 + Halen uint8 + Addr [8]uint8 +} + +type RawSockaddrNetlink struct { + Family uint16 + Pad uint16 + Pid uint32 + Groups uint32 +} + +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + +type RawSockaddr struct { + Family uint16 + Data [14]int8 +} + +type RawSockaddrAny struct { + Addr RawSockaddr + Pad [96]int8 +} + +type _Socklen uint32 + +type Linger struct { + Onoff int32 + Linger int32 +} + +type Iovec struct { + Base *byte + Len uint64 +} + +type IPMreq struct { + Multiaddr [4]byte /* in_addr */ + Interface [4]byte /* in_addr */ +} + +type IPMreqn struct { + Multiaddr [4]byte /* in_addr */ + Address [4]byte /* in_addr */ + Ifindex int32 +} + +type IPv6Mreq struct { + Multiaddr [16]byte /* in6_addr */ + Interface uint32 +} + +type Msghdr struct { + Name *byte + Namelen uint32 + Pad_cgo_0 [4]byte + Iov *Iovec + Iovlen uint64 + Control *byte + Controllen uint64 + Flags int32 + Pad_cgo_1 [4]byte +} + +type Cmsghdr struct { + Len uint64 + Level int32 + Type int32 +} + +type Inet4Pktinfo struct { + Ifindex int32 + Spec_dst [4]byte /* in_addr */ + Addr [4]byte /* in_addr */ +} + +type Inet6Pktinfo struct { + Addr [16]byte /* in6_addr */ + Ifindex uint32 +} + +type IPv6MTUInfo struct { + Addr RawSockaddrInet6 + Mtu uint32 +} + +type ICMPv6Filter struct { + Data [8]uint32 +} + +type Ucred struct { + Pid int32 + Uid uint32 + Gid uint32 +} + +type TCPInfo struct { + State uint8 + Ca_state uint8 + Retransmits uint8 + Probes uint8 + Backoff uint8 + Options uint8 + Pad_cgo_0 [2]byte + Rto uint32 + Ato uint32 + Snd_mss uint32 + Rcv_mss uint32 + Unacked uint32 + Sacked uint32 + Lost uint32 + Retrans uint32 + Fackets uint32 + Last_data_sent uint32 + Last_ack_sent uint32 + Last_data_recv uint32 + Last_ack_recv uint32 + Pmtu uint32 + Rcv_ssthresh uint32 + Rtt uint32 + Rttvar uint32 + Snd_ssthresh uint32 + Snd_cwnd uint32 + Advmss uint32 + Reordering uint32 + Rcv_rtt uint32 + Rcv_space uint32 + Total_retrans uint32 +} + +const ( + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x70 + SizeofSockaddrUnix = 0x6e + SizeofSockaddrLinklayer = 0x14 + SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 + SizeofLinger = 0x8 + SizeofIPMreq = 0x8 + SizeofIPMreqn = 0xc + SizeofIPv6Mreq = 0x14 + SizeofMsghdr = 0x38 + SizeofCmsghdr = 0x10 + SizeofInet4Pktinfo = 0xc + SizeofInet6Pktinfo = 0x14 + SizeofIPv6MTUInfo = 0x20 + SizeofICMPv6Filter = 0x20 + SizeofUcred = 0xc + SizeofTCPInfo = 0x68 +) + +const ( + IFA_UNSPEC = 0x0 + IFA_ADDRESS = 0x1 + IFA_LOCAL = 0x2 + IFA_LABEL = 0x3 + IFA_BROADCAST = 0x4 + IFA_ANYCAST = 0x5 + IFA_CACHEINFO = 0x6 + IFA_MULTICAST = 0x7 + IFLA_UNSPEC = 0x0 + IFLA_ADDRESS = 0x1 + IFLA_BROADCAST = 0x2 + IFLA_IFNAME = 0x3 + IFLA_MTU = 0x4 + IFLA_LINK = 0x5 + IFLA_QDISC = 0x6 + IFLA_STATS = 0x7 + IFLA_COST = 0x8 + IFLA_PRIORITY = 0x9 + IFLA_MASTER = 0xa + IFLA_WIRELESS = 0xb + IFLA_PROTINFO = 0xc + IFLA_TXQLEN = 0xd + IFLA_MAP = 0xe + IFLA_WEIGHT = 0xf + IFLA_OPERSTATE = 0x10 + IFLA_LINKMODE = 0x11 + IFLA_LINKINFO = 0x12 + IFLA_NET_NS_PID = 0x13 + IFLA_IFALIAS = 0x14 + IFLA_MAX = 0x27 + RT_SCOPE_UNIVERSE = 0x0 + RT_SCOPE_SITE = 0xc8 + RT_SCOPE_LINK = 0xfd + RT_SCOPE_HOST = 0xfe + RT_SCOPE_NOWHERE = 0xff + RT_TABLE_UNSPEC = 0x0 + RT_TABLE_COMPAT = 0xfc + RT_TABLE_DEFAULT = 0xfd + RT_TABLE_MAIN = 0xfe + RT_TABLE_LOCAL = 0xff + RT_TABLE_MAX = 0xffffffff + RTA_UNSPEC = 0x0 + RTA_DST = 0x1 + RTA_SRC = 0x2 + RTA_IIF = 0x3 + RTA_OIF = 0x4 + RTA_GATEWAY = 0x5 + RTA_PRIORITY = 0x6 + RTA_PREFSRC = 0x7 + RTA_METRICS = 0x8 + RTA_MULTIPATH = 0x9 + RTA_FLOW = 0xb + RTA_CACHEINFO = 0xc + RTA_TABLE = 0xf + RTN_UNSPEC = 0x0 + RTN_UNICAST = 0x1 + RTN_LOCAL = 0x2 + RTN_BROADCAST = 0x3 + RTN_ANYCAST = 0x4 + RTN_MULTICAST = 0x5 + RTN_BLACKHOLE = 0x6 + RTN_UNREACHABLE = 0x7 + RTN_PROHIBIT = 0x8 + RTN_THROW = 0x9 + RTN_NAT = 0xa + RTN_XRESOLVE = 0xb + RTNLGRP_NONE = 0x0 + RTNLGRP_LINK = 0x1 + RTNLGRP_NOTIFY = 0x2 + RTNLGRP_NEIGH = 0x3 + RTNLGRP_TC = 0x4 + RTNLGRP_IPV4_IFADDR = 0x5 + RTNLGRP_IPV4_MROUTE = 0x6 + RTNLGRP_IPV4_ROUTE = 0x7 + RTNLGRP_IPV4_RULE = 0x8 + RTNLGRP_IPV6_IFADDR = 0x9 + RTNLGRP_IPV6_MROUTE = 0xa + RTNLGRP_IPV6_ROUTE = 0xb + RTNLGRP_IPV6_IFINFO = 0xc + RTNLGRP_IPV6_PREFIX = 0x12 + RTNLGRP_IPV6_RULE = 0x13 + RTNLGRP_ND_USEROPT = 0x14 + SizeofNlMsghdr = 0x10 + SizeofNlMsgerr = 0x14 + SizeofRtGenmsg = 0x1 + SizeofNlAttr = 0x4 + SizeofRtAttr = 0x4 + SizeofIfInfomsg = 0x10 + SizeofIfAddrmsg = 0x8 + SizeofRtMsg = 0xc + SizeofRtNexthop = 0x8 +) + +type NlMsghdr struct { + Len uint32 + Type uint16 + Flags uint16 + Seq uint32 + Pid uint32 +} + +type NlMsgerr struct { + Error int32 + Msg NlMsghdr +} + +type RtGenmsg struct { + Family uint8 +} + +type NlAttr struct { + Len uint16 + Type uint16 +} + +type RtAttr struct { + Len uint16 + Type uint16 +} + +type IfInfomsg struct { + Family uint8 + X__ifi_pad uint8 + Type uint16 + Index int32 + Flags uint32 + Change uint32 +} + +type IfAddrmsg struct { + Family uint8 + Prefixlen uint8 + Flags uint8 + Scope uint8 + Index uint32 +} + +type RtMsg struct { + Family uint8 + Dst_len uint8 + Src_len uint8 + Tos uint8 + Table uint8 + Protocol uint8 + Scope uint8 + Type uint8 + Flags uint32 +} + +type RtNexthop struct { + Len uint16 + Flags uint8 + Hops uint8 + Ifindex int32 +} + +const ( + SizeofSockFilter = 0x8 + SizeofSockFprog = 0x10 +) + +type SockFilter struct { + Code uint16 + Jt uint8 + Jf uint8 + K uint32 +} + +type SockFprog struct { + Len uint16 + Pad_cgo_0 [6]byte + Filter *SockFilter +} + +type InotifyEvent struct { + Wd int32 + Mask uint32 + Cookie uint32 + Len uint32 +} + +const SizeofInotifyEvent = 0x10 + +type PtraceRegs struct { + Regs [102]uint64 + U_tsize uint64 + U_dsize uint64 + U_ssize uint64 + Start_code uint64 + Start_data uint64 + Start_stack uint64 + Signal int64 + U_ar0 uint64 + Magic uint64 + U_comm [32]int8 +} + +type FdSet struct { + Bits [16]int64 +} + +type Sysinfo_t struct { + Uptime int64 + Loads [3]uint64 + Totalram uint64 + Freeram uint64 + Sharedram uint64 + Bufferram uint64 + Totalswap uint64 + Freeswap uint64 + Procs uint16 + Pad uint16 + Pad_cgo_0 [4]byte + Totalhigh uint64 + Freehigh uint64 + Unit uint32 + X_f [0]int8 + Pad_cgo_1 [4]byte +} + +type Utsname struct { + Sysname [65]int8 + Nodename [65]int8 + Release [65]int8 + Version [65]int8 + Machine [65]int8 + Domainname [65]int8 +} + +type Ustat_t struct { + Tfree int32 + Pad_cgo_0 [4]byte + Tinode uint64 + Fname [6]int8 + Fpack [6]int8 + Pad_cgo_1 [4]byte +} + +type EpollEvent struct { + Events uint32 + Fd int32 + Pad int32 +} + +const ( + AT_FDCWD = -0x64 + AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 +) + +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [32]uint8 + Pad_cgo_0 [3]byte +} diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go new file mode 100644 index 00000000000..d9af71b6964 --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go @@ -0,0 +1,627 @@ +// +build mips64le,linux +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs types_linux.go + +package unix + +const ( + sizeofPtr = 0x8 + sizeofShort = 0x2 + sizeofInt = 0x4 + sizeofLong = 0x8 + sizeofLongLong = 0x8 + PathMax = 0x1000 +) + +type ( + _C_short int16 + _C_int int32 + _C_long int64 + _C_long_long int64 +) + +type Timespec struct { + Sec int64 + Nsec int64 +} + +type Timeval struct { + Sec int64 + Usec int64 +} + +type Timex struct { + Modes uint32 + Pad_cgo_0 [4]byte + Offset int64 + Freq int64 + Maxerror int64 + Esterror int64 + Status int32 + Pad_cgo_1 [4]byte + Constant int64 + Precision int64 + Tolerance int64 + Time Timeval + Tick int64 + Ppsfreq int64 + Jitter int64 + Shift int32 + Pad_cgo_2 [4]byte + Stabil int64 + Jitcnt int64 + Calcnt int64 + Errcnt int64 + Stbcnt int64 + Tai int32 + Pad_cgo_3 [44]byte +} + +type Time_t int64 + +type Tms struct { + Utime int64 + Stime int64 + Cutime int64 + Cstime int64 +} + +type Utimbuf struct { + Actime int64 + Modtime int64 +} + +type Rusage struct { + Utime Timeval + Stime Timeval + Maxrss int64 + Ixrss int64 + Idrss int64 + Isrss int64 + Minflt int64 + Majflt int64 + Nswap int64 + Inblock int64 + Oublock int64 + Msgsnd int64 + Msgrcv int64 + Nsignals int64 + Nvcsw int64 + Nivcsw int64 +} + +type Rlimit struct { + Cur uint64 + Max uint64 +} + +type _Gid_t uint32 + +type Stat_t struct { + Dev uint32 + Pad1 [3]int32 + Ino uint64 + Mode uint32 + Nlink uint32 + Uid uint32 + Gid uint32 + Rdev uint32 + Pad2 [3]uint32 + Size int64 + Atim Timespec + Mtim Timespec + Ctim Timespec + Blksize uint32 + Pad4 uint32 + Blocks int64 +} + +type Statfs_t struct { + Type int64 + Bsize int64 + Frsize int64 + Blocks uint64 + Bfree uint64 + Files uint64 + Ffree uint64 + Bavail uint64 + Fsid Fsid + Namelen int64 + Flags int64 + Spare [5]int64 +} + +type Dirent struct { + Ino uint64 + Off int64 + Reclen uint16 + Type uint8 + Name [256]int8 + Pad_cgo_0 [5]byte +} + +type Fsid struct { + X__val [2]int32 +} + +type Flock_t struct { + Type int16 + Whence int16 + Pad_cgo_0 [4]byte + Start int64 + Len int64 + Pid int32 + Pad_cgo_1 [4]byte +} + +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x4 + FADV_NOREUSE = 0x5 +) + +type RawSockaddrInet4 struct { + Family uint16 + Port uint16 + Addr [4]byte /* in_addr */ + Zero [8]uint8 +} + +type RawSockaddrInet6 struct { + Family uint16 + Port uint16 + Flowinfo uint32 + Addr [16]byte /* in6_addr */ + Scope_id uint32 +} + +type RawSockaddrUnix struct { + Family uint16 + Path [108]int8 +} + +type RawSockaddrLinklayer struct { + Family uint16 + Protocol uint16 + Ifindex int32 + Hatype uint16 + Pkttype uint8 + Halen uint8 + Addr [8]uint8 +} + +type RawSockaddrNetlink struct { + Family uint16 + Pad uint16 + Pid uint32 + Groups uint32 +} + +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + +type RawSockaddr struct { + Family uint16 + Data [14]int8 +} + +type RawSockaddrAny struct { + Addr RawSockaddr + Pad [96]int8 +} + +type _Socklen uint32 + +type Linger struct { + Onoff int32 + Linger int32 +} + +type Iovec struct { + Base *byte + Len uint64 +} + +type IPMreq struct { + Multiaddr [4]byte /* in_addr */ + Interface [4]byte /* in_addr */ +} + +type IPMreqn struct { + Multiaddr [4]byte /* in_addr */ + Address [4]byte /* in_addr */ + Ifindex int32 +} + +type IPv6Mreq struct { + Multiaddr [16]byte /* in6_addr */ + Interface uint32 +} + +type Msghdr struct { + Name *byte + Namelen uint32 + Pad_cgo_0 [4]byte + Iov *Iovec + Iovlen uint64 + Control *byte + Controllen uint64 + Flags int32 + Pad_cgo_1 [4]byte +} + +type Cmsghdr struct { + Len uint64 + Level int32 + Type int32 +} + +type Inet4Pktinfo struct { + Ifindex int32 + Spec_dst [4]byte /* in_addr */ + Addr [4]byte /* in_addr */ +} + +type Inet6Pktinfo struct { + Addr [16]byte /* in6_addr */ + Ifindex uint32 +} + +type IPv6MTUInfo struct { + Addr RawSockaddrInet6 + Mtu uint32 +} + +type ICMPv6Filter struct { + Data [8]uint32 +} + +type Ucred struct { + Pid int32 + Uid uint32 + Gid uint32 +} + +type TCPInfo struct { + State uint8 + Ca_state uint8 + Retransmits uint8 + Probes uint8 + Backoff uint8 + Options uint8 + Pad_cgo_0 [2]byte + Rto uint32 + Ato uint32 + Snd_mss uint32 + Rcv_mss uint32 + Unacked uint32 + Sacked uint32 + Lost uint32 + Retrans uint32 + Fackets uint32 + Last_data_sent uint32 + Last_ack_sent uint32 + Last_data_recv uint32 + Last_ack_recv uint32 + Pmtu uint32 + Rcv_ssthresh uint32 + Rtt uint32 + Rttvar uint32 + Snd_ssthresh uint32 + Snd_cwnd uint32 + Advmss uint32 + Reordering uint32 + Rcv_rtt uint32 + Rcv_space uint32 + Total_retrans uint32 +} + +const ( + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x70 + SizeofSockaddrUnix = 0x6e + SizeofSockaddrLinklayer = 0x14 + SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 + SizeofLinger = 0x8 + SizeofIPMreq = 0x8 + SizeofIPMreqn = 0xc + SizeofIPv6Mreq = 0x14 + SizeofMsghdr = 0x38 + SizeofCmsghdr = 0x10 + SizeofInet4Pktinfo = 0xc + SizeofInet6Pktinfo = 0x14 + SizeofIPv6MTUInfo = 0x20 + SizeofICMPv6Filter = 0x20 + SizeofUcred = 0xc + SizeofTCPInfo = 0x68 +) + +const ( + IFA_UNSPEC = 0x0 + IFA_ADDRESS = 0x1 + IFA_LOCAL = 0x2 + IFA_LABEL = 0x3 + IFA_BROADCAST = 0x4 + IFA_ANYCAST = 0x5 + IFA_CACHEINFO = 0x6 + IFA_MULTICAST = 0x7 + IFLA_UNSPEC = 0x0 + IFLA_ADDRESS = 0x1 + IFLA_BROADCAST = 0x2 + IFLA_IFNAME = 0x3 + IFLA_MTU = 0x4 + IFLA_LINK = 0x5 + IFLA_QDISC = 0x6 + IFLA_STATS = 0x7 + IFLA_COST = 0x8 + IFLA_PRIORITY = 0x9 + IFLA_MASTER = 0xa + IFLA_WIRELESS = 0xb + IFLA_PROTINFO = 0xc + IFLA_TXQLEN = 0xd + IFLA_MAP = 0xe + IFLA_WEIGHT = 0xf + IFLA_OPERSTATE = 0x10 + IFLA_LINKMODE = 0x11 + IFLA_LINKINFO = 0x12 + IFLA_NET_NS_PID = 0x13 + IFLA_IFALIAS = 0x14 + IFLA_MAX = 0x27 + RT_SCOPE_UNIVERSE = 0x0 + RT_SCOPE_SITE = 0xc8 + RT_SCOPE_LINK = 0xfd + RT_SCOPE_HOST = 0xfe + RT_SCOPE_NOWHERE = 0xff + RT_TABLE_UNSPEC = 0x0 + RT_TABLE_COMPAT = 0xfc + RT_TABLE_DEFAULT = 0xfd + RT_TABLE_MAIN = 0xfe + RT_TABLE_LOCAL = 0xff + RT_TABLE_MAX = 0xffffffff + RTA_UNSPEC = 0x0 + RTA_DST = 0x1 + RTA_SRC = 0x2 + RTA_IIF = 0x3 + RTA_OIF = 0x4 + RTA_GATEWAY = 0x5 + RTA_PRIORITY = 0x6 + RTA_PREFSRC = 0x7 + RTA_METRICS = 0x8 + RTA_MULTIPATH = 0x9 + RTA_FLOW = 0xb + RTA_CACHEINFO = 0xc + RTA_TABLE = 0xf + RTN_UNSPEC = 0x0 + RTN_UNICAST = 0x1 + RTN_LOCAL = 0x2 + RTN_BROADCAST = 0x3 + RTN_ANYCAST = 0x4 + RTN_MULTICAST = 0x5 + RTN_BLACKHOLE = 0x6 + RTN_UNREACHABLE = 0x7 + RTN_PROHIBIT = 0x8 + RTN_THROW = 0x9 + RTN_NAT = 0xa + RTN_XRESOLVE = 0xb + RTNLGRP_NONE = 0x0 + RTNLGRP_LINK = 0x1 + RTNLGRP_NOTIFY = 0x2 + RTNLGRP_NEIGH = 0x3 + RTNLGRP_TC = 0x4 + RTNLGRP_IPV4_IFADDR = 0x5 + RTNLGRP_IPV4_MROUTE = 0x6 + RTNLGRP_IPV4_ROUTE = 0x7 + RTNLGRP_IPV4_RULE = 0x8 + RTNLGRP_IPV6_IFADDR = 0x9 + RTNLGRP_IPV6_MROUTE = 0xa + RTNLGRP_IPV6_ROUTE = 0xb + RTNLGRP_IPV6_IFINFO = 0xc + RTNLGRP_IPV6_PREFIX = 0x12 + RTNLGRP_IPV6_RULE = 0x13 + RTNLGRP_ND_USEROPT = 0x14 + SizeofNlMsghdr = 0x10 + SizeofNlMsgerr = 0x14 + SizeofRtGenmsg = 0x1 + SizeofNlAttr = 0x4 + SizeofRtAttr = 0x4 + SizeofIfInfomsg = 0x10 + SizeofIfAddrmsg = 0x8 + SizeofRtMsg = 0xc + SizeofRtNexthop = 0x8 +) + +type NlMsghdr struct { + Len uint32 + Type uint16 + Flags uint16 + Seq uint32 + Pid uint32 +} + +type NlMsgerr struct { + Error int32 + Msg NlMsghdr +} + +type RtGenmsg struct { + Family uint8 +} + +type NlAttr struct { + Len uint16 + Type uint16 +} + +type RtAttr struct { + Len uint16 + Type uint16 +} + +type IfInfomsg struct { + Family uint8 + X__ifi_pad uint8 + Type uint16 + Index int32 + Flags uint32 + Change uint32 +} + +type IfAddrmsg struct { + Family uint8 + Prefixlen uint8 + Flags uint8 + Scope uint8 + Index uint32 +} + +type RtMsg struct { + Family uint8 + Dst_len uint8 + Src_len uint8 + Tos uint8 + Table uint8 + Protocol uint8 + Scope uint8 + Type uint8 + Flags uint32 +} + +type RtNexthop struct { + Len uint16 + Flags uint8 + Hops uint8 + Ifindex int32 +} + +const ( + SizeofSockFilter = 0x8 + SizeofSockFprog = 0x10 +) + +type SockFilter struct { + Code uint16 + Jt uint8 + Jf uint8 + K uint32 +} + +type SockFprog struct { + Len uint16 + Pad_cgo_0 [6]byte + Filter *SockFilter +} + +type InotifyEvent struct { + Wd int32 + Mask uint32 + Cookie uint32 + Len uint32 +} + +const SizeofInotifyEvent = 0x10 + +type PtraceRegs struct { + Regs [102]uint64 + U_tsize uint64 + U_dsize uint64 + U_ssize uint64 + Start_code uint64 + Start_data uint64 + Start_stack uint64 + Signal int64 + U_ar0 uint64 + Magic uint64 + U_comm [32]int8 +} + +type FdSet struct { + Bits [16]int64 +} + +type Sysinfo_t struct { + Uptime int64 + Loads [3]uint64 + Totalram uint64 + Freeram uint64 + Sharedram uint64 + Bufferram uint64 + Totalswap uint64 + Freeswap uint64 + Procs uint16 + Pad uint16 + Pad_cgo_0 [4]byte + Totalhigh uint64 + Freehigh uint64 + Unit uint32 + X_f [0]int8 + Pad_cgo_1 [4]byte +} + +type Utsname struct { + Sysname [65]int8 + Nodename [65]int8 + Release [65]int8 + Version [65]int8 + Machine [65]int8 + Domainname [65]int8 +} + +type Ustat_t struct { + Tfree int32 + Pad_cgo_0 [4]byte + Tinode uint64 + Fname [6]int8 + Fpack [6]int8 + Pad_cgo_1 [4]byte +} + +type EpollEvent struct { + Events uint32 + Fd int32 + Pad int32 +} + +const ( + AT_FDCWD = -0x64 + AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 +) + +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [32]uint8 + Pad_cgo_0 [3]byte +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go index 808203d071b..4218170a9ca 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go @@ -1,8 +1,7 @@ +// +build ppc64,linux // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_linux.go -// +build ppc64,linux - package unix const ( @@ -202,6 +201,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]uint8 @@ -326,6 +331,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -583,25 +589,46 @@ type Ustat_t struct { } type EpollEvent struct { - Events uint32 - Fd int32 - Pad int32 + Events uint32 + X_padFd int32 + Fd int32 + Pad int32 } const ( AT_FDCWD = -0x64 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 AT_SYMLINK_NOFOLLOW = 0x100 ) -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Line uint8 - Cc [32]uint8 - Pad_cgo_0 [3]byte - Ispeed uint32 - Ospeed uint32 +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Cc [19]uint8 + Line uint8 + Ispeed uint32 + Ospeed uint32 } diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go index d4a689faffa..7db4c78c609 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go @@ -1,8 +1,7 @@ +// +build ppc64le,linux // Created by cgo -godefs - DO NOT EDIT // cgo -godefs types_linux.go -// +build ppc64le,linux - package unix const ( @@ -202,6 +201,12 @@ type RawSockaddrNetlink struct { Groups uint32 } +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + type RawSockaddr struct { Family uint16 Data [14]uint8 @@ -326,6 +331,7 @@ const ( SizeofSockaddrUnix = 0x6e SizeofSockaddrLinklayer = 0x14 SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 SizeofLinger = 0x8 SizeofIPMreq = 0x8 SizeofIPMreqn = 0xc @@ -583,25 +589,46 @@ type Ustat_t struct { } type EpollEvent struct { - Events uint32 - Fd int32 - Pad int32 + Events uint32 + X_padFd int32 + Fd int32 + Pad int32 } const ( AT_FDCWD = -0x64 AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 AT_SYMLINK_NOFOLLOW = 0x100 ) -type Termios struct { - Iflag uint32 - Oflag uint32 - Cflag uint32 - Lflag uint32 - Line uint8 - Cc [32]uint8 - Pad_cgo_0 [3]byte - Ispeed uint32 - Ospeed uint32 +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Cc [19]uint8 + Line uint8 + Ispeed uint32 + Ospeed uint32 } diff --git a/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go new file mode 100644 index 00000000000..76ee57cbfdd --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go @@ -0,0 +1,649 @@ +// +build s390x,linux +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs -- -fsigned-char types_linux.go + +package unix + +const ( + sizeofPtr = 0x8 + sizeofShort = 0x2 + sizeofInt = 0x4 + sizeofLong = 0x8 + sizeofLongLong = 0x8 + PathMax = 0x1000 +) + +type ( + _C_short int16 + _C_int int32 + _C_long int64 + _C_long_long int64 +) + +type Timespec struct { + Sec int64 + Nsec int64 +} + +type Timeval struct { + Sec int64 + Usec int64 +} + +type Timex struct { + Modes uint32 + _ [4]byte + Offset int64 + Freq int64 + Maxerror int64 + Esterror int64 + Status int32 + _ [4]byte + Constant int64 + Precision int64 + Tolerance int64 + Time Timeval + Tick int64 + Ppsfreq int64 + Jitter int64 + Shift int32 + _ [4]byte + Stabil int64 + Jitcnt int64 + Calcnt int64 + Errcnt int64 + Stbcnt int64 + Tai int32 + _ [44]byte +} + +type Time_t int64 + +type Tms struct { + Utime int64 + Stime int64 + Cutime int64 + Cstime int64 +} + +type Utimbuf struct { + Actime int64 + Modtime int64 +} + +type Rusage struct { + Utime Timeval + Stime Timeval + Maxrss int64 + Ixrss int64 + Idrss int64 + Isrss int64 + Minflt int64 + Majflt int64 + Nswap int64 + Inblock int64 + Oublock int64 + Msgsnd int64 + Msgrcv int64 + Nsignals int64 + Nvcsw int64 + Nivcsw int64 +} + +type Rlimit struct { + Cur uint64 + Max uint64 +} + +type _Gid_t uint32 + +type Stat_t struct { + Dev uint64 + Ino uint64 + Nlink uint64 + Mode uint32 + Uid uint32 + Gid uint32 + _ int32 + Rdev uint64 + Size int64 + Atim Timespec + Mtim Timespec + Ctim Timespec + Blksize int64 + Blocks int64 + _ [3]int64 +} + +type Statfs_t struct { + Type uint32 + Bsize uint32 + Blocks uint64 + Bfree uint64 + Bavail uint64 + Files uint64 + Ffree uint64 + Fsid Fsid + Namelen uint32 + Frsize uint32 + Flags uint32 + Spare [4]uint32 + _ [4]byte +} + +type Dirent struct { + Ino uint64 + Off int64 + Reclen uint16 + Type uint8 + Name [256]int8 + _ [5]byte +} + +type Fsid struct { + _ [2]int32 +} + +type Flock_t struct { + Type int16 + Whence int16 + _ [4]byte + Start int64 + Len int64 + Pid int32 + _ [4]byte +} + +const ( + FADV_NORMAL = 0x0 + FADV_RANDOM = 0x1 + FADV_SEQUENTIAL = 0x2 + FADV_WILLNEED = 0x3 + FADV_DONTNEED = 0x6 + FADV_NOREUSE = 0x7 +) + +type RawSockaddrInet4 struct { + Family uint16 + Port uint16 + Addr [4]byte /* in_addr */ + Zero [8]uint8 +} + +type RawSockaddrInet6 struct { + Family uint16 + Port uint16 + Flowinfo uint32 + Addr [16]byte /* in6_addr */ + Scope_id uint32 +} + +type RawSockaddrUnix struct { + Family uint16 + Path [108]int8 +} + +type RawSockaddrLinklayer struct { + Family uint16 + Protocol uint16 + Ifindex int32 + Hatype uint16 + Pkttype uint8 + Halen uint8 + Addr [8]uint8 +} + +type RawSockaddrNetlink struct { + Family uint16 + Pad uint16 + Pid uint32 + Groups uint32 +} + +type RawSockaddrHCI struct { + Family uint16 + Dev uint16 + Channel uint16 +} + +type RawSockaddr struct { + Family uint16 + Data [14]int8 +} + +type RawSockaddrAny struct { + Addr RawSockaddr + Pad [96]int8 +} + +type _Socklen uint32 + +type Linger struct { + Onoff int32 + Linger int32 +} + +type Iovec struct { + Base *byte + Len uint64 +} + +type IPMreq struct { + Multiaddr [4]byte /* in_addr */ + Interface [4]byte /* in_addr */ +} + +type IPMreqn struct { + Multiaddr [4]byte /* in_addr */ + Address [4]byte /* in_addr */ + Ifindex int32 +} + +type IPv6Mreq struct { + Multiaddr [16]byte /* in6_addr */ + Interface uint32 +} + +type Msghdr struct { + Name *byte + Namelen uint32 + _ [4]byte + Iov *Iovec + Iovlen uint64 + Control *byte + Controllen uint64 + Flags int32 + _ [4]byte +} + +type Cmsghdr struct { + Len uint64 + Level int32 + Type int32 +} + +type Inet4Pktinfo struct { + Ifindex int32 + Spec_dst [4]byte /* in_addr */ + Addr [4]byte /* in_addr */ +} + +type Inet6Pktinfo struct { + Addr [16]byte /* in6_addr */ + Ifindex uint32 +} + +type IPv6MTUInfo struct { + Addr RawSockaddrInet6 + Mtu uint32 +} + +type ICMPv6Filter struct { + Data [8]uint32 +} + +type Ucred struct { + Pid int32 + Uid uint32 + Gid uint32 +} + +type TCPInfo struct { + State uint8 + Ca_state uint8 + Retransmits uint8 + Probes uint8 + Backoff uint8 + Options uint8 + _ [2]byte + Rto uint32 + Ato uint32 + Snd_mss uint32 + Rcv_mss uint32 + Unacked uint32 + Sacked uint32 + Lost uint32 + Retrans uint32 + Fackets uint32 + Last_data_sent uint32 + Last_ack_sent uint32 + Last_data_recv uint32 + Last_ack_recv uint32 + Pmtu uint32 + Rcv_ssthresh uint32 + Rtt uint32 + Rttvar uint32 + Snd_ssthresh uint32 + Snd_cwnd uint32 + Advmss uint32 + Reordering uint32 + Rcv_rtt uint32 + Rcv_space uint32 + Total_retrans uint32 +} + +const ( + SizeofSockaddrInet4 = 0x10 + SizeofSockaddrInet6 = 0x1c + SizeofSockaddrAny = 0x70 + SizeofSockaddrUnix = 0x6e + SizeofSockaddrLinklayer = 0x14 + SizeofSockaddrNetlink = 0xc + SizeofSockaddrHCI = 0x6 + SizeofLinger = 0x8 + SizeofIPMreq = 0x8 + SizeofIPMreqn = 0xc + SizeofIPv6Mreq = 0x14 + SizeofMsghdr = 0x38 + SizeofCmsghdr = 0x10 + SizeofInet4Pktinfo = 0xc + SizeofInet6Pktinfo = 0x14 + SizeofIPv6MTUInfo = 0x20 + SizeofICMPv6Filter = 0x20 + SizeofUcred = 0xc + SizeofTCPInfo = 0x68 +) + +const ( + IFA_UNSPEC = 0x0 + IFA_ADDRESS = 0x1 + IFA_LOCAL = 0x2 + IFA_LABEL = 0x3 + IFA_BROADCAST = 0x4 + IFA_ANYCAST = 0x5 + IFA_CACHEINFO = 0x6 + IFA_MULTICAST = 0x7 + IFLA_UNSPEC = 0x0 + IFLA_ADDRESS = 0x1 + IFLA_BROADCAST = 0x2 + IFLA_IFNAME = 0x3 + IFLA_MTU = 0x4 + IFLA_LINK = 0x5 + IFLA_QDISC = 0x6 + IFLA_STATS = 0x7 + IFLA_COST = 0x8 + IFLA_PRIORITY = 0x9 + IFLA_MASTER = 0xa + IFLA_WIRELESS = 0xb + IFLA_PROTINFO = 0xc + IFLA_TXQLEN = 0xd + IFLA_MAP = 0xe + IFLA_WEIGHT = 0xf + IFLA_OPERSTATE = 0x10 + IFLA_LINKMODE = 0x11 + IFLA_LINKINFO = 0x12 + IFLA_NET_NS_PID = 0x13 + IFLA_IFALIAS = 0x14 + IFLA_MAX = 0x27 + RT_SCOPE_UNIVERSE = 0x0 + RT_SCOPE_SITE = 0xc8 + RT_SCOPE_LINK = 0xfd + RT_SCOPE_HOST = 0xfe + RT_SCOPE_NOWHERE = 0xff + RT_TABLE_UNSPEC = 0x0 + RT_TABLE_COMPAT = 0xfc + RT_TABLE_DEFAULT = 0xfd + RT_TABLE_MAIN = 0xfe + RT_TABLE_LOCAL = 0xff + RT_TABLE_MAX = 0xffffffff + RTA_UNSPEC = 0x0 + RTA_DST = 0x1 + RTA_SRC = 0x2 + RTA_IIF = 0x3 + RTA_OIF = 0x4 + RTA_GATEWAY = 0x5 + RTA_PRIORITY = 0x6 + RTA_PREFSRC = 0x7 + RTA_METRICS = 0x8 + RTA_MULTIPATH = 0x9 + RTA_FLOW = 0xb + RTA_CACHEINFO = 0xc + RTA_TABLE = 0xf + RTN_UNSPEC = 0x0 + RTN_UNICAST = 0x1 + RTN_LOCAL = 0x2 + RTN_BROADCAST = 0x3 + RTN_ANYCAST = 0x4 + RTN_MULTICAST = 0x5 + RTN_BLACKHOLE = 0x6 + RTN_UNREACHABLE = 0x7 + RTN_PROHIBIT = 0x8 + RTN_THROW = 0x9 + RTN_NAT = 0xa + RTN_XRESOLVE = 0xb + RTNLGRP_NONE = 0x0 + RTNLGRP_LINK = 0x1 + RTNLGRP_NOTIFY = 0x2 + RTNLGRP_NEIGH = 0x3 + RTNLGRP_TC = 0x4 + RTNLGRP_IPV4_IFADDR = 0x5 + RTNLGRP_IPV4_MROUTE = 0x6 + RTNLGRP_IPV4_ROUTE = 0x7 + RTNLGRP_IPV4_RULE = 0x8 + RTNLGRP_IPV6_IFADDR = 0x9 + RTNLGRP_IPV6_MROUTE = 0xa + RTNLGRP_IPV6_ROUTE = 0xb + RTNLGRP_IPV6_IFINFO = 0xc + RTNLGRP_IPV6_PREFIX = 0x12 + RTNLGRP_IPV6_RULE = 0x13 + RTNLGRP_ND_USEROPT = 0x14 + SizeofNlMsghdr = 0x10 + SizeofNlMsgerr = 0x14 + SizeofRtGenmsg = 0x1 + SizeofNlAttr = 0x4 + SizeofRtAttr = 0x4 + SizeofIfInfomsg = 0x10 + SizeofIfAddrmsg = 0x8 + SizeofRtMsg = 0xc + SizeofRtNexthop = 0x8 +) + +type NlMsghdr struct { + Len uint32 + Type uint16 + Flags uint16 + Seq uint32 + Pid uint32 +} + +type NlMsgerr struct { + Error int32 + Msg NlMsghdr +} + +type RtGenmsg struct { + Family uint8 +} + +type NlAttr struct { + Len uint16 + Type uint16 +} + +type RtAttr struct { + Len uint16 + Type uint16 +} + +type IfInfomsg struct { + Family uint8 + _ uint8 + Type uint16 + Index int32 + Flags uint32 + Change uint32 +} + +type IfAddrmsg struct { + Family uint8 + Prefixlen uint8 + Flags uint8 + Scope uint8 + Index uint32 +} + +type RtMsg struct { + Family uint8 + Dst_len uint8 + Src_len uint8 + Tos uint8 + Table uint8 + Protocol uint8 + Scope uint8 + Type uint8 + Flags uint32 +} + +type RtNexthop struct { + Len uint16 + Flags uint8 + Hops uint8 + Ifindex int32 +} + +const ( + SizeofSockFilter = 0x8 + SizeofSockFprog = 0x10 +) + +type SockFilter struct { + Code uint16 + Jt uint8 + Jf uint8 + K uint32 +} + +type SockFprog struct { + Len uint16 + _ [6]byte + Filter *SockFilter +} + +type InotifyEvent struct { + Wd int32 + Mask uint32 + Cookie uint32 + Len uint32 +} + +const SizeofInotifyEvent = 0x10 + +type PtraceRegs struct { + Psw PtracePsw + Gprs [16]uint64 + Acrs [16]uint32 + Orig_gpr2 uint64 + Fp_regs PtraceFpregs + Per_info PtracePer + Ieee_instruction_pointer uint64 +} + +type PtracePsw struct { + Mask uint64 + Addr uint64 +} + +type PtraceFpregs struct { + Fpc uint32 + _ [4]byte + Fprs [16]float64 +} + +type PtracePer struct { + _ [0]uint64 + _ [24]byte + _ [8]byte + Starting_addr uint64 + Ending_addr uint64 + Perc_atmid uint16 + _ [6]byte + Address uint64 + Access_id uint8 + _ [7]byte +} + +type FdSet struct { + Bits [16]int64 +} + +type Sysinfo_t struct { + Uptime int64 + Loads [3]uint64 + Totalram uint64 + Freeram uint64 + Sharedram uint64 + Bufferram uint64 + Totalswap uint64 + Freeswap uint64 + Procs uint16 + Pad uint16 + _ [4]byte + Totalhigh uint64 + Freehigh uint64 + Unit uint32 + _ [0]int8 + _ [4]byte +} + +type Utsname struct { + Sysname [65]int8 + Nodename [65]int8 + Release [65]int8 + Version [65]int8 + Machine [65]int8 + Domainname [65]int8 +} + +type Ustat_t struct { + Tfree int32 + _ [4]byte + Tinode uint64 + Fname [6]int8 + Fpack [6]int8 + _ [4]byte +} + +type EpollEvent struct { + Events uint32 + _ int32 + Fd int32 + Pad int32 +} + +const ( + AT_FDCWD = -0x64 + AT_REMOVEDIR = 0x200 + AT_SYMLINK_FOLLOW = 0x400 + AT_SYMLINK_NOFOLLOW = 0x100 +) + +type PollFd struct { + Fd int32 + Events int16 + Revents int16 +} + +const ( + POLLIN = 0x1 + POLLPRI = 0x2 + POLLOUT = 0x4 + POLLRDHUP = 0x2000 + POLLERR = 0x8 + POLLHUP = 0x10 + POLLNVAL = 0x20 +) + +type Sigset_t struct { + X__val [16]uint64 +} + +type Termios struct { + Iflag uint32 + Oflag uint32 + Cflag uint32 + Lflag uint32 + Line uint8 + Cc [19]uint8 + Ispeed uint32 + Ospeed uint32 +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_netbsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_netbsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_netbsd_arm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_openbsd_386.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_openbsd_amd64.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go index 45e9f422217..02777e4d8db 100644 --- a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go +++ b/staging/src/k8s.io/client-go/_vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go @@ -1,7 +1,6 @@ -// Created by cgo -godefs - DO NOT EDIT -// cgo -godefs types_solaris.go - // +build amd64,solaris +// Created by cgo -godefs - DO NOT EDIT +// cgo -godefs types_solaris.go | go run mkpost.go package unix @@ -11,6 +10,8 @@ const ( sizeofInt = 0x4 sizeofLong = 0x8 sizeofLongLong = 0x8 + PathMax = 0x400 + MaxHostNameLen = 0x100 ) type ( @@ -35,6 +36,18 @@ type Timeval32 struct { Usec int32 } +type Tms struct { + Utime int64 + Stime int64 + Cutime int64 + Cstime int64 +} + +type Utimbuf struct { + Actime int64 + Modtime int64 +} + type Rusage struct { Utime Timeval Stime Timeval @@ -230,6 +243,30 @@ type FdSet struct { Bits [1024]int64 } +type Utsname struct { + Sysname [257]int8 + Nodename [257]int8 + Release [257]int8 + Version [257]int8 + Machine [257]int8 +} + +type Ustat_t struct { + Tfree int64 + Tinode uint64 + Fname [6]int8 + Fpack [6]int8 + Pad_cgo_0 [4]byte +} + +const ( + AT_FDCWD = 0xffd19553 + AT_SYMLINK_NOFOLLOW = 0x1000 + AT_SYMLINK_FOLLOW = 0x2000 + AT_REMOVEDIR = 0x1 + AT_EACCESS = 0x4 +) + const ( SizeofIfMsghdr = 0x54 SizeofIfData = 0x44 @@ -357,6 +394,8 @@ type BpfHdr struct { Pad_cgo_0 [2]byte } +const _SC_PAGESIZE = 0xb + type Termios struct { Iflag uint32 Oflag uint32 @@ -365,3 +404,20 @@ type Termios struct { Cc [19]uint8 Pad_cgo_0 [1]byte } + +type Termio struct { + Iflag uint16 + Oflag uint16 + Cflag uint16 + Lflag uint16 + Line int8 + Cc [8]uint8 + Pad_cgo_0 [1]byte +} + +type Winsize struct { + Row uint16 + Col uint16 + Xpixel uint16 + Ypixel uint16 +} diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/LICENSE b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/LICENSE rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/PATENTS b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/PATENTS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/PATENTS rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/PATENTS diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/cases.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/cases.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/cases.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/cases.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/context.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/context.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/context.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/context.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/fold.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/fold.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/fold.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/fold.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/gen.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/gen.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/gen.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/gen.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/gen_trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/gen_trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/gen_trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/gen_trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/info.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/info.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/info.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/info.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/map.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/map.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/map.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/map.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/cases/trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/cases/trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/internal/tag/tag.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/internal/tag/tag.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/internal/tag/tag.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/internal/tag/tag.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/Makefile b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/Makefile similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/Makefile rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/Makefile diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/common.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/common.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/common.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/common.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/coverage.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/coverage.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/coverage.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/coverage.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/gen_common.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/gen_common.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/gen_common.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/gen_common.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/gen_index.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/gen_index.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/gen_index.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/gen_index.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/go1_1.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/go1_1.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/go1_1.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/go1_1.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/go1_2.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/go1_2.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/go1_2.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/go1_2.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/index.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/index.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/index.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/index.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/language.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/language.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/language.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/language.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/lookup.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/lookup.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/lookup.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/lookup.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/maketables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/maketables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/maketables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/maketables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/match.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/match.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/match.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/match.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/parse.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/parse.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/parse.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/parse.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/tags.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/tags.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/language/tags.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/language/tags.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/runes/cond.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/runes/cond.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/runes/cond.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/runes/cond.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/runes/runes.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/runes/runes.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/runes/runes.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/runes/runes.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/bidirule/bidirule.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/bidirule/bidirule.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/bidirule/bidirule.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/bidirule/bidirule.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/class.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/class.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/class.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/class.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/context.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/context.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/context.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/context.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/doc.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/doc.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/gen.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/gen.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/gen.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/gen.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/gen_trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/gen_trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/gen_trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/gen_trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/nickname.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/nickname.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/nickname.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/nickname.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/options.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/options.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/options.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/options.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/profile.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/profile.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/profile.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/profile.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/profiles.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/profiles.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/profiles.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/profiles.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/transformer.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/transformer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/transformer.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/transformer.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/secure/precis/trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/secure/precis/trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/transform/transform.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/transform/transform.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/transform/transform.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/transform/transform.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/bidi.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/bidi.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/bidi.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/bidi.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/bracket.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/bracket.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/bracket.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/bracket.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/core.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/core.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/core.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/core.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/gen.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/gen.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/gen.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/gen.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/gen_ranges.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/gen_ranges.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/gen_ranges.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/gen_ranges.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/gen_trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/gen_trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/gen_trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/gen_trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/prop.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/prop.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/prop.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/prop.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/bidi/trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/bidi/trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/composition.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/composition.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/composition.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/composition.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/forminfo.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/forminfo.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/forminfo.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/forminfo.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/input.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/input.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/input.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/input.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/iter.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/iter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/iter.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/iter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/maketables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/maketables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/maketables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/maketables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/normalize.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/normalize.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/normalize.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/normalize.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/readwriter.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/readwriter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/readwriter.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/readwriter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/transform.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/transform.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/transform.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/transform.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/trie.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/trie.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/trie.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/trie.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/triegen.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/triegen.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/unicode/norm/triegen.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/unicode/norm/triegen.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/gen.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/gen.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/gen.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/gen.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/gen_common.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/gen_common.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/gen_common.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/gen_common.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/gen_trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/gen_trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/gen_trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/gen_trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/kind_string.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/kind_string.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/kind_string.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/kind_string.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/tables.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/tables.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/tables.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/tables.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/transform.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/transform.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/transform.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/transform.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/trieval.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/trieval.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/trieval.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/trieval.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/width.go b/staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/width.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/golang.org/x/text/width/width.go rename to staging/src/k8s.io/client-go/_vendor/golang.org/x/text/width/width.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/LICENSE b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/LICENSE rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/LICENSE diff --git a/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/README.md b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/README.md new file mode 100644 index 00000000000..1efd95583be --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/README.md @@ -0,0 +1,71 @@ +# Go App Engine packages + +[![Build Status](https://travis-ci.org/golang/appengine.svg)](https://travis-ci.org/golang/appengine) + +This repository supports the Go runtime on App Engine, +including both the standard App Engine and the +"App Engine flexible environment" (formerly known as "Managed VMs"). +It provides APIs for interacting with App Engine services. +Its canonical import path is `google.golang.org/appengine`. + +See https://cloud.google.com/appengine/docs/go/ +for more information. + +File issue reports and feature requests on the [Google App Engine issue +tracker](https://code.google.com/p/googleappengine/issues/entry?template=Go%20defect). + +## Directory structure +The top level directory of this repository is the `appengine` package. It +contains the +basic APIs (e.g. `appengine.NewContext`) that apply across APIs. Specific API +packages are in subdirectories (e.g. `datastore`). + +There is an `internal` subdirectory that contains service protocol buffers, +plus packages required for connectivity to make API calls. App Engine apps +should not directly import any package under `internal`. + +## Updating a Go App Engine app + +This section describes how to update an older Go App Engine app to use +these packages. A provided tool, `aefix`, can help automate steps 2 and 3 +(run `go get google.golang.org/appengine/cmd/aefix` to install it), but +read the details below since `aefix` can't perform all the changes. + +### 1. Update YAML files (App Engine flexible environment / Managed VMs only) + +The `app.yaml` file (and YAML files for modules) should have these new lines added: +``` +vm: true +``` +See https://cloud.google.com/appengine/docs/go/modules/#Go_Instance_scaling_and_class for details. + +### 2. Update import paths + +The import paths for App Engine packages are now fully qualified, based at `google.golang.org/appengine`. +You will need to update your code to use import paths starting with that; for instance, +code importing `appengine/datastore` will now need to import `google.golang.org/appengine/datastore`. + +### 3. Update code using deprecated, removed or modified APIs + +Most App Engine services are available with exactly the same API. +A few APIs were cleaned up, and some are not available yet. +This list summarises the differences: + +* `appengine.Context` has been replaced with the `Context` type from `golang.org/x/net/context`. +* Logging methods that were on `appengine.Context` are now functions in `google.golang.org/appengine/log`. +* `appengine.Timeout` has been removed. Use `context.WithTimeout` instead. +* `appengine.Datacenter` now takes a `context.Context` argument. +* `datastore.PropertyLoadSaver` has been simplified to use slices in place of channels. +* `delay.Call` now returns an error. +* `search.FieldLoadSaver` now handles document metadata. +* `urlfetch.Transport` no longer has a Deadline field; set a deadline on the + `context.Context` instead. +* `aetest` no longer declares its own Context type, and uses the standard one instead. +* `taskqueue.QueueStats` no longer takes a maxTasks argument. That argument has been + deprecated and unused for a long time. +* `appengine.BackendHostname` and `appengine.BackendInstance` were for the deprecated backends feature. + Use `appengine.ModuleHostname`and `appengine.ModuleName` instead. +* Most of `appengine/file` and parts of `appengine/blobstore` are deprecated. + Use [Google Cloud Storage](https://godoc.org/google.golang.org/cloud/storage) instead. +* `appengine/socket` is not required on App Engine flexible environment / Managed VMs. + Use the standard `net` package instead. diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/appengine.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/appengine.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/appengine.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/appengine.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/appengine_vm.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/appengine_vm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/appengine_vm.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/appengine_vm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/errors.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/errors.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/errors.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/errors.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/identity.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/identity.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/identity.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/identity.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/api.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/api.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/api.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/api.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/api_classic.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/api_classic.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/api_classic.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/api_classic.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/api_common.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/api_common.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/api_common.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/api_common.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/app_id.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/app_id.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/app_id.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/app_id.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.proto b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.proto rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.proto diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/base/api_base.pb.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/base/api_base.pb.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/base/api_base.pb.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/base/api_base.pb.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/base/api_base.proto b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/base/api_base.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/base/api_base.proto rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/base/api_base.proto diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/identity.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/identity.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/identity.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/identity.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/identity_classic.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/identity_classic.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/identity_classic.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/identity_classic.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/identity_vm.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/identity_vm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/identity_vm.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/identity_vm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/internal.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/internal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/internal.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/internal.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/log/log_service.pb.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/log/log_service.pb.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/log/log_service.pb.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/log/log_service.pb.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/log/log_service.proto b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/log/log_service.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/log/log_service.proto rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/log/log_service.proto diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/main.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/main.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/main.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/main.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/main_vm.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/main_vm.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/main_vm.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/main_vm.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/metadata.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/metadata.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/metadata.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/metadata.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/modules/modules_service.proto b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/modules/modules_service.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/modules/modules_service.proto rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/modules/modules_service.proto diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/net.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/net.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/net.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/net.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/remote_api/remote_api.proto diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/transaction.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/transaction.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/internal/transaction.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/internal/transaction.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/namespace.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/namespace.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/namespace.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/namespace.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/timeout.go b/staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/timeout.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/google.golang.org/appengine/timeout.go rename to staging/src/k8s.io/client-go/_vendor/google.golang.org/appengine/timeout.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/inf.v0/LICENSE b/staging/src/k8s.io/client-go/_vendor/gopkg.in/inf.v0/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/inf.v0/LICENSE rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/inf.v0/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/inf.v0/dec.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/inf.v0/dec.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/inf.v0/dec.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/inf.v0/dec.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/inf.v0/rounder.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/inf.v0/rounder.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/inf.v0/rounder.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/inf.v0/rounder.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/LICENSE b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/LICENSE similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/LICENSE rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/LICENSE diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/LICENSE.libyaml b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/LICENSE.libyaml similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/LICENSE.libyaml rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/LICENSE.libyaml diff --git a/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/README.md b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/README.md new file mode 100644 index 00000000000..7b8bd86701e --- /dev/null +++ b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/README.md @@ -0,0 +1,131 @@ +# YAML support for the Go language + +Introduction +------------ + +The yaml package enables Go programs to comfortably encode and decode YAML +values. It was developed within [Canonical](https://www.canonical.com) as +part of the [juju](https://juju.ubuntu.com) project, and is based on a +pure Go port of the well-known [libyaml](http://pyyaml.org/wiki/LibYAML) +C library to parse and generate YAML data quickly and reliably. + +Compatibility +------------- + +The yaml package supports most of YAML 1.1 and 1.2, including support for +anchors, tags, map merging, etc. Multi-document unmarshalling is not yet +implemented, and base-60 floats from YAML 1.1 are purposefully not +supported since they're a poor design and are gone in YAML 1.2. + +Installation and usage +---------------------- + +The import path for the package is *gopkg.in/yaml.v2*. + +To install it, run: + + go get gopkg.in/yaml.v2 + +API documentation +----------------- + +If opened in a browser, the import path itself leads to the API documentation: + + * [https://gopkg.in/yaml.v2](https://gopkg.in/yaml.v2) + +API stability +------------- + +The package API for yaml v2 will remain stable as described in [gopkg.in](https://gopkg.in). + + +License +------- + +The yaml package is licensed under the LGPL with an exception that allows it to be linked statically. Please see the LICENSE file for details. + + +Example +------- + +```Go +package main + +import ( + "fmt" + "log" + + "gopkg.in/yaml.v2" +) + +var data = ` +a: Easy! +b: + c: 2 + d: [3, 4] +` + +type T struct { + A string + B struct { + RenamedC int `yaml:"c"` + D []int `yaml:",flow"` + } +} + +func main() { + t := T{} + + err := yaml.Unmarshal([]byte(data), &t) + if err != nil { + log.Fatalf("error: %v", err) + } + fmt.Printf("--- t:\n%v\n\n", t) + + d, err := yaml.Marshal(&t) + if err != nil { + log.Fatalf("error: %v", err) + } + fmt.Printf("--- t dump:\n%s\n\n", string(d)) + + m := make(map[interface{}]interface{}) + + err = yaml.Unmarshal([]byte(data), &m) + if err != nil { + log.Fatalf("error: %v", err) + } + fmt.Printf("--- m:\n%v\n\n", m) + + d, err = yaml.Marshal(&m) + if err != nil { + log.Fatalf("error: %v", err) + } + fmt.Printf("--- m dump:\n%s\n\n", string(d)) +} +``` + +This example will generate the following output: + +``` +--- t: +{Easy! {2 [3 4]}} + +--- t dump: +a: Easy! +b: + c: 2 + d: [3, 4] + + +--- m: +map[a:Easy! b:map[c:2 d:[3 4]]] + +--- m dump: +a: Easy! +b: + c: 2 + d: + - 3 + - 4 +``` + diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/apic.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/apic.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/apic.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/apic.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/decode.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/decode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/decode.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/decode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/emitterc.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/emitterc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/emitterc.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/emitterc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/encode.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/encode.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/encode.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/encode.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/parserc.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/parserc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/parserc.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/parserc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/readerc.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/readerc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/readerc.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/readerc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/resolve.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/resolve.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/resolve.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/resolve.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/scannerc.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/scannerc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/scannerc.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/scannerc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/sorter.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/sorter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/sorter.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/sorter.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/writerc.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/writerc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/writerc.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/writerc.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/yaml.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/yaml.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/yaml.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/yaml.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/yamlh.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/yamlh.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/yamlh.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/yamlh.go diff --git a/staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/yamlprivateh.go b/staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/yamlprivateh.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/_vendor/gopkg.in/yaml.v2/yamlprivateh.go rename to staging/src/k8s.io/client-go/_vendor/gopkg.in/yaml.v2/yamlprivateh.go diff --git a/staging/src/k8s.io/client-go/1.5/discovery/discovery_client.go b/staging/src/k8s.io/client-go/discovery/discovery_client.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/discovery/discovery_client.go rename to staging/src/k8s.io/client-go/discovery/discovery_client.go index 11ebae16b0f..d4fc1fe8bce 100644 --- a/staging/src/k8s.io/client-go/1.5/discovery/discovery_client.go +++ b/staging/src/k8s.io/client-go/discovery/discovery_client.go @@ -25,14 +25,14 @@ import ( "github.com/emicklei/go-restful/swagger" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer" - "k8s.io/client-go/1.5/pkg/version" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/errors" + "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/runtime/serializer" + "k8s.io/client-go/pkg/version" + "k8s.io/client-go/rest" ) // DiscoveryInterface holds the methods that discover server-supported API groups, @@ -199,39 +199,46 @@ func IsGroupDiscoveryFailedError(err error) bool { // serverPreferredResources returns the supported resources with the version preferred by the // server. If namespaced is true, only namespaced resources will be returned. func (d *DiscoveryClient) serverPreferredResources(namespaced bool) ([]unversioned.GroupVersionResource, error) { - results := []unversioned.GroupVersionResource{} - serverGroupList, err := d.ServerGroups() - if err != nil { - return results, err - } - + // retry in case the groups supported by the server change after ServerGroup() returns. + const maxRetries = 2 var failedGroups map[unversioned.GroupVersion]error - for _, apiGroup := range serverGroupList.Groups { - preferredVersion := apiGroup.PreferredVersion - groupVersion := unversioned.GroupVersion{Group: apiGroup.Name, Version: preferredVersion.Version} - apiResourceList, err := d.ServerResourcesForGroupVersion(preferredVersion.GroupVersion) + var results []unversioned.GroupVersionResource +RetrieveGroups: + for i := 0; i < maxRetries; i++ { + results = []unversioned.GroupVersionResource{} + failedGroups = make(map[unversioned.GroupVersion]error) + serverGroupList, err := d.ServerGroups() if err != nil { - if failedGroups == nil { - failedGroups = make(map[unversioned.GroupVersion]error) - } - failedGroups[groupVersion] = err - continue + return results, err } - for _, apiResource := range apiResourceList.APIResources { - // ignore the root scoped resources if "namespaced" is true. - if namespaced && !apiResource.Namespaced { + + for _, apiGroup := range serverGroupList.Groups { + preferredVersion := apiGroup.PreferredVersion + groupVersion := unversioned.GroupVersion{Group: apiGroup.Name, Version: preferredVersion.Version} + apiResourceList, err := d.ServerResourcesForGroupVersion(preferredVersion.GroupVersion) + if err != nil { + if i < maxRetries-1 { + continue RetrieveGroups + } + failedGroups[groupVersion] = err continue } - if strings.Contains(apiResource.Name, "/") { - continue + for _, apiResource := range apiResourceList.APIResources { + // ignore the root scoped resources if "namespaced" is true. + if namespaced && !apiResource.Namespaced { + continue + } + if strings.Contains(apiResource.Name, "/") { + continue + } + results = append(results, groupVersion.WithResource(apiResource.Name)) } - results = append(results, groupVersion.WithResource(apiResource.Name)) + } + if len(failedGroups) == 0 { + return results, nil } } - if len(failedGroups) > 0 { - return results, &ErrGroupDiscoveryFailed{Groups: failedGroups} - } - return results, nil + return results, &ErrGroupDiscoveryFailed{Groups: failedGroups} } // ServerPreferredResources returns the supported resources with the version preferred by the diff --git a/staging/src/k8s.io/client-go/1.5/discovery/discovery_client_test.go b/staging/src/k8s.io/client-go/discovery/discovery_client_test.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/discovery/discovery_client_test.go rename to staging/src/k8s.io/client-go/discovery/discovery_client_test.go index 91e6619e847..2036e50a6d2 100644 --- a/staging/src/k8s.io/client-go/1.5/discovery/discovery_client_test.go +++ b/staging/src/k8s.io/client-go/discovery/discovery_client_test.go @@ -25,10 +25,10 @@ import ( "github.com/emicklei/go-restful/swagger" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/version" - "k8s.io/client-go/1.5/rest" + "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" ) func TestGetServerVersion(t *testing.T) { @@ -454,3 +454,102 @@ func TestGetServerPreferredResources(t *testing.T) { server.Close() } } + +func TestGetServerPreferredResourcesRetries(t *testing.T) { + stable := unversioned.APIResourceList{ + GroupVersion: "v1", + APIResources: []unversioned.APIResource{ + {Name: "pods", Namespaced: true, Kind: "Pod"}, + }, + } + beta := unversioned.APIResourceList{ + GroupVersion: "extensions/v1", + APIResources: []unversioned.APIResource{ + {Name: "deployments", Namespaced: true, Kind: "Deployment"}, + }, + } + + response := func(numErrors int) http.HandlerFunc { + var i = 0 + return func(w http.ResponseWriter, req *http.Request) { + var list interface{} + switch req.URL.Path { + case "/apis/extensions/v1beta1": + if i < numErrors { + i++ + w.WriteHeader(http.StatusInternalServerError) + return + } + list = &beta + case "/api/v1": + list = &stable + case "/api": + list = &unversioned.APIVersions{ + Versions: []string{ + "v1", + }, + } + case "/apis": + list = &unversioned.APIGroupList{ + Groups: []unversioned.APIGroup{ + { + Name: "extensions", + Versions: []unversioned.GroupVersionForDiscovery{ + {GroupVersion: "extensions/v1beta1"}, + }, + PreferredVersion: unversioned.GroupVersionForDiscovery{ + GroupVersion: "extensions/v1beta1", + Version: "v1beta1", + }, + }, + }, + } + default: + t.Logf("unexpected request: %s", req.URL.Path) + w.WriteHeader(http.StatusNotFound) + return + } + output, err := json.Marshal(list) + if err != nil { + t.Errorf("unexpected encoding error: %v", err) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + w.Write(output) + } + } + tests := []struct { + responseErrors int + expectResources int + expectedError func(err error) bool + }{ + { + responseErrors: 1, + expectResources: 2, + expectedError: func(err error) bool { + return err == nil + }, + }, + { + responseErrors: 2, + expectResources: 1, + expectedError: IsGroupDiscoveryFailedError, + }, + } + + for i, tc := range tests { + server := httptest.NewServer(http.HandlerFunc(response(tc.responseErrors))) + defer server.Close() + + client := NewDiscoveryClientForConfigOrDie(&rest.Config{Host: server.URL}) + got, err := client.ServerPreferredResources() + if !tc.expectedError(err) { + t.Errorf("case %d: unexpected error: %v", i, err) + } + if len(got) != tc.expectResources { + t.Errorf("case %d: expect %d resources, got %#v", i, tc.expectResources, got) + } + server.Close() + } +} diff --git a/staging/src/k8s.io/client-go/1.5/discovery/fake/discovery.go b/staging/src/k8s.io/client-go/discovery/fake/discovery.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/discovery/fake/discovery.go rename to staging/src/k8s.io/client-go/discovery/fake/discovery.go index b2c1604dbc4..b7cff35a32e 100644 --- a/staging/src/k8s.io/client-go/1.5/discovery/fake/discovery.go +++ b/staging/src/k8s.io/client-go/discovery/fake/discovery.go @@ -18,10 +18,10 @@ package fake import ( "github.com/emicklei/go-restful/swagger" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/version" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/version" + "k8s.io/client-go/testing" ) type FakeDiscovery struct { diff --git a/staging/src/k8s.io/client-go/1.5/discovery/restmapper.go b/staging/src/k8s.io/client-go/discovery/restmapper.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/discovery/restmapper.go rename to staging/src/k8s.io/client-go/discovery/restmapper.go index 81dc905f4cb..c3fcc09106d 100644 --- a/staging/src/k8s.io/client-go/1.5/discovery/restmapper.go +++ b/staging/src/k8s.io/client-go/discovery/restmapper.go @@ -20,9 +20,9 @@ import ( "fmt" "sync" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" ) // APIGroupResources is an API group with a mapping of versions to diff --git a/staging/src/k8s.io/client-go/1.5/discovery/restmapper_test.go b/staging/src/k8s.io/client-go/discovery/restmapper_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/discovery/restmapper_test.go rename to staging/src/k8s.io/client-go/discovery/restmapper_test.go index f06781d7fb2..ac6fa09d5f6 100644 --- a/staging/src/k8s.io/client-go/1.5/discovery/restmapper_test.go +++ b/staging/src/k8s.io/client-go/discovery/restmapper_test.go @@ -20,7 +20,7 @@ import ( "reflect" "testing" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) func TestRESTMapper(t *testing.T) { diff --git a/staging/src/k8s.io/client-go/1.5/discovery/unstructured.go b/staging/src/k8s.io/client-go/discovery/unstructured.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/discovery/unstructured.go rename to staging/src/k8s.io/client-go/discovery/unstructured.go index cb805082383..c4b8791fa27 100644 --- a/staging/src/k8s.io/client-go/1.5/discovery/unstructured.go +++ b/staging/src/k8s.io/client-go/discovery/unstructured.go @@ -19,8 +19,8 @@ package discovery import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // UnstructuredObjectTyper provides a runtime.ObjectTyper implmentation for diff --git a/staging/src/k8s.io/client-go/1.5/dynamic/client.go b/staging/src/k8s.io/client-go/dynamic/client.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/dynamic/client.go rename to staging/src/k8s.io/client-go/dynamic/client.go index 3a1e3b588d8..12fb2145b52 100644 --- a/staging/src/k8s.io/client-go/1.5/dynamic/client.go +++ b/staging/src/k8s.io/client-go/dynamic/client.go @@ -26,15 +26,15 @@ import ( "net/url" "strings" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/conversion/queryparams" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/conversion/queryparams" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer" + "k8s.io/client-go/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/rest" ) // Client is a Kubernetes client that allows you to access metadata diff --git a/staging/src/k8s.io/client-go/1.5/dynamic/client_pool.go b/staging/src/k8s.io/client-go/dynamic/client_pool.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/dynamic/client_pool.go rename to staging/src/k8s.io/client-go/dynamic/client_pool.go index b0e94e09dbf..c1852ff4a39 100644 --- a/staging/src/k8s.io/client-go/1.5/dynamic/client_pool.go +++ b/staging/src/k8s.io/client-go/dynamic/client_pool.go @@ -19,12 +19,12 @@ package dynamic import ( "sync" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer" - "k8s.io/client-go/1.5/rest" + "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" ) // ClientPool manages a pool of dynamic clients. diff --git a/staging/src/k8s.io/client-go/1.5/dynamic/client_test.go b/staging/src/k8s.io/client-go/dynamic/client_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/dynamic/client_test.go rename to staging/src/k8s.io/client-go/dynamic/client_test.go index 3bc32681c9c..cdf8c4eb02c 100644 --- a/staging/src/k8s.io/client-go/1.5/dynamic/client_test.go +++ b/staging/src/k8s.io/client-go/dynamic/client_test.go @@ -25,14 +25,14 @@ import ( "reflect" "testing" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/streaming" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/pkg/watch/versioned" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api" + "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/runtime/serializer/streaming" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/pkg/watch/versioned" + "k8s.io/client-go/rest" ) func getJSON(version, kind, name string) []byte { diff --git a/staging/src/k8s.io/client-go/1.5/dynamic/dynamic_util.go b/staging/src/k8s.io/client-go/dynamic/dynamic_util.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/dynamic/dynamic_util.go rename to staging/src/k8s.io/client-go/dynamic/dynamic_util.go index a50aef964eb..e90e7bcf9d9 100644 --- a/staging/src/k8s.io/client-go/1.5/dynamic/dynamic_util.go +++ b/staging/src/k8s.io/client-go/dynamic/dynamic_util.go @@ -19,9 +19,9 @@ package dynamic import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // VersionInterfaces provides an object converter and metadata diff --git a/staging/src/k8s.io/client-go/1.5/dynamic/dynamic_util_test.go b/staging/src/k8s.io/client-go/dynamic/dynamic_util_test.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/dynamic/dynamic_util_test.go rename to staging/src/k8s.io/client-go/dynamic/dynamic_util_test.go index 9410808179a..580140241ad 100644 --- a/staging/src/k8s.io/client-go/1.5/dynamic/dynamic_util_test.go +++ b/staging/src/k8s.io/client-go/dynamic/dynamic_util_test.go @@ -19,7 +19,7 @@ package dynamic import ( "testing" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) func TestDiscoveryRESTMapper(t *testing.T) { diff --git a/staging/src/k8s.io/client-go/examples/in-cluster/main.go b/staging/src/k8s.io/client-go/examples/in-cluster/main.go deleted file mode 100644 index b0135a7373a..00000000000 --- a/staging/src/k8s.io/client-go/examples/in-cluster/main.go +++ /dev/null @@ -1,47 +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 main - -import ( - "fmt" - "time" - - "k8s.io/client-go/1.5/kubernetes" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/rest" -) - -func main() { - // creates the in-cluster config - config, err := rest.InClusterConfig() - if err != nil { - panic(err.Error()) - } - // creates the clientset - clientset, err := kubernetes.NewForConfig(config) - if err != nil { - panic(err.Error()) - } - for { - pods, err := clientset.Core().Pods("").List(api.ListOptions{}) - if err != nil { - panic(err.Error()) - } - fmt.Printf("There are %d pods in the cluster\n", len(pods.Items)) - time.Sleep(10 * time.Second) - } -} diff --git a/staging/src/k8s.io/client-go/examples/out-of-cluster/main.go b/staging/src/k8s.io/client-go/examples/out-of-cluster/main.go deleted file mode 100644 index bedf0dfc4af..00000000000 --- a/staging/src/k8s.io/client-go/examples/out-of-cluster/main.go +++ /dev/null @@ -1,53 +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 main - -import ( - "flag" - "fmt" - "time" - - "k8s.io/client-go/1.5/kubernetes" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/tools/clientcmd" -) - -var ( - kubeconfig = flag.String("kubeconfig", "./config", "absolute path to the kubeconfig file") -) - -func main() { - flag.Parse() - // uses the current context in kubeconfig - config, err := clientcmd.BuildConfigFromFlags("", *kubeconfig) - if err != nil { - panic(err.Error()) - } - // creates the clientset - clientset, err := kubernetes.NewForConfig(config) - if err != nil { - panic(err.Error()) - } - for { - pods, err := clientset.Core().Pods("").List(api.ListOptions{}) - if err != nil { - panic(err.Error()) - } - fmt.Printf("There are %d pods in the cluster\n", len(pods.Items)) - time.Sleep(10 * time.Second) - } -} diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/clientset.go b/staging/src/k8s.io/client-go/kubernetes/clientset.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/kubernetes/clientset.go rename to staging/src/k8s.io/client-go/kubernetes/clientset.go index 35df6df632c..b93b77ecbb3 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/clientset.go +++ b/staging/src/k8s.io/client-go/kubernetes/clientset.go @@ -18,21 +18,21 @@ package kubernetes import ( "github.com/golang/glog" - discovery "k8s.io/client-go/1.5/discovery" - v1alpha1apps "k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1" - v1beta1authentication "k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1" - v1beta1authorization "k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1" - v1autoscaling "k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1" - v1batch "k8s.io/client-go/1.5/kubernetes/typed/batch/v1" - v1alpha1certificates "k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1" - v1core "k8s.io/client-go/1.5/kubernetes/typed/core/v1" - v1beta1extensions "k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1" - v1alpha1policy "k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1" - v1alpha1rbac "k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1" - v1beta1storage "k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" - _ "k8s.io/client-go/1.5/plugin/pkg/client/auth" - rest "k8s.io/client-go/1.5/rest" + discovery "k8s.io/client-go/discovery" + v1alpha1apps "k8s.io/client-go/kubernetes/typed/apps/v1alpha1" + v1beta1authentication "k8s.io/client-go/kubernetes/typed/authentication/v1beta1" + v1beta1authorization "k8s.io/client-go/kubernetes/typed/authorization/v1beta1" + v1autoscaling "k8s.io/client-go/kubernetes/typed/autoscaling/v1" + v1batch "k8s.io/client-go/kubernetes/typed/batch/v1" + v1alpha1certificates "k8s.io/client-go/kubernetes/typed/certificates/v1alpha1" + v1core "k8s.io/client-go/kubernetes/typed/core/v1" + v1beta1extensions "k8s.io/client-go/kubernetes/typed/extensions/v1beta1" + v1alpha1policy "k8s.io/client-go/kubernetes/typed/policy/v1alpha1" + v1alpha1rbac "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1" + v1beta1storage "k8s.io/client-go/kubernetes/typed/storage/v1beta1" + "k8s.io/client-go/pkg/util/flowcontrol" + _ "k8s.io/client-go/plugin/pkg/client/auth" + rest "k8s.io/client-go/rest" ) type Interface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/doc.go b/staging/src/k8s.io/client-go/kubernetes/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/doc.go rename to staging/src/k8s.io/client-go/kubernetes/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/fake/clientset_generated.go b/staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go similarity index 64% rename from staging/src/k8s.io/client-go/1.5/kubernetes/fake/clientset_generated.go rename to staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go index 091cf47636c..e04a9dd3e9a 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/fake/clientset_generated.go +++ b/staging/src/k8s.io/client-go/kubernetes/fake/clientset_generated.go @@ -17,36 +17,36 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/discovery" - fakediscovery "k8s.io/client-go/1.5/discovery/fake" - clientset "k8s.io/client-go/1.5/kubernetes" - v1alpha1apps "k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1" - fakev1alpha1apps "k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake" - v1beta1authentication "k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1" - fakev1beta1authentication "k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake" - v1beta1authorization "k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1" - fakev1beta1authorization "k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake" - v1autoscaling "k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1" - fakev1autoscaling "k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake" - v1batch "k8s.io/client-go/1.5/kubernetes/typed/batch/v1" - fakev1batch "k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake" - v1alpha1certificates "k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1" - fakev1alpha1certificates "k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake" - v1core "k8s.io/client-go/1.5/kubernetes/typed/core/v1" - fakev1core "k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake" - v1beta1extensions "k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1" - fakev1beta1extensions "k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake" - v1alpha1policy "k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1" - fakev1alpha1policy "k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake" - v1alpha1rbac "k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1" - fakev1alpha1rbac "k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake" - v1beta1storage "k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1" - fakev1beta1storage "k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/discovery" + fakediscovery "k8s.io/client-go/discovery/fake" + clientset "k8s.io/client-go/kubernetes" + v1alpha1apps "k8s.io/client-go/kubernetes/typed/apps/v1alpha1" + fakev1alpha1apps "k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake" + v1beta1authentication "k8s.io/client-go/kubernetes/typed/authentication/v1beta1" + fakev1beta1authentication "k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake" + v1beta1authorization "k8s.io/client-go/kubernetes/typed/authorization/v1beta1" + fakev1beta1authorization "k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake" + v1autoscaling "k8s.io/client-go/kubernetes/typed/autoscaling/v1" + fakev1autoscaling "k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake" + v1batch "k8s.io/client-go/kubernetes/typed/batch/v1" + fakev1batch "k8s.io/client-go/kubernetes/typed/batch/v1/fake" + v1alpha1certificates "k8s.io/client-go/kubernetes/typed/certificates/v1alpha1" + fakev1alpha1certificates "k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake" + v1core "k8s.io/client-go/kubernetes/typed/core/v1" + fakev1core "k8s.io/client-go/kubernetes/typed/core/v1/fake" + v1beta1extensions "k8s.io/client-go/kubernetes/typed/extensions/v1beta1" + fakev1beta1extensions "k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake" + v1alpha1policy "k8s.io/client-go/kubernetes/typed/policy/v1alpha1" + fakev1alpha1policy "k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake" + v1alpha1rbac "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1" + fakev1alpha1rbac "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake" + v1beta1storage "k8s.io/client-go/kubernetes/typed/storage/v1beta1" + fakev1beta1storage "k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/testing" ) // NewSimpleClientset returns a clientset that will respond with the provided objects. diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/import_known_versions.go b/staging/src/k8s.io/client-go/kubernetes/import_known_versions.go similarity index 58% rename from staging/src/k8s.io/client-go/1.5/kubernetes/import_known_versions.go rename to staging/src/k8s.io/client-go/kubernetes/import_known_versions.go index 2a27c780f1b..57fb7f94282 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/import_known_versions.go +++ b/staging/src/k8s.io/client-go/kubernetes/import_known_versions.go @@ -20,18 +20,18 @@ package kubernetes import ( "fmt" - _ "k8s.io/client-go/1.5/pkg/api/install" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - _ "k8s.io/client-go/1.5/pkg/apis/apps/install" - _ "k8s.io/client-go/1.5/pkg/apis/authentication/install" - _ "k8s.io/client-go/1.5/pkg/apis/authorization/install" - _ "k8s.io/client-go/1.5/pkg/apis/autoscaling/install" - _ "k8s.io/client-go/1.5/pkg/apis/batch/install" - _ "k8s.io/client-go/1.5/pkg/apis/certificates/install" - _ "k8s.io/client-go/1.5/pkg/apis/extensions/install" - _ "k8s.io/client-go/1.5/pkg/apis/policy/install" - _ "k8s.io/client-go/1.5/pkg/apis/rbac/install" - _ "k8s.io/client-go/1.5/pkg/apis/storage/install" + _ "k8s.io/client-go/pkg/api/install" + "k8s.io/client-go/pkg/apimachinery/registered" + _ "k8s.io/client-go/pkg/apis/apps/install" + _ "k8s.io/client-go/pkg/apis/authentication/install" + _ "k8s.io/client-go/pkg/apis/authorization/install" + _ "k8s.io/client-go/pkg/apis/autoscaling/install" + _ "k8s.io/client-go/pkg/apis/batch/install" + _ "k8s.io/client-go/pkg/apis/certificates/install" + _ "k8s.io/client-go/pkg/apis/extensions/install" + _ "k8s.io/client-go/pkg/apis/policy/install" + _ "k8s.io/client-go/pkg/apis/rbac/install" + _ "k8s.io/client-go/pkg/apis/storage/install" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/apps_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/apps_client.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/apps_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/apps_client.go index 6c792d936bf..e55e96c8c6e 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/apps_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/apps_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type AppsInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go index 7ac4d7d68dc..71c04b536fb 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/fake_apps_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1alpha1 "k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1alpha1 "k8s.io/client-go/kubernetes/typed/apps/v1alpha1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeApps struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go index 3123dd0705e..f4ba2e83e37 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/fake/fake_petset.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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 @@ -63,14 +64,14 @@ func (c *FakePetSets) UpdateStatus(petSet *v1alpha1.PetSet) (*v1alpha1.PetSet, e return obj.(*v1alpha1.PetSet), err } -func (c *FakePetSets) Delete(name string, options *api.DeleteOptions) error { +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 *api.DeleteOptions, listOptions api.ListOptions) error { +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{}) @@ -87,7 +88,7 @@ func (c *FakePetSets) Get(name string) (result *v1alpha1.PetSet, err error) { return obj.(*v1alpha1.PetSet), err } -func (c *FakePetSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, err error) { +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{}) @@ -95,7 +96,7 @@ func (c *FakePetSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, e return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakePetSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, e } // Watch returns a watch.Interface that watches the requested petSets. -func (c *FakePetSets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePetSets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(petsetsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/petset.go b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/petset.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/petset.go rename to staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/petset.go index 611c68dc6e7..67fdd1ce1f3 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/apps/v1alpha1/petset.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/apps/v1alpha1/petset.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + 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. @@ -33,11 +34,11 @@ 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 *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.PetSet, error) - List(opts api.ListOptions) (*v1alpha1.PetSetList, error) - Watch(opts api.ListOptions) (watch.Interface, 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 } @@ -95,7 +96,7 @@ func (c *petSets) UpdateStatus(petSet *v1alpha1.PetSet) (result *v1alpha1.PetSet } // Delete takes name of the petSet and deletes it. Returns an error if one occurs. -func (c *petSets) Delete(name string, options *api.DeleteOptions) error { +func (c *petSets) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("petsets"). @@ -106,7 +107,7 @@ func (c *petSets) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *petSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *petSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("petsets"). @@ -129,7 +130,7 @@ func (c *petSets) Get(name string) (result *v1alpha1.PetSet, err error) { } // List takes label and field selectors, and returns the list of PetSets that match those selectors. -func (c *petSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, err error) { +func (c *petSets) List(opts v1.ListOptions) (result *v1alpha1.PetSetList, err error) { result = &v1alpha1.PetSetList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *petSets) List(opts api.ListOptions) (result *v1alpha1.PetSetList, err e } // Watch returns a watch.Interface that watches the requested petSets. -func (c *petSets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *petSets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/authentication_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/authentication_client.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/authentication_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/authentication_client.go index 878e92aa0c4..e619ca9799b 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/authentication_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/authentication_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type AuthenticationInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go index 8402bfb8ba5..2179b381038 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/fake_authentication_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1beta1 "k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1beta1 "k8s.io/client-go/kubernetes/typed/authentication/v1beta1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeAuthentication struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/fake/fake_tokenreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/tokenreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/tokenreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authentication/v1beta1/tokenreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/tokenreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/authorization_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/authorization_client.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/authorization_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/authorization_client.go index 9ec2290cbfb..96081b29abf 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/authorization_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/authorization_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type AuthorizationInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go index 953b0361d89..a0544a83c5c 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_authorization_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1beta1 "k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1beta1 "k8s.io/client-go/kubernetes/typed/authorization/v1beta1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeAuthorization struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_localsubjectaccessreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_selfsubjectaccessreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go index 34a7138af83..4e2e0b2490d 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/fake/fake_subjectaccessreview_expansion.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - authorizationapi "k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1" + authorizationapi "k8s.io/client-go/pkg/apis/authorization/v1beta1" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/testing" ) func (c *FakeSubjectAccessReviews) Create(sar *authorizationapi.SubjectAccessReview) (result *authorizationapi.SubjectAccessReview, err error) { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/localsubjectaccessreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/selfsubjectaccessreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/subjectaccessreview.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go index 788ac3db3b1..8d03b0811a7 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/subjectaccessreview_expansion.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - authorizationapi "k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1" + authorizationapi "k8s.io/client-go/pkg/apis/authorization/v1beta1" ) // The SubjectAccessReviewExpansion interface allows manually adding extra methods to the AuthorizationInterface. diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/autoscaling_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/autoscaling_client.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/autoscaling_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/autoscaling_client.go index 0dfd5d959ec..62c27538d5d 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/autoscaling_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/autoscaling_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type AutoscalingInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go index 1a18c6f4d55..b5e93f0f623 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/fake_autoscaling_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1 "k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1 "k8s.io/client-go/kubernetes/typed/autoscaling/v1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeAutoscaling struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go index cdebd992cfc..5eab6258777 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/fake/fake_horizontalpodautoscaler.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/apis/autoscaling/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + api_v1 "k8s.io/client-go/pkg/api/v1" + v1 "k8s.io/client-go/pkg/apis/autoscaling/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeHorizontalPodAutoscalers implements HorizontalPodAutoscalerInterface @@ -63,14 +64,14 @@ func (c *FakeHorizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *v1. return obj.(*v1.HorizontalPodAutoscaler), err } -func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeHorizontalPodAutoscalers) Delete(name string, options *api_v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(horizontalpodautoscalersResource, c.ns, name), &v1.HorizontalPodAutoscaler{}) return err } -func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeHorizontalPodAutoscalers) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error { action := testing.NewDeleteCollectionAction(horizontalpodautoscalersResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.HorizontalPodAutoscalerList{}) @@ -87,7 +88,7 @@ func (c *FakeHorizontalPodAutoscalers) Get(name string) (result *v1.HorizontalPo return obj.(*v1.HorizontalPodAutoscaler), err } -func (c *FakeHorizontalPodAutoscalers) List(opts api.ListOptions) (result *v1.HorizontalPodAutoscalerList, err error) { +func (c *FakeHorizontalPodAutoscalers) List(opts api_v1.ListOptions) (result *v1.HorizontalPodAutoscalerList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(horizontalpodautoscalersResource, c.ns, opts), &v1.HorizontalPodAutoscalerList{}) @@ -95,7 +96,7 @@ func (c *FakeHorizontalPodAutoscalers) List(opts api.ListOptions) (result *v1.Ho return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeHorizontalPodAutoscalers) List(opts api.ListOptions) (result *v1.Ho } // Watch returns a watch.Interface that watches the requested horizontalPodAutoscalers. -func (c *FakeHorizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeHorizontalPodAutoscalers) Watch(opts api_v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(horizontalpodautoscalersResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go rename to staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go index b28317919e2..d344aa15b87 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/autoscaling/v1/horizontalpodautoscaler.go @@ -17,9 +17,10 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/apis/autoscaling/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + api_v1 "k8s.io/client-go/pkg/api/v1" + v1 "k8s.io/client-go/pkg/apis/autoscaling/v1" + watch "k8s.io/client-go/pkg/watch" ) // HorizontalPodAutoscalersGetter has a method to return a HorizontalPodAutoscalerInterface. @@ -33,11 +34,11 @@ type HorizontalPodAutoscalerInterface interface { Create(*v1.HorizontalPodAutoscaler) (*v1.HorizontalPodAutoscaler, error) Update(*v1.HorizontalPodAutoscaler) (*v1.HorizontalPodAutoscaler, error) UpdateStatus(*v1.HorizontalPodAutoscaler) (*v1.HorizontalPodAutoscaler, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *api_v1.DeleteOptions) error + DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error Get(name string) (*v1.HorizontalPodAutoscaler, error) - List(opts api.ListOptions) (*v1.HorizontalPodAutoscalerList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts api_v1.ListOptions) (*v1.HorizontalPodAutoscalerList, error) + Watch(opts api_v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.HorizontalPodAutoscaler, err error) HorizontalPodAutoscalerExpansion } @@ -95,7 +96,7 @@ func (c *horizontalPodAutoscalers) UpdateStatus(horizontalPodAutoscaler *v1.Hori } // Delete takes name of the horizontalPodAutoscaler and deletes it. Returns an error if one occurs. -func (c *horizontalPodAutoscalers) Delete(name string, options *api.DeleteOptions) error { +func (c *horizontalPodAutoscalers) Delete(name string, options *api_v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("horizontalpodautoscalers"). @@ -106,7 +107,7 @@ func (c *horizontalPodAutoscalers) Delete(name string, options *api.DeleteOption } // DeleteCollection deletes a collection of objects. -func (c *horizontalPodAutoscalers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *horizontalPodAutoscalers) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("horizontalpodautoscalers"). @@ -129,7 +130,7 @@ func (c *horizontalPodAutoscalers) Get(name string) (result *v1.HorizontalPodAut } // List takes label and field selectors, and returns the list of HorizontalPodAutoscalers that match those selectors. -func (c *horizontalPodAutoscalers) List(opts api.ListOptions) (result *v1.HorizontalPodAutoscalerList, err error) { +func (c *horizontalPodAutoscalers) List(opts api_v1.ListOptions) (result *v1.HorizontalPodAutoscalerList, err error) { result = &v1.HorizontalPodAutoscalerList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *horizontalPodAutoscalers) List(opts api.ListOptions) (result *v1.Horizo } // Watch returns a watch.Interface that watches the requested horizontalPodAutoscalers. -func (c *horizontalPodAutoscalers) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *horizontalPodAutoscalers) Watch(opts api_v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/batch_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/batch_client.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/batch_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/batch_client.go index 084fa6a29dd..e6660581846 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/batch_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/batch_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type BatchInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/fake_batch_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/fake_batch_client.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/fake_batch_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/fake_batch_client.go index 679f76e5c1c..bed84037363 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/fake_batch_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/fake_batch_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1 "k8s.io/client-go/1.5/kubernetes/typed/batch/v1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1 "k8s.io/client-go/kubernetes/typed/batch/v1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeBatch struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/fake_job.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/fake_job.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/fake_job.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/fake_job.go index 061254b5707..98408f670c7 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/fake/fake_job.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/fake/fake_job.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/apis/batch/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + api_v1 "k8s.io/client-go/pkg/api/v1" + v1 "k8s.io/client-go/pkg/apis/batch/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeJobs implements JobInterface @@ -63,14 +64,14 @@ func (c *FakeJobs) UpdateStatus(job *v1.Job) (*v1.Job, error) { return obj.(*v1.Job), err } -func (c *FakeJobs) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeJobs) Delete(name string, options *api_v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(jobsResource, c.ns, name), &v1.Job{}) return err } -func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeJobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error { action := testing.NewDeleteCollectionAction(jobsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.JobList{}) @@ -87,7 +88,7 @@ func (c *FakeJobs) Get(name string) (result *v1.Job, err error) { return obj.(*v1.Job), err } -func (c *FakeJobs) List(opts api.ListOptions) (result *v1.JobList, err error) { +func (c *FakeJobs) List(opts api_v1.ListOptions) (result *v1.JobList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(jobsResource, c.ns, opts), &v1.JobList{}) @@ -95,7 +96,7 @@ func (c *FakeJobs) List(opts api.ListOptions) (result *v1.JobList, err error) { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeJobs) List(opts api.ListOptions) (result *v1.JobList, err error) { } // Watch returns a watch.Interface that watches the requested jobs. -func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeJobs) Watch(opts api_v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(jobsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/job.go b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/job.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/job.go rename to staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/job.go index c201bddc7c5..16d503081ee 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/batch/v1/job.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/batch/v1/job.go @@ -17,9 +17,10 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/apis/batch/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + api_v1 "k8s.io/client-go/pkg/api/v1" + v1 "k8s.io/client-go/pkg/apis/batch/v1" + watch "k8s.io/client-go/pkg/watch" ) // JobsGetter has a method to return a JobInterface. @@ -33,11 +34,11 @@ type JobInterface interface { Create(*v1.Job) (*v1.Job, error) Update(*v1.Job) (*v1.Job, error) UpdateStatus(*v1.Job) (*v1.Job, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *api_v1.DeleteOptions) error + DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error Get(name string) (*v1.Job, error) - List(opts api.ListOptions) (*v1.JobList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts api_v1.ListOptions) (*v1.JobList, error) + Watch(opts api_v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Job, err error) JobExpansion } @@ -95,7 +96,7 @@ func (c *jobs) UpdateStatus(job *v1.Job) (result *v1.Job, err error) { } // Delete takes name of the job and deletes it. Returns an error if one occurs. -func (c *jobs) Delete(name string, options *api.DeleteOptions) error { +func (c *jobs) Delete(name string, options *api_v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("jobs"). @@ -106,7 +107,7 @@ func (c *jobs) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *jobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *jobs) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("jobs"). @@ -129,7 +130,7 @@ func (c *jobs) Get(name string) (result *v1.Job, err error) { } // List takes label and field selectors, and returns the list of Jobs that match those selectors. -func (c *jobs) List(opts api.ListOptions) (result *v1.JobList, err error) { +func (c *jobs) List(opts api_v1.ListOptions) (result *v1.JobList, err error) { result = &v1.JobList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *jobs) List(opts api.ListOptions) (result *v1.JobList, err error) { } // Watch returns a watch.Interface that watches the requested jobs. -func (c *jobs) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *jobs) Watch(opts api_v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/certificates_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificates_client.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/certificates_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificates_client.go index 56c3d4a398a..0d0df09b9de 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/certificates_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificates_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type CertificatesInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go index 07e6a040411..4ea8cda9751 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/certificatesigningrequest.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/certificates/v1alpha1" + watch "k8s.io/client-go/pkg/watch" ) // CertificateSigningRequestsGetter has a method to return a CertificateSigningRequestInterface. @@ -33,11 +34,11 @@ type CertificateSigningRequestInterface interface { Create(*v1alpha1.CertificateSigningRequest) (*v1alpha1.CertificateSigningRequest, error) Update(*v1alpha1.CertificateSigningRequest) (*v1alpha1.CertificateSigningRequest, error) UpdateStatus(*v1alpha1.CertificateSigningRequest) (*v1alpha1.CertificateSigningRequest, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.CertificateSigningRequest, error) - List(opts api.ListOptions) (*v1alpha1.CertificateSigningRequestList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1alpha1.CertificateSigningRequestList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.CertificateSigningRequest, err error) CertificateSigningRequestExpansion } @@ -90,7 +91,7 @@ func (c *certificateSigningRequests) UpdateStatus(certificateSigningRequest *v1a } // Delete takes name of the certificateSigningRequest and deletes it. Returns an error if one occurs. -func (c *certificateSigningRequests) Delete(name string, options *api.DeleteOptions) error { +func (c *certificateSigningRequests) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("certificatesigningrequests"). Name(name). @@ -100,7 +101,7 @@ func (c *certificateSigningRequests) Delete(name string, options *api.DeleteOpti } // DeleteCollection deletes a collection of objects. -func (c *certificateSigningRequests) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *certificateSigningRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("certificatesigningrequests"). VersionedParams(&listOptions, api.ParameterCodec). @@ -121,7 +122,7 @@ func (c *certificateSigningRequests) Get(name string) (result *v1alpha1.Certific } // List takes label and field selectors, and returns the list of CertificateSigningRequests that match those selectors. -func (c *certificateSigningRequests) List(opts api.ListOptions) (result *v1alpha1.CertificateSigningRequestList, err error) { +func (c *certificateSigningRequests) List(opts v1.ListOptions) (result *v1alpha1.CertificateSigningRequestList, err error) { result = &v1alpha1.CertificateSigningRequestList{} err = c.client.Get(). Resource("certificatesigningrequests"). @@ -132,7 +133,7 @@ func (c *certificateSigningRequests) List(opts api.ListOptions) (result *v1alpha } // Watch returns a watch.Interface that watches the requested certificateSigningRequests. -func (c *certificateSigningRequests) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *certificateSigningRequests) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("certificatesigningrequests"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go index acbc7a89a0f..eff7ba47d42 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/fake_certificates_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1alpha1 "k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1alpha1 "k8s.io/client-go/kubernetes/typed/certificates/v1alpha1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeCertificates struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go index 38178c3644c..c20eb9c71a0 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/fake/fake_certificatesigningrequest.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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/certificates/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeCertificateSigningRequests implements CertificateSigningRequestInterface @@ -59,13 +60,13 @@ func (c *FakeCertificateSigningRequests) UpdateStatus(certificateSigningRequest return obj.(*v1alpha1.CertificateSigningRequest), err } -func (c *FakeCertificateSigningRequests) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeCertificateSigningRequests) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(certificatesigningrequestsResource, name), &v1alpha1.CertificateSigningRequest{}) return err } -func (c *FakeCertificateSigningRequests) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeCertificateSigningRequests) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(certificatesigningrequestsResource, listOptions) _, err := c.Fake.Invokes(action, &v1alpha1.CertificateSigningRequestList{}) @@ -81,14 +82,14 @@ func (c *FakeCertificateSigningRequests) Get(name string) (result *v1alpha1.Cert return obj.(*v1alpha1.CertificateSigningRequest), err } -func (c *FakeCertificateSigningRequests) List(opts api.ListOptions) (result *v1alpha1.CertificateSigningRequestList, err error) { +func (c *FakeCertificateSigningRequests) List(opts v1.ListOptions) (result *v1alpha1.CertificateSigningRequestList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(certificatesigningrequestsResource, opts), &v1alpha1.CertificateSigningRequestList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -102,7 +103,7 @@ func (c *FakeCertificateSigningRequests) List(opts api.ListOptions) (result *v1a } // Watch returns a watch.Interface that watches the requested certificateSigningRequests. -func (c *FakeCertificateSigningRequests) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeCertificateSigningRequests) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(certificatesigningrequestsResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/certificates/v1alpha1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/certificates/v1alpha1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/componentstatus.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/componentstatus.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/componentstatus.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/componentstatus.go index bcdbbc34a34..7eb6708fc0f 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/componentstatus.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/componentstatus.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // ComponentStatusesGetter has a method to return a ComponentStatusInterface. @@ -32,11 +32,11 @@ type ComponentStatusesGetter interface { type ComponentStatusInterface interface { Create(*v1.ComponentStatus) (*v1.ComponentStatus, error) Update(*v1.ComponentStatus) (*v1.ComponentStatus, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.ComponentStatus, error) - List(opts api.ListOptions) (*v1.ComponentStatusList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.ComponentStatusList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ComponentStatus, err error) ComponentStatusExpansion } @@ -77,7 +77,7 @@ func (c *componentStatuses) Update(componentStatus *v1.ComponentStatus) (result } // Delete takes name of the componentStatus and deletes it. Returns an error if one occurs. -func (c *componentStatuses) Delete(name string, options *api.DeleteOptions) error { +func (c *componentStatuses) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("componentstatuses"). Name(name). @@ -87,7 +87,7 @@ func (c *componentStatuses) Delete(name string, options *api.DeleteOptions) erro } // DeleteCollection deletes a collection of objects. -func (c *componentStatuses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *componentStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("componentstatuses"). VersionedParams(&listOptions, api.ParameterCodec). @@ -108,7 +108,7 @@ func (c *componentStatuses) Get(name string) (result *v1.ComponentStatus, err er } // List takes label and field selectors, and returns the list of ComponentStatuses that match those selectors. -func (c *componentStatuses) List(opts api.ListOptions) (result *v1.ComponentStatusList, err error) { +func (c *componentStatuses) List(opts v1.ListOptions) (result *v1.ComponentStatusList, err error) { result = &v1.ComponentStatusList{} err = c.client.Get(). Resource("componentstatuses"). @@ -119,7 +119,7 @@ func (c *componentStatuses) List(opts api.ListOptions) (result *v1.ComponentStat } // Watch returns a watch.Interface that watches the requested componentStatuses. -func (c *componentStatuses) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *componentStatuses) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("componentstatuses"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/configmap.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/configmap.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/configmap.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/configmap.go index 5ede52bc4eb..7a67e686e95 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/configmap.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/configmap.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // ConfigMapsGetter has a method to return a ConfigMapInterface. @@ -32,11 +32,11 @@ type ConfigMapsGetter interface { type ConfigMapInterface interface { Create(*v1.ConfigMap) (*v1.ConfigMap, error) Update(*v1.ConfigMap) (*v1.ConfigMap, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.ConfigMap, error) - List(opts api.ListOptions) (*v1.ConfigMapList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.ConfigMapList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ConfigMap, err error) ConfigMapExpansion } @@ -81,7 +81,7 @@ func (c *configMaps) Update(configMap *v1.ConfigMap) (result *v1.ConfigMap, err } // Delete takes name of the configMap and deletes it. Returns an error if one occurs. -func (c *configMaps) Delete(name string, options *api.DeleteOptions) error { +func (c *configMaps) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("configmaps"). @@ -92,7 +92,7 @@ func (c *configMaps) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *configMaps) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *configMaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("configmaps"). @@ -115,7 +115,7 @@ func (c *configMaps) Get(name string) (result *v1.ConfigMap, err error) { } // List takes label and field selectors, and returns the list of ConfigMaps that match those selectors. -func (c *configMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, err error) { +func (c *configMaps) List(opts v1.ListOptions) (result *v1.ConfigMapList, err error) { result = &v1.ConfigMapList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *configMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, err e } // Watch returns a watch.Interface that watches the requested configMaps. -func (c *configMaps) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *configMaps) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/core_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/core_client.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/core_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/core_client.go index e32979f2308..219621e3ab7 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/core_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/core_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type CoreInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/endpoints.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/endpoints.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/endpoints.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/endpoints.go index 119e92da36f..70d4e3ab35d 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/endpoints.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/endpoints.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // EndpointsGetter has a method to return a EndpointsInterface. @@ -32,11 +32,11 @@ type EndpointsGetter interface { type EndpointsInterface interface { Create(*v1.Endpoints) (*v1.Endpoints, error) Update(*v1.Endpoints) (*v1.Endpoints, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Endpoints, error) - List(opts api.ListOptions) (*v1.EndpointsList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.EndpointsList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Endpoints, err error) EndpointsExpansion } @@ -81,7 +81,7 @@ func (c *endpoints) Update(endpoints *v1.Endpoints) (result *v1.Endpoints, err e } // Delete takes name of the endpoints and deletes it. Returns an error if one occurs. -func (c *endpoints) Delete(name string, options *api.DeleteOptions) error { +func (c *endpoints) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("endpoints"). @@ -92,7 +92,7 @@ func (c *endpoints) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *endpoints) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *endpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("endpoints"). @@ -115,7 +115,7 @@ func (c *endpoints) Get(name string) (result *v1.Endpoints, err error) { } // List takes label and field selectors, and returns the list of Endpoints that match those selectors. -func (c *endpoints) List(opts api.ListOptions) (result *v1.EndpointsList, err error) { +func (c *endpoints) List(opts v1.ListOptions) (result *v1.EndpointsList, err error) { result = &v1.EndpointsList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *endpoints) List(opts api.ListOptions) (result *v1.EndpointsList, err er } // Watch returns a watch.Interface that watches the requested endpoints. -func (c *endpoints) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *endpoints) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/event.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/event.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/event.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/event.go index e4a7ef6a9a3..223dce26882 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/event.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/event.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // EventsGetter has a method to return a EventInterface. @@ -32,11 +32,11 @@ type EventsGetter interface { type EventInterface interface { Create(*v1.Event) (*v1.Event, error) Update(*v1.Event) (*v1.Event, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Event, error) - List(opts api.ListOptions) (*v1.EventList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.EventList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Event, err error) EventExpansion } @@ -81,7 +81,7 @@ func (c *events) Update(event *v1.Event) (result *v1.Event, err error) { } // Delete takes name of the event and deletes it. Returns an error if one occurs. -func (c *events) Delete(name string, options *api.DeleteOptions) error { +func (c *events) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("events"). @@ -92,7 +92,7 @@ func (c *events) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *events) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *events) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("events"). @@ -115,7 +115,7 @@ func (c *events) Get(name string) (result *v1.Event, err error) { } // List takes label and field selectors, and returns the list of Events that match those selectors. -func (c *events) List(opts api.ListOptions) (result *v1.EventList, err error) { +func (c *events) List(opts v1.ListOptions) (result *v1.EventList, err error) { result = &v1.EventList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *events) List(opts api.ListOptions) (result *v1.EventList, err error) { } // Watch returns a watch.Interface that watches the requested events. -func (c *events) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *events) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/event_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/event_expansion.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/event_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/event_expansion.go index b768053ba4b..5a893ca2db3 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/event_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/event_expansion.go @@ -19,10 +19,10 @@ package v1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/runtime" ) // The EventExpansion interface allows manually adding extra methods to the EventInterface. @@ -116,7 +116,7 @@ func (e *events) Search(objOrRef runtime.Object) (*v1.EventList, error) { refUID = &stringRefUID } fieldSelector := e.GetFieldSelector(&ref.Name, &ref.Namespace, refKind, refUID) - return e.List(api.ListOptions{FieldSelector: fieldSelector}) + return e.List(v1.ListOptions{FieldSelector: fieldSelector.String()}) } // Returns the appropriate field selector based on the API version being used to communicate with the server. diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_componentstatus.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_componentstatus.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_componentstatus.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_componentstatus.go index 2f8fb80f65b..5846499bc2d 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_componentstatus.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_componentstatus.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeComponentStatuses implements ComponentStatusInterface @@ -50,13 +50,13 @@ func (c *FakeComponentStatuses) Update(componentStatus *v1.ComponentStatus) (res return obj.(*v1.ComponentStatus), err } -func (c *FakeComponentStatuses) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeComponentStatuses) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(componentstatusesResource, name), &v1.ComponentStatus{}) return err } -func (c *FakeComponentStatuses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeComponentStatuses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(componentstatusesResource, listOptions) _, err := c.Fake.Invokes(action, &v1.ComponentStatusList{}) @@ -72,14 +72,14 @@ func (c *FakeComponentStatuses) Get(name string) (result *v1.ComponentStatus, er return obj.(*v1.ComponentStatus), err } -func (c *FakeComponentStatuses) List(opts api.ListOptions) (result *v1.ComponentStatusList, err error) { +func (c *FakeComponentStatuses) List(opts v1.ListOptions) (result *v1.ComponentStatusList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(componentstatusesResource, opts), &v1.ComponentStatusList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -93,7 +93,7 @@ func (c *FakeComponentStatuses) List(opts api.ListOptions) (result *v1.Component } // Watch returns a watch.Interface that watches the requested componentStatuses. -func (c *FakeComponentStatuses) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeComponentStatuses) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(componentstatusesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_configmap.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_configmap.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_configmap.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_configmap.go index 48e09b131b2..9480eaf3580 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_configmap.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_configmap.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeConfigMaps implements ConfigMapInterface @@ -53,14 +53,14 @@ func (c *FakeConfigMaps) Update(configMap *v1.ConfigMap) (result *v1.ConfigMap, return obj.(*v1.ConfigMap), err } -func (c *FakeConfigMaps) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeConfigMaps) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(configmapsResource, c.ns, name), &v1.ConfigMap{}) return err } -func (c *FakeConfigMaps) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeConfigMaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(configmapsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.ConfigMapList{}) @@ -77,7 +77,7 @@ func (c *FakeConfigMaps) Get(name string) (result *v1.ConfigMap, err error) { return obj.(*v1.ConfigMap), err } -func (c *FakeConfigMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, err error) { +func (c *FakeConfigMaps) List(opts v1.ListOptions) (result *v1.ConfigMapList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(configmapsResource, c.ns, opts), &v1.ConfigMapList{}) @@ -85,7 +85,7 @@ func (c *FakeConfigMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, e return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakeConfigMaps) List(opts api.ListOptions) (result *v1.ConfigMapList, e } // Watch returns a watch.Interface that watches the requested configMaps. -func (c *FakeConfigMaps) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeConfigMaps) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(configmapsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_core_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_core_client.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_core_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_core_client.go index fe11ad077d8..3db7c6db41e 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_core_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_core_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1 "k8s.io/client-go/1.5/kubernetes/typed/core/v1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1 "k8s.io/client-go/kubernetes/typed/core/v1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeCore struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_endpoints.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_endpoints.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_endpoints.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_endpoints.go index e118ece45f9..103276e803a 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_endpoints.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_endpoints.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeEndpoints implements EndpointsInterface @@ -53,14 +53,14 @@ func (c *FakeEndpoints) Update(endpoints *v1.Endpoints) (result *v1.Endpoints, e return obj.(*v1.Endpoints), err } -func (c *FakeEndpoints) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeEndpoints) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(endpointsResource, c.ns, name), &v1.Endpoints{}) return err } -func (c *FakeEndpoints) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(endpointsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.EndpointsList{}) @@ -77,7 +77,7 @@ func (c *FakeEndpoints) Get(name string) (result *v1.Endpoints, err error) { return obj.(*v1.Endpoints), err } -func (c *FakeEndpoints) List(opts api.ListOptions) (result *v1.EndpointsList, err error) { +func (c *FakeEndpoints) List(opts v1.ListOptions) (result *v1.EndpointsList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(endpointsResource, c.ns, opts), &v1.EndpointsList{}) @@ -85,7 +85,7 @@ func (c *FakeEndpoints) List(opts api.ListOptions) (result *v1.EndpointsList, er return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakeEndpoints) List(opts api.ListOptions) (result *v1.EndpointsList, er } // Watch returns a watch.Interface that watches the requested endpoints. -func (c *FakeEndpoints) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(endpointsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_event.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_event.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event.go index cc3cf5c5fe7..b3ed1991d5e 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_event.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeEvents implements EventInterface @@ -53,14 +53,14 @@ func (c *FakeEvents) Update(event *v1.Event) (result *v1.Event, err error) { return obj.(*v1.Event), err } -func (c *FakeEvents) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeEvents) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(eventsResource, c.ns, name), &v1.Event{}) return err } -func (c *FakeEvents) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeEvents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(eventsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.EventList{}) @@ -77,7 +77,7 @@ func (c *FakeEvents) Get(name string) (result *v1.Event, err error) { return obj.(*v1.Event), err } -func (c *FakeEvents) List(opts api.ListOptions) (result *v1.EventList, err error) { +func (c *FakeEvents) List(opts v1.ListOptions) (result *v1.EventList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(eventsResource, c.ns, opts), &v1.EventList{}) @@ -85,7 +85,7 @@ func (c *FakeEvents) List(opts api.ListOptions) (result *v1.EventList, err error return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakeEvents) List(opts api.ListOptions) (result *v1.EventList, err error } // Watch returns a watch.Interface that watches the requested events. -func (c *FakeEvents) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeEvents) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(eventsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_event_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_event_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go index dd21c9c054f..983a6cc3376 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_event_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_event_expansion.go @@ -17,11 +17,11 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/testing" ) func (c *FakeEvents) CreateWithEventNamespace(event *v1.Event) (*v1.Event, error) { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_limitrange.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_limitrange.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_limitrange.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_limitrange.go index 2462d302c79..ccd71d29afe 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_limitrange.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_limitrange.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeLimitRanges implements LimitRangeInterface @@ -53,14 +53,14 @@ func (c *FakeLimitRanges) Update(limitRange *v1.LimitRange) (result *v1.LimitRan return obj.(*v1.LimitRange), err } -func (c *FakeLimitRanges) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeLimitRanges) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(limitrangesResource, c.ns, name), &v1.LimitRange{}) return err } -func (c *FakeLimitRanges) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeLimitRanges) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(limitrangesResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.LimitRangeList{}) @@ -77,7 +77,7 @@ func (c *FakeLimitRanges) Get(name string) (result *v1.LimitRange, err error) { return obj.(*v1.LimitRange), err } -func (c *FakeLimitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, err error) { +func (c *FakeLimitRanges) List(opts v1.ListOptions) (result *v1.LimitRangeList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(limitrangesResource, c.ns, opts), &v1.LimitRangeList{}) @@ -85,7 +85,7 @@ func (c *FakeLimitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakeLimitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, } // Watch returns a watch.Interface that watches the requested limitRanges. -func (c *FakeLimitRanges) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeLimitRanges) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(limitrangesResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_namespace.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_namespace.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace.go index 54f5c0dd0dd..64adf37111d 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_namespace.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeNamespaces implements NamespaceInterface @@ -59,13 +59,13 @@ func (c *FakeNamespaces) UpdateStatus(namespace *v1.Namespace) (*v1.Namespace, e return obj.(*v1.Namespace), err } -func (c *FakeNamespaces) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeNamespaces) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(namespacesResource, name), &v1.Namespace{}) return err } -func (c *FakeNamespaces) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeNamespaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(namespacesResource, listOptions) _, err := c.Fake.Invokes(action, &v1.NamespaceList{}) @@ -81,14 +81,14 @@ func (c *FakeNamespaces) Get(name string) (result *v1.Namespace, err error) { return obj.(*v1.Namespace), err } -func (c *FakeNamespaces) List(opts api.ListOptions) (result *v1.NamespaceList, err error) { +func (c *FakeNamespaces) List(opts v1.ListOptions) (result *v1.NamespaceList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(namespacesResource, opts), &v1.NamespaceList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -102,7 +102,7 @@ func (c *FakeNamespaces) List(opts api.ListOptions) (result *v1.NamespaceList, e } // Watch returns a watch.Interface that watches the requested namespaces. -func (c *FakeNamespaces) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeNamespaces) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(namespacesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go index c6f57e259e5..c2e0c0ce726 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_namespace_expansion.go @@ -17,8 +17,8 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/testing" ) func (c *FakeNamespaces) Finalize(namespace *v1.Namespace) (*v1.Namespace, error) { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_node.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_node.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_node.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_node.go index c16c9d0b704..b4cc4f82dcf 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_node.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_node.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeNodes implements NodeInterface @@ -59,13 +59,13 @@ func (c *FakeNodes) UpdateStatus(node *v1.Node) (*v1.Node, error) { return obj.(*v1.Node), err } -func (c *FakeNodes) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeNodes) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(nodesResource, name), &v1.Node{}) return err } -func (c *FakeNodes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeNodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(nodesResource, listOptions) _, err := c.Fake.Invokes(action, &v1.NodeList{}) @@ -81,14 +81,14 @@ func (c *FakeNodes) Get(name string) (result *v1.Node, err error) { return obj.(*v1.Node), err } -func (c *FakeNodes) List(opts api.ListOptions) (result *v1.NodeList, err error) { +func (c *FakeNodes) List(opts v1.ListOptions) (result *v1.NodeList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(nodesResource, opts), &v1.NodeList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -102,7 +102,7 @@ func (c *FakeNodes) List(opts api.ListOptions) (result *v1.NodeList, err error) } // Watch returns a watch.Interface that watches the requested nodes. -func (c *FakeNodes) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeNodes) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(nodesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_persistentvolume.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_persistentvolume.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_persistentvolume.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_persistentvolume.go index 4376c0ed175..05c3ee99bfd 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_persistentvolume.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_persistentvolume.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakePersistentVolumes implements PersistentVolumeInterface @@ -59,13 +59,13 @@ func (c *FakePersistentVolumes) UpdateStatus(persistentVolume *v1.PersistentVolu return obj.(*v1.PersistentVolume), err } -func (c *FakePersistentVolumes) Delete(name string, options *api.DeleteOptions) error { +func (c *FakePersistentVolumes) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(persistentvolumesResource, name), &v1.PersistentVolume{}) return err } -func (c *FakePersistentVolumes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakePersistentVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(persistentvolumesResource, listOptions) _, err := c.Fake.Invokes(action, &v1.PersistentVolumeList{}) @@ -81,14 +81,14 @@ func (c *FakePersistentVolumes) Get(name string) (result *v1.PersistentVolume, e return obj.(*v1.PersistentVolume), err } -func (c *FakePersistentVolumes) List(opts api.ListOptions) (result *v1.PersistentVolumeList, err error) { +func (c *FakePersistentVolumes) List(opts v1.ListOptions) (result *v1.PersistentVolumeList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(persistentvolumesResource, opts), &v1.PersistentVolumeList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -102,7 +102,7 @@ func (c *FakePersistentVolumes) List(opts api.ListOptions) (result *v1.Persisten } // Watch returns a watch.Interface that watches the requested persistentVolumes. -func (c *FakePersistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePersistentVolumes) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(persistentvolumesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go index 7c2f82c6fa9..4560e6b8e45 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_persistentvolumeclaim.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakePersistentVolumeClaims implements PersistentVolumeClaimInterface @@ -63,14 +63,14 @@ func (c *FakePersistentVolumeClaims) UpdateStatus(persistentVolumeClaim *v1.Pers return obj.(*v1.PersistentVolumeClaim), err } -func (c *FakePersistentVolumeClaims) Delete(name string, options *api.DeleteOptions) error { +func (c *FakePersistentVolumeClaims) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(persistentvolumeclaimsResource, c.ns, name), &v1.PersistentVolumeClaim{}) return err } -func (c *FakePersistentVolumeClaims) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakePersistentVolumeClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(persistentvolumeclaimsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.PersistentVolumeClaimList{}) @@ -87,7 +87,7 @@ func (c *FakePersistentVolumeClaims) Get(name string) (result *v1.PersistentVolu return obj.(*v1.PersistentVolumeClaim), err } -func (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *v1.PersistentVolumeClaimList, err error) { +func (c *FakePersistentVolumeClaims) List(opts v1.ListOptions) (result *v1.PersistentVolumeClaimList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(persistentvolumeclaimsResource, c.ns, opts), &v1.PersistentVolumeClaimList{}) @@ -95,7 +95,7 @@ func (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *v1.Pers return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +109,7 @@ func (c *FakePersistentVolumeClaims) List(opts api.ListOptions) (result *v1.Pers } // Watch returns a watch.Interface that watches the requested persistentVolumeClaims. -func (c *FakePersistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePersistentVolumeClaims) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(persistentvolumeclaimsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_pod.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_pod.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_pod.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_pod.go index 414da176408..a8fe0f1e761 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_pod.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_pod.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakePods implements PodInterface @@ -63,14 +63,14 @@ func (c *FakePods) UpdateStatus(pod *v1.Pod) (*v1.Pod, error) { return obj.(*v1.Pod), err } -func (c *FakePods) Delete(name string, options *api.DeleteOptions) error { +func (c *FakePods) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(podsResource, c.ns, name), &v1.Pod{}) return err } -func (c *FakePods) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakePods) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(podsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.PodList{}) @@ -87,7 +87,7 @@ func (c *FakePods) Get(name string) (result *v1.Pod, err error) { return obj.(*v1.Pod), err } -func (c *FakePods) List(opts api.ListOptions) (result *v1.PodList, err error) { +func (c *FakePods) List(opts v1.ListOptions) (result *v1.PodList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(podsResource, c.ns, opts), &v1.PodList{}) @@ -95,7 +95,7 @@ func (c *FakePods) List(opts api.ListOptions) (result *v1.PodList, err error) { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +109,7 @@ func (c *FakePods) List(opts api.ListOptions) (result *v1.PodList, err error) { } // Watch returns a watch.Interface that watches the requested pods. -func (c *FakePods) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePods) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(podsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_pod_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_pod_expansion.go similarity index 74% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_pod_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_pod_expansion.go index 3e711fc7812..af5e7ff5238 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_pod_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_pod_expansion.go @@ -17,9 +17,10 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/rest" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/pkg/api/v1" + policy "k8s.io/client-go/pkg/apis/policy/v1alpha1" + "k8s.io/client-go/rest" + "k8s.io/client-go/testing" ) func (c *FakePods) Bind(binding *v1.Binding) error { @@ -44,3 +45,14 @@ func (c *FakePods) GetLogs(name string, opts *v1.PodLogOptions) *rest.Request { _, _ = c.Fake.Invokes(action, &v1.Pod{}) return &rest.Request{} } + +func (c *FakePods) Evict(eviction *policy.Eviction) error { + action := testing.CreateActionImpl{} + action.Verb = "create" + action.Resource = podsResource + action.Subresource = "eviction" + action.Object = eviction + + _, err := c.Fake.Invokes(action, eviction) + return err +} diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_podtemplate.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_podtemplate.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_podtemplate.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_podtemplate.go index 709398618ec..c735e5161b4 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_podtemplate.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_podtemplate.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakePodTemplates implements PodTemplateInterface @@ -53,14 +53,14 @@ func (c *FakePodTemplates) Update(podTemplate *v1.PodTemplate) (result *v1.PodTe return obj.(*v1.PodTemplate), err } -func (c *FakePodTemplates) Delete(name string, options *api.DeleteOptions) error { +func (c *FakePodTemplates) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(podtemplatesResource, c.ns, name), &v1.PodTemplate{}) return err } -func (c *FakePodTemplates) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakePodTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(podtemplatesResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.PodTemplateList{}) @@ -77,7 +77,7 @@ func (c *FakePodTemplates) Get(name string) (result *v1.PodTemplate, err error) return obj.(*v1.PodTemplate), err } -func (c *FakePodTemplates) List(opts api.ListOptions) (result *v1.PodTemplateList, err error) { +func (c *FakePodTemplates) List(opts v1.ListOptions) (result *v1.PodTemplateList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(podtemplatesResource, c.ns, opts), &v1.PodTemplateList{}) @@ -85,7 +85,7 @@ func (c *FakePodTemplates) List(opts api.ListOptions) (result *v1.PodTemplateLis return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakePodTemplates) List(opts api.ListOptions) (result *v1.PodTemplateLis } // Watch returns a watch.Interface that watches the requested podTemplates. -func (c *FakePodTemplates) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePodTemplates) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(podtemplatesResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go index 61b45d76ef4..4f89e2a6951 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_replicationcontroller.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeReplicationControllers implements ReplicationControllerInterface @@ -63,14 +63,14 @@ func (c *FakeReplicationControllers) UpdateStatus(replicationController *v1.Repl return obj.(*v1.ReplicationController), err } -func (c *FakeReplicationControllers) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeReplicationControllers) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(replicationcontrollersResource, c.ns, name), &v1.ReplicationController{}) return err } -func (c *FakeReplicationControllers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeReplicationControllers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(replicationcontrollersResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.ReplicationControllerList{}) @@ -87,7 +87,7 @@ func (c *FakeReplicationControllers) Get(name string) (result *v1.ReplicationCon return obj.(*v1.ReplicationController), err } -func (c *FakeReplicationControllers) List(opts api.ListOptions) (result *v1.ReplicationControllerList, err error) { +func (c *FakeReplicationControllers) List(opts v1.ListOptions) (result *v1.ReplicationControllerList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(replicationcontrollersResource, c.ns, opts), &v1.ReplicationControllerList{}) @@ -95,7 +95,7 @@ func (c *FakeReplicationControllers) List(opts api.ListOptions) (result *v1.Repl return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +109,7 @@ func (c *FakeReplicationControllers) List(opts api.ListOptions) (result *v1.Repl } // Watch returns a watch.Interface that watches the requested replicationControllers. -func (c *FakeReplicationControllers) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeReplicationControllers) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(replicationcontrollersResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_resourcequota.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_resourcequota.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_resourcequota.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_resourcequota.go index 8170e833ad8..666d6a46325 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_resourcequota.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_resourcequota.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeResourceQuotas implements ResourceQuotaInterface @@ -63,14 +63,14 @@ func (c *FakeResourceQuotas) UpdateStatus(resourceQuota *v1.ResourceQuota) (*v1. return obj.(*v1.ResourceQuota), err } -func (c *FakeResourceQuotas) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeResourceQuotas) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(resourcequotasResource, c.ns, name), &v1.ResourceQuota{}) return err } -func (c *FakeResourceQuotas) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeResourceQuotas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(resourcequotasResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.ResourceQuotaList{}) @@ -87,7 +87,7 @@ func (c *FakeResourceQuotas) Get(name string) (result *v1.ResourceQuota, err err return obj.(*v1.ResourceQuota), err } -func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuotaList, err error) { +func (c *FakeResourceQuotas) List(opts v1.ListOptions) (result *v1.ResourceQuotaList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(resourcequotasResource, c.ns, opts), &v1.ResourceQuotaList{}) @@ -95,7 +95,7 @@ func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuot return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +109,7 @@ func (c *FakeResourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuot } // Watch returns a watch.Interface that watches the requested resourceQuotas. -func (c *FakeResourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeResourceQuotas) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(resourcequotasResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_secret.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_secret.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_secret.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_secret.go index 3c98f8c3536..be374ec00e5 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_secret.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_secret.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeSecrets implements SecretInterface @@ -53,14 +53,14 @@ func (c *FakeSecrets) Update(secret *v1.Secret) (result *v1.Secret, err error) { return obj.(*v1.Secret), err } -func (c *FakeSecrets) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeSecrets) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(secretsResource, c.ns, name), &v1.Secret{}) return err } -func (c *FakeSecrets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(secretsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.SecretList{}) @@ -77,7 +77,7 @@ func (c *FakeSecrets) Get(name string) (result *v1.Secret, err error) { return obj.(*v1.Secret), err } -func (c *FakeSecrets) List(opts api.ListOptions) (result *v1.SecretList, err error) { +func (c *FakeSecrets) List(opts v1.ListOptions) (result *v1.SecretList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(secretsResource, c.ns, opts), &v1.SecretList{}) @@ -85,7 +85,7 @@ func (c *FakeSecrets) List(opts api.ListOptions) (result *v1.SecretList, err err return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakeSecrets) List(opts api.ListOptions) (result *v1.SecretList, err err } // Watch returns a watch.Interface that watches the requested secrets. -func (c *FakeSecrets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeSecrets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(secretsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_service.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_service.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service.go index 62911122c68..2d75241d79a 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_service.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeServices implements ServiceInterface @@ -63,14 +63,14 @@ func (c *FakeServices) UpdateStatus(service *v1.Service) (*v1.Service, error) { return obj.(*v1.Service), err } -func (c *FakeServices) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeServices) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(servicesResource, c.ns, name), &v1.Service{}) return err } -func (c *FakeServices) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(servicesResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.ServiceList{}) @@ -87,7 +87,7 @@ func (c *FakeServices) Get(name string) (result *v1.Service, err error) { return obj.(*v1.Service), err } -func (c *FakeServices) List(opts api.ListOptions) (result *v1.ServiceList, err error) { +func (c *FakeServices) List(opts v1.ListOptions) (result *v1.ServiceList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(servicesResource, c.ns, opts), &v1.ServiceList{}) @@ -95,7 +95,7 @@ func (c *FakeServices) List(opts api.ListOptions) (result *v1.ServiceList, err e return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +109,7 @@ func (c *FakeServices) List(opts api.ListOptions) (result *v1.ServiceList, err e } // Watch returns a watch.Interface that watches the requested services. -func (c *FakeServices) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeServices) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(servicesResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_service_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service_expansion.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_service_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service_expansion.go index 18a1b0e8d1d..f3128b8f8f8 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_service_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_service_expansion.go @@ -17,8 +17,8 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/rest" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/rest" + "k8s.io/client-go/testing" ) func (c *FakeServices) ProxyGet(scheme, name, port, path string, params map[string]string) rest.ResponseWrapper { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_serviceaccount.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_serviceaccount.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_serviceaccount.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_serviceaccount.go index adedcfe3fc7..8fd0617c455 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/fake/fake_serviceaccount.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/fake/fake_serviceaccount.go @@ -17,12 +17,12 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeServiceAccounts implements ServiceAccountInterface @@ -53,14 +53,14 @@ func (c *FakeServiceAccounts) Update(serviceAccount *v1.ServiceAccount) (result return obj.(*v1.ServiceAccount), err } -func (c *FakeServiceAccounts) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeServiceAccounts) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(serviceaccountsResource, c.ns, name), &v1.ServiceAccount{}) return err } -func (c *FakeServiceAccounts) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeServiceAccounts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(serviceaccountsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1.ServiceAccountList{}) @@ -77,7 +77,7 @@ func (c *FakeServiceAccounts) Get(name string) (result *v1.ServiceAccount, err e return obj.(*v1.ServiceAccount), err } -func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *v1.ServiceAccountList, err error) { +func (c *FakeServiceAccounts) List(opts v1.ListOptions) (result *v1.ServiceAccountList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(serviceaccountsResource, c.ns, opts), &v1.ServiceAccountList{}) @@ -85,7 +85,7 @@ func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *v1.ServiceAcco return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +99,7 @@ func (c *FakeServiceAccounts) List(opts api.ListOptions) (result *v1.ServiceAcco } // Watch returns a watch.Interface that watches the requested serviceAccounts. -func (c *FakeServiceAccounts) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeServiceAccounts) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(serviceaccountsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/limitrange.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/limitrange.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/limitrange.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/limitrange.go index 784656901ad..d3390238cd3 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/limitrange.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/limitrange.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // LimitRangesGetter has a method to return a LimitRangeInterface. @@ -32,11 +32,11 @@ type LimitRangesGetter interface { type LimitRangeInterface interface { Create(*v1.LimitRange) (*v1.LimitRange, error) Update(*v1.LimitRange) (*v1.LimitRange, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.LimitRange, error) - List(opts api.ListOptions) (*v1.LimitRangeList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.LimitRangeList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.LimitRange, err error) LimitRangeExpansion } @@ -81,7 +81,7 @@ func (c *limitRanges) Update(limitRange *v1.LimitRange) (result *v1.LimitRange, } // Delete takes name of the limitRange and deletes it. Returns an error if one occurs. -func (c *limitRanges) Delete(name string, options *api.DeleteOptions) error { +func (c *limitRanges) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("limitranges"). @@ -92,7 +92,7 @@ func (c *limitRanges) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *limitRanges) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *limitRanges) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("limitranges"). @@ -115,7 +115,7 @@ func (c *limitRanges) Get(name string) (result *v1.LimitRange, err error) { } // List takes label and field selectors, and returns the list of LimitRanges that match those selectors. -func (c *limitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, err error) { +func (c *limitRanges) List(opts v1.ListOptions) (result *v1.LimitRangeList, err error) { result = &v1.LimitRangeList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *limitRanges) List(opts api.ListOptions) (result *v1.LimitRangeList, err } // Watch returns a watch.Interface that watches the requested limitRanges. -func (c *limitRanges) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *limitRanges) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/namespace.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/namespace.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go index 7aed5bfd394..49390b29b36 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/namespace.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // NamespacesGetter has a method to return a NamespaceInterface. @@ -33,11 +33,11 @@ type NamespaceInterface interface { Create(*v1.Namespace) (*v1.Namespace, error) Update(*v1.Namespace) (*v1.Namespace, error) UpdateStatus(*v1.Namespace) (*v1.Namespace, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Namespace, error) - List(opts api.ListOptions) (*v1.NamespaceList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.NamespaceList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Namespace, err error) NamespaceExpansion } @@ -90,7 +90,7 @@ func (c *namespaces) UpdateStatus(namespace *v1.Namespace) (result *v1.Namespace } // Delete takes name of the namespace and deletes it. Returns an error if one occurs. -func (c *namespaces) Delete(name string, options *api.DeleteOptions) error { +func (c *namespaces) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("namespaces"). Name(name). @@ -100,7 +100,7 @@ func (c *namespaces) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *namespaces) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *namespaces) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("namespaces"). VersionedParams(&listOptions, api.ParameterCodec). @@ -121,7 +121,7 @@ func (c *namespaces) Get(name string) (result *v1.Namespace, err error) { } // List takes label and field selectors, and returns the list of Namespaces that match those selectors. -func (c *namespaces) List(opts api.ListOptions) (result *v1.NamespaceList, err error) { +func (c *namespaces) List(opts v1.ListOptions) (result *v1.NamespaceList, err error) { result = &v1.NamespaceList{} err = c.client.Get(). Resource("namespaces"). @@ -132,7 +132,7 @@ func (c *namespaces) List(opts api.ListOptions) (result *v1.NamespaceList, err e } // Watch returns a watch.Interface that watches the requested namespaces. -func (c *namespaces) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *namespaces) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("namespaces"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/namespace_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace_expansion.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/namespace_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace_expansion.go index 5ab37194a67..20343000073 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/namespace_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/namespace_expansion.go @@ -16,7 +16,7 @@ limitations under the License. package v1 -import "k8s.io/client-go/1.5/pkg/api/v1" +import "k8s.io/client-go/pkg/api/v1" // The NamespaceExpansion interface allows manually adding extra methods to the NamespaceInterface. type NamespaceExpansion interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/node.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/node.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/node.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/node.go index 26cf2e30d1b..fdfaaeb1d3c 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/node.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/node.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // NodesGetter has a method to return a NodeInterface. @@ -33,11 +33,11 @@ type NodeInterface interface { Create(*v1.Node) (*v1.Node, error) Update(*v1.Node) (*v1.Node, error) UpdateStatus(*v1.Node) (*v1.Node, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Node, error) - List(opts api.ListOptions) (*v1.NodeList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.NodeList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Node, err error) NodeExpansion } @@ -90,7 +90,7 @@ func (c *nodes) UpdateStatus(node *v1.Node) (result *v1.Node, err error) { } // Delete takes name of the node and deletes it. Returns an error if one occurs. -func (c *nodes) Delete(name string, options *api.DeleteOptions) error { +func (c *nodes) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("nodes"). Name(name). @@ -100,7 +100,7 @@ func (c *nodes) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *nodes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *nodes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("nodes"). VersionedParams(&listOptions, api.ParameterCodec). @@ -121,7 +121,7 @@ func (c *nodes) Get(name string) (result *v1.Node, err error) { } // List takes label and field selectors, and returns the list of Nodes that match those selectors. -func (c *nodes) List(opts api.ListOptions) (result *v1.NodeList, err error) { +func (c *nodes) List(opts v1.ListOptions) (result *v1.NodeList, err error) { result = &v1.NodeList{} err = c.client.Get(). Resource("nodes"). @@ -132,7 +132,7 @@ func (c *nodes) List(opts api.ListOptions) (result *v1.NodeList, err error) { } // Watch returns a watch.Interface that watches the requested nodes. -func (c *nodes) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *nodes) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("nodes"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/persistentvolume.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolume.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/persistentvolume.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolume.go index 31cd3b6da4f..f17282b4745 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/persistentvolume.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolume.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // PersistentVolumesGetter has a method to return a PersistentVolumeInterface. @@ -33,11 +33,11 @@ type PersistentVolumeInterface interface { Create(*v1.PersistentVolume) (*v1.PersistentVolume, error) Update(*v1.PersistentVolume) (*v1.PersistentVolume, error) UpdateStatus(*v1.PersistentVolume) (*v1.PersistentVolume, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.PersistentVolume, error) - List(opts api.ListOptions) (*v1.PersistentVolumeList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.PersistentVolumeList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolume, err error) PersistentVolumeExpansion } @@ -90,7 +90,7 @@ func (c *persistentVolumes) UpdateStatus(persistentVolume *v1.PersistentVolume) } // Delete takes name of the persistentVolume and deletes it. Returns an error if one occurs. -func (c *persistentVolumes) Delete(name string, options *api.DeleteOptions) error { +func (c *persistentVolumes) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("persistentvolumes"). Name(name). @@ -100,7 +100,7 @@ func (c *persistentVolumes) Delete(name string, options *api.DeleteOptions) erro } // DeleteCollection deletes a collection of objects. -func (c *persistentVolumes) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *persistentVolumes) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("persistentvolumes"). VersionedParams(&listOptions, api.ParameterCodec). @@ -121,7 +121,7 @@ func (c *persistentVolumes) Get(name string) (result *v1.PersistentVolume, err e } // List takes label and field selectors, and returns the list of PersistentVolumes that match those selectors. -func (c *persistentVolumes) List(opts api.ListOptions) (result *v1.PersistentVolumeList, err error) { +func (c *persistentVolumes) List(opts v1.ListOptions) (result *v1.PersistentVolumeList, err error) { result = &v1.PersistentVolumeList{} err = c.client.Get(). Resource("persistentvolumes"). @@ -132,7 +132,7 @@ func (c *persistentVolumes) List(opts api.ListOptions) (result *v1.PersistentVol } // Watch returns a watch.Interface that watches the requested persistentVolumes. -func (c *persistentVolumes) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *persistentVolumes) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("persistentvolumes"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/persistentvolumeclaim.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolumeclaim.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/persistentvolumeclaim.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolumeclaim.go index aa2a996c9bf..f9a513a94a8 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/persistentvolumeclaim.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/persistentvolumeclaim.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // PersistentVolumeClaimsGetter has a method to return a PersistentVolumeClaimInterface. @@ -33,11 +33,11 @@ type PersistentVolumeClaimInterface interface { Create(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) Update(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) UpdateStatus(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.PersistentVolumeClaim, error) - List(opts api.ListOptions) (*v1.PersistentVolumeClaimList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.PersistentVolumeClaimList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PersistentVolumeClaim, err error) PersistentVolumeClaimExpansion } @@ -95,7 +95,7 @@ func (c *persistentVolumeClaims) UpdateStatus(persistentVolumeClaim *v1.Persiste } // Delete takes name of the persistentVolumeClaim and deletes it. Returns an error if one occurs. -func (c *persistentVolumeClaims) Delete(name string, options *api.DeleteOptions) error { +func (c *persistentVolumeClaims) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("persistentvolumeclaims"). @@ -106,7 +106,7 @@ func (c *persistentVolumeClaims) Delete(name string, options *api.DeleteOptions) } // DeleteCollection deletes a collection of objects. -func (c *persistentVolumeClaims) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *persistentVolumeClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("persistentvolumeclaims"). @@ -129,7 +129,7 @@ func (c *persistentVolumeClaims) Get(name string) (result *v1.PersistentVolumeCl } // List takes label and field selectors, and returns the list of PersistentVolumeClaims that match those selectors. -func (c *persistentVolumeClaims) List(opts api.ListOptions) (result *v1.PersistentVolumeClaimList, err error) { +func (c *persistentVolumeClaims) List(opts v1.ListOptions) (result *v1.PersistentVolumeClaimList, err error) { result = &v1.PersistentVolumeClaimList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +141,7 @@ func (c *persistentVolumeClaims) List(opts api.ListOptions) (result *v1.Persiste } // Watch returns a watch.Interface that watches the requested persistentVolumeClaims. -func (c *persistentVolumeClaims) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *persistentVolumeClaims) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/pod.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/pod.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/pod.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/pod.go index ad6e0eb20cd..7e640ad21df 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/pod.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/pod.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // PodsGetter has a method to return a PodInterface. @@ -33,11 +33,11 @@ type PodInterface interface { Create(*v1.Pod) (*v1.Pod, error) Update(*v1.Pod) (*v1.Pod, error) UpdateStatus(*v1.Pod) (*v1.Pod, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Pod, error) - List(opts api.ListOptions) (*v1.PodList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.PodList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Pod, err error) PodExpansion } @@ -95,7 +95,7 @@ func (c *pods) UpdateStatus(pod *v1.Pod) (result *v1.Pod, err error) { } // Delete takes name of the pod and deletes it. Returns an error if one occurs. -func (c *pods) Delete(name string, options *api.DeleteOptions) error { +func (c *pods) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("pods"). @@ -106,7 +106,7 @@ func (c *pods) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *pods) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *pods) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("pods"). @@ -129,7 +129,7 @@ func (c *pods) Get(name string) (result *v1.Pod, err error) { } // List takes label and field selectors, and returns the list of Pods that match those selectors. -func (c *pods) List(opts api.ListOptions) (result *v1.PodList, err error) { +func (c *pods) List(opts v1.ListOptions) (result *v1.PodList, err error) { result = &v1.PodList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +141,7 @@ func (c *pods) List(opts api.ListOptions) (result *v1.PodList, err error) { } // Watch returns a watch.Interface that watches the requested pods. -func (c *pods) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *pods) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/pod_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/pod_expansion.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/pod_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/pod_expansion.go index a2a85a3f851..88fa27775c3 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/pod_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/pod_expansion.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/v1" - policy "k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/v1" + policy "k8s.io/client-go/pkg/apis/policy/v1alpha1" + "k8s.io/client-go/rest" ) // The PodExpansion interface allows manually adding extra methods to the PodInterface. diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/podtemplate.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/podtemplate.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/podtemplate.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/podtemplate.go index 98788ea6de2..6369d49ff4c 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/podtemplate.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/podtemplate.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // PodTemplatesGetter has a method to return a PodTemplateInterface. @@ -32,11 +32,11 @@ type PodTemplatesGetter interface { type PodTemplateInterface interface { Create(*v1.PodTemplate) (*v1.PodTemplate, error) Update(*v1.PodTemplate) (*v1.PodTemplate, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.PodTemplate, error) - List(opts api.ListOptions) (*v1.PodTemplateList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.PodTemplateList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.PodTemplate, err error) PodTemplateExpansion } @@ -81,7 +81,7 @@ func (c *podTemplates) Update(podTemplate *v1.PodTemplate) (result *v1.PodTempla } // Delete takes name of the podTemplate and deletes it. Returns an error if one occurs. -func (c *podTemplates) Delete(name string, options *api.DeleteOptions) error { +func (c *podTemplates) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("podtemplates"). @@ -92,7 +92,7 @@ func (c *podTemplates) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *podTemplates) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *podTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("podtemplates"). @@ -115,7 +115,7 @@ func (c *podTemplates) Get(name string) (result *v1.PodTemplate, err error) { } // List takes label and field selectors, and returns the list of PodTemplates that match those selectors. -func (c *podTemplates) List(opts api.ListOptions) (result *v1.PodTemplateList, err error) { +func (c *podTemplates) List(opts v1.ListOptions) (result *v1.PodTemplateList, err error) { result = &v1.PodTemplateList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *podTemplates) List(opts api.ListOptions) (result *v1.PodTemplateList, e } // Watch returns a watch.Interface that watches the requested podTemplates. -func (c *podTemplates) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *podTemplates) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/replicationcontroller.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/replicationcontroller.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/replicationcontroller.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/replicationcontroller.go index eb4f789ec88..e08e7139e9d 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/replicationcontroller.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/replicationcontroller.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // ReplicationControllersGetter has a method to return a ReplicationControllerInterface. @@ -33,11 +33,11 @@ type ReplicationControllerInterface interface { Create(*v1.ReplicationController) (*v1.ReplicationController, error) Update(*v1.ReplicationController) (*v1.ReplicationController, error) UpdateStatus(*v1.ReplicationController) (*v1.ReplicationController, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.ReplicationController, error) - List(opts api.ListOptions) (*v1.ReplicationControllerList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.ReplicationControllerList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ReplicationController, err error) ReplicationControllerExpansion } @@ -95,7 +95,7 @@ func (c *replicationControllers) UpdateStatus(replicationController *v1.Replicat } // Delete takes name of the replicationController and deletes it. Returns an error if one occurs. -func (c *replicationControllers) Delete(name string, options *api.DeleteOptions) error { +func (c *replicationControllers) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("replicationcontrollers"). @@ -106,7 +106,7 @@ func (c *replicationControllers) Delete(name string, options *api.DeleteOptions) } // DeleteCollection deletes a collection of objects. -func (c *replicationControllers) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *replicationControllers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("replicationcontrollers"). @@ -129,7 +129,7 @@ func (c *replicationControllers) Get(name string) (result *v1.ReplicationControl } // List takes label and field selectors, and returns the list of ReplicationControllers that match those selectors. -func (c *replicationControllers) List(opts api.ListOptions) (result *v1.ReplicationControllerList, err error) { +func (c *replicationControllers) List(opts v1.ListOptions) (result *v1.ReplicationControllerList, err error) { result = &v1.ReplicationControllerList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +141,7 @@ func (c *replicationControllers) List(opts api.ListOptions) (result *v1.Replicat } // Watch returns a watch.Interface that watches the requested replicationControllers. -func (c *replicationControllers) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *replicationControllers) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/resourcequota.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/resourcequota.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/resourcequota.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/resourcequota.go index 0b58bcf20db..542e55f1f52 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/resourcequota.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/resourcequota.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // ResourceQuotasGetter has a method to return a ResourceQuotaInterface. @@ -33,11 +33,11 @@ type ResourceQuotaInterface interface { Create(*v1.ResourceQuota) (*v1.ResourceQuota, error) Update(*v1.ResourceQuota) (*v1.ResourceQuota, error) UpdateStatus(*v1.ResourceQuota) (*v1.ResourceQuota, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.ResourceQuota, error) - List(opts api.ListOptions) (*v1.ResourceQuotaList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.ResourceQuotaList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ResourceQuota, err error) ResourceQuotaExpansion } @@ -95,7 +95,7 @@ func (c *resourceQuotas) UpdateStatus(resourceQuota *v1.ResourceQuota) (result * } // Delete takes name of the resourceQuota and deletes it. Returns an error if one occurs. -func (c *resourceQuotas) Delete(name string, options *api.DeleteOptions) error { +func (c *resourceQuotas) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("resourcequotas"). @@ -106,7 +106,7 @@ func (c *resourceQuotas) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *resourceQuotas) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *resourceQuotas) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("resourcequotas"). @@ -129,7 +129,7 @@ func (c *resourceQuotas) Get(name string) (result *v1.ResourceQuota, err error) } // List takes label and field selectors, and returns the list of ResourceQuotas that match those selectors. -func (c *resourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuotaList, err error) { +func (c *resourceQuotas) List(opts v1.ListOptions) (result *v1.ResourceQuotaList, err error) { result = &v1.ResourceQuotaList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +141,7 @@ func (c *resourceQuotas) List(opts api.ListOptions) (result *v1.ResourceQuotaLis } // Watch returns a watch.Interface that watches the requested resourceQuotas. -func (c *resourceQuotas) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *resourceQuotas) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/secret.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/secret.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/secret.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/secret.go index 611b59c018c..36dbe47c75a 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/secret.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/secret.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // SecretsGetter has a method to return a SecretInterface. @@ -32,11 +32,11 @@ type SecretsGetter interface { type SecretInterface interface { Create(*v1.Secret) (*v1.Secret, error) Update(*v1.Secret) (*v1.Secret, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Secret, error) - List(opts api.ListOptions) (*v1.SecretList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.SecretList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Secret, err error) SecretExpansion } @@ -81,7 +81,7 @@ func (c *secrets) Update(secret *v1.Secret) (result *v1.Secret, err error) { } // Delete takes name of the secret and deletes it. Returns an error if one occurs. -func (c *secrets) Delete(name string, options *api.DeleteOptions) error { +func (c *secrets) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("secrets"). @@ -92,7 +92,7 @@ func (c *secrets) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *secrets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *secrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("secrets"). @@ -115,7 +115,7 @@ func (c *secrets) Get(name string) (result *v1.Secret, err error) { } // List takes label and field selectors, and returns the list of Secrets that match those selectors. -func (c *secrets) List(opts api.ListOptions) (result *v1.SecretList, err error) { +func (c *secrets) List(opts v1.ListOptions) (result *v1.SecretList, err error) { result = &v1.SecretList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *secrets) List(opts api.ListOptions) (result *v1.SecretList, err error) } // Watch returns a watch.Interface that watches the requested secrets. -func (c *secrets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *secrets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/service.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/service.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service.go index d40efde6ed0..a8707629ba2 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/service.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // ServicesGetter has a method to return a ServiceInterface. @@ -33,11 +33,11 @@ type ServiceInterface interface { Create(*v1.Service) (*v1.Service, error) Update(*v1.Service) (*v1.Service, error) UpdateStatus(*v1.Service) (*v1.Service, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.Service, error) - List(opts api.ListOptions) (*v1.ServiceList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.ServiceList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Service, err error) ServiceExpansion } @@ -95,7 +95,7 @@ func (c *services) UpdateStatus(service *v1.Service) (result *v1.Service, err er } // Delete takes name of the service and deletes it. Returns an error if one occurs. -func (c *services) Delete(name string, options *api.DeleteOptions) error { +func (c *services) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("services"). @@ -106,7 +106,7 @@ func (c *services) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *services) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *services) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("services"). @@ -129,7 +129,7 @@ func (c *services) Get(name string) (result *v1.Service, err error) { } // List takes label and field selectors, and returns the list of Services that match those selectors. -func (c *services) List(opts api.ListOptions) (result *v1.ServiceList, err error) { +func (c *services) List(opts v1.ListOptions) (result *v1.ServiceList, err error) { result = &v1.ServiceList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +141,7 @@ func (c *services) List(opts api.ListOptions) (result *v1.ServiceList, err error } // Watch returns a watch.Interface that watches the requested services. -func (c *services) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *services) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/service_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service_expansion.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/service_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service_expansion.go index 89d69f860b3..687589c26b6 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/service_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/service_expansion.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/util/net" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/util/net" + "k8s.io/client-go/rest" ) // The ServiceExpansion interface allows manually adding extra methods to the ServiceInterface. diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/serviceaccount.go b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/serviceaccount.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/serviceaccount.go rename to staging/src/k8s.io/client-go/kubernetes/typed/core/v1/serviceaccount.go index ce8cc882e50..e3a5b5378ca 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/core/v1/serviceaccount.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/core/v1/serviceaccount.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + watch "k8s.io/client-go/pkg/watch" ) // ServiceAccountsGetter has a method to return a ServiceAccountInterface. @@ -32,11 +32,11 @@ type ServiceAccountsGetter interface { type ServiceAccountInterface interface { Create(*v1.ServiceAccount) (*v1.ServiceAccount, error) Update(*v1.ServiceAccount) (*v1.ServiceAccount, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1.ServiceAccount, error) - List(opts api.ListOptions) (*v1.ServiceAccountList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1.ServiceAccountList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.ServiceAccount, err error) ServiceAccountExpansion } @@ -81,7 +81,7 @@ func (c *serviceAccounts) Update(serviceAccount *v1.ServiceAccount) (result *v1. } // Delete takes name of the serviceAccount and deletes it. Returns an error if one occurs. -func (c *serviceAccounts) Delete(name string, options *api.DeleteOptions) error { +func (c *serviceAccounts) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("serviceaccounts"). @@ -92,7 +92,7 @@ func (c *serviceAccounts) Delete(name string, options *api.DeleteOptions) error } // DeleteCollection deletes a collection of objects. -func (c *serviceAccounts) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *serviceAccounts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("serviceaccounts"). @@ -115,7 +115,7 @@ func (c *serviceAccounts) Get(name string) (result *v1.ServiceAccount, err error } // List takes label and field selectors, and returns the list of ServiceAccounts that match those selectors. -func (c *serviceAccounts) List(opts api.ListOptions) (result *v1.ServiceAccountList, err error) { +func (c *serviceAccounts) List(opts v1.ListOptions) (result *v1.ServiceAccountList, err error) { result = &v1.ServiceAccountList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +127,7 @@ func (c *serviceAccounts) List(opts api.ListOptions) (result *v1.ServiceAccountL } // Watch returns a watch.Interface that watches the requested serviceAccounts. -func (c *serviceAccounts) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *serviceAccounts) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/daemonset.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/daemonset.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/daemonset.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/daemonset.go index 2ae93b15100..e003059bc0f 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/daemonset.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/daemonset.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // DaemonSetsGetter has a method to return a DaemonSetInterface. @@ -33,11 +34,11 @@ type DaemonSetInterface interface { Create(*v1beta1.DaemonSet) (*v1beta1.DaemonSet, error) Update(*v1beta1.DaemonSet) (*v1beta1.DaemonSet, error) UpdateStatus(*v1beta1.DaemonSet) (*v1beta1.DaemonSet, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.DaemonSet, error) - List(opts api.ListOptions) (*v1beta1.DaemonSetList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.DaemonSetList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.DaemonSet, err error) DaemonSetExpansion } @@ -95,7 +96,7 @@ func (c *daemonSets) UpdateStatus(daemonSet *v1beta1.DaemonSet) (result *v1beta1 } // Delete takes name of the daemonSet and deletes it. Returns an error if one occurs. -func (c *daemonSets) Delete(name string, options *api.DeleteOptions) error { +func (c *daemonSets) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("daemonsets"). @@ -106,7 +107,7 @@ func (c *daemonSets) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *daemonSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *daemonSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("daemonsets"). @@ -129,7 +130,7 @@ func (c *daemonSets) Get(name string) (result *v1beta1.DaemonSet, err error) { } // List takes label and field selectors, and returns the list of DaemonSets that match those selectors. -func (c *daemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetList, err error) { +func (c *daemonSets) List(opts v1.ListOptions) (result *v1beta1.DaemonSetList, err error) { result = &v1beta1.DaemonSetList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *daemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetList, } // Watch returns a watch.Interface that watches the requested daemonSets. -func (c *daemonSets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *daemonSets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/deployment.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/deployment.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment.go index 5406171302f..3fb3d038cc9 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/deployment.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // DeploymentsGetter has a method to return a DeploymentInterface. @@ -33,11 +34,11 @@ type DeploymentInterface interface { Create(*v1beta1.Deployment) (*v1beta1.Deployment, error) Update(*v1beta1.Deployment) (*v1beta1.Deployment, error) UpdateStatus(*v1beta1.Deployment) (*v1beta1.Deployment, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.Deployment, error) - List(opts api.ListOptions) (*v1beta1.DeploymentList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.DeploymentList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Deployment, err error) DeploymentExpansion } @@ -95,7 +96,7 @@ func (c *deployments) UpdateStatus(deployment *v1beta1.Deployment) (result *v1be } // Delete takes name of the deployment and deletes it. Returns an error if one occurs. -func (c *deployments) Delete(name string, options *api.DeleteOptions) error { +func (c *deployments) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("deployments"). @@ -106,7 +107,7 @@ func (c *deployments) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *deployments) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *deployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("deployments"). @@ -129,7 +130,7 @@ func (c *deployments) Get(name string) (result *v1beta1.Deployment, err error) { } // List takes label and field selectors, and returns the list of Deployments that match those selectors. -func (c *deployments) List(opts api.ListOptions) (result *v1beta1.DeploymentList, err error) { +func (c *deployments) List(opts v1.ListOptions) (result *v1beta1.DeploymentList, err error) { result = &v1beta1.DeploymentList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *deployments) List(opts api.ListOptions) (result *v1beta1.DeploymentList } // Watch returns a watch.Interface that watches the requested deployments. -func (c *deployments) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *deployments) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/deployment_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment_expansion.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/deployment_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment_expansion.go index 293ed8c44fa..e737f09ae1c 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/deployment_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/deployment_expansion.go @@ -16,7 +16,7 @@ limitations under the License. package v1beta1 -import "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" +import "k8s.io/client-go/pkg/apis/extensions/v1beta1" // The DeploymentExpansion interface allows manually adding extra methods to the DeploymentInterface. type DeploymentExpansion interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/extensions_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/extensions_client.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/extensions_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/extensions_client.go index 054bb461d5a..72b448ec78b 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/extensions_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/extensions_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type ExtensionsInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go index 31b68a83ad3..279ef6cf33a 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_daemonset.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeDaemonSets implements DaemonSetInterface @@ -63,14 +64,14 @@ func (c *FakeDaemonSets) UpdateStatus(daemonSet *v1beta1.DaemonSet) (*v1beta1.Da return obj.(*v1beta1.DaemonSet), err } -func (c *FakeDaemonSets) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeDaemonSets) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(daemonsetsResource, c.ns, name), &v1beta1.DaemonSet{}) return err } -func (c *FakeDaemonSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeDaemonSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(daemonsetsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.DaemonSetList{}) @@ -87,7 +88,7 @@ func (c *FakeDaemonSets) Get(name string) (result *v1beta1.DaemonSet, err error) return obj.(*v1beta1.DaemonSet), err } -func (c *FakeDaemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetList, err error) { +func (c *FakeDaemonSets) List(opts v1.ListOptions) (result *v1beta1.DaemonSetList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(daemonsetsResource, c.ns, opts), &v1beta1.DaemonSetList{}) @@ -95,7 +96,7 @@ func (c *FakeDaemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetLi return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeDaemonSets) List(opts api.ListOptions) (result *v1beta1.DaemonSetLi } // Watch returns a watch.Interface that watches the requested daemonSets. -func (c *FakeDaemonSets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeDaemonSets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(daemonsetsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go index 2e51cc16eaf..9c1e06e3837 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeDeployments implements DeploymentInterface @@ -63,14 +64,14 @@ func (c *FakeDeployments) UpdateStatus(deployment *v1beta1.Deployment) (*v1beta1 return obj.(*v1beta1.Deployment), err } -func (c *FakeDeployments) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeDeployments) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(deploymentsResource, c.ns, name), &v1beta1.Deployment{}) return err } -func (c *FakeDeployments) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(deploymentsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.DeploymentList{}) @@ -87,7 +88,7 @@ func (c *FakeDeployments) Get(name string) (result *v1beta1.Deployment, err erro return obj.(*v1beta1.Deployment), err } -func (c *FakeDeployments) List(opts api.ListOptions) (result *v1beta1.DeploymentList, err error) { +func (c *FakeDeployments) List(opts v1.ListOptions) (result *v1beta1.DeploymentList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(deploymentsResource, c.ns, opts), &v1beta1.DeploymentList{}) @@ -95,7 +96,7 @@ func (c *FakeDeployments) List(opts api.ListOptions) (result *v1beta1.Deployment return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeDeployments) List(opts api.ListOptions) (result *v1beta1.Deployment } // Watch returns a watch.Interface that watches the requested deployments. -func (c *FakeDeployments) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeDeployments) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(deploymentsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go index 19638e2d24e..cb4ff17481b 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_deployment_expansion.go @@ -17,8 +17,8 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/pkg/apis/extensions/v1beta1" + "k8s.io/client-go/testing" ) func (c *FakeDeployments) Rollback(deploymentRollback *v1beta1.DeploymentRollback) error { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go index 1c04745a0cd..aa5d10975a1 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_extensions_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1beta1 "k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1beta1 "k8s.io/client-go/kubernetes/typed/extensions/v1beta1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeExtensions struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go index 2c5bcaa2fd2..8ac7061158f 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_ingress.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeIngresses implements IngressInterface @@ -63,14 +64,14 @@ func (c *FakeIngresses) UpdateStatus(ingress *v1beta1.Ingress) (*v1beta1.Ingress return obj.(*v1beta1.Ingress), err } -func (c *FakeIngresses) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeIngresses) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(ingressesResource, c.ns, name), &v1beta1.Ingress{}) return err } -func (c *FakeIngresses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeIngresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(ingressesResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.IngressList{}) @@ -87,7 +88,7 @@ func (c *FakeIngresses) Get(name string) (result *v1beta1.Ingress, err error) { return obj.(*v1beta1.Ingress), err } -func (c *FakeIngresses) List(opts api.ListOptions) (result *v1beta1.IngressList, err error) { +func (c *FakeIngresses) List(opts v1.ListOptions) (result *v1beta1.IngressList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(ingressesResource, c.ns, opts), &v1beta1.IngressList{}) @@ -95,7 +96,7 @@ func (c *FakeIngresses) List(opts api.ListOptions) (result *v1beta1.IngressList, return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeIngresses) List(opts api.ListOptions) (result *v1beta1.IngressList, } // Watch returns a watch.Interface that watches the requested ingresses. -func (c *FakeIngresses) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeIngresses) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(ingressesResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_job.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_job.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_job.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_job.go index 7e85cfa6b14..2845bb99395 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_job.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_job.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeJobs implements JobInterface @@ -63,14 +64,14 @@ func (c *FakeJobs) UpdateStatus(job *v1beta1.Job) (*v1beta1.Job, error) { return obj.(*v1beta1.Job), err } -func (c *FakeJobs) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeJobs) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(jobsResource, c.ns, name), &v1beta1.Job{}) return err } -func (c *FakeJobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(jobsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.JobList{}) @@ -87,7 +88,7 @@ func (c *FakeJobs) Get(name string) (result *v1beta1.Job, err error) { return obj.(*v1beta1.Job), err } -func (c *FakeJobs) List(opts api.ListOptions) (result *v1beta1.JobList, err error) { +func (c *FakeJobs) List(opts v1.ListOptions) (result *v1beta1.JobList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(jobsResource, c.ns, opts), &v1beta1.JobList{}) @@ -95,7 +96,7 @@ func (c *FakeJobs) List(opts api.ListOptions) (result *v1beta1.JobList, err erro return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeJobs) List(opts api.ListOptions) (result *v1beta1.JobList, err erro } // Watch returns a watch.Interface that watches the requested jobs. -func (c *FakeJobs) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeJobs) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(jobsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go index e832be20c9d..e71b293d295 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_podsecuritypolicy.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakePodSecurityPolicies implements PodSecurityPolicyInterface @@ -50,13 +51,13 @@ func (c *FakePodSecurityPolicies) Update(podSecurityPolicy *v1beta1.PodSecurityP return obj.(*v1beta1.PodSecurityPolicy), err } -func (c *FakePodSecurityPolicies) Delete(name string, options *api.DeleteOptions) error { +func (c *FakePodSecurityPolicies) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(podsecuritypoliciesResource, name), &v1beta1.PodSecurityPolicy{}) return err } -func (c *FakePodSecurityPolicies) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakePodSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(podsecuritypoliciesResource, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.PodSecurityPolicyList{}) @@ -72,14 +73,14 @@ func (c *FakePodSecurityPolicies) Get(name string) (result *v1beta1.PodSecurityP return obj.(*v1beta1.PodSecurityPolicy), err } -func (c *FakePodSecurityPolicies) List(opts api.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error) { +func (c *FakePodSecurityPolicies) List(opts v1.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(podsecuritypoliciesResource, opts), &v1beta1.PodSecurityPolicyList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -93,7 +94,7 @@ func (c *FakePodSecurityPolicies) List(opts api.ListOptions) (result *v1beta1.Po } // Watch returns a watch.Interface that watches the requested podSecurityPolicies. -func (c *FakePodSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePodSecurityPolicies) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(podsecuritypoliciesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go index 61ca696d1e7..b12c6b7c102 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_replicaset.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeReplicaSets implements ReplicaSetInterface @@ -63,14 +64,14 @@ func (c *FakeReplicaSets) UpdateStatus(replicaSet *v1beta1.ReplicaSet) (*v1beta1 return obj.(*v1beta1.ReplicaSet), err } -func (c *FakeReplicaSets) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeReplicaSets) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(replicasetsResource, c.ns, name), &v1beta1.ReplicaSet{}) return err } -func (c *FakeReplicaSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeReplicaSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(replicasetsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.ReplicaSetList{}) @@ -87,7 +88,7 @@ func (c *FakeReplicaSets) Get(name string) (result *v1beta1.ReplicaSet, err erro return obj.(*v1beta1.ReplicaSet), err } -func (c *FakeReplicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSetList, err error) { +func (c *FakeReplicaSets) List(opts v1.ListOptions) (result *v1beta1.ReplicaSetList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(replicasetsResource, c.ns, opts), &v1beta1.ReplicaSetList{}) @@ -95,7 +96,7 @@ func (c *FakeReplicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSet return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakeReplicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSet } // Watch returns a watch.Interface that watches the requested replicaSets. -func (c *FakeReplicaSets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeReplicaSets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(replicasetsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_scale.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go index 7a9312ada98..88f71d8c7d6 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_scale_expansion.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - "k8s.io/client-go/1.5/testing" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apis/extensions/v1beta1" + "k8s.io/client-go/testing" ) func (c *FakeScales) Get(kind string, name string) (result *v1beta1.Scale, err error) { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go index 2f482c7d6a5..56a244955e6 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/fake/fake_thirdpartyresource.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeThirdPartyResources implements ThirdPartyResourceInterface @@ -50,13 +51,13 @@ func (c *FakeThirdPartyResources) Update(thirdPartyResource *v1beta1.ThirdPartyR return obj.(*v1beta1.ThirdPartyResource), err } -func (c *FakeThirdPartyResources) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeThirdPartyResources) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(thirdpartyresourcesResource, name), &v1beta1.ThirdPartyResource{}) return err } -func (c *FakeThirdPartyResources) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeThirdPartyResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(thirdpartyresourcesResource, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.ThirdPartyResourceList{}) @@ -72,14 +73,14 @@ func (c *FakeThirdPartyResources) Get(name string) (result *v1beta1.ThirdPartyRe return obj.(*v1beta1.ThirdPartyResource), err } -func (c *FakeThirdPartyResources) List(opts api.ListOptions) (result *v1beta1.ThirdPartyResourceList, err error) { +func (c *FakeThirdPartyResources) List(opts v1.ListOptions) (result *v1beta1.ThirdPartyResourceList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(thirdpartyresourcesResource, opts), &v1beta1.ThirdPartyResourceList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -93,7 +94,7 @@ func (c *FakeThirdPartyResources) List(opts api.ListOptions) (result *v1beta1.Th } // Watch returns a watch.Interface that watches the requested thirdPartyResources. -func (c *FakeThirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeThirdPartyResources) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(thirdpartyresourcesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/ingress.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/ingress.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/ingress.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/ingress.go index 29b93cef56f..6f70218ba1e 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/ingress.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/ingress.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // IngressesGetter has a method to return a IngressInterface. @@ -33,11 +34,11 @@ type IngressInterface interface { Create(*v1beta1.Ingress) (*v1beta1.Ingress, error) Update(*v1beta1.Ingress) (*v1beta1.Ingress, error) UpdateStatus(*v1beta1.Ingress) (*v1beta1.Ingress, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.Ingress, error) - List(opts api.ListOptions) (*v1beta1.IngressList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.IngressList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Ingress, err error) IngressExpansion } @@ -95,7 +96,7 @@ func (c *ingresses) UpdateStatus(ingress *v1beta1.Ingress) (result *v1beta1.Ingr } // Delete takes name of the ingress and deletes it. Returns an error if one occurs. -func (c *ingresses) Delete(name string, options *api.DeleteOptions) error { +func (c *ingresses) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("ingresses"). @@ -106,7 +107,7 @@ func (c *ingresses) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *ingresses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *ingresses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("ingresses"). @@ -129,7 +130,7 @@ func (c *ingresses) Get(name string) (result *v1beta1.Ingress, err error) { } // List takes label and field selectors, and returns the list of Ingresses that match those selectors. -func (c *ingresses) List(opts api.ListOptions) (result *v1beta1.IngressList, err error) { +func (c *ingresses) List(opts v1.ListOptions) (result *v1beta1.IngressList, err error) { result = &v1beta1.IngressList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *ingresses) List(opts api.ListOptions) (result *v1beta1.IngressList, err } // Watch returns a watch.Interface that watches the requested ingresses. -func (c *ingresses) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *ingresses) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/job.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/job.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/job.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/job.go index 0142d69cc37..c5991f54fdb 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/job.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/job.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // JobsGetter has a method to return a JobInterface. @@ -33,11 +34,11 @@ type JobInterface interface { Create(*v1beta1.Job) (*v1beta1.Job, error) Update(*v1beta1.Job) (*v1beta1.Job, error) UpdateStatus(*v1beta1.Job) (*v1beta1.Job, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.Job, error) - List(opts api.ListOptions) (*v1beta1.JobList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.JobList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.Job, err error) JobExpansion } @@ -95,7 +96,7 @@ func (c *jobs) UpdateStatus(job *v1beta1.Job) (result *v1beta1.Job, err error) { } // Delete takes name of the job and deletes it. Returns an error if one occurs. -func (c *jobs) Delete(name string, options *api.DeleteOptions) error { +func (c *jobs) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("jobs"). @@ -106,7 +107,7 @@ func (c *jobs) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *jobs) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *jobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("jobs"). @@ -129,7 +130,7 @@ func (c *jobs) Get(name string) (result *v1beta1.Job, err error) { } // List takes label and field selectors, and returns the list of Jobs that match those selectors. -func (c *jobs) List(opts api.ListOptions) (result *v1beta1.JobList, err error) { +func (c *jobs) List(opts v1.ListOptions) (result *v1beta1.JobList, err error) { result = &v1beta1.JobList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *jobs) List(opts api.ListOptions) (result *v1beta1.JobList, err error) { } // Watch returns a watch.Interface that watches the requested jobs. -func (c *jobs) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *jobs) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go index 53646543bff..1b9b6bbe46e 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/podsecuritypolicy.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // PodSecurityPoliciesGetter has a method to return a PodSecurityPolicyInterface. @@ -32,11 +33,11 @@ type PodSecurityPoliciesGetter interface { type PodSecurityPolicyInterface interface { Create(*v1beta1.PodSecurityPolicy) (*v1beta1.PodSecurityPolicy, error) Update(*v1beta1.PodSecurityPolicy) (*v1beta1.PodSecurityPolicy, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.PodSecurityPolicy, error) - List(opts api.ListOptions) (*v1beta1.PodSecurityPolicyList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.PodSecurityPolicyList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.PodSecurityPolicy, err error) PodSecurityPolicyExpansion } @@ -77,7 +78,7 @@ func (c *podSecurityPolicies) Update(podSecurityPolicy *v1beta1.PodSecurityPolic } // Delete takes name of the podSecurityPolicy and deletes it. Returns an error if one occurs. -func (c *podSecurityPolicies) Delete(name string, options *api.DeleteOptions) error { +func (c *podSecurityPolicies) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("podsecuritypolicies"). Name(name). @@ -87,7 +88,7 @@ func (c *podSecurityPolicies) Delete(name string, options *api.DeleteOptions) er } // DeleteCollection deletes a collection of objects. -func (c *podSecurityPolicies) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *podSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("podsecuritypolicies"). VersionedParams(&listOptions, api.ParameterCodec). @@ -108,7 +109,7 @@ func (c *podSecurityPolicies) Get(name string) (result *v1beta1.PodSecurityPolic } // List takes label and field selectors, and returns the list of PodSecurityPolicies that match those selectors. -func (c *podSecurityPolicies) List(opts api.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error) { +func (c *podSecurityPolicies) List(opts v1.ListOptions) (result *v1beta1.PodSecurityPolicyList, err error) { result = &v1beta1.PodSecurityPolicyList{} err = c.client.Get(). Resource("podsecuritypolicies"). @@ -119,7 +120,7 @@ func (c *podSecurityPolicies) List(opts api.ListOptions) (result *v1beta1.PodSec } // Watch returns a watch.Interface that watches the requested podSecurityPolicies. -func (c *podSecurityPolicies) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *podSecurityPolicies) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("podsecuritypolicies"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/replicaset.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/replicaset.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/replicaset.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/replicaset.go index 722a4b4e9ca..947bc82d524 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/replicaset.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/replicaset.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // ReplicaSetsGetter has a method to return a ReplicaSetInterface. @@ -33,11 +34,11 @@ type ReplicaSetInterface interface { Create(*v1beta1.ReplicaSet) (*v1beta1.ReplicaSet, error) Update(*v1beta1.ReplicaSet) (*v1beta1.ReplicaSet, error) UpdateStatus(*v1beta1.ReplicaSet) (*v1beta1.ReplicaSet, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.ReplicaSet, error) - List(opts api.ListOptions) (*v1beta1.ReplicaSetList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.ReplicaSetList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.ReplicaSet, err error) ReplicaSetExpansion } @@ -95,7 +96,7 @@ func (c *replicaSets) UpdateStatus(replicaSet *v1beta1.ReplicaSet) (result *v1be } // Delete takes name of the replicaSet and deletes it. Returns an error if one occurs. -func (c *replicaSets) Delete(name string, options *api.DeleteOptions) error { +func (c *replicaSets) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("replicasets"). @@ -106,7 +107,7 @@ func (c *replicaSets) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *replicaSets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *replicaSets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("replicasets"). @@ -129,7 +130,7 @@ func (c *replicaSets) Get(name string) (result *v1beta1.ReplicaSet, err error) { } // List takes label and field selectors, and returns the list of ReplicaSets that match those selectors. -func (c *replicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSetList, err error) { +func (c *replicaSets) List(opts v1.ListOptions) (result *v1beta1.ReplicaSetList, err error) { result = &v1beta1.ReplicaSetList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *replicaSets) List(opts api.ListOptions) (result *v1beta1.ReplicaSetList } // Watch returns a watch.Interface that watches the requested replicaSets. -func (c *replicaSets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *replicaSets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/scale.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/scale.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/scale.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/scale.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/scale_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/scale_expansion.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/scale_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/scale_expansion.go index 435506f1c02..08421dc45e0 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/scale_expansion.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/scale_expansion.go @@ -17,9 +17,9 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apis/extensions/v1beta1" ) // The ScaleExpansion interface allows manually adding extra methods to the ScaleInterface. diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go rename to staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go index 65162d46e1e..409dcd78025 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/thirdpartyresource.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/extensions/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // ThirdPartyResourcesGetter has a method to return a ThirdPartyResourceInterface. @@ -32,11 +33,11 @@ type ThirdPartyResourcesGetter interface { type ThirdPartyResourceInterface interface { Create(*v1beta1.ThirdPartyResource) (*v1beta1.ThirdPartyResource, error) Update(*v1beta1.ThirdPartyResource) (*v1beta1.ThirdPartyResource, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.ThirdPartyResource, error) - List(opts api.ListOptions) (*v1beta1.ThirdPartyResourceList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.ThirdPartyResourceList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.ThirdPartyResource, err error) ThirdPartyResourceExpansion } @@ -77,7 +78,7 @@ func (c *thirdPartyResources) Update(thirdPartyResource *v1beta1.ThirdPartyResou } // Delete takes name of the thirdPartyResource and deletes it. Returns an error if one occurs. -func (c *thirdPartyResources) Delete(name string, options *api.DeleteOptions) error { +func (c *thirdPartyResources) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("thirdpartyresources"). Name(name). @@ -87,7 +88,7 @@ func (c *thirdPartyResources) Delete(name string, options *api.DeleteOptions) er } // DeleteCollection deletes a collection of objects. -func (c *thirdPartyResources) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *thirdPartyResources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("thirdpartyresources"). VersionedParams(&listOptions, api.ParameterCodec). @@ -108,7 +109,7 @@ func (c *thirdPartyResources) Get(name string) (result *v1beta1.ThirdPartyResour } // List takes label and field selectors, and returns the list of ThirdPartyResources that match those selectors. -func (c *thirdPartyResources) List(opts api.ListOptions) (result *v1beta1.ThirdPartyResourceList, err error) { +func (c *thirdPartyResources) List(opts v1.ListOptions) (result *v1beta1.ThirdPartyResourceList, err error) { result = &v1beta1.ThirdPartyResourceList{} err = c.client.Get(). Resource("thirdpartyresources"). @@ -119,7 +120,7 @@ func (c *thirdPartyResources) List(opts api.ListOptions) (result *v1beta1.ThirdP } // Watch returns a watch.Interface that watches the requested thirdPartyResources. -func (c *thirdPartyResources) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *thirdPartyResources) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("thirdpartyresources"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go index 02d805ee470..67c8908e89c 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/fake_poddisruptionbudget.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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/policy/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakePodDisruptionBudgets implements PodDisruptionBudgetInterface @@ -63,14 +64,14 @@ func (c *FakePodDisruptionBudgets) UpdateStatus(podDisruptionBudget *v1alpha1.Po return obj.(*v1alpha1.PodDisruptionBudget), err } -func (c *FakePodDisruptionBudgets) Delete(name string, options *api.DeleteOptions) error { +func (c *FakePodDisruptionBudgets) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(poddisruptionbudgetsResource, c.ns, name), &v1alpha1.PodDisruptionBudget{}) return err } -func (c *FakePodDisruptionBudgets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakePodDisruptionBudgets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(poddisruptionbudgetsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1alpha1.PodDisruptionBudgetList{}) @@ -87,7 +88,7 @@ func (c *FakePodDisruptionBudgets) Get(name string) (result *v1alpha1.PodDisrupt return obj.(*v1alpha1.PodDisruptionBudget), err } -func (c *FakePodDisruptionBudgets) List(opts api.ListOptions) (result *v1alpha1.PodDisruptionBudgetList, err error) { +func (c *FakePodDisruptionBudgets) List(opts v1.ListOptions) (result *v1alpha1.PodDisruptionBudgetList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(poddisruptionbudgetsResource, c.ns, opts), &v1alpha1.PodDisruptionBudgetList{}) @@ -95,7 +96,7 @@ func (c *FakePodDisruptionBudgets) List(opts api.ListOptions) (result *v1alpha1. return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -109,7 +110,7 @@ func (c *FakePodDisruptionBudgets) List(opts api.ListOptions) (result *v1alpha1. } // Watch returns a watch.Interface that watches the requested podDisruptionBudgets. -func (c *FakePodDisruptionBudgets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakePodDisruptionBudgets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(poddisruptionbudgetsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go index 466b3338dab..b809c2f8d72 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/fake/fake_policy_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1alpha1 "k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1alpha1 "k8s.io/client-go/kubernetes/typed/policy/v1alpha1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakePolicy struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go index f3cdd3acd5e..a59695a5e60 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/poddisruptionbudget.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/policy/v1alpha1" + watch "k8s.io/client-go/pkg/watch" ) // PodDisruptionBudgetsGetter has a method to return a PodDisruptionBudgetInterface. @@ -33,11 +34,11 @@ type PodDisruptionBudgetInterface interface { Create(*v1alpha1.PodDisruptionBudget) (*v1alpha1.PodDisruptionBudget, error) Update(*v1alpha1.PodDisruptionBudget) (*v1alpha1.PodDisruptionBudget, error) UpdateStatus(*v1alpha1.PodDisruptionBudget) (*v1alpha1.PodDisruptionBudget, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.PodDisruptionBudget, error) - List(opts api.ListOptions) (*v1alpha1.PodDisruptionBudgetList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1alpha1.PodDisruptionBudgetList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.PodDisruptionBudget, err error) PodDisruptionBudgetExpansion } @@ -95,7 +96,7 @@ func (c *podDisruptionBudgets) UpdateStatus(podDisruptionBudget *v1alpha1.PodDis } // Delete takes name of the podDisruptionBudget and deletes it. Returns an error if one occurs. -func (c *podDisruptionBudgets) Delete(name string, options *api.DeleteOptions) error { +func (c *podDisruptionBudgets) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("poddisruptionbudgets"). @@ -106,7 +107,7 @@ func (c *podDisruptionBudgets) Delete(name string, options *api.DeleteOptions) e } // DeleteCollection deletes a collection of objects. -func (c *podDisruptionBudgets) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *podDisruptionBudgets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("poddisruptionbudgets"). @@ -129,7 +130,7 @@ func (c *podDisruptionBudgets) Get(name string) (result *v1alpha1.PodDisruptionB } // List takes label and field selectors, and returns the list of PodDisruptionBudgets that match those selectors. -func (c *podDisruptionBudgets) List(opts api.ListOptions) (result *v1alpha1.PodDisruptionBudgetList, err error) { +func (c *podDisruptionBudgets) List(opts v1.ListOptions) (result *v1alpha1.PodDisruptionBudgetList, err error) { result = &v1alpha1.PodDisruptionBudgetList{} err = c.client.Get(). Namespace(c.ns). @@ -141,7 +142,7 @@ func (c *podDisruptionBudgets) List(opts api.ListOptions) (result *v1alpha1.PodD } // Watch returns a watch.Interface that watches the requested podDisruptionBudgets. -func (c *podDisruptionBudgets) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *podDisruptionBudgets) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/policy_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/policy_client.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/policy_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/policy_client.go index 0491d3d5c04..4400f5c8d84 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/policy/v1alpha1/policy_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/policy/v1alpha1/policy_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type PolicyInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/clusterrole.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrole.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/clusterrole.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrole.go index 8e4a838d130..04377c520f1 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/clusterrole.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrole.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" + watch "k8s.io/client-go/pkg/watch" ) // ClusterRolesGetter has a method to return a ClusterRoleInterface. @@ -32,11 +33,11 @@ type ClusterRolesGetter interface { type ClusterRoleInterface interface { Create(*v1alpha1.ClusterRole) (*v1alpha1.ClusterRole, error) Update(*v1alpha1.ClusterRole) (*v1alpha1.ClusterRole, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.ClusterRole, error) - List(opts api.ListOptions) (*v1alpha1.ClusterRoleList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1alpha1.ClusterRoleList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRole, err error) ClusterRoleExpansion } @@ -77,7 +78,7 @@ func (c *clusterRoles) Update(clusterRole *v1alpha1.ClusterRole) (result *v1alph } // Delete takes name of the clusterRole and deletes it. Returns an error if one occurs. -func (c *clusterRoles) Delete(name string, options *api.DeleteOptions) error { +func (c *clusterRoles) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("clusterroles"). Name(name). @@ -87,7 +88,7 @@ func (c *clusterRoles) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *clusterRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *clusterRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("clusterroles"). VersionedParams(&listOptions, api.ParameterCodec). @@ -108,7 +109,7 @@ func (c *clusterRoles) Get(name string) (result *v1alpha1.ClusterRole, err error } // List takes label and field selectors, and returns the list of ClusterRoles that match those selectors. -func (c *clusterRoles) List(opts api.ListOptions) (result *v1alpha1.ClusterRoleList, err error) { +func (c *clusterRoles) List(opts v1.ListOptions) (result *v1alpha1.ClusterRoleList, err error) { result = &v1alpha1.ClusterRoleList{} err = c.client.Get(). Resource("clusterroles"). @@ -119,7 +120,7 @@ func (c *clusterRoles) List(opts api.ListOptions) (result *v1alpha1.ClusterRoleL } // Watch returns a watch.Interface that watches the requested clusterRoles. -func (c *clusterRoles) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *clusterRoles) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("clusterroles"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go index 919f84074c8..4b4cc8e5be7 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/clusterrolebinding.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" + watch "k8s.io/client-go/pkg/watch" ) // ClusterRoleBindingsGetter has a method to return a ClusterRoleBindingInterface. @@ -32,11 +33,11 @@ type ClusterRoleBindingsGetter interface { type ClusterRoleBindingInterface interface { Create(*v1alpha1.ClusterRoleBinding) (*v1alpha1.ClusterRoleBinding, error) Update(*v1alpha1.ClusterRoleBinding) (*v1alpha1.ClusterRoleBinding, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.ClusterRoleBinding, error) - List(opts api.ListOptions) (*v1alpha1.ClusterRoleBindingList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1alpha1.ClusterRoleBindingList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterRoleBinding, err error) ClusterRoleBindingExpansion } @@ -77,7 +78,7 @@ func (c *clusterRoleBindings) Update(clusterRoleBinding *v1alpha1.ClusterRoleBin } // Delete takes name of the clusterRoleBinding and deletes it. Returns an error if one occurs. -func (c *clusterRoleBindings) Delete(name string, options *api.DeleteOptions) error { +func (c *clusterRoleBindings) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("clusterrolebindings"). Name(name). @@ -87,7 +88,7 @@ func (c *clusterRoleBindings) Delete(name string, options *api.DeleteOptions) er } // DeleteCollection deletes a collection of objects. -func (c *clusterRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *clusterRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("clusterrolebindings"). VersionedParams(&listOptions, api.ParameterCodec). @@ -108,7 +109,7 @@ func (c *clusterRoleBindings) Get(name string) (result *v1alpha1.ClusterRoleBind } // List takes label and field selectors, and returns the list of ClusterRoleBindings that match those selectors. -func (c *clusterRoleBindings) List(opts api.ListOptions) (result *v1alpha1.ClusterRoleBindingList, err error) { +func (c *clusterRoleBindings) List(opts v1.ListOptions) (result *v1alpha1.ClusterRoleBindingList, err error) { result = &v1alpha1.ClusterRoleBindingList{} err = c.client.Get(). Resource("clusterrolebindings"). @@ -119,7 +120,7 @@ func (c *clusterRoleBindings) List(opts api.ListOptions) (result *v1alpha1.Clust } // Watch returns a watch.Interface that watches the requested clusterRoleBindings. -func (c *clusterRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *clusterRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("clusterrolebindings"). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go index ad59de50d68..8813b5e32b8 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrole.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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/rbac/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeClusterRoles implements ClusterRoleInterface @@ -50,13 +51,13 @@ func (c *FakeClusterRoles) Update(clusterRole *v1alpha1.ClusterRole) (result *v1 return obj.(*v1alpha1.ClusterRole), err } -func (c *FakeClusterRoles) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeClusterRoles) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(clusterrolesResource, name), &v1alpha1.ClusterRole{}) return err } -func (c *FakeClusterRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeClusterRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(clusterrolesResource, listOptions) _, err := c.Fake.Invokes(action, &v1alpha1.ClusterRoleList{}) @@ -72,14 +73,14 @@ func (c *FakeClusterRoles) Get(name string) (result *v1alpha1.ClusterRole, err e return obj.(*v1alpha1.ClusterRole), err } -func (c *FakeClusterRoles) List(opts api.ListOptions) (result *v1alpha1.ClusterRoleList, err error) { +func (c *FakeClusterRoles) List(opts v1.ListOptions) (result *v1alpha1.ClusterRoleList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(clusterrolesResource, opts), &v1alpha1.ClusterRoleList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -93,7 +94,7 @@ func (c *FakeClusterRoles) List(opts api.ListOptions) (result *v1alpha1.ClusterR } // Watch returns a watch.Interface that watches the requested clusterRoles. -func (c *FakeClusterRoles) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeClusterRoles) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(clusterrolesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go index 8b94350e05a..b281bdd72cd 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_clusterrolebinding.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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/rbac/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeClusterRoleBindings implements ClusterRoleBindingInterface @@ -50,13 +51,13 @@ func (c *FakeClusterRoleBindings) Update(clusterRoleBinding *v1alpha1.ClusterRol return obj.(*v1alpha1.ClusterRoleBinding), err } -func (c *FakeClusterRoleBindings) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeClusterRoleBindings) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(clusterrolebindingsResource, name), &v1alpha1.ClusterRoleBinding{}) return err } -func (c *FakeClusterRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeClusterRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(clusterrolebindingsResource, listOptions) _, err := c.Fake.Invokes(action, &v1alpha1.ClusterRoleBindingList{}) @@ -72,14 +73,14 @@ func (c *FakeClusterRoleBindings) Get(name string) (result *v1alpha1.ClusterRole return obj.(*v1alpha1.ClusterRoleBinding), err } -func (c *FakeClusterRoleBindings) List(opts api.ListOptions) (result *v1alpha1.ClusterRoleBindingList, err error) { +func (c *FakeClusterRoleBindings) List(opts v1.ListOptions) (result *v1alpha1.ClusterRoleBindingList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(clusterrolebindingsResource, opts), &v1alpha1.ClusterRoleBindingList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -93,7 +94,7 @@ func (c *FakeClusterRoleBindings) List(opts api.ListOptions) (result *v1alpha1.C } // Watch returns a watch.Interface that watches the requested clusterRoleBindings. -func (c *FakeClusterRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeClusterRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(clusterrolebindingsResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go index 282f51138c5..e8f06d231a7 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_rbac_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1alpha1 "k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1alpha1 "k8s.io/client-go/kubernetes/typed/rbac/v1alpha1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeRbac struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go similarity index 80% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go index e6ef2e7d079..8280835bb2f 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_role.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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/rbac/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeRoles implements RoleInterface @@ -53,14 +54,14 @@ func (c *FakeRoles) Update(role *v1alpha1.Role) (result *v1alpha1.Role, err erro return obj.(*v1alpha1.Role), err } -func (c *FakeRoles) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeRoles) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(rolesResource, c.ns, name), &v1alpha1.Role{}) return err } -func (c *FakeRoles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeRoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(rolesResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1alpha1.RoleList{}) @@ -77,7 +78,7 @@ func (c *FakeRoles) Get(name string) (result *v1alpha1.Role, err error) { return obj.(*v1alpha1.Role), err } -func (c *FakeRoles) List(opts api.ListOptions) (result *v1alpha1.RoleList, err error) { +func (c *FakeRoles) List(opts v1.ListOptions) (result *v1alpha1.RoleList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(rolesResource, c.ns, opts), &v1alpha1.RoleList{}) @@ -85,7 +86,7 @@ func (c *FakeRoles) List(opts api.ListOptions) (result *v1alpha1.RoleList, err e return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +100,7 @@ func (c *FakeRoles) List(opts api.ListOptions) (result *v1alpha1.RoleList, err e } // Watch returns a watch.Interface that watches the requested roles. -func (c *FakeRoles) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeRoles) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(rolesResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go index ba929e88063..4f5d1e11374 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/fake/fake_rolebinding.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + 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/rbac/v1alpha1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeRoleBindings implements RoleBindingInterface @@ -53,14 +54,14 @@ func (c *FakeRoleBindings) Update(roleBinding *v1alpha1.RoleBinding) (result *v1 return obj.(*v1alpha1.RoleBinding), err } -func (c *FakeRoleBindings) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeRoleBindings) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewDeleteAction(rolebindingsResource, c.ns, name), &v1alpha1.RoleBinding{}) return err } -func (c *FakeRoleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeRoleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewDeleteCollectionAction(rolebindingsResource, c.ns, listOptions) _, err := c.Fake.Invokes(action, &v1alpha1.RoleBindingList{}) @@ -77,7 +78,7 @@ func (c *FakeRoleBindings) Get(name string) (result *v1alpha1.RoleBinding, err e return obj.(*v1alpha1.RoleBinding), err } -func (c *FakeRoleBindings) List(opts api.ListOptions) (result *v1alpha1.RoleBindingList, err error) { +func (c *FakeRoleBindings) List(opts v1.ListOptions) (result *v1alpha1.RoleBindingList, err error) { obj, err := c.Fake. Invokes(testing.NewListAction(rolebindingsResource, c.ns, opts), &v1alpha1.RoleBindingList{}) @@ -85,7 +86,7 @@ func (c *FakeRoleBindings) List(opts api.ListOptions) (result *v1alpha1.RoleBind return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -99,7 +100,7 @@ func (c *FakeRoleBindings) List(opts api.ListOptions) (result *v1alpha1.RoleBind } // Watch returns a watch.Interface that watches the requested roleBindings. -func (c *FakeRoleBindings) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeRoleBindings) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewWatchAction(rolebindingsResource, c.ns, opts)) diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/rbac_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rbac_client.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/rbac_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rbac_client.go index fde5a603610..ee30e6b0522 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/rbac_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rbac_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type RbacInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/role.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/role.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/role.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/role.go index 72de75c65f0..1fd87590b2b 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/role.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/role.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" + watch "k8s.io/client-go/pkg/watch" ) // RolesGetter has a method to return a RoleInterface. @@ -32,11 +33,11 @@ type RolesGetter interface { type RoleInterface interface { Create(*v1alpha1.Role) (*v1alpha1.Role, error) Update(*v1alpha1.Role) (*v1alpha1.Role, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.Role, error) - List(opts api.ListOptions) (*v1alpha1.RoleList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1alpha1.RoleList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.Role, err error) RoleExpansion } @@ -81,7 +82,7 @@ func (c *roles) Update(role *v1alpha1.Role) (result *v1alpha1.Role, err error) { } // Delete takes name of the role and deletes it. Returns an error if one occurs. -func (c *roles) Delete(name string, options *api.DeleteOptions) error { +func (c *roles) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("roles"). @@ -92,7 +93,7 @@ func (c *roles) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *roles) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *roles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("roles"). @@ -115,7 +116,7 @@ func (c *roles) Get(name string) (result *v1alpha1.Role, err error) { } // List takes label and field selectors, and returns the list of Roles that match those selectors. -func (c *roles) List(opts api.ListOptions) (result *v1alpha1.RoleList, err error) { +func (c *roles) List(opts v1.ListOptions) (result *v1alpha1.RoleList, err error) { result = &v1alpha1.RoleList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +128,7 @@ func (c *roles) List(opts api.ListOptions) (result *v1alpha1.RoleList, err error } // Watch returns a watch.Interface that watches the requested roles. -func (c *roles) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *roles) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/rolebinding.go b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rolebinding.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/rolebinding.go rename to staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rolebinding.go index 649a9dd3014..a0005245d94 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/rbac/v1alpha1/rolebinding.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/rolebinding.go @@ -17,9 +17,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1alpha1 "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1alpha1 "k8s.io/client-go/pkg/apis/rbac/v1alpha1" + watch "k8s.io/client-go/pkg/watch" ) // RoleBindingsGetter has a method to return a RoleBindingInterface. @@ -32,11 +33,11 @@ type RoleBindingsGetter interface { type RoleBindingInterface interface { Create(*v1alpha1.RoleBinding) (*v1alpha1.RoleBinding, error) Update(*v1alpha1.RoleBinding) (*v1alpha1.RoleBinding, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1alpha1.RoleBinding, error) - List(opts api.ListOptions) (*v1alpha1.RoleBindingList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1alpha1.RoleBindingList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1alpha1.RoleBinding, err error) RoleBindingExpansion } @@ -81,7 +82,7 @@ func (c *roleBindings) Update(roleBinding *v1alpha1.RoleBinding) (result *v1alph } // Delete takes name of the roleBinding and deletes it. Returns an error if one occurs. -func (c *roleBindings) Delete(name string, options *api.DeleteOptions) error { +func (c *roleBindings) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("rolebindings"). @@ -92,7 +93,7 @@ func (c *roleBindings) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *roleBindings) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *roleBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Namespace(c.ns). Resource("rolebindings"). @@ -115,7 +116,7 @@ func (c *roleBindings) Get(name string) (result *v1alpha1.RoleBinding, err error } // List takes label and field selectors, and returns the list of RoleBindings that match those selectors. -func (c *roleBindings) List(opts api.ListOptions) (result *v1alpha1.RoleBindingList, err error) { +func (c *roleBindings) List(opts v1.ListOptions) (result *v1alpha1.RoleBindingList, err error) { result = &v1alpha1.RoleBindingList{} err = c.client.Get(). Namespace(c.ns). @@ -127,7 +128,7 @@ func (c *roleBindings) List(opts api.ListOptions) (result *v1alpha1.RoleBindingL } // Watch returns a watch.Interface that watches the requested roleBindings. -func (c *roleBindings) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *roleBindings) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Namespace(c.ns). diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/doc.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/doc.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go index 43c2fecac3b..5095923b7e3 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/fake_storage_client.go @@ -17,9 +17,9 @@ limitations under the License. package fake import ( - v1beta1 "k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1" - rest "k8s.io/client-go/1.5/rest" - testing "k8s.io/client-go/1.5/testing" + v1beta1 "k8s.io/client-go/kubernetes/typed/storage/v1beta1" + rest "k8s.io/client-go/rest" + testing "k8s.io/client-go/testing" ) type FakeStorage struct { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go similarity index 81% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go index acc82518a30..2d2e21686c1 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/fake/fake_storageclass.go @@ -17,12 +17,13 @@ limitations under the License. package fake import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/storage/v1beta1" - labels "k8s.io/client-go/1.5/pkg/labels" - watch "k8s.io/client-go/1.5/pkg/watch" - testing "k8s.io/client-go/1.5/testing" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/storage/v1beta1" + labels "k8s.io/client-go/pkg/labels" + watch "k8s.io/client-go/pkg/watch" + testing "k8s.io/client-go/testing" ) // FakeStorageClasses implements StorageClassInterface @@ -50,13 +51,13 @@ func (c *FakeStorageClasses) Update(storageClass *v1beta1.StorageClass) (result return obj.(*v1beta1.StorageClass), err } -func (c *FakeStorageClasses) Delete(name string, options *api.DeleteOptions) error { +func (c *FakeStorageClasses) Delete(name string, options *v1.DeleteOptions) error { _, err := c.Fake. Invokes(testing.NewRootDeleteAction(storageclassesResource, name), &v1beta1.StorageClass{}) return err } -func (c *FakeStorageClasses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *FakeStorageClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { action := testing.NewRootDeleteCollectionAction(storageclassesResource, listOptions) _, err := c.Fake.Invokes(action, &v1beta1.StorageClassList{}) @@ -72,14 +73,14 @@ func (c *FakeStorageClasses) Get(name string) (result *v1beta1.StorageClass, err return obj.(*v1beta1.StorageClass), err } -func (c *FakeStorageClasses) List(opts api.ListOptions) (result *v1beta1.StorageClassList, err error) { +func (c *FakeStorageClasses) List(opts v1.ListOptions) (result *v1beta1.StorageClassList, err error) { obj, err := c.Fake. Invokes(testing.NewRootListAction(storageclassesResource, opts), &v1beta1.StorageClassList{}) if obj == nil { return nil, err } - label := opts.LabelSelector + label, _, _ := testing.ExtractFromListOptions(opts) if label == nil { label = labels.Everything() } @@ -93,7 +94,7 @@ func (c *FakeStorageClasses) List(opts api.ListOptions) (result *v1beta1.Storage } // Watch returns a watch.Interface that watches the requested storageClasses. -func (c *FakeStorageClasses) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *FakeStorageClasses) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.Fake. InvokesWatch(testing.NewRootWatchAction(storageclassesResource, opts)) } diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/generated_expansion.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/generated_expansion.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/generated_expansion.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/generated_expansion.go diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/storage_client.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storage_client.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/storage_client.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storage_client.go index 813cdbf053d..223c0e8adb0 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/storage_client.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storage_client.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - registered "k8s.io/client-go/1.5/pkg/apimachinery/registered" - serializer "k8s.io/client-go/1.5/pkg/runtime/serializer" - rest "k8s.io/client-go/1.5/rest" + api "k8s.io/client-go/pkg/api" + registered "k8s.io/client-go/pkg/apimachinery/registered" + serializer "k8s.io/client-go/pkg/runtime/serializer" + rest "k8s.io/client-go/rest" ) type StorageInterface interface { diff --git a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/storageclass.go b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storageclass.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/storageclass.go rename to staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storageclass.go index c1453cd43b6..77a5243459b 100644 --- a/staging/src/k8s.io/client-go/1.5/kubernetes/typed/storage/v1beta1/storageclass.go +++ b/staging/src/k8s.io/client-go/kubernetes/typed/storage/v1beta1/storageclass.go @@ -17,9 +17,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1beta1 "k8s.io/client-go/1.5/pkg/apis/storage/v1beta1" - watch "k8s.io/client-go/1.5/pkg/watch" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + v1beta1 "k8s.io/client-go/pkg/apis/storage/v1beta1" + watch "k8s.io/client-go/pkg/watch" ) // StorageClassesGetter has a method to return a StorageClassInterface. @@ -32,11 +33,11 @@ type StorageClassesGetter interface { type StorageClassInterface interface { Create(*v1beta1.StorageClass) (*v1beta1.StorageClass, error) Update(*v1beta1.StorageClass) (*v1beta1.StorageClass, error) - Delete(name string, options *api.DeleteOptions) error - DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error + Delete(name string, options *v1.DeleteOptions) error + DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string) (*v1beta1.StorageClass, error) - List(opts api.ListOptions) (*v1beta1.StorageClassList, error) - Watch(opts api.ListOptions) (watch.Interface, error) + List(opts v1.ListOptions) (*v1beta1.StorageClassList, error) + Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1beta1.StorageClass, err error) StorageClassExpansion } @@ -77,7 +78,7 @@ func (c *storageClasses) Update(storageClass *v1beta1.StorageClass) (result *v1b } // Delete takes name of the storageClass and deletes it. Returns an error if one occurs. -func (c *storageClasses) Delete(name string, options *api.DeleteOptions) error { +func (c *storageClasses) Delete(name string, options *v1.DeleteOptions) error { return c.client.Delete(). Resource("storageclasses"). Name(name). @@ -87,7 +88,7 @@ func (c *storageClasses) Delete(name string, options *api.DeleteOptions) error { } // DeleteCollection deletes a collection of objects. -func (c *storageClasses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error { +func (c *storageClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error { return c.client.Delete(). Resource("storageclasses"). VersionedParams(&listOptions, api.ParameterCodec). @@ -108,7 +109,7 @@ func (c *storageClasses) Get(name string) (result *v1beta1.StorageClass, err err } // List takes label and field selectors, and returns the list of StorageClasses that match those selectors. -func (c *storageClasses) List(opts api.ListOptions) (result *v1beta1.StorageClassList, err error) { +func (c *storageClasses) List(opts v1.ListOptions) (result *v1beta1.StorageClassList, err error) { result = &v1beta1.StorageClassList{} err = c.client.Get(). Resource("storageclasses"). @@ -119,7 +120,7 @@ func (c *storageClasses) List(opts api.ListOptions) (result *v1beta1.StorageClas } // Watch returns a watch.Interface that watches the requested storageClasses. -func (c *storageClasses) Watch(opts api.ListOptions) (watch.Interface, error) { +func (c *storageClasses) Watch(opts v1.ListOptions) (watch.Interface, error) { return c.client.Get(). Prefix("watch"). Resource("storageclasses"). diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/OWNERS b/staging/src/k8s.io/client-go/pkg/api/OWNERS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/OWNERS rename to staging/src/k8s.io/client-go/pkg/api/OWNERS diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/context.go b/staging/src/k8s.io/client-go/pkg/api/context.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/context.go rename to staging/src/k8s.io/client-go/pkg/api/context.go index fba7b73380c..71e0e2dd700 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/context.go +++ b/staging/src/k8s.io/client-go/pkg/api/context.go @@ -21,8 +21,8 @@ import ( "time" "golang.org/x/net/context" - "k8s.io/client-go/1.5/pkg/auth/user" - "k8s.io/client-go/1.5/pkg/types" + "k8s.io/client-go/pkg/auth/user" + "k8s.io/client-go/pkg/types" ) // Context carries values across API boundaries. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/conversion.go b/staging/src/k8s.io/client-go/pkg/api/conversion.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/api/conversion.go rename to staging/src/k8s.io/client-go/pkg/api/conversion.go index 782c7e5dfcf..d67d8948f4c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/api/conversion.go @@ -19,15 +19,15 @@ package api import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/intstr" - utillabels "k8s.io/client-go/1.5/pkg/util/labels" - "k8s.io/client-go/1.5/pkg/util/validation/field" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/intstr" + utillabels "k8s.io/client-go/pkg/util/labels" + "k8s.io/client-go/pkg/util/validation/field" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/defaults.go b/staging/src/k8s.io/client-go/pkg/api/defaults.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/api/defaults.go rename to staging/src/k8s.io/client-go/pkg/api/defaults.go index 33f72151f56..745f610eef3 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/api/defaults.go @@ -17,9 +17,9 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/doc.go b/staging/src/k8s.io/client-go/pkg/api/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/doc.go rename to staging/src/k8s.io/client-go/pkg/api/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/errors/doc.go b/staging/src/k8s.io/client-go/pkg/api/errors/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/errors/doc.go rename to staging/src/k8s.io/client-go/pkg/api/errors/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/errors/errors.go b/staging/src/k8s.io/client-go/pkg/api/errors/errors.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/errors/errors.go rename to staging/src/k8s.io/client-go/pkg/api/errors/errors.go index 17567dcd794..accd8f48eee 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/errors/errors.go +++ b/staging/src/k8s.io/client-go/pkg/api/errors/errors.go @@ -22,20 +22,18 @@ import ( "net/http" "strings" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/validation/field" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/validation/field" ) // HTTP Status codes not in the golang http package. const ( StatusUnprocessableEntity = 422 StatusTooManyRequests = 429 - // HTTP recommendations are for servers to define 5xx error codes - // for scenarios not covered by behavior. In this case, ServerTimeout - // is an indication that a transient server error has occurred and the - // client *should* retry, with an optional Retry-After header to specify - // the back off window. + // StatusServerTimeout is an indication that a transient server error has + // occurred and the client *should* retry, with an optional Retry-After + // header to specify the back off window. StatusServerTimeout = 504 ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/field_constants.go b/staging/src/k8s.io/client-go/pkg/api/field_constants.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/field_constants.go rename to staging/src/k8s.io/client-go/pkg/api/field_constants.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/generate.go b/staging/src/k8s.io/client-go/pkg/api/generate.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/generate.go rename to staging/src/k8s.io/client-go/pkg/api/generate.go index 59be6f54c0a..a4a003bac0b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/generate.go +++ b/staging/src/k8s.io/client-go/pkg/api/generate.go @@ -19,7 +19,7 @@ package api import ( "fmt" - utilrand "k8s.io/client-go/1.5/pkg/util/rand" + utilrand "k8s.io/client-go/pkg/util/rand" ) // NameGenerator generates names for objects. Some backends may have more information diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/helpers.go b/staging/src/k8s.io/client-go/pkg/api/helpers.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/helpers.go rename to staging/src/k8s.io/client-go/pkg/api/helpers.go index 6aa1a311d11..e625eadf419 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/helpers.go +++ b/staging/src/k8s.io/client-go/pkg/api/helpers.go @@ -24,15 +24,15 @@ import ( "strings" "time" - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/selection" - "k8s.io/client-go/1.5/pkg/types" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/selection" + "k8s.io/client-go/pkg/types" + "k8s.io/client-go/pkg/util/sets" "github.com/davecgh/go-spew/spew" ) @@ -123,6 +123,7 @@ func IsStandardContainerResourceName(str string) bool { var standardLimitRangeTypes = sets.NewString( string(LimitTypePod), string(LimitTypeContainer), + string(LimitTypePersistentVolumeClaim), ) // IsStandardLimitRangeType returns true if the type is Pod or Container @@ -577,7 +578,7 @@ func SysctlsFromPodAnnotation(annotation string) ([]Sysctl, error) { sysctls := make([]Sysctl, len(kvs)) for i, kv := range kvs { cs := strings.Split(kv, "=") - if len(cs) != 2 { + if len(cs) != 2 || len(cs[0]) == 0 { return nil, fmt.Errorf("sysctl %q not of the format sysctl_name=value", kv) } sysctls[i].Name = cs[0] diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/install/install.go b/staging/src/k8s.io/client-go/pkg/api/install/install.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/pkg/api/install/install.go rename to staging/src/k8s.io/client-go/pkg/api/install/install.go index a4518bc0a47..e41dd63784e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/api/install/install.go @@ -23,17 +23,17 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/apimachinery" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/sets" + "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/api/v1" + "k8s.io/client-go/pkg/apimachinery" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/sets" ) -const importPrefix = "k8s.io/client-go/1.5/pkg/api" +const importPrefix = "k8s.io/client-go/pkg/api" var accessor = meta.NewAccessor() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/mapper.go b/staging/src/k8s.io/client-go/pkg/api/mapper.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/api/mapper.go rename to staging/src/k8s.io/client-go/pkg/api/mapper.go index 17e624f9303..db72bdfb8e8 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/mapper.go +++ b/staging/src/k8s.io/client-go/pkg/api/mapper.go @@ -19,10 +19,10 @@ package api import ( "strings" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/sets" + "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/util/sets" ) // Instantiates a DefaultRESTMapper based on types registered in api.Scheme diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta.go b/staging/src/k8s.io/client-go/pkg/api/meta.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta.go rename to staging/src/k8s.io/client-go/pkg/api/meta.go index 6a90006c271..0f76d946a50 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta.go @@ -17,13 +17,13 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/meta/metatypes" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/types" - "k8s.io/client-go/1.5/pkg/util/uuid" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/meta/metatypes" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/types" + "k8s.io/client-go/pkg/util/uuid" ) // FillObjectMetaSystemFields populates fields that are managed by the system on ObjectMeta. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/doc.go b/staging/src/k8s.io/client-go/pkg/api/meta/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/doc.go rename to staging/src/k8s.io/client-go/pkg/api/meta/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/errors.go b/staging/src/k8s.io/client-go/pkg/api/meta/errors.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/errors.go rename to staging/src/k8s.io/client-go/pkg/api/meta/errors.go index e8d10ab9e92..9de77d60ef1 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/errors.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/errors.go @@ -19,7 +19,7 @@ package meta import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) // AmbiguousResourceError is returned if the RESTMapper finds multiple matches for a resource diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/firsthit_restmapper.go b/staging/src/k8s.io/client-go/pkg/api/meta/firsthit_restmapper.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/firsthit_restmapper.go rename to staging/src/k8s.io/client-go/pkg/api/meta/firsthit_restmapper.go index 224e7153058..3c576dbe947 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/firsthit_restmapper.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/firsthit_restmapper.go @@ -19,8 +19,8 @@ package meta import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" - utilerrors "k8s.io/client-go/1.5/pkg/util/errors" + "k8s.io/client-go/pkg/api/unversioned" + utilerrors "k8s.io/client-go/pkg/util/errors" ) // FirstHitRESTMapper is a wrapper for multiple RESTMappers which returns the diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/help.go b/staging/src/k8s.io/client-go/pkg/api/meta/help.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/help.go rename to staging/src/k8s.io/client-go/pkg/api/meta/help.go index d44a57d19d7..4a45c8c24f0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/help.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/help.go @@ -20,8 +20,8 @@ import ( "fmt" "reflect" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" ) // IsListType returns true if the provided Object has a slice called Items diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/interfaces.go b/staging/src/k8s.io/client-go/pkg/api/meta/interfaces.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/interfaces.go rename to staging/src/k8s.io/client-go/pkg/api/meta/interfaces.go index ce37cc70ef8..6dd570008a6 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/interfaces.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/interfaces.go @@ -17,10 +17,10 @@ limitations under the License. package meta import ( - "k8s.io/client-go/1.5/pkg/api/meta/metatypes" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/types" + "k8s.io/client-go/pkg/api/meta/metatypes" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/types" ) // VersionInterfaces contains the interfaces one should use for dealing with types of a particular version. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/meta.go b/staging/src/k8s.io/client-go/pkg/api/meta/meta.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/meta.go rename to staging/src/k8s.io/client-go/pkg/api/meta/meta.go index a234bb0fe33..9f11215ad19 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/meta.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/meta.go @@ -20,11 +20,11 @@ import ( "fmt" "reflect" - "k8s.io/client-go/1.5/pkg/api/meta/metatypes" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/types" + "k8s.io/client-go/pkg/api/meta/metatypes" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/types" "github.com/golang/glog" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/metatypes/types.go b/staging/src/k8s.io/client-go/pkg/api/meta/metatypes/types.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/metatypes/types.go rename to staging/src/k8s.io/client-go/pkg/api/meta/metatypes/types.go index 4f41bb10ce3..70b5aadaaa3 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/metatypes/types.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/metatypes/types.go @@ -19,7 +19,7 @@ limitations under the License. // API objects because it causes import cycle. package metatypes -import "k8s.io/client-go/1.5/pkg/types" +import "k8s.io/client-go/pkg/types" type OwnerReference struct { APIVersion string diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/multirestmapper.go b/staging/src/k8s.io/client-go/pkg/api/meta/multirestmapper.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/multirestmapper.go rename to staging/src/k8s.io/client-go/pkg/api/meta/multirestmapper.go index 4534271f081..c8ee8d1db8a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/multirestmapper.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/multirestmapper.go @@ -20,9 +20,9 @@ import ( "fmt" "strings" - "k8s.io/client-go/1.5/pkg/api/unversioned" - utilerrors "k8s.io/client-go/1.5/pkg/util/errors" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/api/unversioned" + utilerrors "k8s.io/client-go/pkg/util/errors" + "k8s.io/client-go/pkg/util/sets" ) // MultiRESTMapper is a wrapper for multiple RESTMappers. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/priority.go b/staging/src/k8s.io/client-go/pkg/api/meta/priority.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/priority.go rename to staging/src/k8s.io/client-go/pkg/api/meta/priority.go index 2f7fe102b37..b0ba309c895 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/priority.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/priority.go @@ -19,7 +19,7 @@ package meta import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/restmapper.go b/staging/src/k8s.io/client-go/pkg/api/meta/restmapper.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/restmapper.go rename to staging/src/k8s.io/client-go/pkg/api/meta/restmapper.go index 063f48e4b08..98add7fd20b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/restmapper.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/restmapper.go @@ -22,8 +22,8 @@ import ( "sort" "strings" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // Implements RESTScope interface diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/unstructured.go b/staging/src/k8s.io/client-go/pkg/api/meta/unstructured.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/pkg/api/meta/unstructured.go rename to staging/src/k8s.io/client-go/pkg/api/meta/unstructured.go index fef6e86d03a..cb5a4e35ac0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/meta/unstructured.go +++ b/staging/src/k8s.io/client-go/pkg/api/meta/unstructured.go @@ -17,8 +17,8 @@ limitations under the License. package meta import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // InterfacesForUnstructured returns VersionInterfaces suitable for diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/ref.go b/staging/src/k8s.io/client-go/pkg/api/ref.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/ref.go rename to staging/src/k8s.io/client-go/pkg/api/ref.go index d25b4dc185a..afa80004a4b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/ref.go +++ b/staging/src/k8s.io/client-go/pkg/api/ref.go @@ -22,9 +22,9 @@ import ( "net/url" "strings" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/register.go b/staging/src/k8s.io/client-go/pkg/api/register.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/register.go rename to staging/src/k8s.io/client-go/pkg/api/register.go index 46addba88aa..d5533b40c34 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/register.go +++ b/staging/src/k8s.io/client-go/pkg/api/register.go @@ -17,9 +17,9 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer" ) // Scheme is the default instance of runtime.Scheme to which types in the Kubernetes API are already registered. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/requestcontext.go b/staging/src/k8s.io/client-go/pkg/api/requestcontext.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/requestcontext.go rename to staging/src/k8s.io/client-go/pkg/api/requestcontext.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/amount.go b/staging/src/k8s.io/client-go/pkg/api/resource/amount.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/amount.go rename to staging/src/k8s.io/client-go/pkg/api/resource/amount.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/generated.pb.go b/staging/src/k8s.io/client-go/pkg/api/resource/generated.pb.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/api/resource/generated.pb.go index 10fe6f07bbb..f591559d448 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/api/resource/generated.pb.go @@ -47,7 +47,7 @@ func (*Quantity) ProtoMessage() {} func (*Quantity) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func init() { - proto.RegisterType((*Quantity)(nil), "k8s.io.client-go.1.5.pkg.api.resource.Quantity") + proto.RegisterType((*Quantity)(nil), "k8s.io.client-go.pkg.api.resource.Quantity") } var fileDescriptorGenerated = []byte{ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/generated.proto b/staging/src/k8s.io/client-go/pkg/api/resource/generated.proto similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/generated.proto rename to staging/src/k8s.io/client-go/pkg/api/resource/generated.proto index c26921d57d5..a125e3aee95 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/api/resource/generated.proto @@ -21,7 +21,7 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.resource; -import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; +import "k8s.io/client-go/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "resource"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/math.go b/staging/src/k8s.io/client-go/pkg/api/resource/math.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/math.go rename to staging/src/k8s.io/client-go/pkg/api/resource/math.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/quantity.go b/staging/src/k8s.io/client-go/pkg/api/resource/quantity.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/quantity.go rename to staging/src/k8s.io/client-go/pkg/api/resource/quantity.go index df8bcd51017..d0a4a4019ec 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/quantity.go +++ b/staging/src/k8s.io/client-go/pkg/api/resource/quantity.go @@ -29,7 +29,7 @@ import ( "github.com/go-openapi/spec" inf "gopkg.in/inf.v0" - "k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common" + "k8s.io/client-go/pkg/genericapiserver/openapi/common" ) // Quantity is a fixed-point representation of a number. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/quantity_proto.go b/staging/src/k8s.io/client-go/pkg/api/resource/quantity_proto.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/quantity_proto.go rename to staging/src/k8s.io/client-go/pkg/api/resource/quantity_proto.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/scale_int.go b/staging/src/k8s.io/client-go/pkg/api/resource/scale_int.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/scale_int.go rename to staging/src/k8s.io/client-go/pkg/api/resource/scale_int.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource/suffix.go b/staging/src/k8s.io/client-go/pkg/api/resource/suffix.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource/suffix.go rename to staging/src/k8s.io/client-go/pkg/api/resource/suffix.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/resource_helpers.go b/staging/src/k8s.io/client-go/pkg/api/resource_helpers.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/api/resource_helpers.go rename to staging/src/k8s.io/client-go/pkg/api/resource_helpers.go index 37b77c8c37c..3d78fc892a7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/resource_helpers.go +++ b/staging/src/k8s.io/client-go/pkg/api/resource_helpers.go @@ -17,8 +17,10 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "time" + + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" ) // Returns string version of ResourceName. @@ -74,6 +76,24 @@ func GetExistingContainerStatus(statuses []ContainerStatus, name string) Contain return ContainerStatus{} } +// IsPodAvailable returns true if a pod is available; false otherwise. +// Precondition for an available pod is that it must be ready. On top +// of that, there are two cases when a pod can be considered available: +// 1. minReadySeconds == 0, or +// 2. LastTransitionTime (is set) + minReadySeconds < current time +func IsPodAvailable(pod *Pod, minReadySeconds int32, now unversioned.Time) bool { + if !IsPodReady(pod) { + return false + } + + c := GetPodReadyCondition(pod.Status) + minReadySecondsDuration := time.Duration(minReadySeconds) * time.Second + if minReadySeconds == 0 || !c.LastTransitionTime.IsZero() && c.LastTransitionTime.Add(minReadySecondsDuration).Before(now.Time) { + return true + } + return false +} + // IsPodReady returns true if a pod is ready; false otherwise. func IsPodReady(pod *Pod) bool { return IsPodReadyConditionTrue(pod.Status) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/testapi/testapi.go b/staging/src/k8s.io/client-go/pkg/api/testapi/testapi.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/api/testapi/testapi.go rename to staging/src/k8s.io/client-go/pkg/api/testapi/testapi.go index 7ef6b01f13a..f60a357c261 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/testapi/testapi.go +++ b/staging/src/k8s.io/client-go/pkg/api/testapi/testapi.go @@ -30,37 +30,39 @@ import ( "reflect" "strings" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/apis/apps" - "k8s.io/client-go/1.5/pkg/apis/autoscaling" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/apis/certificates" - "k8s.io/client-go/1.5/pkg/apis/extensions" - "k8s.io/client-go/1.5/pkg/apis/imagepolicy" - "k8s.io/client-go/1.5/pkg/apis/policy" - "k8s.io/client-go/1.5/pkg/apis/rbac" - "k8s.io/client-go/1.5/pkg/apis/storage" - "k8s.io/client-go/1.5/pkg/federation/apis/federation" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer" + "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/apimachinery/registered" + "k8s.io/client-go/pkg/apis/apps" + "k8s.io/client-go/pkg/apis/autoscaling" + "k8s.io/client-go/pkg/apis/batch" + "k8s.io/client-go/pkg/apis/certificates" + "k8s.io/client-go/pkg/apis/extensions" + "k8s.io/client-go/pkg/apis/imagepolicy" + "k8s.io/client-go/pkg/apis/kubeadm" + "k8s.io/client-go/pkg/apis/policy" + "k8s.io/client-go/pkg/apis/rbac" + "k8s.io/client-go/pkg/apis/storage" + "k8s.io/client-go/pkg/federation/apis/federation" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/recognizer" - _ "k8s.io/client-go/1.5/pkg/api/install" - _ "k8s.io/client-go/1.5/pkg/apis/apps/install" - _ "k8s.io/client-go/1.5/pkg/apis/authentication/install" - _ "k8s.io/client-go/1.5/pkg/apis/authorization/install" - _ "k8s.io/client-go/1.5/pkg/apis/autoscaling/install" - _ "k8s.io/client-go/1.5/pkg/apis/batch/install" - _ "k8s.io/client-go/1.5/pkg/apis/certificates/install" - _ "k8s.io/client-go/1.5/pkg/apis/componentconfig/install" - _ "k8s.io/client-go/1.5/pkg/apis/extensions/install" - _ "k8s.io/client-go/1.5/pkg/apis/imagepolicy/install" - _ "k8s.io/client-go/1.5/pkg/apis/policy/install" - _ "k8s.io/client-go/1.5/pkg/apis/rbac/install" - _ "k8s.io/client-go/1.5/pkg/apis/storage/install" - _ "k8s.io/client-go/1.5/pkg/federation/apis/federation/install" + _ "k8s.io/client-go/pkg/api/install" + _ "k8s.io/client-go/pkg/apis/apps/install" + _ "k8s.io/client-go/pkg/apis/authentication/install" + _ "k8s.io/client-go/pkg/apis/authorization/install" + _ "k8s.io/client-go/pkg/apis/autoscaling/install" + _ "k8s.io/client-go/pkg/apis/batch/install" + _ "k8s.io/client-go/pkg/apis/certificates/install" + _ "k8s.io/client-go/pkg/apis/componentconfig/install" + _ "k8s.io/client-go/pkg/apis/extensions/install" + _ "k8s.io/client-go/pkg/apis/imagepolicy/install" + _ "k8s.io/client-go/pkg/apis/kubeadm/install" + _ "k8s.io/client-go/pkg/apis/policy/install" + _ "k8s.io/client-go/pkg/apis/rbac/install" + _ "k8s.io/client-go/pkg/apis/storage/install" + _ "k8s.io/client-go/pkg/federation/apis/federation/install" ) var ( @@ -247,7 +249,6 @@ func init() { externalTypes: api.Scheme.KnownTypes(externalGroupVersion), } } - if _, ok := Groups[imagepolicy.GroupName]; !ok { externalGroupVersion := unversioned.GroupVersion{Group: imagepolicy.GroupName, Version: registered.GroupOrDie(imagepolicy.GroupName).GroupVersion.Version} Groups[imagepolicy.GroupName] = TestGroup{ @@ -257,6 +258,15 @@ func init() { externalTypes: api.Scheme.KnownTypes(externalGroupVersion), } } + if _, ok := Groups[kubeadm.GroupName]; !ok { + externalGroupVersion := unversioned.GroupVersion{Group: kubeadm.GroupName, Version: registered.GroupOrDie(kubeadm.GroupName).GroupVersion.Version} + Groups[kubeadm.GroupName] = TestGroup{ + externalGroupVersion: externalGroupVersion, + internalGroupVersion: kubeadm.SchemeGroupVersion, + internalTypes: api.Scheme.KnownTypes(kubeadm.SchemeGroupVersion), + externalTypes: api.Scheme.KnownTypes(externalGroupVersion), + } + } Default = Groups[api.GroupName] Autoscaling = Groups[autoscaling.GroupName] diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/types.generated.go b/staging/src/k8s.io/client-go/pkg/api/types.generated.go similarity index 72% rename from staging/src/k8s.io/client-go/1.5/pkg/api/types.generated.go rename to staging/src/k8s.io/client-go/pkg/api/types.generated.go index bb4c8e5731e..f192baf9cb5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/api/types.generated.go @@ -25,13 +25,13 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg3_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg6_fields "k8s.io/client-go/1.5/pkg/fields" - pkg5_labels "k8s.io/client-go/1.5/pkg/labels" - pkg7_runtime "k8s.io/client-go/1.5/pkg/runtime" - pkg1_types "k8s.io/client-go/1.5/pkg/types" - pkg4_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg3_resource "k8s.io/client-go/pkg/api/resource" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg6_fields "k8s.io/client-go/pkg/fields" + pkg5_labels "k8s.io/client-go/pkg/labels" + pkg7_runtime "k8s.io/client-go/pkg/runtime" + pkg1_types "k8s.io/client-go/pkg/types" + pkg4_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" @@ -14203,14 +14203,16 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep991 := !z.EncBinary() yy2arr991 := z.EncBasicHandle().StructToArray - var yyq991 [1]bool + var yyq991 [2]bool _, _, _ = yysep991, yyq991, yy2arr991 const yyr991 bool = false + yyq991[0] = x.DatasetName != "" + yyq991[1] = x.DatasetUUID != "" var yynn991 int if yyr991 || yy2arr991 { - r.EncodeArrayStart(1) + r.EncodeArrayStart(2) } else { - yynn991 = 1 + yynn991 = 0 for _, b := range yyq991 { if b { yynn991++ @@ -14221,21 +14223,52 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr991 || yy2arr991 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym993 := z.EncBinary() - _ = yym993 - if false { + if yyq991[0] { + yym993 := z.EncBinary() + _ = yym993 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("datasetName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym994 := z.EncBinary() - _ = yym994 - if false { + if yyq991[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("datasetName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym994 := z.EncBinary() + _ = yym994 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + } + } + } + if yyr991 || yy2arr991 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq991[1] { + yym996 := z.EncBinary() + _ = yym996 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetUUID)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq991[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("datasetUUID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym997 := z.EncBinary() + _ = yym997 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetUUID)) + } } } if yyr991 || yy2arr991 { @@ -14251,25 +14284,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym995 := z.DecBinary() - _ = yym995 + yym998 := z.DecBinary() + _ = yym998 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct996 := r.ContainerType() - if yyct996 == codecSelferValueTypeMap1234 { - yyl996 := r.ReadMapStart() - if yyl996 == 0 { + yyct999 := r.ContainerType() + if yyct999 == codecSelferValueTypeMap1234 { + yyl999 := r.ReadMapStart() + if yyl999 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl996, d) + x.codecDecodeSelfFromMap(yyl999, d) } - } else if yyct996 == codecSelferValueTypeArray1234 { - yyl996 := r.ReadArrayStart() - if yyl996 == 0 { + } else if yyct999 == codecSelferValueTypeArray1234 { + yyl999 := r.ReadArrayStart() + if yyl999 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl996, d) + x.codecDecodeSelfFromArray(yyl999, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14281,12 +14314,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys997Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys997Slc - var yyhl997 bool = l >= 0 - for yyj997 := 0; ; yyj997++ { - if yyhl997 { - if yyj997 >= l { + var yys1000Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1000Slc + var yyhl1000 bool = l >= 0 + for yyj1000 := 0; ; yyj1000++ { + if yyhl1000 { + if yyj1000 >= l { break } } else { @@ -14295,20 +14328,26 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys997Slc = r.DecodeBytes(yys997Slc, true, true) - yys997 := string(yys997Slc) + yys1000Slc = r.DecodeBytes(yys1000Slc, true, true) + yys1000 := string(yys1000Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys997 { + switch yys1000 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" } else { x.DatasetName = string(r.DecodeString()) } + case "datasetUUID": + if r.TryDecodeAsNil() { + x.DatasetUUID = "" + } else { + x.DatasetUUID = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys997) - } // end switch yys997 - } // end for yyj997 + z.DecStructFieldNotFound(-1, yys1000) + } // end switch yys1000 + } // end for yyj1000 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14316,16 +14355,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj999 int - var yyb999 bool - var yyhl999 bool = l >= 0 - yyj999++ - if yyhl999 { - yyb999 = yyj999 > l + var yyj1003 int + var yyb1003 bool + var yyhl1003 bool = l >= 0 + yyj1003++ + if yyhl1003 { + yyb1003 = yyj1003 > l } else { - yyb999 = r.CheckBreak() + yyb1003 = r.CheckBreak() } - if yyb999 { + if yyb1003 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14335,18 +14374,34 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.DatasetName = string(r.DecodeString()) } + yyj1003++ + if yyhl1003 { + yyb1003 = yyj1003 > l + } else { + yyb1003 = r.CheckBreak() + } + if yyb1003 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DatasetUUID = "" + } else { + x.DatasetUUID = string(r.DecodeString()) + } for { - yyj999++ - if yyhl999 { - yyb999 = yyj999 > l + yyj1003++ + if yyhl1003 { + yyb1003 = yyj1003 > l } else { - yyb999 = r.CheckBreak() + yyb1003 = r.CheckBreak() } - if yyb999 { + if yyb1003 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj999-1, "") + z.DecStructFieldNotFound(yyj1003-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14358,39 +14413,39 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1001 := z.EncBinary() - _ = yym1001 + yym1006 := z.EncBinary() + _ = yym1006 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1002 := !z.EncBinary() - yy2arr1002 := z.EncBasicHandle().StructToArray - var yyq1002 [2]bool - _, _, _ = yysep1002, yyq1002, yy2arr1002 - const yyr1002 bool = false - yyq1002[0] = len(x.Items) != 0 - yyq1002[1] = x.DefaultMode != nil - var yynn1002 int - if yyr1002 || yy2arr1002 { + yysep1007 := !z.EncBinary() + yy2arr1007 := z.EncBasicHandle().StructToArray + var yyq1007 [2]bool + _, _, _ = yysep1007, yyq1007, yy2arr1007 + const yyr1007 bool = false + yyq1007[0] = len(x.Items) != 0 + yyq1007[1] = x.DefaultMode != nil + var yynn1007 int + if yyr1007 || yy2arr1007 { r.EncodeArrayStart(2) } else { - yynn1002 = 0 - for _, b := range yyq1002 { + yynn1007 = 0 + for _, b := range yyq1007 { if b { - yynn1002++ + yynn1007++ } } - r.EncodeMapStart(yynn1002) - yynn1002 = 0 + r.EncodeMapStart(yynn1007) + yynn1007 = 0 } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1002[0] { + if yyq1007[0] { if x.Items == nil { r.EncodeNil() } else { - yym1004 := z.EncBinary() - _ = yym1004 + yym1009 := z.EncBinary() + _ = yym1009 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -14400,15 +14455,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1002[0] { + if yyq1007[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1005 := z.EncBinary() - _ = yym1005 + yym1010 := z.EncBinary() + _ = yym1010 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -14416,42 +14471,42 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1002[1] { + if yyq1007[1] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy1007 := *x.DefaultMode - yym1008 := z.EncBinary() - _ = yym1008 + yy1012 := *x.DefaultMode + yym1013 := z.EncBinary() + _ = yym1013 if false { } else { - r.EncodeInt(int64(yy1007)) + r.EncodeInt(int64(yy1012)) } } } else { r.EncodeNil() } } else { - if yyq1002[1] { + if yyq1007[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy1009 := *x.DefaultMode - yym1010 := z.EncBinary() - _ = yym1010 + yy1014 := *x.DefaultMode + yym1015 := z.EncBinary() + _ = yym1015 if false { } else { - r.EncodeInt(int64(yy1009)) + r.EncodeInt(int64(yy1014)) } } } } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14464,25 +14519,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1011 := z.DecBinary() - _ = yym1011 + yym1016 := z.DecBinary() + _ = yym1016 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1012 := r.ContainerType() - if yyct1012 == codecSelferValueTypeMap1234 { - yyl1012 := r.ReadMapStart() - if yyl1012 == 0 { + yyct1017 := r.ContainerType() + if yyct1017 == codecSelferValueTypeMap1234 { + yyl1017 := r.ReadMapStart() + if yyl1017 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1012, d) + x.codecDecodeSelfFromMap(yyl1017, d) } - } else if yyct1012 == codecSelferValueTypeArray1234 { - yyl1012 := r.ReadArrayStart() - if yyl1012 == 0 { + } else if yyct1017 == codecSelferValueTypeArray1234 { + yyl1017 := r.ReadArrayStart() + if yyl1017 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1012, d) + x.codecDecodeSelfFromArray(yyl1017, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14494,12 +14549,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1013Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1013Slc - var yyhl1013 bool = l >= 0 - for yyj1013 := 0; ; yyj1013++ { - if yyhl1013 { - if yyj1013 >= l { + var yys1018Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1018Slc + var yyhl1018 bool = l >= 0 + for yyj1018 := 0; ; yyj1018++ { + if yyhl1018 { + if yyj1018 >= l { break } } else { @@ -14508,20 +14563,20 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1013Slc = r.DecodeBytes(yys1013Slc, true, true) - yys1013 := string(yys1013Slc) + yys1018Slc = r.DecodeBytes(yys1018Slc, true, true) + yys1018 := string(yys1018Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1013 { + switch yys1018 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1014 := &x.Items - yym1015 := z.DecBinary() - _ = yym1015 + yyv1019 := &x.Items + yym1020 := z.DecBinary() + _ = yym1020 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv1014), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv1019), d) } } case "defaultMode": @@ -14533,17 +14588,17 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1017 := z.DecBinary() - _ = yym1017 + yym1022 := z.DecBinary() + _ = yym1022 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1013) - } // end switch yys1013 - } // end for yyj1013 + z.DecStructFieldNotFound(-1, yys1018) + } // end switch yys1018 + } // end for yyj1018 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14551,16 +14606,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1018 int - var yyb1018 bool - var yyhl1018 bool = l >= 0 - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + var yyj1023 int + var yyb1023 bool + var yyhl1023 bool = l >= 0 + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14568,21 +14623,21 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1019 := &x.Items - yym1020 := z.DecBinary() - _ = yym1020 + yyv1024 := &x.Items + yym1025 := z.DecBinary() + _ = yym1025 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv1019), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv1024), d) } } - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14595,25 +14650,25 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1022 := z.DecBinary() - _ = yym1022 + yym1027 := z.DecBinary() + _ = yym1027 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1018-1, "") + z.DecStructFieldNotFound(yyj1023-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14625,36 +14680,36 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1023 := z.EncBinary() - _ = yym1023 + yym1028 := z.EncBinary() + _ = yym1028 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1024 := !z.EncBinary() - yy2arr1024 := z.EncBasicHandle().StructToArray - var yyq1024 [4]bool - _, _, _ = yysep1024, yyq1024, yy2arr1024 - const yyr1024 bool = false - yyq1024[1] = x.FieldRef != nil - yyq1024[2] = x.ResourceFieldRef != nil - yyq1024[3] = x.Mode != nil - var yynn1024 int - if yyr1024 || yy2arr1024 { + yysep1029 := !z.EncBinary() + yy2arr1029 := z.EncBasicHandle().StructToArray + var yyq1029 [4]bool + _, _, _ = yysep1029, yyq1029, yy2arr1029 + const yyr1029 bool = false + yyq1029[1] = x.FieldRef != nil + yyq1029[2] = x.ResourceFieldRef != nil + yyq1029[3] = x.Mode != nil + var yynn1029 int + if yyr1029 || yy2arr1029 { r.EncodeArrayStart(4) } else { - yynn1024 = 1 - for _, b := range yyq1024 { + yynn1029 = 1 + for _, b := range yyq1029 { if b { - yynn1024++ + yynn1029++ } } - r.EncodeMapStart(yynn1024) - yynn1024 = 0 + r.EncodeMapStart(yynn1029) + yynn1029 = 0 } - if yyr1024 || yy2arr1024 { + if yyr1029 || yy2arr1029 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1026 := z.EncBinary() - _ = yym1026 + yym1031 := z.EncBinary() + _ = yym1031 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -14663,16 +14718,16 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1027 := z.EncBinary() - _ = yym1027 + yym1032 := z.EncBinary() + _ = yym1032 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr1024 || yy2arr1024 { + if yyr1029 || yy2arr1029 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1024[1] { + if yyq1029[1] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -14682,7 +14737,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1024[1] { + if yyq1029[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -14693,9 +14748,9 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1024 || yy2arr1024 { + if yyr1029 || yy2arr1029 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1024[2] { + if yyq1029[2] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -14705,7 +14760,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1024[2] { + if yyq1029[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -14716,42 +14771,42 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1024 || yy2arr1024 { + if yyr1029 || yy2arr1029 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1024[3] { + if yyq1029[3] { if x.Mode == nil { r.EncodeNil() } else { - yy1031 := *x.Mode - yym1032 := z.EncBinary() - _ = yym1032 + yy1036 := *x.Mode + yym1037 := z.EncBinary() + _ = yym1037 if false { } else { - r.EncodeInt(int64(yy1031)) + r.EncodeInt(int64(yy1036)) } } } else { r.EncodeNil() } } else { - if yyq1024[3] { + if yyq1029[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy1033 := *x.Mode - yym1034 := z.EncBinary() - _ = yym1034 + yy1038 := *x.Mode + yym1039 := z.EncBinary() + _ = yym1039 if false { } else { - r.EncodeInt(int64(yy1033)) + r.EncodeInt(int64(yy1038)) } } } } - if yyr1024 || yy2arr1024 { + if yyr1029 || yy2arr1029 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14764,25 +14819,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1035 := z.DecBinary() - _ = yym1035 + yym1040 := z.DecBinary() + _ = yym1040 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1036 := r.ContainerType() - if yyct1036 == codecSelferValueTypeMap1234 { - yyl1036 := r.ReadMapStart() - if yyl1036 == 0 { + yyct1041 := r.ContainerType() + if yyct1041 == codecSelferValueTypeMap1234 { + yyl1041 := r.ReadMapStart() + if yyl1041 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1036, d) + x.codecDecodeSelfFromMap(yyl1041, d) } - } else if yyct1036 == codecSelferValueTypeArray1234 { - yyl1036 := r.ReadArrayStart() - if yyl1036 == 0 { + } else if yyct1041 == codecSelferValueTypeArray1234 { + yyl1041 := r.ReadArrayStart() + if yyl1041 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1036, d) + x.codecDecodeSelfFromArray(yyl1041, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14794,12 +14849,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1037Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1037Slc - var yyhl1037 bool = l >= 0 - for yyj1037 := 0; ; yyj1037++ { - if yyhl1037 { - if yyj1037 >= l { + var yys1042Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1042Slc + var yyhl1042 bool = l >= 0 + for yyj1042 := 0; ; yyj1042++ { + if yyhl1042 { + if yyj1042 >= l { break } } else { @@ -14808,10 +14863,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1037Slc = r.DecodeBytes(yys1037Slc, true, true) - yys1037 := string(yys1037Slc) + yys1042Slc = r.DecodeBytes(yys1042Slc, true, true) + yys1042 := string(yys1042Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1037 { + switch yys1042 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -14849,17 +14904,17 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.Mode == nil { x.Mode = new(int32) } - yym1042 := z.DecBinary() - _ = yym1042 + yym1047 := z.DecBinary() + _ = yym1047 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1037) - } // end switch yys1037 - } // end for yyj1037 + z.DecStructFieldNotFound(-1, yys1042) + } // end switch yys1042 + } // end for yyj1042 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14867,16 +14922,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1043 int - var yyb1043 bool - var yyhl1043 bool = l >= 0 - yyj1043++ - if yyhl1043 { - yyb1043 = yyj1043 > l + var yyj1048 int + var yyb1048 bool + var yyhl1048 bool = l >= 0 + yyj1048++ + if yyhl1048 { + yyb1048 = yyj1048 > l } else { - yyb1043 = r.CheckBreak() + yyb1048 = r.CheckBreak() } - if yyb1043 { + if yyb1048 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14886,13 +14941,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj1043++ - if yyhl1043 { - yyb1043 = yyj1043 > l + yyj1048++ + if yyhl1048 { + yyb1048 = yyj1048 > l } else { - yyb1043 = r.CheckBreak() + yyb1048 = r.CheckBreak() } - if yyb1043 { + if yyb1048 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14907,13 +14962,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.FieldRef.CodecDecodeSelf(d) } - yyj1043++ - if yyhl1043 { - yyb1043 = yyj1043 > l + yyj1048++ + if yyhl1048 { + yyb1048 = yyj1048 > l } else { - yyb1043 = r.CheckBreak() + yyb1048 = r.CheckBreak() } - if yyb1043 { + if yyb1048 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14928,13 +14983,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj1043++ - if yyhl1043 { - yyb1043 = yyj1043 > l + yyj1048++ + if yyhl1048 { + yyb1048 = yyj1048 > l } else { - yyb1043 = r.CheckBreak() + yyb1048 = r.CheckBreak() } - if yyb1043 { + if yyb1048 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14947,25 +15002,25 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.Mode == nil { x.Mode = new(int32) } - yym1048 := z.DecBinary() - _ = yym1048 + yym1053 := z.DecBinary() + _ = yym1053 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj1043++ - if yyhl1043 { - yyb1043 = yyj1043 > l + yyj1048++ + if yyhl1048 { + yyb1048 = yyj1048 > l } else { - yyb1043 = r.CheckBreak() + yyb1048 = r.CheckBreak() } - if yyb1043 { + if yyb1048 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1043-1, "") + z.DecStructFieldNotFound(yyj1048-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14977,34 +15032,34 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1049 := z.EncBinary() - _ = yym1049 + yym1054 := z.EncBinary() + _ = yym1054 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1050 := !z.EncBinary() - yy2arr1050 := z.EncBasicHandle().StructToArray - var yyq1050 [3]bool - _, _, _ = yysep1050, yyq1050, yy2arr1050 - const yyr1050 bool = false - yyq1050[2] = x.ReadOnly != false - var yynn1050 int - if yyr1050 || yy2arr1050 { + yysep1055 := !z.EncBinary() + yy2arr1055 := z.EncBasicHandle().StructToArray + var yyq1055 [3]bool + _, _, _ = yysep1055, yyq1055, yy2arr1055 + const yyr1055 bool = false + yyq1055[2] = x.ReadOnly != false + var yynn1055 int + if yyr1055 || yy2arr1055 { r.EncodeArrayStart(3) } else { - yynn1050 = 2 - for _, b := range yyq1050 { + yynn1055 = 2 + for _, b := range yyq1055 { if b { - yynn1050++ + yynn1055++ } } - r.EncodeMapStart(yynn1050) - yynn1050 = 0 + r.EncodeMapStart(yynn1055) + yynn1055 = 0 } - if yyr1050 || yy2arr1050 { + if yyr1055 || yy2arr1055 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1052 := z.EncBinary() - _ = yym1052 + yym1057 := z.EncBinary() + _ = yym1057 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -15013,17 +15068,17 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1053 := z.EncBinary() - _ = yym1053 + yym1058 := z.EncBinary() + _ = yym1058 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr1050 || yy2arr1050 { + if yyr1055 || yy2arr1055 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1055 := z.EncBinary() - _ = yym1055 + yym1060 := z.EncBinary() + _ = yym1060 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) @@ -15032,18 +15087,18 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("shareName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1056 := z.EncBinary() - _ = yym1056 + yym1061 := z.EncBinary() + _ = yym1061 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) } } - if yyr1050 || yy2arr1050 { + if yyr1055 || yy2arr1055 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1050[2] { - yym1058 := z.EncBinary() - _ = yym1058 + if yyq1055[2] { + yym1063 := z.EncBinary() + _ = yym1063 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -15052,19 +15107,19 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1050[2] { + if yyq1055[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1059 := z.EncBinary() - _ = yym1059 + yym1064 := z.EncBinary() + _ = yym1064 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr1050 || yy2arr1050 { + if yyr1055 || yy2arr1055 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15077,25 +15132,25 @@ func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1060 := z.DecBinary() - _ = yym1060 + yym1065 := z.DecBinary() + _ = yym1065 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1061 := r.ContainerType() - if yyct1061 == codecSelferValueTypeMap1234 { - yyl1061 := r.ReadMapStart() - if yyl1061 == 0 { + yyct1066 := r.ContainerType() + if yyct1066 == codecSelferValueTypeMap1234 { + yyl1066 := r.ReadMapStart() + if yyl1066 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1061, d) + x.codecDecodeSelfFromMap(yyl1066, d) } - } else if yyct1061 == codecSelferValueTypeArray1234 { - yyl1061 := r.ReadArrayStart() - if yyl1061 == 0 { + } else if yyct1066 == codecSelferValueTypeArray1234 { + yyl1066 := r.ReadArrayStart() + if yyl1066 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1061, d) + x.codecDecodeSelfFromArray(yyl1066, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15107,12 +15162,12 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1062Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1062Slc - var yyhl1062 bool = l >= 0 - for yyj1062 := 0; ; yyj1062++ { - if yyhl1062 { - if yyj1062 >= l { + var yys1067Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1067Slc + var yyhl1067 bool = l >= 0 + for yyj1067 := 0; ; yyj1067++ { + if yyhl1067 { + if yyj1067 >= l { break } } else { @@ -15121,10 +15176,10 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1062Slc = r.DecodeBytes(yys1062Slc, true, true) - yys1062 := string(yys1062Slc) + yys1067Slc = r.DecodeBytes(yys1067Slc, true, true) + yys1067 := string(yys1067Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1062 { + switch yys1067 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -15144,9 +15199,9 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1062) - } // end switch yys1062 - } // end for yyj1062 + z.DecStructFieldNotFound(-1, yys1067) + } // end switch yys1067 + } // end for yyj1067 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15154,16 +15209,16 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1066 int - var yyb1066 bool - var yyhl1066 bool = l >= 0 - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + var yyj1071 int + var yyb1071 bool + var yyhl1071 bool = l >= 0 + yyj1071++ + if yyhl1071 { + yyb1071 = yyj1071 > l } else { - yyb1066 = r.CheckBreak() + yyb1071 = r.CheckBreak() } - if yyb1066 { + if yyb1071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15173,13 +15228,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.SecretName = string(r.DecodeString()) } - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + yyj1071++ + if yyhl1071 { + yyb1071 = yyj1071 > l } else { - yyb1066 = r.CheckBreak() + yyb1071 = r.CheckBreak() } - if yyb1066 { + if yyb1071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15189,13 +15244,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ShareName = string(r.DecodeString()) } - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + yyj1071++ + if yyhl1071 { + yyb1071 = yyj1071 > l } else { - yyb1066 = r.CheckBreak() + yyb1071 = r.CheckBreak() } - if yyb1066 { + if yyb1071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15206,17 +15261,17 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj1066++ - if yyhl1066 { - yyb1066 = yyj1066 > l + yyj1071++ + if yyhl1071 { + yyb1071 = yyj1071 > l } else { - yyb1066 = r.CheckBreak() + yyb1071 = r.CheckBreak() } - if yyb1066 { + if yyb1071 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1066-1, "") + z.DecStructFieldNotFound(yyj1071-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15228,34 +15283,34 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1070 := z.EncBinary() - _ = yym1070 + yym1075 := z.EncBinary() + _ = yym1075 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1071 := !z.EncBinary() - yy2arr1071 := z.EncBasicHandle().StructToArray - var yyq1071 [2]bool - _, _, _ = yysep1071, yyq1071, yy2arr1071 - const yyr1071 bool = false - yyq1071[1] = x.FSType != "" - var yynn1071 int - if yyr1071 || yy2arr1071 { + yysep1076 := !z.EncBinary() + yy2arr1076 := z.EncBasicHandle().StructToArray + var yyq1076 [2]bool + _, _, _ = yysep1076, yyq1076, yy2arr1076 + const yyr1076 bool = false + yyq1076[1] = x.FSType != "" + var yynn1076 int + if yyr1076 || yy2arr1076 { r.EncodeArrayStart(2) } else { - yynn1071 = 1 - for _, b := range yyq1071 { + yynn1076 = 1 + for _, b := range yyq1076 { if b { - yynn1071++ + yynn1076++ } } - r.EncodeMapStart(yynn1071) - yynn1071 = 0 + r.EncodeMapStart(yynn1076) + yynn1076 = 0 } - if yyr1071 || yy2arr1071 { + if yyr1076 || yy2arr1076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1073 := z.EncBinary() - _ = yym1073 + yym1078 := z.EncBinary() + _ = yym1078 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) @@ -15264,18 +15319,18 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1074 := z.EncBinary() - _ = yym1074 + yym1079 := z.EncBinary() + _ = yym1079 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) } } - if yyr1071 || yy2arr1071 { + if yyr1076 || yy2arr1076 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1071[1] { - yym1076 := z.EncBinary() - _ = yym1076 + if yyq1076[1] { + yym1081 := z.EncBinary() + _ = yym1081 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -15284,19 +15339,19 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1071[1] { + if yyq1076[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1077 := z.EncBinary() - _ = yym1077 + yym1082 := z.EncBinary() + _ = yym1082 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr1071 || yy2arr1071 { + if yyr1076 || yy2arr1076 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15309,25 +15364,25 @@ func (x *VsphereVirtualDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1078 := z.DecBinary() - _ = yym1078 + yym1083 := z.DecBinary() + _ = yym1083 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1079 := r.ContainerType() - if yyct1079 == codecSelferValueTypeMap1234 { - yyl1079 := r.ReadMapStart() - if yyl1079 == 0 { + yyct1084 := r.ContainerType() + if yyct1084 == codecSelferValueTypeMap1234 { + yyl1084 := r.ReadMapStart() + if yyl1084 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1079, d) + x.codecDecodeSelfFromMap(yyl1084, d) } - } else if yyct1079 == codecSelferValueTypeArray1234 { - yyl1079 := r.ReadArrayStart() - if yyl1079 == 0 { + } else if yyct1084 == codecSelferValueTypeArray1234 { + yyl1084 := r.ReadArrayStart() + if yyl1084 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1079, d) + x.codecDecodeSelfFromArray(yyl1084, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15339,12 +15394,12 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1080Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1080Slc - var yyhl1080 bool = l >= 0 - for yyj1080 := 0; ; yyj1080++ { - if yyhl1080 { - if yyj1080 >= l { + var yys1085Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1085Slc + var yyhl1085 bool = l >= 0 + for yyj1085 := 0; ; yyj1085++ { + if yyhl1085 { + if yyj1085 >= l { break } } else { @@ -15353,10 +15408,10 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1080Slc = r.DecodeBytes(yys1080Slc, true, true) - yys1080 := string(yys1080Slc) + yys1085Slc = r.DecodeBytes(yys1085Slc, true, true) + yys1085 := string(yys1085Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1080 { + switch yys1085 { case "volumePath": if r.TryDecodeAsNil() { x.VolumePath = "" @@ -15370,9 +15425,9 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 x.FSType = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1080) - } // end switch yys1080 - } // end for yyj1080 + z.DecStructFieldNotFound(-1, yys1085) + } // end switch yys1085 + } // end for yyj1085 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15380,16 +15435,16 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1083 int - var yyb1083 bool - var yyhl1083 bool = l >= 0 - yyj1083++ - if yyhl1083 { - yyb1083 = yyj1083 > l + var yyj1088 int + var yyb1088 bool + var yyhl1088 bool = l >= 0 + yyj1088++ + if yyhl1088 { + yyb1088 = yyj1088 > l } else { - yyb1083 = r.CheckBreak() + yyb1088 = r.CheckBreak() } - if yyb1083 { + if yyb1088 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15399,13 +15454,13 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code } else { x.VolumePath = string(r.DecodeString()) } - yyj1083++ - if yyhl1083 { - yyb1083 = yyj1083 > l + yyj1088++ + if yyhl1088 { + yyb1088 = yyj1088 > l } else { - yyb1083 = r.CheckBreak() + yyb1088 = r.CheckBreak() } - if yyb1083 { + if yyb1088 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15416,17 +15471,17 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code x.FSType = string(r.DecodeString()) } for { - yyj1083++ - if yyhl1083 { - yyb1083 = yyj1083 > l + yyj1088++ + if yyhl1088 { + yyb1088 = yyj1088 > l } else { - yyb1083 = r.CheckBreak() + yyb1088 = r.CheckBreak() } - if yyb1083 { + if yyb1088 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1083-1, "") + z.DecStructFieldNotFound(yyj1088-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15435,8 +15490,8 @@ func (x AzureDataDiskCachingMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1086 := z.EncBinary() - _ = yym1086 + yym1091 := z.EncBinary() + _ = yym1091 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15448,8 +15503,8 @@ func (x *AzureDataDiskCachingMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1087 := z.DecBinary() - _ = yym1087 + yym1092 := z.DecBinary() + _ = yym1092 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15464,36 +15519,36 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1088 := z.EncBinary() - _ = yym1088 + yym1093 := z.EncBinary() + _ = yym1093 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1089 := !z.EncBinary() - yy2arr1089 := z.EncBasicHandle().StructToArray - var yyq1089 [5]bool - _, _, _ = yysep1089, yyq1089, yy2arr1089 - const yyr1089 bool = false - yyq1089[2] = x.CachingMode != nil - yyq1089[3] = x.FSType != nil - yyq1089[4] = x.ReadOnly != nil - var yynn1089 int - if yyr1089 || yy2arr1089 { + yysep1094 := !z.EncBinary() + yy2arr1094 := z.EncBasicHandle().StructToArray + var yyq1094 [5]bool + _, _, _ = yysep1094, yyq1094, yy2arr1094 + const yyr1094 bool = false + yyq1094[2] = x.CachingMode != nil + yyq1094[3] = x.FSType != nil + yyq1094[4] = x.ReadOnly != nil + var yynn1094 int + if yyr1094 || yy2arr1094 { r.EncodeArrayStart(5) } else { - yynn1089 = 2 - for _, b := range yyq1089 { + yynn1094 = 2 + for _, b := range yyq1094 { if b { - yynn1089++ + yynn1094++ } } - r.EncodeMapStart(yynn1089) - yynn1089 = 0 + r.EncodeMapStart(yynn1094) + yynn1094 = 0 } - if yyr1089 || yy2arr1089 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1091 := z.EncBinary() - _ = yym1091 + yym1096 := z.EncBinary() + _ = yym1096 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DiskName)) @@ -15502,17 +15557,17 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("diskName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1092 := z.EncBinary() - _ = yym1092 + yym1097 := z.EncBinary() + _ = yym1097 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DiskName)) } } - if yyr1089 || yy2arr1089 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1094 := z.EncBinary() - _ = yym1094 + yym1099 := z.EncBinary() + _ = yym1099 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DataDiskURI)) @@ -15521,109 +15576,109 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("diskURI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1095 := z.EncBinary() - _ = yym1095 + yym1100 := z.EncBinary() + _ = yym1100 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DataDiskURI)) } } - if yyr1089 || yy2arr1089 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1089[2] { + if yyq1094[2] { if x.CachingMode == nil { r.EncodeNil() } else { - yy1097 := *x.CachingMode - yy1097.CodecEncodeSelf(e) + yy1102 := *x.CachingMode + yy1102.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1089[2] { + if yyq1094[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cachingMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CachingMode == nil { r.EncodeNil() } else { - yy1098 := *x.CachingMode - yy1098.CodecEncodeSelf(e) + yy1103 := *x.CachingMode + yy1103.CodecEncodeSelf(e) } } } - if yyr1089 || yy2arr1089 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1089[3] { + if yyq1094[3] { if x.FSType == nil { r.EncodeNil() } else { - yy1100 := *x.FSType - yym1101 := z.EncBinary() - _ = yym1101 + yy1105 := *x.FSType + yym1106 := z.EncBinary() + _ = yym1106 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1100)) + r.EncodeString(codecSelferC_UTF81234, string(yy1105)) } } } else { r.EncodeNil() } } else { - if yyq1089[3] { + if yyq1094[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSType == nil { r.EncodeNil() } else { - yy1102 := *x.FSType - yym1103 := z.EncBinary() - _ = yym1103 + yy1107 := *x.FSType + yym1108 := z.EncBinary() + _ = yym1108 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1102)) + r.EncodeString(codecSelferC_UTF81234, string(yy1107)) } } } } - if yyr1089 || yy2arr1089 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1089[4] { + if yyq1094[4] { if x.ReadOnly == nil { r.EncodeNil() } else { - yy1105 := *x.ReadOnly - yym1106 := z.EncBinary() - _ = yym1106 + yy1110 := *x.ReadOnly + yym1111 := z.EncBinary() + _ = yym1111 if false { } else { - r.EncodeBool(bool(yy1105)) + r.EncodeBool(bool(yy1110)) } } } else { r.EncodeNil() } } else { - if yyq1089[4] { + if yyq1094[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnly == nil { r.EncodeNil() } else { - yy1107 := *x.ReadOnly - yym1108 := z.EncBinary() - _ = yym1108 + yy1112 := *x.ReadOnly + yym1113 := z.EncBinary() + _ = yym1113 if false { } else { - r.EncodeBool(bool(yy1107)) + r.EncodeBool(bool(yy1112)) } } } } - if yyr1089 || yy2arr1089 { + if yyr1094 || yy2arr1094 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15636,25 +15691,25 @@ func (x *AzureDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1109 := z.DecBinary() - _ = yym1109 + yym1114 := z.DecBinary() + _ = yym1114 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1110 := r.ContainerType() - if yyct1110 == codecSelferValueTypeMap1234 { - yyl1110 := r.ReadMapStart() - if yyl1110 == 0 { + yyct1115 := r.ContainerType() + if yyct1115 == codecSelferValueTypeMap1234 { + yyl1115 := r.ReadMapStart() + if yyl1115 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1110, d) + x.codecDecodeSelfFromMap(yyl1115, d) } - } else if yyct1110 == codecSelferValueTypeArray1234 { - yyl1110 := r.ReadArrayStart() - if yyl1110 == 0 { + } else if yyct1115 == codecSelferValueTypeArray1234 { + yyl1115 := r.ReadArrayStart() + if yyl1115 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1110, d) + x.codecDecodeSelfFromArray(yyl1115, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15666,12 +15721,12 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod 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 yys1116Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1116Slc + var yyhl1116 bool = l >= 0 + for yyj1116 := 0; ; yyj1116++ { + if yyhl1116 { + if yyj1116 >= l { break } } else { @@ -15680,10 +15735,10 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1111Slc = r.DecodeBytes(yys1111Slc, true, true) - yys1111 := string(yys1111Slc) + yys1116Slc = r.DecodeBytes(yys1116Slc, true, true) + yys1116 := string(yys1116Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1111 { + switch yys1116 { case "diskName": if r.TryDecodeAsNil() { x.DiskName = "" @@ -15716,8 +15771,8 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.FSType == nil { x.FSType = new(string) } - yym1116 := z.DecBinary() - _ = yym1116 + yym1121 := z.DecBinary() + _ = yym1121 if false { } else { *((*string)(x.FSType)) = r.DecodeString() @@ -15732,17 +15787,17 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.ReadOnly == nil { x.ReadOnly = new(bool) } - yym1118 := z.DecBinary() - _ = yym1118 + yym1123 := z.DecBinary() + _ = yym1123 if false { } else { *((*bool)(x.ReadOnly)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys1111) - } // end switch yys1111 - } // end for yyj1111 + z.DecStructFieldNotFound(-1, yys1116) + } // end switch yys1116 + } // end for yyj1116 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15750,16 +15805,16 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1119 int - var yyb1119 bool - var yyhl1119 bool = l >= 0 - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + var yyj1124 int + var yyb1124 bool + var yyhl1124 bool = l >= 0 + yyj1124++ + if yyhl1124 { + yyb1124 = yyj1124 > l } else { - yyb1119 = r.CheckBreak() + yyb1124 = r.CheckBreak() } - if yyb1119 { + if yyb1124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15769,13 +15824,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.DiskName = string(r.DecodeString()) } - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1124++ + if yyhl1124 { + yyb1124 = yyj1124 > l } else { - yyb1119 = r.CheckBreak() + yyb1124 = r.CheckBreak() } - if yyb1119 { + if yyb1124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15785,13 +15840,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.DataDiskURI = string(r.DecodeString()) } - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1124++ + if yyhl1124 { + yyb1124 = yyj1124 > l } else { - yyb1119 = r.CheckBreak() + yyb1124 = r.CheckBreak() } - if yyb1119 { + if yyb1124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15806,13 +15861,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.CachingMode.CodecDecodeSelf(d) } - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1124++ + if yyhl1124 { + yyb1124 = yyj1124 > l } else { - yyb1119 = r.CheckBreak() + yyb1124 = r.CheckBreak() } - if yyb1119 { + if yyb1124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15825,20 +15880,20 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.FSType == nil { x.FSType = new(string) } - yym1124 := z.DecBinary() - _ = yym1124 + yym1129 := z.DecBinary() + _ = yym1129 if false { } else { *((*string)(x.FSType)) = r.DecodeString() } } - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1124++ + if yyhl1124 { + yyb1124 = yyj1124 > l } else { - yyb1119 = r.CheckBreak() + yyb1124 = r.CheckBreak() } - if yyb1119 { + if yyb1124 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15851,25 +15906,25 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.ReadOnly == nil { x.ReadOnly = new(bool) } - yym1126 := z.DecBinary() - _ = yym1126 + yym1131 := z.DecBinary() + _ = yym1131 if false { } else { *((*bool)(x.ReadOnly)) = r.DecodeBool() } } for { - yyj1119++ - if yyhl1119 { - yyb1119 = yyj1119 > l + yyj1124++ + if yyhl1124 { + yyb1124 = yyj1124 > l } else { - yyb1119 = r.CheckBreak() + yyb1124 = r.CheckBreak() } - if yyb1119 { + if yyb1124 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1119-1, "") + z.DecStructFieldNotFound(yyj1124-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15881,35 +15936,35 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1127 := z.EncBinary() - _ = yym1127 + yym1132 := z.EncBinary() + _ = yym1132 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1128 := !z.EncBinary() - yy2arr1128 := z.EncBasicHandle().StructToArray - var yyq1128 [3]bool - _, _, _ = yysep1128, yyq1128, yy2arr1128 - const yyr1128 bool = false - yyq1128[1] = len(x.Items) != 0 - yyq1128[2] = x.DefaultMode != nil - var yynn1128 int - if yyr1128 || yy2arr1128 { + yysep1133 := !z.EncBinary() + yy2arr1133 := z.EncBasicHandle().StructToArray + var yyq1133 [3]bool + _, _, _ = yysep1133, yyq1133, yy2arr1133 + const yyr1133 bool = false + yyq1133[1] = len(x.Items) != 0 + yyq1133[2] = x.DefaultMode != nil + var yynn1133 int + if yyr1133 || yy2arr1133 { r.EncodeArrayStart(3) } else { - yynn1128 = 1 - for _, b := range yyq1128 { + yynn1133 = 1 + for _, b := range yyq1133 { if b { - yynn1128++ + yynn1133++ } } - r.EncodeMapStart(yynn1128) - yynn1128 = 0 + r.EncodeMapStart(yynn1133) + yynn1133 = 0 } - if yyr1128 || yy2arr1128 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1130 := z.EncBinary() - _ = yym1130 + yym1135 := z.EncBinary() + _ = yym1135 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15918,21 +15973,21 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1131 := z.EncBinary() - _ = yym1131 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1128 || yy2arr1128 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1128[1] { + if yyq1133[1] { if x.Items == nil { r.EncodeNil() } else { - yym1133 := z.EncBinary() - _ = yym1133 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -15942,15 +15997,15 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1128[1] { + if yyq1133[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1134 := z.EncBinary() - _ = yym1134 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -15958,42 +16013,42 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1128 || yy2arr1128 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1128[2] { + if yyq1133[2] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy1136 := *x.DefaultMode - yym1137 := z.EncBinary() - _ = yym1137 + yy1141 := *x.DefaultMode + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { - r.EncodeInt(int64(yy1136)) + r.EncodeInt(int64(yy1141)) } } } else { r.EncodeNil() } } else { - if yyq1128[2] { + if yyq1133[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy1138 := *x.DefaultMode - yym1139 := z.EncBinary() - _ = yym1139 + yy1143 := *x.DefaultMode + yym1144 := z.EncBinary() + _ = yym1144 if false { } else { - r.EncodeInt(int64(yy1138)) + r.EncodeInt(int64(yy1143)) } } } } - if yyr1128 || yy2arr1128 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16006,25 +16061,25 @@ func (x *ConfigMapVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1140 := z.DecBinary() - _ = yym1140 + yym1145 := z.DecBinary() + _ = yym1145 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1141 := r.ContainerType() - if yyct1141 == codecSelferValueTypeMap1234 { - yyl1141 := r.ReadMapStart() - if yyl1141 == 0 { + yyct1146 := r.ContainerType() + if yyct1146 == codecSelferValueTypeMap1234 { + yyl1146 := r.ReadMapStart() + if yyl1146 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1141, d) + x.codecDecodeSelfFromMap(yyl1146, d) } - } else if yyct1141 == codecSelferValueTypeArray1234 { - yyl1141 := r.ReadArrayStart() - if yyl1141 == 0 { + } else if yyct1146 == codecSelferValueTypeArray1234 { + yyl1146 := r.ReadArrayStart() + if yyl1146 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1141, d) + x.codecDecodeSelfFromArray(yyl1146, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16036,12 +16091,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod 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 { + var yys1147Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1147Slc + var yyhl1147 bool = l >= 0 + for yyj1147 := 0; ; yyj1147++ { + if yyhl1147 { + if yyj1147 >= l { break } } else { @@ -16050,10 +16105,10 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1142Slc = r.DecodeBytes(yys1142Slc, true, true) - yys1142 := string(yys1142Slc) + yys1147Slc = r.DecodeBytes(yys1147Slc, true, true) + yys1147 := string(yys1147Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1142 { + switch yys1147 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -16064,12 +16119,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1144 := &x.Items - yym1145 := z.DecBinary() - _ = yym1145 + yyv1149 := &x.Items + yym1150 := z.DecBinary() + _ = yym1150 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv1144), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv1149), d) } } case "defaultMode": @@ -16081,17 +16136,17 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1147 := z.DecBinary() - _ = yym1147 + yym1152 := z.DecBinary() + _ = yym1152 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1142) - } // end switch yys1142 - } // end for yyj1142 + z.DecStructFieldNotFound(-1, yys1147) + } // end switch yys1147 + } // end for yyj1147 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16099,16 +16154,16 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1148 int - var yyb1148 bool - var yyhl1148 bool = l >= 0 - yyj1148++ - if yyhl1148 { - yyb1148 = yyj1148 > l + var yyj1153 int + var yyb1153 bool + var yyhl1153 bool = l >= 0 + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1148 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1148 { + if yyb1153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16118,13 +16173,13 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Name = string(r.DecodeString()) } - yyj1148++ - if yyhl1148 { - yyb1148 = yyj1148 > l + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1148 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1148 { + if yyb1153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16132,21 +16187,21 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1150 := &x.Items - yym1151 := z.DecBinary() - _ = yym1151 + yyv1155 := &x.Items + yym1156 := z.DecBinary() + _ = yym1156 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv1150), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv1155), d) } } - yyj1148++ - if yyhl1148 { - yyb1148 = yyj1148 > l + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1148 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1148 { + if yyb1153 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16159,25 +16214,25 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1153 := z.DecBinary() - _ = yym1153 + yym1158 := z.DecBinary() + _ = yym1158 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj1148++ - if yyhl1148 { - yyb1148 = yyj1148 > l + yyj1153++ + if yyhl1153 { + yyb1153 = yyj1153 > l } else { - yyb1148 = r.CheckBreak() + yyb1153 = r.CheckBreak() } - if yyb1148 { + if yyb1153 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1148-1, "") + z.DecStructFieldNotFound(yyj1153-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16189,34 +16244,34 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1154 := z.EncBinary() - _ = yym1154 + yym1159 := z.EncBinary() + _ = yym1159 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1155 := !z.EncBinary() - yy2arr1155 := z.EncBasicHandle().StructToArray - var yyq1155 [3]bool - _, _, _ = yysep1155, yyq1155, yy2arr1155 - const yyr1155 bool = false - yyq1155[2] = x.Mode != nil - var yynn1155 int - if yyr1155 || yy2arr1155 { + yysep1160 := !z.EncBinary() + yy2arr1160 := z.EncBasicHandle().StructToArray + var yyq1160 [3]bool + _, _, _ = yysep1160, yyq1160, yy2arr1160 + const yyr1160 bool = false + yyq1160[2] = x.Mode != nil + var yynn1160 int + if yyr1160 || yy2arr1160 { r.EncodeArrayStart(3) } else { - yynn1155 = 2 - for _, b := range yyq1155 { + yynn1160 = 2 + for _, b := range yyq1160 { if b { - yynn1155++ + yynn1160++ } } - r.EncodeMapStart(yynn1155) - yynn1155 = 0 + r.EncodeMapStart(yynn1160) + yynn1160 = 0 } - if yyr1155 || yy2arr1155 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1157 := z.EncBinary() - _ = yym1157 + yym1162 := z.EncBinary() + _ = yym1162 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -16225,17 +16280,17 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1158 := z.EncBinary() - _ = yym1158 + yym1163 := z.EncBinary() + _ = yym1163 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1155 || yy2arr1155 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1160 := z.EncBinary() - _ = yym1160 + yym1165 := z.EncBinary() + _ = yym1165 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -16244,49 +16299,49 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1161 := z.EncBinary() - _ = yym1161 + yym1166 := z.EncBinary() + _ = yym1166 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr1155 || yy2arr1155 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1155[2] { + if yyq1160[2] { if x.Mode == nil { r.EncodeNil() } else { - yy1163 := *x.Mode - yym1164 := z.EncBinary() - _ = yym1164 + yy1168 := *x.Mode + yym1169 := z.EncBinary() + _ = yym1169 if false { } else { - r.EncodeInt(int64(yy1163)) + r.EncodeInt(int64(yy1168)) } } } else { r.EncodeNil() } } else { - if yyq1155[2] { + if yyq1160[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy1165 := *x.Mode - yym1166 := z.EncBinary() - _ = yym1166 + yy1170 := *x.Mode + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { - r.EncodeInt(int64(yy1165)) + r.EncodeInt(int64(yy1170)) } } } } - if yyr1155 || yy2arr1155 { + if yyr1160 || yy2arr1160 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16299,25 +16354,25 @@ func (x *KeyToPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1167 := z.DecBinary() - _ = yym1167 + yym1172 := z.DecBinary() + _ = yym1172 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1168 := r.ContainerType() - if yyct1168 == codecSelferValueTypeMap1234 { - yyl1168 := r.ReadMapStart() - if yyl1168 == 0 { + yyct1173 := r.ContainerType() + if yyct1173 == codecSelferValueTypeMap1234 { + yyl1173 := r.ReadMapStart() + if yyl1173 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1168, d) + x.codecDecodeSelfFromMap(yyl1173, d) } - } else if yyct1168 == codecSelferValueTypeArray1234 { - yyl1168 := r.ReadArrayStart() - if yyl1168 == 0 { + } else if yyct1173 == codecSelferValueTypeArray1234 { + yyl1173 := r.ReadArrayStart() + if yyl1173 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1168, d) + x.codecDecodeSelfFromArray(yyl1173, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16329,12 +16384,12 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1169Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1169Slc - var yyhl1169 bool = l >= 0 - for yyj1169 := 0; ; yyj1169++ { - if yyhl1169 { - if yyj1169 >= l { + var yys1174Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1174Slc + var yyhl1174 bool = l >= 0 + for yyj1174 := 0; ; yyj1174++ { + if yyhl1174 { + if yyj1174 >= l { break } } else { @@ -16343,10 +16398,10 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1169Slc = r.DecodeBytes(yys1169Slc, true, true) - yys1169 := string(yys1169Slc) + yys1174Slc = r.DecodeBytes(yys1174Slc, true, true) + yys1174 := string(yys1174Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1169 { + switch yys1174 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -16368,17 +16423,17 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Mode == nil { x.Mode = new(int32) } - yym1173 := z.DecBinary() - _ = yym1173 + yym1178 := z.DecBinary() + _ = yym1178 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1169) - } // end switch yys1169 - } // end for yyj1169 + z.DecStructFieldNotFound(-1, yys1174) + } // end switch yys1174 + } // end for yyj1174 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16386,16 +16441,16 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1174 int - var yyb1174 bool - var yyhl1174 bool = l >= 0 - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + var yyj1179 int + var yyb1179 bool + var yyhl1179 bool = l >= 0 + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1174 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1174 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16405,13 +16460,13 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1174 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1174 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16421,13 +16476,13 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1174 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1174 { + if yyb1179 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16440,25 +16495,25 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Mode == nil { x.Mode = new(int32) } - yym1178 := z.DecBinary() - _ = yym1178 + yym1183 := z.DecBinary() + _ = yym1183 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj1174++ - if yyhl1174 { - yyb1174 = yyj1174 > l + yyj1179++ + if yyhl1179 { + yyb1179 = yyj1179 > l } else { - yyb1174 = r.CheckBreak() + yyb1179 = r.CheckBreak() } - if yyb1174 { + if yyb1179 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1174-1, "") + z.DecStructFieldNotFound(yyj1179-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16470,38 +16525,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1179 := z.EncBinary() - _ = yym1179 + yym1184 := z.EncBinary() + _ = yym1184 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1180 := !z.EncBinary() - yy2arr1180 := z.EncBasicHandle().StructToArray - var yyq1180 [5]bool - _, _, _ = yysep1180, yyq1180, yy2arr1180 - const yyr1180 bool = false - yyq1180[0] = x.Name != "" - yyq1180[1] = x.HostPort != 0 - yyq1180[3] = x.Protocol != "" - yyq1180[4] = x.HostIP != "" - var yynn1180 int - if yyr1180 || yy2arr1180 { + yysep1185 := !z.EncBinary() + yy2arr1185 := z.EncBasicHandle().StructToArray + var yyq1185 [5]bool + _, _, _ = yysep1185, yyq1185, yy2arr1185 + const yyr1185 bool = false + yyq1185[0] = x.Name != "" + yyq1185[1] = x.HostPort != 0 + yyq1185[3] = x.Protocol != "" + yyq1185[4] = x.HostIP != "" + var yynn1185 int + if yyr1185 || yy2arr1185 { r.EncodeArrayStart(5) } else { - yynn1180 = 1 - for _, b := range yyq1180 { + yynn1185 = 1 + for _, b := range yyq1185 { if b { - yynn1180++ + yynn1185++ } } - r.EncodeMapStart(yynn1180) - yynn1180 = 0 + r.EncodeMapStart(yynn1185) + yynn1185 = 0 } - if yyr1180 || yy2arr1180 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[0] { - yym1182 := z.EncBinary() - _ = yym1182 + if yyq1185[0] { + yym1187 := z.EncBinary() + _ = yym1187 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16510,23 +16565,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1180[0] { + if yyq1185[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1183 := z.EncBinary() - _ = yym1183 + yym1188 := z.EncBinary() + _ = yym1188 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1180 || yy2arr1180 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[1] { - yym1185 := z.EncBinary() - _ = yym1185 + if yyq1185[1] { + yym1190 := z.EncBinary() + _ = yym1190 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -16535,22 +16590,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1180[1] { + if yyq1185[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1186 := z.EncBinary() - _ = yym1186 + yym1191 := z.EncBinary() + _ = yym1191 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr1180 || yy2arr1180 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1188 := z.EncBinary() - _ = yym1188 + yym1193 := z.EncBinary() + _ = yym1193 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -16559,33 +16614,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1189 := z.EncBinary() - _ = yym1189 + yym1194 := z.EncBinary() + _ = yym1194 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr1180 || yy2arr1180 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[3] { + if yyq1185[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1180[3] { + if yyq1185[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr1180 || yy2arr1180 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1180[4] { - yym1192 := z.EncBinary() - _ = yym1192 + if yyq1185[4] { + yym1197 := z.EncBinary() + _ = yym1197 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -16594,19 +16649,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1180[4] { + if yyq1185[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1193 := z.EncBinary() - _ = yym1193 + yym1198 := z.EncBinary() + _ = yym1198 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1180 || yy2arr1180 { + if yyr1185 || yy2arr1185 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16619,25 +16674,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1194 := z.DecBinary() - _ = yym1194 + yym1199 := z.DecBinary() + _ = yym1199 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1195 := r.ContainerType() - if yyct1195 == codecSelferValueTypeMap1234 { - yyl1195 := r.ReadMapStart() - if yyl1195 == 0 { + yyct1200 := r.ContainerType() + if yyct1200 == codecSelferValueTypeMap1234 { + yyl1200 := r.ReadMapStart() + if yyl1200 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1195, d) + x.codecDecodeSelfFromMap(yyl1200, d) } - } else if yyct1195 == codecSelferValueTypeArray1234 { - yyl1195 := r.ReadArrayStart() - if yyl1195 == 0 { + } else if yyct1200 == codecSelferValueTypeArray1234 { + yyl1200 := r.ReadArrayStart() + if yyl1200 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1195, d) + x.codecDecodeSelfFromArray(yyl1200, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16649,12 +16704,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1196Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1196Slc - var yyhl1196 bool = l >= 0 - for yyj1196 := 0; ; yyj1196++ { - if yyhl1196 { - if yyj1196 >= l { + var yys1201Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1201Slc + var yyhl1201 bool = l >= 0 + for yyj1201 := 0; ; yyj1201++ { + if yyhl1201 { + if yyj1201 >= l { break } } else { @@ -16663,10 +16718,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1196Slc = r.DecodeBytes(yys1196Slc, true, true) - yys1196 := string(yys1196Slc) + yys1201Slc = r.DecodeBytes(yys1201Slc, true, true) + yys1201 := string(yys1201Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1196 { + switch yys1201 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16698,9 +16753,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1196) - } // end switch yys1196 - } // end for yyj1196 + z.DecStructFieldNotFound(-1, yys1201) + } // end switch yys1201 + } // end for yyj1201 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16708,16 +16763,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1202 int - var yyb1202 bool - var yyhl1202 bool = l >= 0 - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + var yyj1207 int + var yyb1207 bool + var yyhl1207 bool = l >= 0 + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1202 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1202 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16727,13 +16782,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1202 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1202 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16743,13 +16798,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int32(r.DecodeInt(32)) } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1202 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1202 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16759,13 +16814,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int32(r.DecodeInt(32)) } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1202 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1202 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16775,13 +16830,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1202 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1202 { + if yyb1207 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16792,17 +16847,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj1202++ - if yyhl1202 { - yyb1202 = yyj1202 > l + yyj1207++ + if yyhl1207 { + yyb1207 = yyj1207 > l } else { - yyb1202 = r.CheckBreak() + yyb1207 = r.CheckBreak() } - if yyb1202 { + if yyb1207 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1202-1, "") + z.DecStructFieldNotFound(yyj1207-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16814,35 +16869,35 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1208 := z.EncBinary() - _ = yym1208 + yym1213 := z.EncBinary() + _ = yym1213 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1209 := !z.EncBinary() - yy2arr1209 := z.EncBasicHandle().StructToArray - var yyq1209 [4]bool - _, _, _ = yysep1209, yyq1209, yy2arr1209 - const yyr1209 bool = false - yyq1209[1] = x.ReadOnly != false - yyq1209[3] = x.SubPath != "" - var yynn1209 int - if yyr1209 || yy2arr1209 { + yysep1214 := !z.EncBinary() + yy2arr1214 := z.EncBasicHandle().StructToArray + var yyq1214 [4]bool + _, _, _ = yysep1214, yyq1214, yy2arr1214 + const yyr1214 bool = false + yyq1214[1] = x.ReadOnly != false + yyq1214[3] = x.SubPath != "" + var yynn1214 int + if yyr1214 || yy2arr1214 { r.EncodeArrayStart(4) } else { - yynn1209 = 2 - for _, b := range yyq1209 { + yynn1214 = 2 + for _, b := range yyq1214 { if b { - yynn1209++ + yynn1214++ } } - r.EncodeMapStart(yynn1209) - yynn1209 = 0 + r.EncodeMapStart(yynn1214) + yynn1214 = 0 } - if yyr1209 || yy2arr1209 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1211 := z.EncBinary() - _ = yym1211 + yym1216 := z.EncBinary() + _ = yym1216 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16851,18 +16906,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1212 := z.EncBinary() - _ = yym1212 + yym1217 := z.EncBinary() + _ = yym1217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1209 || yy2arr1209 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1209[1] { - yym1214 := z.EncBinary() - _ = yym1214 + if yyq1214[1] { + yym1219 := z.EncBinary() + _ = yym1219 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -16871,22 +16926,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1209[1] { + if yyq1214[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1215 := z.EncBinary() - _ = yym1215 + yym1220 := z.EncBinary() + _ = yym1220 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr1209 || yy2arr1209 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1217 := z.EncBinary() - _ = yym1217 + yym1222 := z.EncBinary() + _ = yym1222 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -16895,18 +16950,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1218 := z.EncBinary() - _ = yym1218 + yym1223 := z.EncBinary() + _ = yym1223 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr1209 || yy2arr1209 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1209[3] { - yym1220 := z.EncBinary() - _ = yym1220 + if yyq1214[3] { + yym1225 := z.EncBinary() + _ = yym1225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) @@ -16915,19 +16970,19 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1209[3] { + if yyq1214[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1221 := z.EncBinary() - _ = yym1221 + yym1226 := z.EncBinary() + _ = yym1226 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) } } } - if yyr1209 || yy2arr1209 { + if yyr1214 || yy2arr1214 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16940,25 +16995,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1222 := z.DecBinary() - _ = yym1222 + yym1227 := z.DecBinary() + _ = yym1227 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1223 := r.ContainerType() - if yyct1223 == codecSelferValueTypeMap1234 { - yyl1223 := r.ReadMapStart() - if yyl1223 == 0 { + yyct1228 := r.ContainerType() + if yyct1228 == codecSelferValueTypeMap1234 { + yyl1228 := r.ReadMapStart() + if yyl1228 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1223, d) + x.codecDecodeSelfFromMap(yyl1228, d) } - } else if yyct1223 == codecSelferValueTypeArray1234 { - yyl1223 := r.ReadArrayStart() - if yyl1223 == 0 { + } else if yyct1228 == codecSelferValueTypeArray1234 { + yyl1228 := r.ReadArrayStart() + if yyl1228 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1223, d) + x.codecDecodeSelfFromArray(yyl1228, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16970,12 +17025,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1224Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1224Slc - var yyhl1224 bool = l >= 0 - for yyj1224 := 0; ; yyj1224++ { - if yyhl1224 { - if yyj1224 >= l { + var yys1229Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1229Slc + var yyhl1229 bool = l >= 0 + for yyj1229 := 0; ; yyj1229++ { + if yyhl1229 { + if yyj1229 >= l { break } } else { @@ -16984,10 +17039,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1224Slc = r.DecodeBytes(yys1224Slc, true, true) - yys1224 := string(yys1224Slc) + yys1229Slc = r.DecodeBytes(yys1229Slc, true, true) + yys1229 := string(yys1229Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1224 { + switch yys1229 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -17013,9 +17068,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1224) - } // end switch yys1224 - } // end for yyj1224 + z.DecStructFieldNotFound(-1, yys1229) + } // end switch yys1229 + } // end for yyj1229 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17023,16 +17078,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1229 int - var yyb1229 bool - var yyhl1229 bool = l >= 0 - yyj1229++ - if yyhl1229 { - yyb1229 = yyj1229 > l + var yyj1234 int + var yyb1234 bool + var yyhl1234 bool = l >= 0 + yyj1234++ + if yyhl1234 { + yyb1234 = yyj1234 > l } else { - yyb1229 = r.CheckBreak() + yyb1234 = r.CheckBreak() } - if yyb1229 { + if yyb1234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17042,13 +17097,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1229++ - if yyhl1229 { - yyb1229 = yyj1229 > l + yyj1234++ + if yyhl1234 { + yyb1234 = yyj1234 > l } else { - yyb1229 = r.CheckBreak() + yyb1234 = r.CheckBreak() } - if yyb1229 { + if yyb1234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17058,13 +17113,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj1229++ - if yyhl1229 { - yyb1229 = yyj1229 > l + yyj1234++ + if yyhl1234 { + yyb1234 = yyj1234 > l } else { - yyb1229 = r.CheckBreak() + yyb1234 = r.CheckBreak() } - if yyb1229 { + if yyb1234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17074,13 +17129,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MountPath = string(r.DecodeString()) } - yyj1229++ - if yyhl1229 { - yyb1229 = yyj1229 > l + yyj1234++ + if yyhl1234 { + yyb1234 = yyj1234 > l } else { - yyb1229 = r.CheckBreak() + yyb1234 = r.CheckBreak() } - if yyb1229 { + if yyb1234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17091,17 +17146,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } for { - yyj1229++ - if yyhl1229 { - yyb1229 = yyj1229 > l + yyj1234++ + if yyhl1234 { + yyb1234 = yyj1234 > l } else { - yyb1229 = r.CheckBreak() + yyb1234 = r.CheckBreak() } - if yyb1229 { + if yyb1234 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1229-1, "") + z.DecStructFieldNotFound(yyj1234-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17113,35 +17168,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1234 := z.EncBinary() - _ = yym1234 + yym1239 := z.EncBinary() + _ = yym1239 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1235 := !z.EncBinary() - yy2arr1235 := z.EncBasicHandle().StructToArray - var yyq1235 [3]bool - _, _, _ = yysep1235, yyq1235, yy2arr1235 - const yyr1235 bool = false - yyq1235[1] = x.Value != "" - yyq1235[2] = x.ValueFrom != nil - var yynn1235 int - if yyr1235 || yy2arr1235 { + yysep1240 := !z.EncBinary() + yy2arr1240 := z.EncBasicHandle().StructToArray + var yyq1240 [3]bool + _, _, _ = yysep1240, yyq1240, yy2arr1240 + const yyr1240 bool = false + yyq1240[1] = x.Value != "" + yyq1240[2] = x.ValueFrom != nil + var yynn1240 int + if yyr1240 || yy2arr1240 { r.EncodeArrayStart(3) } else { - yynn1235 = 1 - for _, b := range yyq1235 { + yynn1240 = 1 + for _, b := range yyq1240 { if b { - yynn1235++ + yynn1240++ } } - r.EncodeMapStart(yynn1235) - yynn1235 = 0 + r.EncodeMapStart(yynn1240) + yynn1240 = 0 } - if yyr1235 || yy2arr1235 { + if yyr1240 || yy2arr1240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1237 := z.EncBinary() - _ = yym1237 + yym1242 := z.EncBinary() + _ = yym1242 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -17150,18 +17205,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1238 := z.EncBinary() - _ = yym1238 + yym1243 := z.EncBinary() + _ = yym1243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1235 || yy2arr1235 { + if yyr1240 || yy2arr1240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1235[1] { - yym1240 := z.EncBinary() - _ = yym1240 + if yyq1240[1] { + yym1245 := z.EncBinary() + _ = yym1245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -17170,21 +17225,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1235[1] { + if yyq1240[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1241 := z.EncBinary() - _ = yym1241 + yym1246 := z.EncBinary() + _ = yym1246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1235 || yy2arr1235 { + if yyr1240 || yy2arr1240 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1235[2] { + if yyq1240[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -17194,7 +17249,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1235[2] { + if yyq1240[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17205,7 +17260,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1235 || yy2arr1235 { + if yyr1240 || yy2arr1240 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17218,25 +17273,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1243 := z.DecBinary() - _ = yym1243 + yym1248 := z.DecBinary() + _ = yym1248 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1244 := r.ContainerType() - if yyct1244 == codecSelferValueTypeMap1234 { - yyl1244 := r.ReadMapStart() - if yyl1244 == 0 { + yyct1249 := r.ContainerType() + if yyct1249 == codecSelferValueTypeMap1234 { + yyl1249 := r.ReadMapStart() + if yyl1249 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1244, d) + x.codecDecodeSelfFromMap(yyl1249, d) } - } else if yyct1244 == codecSelferValueTypeArray1234 { - yyl1244 := r.ReadArrayStart() - if yyl1244 == 0 { + } else if yyct1249 == codecSelferValueTypeArray1234 { + yyl1249 := r.ReadArrayStart() + if yyl1249 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1244, d) + x.codecDecodeSelfFromArray(yyl1249, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17248,12 +17303,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1245Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1245Slc - var yyhl1245 bool = l >= 0 - for yyj1245 := 0; ; yyj1245++ { - if yyhl1245 { - if yyj1245 >= l { + var yys1250Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1250Slc + var yyhl1250 bool = l >= 0 + for yyj1250 := 0; ; yyj1250++ { + if yyhl1250 { + if yyj1250 >= l { break } } else { @@ -17262,10 +17317,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1245Slc = r.DecodeBytes(yys1245Slc, true, true) - yys1245 := string(yys1245Slc) + yys1250Slc = r.DecodeBytes(yys1250Slc, true, true) + yys1250 := string(yys1250Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1245 { + switch yys1250 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -17290,9 +17345,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1245) - } // end switch yys1245 - } // end for yyj1245 + z.DecStructFieldNotFound(-1, yys1250) + } // end switch yys1250 + } // end for yyj1250 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17300,16 +17355,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1249 int - var yyb1249 bool - var yyhl1249 bool = l >= 0 - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + var yyj1254 int + var yyb1254 bool + var yyhl1254 bool = l >= 0 + yyj1254++ + if yyhl1254 { + yyb1254 = yyj1254 > l } else { - yyb1249 = r.CheckBreak() + yyb1254 = r.CheckBreak() } - if yyb1249 { + if yyb1254 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17319,13 +17374,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1254++ + if yyhl1254 { + yyb1254 = yyj1254 > l } else { - yyb1249 = r.CheckBreak() + yyb1254 = r.CheckBreak() } - if yyb1249 { + if yyb1254 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17335,13 +17390,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1254++ + if yyhl1254 { + yyb1254 = yyj1254 > l } else { - yyb1249 = r.CheckBreak() + yyb1254 = r.CheckBreak() } - if yyb1249 { + if yyb1254 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17357,17 +17412,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj1249++ - if yyhl1249 { - yyb1249 = yyj1249 > l + yyj1254++ + if yyhl1254 { + yyb1254 = yyj1254 > l } else { - yyb1249 = r.CheckBreak() + yyb1254 = r.CheckBreak() } - if yyb1249 { + if yyb1254 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1249-1, "") + z.DecStructFieldNotFound(yyj1254-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17379,36 +17434,36 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1253 := z.EncBinary() - _ = yym1253 + yym1258 := z.EncBinary() + _ = yym1258 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1254 := !z.EncBinary() - yy2arr1254 := z.EncBasicHandle().StructToArray - var yyq1254 [4]bool - _, _, _ = yysep1254, yyq1254, yy2arr1254 - const yyr1254 bool = false - yyq1254[0] = x.FieldRef != nil - yyq1254[1] = x.ResourceFieldRef != nil - yyq1254[2] = x.ConfigMapKeyRef != nil - yyq1254[3] = x.SecretKeyRef != nil - var yynn1254 int - if yyr1254 || yy2arr1254 { + yysep1259 := !z.EncBinary() + yy2arr1259 := z.EncBasicHandle().StructToArray + var yyq1259 [4]bool + _, _, _ = yysep1259, yyq1259, yy2arr1259 + const yyr1259 bool = false + yyq1259[0] = x.FieldRef != nil + yyq1259[1] = x.ResourceFieldRef != nil + yyq1259[2] = x.ConfigMapKeyRef != nil + yyq1259[3] = x.SecretKeyRef != nil + var yynn1259 int + if yyr1259 || yy2arr1259 { r.EncodeArrayStart(4) } else { - yynn1254 = 0 - for _, b := range yyq1254 { + yynn1259 = 0 + for _, b := range yyq1259 { if b { - yynn1254++ + yynn1259++ } } - r.EncodeMapStart(yynn1254) - yynn1254 = 0 + r.EncodeMapStart(yynn1259) + yynn1259 = 0 } - if yyr1254 || yy2arr1254 { + if yyr1259 || yy2arr1259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1254[0] { + if yyq1259[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -17418,7 +17473,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1254[0] { + if yyq1259[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17429,9 +17484,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1254 || yy2arr1254 { + if yyr1259 || yy2arr1259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1254[1] { + if yyq1259[1] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -17441,7 +17496,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1254[1] { + if yyq1259[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17452,9 +17507,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1254 || yy2arr1254 { + if yyr1259 || yy2arr1259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1254[2] { + if yyq1259[2] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -17464,7 +17519,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1254[2] { + if yyq1259[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17475,9 +17530,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1254 || yy2arr1254 { + if yyr1259 || yy2arr1259 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1254[3] { + if yyq1259[3] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -17487,7 +17542,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1254[3] { + if yyq1259[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17498,7 +17553,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1254 || yy2arr1254 { + if yyr1259 || yy2arr1259 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17511,25 +17566,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1259 := z.DecBinary() - _ = yym1259 + yym1264 := z.DecBinary() + _ = yym1264 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1260 := r.ContainerType() - if yyct1260 == codecSelferValueTypeMap1234 { - yyl1260 := r.ReadMapStart() - if yyl1260 == 0 { + yyct1265 := r.ContainerType() + if yyct1265 == codecSelferValueTypeMap1234 { + yyl1265 := r.ReadMapStart() + if yyl1265 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1260, d) + x.codecDecodeSelfFromMap(yyl1265, d) } - } else if yyct1260 == codecSelferValueTypeArray1234 { - yyl1260 := r.ReadArrayStart() - if yyl1260 == 0 { + } else if yyct1265 == codecSelferValueTypeArray1234 { + yyl1265 := r.ReadArrayStart() + if yyl1265 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1260, d) + x.codecDecodeSelfFromArray(yyl1265, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17541,12 +17596,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1261Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1261Slc - var yyhl1261 bool = l >= 0 - for yyj1261 := 0; ; yyj1261++ { - if yyhl1261 { - if yyj1261 >= l { + var yys1266Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1266Slc + var yyhl1266 bool = l >= 0 + for yyj1266 := 0; ; yyj1266++ { + if yyhl1266 { + if yyj1266 >= l { break } } else { @@ -17555,10 +17610,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1261Slc = r.DecodeBytes(yys1261Slc, true, true) - yys1261 := string(yys1261Slc) + yys1266Slc = r.DecodeBytes(yys1266Slc, true, true) + yys1266 := string(yys1266Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1261 { + switch yys1266 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -17604,9 +17659,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1261) - } // end switch yys1261 - } // end for yyj1261 + z.DecStructFieldNotFound(-1, yys1266) + } // end switch yys1266 + } // end for yyj1266 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17614,16 +17669,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1266 int - var yyb1266 bool - var yyhl1266 bool = l >= 0 - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + var yyj1271 int + var yyb1271 bool + var yyhl1271 bool = l >= 0 + yyj1271++ + if yyhl1271 { + yyb1271 = yyj1271 > l } else { - yyb1266 = r.CheckBreak() + yyb1271 = r.CheckBreak() } - if yyb1266 { + if yyb1271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17638,13 +17693,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FieldRef.CodecDecodeSelf(d) } - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1271++ + if yyhl1271 { + yyb1271 = yyj1271 > l } else { - yyb1266 = r.CheckBreak() + yyb1271 = r.CheckBreak() } - if yyb1266 { + if yyb1271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17659,13 +17714,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1271++ + if yyhl1271 { + yyb1271 = yyj1271 > l } else { - yyb1266 = r.CheckBreak() + yyb1271 = r.CheckBreak() } - if yyb1266 { + if yyb1271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17680,13 +17735,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMapKeyRef.CodecDecodeSelf(d) } - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1271++ + if yyhl1271 { + yyb1271 = yyj1271 > l } else { - yyb1266 = r.CheckBreak() + yyb1271 = r.CheckBreak() } - if yyb1266 { + if yyb1271 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17702,17 +17757,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } for { - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1271++ + if yyhl1271 { + yyb1271 = yyj1271 > l } else { - yyb1266 = r.CheckBreak() + yyb1271 = r.CheckBreak() } - if yyb1266 { + if yyb1271 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1266-1, "") + z.DecStructFieldNotFound(yyj1271-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17724,33 +17779,33 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1271 := z.EncBinary() - _ = yym1271 + yym1276 := z.EncBinary() + _ = yym1276 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1272 := !z.EncBinary() - yy2arr1272 := z.EncBasicHandle().StructToArray - var yyq1272 [2]bool - _, _, _ = yysep1272, yyq1272, yy2arr1272 - const yyr1272 bool = false - var yynn1272 int - if yyr1272 || yy2arr1272 { + yysep1277 := !z.EncBinary() + yy2arr1277 := z.EncBasicHandle().StructToArray + var yyq1277 [2]bool + _, _, _ = yysep1277, yyq1277, yy2arr1277 + const yyr1277 bool = false + var yynn1277 int + if yyr1277 || yy2arr1277 { r.EncodeArrayStart(2) } else { - yynn1272 = 2 - for _, b := range yyq1272 { + yynn1277 = 2 + for _, b := range yyq1277 { if b { - yynn1272++ + yynn1277++ } } - r.EncodeMapStart(yynn1272) - yynn1272 = 0 + r.EncodeMapStart(yynn1277) + yynn1277 = 0 } - if yyr1272 || yy2arr1272 { + if yyr1277 || yy2arr1277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1274 := z.EncBinary() - _ = yym1274 + yym1279 := z.EncBinary() + _ = yym1279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -17759,17 +17814,17 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1275 := z.EncBinary() - _ = yym1275 + yym1280 := z.EncBinary() + _ = yym1280 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr1272 || yy2arr1272 { + if yyr1277 || yy2arr1277 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1277 := z.EncBinary() - _ = yym1277 + yym1282 := z.EncBinary() + _ = yym1282 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -17778,14 +17833,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1278 := z.EncBinary() - _ = yym1278 + yym1283 := z.EncBinary() + _ = yym1283 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr1272 || yy2arr1272 { + if yyr1277 || yy2arr1277 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17798,25 +17853,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1279 := z.DecBinary() - _ = yym1279 + yym1284 := z.DecBinary() + _ = yym1284 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1280 := r.ContainerType() - if yyct1280 == codecSelferValueTypeMap1234 { - yyl1280 := r.ReadMapStart() - if yyl1280 == 0 { + yyct1285 := r.ContainerType() + if yyct1285 == codecSelferValueTypeMap1234 { + yyl1285 := r.ReadMapStart() + if yyl1285 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1280, d) + x.codecDecodeSelfFromMap(yyl1285, d) } - } else if yyct1280 == codecSelferValueTypeArray1234 { - yyl1280 := r.ReadArrayStart() - if yyl1280 == 0 { + } else if yyct1285 == codecSelferValueTypeArray1234 { + yyl1285 := r.ReadArrayStart() + if yyl1285 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1280, d) + x.codecDecodeSelfFromArray(yyl1285, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17828,12 +17883,12 @@ func (x *ObjectFieldSelector) 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 { + var yys1286Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1286Slc + var yyhl1286 bool = l >= 0 + for yyj1286 := 0; ; yyj1286++ { + if yyhl1286 { + if yyj1286 >= l { break } } else { @@ -17842,10 +17897,10 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1281Slc = r.DecodeBytes(yys1281Slc, true, true) - yys1281 := string(yys1281Slc) + yys1286Slc = r.DecodeBytes(yys1286Slc, true, true) + yys1286 := string(yys1286Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1281 { + switch yys1286 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -17859,9 +17914,9 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1281) - } // end switch yys1281 - } // end for yyj1281 + z.DecStructFieldNotFound(-1, yys1286) + } // end switch yys1286 + } // end for yyj1286 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17869,16 +17924,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1284 int - var yyb1284 bool - var yyhl1284 bool = l >= 0 - yyj1284++ - if yyhl1284 { - yyb1284 = yyj1284 > l + var yyj1289 int + var yyb1289 bool + var yyhl1289 bool = l >= 0 + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1284 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1284 { + if yyb1289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17888,13 +17943,13 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj1284++ - if yyhl1284 { - yyb1284 = yyj1284 > l + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1284 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1284 { + if yyb1289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17905,17 +17960,17 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FieldPath = string(r.DecodeString()) } for { - yyj1284++ - if yyhl1284 { - yyb1284 = yyj1284 > l + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1284 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1284 { + if yyb1289 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1284-1, "") + z.DecStructFieldNotFound(yyj1289-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17927,36 +17982,36 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1287 := z.EncBinary() - _ = yym1287 + yym1292 := z.EncBinary() + _ = yym1292 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1288 := !z.EncBinary() - yy2arr1288 := z.EncBasicHandle().StructToArray - var yyq1288 [3]bool - _, _, _ = yysep1288, yyq1288, yy2arr1288 - const yyr1288 bool = false - yyq1288[0] = x.ContainerName != "" - yyq1288[2] = true - var yynn1288 int - if yyr1288 || yy2arr1288 { + yysep1293 := !z.EncBinary() + yy2arr1293 := z.EncBasicHandle().StructToArray + var yyq1293 [3]bool + _, _, _ = yysep1293, yyq1293, yy2arr1293 + const yyr1293 bool = false + yyq1293[0] = x.ContainerName != "" + yyq1293[2] = true + var yynn1293 int + if yyr1293 || yy2arr1293 { r.EncodeArrayStart(3) } else { - yynn1288 = 1 - for _, b := range yyq1288 { + yynn1293 = 1 + for _, b := range yyq1293 { if b { - yynn1288++ + yynn1293++ } } - r.EncodeMapStart(yynn1288) - yynn1288 = 0 + r.EncodeMapStart(yynn1293) + yynn1293 = 0 } - if yyr1288 || yy2arr1288 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1288[0] { - yym1290 := z.EncBinary() - _ = yym1290 + if yyq1293[0] { + yym1295 := z.EncBinary() + _ = yym1295 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) @@ -17965,22 +18020,22 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1288[0] { + if yyq1293[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1291 := z.EncBinary() - _ = yym1291 + yym1296 := z.EncBinary() + _ = yym1296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) } } } - if yyr1288 || yy2arr1288 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1293 := z.EncBinary() - _ = yym1293 + yym1298 := z.EncBinary() + _ = yym1298 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -17989,47 +18044,47 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1294 := z.EncBinary() - _ = yym1294 + yym1299 := z.EncBinary() + _ = yym1299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } - if yyr1288 || yy2arr1288 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1288[2] { - yy1296 := &x.Divisor - yym1297 := z.EncBinary() - _ = yym1297 + if yyq1293[2] { + yy1301 := &x.Divisor + yym1302 := z.EncBinary() + _ = yym1302 if false { - } else if z.HasExtensions() && z.EncExt(yy1296) { - } else if !yym1297 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1296) + } else if z.HasExtensions() && z.EncExt(yy1301) { + } else if !yym1302 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1301) } else { - z.EncFallback(yy1296) + z.EncFallback(yy1301) } } else { r.EncodeNil() } } else { - if yyq1288[2] { + if yyq1293[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("divisor")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1298 := &x.Divisor - yym1299 := z.EncBinary() - _ = yym1299 + yy1303 := &x.Divisor + yym1304 := z.EncBinary() + _ = yym1304 if false { - } else if z.HasExtensions() && z.EncExt(yy1298) { - } else if !yym1299 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1298) + } else if z.HasExtensions() && z.EncExt(yy1303) { + } else if !yym1304 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1303) } else { - z.EncFallback(yy1298) + z.EncFallback(yy1303) } } } - if yyr1288 || yy2arr1288 { + if yyr1293 || yy2arr1293 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18042,25 +18097,25 @@ func (x *ResourceFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1300 := z.DecBinary() - _ = yym1300 + yym1305 := z.DecBinary() + _ = yym1305 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1301 := r.ContainerType() - if yyct1301 == codecSelferValueTypeMap1234 { - yyl1301 := r.ReadMapStart() - if yyl1301 == 0 { + yyct1306 := r.ContainerType() + if yyct1306 == codecSelferValueTypeMap1234 { + yyl1306 := r.ReadMapStart() + if yyl1306 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1301, d) + x.codecDecodeSelfFromMap(yyl1306, d) } - } else if yyct1301 == codecSelferValueTypeArray1234 { - yyl1301 := r.ReadArrayStart() - if yyl1301 == 0 { + } else if yyct1306 == codecSelferValueTypeArray1234 { + yyl1306 := r.ReadArrayStart() + if yyl1306 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1301, d) + x.codecDecodeSelfFromArray(yyl1306, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18072,12 +18127,12 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1302Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1302Slc - var yyhl1302 bool = l >= 0 - for yyj1302 := 0; ; yyj1302++ { - if yyhl1302 { - if yyj1302 >= 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 { @@ -18086,10 +18141,10 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1302Slc = r.DecodeBytes(yys1302Slc, true, true) - yys1302 := string(yys1302Slc) + yys1307Slc = r.DecodeBytes(yys1307Slc, true, true) + yys1307 := string(yys1307Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1302 { + switch yys1307 { case "containerName": if r.TryDecodeAsNil() { x.ContainerName = "" @@ -18106,21 +18161,21 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv1305 := &x.Divisor - yym1306 := z.DecBinary() - _ = yym1306 + yyv1310 := &x.Divisor + yym1311 := z.DecBinary() + _ = yym1311 if false { - } else if z.HasExtensions() && z.DecExt(yyv1305) { - } else if !yym1306 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1305) + } else if z.HasExtensions() && z.DecExt(yyv1310) { + } else if !yym1311 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1310) } else { - z.DecFallback(yyv1305, false) + z.DecFallback(yyv1310, false) } } default: - z.DecStructFieldNotFound(-1, yys1302) - } // end switch yys1302 - } // end for yyj1302 + z.DecStructFieldNotFound(-1, yys1307) + } // end switch yys1307 + } // end for yyj1307 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18128,16 +18183,16 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1307 int - var yyb1307 bool - var yyhl1307 bool = l >= 0 - yyj1307++ - if yyhl1307 { - yyb1307 = yyj1307 > l + var yyj1312 int + var yyb1312 bool + var yyhl1312 bool = l >= 0 + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1307 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1307 { + if yyb1312 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18147,13 +18202,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ContainerName = string(r.DecodeString()) } - yyj1307++ - if yyhl1307 { - yyb1307 = yyj1307 > l + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1307 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1307 { + if yyb1312 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18163,13 +18218,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Resource = string(r.DecodeString()) } - yyj1307++ - if yyhl1307 { - yyb1307 = yyj1307 > l + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1307 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1307 { + if yyb1312 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18177,29 +18232,29 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv1310 := &x.Divisor - yym1311 := z.DecBinary() - _ = yym1311 + yyv1315 := &x.Divisor + yym1316 := z.DecBinary() + _ = yym1316 if false { - } else if z.HasExtensions() && z.DecExt(yyv1310) { - } else if !yym1311 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1310) + } else if z.HasExtensions() && z.DecExt(yyv1315) { + } else if !yym1316 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1315) } else { - z.DecFallback(yyv1310, false) + z.DecFallback(yyv1315, false) } } for { - yyj1307++ - if yyhl1307 { - yyb1307 = yyj1307 > l + yyj1312++ + if yyhl1312 { + yyb1312 = yyj1312 > l } else { - yyb1307 = r.CheckBreak() + yyb1312 = r.CheckBreak() } - if yyb1307 { + if yyb1312 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1307-1, "") + z.DecStructFieldNotFound(yyj1312-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18211,33 +18266,33 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1312 := z.EncBinary() - _ = yym1312 + yym1317 := z.EncBinary() + _ = yym1317 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1313 := !z.EncBinary() - yy2arr1313 := z.EncBasicHandle().StructToArray - var yyq1313 [2]bool - _, _, _ = yysep1313, yyq1313, yy2arr1313 - const yyr1313 bool = false - var yynn1313 int - if yyr1313 || yy2arr1313 { + yysep1318 := !z.EncBinary() + yy2arr1318 := z.EncBasicHandle().StructToArray + var yyq1318 [2]bool + _, _, _ = yysep1318, yyq1318, yy2arr1318 + const yyr1318 bool = false + var yynn1318 int + if yyr1318 || yy2arr1318 { r.EncodeArrayStart(2) } else { - yynn1313 = 2 - for _, b := range yyq1313 { + yynn1318 = 2 + for _, b := range yyq1318 { if b { - yynn1313++ + yynn1318++ } } - r.EncodeMapStart(yynn1313) - yynn1313 = 0 + r.EncodeMapStart(yynn1318) + yynn1318 = 0 } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1315 := z.EncBinary() - _ = yym1315 + yym1320 := z.EncBinary() + _ = yym1320 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18246,17 +18301,17 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1316 := z.EncBinary() - _ = yym1316 + yym1321 := z.EncBinary() + _ = yym1321 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1318 := z.EncBinary() - _ = yym1318 + yym1323 := z.EncBinary() + _ = yym1323 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -18265,14 +18320,14 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1319 := z.EncBinary() - _ = yym1319 + yym1324 := z.EncBinary() + _ = yym1324 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18285,25 +18340,25 @@ func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1320 := z.DecBinary() - _ = yym1320 + yym1325 := z.DecBinary() + _ = yym1325 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1321 := r.ContainerType() - if yyct1321 == codecSelferValueTypeMap1234 { - yyl1321 := r.ReadMapStart() - if yyl1321 == 0 { + yyct1326 := r.ContainerType() + if yyct1326 == codecSelferValueTypeMap1234 { + yyl1326 := r.ReadMapStart() + if yyl1326 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1321, d) + x.codecDecodeSelfFromMap(yyl1326, d) } - } else if yyct1321 == codecSelferValueTypeArray1234 { - yyl1321 := r.ReadArrayStart() - if yyl1321 == 0 { + } else if yyct1326 == codecSelferValueTypeArray1234 { + yyl1326 := r.ReadArrayStart() + if yyl1326 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1321, d) + x.codecDecodeSelfFromArray(yyl1326, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18315,12 +18370,12 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1322Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1322Slc - var yyhl1322 bool = l >= 0 - for yyj1322 := 0; ; yyj1322++ { - if yyhl1322 { - if yyj1322 >= 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 { @@ -18329,10 +18384,10 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1322Slc = r.DecodeBytes(yys1322Slc, true, true) - yys1322 := string(yys1322Slc) + yys1327Slc = r.DecodeBytes(yys1327Slc, true, true) + yys1327 := string(yys1327Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1322 { + switch yys1327 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -18346,9 +18401,9 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Key = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1322) - } // end switch yys1322 - } // end for yyj1322 + z.DecStructFieldNotFound(-1, yys1327) + } // end switch yys1327 + } // end for yyj1327 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18356,16 +18411,16 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1325 int - var yyb1325 bool - var yyhl1325 bool = l >= 0 - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + var yyj1330 int + var yyb1330 bool + var yyhl1330 bool = l >= 0 + yyj1330++ + if yyhl1330 { + yyb1330 = yyj1330 > l } else { - yyb1325 = r.CheckBreak() + yyb1330 = r.CheckBreak() } - if yyb1325 { + if yyb1330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18375,13 +18430,13 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + yyj1330++ + if yyhl1330 { + yyb1330 = yyj1330 > l } else { - yyb1325 = r.CheckBreak() + yyb1330 = r.CheckBreak() } - if yyb1325 { + if yyb1330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18392,17 +18447,17 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Key = string(r.DecodeString()) } for { - yyj1325++ - if yyhl1325 { - yyb1325 = yyj1325 > l + yyj1330++ + if yyhl1330 { + yyb1330 = yyj1330 > l } else { - yyb1325 = r.CheckBreak() + yyb1330 = r.CheckBreak() } - if yyb1325 { + if yyb1330 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1325-1, "") + z.DecStructFieldNotFound(yyj1330-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18414,33 +18469,33 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1328 := z.EncBinary() - _ = yym1328 + yym1333 := z.EncBinary() + _ = yym1333 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1329 := !z.EncBinary() - yy2arr1329 := z.EncBasicHandle().StructToArray - var yyq1329 [2]bool - _, _, _ = yysep1329, yyq1329, yy2arr1329 - const yyr1329 bool = false - var yynn1329 int - if yyr1329 || yy2arr1329 { + yysep1334 := !z.EncBinary() + yy2arr1334 := z.EncBasicHandle().StructToArray + var yyq1334 [2]bool + _, _, _ = yysep1334, yyq1334, yy2arr1334 + const yyr1334 bool = false + var yynn1334 int + if yyr1334 || yy2arr1334 { r.EncodeArrayStart(2) } else { - yynn1329 = 2 - for _, b := range yyq1329 { + yynn1334 = 2 + for _, b := range yyq1334 { if b { - yynn1329++ + yynn1334++ } } - r.EncodeMapStart(yynn1329) - yynn1329 = 0 + r.EncodeMapStart(yynn1334) + yynn1334 = 0 } - if yyr1329 || yy2arr1329 { + if yyr1334 || yy2arr1334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1331 := z.EncBinary() - _ = yym1331 + yym1336 := z.EncBinary() + _ = yym1336 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18449,17 +18504,17 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1332 := z.EncBinary() - _ = yym1332 + yym1337 := z.EncBinary() + _ = yym1337 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1329 || yy2arr1329 { + if yyr1334 || yy2arr1334 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1334 := z.EncBinary() - _ = yym1334 + yym1339 := z.EncBinary() + _ = yym1339 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -18468,14 +18523,14 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1335 := z.EncBinary() - _ = yym1335 + yym1340 := z.EncBinary() + _ = yym1340 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1329 || yy2arr1329 { + if yyr1334 || yy2arr1334 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18488,25 +18543,25 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1336 := z.DecBinary() - _ = yym1336 + yym1341 := z.DecBinary() + _ = yym1341 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1337 := r.ContainerType() - if yyct1337 == codecSelferValueTypeMap1234 { - yyl1337 := r.ReadMapStart() - if yyl1337 == 0 { + yyct1342 := r.ContainerType() + if yyct1342 == codecSelferValueTypeMap1234 { + yyl1342 := r.ReadMapStart() + if yyl1342 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1337, d) + x.codecDecodeSelfFromMap(yyl1342, d) } - } else if yyct1337 == codecSelferValueTypeArray1234 { - yyl1337 := r.ReadArrayStart() - if yyl1337 == 0 { + } else if yyct1342 == codecSelferValueTypeArray1234 { + yyl1342 := r.ReadArrayStart() + if yyl1342 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1337, d) + x.codecDecodeSelfFromArray(yyl1342, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18518,12 +18573,12 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1338Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1338Slc - var yyhl1338 bool = l >= 0 - for yyj1338 := 0; ; yyj1338++ { - if yyhl1338 { - if yyj1338 >= l { + 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 { @@ -18532,10 +18587,10 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1338Slc = r.DecodeBytes(yys1338Slc, true, true) - yys1338 := string(yys1338Slc) + yys1343Slc = r.DecodeBytes(yys1343Slc, true, true) + yys1343 := string(yys1343Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1338 { + switch yys1343 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -18549,9 +18604,9 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Key = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1338) - } // end switch yys1338 - } // end for yyj1338 + z.DecStructFieldNotFound(-1, yys1343) + } // end switch yys1343 + } // end for yyj1343 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18559,16 +18614,16 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1341 int - var yyb1341 bool - var yyhl1341 bool = l >= 0 - yyj1341++ - if yyhl1341 { - yyb1341 = yyj1341 > l + var yyj1346 int + var yyb1346 bool + var yyhl1346 bool = l >= 0 + yyj1346++ + if yyhl1346 { + yyb1346 = yyj1346 > l } else { - yyb1341 = r.CheckBreak() + yyb1346 = r.CheckBreak() } - if yyb1341 { + if yyb1346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18578,13 +18633,13 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Name = string(r.DecodeString()) } - yyj1341++ - if yyhl1341 { - yyb1341 = yyj1341 > l + yyj1346++ + if yyhl1346 { + yyb1346 = yyj1346 > l } else { - yyb1341 = r.CheckBreak() + yyb1346 = r.CheckBreak() } - if yyb1341 { + if yyb1346 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18595,17 +18650,17 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.Key = string(r.DecodeString()) } for { - yyj1341++ - if yyhl1341 { - yyb1341 = yyj1341 > l + yyj1346++ + if yyhl1346 { + yyb1346 = yyj1346 > l } else { - yyb1341 = r.CheckBreak() + yyb1346 = r.CheckBreak() } - if yyb1341 { + if yyb1346 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1341-1, "") + z.DecStructFieldNotFound(yyj1346-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18617,33 +18672,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1344 := z.EncBinary() - _ = yym1344 + yym1349 := z.EncBinary() + _ = yym1349 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1345 := !z.EncBinary() - yy2arr1345 := z.EncBasicHandle().StructToArray - var yyq1345 [2]bool - _, _, _ = yysep1345, yyq1345, yy2arr1345 - const yyr1345 bool = false - var yynn1345 int - if yyr1345 || yy2arr1345 { + yysep1350 := !z.EncBinary() + yy2arr1350 := z.EncBasicHandle().StructToArray + var yyq1350 [2]bool + _, _, _ = yysep1350, yyq1350, yy2arr1350 + const yyr1350 bool = false + var yynn1350 int + if yyr1350 || yy2arr1350 { r.EncodeArrayStart(2) } else { - yynn1345 = 2 - for _, b := range yyq1345 { + yynn1350 = 2 + for _, b := range yyq1350 { if b { - yynn1345++ + yynn1350++ } } - r.EncodeMapStart(yynn1345) - yynn1345 = 0 + r.EncodeMapStart(yynn1350) + yynn1350 = 0 } - if yyr1345 || yy2arr1345 { + if yyr1350 || yy2arr1350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1347 := z.EncBinary() - _ = yym1347 + yym1352 := z.EncBinary() + _ = yym1352 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18652,17 +18707,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1348 := z.EncBinary() - _ = yym1348 + yym1353 := z.EncBinary() + _ = yym1353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1345 || yy2arr1345 { + if yyr1350 || yy2arr1350 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1350 := z.EncBinary() - _ = yym1350 + yym1355 := z.EncBinary() + _ = yym1355 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -18671,14 +18726,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1351 := z.EncBinary() - _ = yym1351 + yym1356 := z.EncBinary() + _ = yym1356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr1345 || yy2arr1345 { + if yyr1350 || yy2arr1350 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18691,25 +18746,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1352 := z.DecBinary() - _ = yym1352 + yym1357 := z.DecBinary() + _ = yym1357 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1353 := r.ContainerType() - if yyct1353 == codecSelferValueTypeMap1234 { - yyl1353 := r.ReadMapStart() - if yyl1353 == 0 { + yyct1358 := r.ContainerType() + if yyct1358 == codecSelferValueTypeMap1234 { + yyl1358 := r.ReadMapStart() + if yyl1358 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1353, d) + x.codecDecodeSelfFromMap(yyl1358, d) } - } else if yyct1353 == codecSelferValueTypeArray1234 { - yyl1353 := r.ReadArrayStart() - if yyl1353 == 0 { + } else if yyct1358 == codecSelferValueTypeArray1234 { + yyl1358 := r.ReadArrayStart() + if yyl1358 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1353, d) + x.codecDecodeSelfFromArray(yyl1358, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18721,12 +18776,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1354Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1354Slc - var yyhl1354 bool = l >= 0 - for yyj1354 := 0; ; yyj1354++ { - if yyhl1354 { - if yyj1354 >= l { + var yys1359Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1359Slc + var yyhl1359 bool = l >= 0 + for yyj1359 := 0; ; yyj1359++ { + if yyhl1359 { + if yyj1359 >= l { break } } else { @@ -18735,10 +18790,10 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1354Slc = r.DecodeBytes(yys1354Slc, true, true) - yys1354 := string(yys1354Slc) + yys1359Slc = r.DecodeBytes(yys1359Slc, true, true) + yys1359 := string(yys1359Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1354 { + switch yys1359 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -18752,9 +18807,9 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1354) - } // end switch yys1354 - } // end for yyj1354 + z.DecStructFieldNotFound(-1, yys1359) + } // end switch yys1359 + } // end for yyj1359 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18762,16 +18817,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1357 int - var yyb1357 bool - var yyhl1357 bool = l >= 0 - yyj1357++ - if yyhl1357 { - yyb1357 = yyj1357 > l + var yyj1362 int + var yyb1362 bool + var yyhl1362 bool = l >= 0 + yyj1362++ + if yyhl1362 { + yyb1362 = yyj1362 > l } else { - yyb1357 = r.CheckBreak() + yyb1362 = r.CheckBreak() } - if yyb1357 { + if yyb1362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18781,13 +18836,13 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1357++ - if yyhl1357 { - yyb1357 = yyj1357 > l + yyj1362++ + if yyhl1362 { + yyb1362 = yyj1362 > l } else { - yyb1357 = r.CheckBreak() + yyb1362 = r.CheckBreak() } - if yyb1357 { + if yyb1362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18798,17 +18853,17 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj1357++ - if yyhl1357 { - yyb1357 = yyj1357 > l + yyj1362++ + if yyhl1362 { + yyb1362 = yyj1362 > l } else { - yyb1357 = r.CheckBreak() + yyb1362 = r.CheckBreak() } - if yyb1357 { + if yyb1362 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1357-1, "") + z.DecStructFieldNotFound(yyj1362-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18820,39 +18875,39 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1360 := z.EncBinary() - _ = yym1360 + yym1365 := z.EncBinary() + _ = yym1365 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1361 := !z.EncBinary() - yy2arr1361 := z.EncBasicHandle().StructToArray - var yyq1361 [5]bool - _, _, _ = yysep1361, yyq1361, yy2arr1361 - const yyr1361 bool = false - yyq1361[0] = x.Path != "" - yyq1361[1] = true - yyq1361[2] = x.Host != "" - yyq1361[3] = x.Scheme != "" - yyq1361[4] = len(x.HTTPHeaders) != 0 - var yynn1361 int - if yyr1361 || yy2arr1361 { + yysep1366 := !z.EncBinary() + yy2arr1366 := z.EncBasicHandle().StructToArray + var yyq1366 [5]bool + _, _, _ = yysep1366, yyq1366, yy2arr1366 + const yyr1366 bool = false + yyq1366[0] = x.Path != "" + yyq1366[1] = true + yyq1366[2] = x.Host != "" + yyq1366[3] = x.Scheme != "" + yyq1366[4] = len(x.HTTPHeaders) != 0 + var yynn1366 int + if yyr1366 || yy2arr1366 { r.EncodeArrayStart(5) } else { - yynn1361 = 0 - for _, b := range yyq1361 { + yynn1366 = 0 + for _, b := range yyq1366 { if b { - yynn1361++ + yynn1366++ } } - r.EncodeMapStart(yynn1361) - yynn1361 = 0 + r.EncodeMapStart(yynn1366) + yynn1366 = 0 } - if yyr1361 || yy2arr1361 { + if yyr1366 || yy2arr1366 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1361[0] { - yym1363 := z.EncBinary() - _ = yym1363 + if yyq1366[0] { + yym1368 := z.EncBinary() + _ = yym1368 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -18861,56 +18916,56 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1361[0] { + if yyq1366[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1364 := z.EncBinary() - _ = yym1364 + yym1369 := z.EncBinary() + _ = yym1369 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1361 || yy2arr1361 { + if yyr1366 || yy2arr1366 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1361[1] { - yy1366 := &x.Port - yym1367 := z.EncBinary() - _ = yym1367 + if yyq1366[1] { + yy1371 := &x.Port + yym1372 := z.EncBinary() + _ = yym1372 if false { - } else if z.HasExtensions() && z.EncExt(yy1366) { - } else if !yym1367 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1366) + } else if z.HasExtensions() && z.EncExt(yy1371) { + } else if !yym1372 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1371) } else { - z.EncFallback(yy1366) + z.EncFallback(yy1371) } } else { r.EncodeNil() } } else { - if yyq1361[1] { + if yyq1366[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1368 := &x.Port - yym1369 := z.EncBinary() - _ = yym1369 + yy1373 := &x.Port + yym1374 := z.EncBinary() + _ = yym1374 if false { - } else if z.HasExtensions() && z.EncExt(yy1368) { - } else if !yym1369 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1368) + } else if z.HasExtensions() && z.EncExt(yy1373) { + } else if !yym1374 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1373) } else { - z.EncFallback(yy1368) + z.EncFallback(yy1373) } } } - if yyr1361 || yy2arr1361 { + if yyr1366 || yy2arr1366 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1361[2] { - yym1371 := z.EncBinary() - _ = yym1371 + if yyq1366[2] { + yym1376 := z.EncBinary() + _ = yym1376 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -18919,41 +18974,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1361[2] { + if yyq1366[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1372 := z.EncBinary() - _ = yym1372 + yym1377 := z.EncBinary() + _ = yym1377 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr1361 || yy2arr1361 { + if yyr1366 || yy2arr1366 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1361[3] { + if yyq1366[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1361[3] { + if yyq1366[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr1361 || yy2arr1361 { + if yyr1366 || yy2arr1366 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1361[4] { + if yyq1366[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1375 := z.EncBinary() - _ = yym1375 + yym1380 := z.EncBinary() + _ = yym1380 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -18963,15 +19018,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1361[4] { + if yyq1366[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1376 := z.EncBinary() - _ = yym1376 + yym1381 := z.EncBinary() + _ = yym1381 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -18979,7 +19034,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1361 || yy2arr1361 { + if yyr1366 || yy2arr1366 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18992,25 +19047,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1377 := z.DecBinary() - _ = yym1377 + yym1382 := z.DecBinary() + _ = yym1382 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1378 := r.ContainerType() - if yyct1378 == codecSelferValueTypeMap1234 { - yyl1378 := r.ReadMapStart() - if yyl1378 == 0 { + yyct1383 := r.ContainerType() + if yyct1383 == codecSelferValueTypeMap1234 { + yyl1383 := r.ReadMapStart() + if yyl1383 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1378, d) + x.codecDecodeSelfFromMap(yyl1383, d) } - } else if yyct1378 == codecSelferValueTypeArray1234 { - yyl1378 := r.ReadArrayStart() - if yyl1378 == 0 { + } else if yyct1383 == codecSelferValueTypeArray1234 { + yyl1383 := r.ReadArrayStart() + if yyl1383 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1378, d) + x.codecDecodeSelfFromArray(yyl1383, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19022,12 +19077,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1379Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1379Slc - var yyhl1379 bool = l >= 0 - for yyj1379 := 0; ; yyj1379++ { - if yyhl1379 { - if yyj1379 >= l { + var yys1384Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1384Slc + var yyhl1384 bool = l >= 0 + for yyj1384 := 0; ; yyj1384++ { + if yyhl1384 { + if yyj1384 >= l { break } } else { @@ -19036,10 +19091,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1379Slc = r.DecodeBytes(yys1379Slc, true, true) - yys1379 := string(yys1379Slc) + yys1384Slc = r.DecodeBytes(yys1384Slc, true, true) + yys1384 := string(yys1384Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1379 { + switch yys1384 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -19050,15 +19105,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1381 := &x.Port - yym1382 := z.DecBinary() - _ = yym1382 + yyv1386 := &x.Port + yym1387 := z.DecBinary() + _ = yym1387 if false { - } else if z.HasExtensions() && z.DecExt(yyv1381) { - } else if !yym1382 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1381) + } else if z.HasExtensions() && z.DecExt(yyv1386) { + } else if !yym1387 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1386) } else { - z.DecFallback(yyv1381, false) + z.DecFallback(yyv1386, false) } } case "host": @@ -19077,18 +19132,18 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1385 := &x.HTTPHeaders - yym1386 := z.DecBinary() - _ = yym1386 + yyv1390 := &x.HTTPHeaders + yym1391 := z.DecBinary() + _ = yym1391 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1385), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1390), d) } } default: - z.DecStructFieldNotFound(-1, yys1379) - } // end switch yys1379 - } // end for yyj1379 + z.DecStructFieldNotFound(-1, yys1384) + } // end switch yys1384 + } // end for yyj1384 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19096,16 +19151,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1387 int - var yyb1387 bool - var yyhl1387 bool = l >= 0 - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + var yyj1392 int + var yyb1392 bool + var yyhl1392 bool = l >= 0 + yyj1392++ + if yyhl1392 { + yyb1392 = yyj1392 > l } else { - yyb1387 = r.CheckBreak() + yyb1392 = r.CheckBreak() } - if yyb1387 { + if yyb1392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19115,13 +19170,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1392++ + if yyhl1392 { + yyb1392 = yyj1392 > l } else { - yyb1387 = r.CheckBreak() + yyb1392 = r.CheckBreak() } - if yyb1387 { + if yyb1392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19129,24 +19184,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1389 := &x.Port - yym1390 := z.DecBinary() - _ = yym1390 + yyv1394 := &x.Port + yym1395 := z.DecBinary() + _ = yym1395 if false { - } else if z.HasExtensions() && z.DecExt(yyv1389) { - } else if !yym1390 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1389) + } else if z.HasExtensions() && z.DecExt(yyv1394) { + } else if !yym1395 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1394) } else { - z.DecFallback(yyv1389, false) + z.DecFallback(yyv1394, false) } } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1392++ + if yyhl1392 { + yyb1392 = yyj1392 > l } else { - yyb1387 = r.CheckBreak() + yyb1392 = r.CheckBreak() } - if yyb1387 { + if yyb1392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19156,13 +19211,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1392++ + if yyhl1392 { + yyb1392 = yyj1392 > l } else { - yyb1387 = r.CheckBreak() + yyb1392 = r.CheckBreak() } - if yyb1387 { + if yyb1392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19172,13 +19227,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Scheme = URIScheme(r.DecodeString()) } - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1392++ + if yyhl1392 { + yyb1392 = yyj1392 > l } else { - yyb1387 = r.CheckBreak() + yyb1392 = r.CheckBreak() } - if yyb1387 { + if yyb1392 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19186,26 +19241,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1393 := &x.HTTPHeaders - yym1394 := z.DecBinary() - _ = yym1394 + yyv1398 := &x.HTTPHeaders + yym1399 := z.DecBinary() + _ = yym1399 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1393), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1398), d) } } for { - yyj1387++ - if yyhl1387 { - yyb1387 = yyj1387 > l + yyj1392++ + if yyhl1392 { + yyb1392 = yyj1392 > l } else { - yyb1387 = r.CheckBreak() + yyb1392 = r.CheckBreak() } - if yyb1387 { + if yyb1392 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1387-1, "") + z.DecStructFieldNotFound(yyj1392-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19214,8 +19269,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1395 := z.EncBinary() - _ = yym1395 + yym1400 := z.EncBinary() + _ = yym1400 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19227,8 +19282,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1396 := z.DecBinary() - _ = yym1396 + yym1401 := z.DecBinary() + _ = yym1401 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19243,64 +19298,64 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1397 := z.EncBinary() - _ = yym1397 + yym1402 := z.EncBinary() + _ = yym1402 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1398 := !z.EncBinary() - yy2arr1398 := z.EncBasicHandle().StructToArray - var yyq1398 [1]bool - _, _, _ = yysep1398, yyq1398, yy2arr1398 - const yyr1398 bool = false - yyq1398[0] = true - var yynn1398 int - if yyr1398 || yy2arr1398 { + yysep1403 := !z.EncBinary() + yy2arr1403 := z.EncBasicHandle().StructToArray + var yyq1403 [1]bool + _, _, _ = yysep1403, yyq1403, yy2arr1403 + const yyr1403 bool = false + yyq1403[0] = true + var yynn1403 int + if yyr1403 || yy2arr1403 { r.EncodeArrayStart(1) } else { - yynn1398 = 0 - for _, b := range yyq1398 { + yynn1403 = 0 + for _, b := range yyq1403 { if b { - yynn1398++ + yynn1403++ } } - r.EncodeMapStart(yynn1398) - yynn1398 = 0 + r.EncodeMapStart(yynn1403) + yynn1403 = 0 } - if yyr1398 || yy2arr1398 { + if yyr1403 || yy2arr1403 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1398[0] { - yy1400 := &x.Port - yym1401 := z.EncBinary() - _ = yym1401 + if yyq1403[0] { + yy1405 := &x.Port + yym1406 := z.EncBinary() + _ = yym1406 if false { - } else if z.HasExtensions() && z.EncExt(yy1400) { - } else if !yym1401 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1400) + } else if z.HasExtensions() && z.EncExt(yy1405) { + } else if !yym1406 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1405) } else { - z.EncFallback(yy1400) + z.EncFallback(yy1405) } } else { r.EncodeNil() } } else { - if yyq1398[0] { + if yyq1403[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1402 := &x.Port - yym1403 := z.EncBinary() - _ = yym1403 + yy1407 := &x.Port + yym1408 := z.EncBinary() + _ = yym1408 if false { - } else if z.HasExtensions() && z.EncExt(yy1402) { - } else if !yym1403 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1402) + } else if z.HasExtensions() && z.EncExt(yy1407) { + } else if !yym1408 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1407) } else { - z.EncFallback(yy1402) + z.EncFallback(yy1407) } } } - if yyr1398 || yy2arr1398 { + if yyr1403 || yy2arr1403 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19313,25 +19368,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1404 := z.DecBinary() - _ = yym1404 + yym1409 := z.DecBinary() + _ = yym1409 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1405 := r.ContainerType() - if yyct1405 == codecSelferValueTypeMap1234 { - yyl1405 := r.ReadMapStart() - if yyl1405 == 0 { + yyct1410 := r.ContainerType() + if yyct1410 == codecSelferValueTypeMap1234 { + yyl1410 := r.ReadMapStart() + if yyl1410 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1405, d) + x.codecDecodeSelfFromMap(yyl1410, d) } - } else if yyct1405 == codecSelferValueTypeArray1234 { - yyl1405 := r.ReadArrayStart() - if yyl1405 == 0 { + } else if yyct1410 == codecSelferValueTypeArray1234 { + yyl1410 := r.ReadArrayStart() + if yyl1410 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1405, d) + x.codecDecodeSelfFromArray(yyl1410, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19343,12 +19398,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1406Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1406Slc - var yyhl1406 bool = l >= 0 - for yyj1406 := 0; ; yyj1406++ { - if yyhl1406 { - if yyj1406 >= l { + var yys1411Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1411Slc + var yyhl1411 bool = l >= 0 + for yyj1411 := 0; ; yyj1411++ { + if yyhl1411 { + if yyj1411 >= l { break } } else { @@ -19357,29 +19412,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1406Slc = r.DecodeBytes(yys1406Slc, true, true) - yys1406 := string(yys1406Slc) + yys1411Slc = r.DecodeBytes(yys1411Slc, true, true) + yys1411 := string(yys1411Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1406 { + switch yys1411 { case "port": if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1407 := &x.Port - yym1408 := z.DecBinary() - _ = yym1408 + yyv1412 := &x.Port + yym1413 := z.DecBinary() + _ = yym1413 if false { - } else if z.HasExtensions() && z.DecExt(yyv1407) { - } else if !yym1408 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1407) + } else if z.HasExtensions() && z.DecExt(yyv1412) { + } else if !yym1413 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1412) } else { - z.DecFallback(yyv1407, false) + z.DecFallback(yyv1412, false) } } default: - z.DecStructFieldNotFound(-1, yys1406) - } // end switch yys1406 - } // end for yyj1406 + z.DecStructFieldNotFound(-1, yys1411) + } // end switch yys1411 + } // end for yyj1411 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19387,16 +19442,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1409 int - var yyb1409 bool - var yyhl1409 bool = l >= 0 - yyj1409++ - if yyhl1409 { - yyb1409 = yyj1409 > l + var yyj1414 int + var yyb1414 bool + var yyhl1414 bool = l >= 0 + yyj1414++ + if yyhl1414 { + yyb1414 = yyj1414 > l } else { - yyb1409 = r.CheckBreak() + yyb1414 = r.CheckBreak() } - if yyb1409 { + if yyb1414 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19404,29 +19459,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1410 := &x.Port - yym1411 := z.DecBinary() - _ = yym1411 + yyv1415 := &x.Port + yym1416 := z.DecBinary() + _ = yym1416 if false { - } else if z.HasExtensions() && z.DecExt(yyv1410) { - } else if !yym1411 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1410) + } else if z.HasExtensions() && z.DecExt(yyv1415) { + } else if !yym1416 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1415) } else { - z.DecFallback(yyv1410, false) + z.DecFallback(yyv1415, false) } } for { - yyj1409++ - if yyhl1409 { - yyb1409 = yyj1409 > l + yyj1414++ + if yyhl1414 { + yyb1414 = yyj1414 > l } else { - yyb1409 = r.CheckBreak() + yyb1414 = r.CheckBreak() } - if yyb1409 { + if yyb1414 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1409-1, "") + z.DecStructFieldNotFound(yyj1414-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19438,38 +19493,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1412 := z.EncBinary() - _ = yym1412 + yym1417 := z.EncBinary() + _ = yym1417 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1413 := !z.EncBinary() - yy2arr1413 := z.EncBasicHandle().StructToArray - var yyq1413 [1]bool - _, _, _ = yysep1413, yyq1413, yy2arr1413 - const yyr1413 bool = false - yyq1413[0] = len(x.Command) != 0 - var yynn1413 int - if yyr1413 || yy2arr1413 { + yysep1418 := !z.EncBinary() + yy2arr1418 := z.EncBasicHandle().StructToArray + var yyq1418 [1]bool + _, _, _ = yysep1418, yyq1418, yy2arr1418 + const yyr1418 bool = false + yyq1418[0] = len(x.Command) != 0 + var yynn1418 int + if yyr1418 || yy2arr1418 { r.EncodeArrayStart(1) } else { - yynn1413 = 0 - for _, b := range yyq1413 { + yynn1418 = 0 + for _, b := range yyq1418 { if b { - yynn1413++ + yynn1418++ } } - r.EncodeMapStart(yynn1413) - yynn1413 = 0 + r.EncodeMapStart(yynn1418) + yynn1418 = 0 } - if yyr1413 || yy2arr1413 { + if yyr1418 || yy2arr1418 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1413[0] { + if yyq1418[0] { if x.Command == nil { r.EncodeNil() } else { - yym1415 := z.EncBinary() - _ = yym1415 + yym1420 := z.EncBinary() + _ = yym1420 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -19479,15 +19534,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1413[0] { + if yyq1418[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1416 := z.EncBinary() - _ = yym1416 + yym1421 := z.EncBinary() + _ = yym1421 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -19495,7 +19550,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1413 || yy2arr1413 { + if yyr1418 || yy2arr1418 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19508,25 +19563,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1417 := z.DecBinary() - _ = yym1417 + yym1422 := z.DecBinary() + _ = yym1422 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1418 := r.ContainerType() - if yyct1418 == codecSelferValueTypeMap1234 { - yyl1418 := r.ReadMapStart() - if yyl1418 == 0 { + yyct1423 := r.ContainerType() + if yyct1423 == codecSelferValueTypeMap1234 { + yyl1423 := r.ReadMapStart() + if yyl1423 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1418, d) + x.codecDecodeSelfFromMap(yyl1423, d) } - } else if yyct1418 == codecSelferValueTypeArray1234 { - yyl1418 := r.ReadArrayStart() - if yyl1418 == 0 { + } else if yyct1423 == codecSelferValueTypeArray1234 { + yyl1423 := r.ReadArrayStart() + if yyl1423 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1418, d) + x.codecDecodeSelfFromArray(yyl1423, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19538,12 +19593,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1419Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1419Slc - var yyhl1419 bool = l >= 0 - for yyj1419 := 0; ; yyj1419++ { - if yyhl1419 { - if yyj1419 >= l { + var yys1424Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1424Slc + var yyhl1424 bool = l >= 0 + for yyj1424 := 0; ; yyj1424++ { + if yyhl1424 { + if yyj1424 >= l { break } } else { @@ -19552,26 +19607,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1419Slc = r.DecodeBytes(yys1419Slc, true, true) - yys1419 := string(yys1419Slc) + yys1424Slc = r.DecodeBytes(yys1424Slc, true, true) + yys1424 := string(yys1424Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1419 { + switch yys1424 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1420 := &x.Command - yym1421 := z.DecBinary() - _ = yym1421 + yyv1425 := &x.Command + yym1426 := z.DecBinary() + _ = yym1426 if false { } else { - z.F.DecSliceStringX(yyv1420, false, d) + z.F.DecSliceStringX(yyv1425, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1419) - } // end switch yys1419 - } // end for yyj1419 + z.DecStructFieldNotFound(-1, yys1424) + } // end switch yys1424 + } // end for yyj1424 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19579,16 +19634,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1422 int - var yyb1422 bool - var yyhl1422 bool = l >= 0 - yyj1422++ - if yyhl1422 { - yyb1422 = yyj1422 > l + var yyj1427 int + var yyb1427 bool + var yyhl1427 bool = l >= 0 + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1422 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1422 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19596,26 +19651,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1423 := &x.Command - yym1424 := z.DecBinary() - _ = yym1424 + yyv1428 := &x.Command + yym1429 := z.DecBinary() + _ = yym1429 if false { } else { - z.F.DecSliceStringX(yyv1423, false, d) + z.F.DecSliceStringX(yyv1428, false, d) } } for { - yyj1422++ - if yyhl1422 { - yyb1422 = yyj1422 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1422 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1422 { + if yyb1427 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1422-1, "") + z.DecStructFieldNotFound(yyj1427-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19627,49 +19682,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1425 := z.EncBinary() - _ = yym1425 + yym1430 := z.EncBinary() + _ = yym1430 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1426 := !z.EncBinary() - yy2arr1426 := z.EncBasicHandle().StructToArray - var yyq1426 [8]bool - _, _, _ = yysep1426, yyq1426, yy2arr1426 - const yyr1426 bool = false - yyq1426[0] = x.Handler.Exec != nil && x.Exec != nil - yyq1426[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq1426[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - yyq1426[3] = x.InitialDelaySeconds != 0 - yyq1426[4] = x.TimeoutSeconds != 0 - yyq1426[5] = x.PeriodSeconds != 0 - yyq1426[6] = x.SuccessThreshold != 0 - yyq1426[7] = x.FailureThreshold != 0 - var yynn1426 int - if yyr1426 || yy2arr1426 { + yysep1431 := !z.EncBinary() + yy2arr1431 := z.EncBasicHandle().StructToArray + var yyq1431 [8]bool + _, _, _ = yysep1431, yyq1431, yy2arr1431 + const yyr1431 bool = false + yyq1431[0] = x.Handler.Exec != nil && x.Exec != nil + yyq1431[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1431[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq1431[3] = x.InitialDelaySeconds != 0 + yyq1431[4] = x.TimeoutSeconds != 0 + yyq1431[5] = x.PeriodSeconds != 0 + yyq1431[6] = x.SuccessThreshold != 0 + yyq1431[7] = x.FailureThreshold != 0 + var yynn1431 int + if yyr1431 || yy2arr1431 { r.EncodeArrayStart(8) } else { - yynn1426 = 0 - for _, b := range yyq1426 { + yynn1431 = 0 + for _, b := range yyq1431 { if b { - yynn1426++ + yynn1431++ } } - r.EncodeMapStart(yynn1426) - yynn1426 = 0 + r.EncodeMapStart(yynn1431) + yynn1431 = 0 } - var yyn1427 bool + var yyn1432 bool if x.Handler.Exec == nil { - yyn1427 = true - goto LABEL1427 + yyn1432 = true + goto LABEL1432 } - LABEL1427: - if yyr1426 || yy2arr1426 { - if yyn1427 { + LABEL1432: + if yyr1431 || yy2arr1431 { + if yyn1432 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[0] { + if yyq1431[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -19680,11 +19735,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1426[0] { + if yyq1431[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1427 { + if yyn1432 { r.EncodeNil() } else { if x.Exec == nil { @@ -19695,18 +19750,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1428 bool + var yyn1433 bool if x.Handler.HTTPGet == nil { - yyn1428 = true - goto LABEL1428 + yyn1433 = true + goto LABEL1433 } - LABEL1428: - if yyr1426 || yy2arr1426 { - if yyn1428 { + LABEL1433: + if yyr1431 || yy2arr1431 { + if yyn1433 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[1] { + if yyq1431[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -19717,11 +19772,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1426[1] { + if yyq1431[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1428 { + if yyn1433 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -19732,18 +19787,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1429 bool + var yyn1434 bool if x.Handler.TCPSocket == nil { - yyn1429 = true - goto LABEL1429 + yyn1434 = true + goto LABEL1434 } - LABEL1429: - if yyr1426 || yy2arr1426 { - if yyn1429 { + LABEL1434: + if yyr1431 || yy2arr1431 { + if yyn1434 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[2] { + if yyq1431[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -19754,11 +19809,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1426[2] { + if yyq1431[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1429 { + if yyn1434 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -19769,11 +19824,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1426 || yy2arr1426 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[3] { - yym1431 := z.EncBinary() - _ = yym1431 + if yyq1431[3] { + yym1436 := z.EncBinary() + _ = yym1436 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -19782,99 +19837,99 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1426[3] { + if yyq1431[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1432 := z.EncBinary() - _ = yym1432 - if false { - } else { - r.EncodeInt(int64(x.InitialDelaySeconds)) - } - } - } - if yyr1426 || yy2arr1426 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[4] { - yym1434 := z.EncBinary() - _ = yym1434 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq1426[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1435 := z.EncBinary() - _ = yym1435 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } - } - if yyr1426 || yy2arr1426 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[5] { yym1437 := z.EncBinary() _ = yym1437 if false { } else { - r.EncodeInt(int64(x.PeriodSeconds)) + r.EncodeInt(int64(x.InitialDelaySeconds)) + } + } + } + if yyr1431 || yy2arr1431 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1431[4] { + yym1439 := z.EncBinary() + _ = yym1439 + if false { + } else { + r.EncodeInt(int64(x.TimeoutSeconds)) } } else { r.EncodeInt(0) } } else { - if yyq1426[5] { + if yyq1431[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) + r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1438 := z.EncBinary() - _ = yym1438 - if false { - } else { - r.EncodeInt(int64(x.PeriodSeconds)) - } - } - } - if yyr1426 || yy2arr1426 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[6] { yym1440 := z.EncBinary() _ = yym1440 if false { } else { - r.EncodeInt(int64(x.SuccessThreshold)) + r.EncodeInt(int64(x.TimeoutSeconds)) + } + } + } + if yyr1431 || yy2arr1431 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1431[5] { + yym1442 := z.EncBinary() + _ = yym1442 + if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) } } else { r.EncodeInt(0) } } else { - if yyq1426[6] { + if yyq1431[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) + r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1441 := z.EncBinary() - _ = yym1441 - if false { - } else { - r.EncodeInt(int64(x.SuccessThreshold)) - } - } - } - if yyr1426 || yy2arr1426 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1426[7] { yym1443 := z.EncBinary() _ = yym1443 if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) + } + } + } + if yyr1431 || yy2arr1431 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1431[6] { + yym1445 := z.EncBinary() + _ = yym1445 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1431[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1446 := z.EncBinary() + _ = yym1446 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } + } + if yyr1431 || yy2arr1431 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1431[7] { + yym1448 := z.EncBinary() + _ = yym1448 + if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } @@ -19882,19 +19937,19 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1426[7] { + if yyq1431[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1444 := z.EncBinary() - _ = yym1444 + yym1449 := z.EncBinary() + _ = yym1449 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - if yyr1426 || yy2arr1426 { + if yyr1431 || yy2arr1431 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19907,25 +19962,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1445 := z.DecBinary() - _ = yym1445 + yym1450 := z.DecBinary() + _ = yym1450 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1446 := r.ContainerType() - if yyct1446 == codecSelferValueTypeMap1234 { - yyl1446 := r.ReadMapStart() - if yyl1446 == 0 { + yyct1451 := r.ContainerType() + if yyct1451 == codecSelferValueTypeMap1234 { + yyl1451 := r.ReadMapStart() + if yyl1451 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1446, d) + x.codecDecodeSelfFromMap(yyl1451, d) } - } else if yyct1446 == codecSelferValueTypeArray1234 { - yyl1446 := r.ReadArrayStart() - if yyl1446 == 0 { + } else if yyct1451 == codecSelferValueTypeArray1234 { + yyl1451 := r.ReadArrayStart() + if yyl1451 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1446, d) + x.codecDecodeSelfFromArray(yyl1451, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19937,12 +19992,12 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1447Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1447Slc - var yyhl1447 bool = l >= 0 - for yyj1447 := 0; ; yyj1447++ { - if yyhl1447 { - if yyj1447 >= l { + var yys1452Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1452Slc + var yyhl1452 bool = l >= 0 + for yyj1452 := 0; ; yyj1452++ { + if yyhl1452 { + if yyj1452 >= l { break } } else { @@ -19951,10 +20006,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1447Slc = r.DecodeBytes(yys1447Slc, true, true) - yys1447 := string(yys1447Slc) + yys1452Slc = r.DecodeBytes(yys1452Slc, true, true) + yys1452 := string(yys1452Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1447 { + switch yys1452 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -20028,9 +20083,9 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FailureThreshold = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1447) - } // end switch yys1447 - } // end for yyj1447 + z.DecStructFieldNotFound(-1, yys1452) + } // end switch yys1452 + } // end for yyj1452 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20038,19 +20093,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1456 int - var yyb1456 bool - var yyhl1456 bool = l >= 0 + var yyj1461 int + var yyb1461 bool + var yyhl1461 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20068,13 +20123,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20092,13 +20147,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20113,13 +20168,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20129,13 +20184,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.InitialDelaySeconds = int32(r.DecodeInt(32)) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20145,13 +20200,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TimeoutSeconds = int32(r.DecodeInt(32)) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20161,13 +20216,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PeriodSeconds = int32(r.DecodeInt(32)) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20177,13 +20232,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SuccessThreshold = int32(r.DecodeInt(32)) } - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20194,17 +20249,17 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FailureThreshold = int32(r.DecodeInt(32)) } for { - yyj1456++ - if yyhl1456 { - yyb1456 = yyj1456 > l + yyj1461++ + if yyhl1461 { + yyb1461 = yyj1461 > l } else { - yyb1456 = r.CheckBreak() + yyb1461 = r.CheckBreak() } - if yyb1456 { + if yyb1461 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1456-1, "") + z.DecStructFieldNotFound(yyj1461-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20213,8 +20268,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1465 := z.EncBinary() - _ = yym1465 + yym1470 := z.EncBinary() + _ = yym1470 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20226,8 +20281,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1466 := z.DecBinary() - _ = yym1466 + yym1471 := z.DecBinary() + _ = yym1471 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20239,8 +20294,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1467 := z.EncBinary() - _ = yym1467 + yym1472 := z.EncBinary() + _ = yym1472 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -20252,8 +20307,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1468 := z.DecBinary() - _ = yym1468 + yym1473 := z.DecBinary() + _ = yym1473 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -20268,39 +20323,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1469 := z.EncBinary() - _ = yym1469 + yym1474 := z.EncBinary() + _ = yym1474 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1470 := !z.EncBinary() - yy2arr1470 := z.EncBasicHandle().StructToArray - var yyq1470 [2]bool - _, _, _ = yysep1470, yyq1470, yy2arr1470 - const yyr1470 bool = false - yyq1470[0] = len(x.Add) != 0 - yyq1470[1] = len(x.Drop) != 0 - var yynn1470 int - if yyr1470 || yy2arr1470 { + yysep1475 := !z.EncBinary() + yy2arr1475 := z.EncBasicHandle().StructToArray + var yyq1475 [2]bool + _, _, _ = yysep1475, yyq1475, yy2arr1475 + const yyr1475 bool = false + yyq1475[0] = len(x.Add) != 0 + yyq1475[1] = len(x.Drop) != 0 + var yynn1475 int + if yyr1475 || yy2arr1475 { r.EncodeArrayStart(2) } else { - yynn1470 = 0 - for _, b := range yyq1470 { + yynn1475 = 0 + for _, b := range yyq1475 { if b { - yynn1470++ + yynn1475++ } } - r.EncodeMapStart(yynn1470) - yynn1470 = 0 + r.EncodeMapStart(yynn1475) + yynn1475 = 0 } - if yyr1470 || yy2arr1470 { + if yyr1475 || yy2arr1475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1470[0] { + if yyq1475[0] { if x.Add == nil { r.EncodeNil() } else { - yym1472 := z.EncBinary() - _ = yym1472 + yym1477 := z.EncBinary() + _ = yym1477 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -20310,15 +20365,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1470[0] { + if yyq1475[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1473 := z.EncBinary() - _ = yym1473 + yym1478 := z.EncBinary() + _ = yym1478 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -20326,14 +20381,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1470 || yy2arr1470 { + if yyr1475 || yy2arr1475 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1470[1] { + if yyq1475[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1475 := z.EncBinary() - _ = yym1475 + yym1480 := z.EncBinary() + _ = yym1480 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -20343,15 +20398,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1470[1] { + if yyq1475[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1476 := z.EncBinary() - _ = yym1476 + yym1481 := z.EncBinary() + _ = yym1481 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -20359,7 +20414,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1470 || yy2arr1470 { + if yyr1475 || yy2arr1475 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20372,25 +20427,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1477 := z.DecBinary() - _ = yym1477 + yym1482 := z.DecBinary() + _ = yym1482 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1478 := r.ContainerType() - if yyct1478 == codecSelferValueTypeMap1234 { - yyl1478 := r.ReadMapStart() - if yyl1478 == 0 { + yyct1483 := r.ContainerType() + if yyct1483 == codecSelferValueTypeMap1234 { + yyl1483 := r.ReadMapStart() + if yyl1483 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1478, d) + x.codecDecodeSelfFromMap(yyl1483, d) } - } else if yyct1478 == codecSelferValueTypeArray1234 { - yyl1478 := r.ReadArrayStart() - if yyl1478 == 0 { + } else if yyct1483 == codecSelferValueTypeArray1234 { + yyl1483 := r.ReadArrayStart() + if yyl1483 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1478, d) + x.codecDecodeSelfFromArray(yyl1483, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20402,12 +20457,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1479Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1479Slc - var yyhl1479 bool = l >= 0 - for yyj1479 := 0; ; yyj1479++ { - if yyhl1479 { - if yyj1479 >= l { + var yys1484Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1484Slc + var yyhl1484 bool = l >= 0 + for yyj1484 := 0; ; yyj1484++ { + if yyhl1484 { + if yyj1484 >= l { break } } else { @@ -20416,38 +20471,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1479Slc = r.DecodeBytes(yys1479Slc, true, true) - yys1479 := string(yys1479Slc) + yys1484Slc = r.DecodeBytes(yys1484Slc, true, true) + yys1484 := string(yys1484Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1479 { + switch yys1484 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1480 := &x.Add - yym1481 := z.DecBinary() - _ = yym1481 + yyv1485 := &x.Add + yym1486 := z.DecBinary() + _ = yym1486 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1480), d) + h.decSliceCapability((*[]Capability)(yyv1485), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1482 := &x.Drop - yym1483 := z.DecBinary() - _ = yym1483 + yyv1487 := &x.Drop + yym1488 := z.DecBinary() + _ = yym1488 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1482), d) + h.decSliceCapability((*[]Capability)(yyv1487), d) } } default: - z.DecStructFieldNotFound(-1, yys1479) - } // end switch yys1479 - } // end for yyj1479 + z.DecStructFieldNotFound(-1, yys1484) + } // end switch yys1484 + } // end for yyj1484 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20455,16 +20510,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1484 int - var yyb1484 bool - var yyhl1484 bool = l >= 0 - yyj1484++ - if yyhl1484 { - yyb1484 = yyj1484 > l + var yyj1489 int + var yyb1489 bool + var yyhl1489 bool = l >= 0 + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1484 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1484 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20472,21 +20527,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1485 := &x.Add - yym1486 := z.DecBinary() - _ = yym1486 + yyv1490 := &x.Add + yym1491 := z.DecBinary() + _ = yym1491 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1485), d) + h.decSliceCapability((*[]Capability)(yyv1490), d) } } - yyj1484++ - if yyhl1484 { - yyb1484 = yyj1484 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1484 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1484 { + if yyb1489 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20494,26 +20549,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1487 := &x.Drop - yym1488 := z.DecBinary() - _ = yym1488 + yyv1492 := &x.Drop + yym1493 := z.DecBinary() + _ = yym1493 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1487), d) + h.decSliceCapability((*[]Capability)(yyv1492), d) } } for { - yyj1484++ - if yyhl1484 { - yyb1484 = yyj1484 > l + yyj1489++ + if yyhl1489 { + yyb1489 = yyj1489 > l } else { - yyb1484 = r.CheckBreak() + yyb1489 = r.CheckBreak() } - if yyb1484 { + if yyb1489 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1484-1, "") + z.DecStructFieldNotFound(yyj1489-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20525,34 +20580,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1489 := z.EncBinary() - _ = yym1489 + yym1494 := z.EncBinary() + _ = yym1494 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1490 := !z.EncBinary() - yy2arr1490 := z.EncBasicHandle().StructToArray - var yyq1490 [2]bool - _, _, _ = yysep1490, yyq1490, yy2arr1490 - const yyr1490 bool = false - yyq1490[0] = len(x.Limits) != 0 - yyq1490[1] = len(x.Requests) != 0 - var yynn1490 int - if yyr1490 || yy2arr1490 { + yysep1495 := !z.EncBinary() + yy2arr1495 := z.EncBasicHandle().StructToArray + var yyq1495 [2]bool + _, _, _ = yysep1495, yyq1495, yy2arr1495 + const yyr1495 bool = false + yyq1495[0] = len(x.Limits) != 0 + yyq1495[1] = len(x.Requests) != 0 + var yynn1495 int + if yyr1495 || yy2arr1495 { r.EncodeArrayStart(2) } else { - yynn1490 = 0 - for _, b := range yyq1490 { + yynn1495 = 0 + for _, b := range yyq1495 { if b { - yynn1490++ + yynn1495++ } } - r.EncodeMapStart(yynn1490) - yynn1490 = 0 + r.EncodeMapStart(yynn1495) + yynn1495 = 0 } - if yyr1490 || yy2arr1490 { + if yyr1495 || yy2arr1495 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1490[0] { + if yyq1495[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -20562,7 +20617,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1490[0] { + if yyq1495[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20573,9 +20628,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1490 || yy2arr1490 { + if yyr1495 || yy2arr1495 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1490[1] { + if yyq1495[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -20585,7 +20640,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1490[1] { + if yyq1495[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20596,7 +20651,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1490 || yy2arr1490 { + if yyr1495 || yy2arr1495 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20609,25 +20664,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1493 := z.DecBinary() - _ = yym1493 + yym1498 := z.DecBinary() + _ = yym1498 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1494 := r.ContainerType() - if yyct1494 == codecSelferValueTypeMap1234 { - yyl1494 := r.ReadMapStart() - if yyl1494 == 0 { + yyct1499 := r.ContainerType() + if yyct1499 == codecSelferValueTypeMap1234 { + yyl1499 := r.ReadMapStart() + if yyl1499 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1494, d) + x.codecDecodeSelfFromMap(yyl1499, d) } - } else if yyct1494 == codecSelferValueTypeArray1234 { - yyl1494 := r.ReadArrayStart() - if yyl1494 == 0 { + } else if yyct1499 == codecSelferValueTypeArray1234 { + yyl1499 := r.ReadArrayStart() + if yyl1499 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1494, d) + x.codecDecodeSelfFromArray(yyl1499, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20639,12 +20694,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1495Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1495Slc - var yyhl1495 bool = l >= 0 - for yyj1495 := 0; ; yyj1495++ { - if yyhl1495 { - if yyj1495 >= l { + var yys1500Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1500Slc + var yyhl1500 bool = l >= 0 + for yyj1500 := 0; ; yyj1500++ { + if yyhl1500 { + if yyj1500 >= l { break } } else { @@ -20653,28 +20708,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1495Slc = r.DecodeBytes(yys1495Slc, true, true) - yys1495 := string(yys1495Slc) + yys1500Slc = r.DecodeBytes(yys1500Slc, true, true) + yys1500 := string(yys1500Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1495 { + switch yys1500 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1496 := &x.Limits - yyv1496.CodecDecodeSelf(d) + yyv1501 := &x.Limits + yyv1501.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1497 := &x.Requests - yyv1497.CodecDecodeSelf(d) + yyv1502 := &x.Requests + yyv1502.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1495) - } // end switch yys1495 - } // end for yyj1495 + z.DecStructFieldNotFound(-1, yys1500) + } // end switch yys1500 + } // end for yyj1500 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20682,16 +20737,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco 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 yyj1503 int + var yyb1503 bool + var yyhl1503 bool = l >= 0 + yyj1503++ + if yyhl1503 { + yyb1503 = yyj1503 > l } else { - yyb1498 = r.CheckBreak() + yyb1503 = r.CheckBreak() } - if yyb1498 { + if yyb1503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20699,16 +20754,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1499 := &x.Limits - yyv1499.CodecDecodeSelf(d) + yyv1504 := &x.Limits + yyv1504.CodecDecodeSelf(d) } - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1503++ + if yyhl1503 { + yyb1503 = yyj1503 > l } else { - yyb1498 = r.CheckBreak() + yyb1503 = r.CheckBreak() } - if yyb1498 { + if yyb1503 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20716,21 +20771,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1500 := &x.Requests - yyv1500.CodecDecodeSelf(d) + yyv1505 := &x.Requests + yyv1505.CodecDecodeSelf(d) } for { - yyj1498++ - if yyhl1498 { - yyb1498 = yyj1498 > l + yyj1503++ + if yyhl1503 { + yyb1503 = yyj1503 > l } else { - yyb1498 = r.CheckBreak() + yyb1503 = r.CheckBreak() } - if yyb1498 { + if yyb1503 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1498-1, "") + z.DecStructFieldNotFound(yyj1503-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20742,48 +20797,48 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1501 := z.EncBinary() - _ = yym1501 + yym1506 := z.EncBinary() + _ = yym1506 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1502 := !z.EncBinary() - yy2arr1502 := z.EncBasicHandle().StructToArray - var yyq1502 [18]bool - _, _, _ = yysep1502, yyq1502, yy2arr1502 - const yyr1502 bool = false - yyq1502[2] = len(x.Command) != 0 - yyq1502[3] = len(x.Args) != 0 - yyq1502[4] = x.WorkingDir != "" - yyq1502[5] = len(x.Ports) != 0 - yyq1502[6] = len(x.Env) != 0 - yyq1502[7] = true - yyq1502[8] = len(x.VolumeMounts) != 0 - yyq1502[9] = x.LivenessProbe != nil - yyq1502[10] = x.ReadinessProbe != nil - yyq1502[11] = x.Lifecycle != nil - yyq1502[12] = x.TerminationMessagePath != "" - yyq1502[14] = x.SecurityContext != nil - yyq1502[15] = x.Stdin != false - yyq1502[16] = x.StdinOnce != false - yyq1502[17] = x.TTY != false - var yynn1502 int - if yyr1502 || yy2arr1502 { + yysep1507 := !z.EncBinary() + yy2arr1507 := z.EncBasicHandle().StructToArray + var yyq1507 [18]bool + _, _, _ = yysep1507, yyq1507, yy2arr1507 + const yyr1507 bool = false + yyq1507[2] = len(x.Command) != 0 + yyq1507[3] = len(x.Args) != 0 + yyq1507[4] = x.WorkingDir != "" + yyq1507[5] = len(x.Ports) != 0 + yyq1507[6] = len(x.Env) != 0 + yyq1507[7] = true + yyq1507[8] = len(x.VolumeMounts) != 0 + yyq1507[9] = x.LivenessProbe != nil + yyq1507[10] = x.ReadinessProbe != nil + yyq1507[11] = x.Lifecycle != nil + yyq1507[12] = x.TerminationMessagePath != "" + yyq1507[14] = x.SecurityContext != nil + yyq1507[15] = x.Stdin != false + yyq1507[16] = x.StdinOnce != false + yyq1507[17] = x.TTY != false + var yynn1507 int + if yyr1507 || yy2arr1507 { r.EncodeArrayStart(18) } else { - yynn1502 = 3 - for _, b := range yyq1502 { + yynn1507 = 3 + for _, b := range yyq1507 { if b { - yynn1502++ + yynn1507++ } } - r.EncodeMapStart(yynn1502) - yynn1502 = 0 + r.EncodeMapStart(yynn1507) + yynn1507 = 0 } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1504 := z.EncBinary() - _ = yym1504 + yym1509 := z.EncBinary() + _ = yym1509 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -20792,17 +20847,17 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1505 := z.EncBinary() - _ = yym1505 + yym1510 := z.EncBinary() + _ = yym1510 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1507 := z.EncBinary() - _ = yym1507 + yym1512 := z.EncBinary() + _ = yym1512 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -20811,21 +20866,21 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1508 := z.EncBinary() - _ = yym1508 + yym1513 := z.EncBinary() + _ = yym1513 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[2] { + if yyq1507[2] { if x.Command == nil { r.EncodeNil() } else { - yym1510 := z.EncBinary() - _ = yym1510 + yym1515 := z.EncBinary() + _ = yym1515 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -20835,15 +20890,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[2] { + if yyq1507[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1511 := z.EncBinary() - _ = yym1511 + yym1516 := z.EncBinary() + _ = yym1516 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -20851,14 +20906,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[3] { + if yyq1507[3] { if x.Args == nil { r.EncodeNil() } else { - yym1513 := z.EncBinary() - _ = yym1513 + yym1518 := z.EncBinary() + _ = yym1518 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -20868,15 +20923,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[3] { + if yyq1507[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1514 := z.EncBinary() - _ = yym1514 + yym1519 := z.EncBinary() + _ = yym1519 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -20884,11 +20939,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[4] { - yym1516 := z.EncBinary() - _ = yym1516 + if yyq1507[4] { + yym1521 := z.EncBinary() + _ = yym1521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -20897,26 +20952,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1502[4] { + if yyq1507[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1517 := z.EncBinary() - _ = yym1517 + yym1522 := z.EncBinary() + _ = yym1522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[5] { + if yyq1507[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1519 := z.EncBinary() - _ = yym1519 + yym1524 := z.EncBinary() + _ = yym1524 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -20926,15 +20981,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[5] { + if yyq1507[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1520 := z.EncBinary() - _ = yym1520 + yym1525 := z.EncBinary() + _ = yym1525 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -20942,14 +20997,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[6] { + if yyq1507[6] { if x.Env == nil { r.EncodeNil() } else { - yym1522 := z.EncBinary() - _ = yym1522 + yym1527 := z.EncBinary() + _ = yym1527 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -20959,15 +21014,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[6] { + if yyq1507[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1523 := z.EncBinary() - _ = yym1523 + yym1528 := z.EncBinary() + _ = yym1528 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -20975,31 +21030,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[7] { - yy1525 := &x.Resources - yy1525.CodecEncodeSelf(e) + if yyq1507[7] { + yy1530 := &x.Resources + yy1530.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1502[7] { + if yyq1507[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1526 := &x.Resources - yy1526.CodecEncodeSelf(e) + yy1531 := &x.Resources + yy1531.CodecEncodeSelf(e) } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[8] { + if yyq1507[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1528 := z.EncBinary() - _ = yym1528 + yym1533 := z.EncBinary() + _ = yym1533 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -21009,15 +21064,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[8] { + if yyq1507[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1529 := z.EncBinary() - _ = yym1529 + yym1534 := z.EncBinary() + _ = yym1534 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -21025,9 +21080,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[9] { + if yyq1507[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -21037,7 +21092,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[9] { + if yyq1507[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21048,9 +21103,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[10] { + if yyq1507[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -21060,7 +21115,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[10] { + if yyq1507[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21071,9 +21126,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[11] { + if yyq1507[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -21083,7 +21138,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[11] { + if yyq1507[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21094,11 +21149,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[12] { - yym1534 := z.EncBinary() - _ = yym1534 + if yyq1507[12] { + yym1539 := z.EncBinary() + _ = yym1539 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -21107,19 +21162,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1502[12] { + if yyq1507[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1535 := z.EncBinary() - _ = yym1535 + yym1540 := z.EncBinary() + _ = yym1540 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.ImagePullPolicy.CodecEncodeSelf(e) } else { @@ -21128,9 +21183,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[14] { + if yyq1507[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -21140,7 +21195,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1502[14] { + if yyq1507[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21151,11 +21206,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[15] { - yym1539 := z.EncBinary() - _ = yym1539 + if yyq1507[15] { + yym1544 := z.EncBinary() + _ = yym1544 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -21164,49 +21219,49 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1502[15] { + if yyq1507[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1540 := z.EncBinary() - _ = yym1540 - if false { - } else { - r.EncodeBool(bool(x.Stdin)) - } - } - } - if yyr1502 || yy2arr1502 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[16] { - yym1542 := z.EncBinary() - _ = yym1542 - if false { - } else { - r.EncodeBool(bool(x.StdinOnce)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq1502[16] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1543 := z.EncBinary() - _ = yym1543 - if false { - } else { - r.EncodeBool(bool(x.StdinOnce)) - } - } - } - if yyr1502 || yy2arr1502 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1502[17] { yym1545 := z.EncBinary() _ = yym1545 if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr1507 || yy2arr1507 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1507[16] { + yym1547 := z.EncBinary() + _ = yym1547 + if false { + } else { + r.EncodeBool(bool(x.StdinOnce)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq1507[16] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1548 := z.EncBinary() + _ = yym1548 + if false { + } else { + r.EncodeBool(bool(x.StdinOnce)) + } + } + } + if yyr1507 || yy2arr1507 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1507[17] { + yym1550 := z.EncBinary() + _ = yym1550 + if false { } else { r.EncodeBool(bool(x.TTY)) } @@ -21214,19 +21269,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1502[17] { + if yyq1507[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1546 := z.EncBinary() - _ = yym1546 + yym1551 := z.EncBinary() + _ = yym1551 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1502 || yy2arr1502 { + if yyr1507 || yy2arr1507 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21239,25 +21294,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1547 := z.DecBinary() - _ = yym1547 + yym1552 := z.DecBinary() + _ = yym1552 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1548 := r.ContainerType() - if yyct1548 == codecSelferValueTypeMap1234 { - yyl1548 := r.ReadMapStart() - if yyl1548 == 0 { + yyct1553 := r.ContainerType() + if yyct1553 == codecSelferValueTypeMap1234 { + yyl1553 := r.ReadMapStart() + if yyl1553 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1548, d) + x.codecDecodeSelfFromMap(yyl1553, d) } - } else if yyct1548 == codecSelferValueTypeArray1234 { - yyl1548 := r.ReadArrayStart() - if yyl1548 == 0 { + } else if yyct1553 == codecSelferValueTypeArray1234 { + yyl1553 := r.ReadArrayStart() + if yyl1553 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1548, d) + x.codecDecodeSelfFromArray(yyl1553, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21269,12 +21324,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1549Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1549Slc - var yyhl1549 bool = l >= 0 - for yyj1549 := 0; ; yyj1549++ { - if yyhl1549 { - if yyj1549 >= 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 { @@ -21283,10 +21338,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1549Slc = r.DecodeBytes(yys1549Slc, true, true) - yys1549 := string(yys1549Slc) + yys1554Slc = r.DecodeBytes(yys1554Slc, true, true) + yys1554 := string(yys1554Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1549 { + switch yys1554 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -21303,24 +21358,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1552 := &x.Command - yym1553 := z.DecBinary() - _ = yym1553 + yyv1557 := &x.Command + yym1558 := z.DecBinary() + _ = yym1558 if false { } else { - z.F.DecSliceStringX(yyv1552, false, d) + z.F.DecSliceStringX(yyv1557, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1554 := &x.Args - yym1555 := z.DecBinary() - _ = yym1555 + yyv1559 := &x.Args + yym1560 := z.DecBinary() + _ = yym1560 if false { } else { - z.F.DecSliceStringX(yyv1554, false, d) + z.F.DecSliceStringX(yyv1559, false, d) } } case "workingDir": @@ -21333,43 +21388,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1557 := &x.Ports - yym1558 := z.DecBinary() - _ = yym1558 + yyv1562 := &x.Ports + yym1563 := z.DecBinary() + _ = yym1563 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1557), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1562), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1559 := &x.Env - yym1560 := z.DecBinary() - _ = yym1560 + yyv1564 := &x.Env + yym1565 := z.DecBinary() + _ = yym1565 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1559), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1564), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1561 := &x.Resources - yyv1561.CodecDecodeSelf(d) + yyv1566 := &x.Resources + yyv1566.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1562 := &x.VolumeMounts - yym1563 := z.DecBinary() - _ = yym1563 + yyv1567 := &x.VolumeMounts + yym1568 := z.DecBinary() + _ = yym1568 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1562), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1567), d) } } case "livenessProbe": @@ -21447,9 +21502,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1549) - } // end switch yys1549 - } // end for yyj1549 + z.DecStructFieldNotFound(-1, yys1554) + } // end switch yys1554 + } // end for yyj1554 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21457,16 +21512,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1573 int - var yyb1573 bool - var yyhl1573 bool = l >= 0 - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + var yyj1578 int + var yyb1578 bool + var yyhl1578 bool = l >= 0 + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21476,13 +21531,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21492,13 +21547,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21506,21 +21561,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1576 := &x.Command - yym1577 := z.DecBinary() - _ = yym1577 + yyv1581 := &x.Command + yym1582 := z.DecBinary() + _ = yym1582 if false { } else { - z.F.DecSliceStringX(yyv1576, false, d) + z.F.DecSliceStringX(yyv1581, false, d) } } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21528,21 +21583,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1578 := &x.Args - yym1579 := z.DecBinary() - _ = yym1579 + yyv1583 := &x.Args + yym1584 := z.DecBinary() + _ = yym1584 if false { } else { - z.F.DecSliceStringX(yyv1578, false, d) + z.F.DecSliceStringX(yyv1583, false, d) } } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21552,13 +21607,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21566,21 +21621,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1581 := &x.Ports - yym1582 := z.DecBinary() - _ = yym1582 + yyv1586 := &x.Ports + yym1587 := z.DecBinary() + _ = yym1587 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1581), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1586), d) } } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21588,21 +21643,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1583 := &x.Env - yym1584 := z.DecBinary() - _ = yym1584 + yyv1588 := &x.Env + yym1589 := z.DecBinary() + _ = yym1589 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1583), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1588), d) } } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21610,16 +21665,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1585 := &x.Resources - yyv1585.CodecDecodeSelf(d) + yyv1590 := &x.Resources + yyv1590.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21627,21 +21682,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1586 := &x.VolumeMounts - yym1587 := z.DecBinary() - _ = yym1587 + yyv1591 := &x.VolumeMounts + yym1592 := z.DecBinary() + _ = yym1592 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1586), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1591), d) } } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21656,13 +21711,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21677,13 +21732,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21698,13 +21753,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21714,13 +21769,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21730,13 +21785,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21751,13 +21806,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21767,13 +21822,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21783,13 +21838,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21800,17 +21855,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1573-1, "") + z.DecStructFieldNotFound(yyj1578-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21822,35 +21877,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1597 := z.EncBinary() - _ = yym1597 + yym1602 := z.EncBinary() + _ = yym1602 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1598 := !z.EncBinary() - yy2arr1598 := z.EncBasicHandle().StructToArray - var yyq1598 [3]bool - _, _, _ = yysep1598, yyq1598, yy2arr1598 - const yyr1598 bool = false - yyq1598[0] = x.Exec != nil - yyq1598[1] = x.HTTPGet != nil - yyq1598[2] = x.TCPSocket != nil - var yynn1598 int - if yyr1598 || yy2arr1598 { + yysep1603 := !z.EncBinary() + yy2arr1603 := z.EncBasicHandle().StructToArray + var yyq1603 [3]bool + _, _, _ = yysep1603, yyq1603, yy2arr1603 + const yyr1603 bool = false + yyq1603[0] = x.Exec != nil + yyq1603[1] = x.HTTPGet != nil + yyq1603[2] = x.TCPSocket != nil + var yynn1603 int + if yyr1603 || yy2arr1603 { r.EncodeArrayStart(3) } else { - yynn1598 = 0 - for _, b := range yyq1598 { + yynn1603 = 0 + for _, b := range yyq1603 { if b { - yynn1598++ + yynn1603++ } } - r.EncodeMapStart(yynn1598) - yynn1598 = 0 + r.EncodeMapStart(yynn1603) + yynn1603 = 0 } - if yyr1598 || yy2arr1598 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1598[0] { + if yyq1603[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -21860,7 +21915,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1598[0] { + if yyq1603[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21871,9 +21926,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1598 || yy2arr1598 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1598[1] { + if yyq1603[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -21883,7 +21938,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1598[1] { + if yyq1603[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21894,9 +21949,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1598 || yy2arr1598 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1598[2] { + if yyq1603[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -21906,7 +21961,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1598[2] { + if yyq1603[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21917,7 +21972,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1598 || yy2arr1598 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21930,25 +21985,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1602 := z.DecBinary() - _ = yym1602 + yym1607 := z.DecBinary() + _ = yym1607 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1603 := r.ContainerType() - if yyct1603 == codecSelferValueTypeMap1234 { - yyl1603 := r.ReadMapStart() - if yyl1603 == 0 { + yyct1608 := r.ContainerType() + if yyct1608 == codecSelferValueTypeMap1234 { + yyl1608 := r.ReadMapStart() + if yyl1608 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1603, d) + x.codecDecodeSelfFromMap(yyl1608, d) } - } else if yyct1603 == codecSelferValueTypeArray1234 { - yyl1603 := r.ReadArrayStart() - if yyl1603 == 0 { + } else if yyct1608 == codecSelferValueTypeArray1234 { + yyl1608 := r.ReadArrayStart() + if yyl1608 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1603, d) + x.codecDecodeSelfFromArray(yyl1608, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21960,12 +22015,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1604Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1604Slc - var yyhl1604 bool = l >= 0 - for yyj1604 := 0; ; yyj1604++ { - if yyhl1604 { - if yyj1604 >= l { + var yys1609Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1609Slc + var yyhl1609 bool = l >= 0 + for yyj1609 := 0; ; yyj1609++ { + if yyhl1609 { + if yyj1609 >= l { break } } else { @@ -21974,10 +22029,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1604Slc = r.DecodeBytes(yys1604Slc, true, true) - yys1604 := string(yys1604Slc) + yys1609Slc = r.DecodeBytes(yys1609Slc, true, true) + yys1609 := string(yys1609Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1604 { + switch yys1609 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -22012,9 +22067,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1604) - } // end switch yys1604 - } // end for yyj1604 + z.DecStructFieldNotFound(-1, yys1609) + } // end switch yys1609 + } // end for yyj1609 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22022,16 +22077,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1608 int - var yyb1608 bool - var yyhl1608 bool = l >= 0 - yyj1608++ - if yyhl1608 { - yyb1608 = yyj1608 > l + var yyj1613 int + var yyb1613 bool + var yyhl1613 bool = l >= 0 + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1608 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1608 { + if yyb1613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22046,13 +22101,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1608++ - if yyhl1608 { - yyb1608 = yyj1608 > l + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1608 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1608 { + if yyb1613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22067,13 +22122,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1608++ - if yyhl1608 { - yyb1608 = yyj1608 > l + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1608 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1608 { + if yyb1613 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22089,17 +22144,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1608++ - if yyhl1608 { - yyb1608 = yyj1608 > l + yyj1613++ + if yyhl1613 { + yyb1613 = yyj1613 > l } else { - yyb1608 = r.CheckBreak() + yyb1613 = r.CheckBreak() } - if yyb1608 { + if yyb1613 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1608-1, "") + z.DecStructFieldNotFound(yyj1613-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22111,34 +22166,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1612 := z.EncBinary() - _ = yym1612 + yym1617 := z.EncBinary() + _ = yym1617 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1613 := !z.EncBinary() - yy2arr1613 := z.EncBasicHandle().StructToArray - var yyq1613 [2]bool - _, _, _ = yysep1613, yyq1613, yy2arr1613 - const yyr1613 bool = false - yyq1613[0] = x.PostStart != nil - yyq1613[1] = x.PreStop != nil - var yynn1613 int - if yyr1613 || yy2arr1613 { + yysep1618 := !z.EncBinary() + yy2arr1618 := z.EncBasicHandle().StructToArray + var yyq1618 [2]bool + _, _, _ = yysep1618, yyq1618, yy2arr1618 + const yyr1618 bool = false + yyq1618[0] = x.PostStart != nil + yyq1618[1] = x.PreStop != nil + var yynn1618 int + if yyr1618 || yy2arr1618 { r.EncodeArrayStart(2) } else { - yynn1613 = 0 - for _, b := range yyq1613 { + yynn1618 = 0 + for _, b := range yyq1618 { if b { - yynn1613++ + yynn1618++ } } - r.EncodeMapStart(yynn1613) - yynn1613 = 0 + r.EncodeMapStart(yynn1618) + yynn1618 = 0 } - if yyr1613 || yy2arr1613 { + if yyr1618 || yy2arr1618 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1613[0] { + if yyq1618[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -22148,7 +22203,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1613[0] { + if yyq1618[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22159,9 +22214,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1613 || yy2arr1613 { + if yyr1618 || yy2arr1618 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1613[1] { + if yyq1618[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -22171,7 +22226,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1613[1] { + if yyq1618[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22182,7 +22237,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1613 || yy2arr1613 { + if yyr1618 || yy2arr1618 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22195,25 +22250,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1616 := z.DecBinary() - _ = yym1616 + yym1621 := z.DecBinary() + _ = yym1621 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1617 := r.ContainerType() - if yyct1617 == codecSelferValueTypeMap1234 { - yyl1617 := r.ReadMapStart() - if yyl1617 == 0 { + yyct1622 := r.ContainerType() + if yyct1622 == codecSelferValueTypeMap1234 { + yyl1622 := r.ReadMapStart() + if yyl1622 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1617, d) + x.codecDecodeSelfFromMap(yyl1622, d) } - } else if yyct1617 == codecSelferValueTypeArray1234 { - yyl1617 := r.ReadArrayStart() - if yyl1617 == 0 { + } else if yyct1622 == codecSelferValueTypeArray1234 { + yyl1622 := r.ReadArrayStart() + if yyl1622 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1617, d) + x.codecDecodeSelfFromArray(yyl1622, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22225,12 +22280,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1618Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1618Slc - var yyhl1618 bool = l >= 0 - for yyj1618 := 0; ; yyj1618++ { - if yyhl1618 { - if yyj1618 >= l { + var yys1623Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1623Slc + var yyhl1623 bool = l >= 0 + for yyj1623 := 0; ; yyj1623++ { + if yyhl1623 { + if yyj1623 >= l { break } } else { @@ -22239,10 +22294,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1618Slc = r.DecodeBytes(yys1618Slc, true, true) - yys1618 := string(yys1618Slc) + yys1623Slc = r.DecodeBytes(yys1623Slc, true, true) + yys1623 := string(yys1623Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1618 { + switch yys1623 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -22266,9 +22321,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1618) - } // end switch yys1618 - } // end for yyj1618 + z.DecStructFieldNotFound(-1, yys1623) + } // end switch yys1623 + } // end for yyj1623 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22276,16 +22331,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1621 int - var yyb1621 bool - var yyhl1621 bool = l >= 0 - yyj1621++ - if yyhl1621 { - yyb1621 = yyj1621 > l + var yyj1626 int + var yyb1626 bool + var yyhl1626 bool = l >= 0 + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb1621 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb1621 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22300,13 +22355,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj1621++ - if yyhl1621 { - yyb1621 = yyj1621 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb1621 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb1621 { + if yyb1626 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22322,17 +22377,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj1621++ - if yyhl1621 { - yyb1621 = yyj1621 > l + yyj1626++ + if yyhl1626 { + yyb1626 = yyj1626 > l } else { - yyb1621 = r.CheckBreak() + yyb1626 = r.CheckBreak() } - if yyb1621 { + if yyb1626 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1621-1, "") + z.DecStructFieldNotFound(yyj1626-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22341,8 +22396,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1624 := z.EncBinary() - _ = yym1624 + yym1629 := z.EncBinary() + _ = yym1629 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -22354,8 +22409,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1625 := z.DecBinary() - _ = yym1625 + yym1630 := z.DecBinary() + _ = yym1630 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -22370,36 +22425,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1626 := z.EncBinary() - _ = yym1626 + yym1631 := z.EncBinary() + _ = yym1631 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1627 := !z.EncBinary() - yy2arr1627 := z.EncBasicHandle().StructToArray - var yyq1627 [2]bool - _, _, _ = yysep1627, yyq1627, yy2arr1627 - const yyr1627 bool = false - yyq1627[0] = x.Reason != "" - yyq1627[1] = x.Message != "" - var yynn1627 int - if yyr1627 || yy2arr1627 { + yysep1632 := !z.EncBinary() + yy2arr1632 := z.EncBasicHandle().StructToArray + var yyq1632 [2]bool + _, _, _ = yysep1632, yyq1632, yy2arr1632 + const yyr1632 bool = false + yyq1632[0] = x.Reason != "" + yyq1632[1] = x.Message != "" + var yynn1632 int + if yyr1632 || yy2arr1632 { r.EncodeArrayStart(2) } else { - yynn1627 = 0 - for _, b := range yyq1627 { + yynn1632 = 0 + for _, b := range yyq1632 { if b { - yynn1627++ + yynn1632++ } } - r.EncodeMapStart(yynn1627) - yynn1627 = 0 + r.EncodeMapStart(yynn1632) + yynn1632 = 0 } - if yyr1627 || yy2arr1627 { + if yyr1632 || yy2arr1632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1627[0] { - yym1629 := z.EncBinary() - _ = yym1629 + if yyq1632[0] { + yym1634 := z.EncBinary() + _ = yym1634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22408,23 +22463,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1627[0] { + if yyq1632[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1630 := z.EncBinary() - _ = yym1630 + yym1635 := z.EncBinary() + _ = yym1635 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1627 || yy2arr1627 { + if yyr1632 || yy2arr1632 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1627[1] { - yym1632 := z.EncBinary() - _ = yym1632 + if yyq1632[1] { + yym1637 := z.EncBinary() + _ = yym1637 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22433,19 +22488,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1627[1] { + if yyq1632[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1633 := z.EncBinary() - _ = yym1633 + yym1638 := z.EncBinary() + _ = yym1638 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1627 || yy2arr1627 { + if yyr1632 || yy2arr1632 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22458,25 +22513,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1634 := z.DecBinary() - _ = yym1634 + yym1639 := z.DecBinary() + _ = yym1639 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1635 := r.ContainerType() - if yyct1635 == codecSelferValueTypeMap1234 { - yyl1635 := r.ReadMapStart() - if yyl1635 == 0 { + yyct1640 := r.ContainerType() + if yyct1640 == codecSelferValueTypeMap1234 { + yyl1640 := r.ReadMapStart() + if yyl1640 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1635, d) + x.codecDecodeSelfFromMap(yyl1640, d) } - } else if yyct1635 == codecSelferValueTypeArray1234 { - yyl1635 := r.ReadArrayStart() - if yyl1635 == 0 { + } else if yyct1640 == codecSelferValueTypeArray1234 { + yyl1640 := r.ReadArrayStart() + if yyl1640 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1635, d) + x.codecDecodeSelfFromArray(yyl1640, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22488,12 +22543,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1636Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1636Slc - var yyhl1636 bool = l >= 0 - for yyj1636 := 0; ; yyj1636++ { - if yyhl1636 { - if yyj1636 >= l { + var yys1641Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1641Slc + var yyhl1641 bool = l >= 0 + for yyj1641 := 0; ; yyj1641++ { + if yyhl1641 { + if yyj1641 >= l { break } } else { @@ -22502,10 +22557,10 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1636Slc = r.DecodeBytes(yys1636Slc, true, true) - yys1636 := string(yys1636Slc) + yys1641Slc = r.DecodeBytes(yys1641Slc, true, true) + yys1641 := string(yys1641Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1636 { + switch yys1641 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" @@ -22519,9 +22574,9 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1636) - } // end switch yys1636 - } // end for yyj1636 + z.DecStructFieldNotFound(-1, yys1641) + } // end switch yys1641 + } // end for yyj1641 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22529,16 +22584,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1639 int - var yyb1639 bool - var yyhl1639 bool = l >= 0 - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + var yyj1644 int + var yyb1644 bool + var yyhl1644 bool = l >= 0 + yyj1644++ + if yyhl1644 { + yyb1644 = yyj1644 > l } else { - yyb1639 = r.CheckBreak() + yyb1644 = r.CheckBreak() } - if yyb1639 { + if yyb1644 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22548,13 +22603,13 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Reason = string(r.DecodeString()) } - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1644++ + if yyhl1644 { + yyb1644 = yyj1644 > l } else { - yyb1639 = r.CheckBreak() + yyb1644 = r.CheckBreak() } - if yyb1639 { + if yyb1644 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22565,17 +22620,17 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Message = string(r.DecodeString()) } for { - yyj1639++ - if yyhl1639 { - yyb1639 = yyj1639 > l + yyj1644++ + if yyhl1644 { + yyb1644 = yyj1644 > l } else { - yyb1639 = r.CheckBreak() + yyb1644 = r.CheckBreak() } - if yyb1639 { + if yyb1644 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1639-1, "") + z.DecStructFieldNotFound(yyj1644-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22587,68 +22642,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1642 := z.EncBinary() - _ = yym1642 + yym1647 := z.EncBinary() + _ = yym1647 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1643 := !z.EncBinary() - yy2arr1643 := z.EncBasicHandle().StructToArray - var yyq1643 [1]bool - _, _, _ = yysep1643, yyq1643, yy2arr1643 - const yyr1643 bool = false - yyq1643[0] = true - var yynn1643 int - if yyr1643 || yy2arr1643 { + yysep1648 := !z.EncBinary() + yy2arr1648 := z.EncBasicHandle().StructToArray + var yyq1648 [1]bool + _, _, _ = yysep1648, yyq1648, yy2arr1648 + const yyr1648 bool = false + yyq1648[0] = true + var yynn1648 int + if yyr1648 || yy2arr1648 { r.EncodeArrayStart(1) } else { - yynn1643 = 0 - for _, b := range yyq1643 { + yynn1648 = 0 + for _, b := range yyq1648 { if b { - yynn1643++ + yynn1648++ } } - r.EncodeMapStart(yynn1643) - yynn1643 = 0 + r.EncodeMapStart(yynn1648) + yynn1648 = 0 } - if yyr1643 || yy2arr1643 { + if yyr1648 || yy2arr1648 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1643[0] { - yy1645 := &x.StartedAt - yym1646 := z.EncBinary() - _ = yym1646 + if yyq1648[0] { + yy1650 := &x.StartedAt + yym1651 := z.EncBinary() + _ = yym1651 if false { - } else if z.HasExtensions() && z.EncExt(yy1645) { - } else if yym1646 { - z.EncBinaryMarshal(yy1645) - } else if !yym1646 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1645) + } else if z.HasExtensions() && z.EncExt(yy1650) { + } else if yym1651 { + z.EncBinaryMarshal(yy1650) + } else if !yym1651 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1650) } else { - z.EncFallback(yy1645) + z.EncFallback(yy1650) } } else { r.EncodeNil() } } else { - if yyq1643[0] { + if yyq1648[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1647 := &x.StartedAt - yym1648 := z.EncBinary() - _ = yym1648 + yy1652 := &x.StartedAt + yym1653 := z.EncBinary() + _ = yym1653 if false { - } else if z.HasExtensions() && z.EncExt(yy1647) { - } else if yym1648 { - z.EncBinaryMarshal(yy1647) - } else if !yym1648 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1647) + } else if z.HasExtensions() && z.EncExt(yy1652) { + } else if yym1653 { + z.EncBinaryMarshal(yy1652) + } else if !yym1653 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1652) } else { - z.EncFallback(yy1647) + z.EncFallback(yy1652) } } } - if yyr1643 || yy2arr1643 { + if yyr1648 || yy2arr1648 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22661,25 +22716,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1649 := z.DecBinary() - _ = yym1649 + yym1654 := z.DecBinary() + _ = yym1654 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1650 := r.ContainerType() - if yyct1650 == codecSelferValueTypeMap1234 { - yyl1650 := r.ReadMapStart() - if yyl1650 == 0 { + yyct1655 := r.ContainerType() + if yyct1655 == codecSelferValueTypeMap1234 { + yyl1655 := r.ReadMapStart() + if yyl1655 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1650, d) + x.codecDecodeSelfFromMap(yyl1655, d) } - } else if yyct1650 == codecSelferValueTypeArray1234 { - yyl1650 := r.ReadArrayStart() - if yyl1650 == 0 { + } else if yyct1655 == codecSelferValueTypeArray1234 { + yyl1655 := r.ReadArrayStart() + if yyl1655 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1650, d) + x.codecDecodeSelfFromArray(yyl1655, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22691,12 +22746,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1651Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1651Slc - var yyhl1651 bool = l >= 0 - for yyj1651 := 0; ; yyj1651++ { - if yyhl1651 { - if yyj1651 >= l { + var yys1656Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1656Slc + var yyhl1656 bool = l >= 0 + for yyj1656 := 0; ; yyj1656++ { + if yyhl1656 { + if yyj1656 >= l { break } } else { @@ -22705,31 +22760,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1651Slc = r.DecodeBytes(yys1651Slc, true, true) - yys1651 := string(yys1651Slc) + yys1656Slc = r.DecodeBytes(yys1656Slc, true, true) + yys1656 := string(yys1656Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1651 { + switch yys1656 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1652 := &x.StartedAt - yym1653 := z.DecBinary() - _ = yym1653 + yyv1657 := &x.StartedAt + yym1658 := z.DecBinary() + _ = yym1658 if false { - } else if z.HasExtensions() && z.DecExt(yyv1652) { - } else if yym1653 { - z.DecBinaryUnmarshal(yyv1652) - } else if !yym1653 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1652) + } else if z.HasExtensions() && z.DecExt(yyv1657) { + } else if yym1658 { + z.DecBinaryUnmarshal(yyv1657) + } else if !yym1658 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1657) } else { - z.DecFallback(yyv1652, false) + z.DecFallback(yyv1657, false) } } default: - z.DecStructFieldNotFound(-1, yys1651) - } // end switch yys1651 - } // end for yyj1651 + z.DecStructFieldNotFound(-1, yys1656) + } // end switch yys1656 + } // end for yyj1656 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22737,16 +22792,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1654 int - var yyb1654 bool - var yyhl1654 bool = l >= 0 - yyj1654++ - if yyhl1654 { - yyb1654 = yyj1654 > l + var yyj1659 int + var yyb1659 bool + var yyhl1659 bool = l >= 0 + yyj1659++ + if yyhl1659 { + yyb1659 = yyj1659 > l } else { - yyb1654 = r.CheckBreak() + yyb1659 = r.CheckBreak() } - if yyb1654 { + if yyb1659 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22754,31 +22809,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1655 := &x.StartedAt - yym1656 := z.DecBinary() - _ = yym1656 + yyv1660 := &x.StartedAt + yym1661 := z.DecBinary() + _ = yym1661 if false { - } else if z.HasExtensions() && z.DecExt(yyv1655) { - } else if yym1656 { - z.DecBinaryUnmarshal(yyv1655) - } else if !yym1656 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1655) + } else if z.HasExtensions() && z.DecExt(yyv1660) { + } else if yym1661 { + z.DecBinaryUnmarshal(yyv1660) + } else if !yym1661 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1660) } else { - z.DecFallback(yyv1655, false) + z.DecFallback(yyv1660, false) } } for { - yyj1654++ - if yyhl1654 { - yyb1654 = yyj1654 > l + yyj1659++ + if yyhl1659 { + yyb1659 = yyj1659 > l } else { - yyb1654 = r.CheckBreak() + yyb1659 = r.CheckBreak() } - if yyb1654 { + if yyb1659 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1654-1, "") + z.DecStructFieldNotFound(yyj1659-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22790,39 +22845,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1657 := z.EncBinary() - _ = yym1657 + yym1662 := z.EncBinary() + _ = yym1662 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1658 := !z.EncBinary() - yy2arr1658 := z.EncBasicHandle().StructToArray - var yyq1658 [7]bool - _, _, _ = yysep1658, yyq1658, yy2arr1658 - const yyr1658 bool = false - yyq1658[1] = x.Signal != 0 - yyq1658[2] = x.Reason != "" - yyq1658[3] = x.Message != "" - yyq1658[4] = true - yyq1658[5] = true - yyq1658[6] = x.ContainerID != "" - var yynn1658 int - if yyr1658 || yy2arr1658 { + yysep1663 := !z.EncBinary() + yy2arr1663 := z.EncBasicHandle().StructToArray + var yyq1663 [7]bool + _, _, _ = yysep1663, yyq1663, yy2arr1663 + const yyr1663 bool = false + yyq1663[1] = x.Signal != 0 + yyq1663[2] = x.Reason != "" + yyq1663[3] = x.Message != "" + yyq1663[4] = true + yyq1663[5] = true + yyq1663[6] = x.ContainerID != "" + var yynn1663 int + if yyr1663 || yy2arr1663 { r.EncodeArrayStart(7) } else { - yynn1658 = 1 - for _, b := range yyq1658 { + yynn1663 = 1 + for _, b := range yyq1663 { if b { - yynn1658++ + yynn1663++ } } - r.EncodeMapStart(yynn1658) - yynn1658 = 0 + r.EncodeMapStart(yynn1663) + yynn1663 = 0 } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1660 := z.EncBinary() - _ = yym1660 + yym1665 := z.EncBinary() + _ = yym1665 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -22831,18 +22886,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1661 := z.EncBinary() - _ = yym1661 + yym1666 := z.EncBinary() + _ = yym1666 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[1] { - yym1663 := z.EncBinary() - _ = yym1663 + if yyq1663[1] { + yym1668 := z.EncBinary() + _ = yym1668 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -22851,23 +22906,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1658[1] { + if yyq1663[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1664 := z.EncBinary() - _ = yym1664 + yym1669 := z.EncBinary() + _ = yym1669 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[2] { - yym1666 := z.EncBinary() - _ = yym1666 + if yyq1663[2] { + yym1671 := z.EncBinary() + _ = yym1671 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22876,23 +22931,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1658[2] { + if yyq1663[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1667 := z.EncBinary() - _ = yym1667 + yym1672 := z.EncBinary() + _ = yym1672 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[3] { - yym1669 := z.EncBinary() - _ = yym1669 + if yyq1663[3] { + yym1674 := z.EncBinary() + _ = yym1674 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22901,59 +22956,22 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1658[3] { + if yyq1663[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1670 := z.EncBinary() - _ = yym1670 + yym1675 := z.EncBinary() + _ = yym1675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[4] { - yy1672 := &x.StartedAt - yym1673 := z.EncBinary() - _ = yym1673 - if false { - } else if z.HasExtensions() && z.EncExt(yy1672) { - } else if yym1673 { - z.EncBinaryMarshal(yy1672) - } else if !yym1673 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1672) - } else { - z.EncFallback(yy1672) - } - } else { - r.EncodeNil() - } - } else { - if yyq1658[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("startedAt")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1674 := &x.StartedAt - yym1675 := z.EncBinary() - _ = yym1675 - if false { - } else if z.HasExtensions() && z.EncExt(yy1674) { - } else if yym1675 { - z.EncBinaryMarshal(yy1674) - } else if !yym1675 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1674) - } else { - z.EncFallback(yy1674) - } - } - } - if yyr1658 || yy2arr1658 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[5] { - yy1677 := &x.FinishedAt + if yyq1663[4] { + yy1677 := &x.StartedAt yym1678 := z.EncBinary() _ = yym1678 if false { @@ -22969,11 +22987,11 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1658[5] { + if yyq1663[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) + r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1679 := &x.FinishedAt + yy1679 := &x.StartedAt yym1680 := z.EncBinary() _ = yym1680 if false { @@ -22987,11 +23005,48 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[6] { - yym1682 := z.EncBinary() - _ = yym1682 + if yyq1663[5] { + yy1682 := &x.FinishedAt + yym1683 := z.EncBinary() + _ = yym1683 + if false { + } else if z.HasExtensions() && z.EncExt(yy1682) { + } else if yym1683 { + z.EncBinaryMarshal(yy1682) + } else if !yym1683 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1682) + } else { + z.EncFallback(yy1682) + } + } else { + r.EncodeNil() + } + } else { + if yyq1663[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1684 := &x.FinishedAt + yym1685 := z.EncBinary() + _ = yym1685 + if false { + } else if z.HasExtensions() && z.EncExt(yy1684) { + } else if yym1685 { + z.EncBinaryMarshal(yy1684) + } else if !yym1685 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1684) + } else { + z.EncFallback(yy1684) + } + } + } + if yyr1663 || yy2arr1663 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1663[6] { + yym1687 := z.EncBinary() + _ = yym1687 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -23000,19 +23055,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1658[6] { + if yyq1663[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1683 := z.EncBinary() - _ = yym1683 + yym1688 := z.EncBinary() + _ = yym1688 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1658 || yy2arr1658 { + if yyr1663 || yy2arr1663 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23025,25 +23080,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1684 := z.DecBinary() - _ = yym1684 + yym1689 := z.DecBinary() + _ = yym1689 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1685 := r.ContainerType() - if yyct1685 == codecSelferValueTypeMap1234 { - yyl1685 := r.ReadMapStart() - if yyl1685 == 0 { + yyct1690 := r.ContainerType() + if yyct1690 == codecSelferValueTypeMap1234 { + yyl1690 := r.ReadMapStart() + if yyl1690 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1685, d) + x.codecDecodeSelfFromMap(yyl1690, d) } - } else if yyct1685 == codecSelferValueTypeArray1234 { - yyl1685 := r.ReadArrayStart() - if yyl1685 == 0 { + } else if yyct1690 == codecSelferValueTypeArray1234 { + yyl1690 := r.ReadArrayStart() + if yyl1690 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1685, d) + x.codecDecodeSelfFromArray(yyl1690, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23055,12 +23110,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1686Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1686Slc - var yyhl1686 bool = l >= 0 - for yyj1686 := 0; ; yyj1686++ { - if yyhl1686 { - if yyj1686 >= l { + var yys1691Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1691Slc + var yyhl1691 bool = l >= 0 + for yyj1691 := 0; ; yyj1691++ { + if yyhl1691 { + if yyj1691 >= l { break } } else { @@ -23069,10 +23124,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1686Slc = r.DecodeBytes(yys1686Slc, true, true) - yys1686 := string(yys1686Slc) + yys1691Slc = r.DecodeBytes(yys1691Slc, true, true) + yys1691 := string(yys1691Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1686 { + switch yys1691 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -23101,34 +23156,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1691 := &x.StartedAt - yym1692 := z.DecBinary() - _ = yym1692 + yyv1696 := &x.StartedAt + yym1697 := z.DecBinary() + _ = yym1697 if false { - } else if z.HasExtensions() && z.DecExt(yyv1691) { - } else if yym1692 { - z.DecBinaryUnmarshal(yyv1691) - } else if !yym1692 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1691) + } else if z.HasExtensions() && z.DecExt(yyv1696) { + } else if yym1697 { + z.DecBinaryUnmarshal(yyv1696) + } else if !yym1697 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1696) } else { - z.DecFallback(yyv1691, false) + z.DecFallback(yyv1696, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1693 := &x.FinishedAt - yym1694 := z.DecBinary() - _ = yym1694 + yyv1698 := &x.FinishedAt + yym1699 := z.DecBinary() + _ = yym1699 if false { - } else if z.HasExtensions() && z.DecExt(yyv1693) { - } else if yym1694 { - z.DecBinaryUnmarshal(yyv1693) - } else if !yym1694 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1693) + } else if z.HasExtensions() && z.DecExt(yyv1698) { + } else if yym1699 { + z.DecBinaryUnmarshal(yyv1698) + } else if !yym1699 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1698) } else { - z.DecFallback(yyv1693, false) + z.DecFallback(yyv1698, false) } } case "containerID": @@ -23138,9 +23193,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1686) - } // end switch yys1686 - } // end for yyj1686 + z.DecStructFieldNotFound(-1, yys1691) + } // end switch yys1691 + } // end for yyj1691 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23148,16 +23203,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1696 int - var yyb1696 bool - var yyhl1696 bool = l >= 0 - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + var yyj1701 int + var yyb1701 bool + var yyhl1701 bool = l >= 0 + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23167,13 +23222,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int32(r.DecodeInt(32)) } - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23183,13 +23238,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int32(r.DecodeInt(32)) } - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23199,13 +23254,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23215,13 +23270,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23229,26 +23284,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1701 := &x.StartedAt - yym1702 := z.DecBinary() - _ = yym1702 + yyv1706 := &x.StartedAt + yym1707 := z.DecBinary() + _ = yym1707 if false { - } else if z.HasExtensions() && z.DecExt(yyv1701) { - } else if yym1702 { - z.DecBinaryUnmarshal(yyv1701) - } else if !yym1702 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1701) + } else if z.HasExtensions() && z.DecExt(yyv1706) { + } else if yym1707 { + z.DecBinaryUnmarshal(yyv1706) + } else if !yym1707 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1706) } else { - z.DecFallback(yyv1701, false) + z.DecFallback(yyv1706, false) } } - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23256,26 +23311,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1703 := &x.FinishedAt - yym1704 := z.DecBinary() - _ = yym1704 + yyv1708 := &x.FinishedAt + yym1709 := z.DecBinary() + _ = yym1709 if false { - } else if z.HasExtensions() && z.DecExt(yyv1703) { - } else if yym1704 { - z.DecBinaryUnmarshal(yyv1703) - } else if !yym1704 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1703) + } else if z.HasExtensions() && z.DecExt(yyv1708) { + } else if yym1709 { + z.DecBinaryUnmarshal(yyv1708) + } else if !yym1709 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1708) } else { - z.DecFallback(yyv1703, false) + z.DecFallback(yyv1708, false) } } - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23286,17 +23341,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj1696++ - if yyhl1696 { - yyb1696 = yyj1696 > l + yyj1701++ + if yyhl1701 { + yyb1701 = yyj1701 > l } else { - yyb1696 = r.CheckBreak() + yyb1701 = r.CheckBreak() } - if yyb1696 { + if yyb1701 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1696-1, "") + z.DecStructFieldNotFound(yyj1701-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23308,35 +23363,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1706 := z.EncBinary() - _ = yym1706 + yym1711 := z.EncBinary() + _ = yym1711 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1707 := !z.EncBinary() - yy2arr1707 := z.EncBasicHandle().StructToArray - var yyq1707 [3]bool - _, _, _ = yysep1707, yyq1707, yy2arr1707 - const yyr1707 bool = false - yyq1707[0] = x.Waiting != nil - yyq1707[1] = x.Running != nil - yyq1707[2] = x.Terminated != nil - var yynn1707 int - if yyr1707 || yy2arr1707 { + yysep1712 := !z.EncBinary() + yy2arr1712 := z.EncBasicHandle().StructToArray + var yyq1712 [3]bool + _, _, _ = yysep1712, yyq1712, yy2arr1712 + const yyr1712 bool = false + yyq1712[0] = x.Waiting != nil + yyq1712[1] = x.Running != nil + yyq1712[2] = x.Terminated != nil + var yynn1712 int + if yyr1712 || yy2arr1712 { r.EncodeArrayStart(3) } else { - yynn1707 = 0 - for _, b := range yyq1707 { + yynn1712 = 0 + for _, b := range yyq1712 { if b { - yynn1707++ + yynn1712++ } } - r.EncodeMapStart(yynn1707) - yynn1707 = 0 + r.EncodeMapStart(yynn1712) + yynn1712 = 0 } - if yyr1707 || yy2arr1707 { + if yyr1712 || yy2arr1712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1707[0] { + if yyq1712[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -23346,7 +23401,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1707[0] { + if yyq1712[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23357,9 +23412,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1707 || yy2arr1707 { + if yyr1712 || yy2arr1712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1707[1] { + if yyq1712[1] { if x.Running == nil { r.EncodeNil() } else { @@ -23369,7 +23424,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1707[1] { + if yyq1712[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23380,9 +23435,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1707 || yy2arr1707 { + if yyr1712 || yy2arr1712 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1707[2] { + if yyq1712[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -23392,7 +23447,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1707[2] { + if yyq1712[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -23403,7 +23458,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1707 || yy2arr1707 { + if yyr1712 || yy2arr1712 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23416,25 +23471,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1711 := z.DecBinary() - _ = yym1711 + yym1716 := z.DecBinary() + _ = yym1716 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1712 := r.ContainerType() - if yyct1712 == codecSelferValueTypeMap1234 { - yyl1712 := r.ReadMapStart() - if yyl1712 == 0 { + yyct1717 := r.ContainerType() + if yyct1717 == codecSelferValueTypeMap1234 { + yyl1717 := r.ReadMapStart() + if yyl1717 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1712, d) + x.codecDecodeSelfFromMap(yyl1717, d) } - } else if yyct1712 == codecSelferValueTypeArray1234 { - yyl1712 := r.ReadArrayStart() - if yyl1712 == 0 { + } else if yyct1717 == codecSelferValueTypeArray1234 { + yyl1717 := r.ReadArrayStart() + if yyl1717 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1712, d) + x.codecDecodeSelfFromArray(yyl1717, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23446,12 +23501,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1713Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1713Slc - var yyhl1713 bool = l >= 0 - for yyj1713 := 0; ; yyj1713++ { - if yyhl1713 { - if yyj1713 >= l { + var yys1718Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1718Slc + var yyhl1718 bool = l >= 0 + for yyj1718 := 0; ; yyj1718++ { + if yyhl1718 { + if yyj1718 >= l { break } } else { @@ -23460,10 +23515,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1713Slc = r.DecodeBytes(yys1713Slc, true, true) - yys1713 := string(yys1713Slc) + yys1718Slc = r.DecodeBytes(yys1718Slc, true, true) + yys1718 := string(yys1718Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1713 { + switch yys1718 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -23498,9 +23553,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1713) - } // end switch yys1713 - } // end for yyj1713 + z.DecStructFieldNotFound(-1, yys1718) + } // end switch yys1718 + } // end for yyj1718 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23508,16 +23563,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1717 int - var yyb1717 bool - var yyhl1717 bool = l >= 0 - yyj1717++ - if yyhl1717 { - yyb1717 = yyj1717 > l + var yyj1722 int + var yyb1722 bool + var yyhl1722 bool = l >= 0 + yyj1722++ + if yyhl1722 { + yyb1722 = yyj1722 > l } else { - yyb1717 = r.CheckBreak() + yyb1722 = r.CheckBreak() } - if yyb1717 { + if yyb1722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23532,13 +23587,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1717++ - if yyhl1717 { - yyb1717 = yyj1717 > l + yyj1722++ + if yyhl1722 { + yyb1722 = yyj1722 > l } else { - yyb1717 = r.CheckBreak() + yyb1722 = r.CheckBreak() } - if yyb1717 { + if yyb1722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23553,13 +23608,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1717++ - if yyhl1717 { - yyb1717 = yyj1717 > l + yyj1722++ + if yyhl1722 { + yyb1722 = yyj1722 > l } else { - yyb1717 = r.CheckBreak() + yyb1722 = r.CheckBreak() } - if yyb1717 { + if yyb1722 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23575,17 +23630,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1717++ - if yyhl1717 { - yyb1717 = yyj1717 > l + yyj1722++ + if yyhl1722 { + yyb1722 = yyj1722 > l } else { - yyb1717 = r.CheckBreak() + yyb1722 = r.CheckBreak() } - if yyb1717 { + if yyb1722 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1717-1, "") + z.DecStructFieldNotFound(yyj1722-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23597,36 +23652,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1721 := z.EncBinary() - _ = yym1721 + yym1726 := z.EncBinary() + _ = yym1726 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1722 := !z.EncBinary() - yy2arr1722 := z.EncBasicHandle().StructToArray - var yyq1722 [8]bool - _, _, _ = yysep1722, yyq1722, yy2arr1722 - const yyr1722 bool = false - yyq1722[1] = true - yyq1722[2] = true - yyq1722[7] = x.ContainerID != "" - var yynn1722 int - if yyr1722 || yy2arr1722 { + yysep1727 := !z.EncBinary() + yy2arr1727 := z.EncBasicHandle().StructToArray + var yyq1727 [8]bool + _, _, _ = yysep1727, yyq1727, yy2arr1727 + const yyr1727 bool = false + yyq1727[1] = true + yyq1727[2] = true + yyq1727[7] = x.ContainerID != "" + var yynn1727 int + if yyr1727 || yy2arr1727 { r.EncodeArrayStart(8) } else { - yynn1722 = 5 - for _, b := range yyq1722 { + yynn1727 = 5 + for _, b := range yyq1727 { if b { - yynn1722++ + yynn1727++ } } - r.EncodeMapStart(yynn1722) - yynn1722 = 0 + r.EncodeMapStart(yynn1727) + yynn1727 = 0 } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1724 := z.EncBinary() - _ = yym1724 + yym1729 := z.EncBinary() + _ = yym1729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -23635,51 +23690,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1725 := z.EncBinary() - _ = yym1725 + yym1730 := z.EncBinary() + _ = yym1730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1722[1] { - yy1727 := &x.State - yy1727.CodecEncodeSelf(e) + if yyq1727[1] { + yy1732 := &x.State + yy1732.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1722[1] { + if yyq1727[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1728 := &x.State - yy1728.CodecEncodeSelf(e) + yy1733 := &x.State + yy1733.CodecEncodeSelf(e) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1722[2] { - yy1730 := &x.LastTerminationState - yy1730.CodecEncodeSelf(e) + if yyq1727[2] { + yy1735 := &x.LastTerminationState + yy1735.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1722[2] { + if yyq1727[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1731 := &x.LastTerminationState - yy1731.CodecEncodeSelf(e) + yy1736 := &x.LastTerminationState + yy1736.CodecEncodeSelf(e) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1733 := z.EncBinary() - _ = yym1733 + yym1738 := z.EncBinary() + _ = yym1738 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -23688,17 +23743,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1734 := z.EncBinary() - _ = yym1734 + yym1739 := z.EncBinary() + _ = yym1739 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1736 := z.EncBinary() - _ = yym1736 + yym1741 := z.EncBinary() + _ = yym1741 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -23707,17 +23762,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1737 := z.EncBinary() - _ = yym1737 + yym1742 := z.EncBinary() + _ = yym1742 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1739 := z.EncBinary() - _ = yym1739 + yym1744 := z.EncBinary() + _ = yym1744 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -23726,17 +23781,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1740 := z.EncBinary() - _ = yym1740 + yym1745 := z.EncBinary() + _ = yym1745 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1742 := z.EncBinary() - _ = yym1742 + yym1747 := z.EncBinary() + _ = yym1747 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -23745,18 +23800,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1743 := z.EncBinary() - _ = yym1743 + yym1748 := z.EncBinary() + _ = yym1748 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1722[7] { - yym1745 := z.EncBinary() - _ = yym1745 + if yyq1727[7] { + yym1750 := z.EncBinary() + _ = yym1750 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -23765,19 +23820,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1722[7] { + if yyq1727[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1746 := z.EncBinary() - _ = yym1746 + yym1751 := z.EncBinary() + _ = yym1751 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1722 || yy2arr1722 { + if yyr1727 || yy2arr1727 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23790,25 +23845,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1747 := z.DecBinary() - _ = yym1747 + yym1752 := z.DecBinary() + _ = yym1752 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1748 := r.ContainerType() - if yyct1748 == codecSelferValueTypeMap1234 { - yyl1748 := r.ReadMapStart() - if yyl1748 == 0 { + yyct1753 := r.ContainerType() + if yyct1753 == codecSelferValueTypeMap1234 { + yyl1753 := r.ReadMapStart() + if yyl1753 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1748, d) + x.codecDecodeSelfFromMap(yyl1753, d) } - } else if yyct1748 == codecSelferValueTypeArray1234 { - yyl1748 := r.ReadArrayStart() - if yyl1748 == 0 { + } else if yyct1753 == codecSelferValueTypeArray1234 { + yyl1753 := r.ReadArrayStart() + if yyl1753 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1748, d) + x.codecDecodeSelfFromArray(yyl1753, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23820,12 +23875,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1749Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1749Slc - var yyhl1749 bool = l >= 0 - for yyj1749 := 0; ; yyj1749++ { - if yyhl1749 { - if yyj1749 >= l { + var yys1754Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1754Slc + var yyhl1754 bool = l >= 0 + for yyj1754 := 0; ; yyj1754++ { + if yyhl1754 { + if yyj1754 >= l { break } } else { @@ -23834,10 +23889,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1749Slc = r.DecodeBytes(yys1749Slc, true, true) - yys1749 := string(yys1749Slc) + yys1754Slc = r.DecodeBytes(yys1754Slc, true, true) + yys1754 := string(yys1754Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1749 { + switch yys1754 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -23848,15 +23903,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1751 := &x.State - yyv1751.CodecDecodeSelf(d) + yyv1756 := &x.State + yyv1756.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1752 := &x.LastTerminationState - yyv1752.CodecDecodeSelf(d) + yyv1757 := &x.LastTerminationState + yyv1757.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -23889,9 +23944,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1749) - } // end switch yys1749 - } // end for yyj1749 + z.DecStructFieldNotFound(-1, yys1754) + } // end switch yys1754 + } // end for yyj1754 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23899,16 +23954,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1758 int - var yyb1758 bool - var yyhl1758 bool = l >= 0 - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + var yyj1763 int + var yyb1763 bool + var yyhl1763 bool = l >= 0 + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23918,13 +23973,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23932,16 +23987,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1760 := &x.State - yyv1760.CodecDecodeSelf(d) + yyv1765 := &x.State + yyv1765.CodecDecodeSelf(d) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23949,16 +24004,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1761 := &x.LastTerminationState - yyv1761.CodecDecodeSelf(d) + yyv1766 := &x.LastTerminationState + yyv1766.CodecDecodeSelf(d) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23968,13 +24023,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23984,13 +24039,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int32(r.DecodeInt(32)) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24000,13 +24055,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24016,13 +24071,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24033,17 +24088,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj1758++ - if yyhl1758 { - yyb1758 = yyj1758 > l + yyj1763++ + if yyhl1763 { + yyb1763 = yyj1763 > l } else { - yyb1758 = r.CheckBreak() + yyb1763 = r.CheckBreak() } - if yyb1758 { + if yyb1763 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1758-1, "") + z.DecStructFieldNotFound(yyj1763-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24052,8 +24107,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1767 := z.EncBinary() - _ = yym1767 + yym1772 := z.EncBinary() + _ = yym1772 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24065,8 +24120,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1768 := z.DecBinary() - _ = yym1768 + yym1773 := z.DecBinary() + _ = yym1773 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24078,8 +24133,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1769 := z.EncBinary() - _ = yym1769 + yym1774 := z.EncBinary() + _ = yym1774 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24091,8 +24146,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1770 := z.DecBinary() - _ = yym1770 + yym1775 := z.DecBinary() + _ = yym1775 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24107,34 +24162,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1771 := z.EncBinary() - _ = yym1771 + yym1776 := z.EncBinary() + _ = yym1776 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1772 := !z.EncBinary() - yy2arr1772 := z.EncBasicHandle().StructToArray - var yyq1772 [6]bool - _, _, _ = yysep1772, yyq1772, yy2arr1772 - const yyr1772 bool = false - yyq1772[2] = true - yyq1772[3] = true - yyq1772[4] = x.Reason != "" - yyq1772[5] = x.Message != "" - var yynn1772 int - if yyr1772 || yy2arr1772 { + yysep1777 := !z.EncBinary() + yy2arr1777 := z.EncBasicHandle().StructToArray + var yyq1777 [6]bool + _, _, _ = yysep1777, yyq1777, yy2arr1777 + const yyr1777 bool = false + yyq1777[2] = true + yyq1777[3] = true + yyq1777[4] = x.Reason != "" + yyq1777[5] = x.Message != "" + var yynn1777 int + if yyr1777 || yy2arr1777 { r.EncodeArrayStart(6) } else { - yynn1772 = 2 - for _, b := range yyq1772 { + yynn1777 = 2 + for _, b := range yyq1777 { if b { - yynn1772++ + yynn1777++ } } - r.EncodeMapStart(yynn1772) - yynn1772 = 0 + r.EncodeMapStart(yynn1777) + yynn1777 = 0 } - if yyr1772 || yy2arr1772 { + if yyr1777 || yy2arr1777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -24143,7 +24198,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1772 || yy2arr1772 { + if yyr1777 || yy2arr1777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -24152,47 +24207,10 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1772 || yy2arr1772 { + if yyr1777 || yy2arr1777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1772[2] { - yy1776 := &x.LastProbeTime - yym1777 := z.EncBinary() - _ = yym1777 - if false { - } else if z.HasExtensions() && z.EncExt(yy1776) { - } else if yym1777 { - z.EncBinaryMarshal(yy1776) - } else if !yym1777 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1776) - } else { - z.EncFallback(yy1776) - } - } else { - r.EncodeNil() - } - } else { - if yyq1772[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1778 := &x.LastProbeTime - yym1779 := z.EncBinary() - _ = yym1779 - if false { - } else if z.HasExtensions() && z.EncExt(yy1778) { - } else if yym1779 { - z.EncBinaryMarshal(yy1778) - } else if !yym1779 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1778) - } else { - z.EncFallback(yy1778) - } - } - } - if yyr1772 || yy2arr1772 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1772[3] { - yy1781 := &x.LastTransitionTime + if yyq1777[2] { + yy1781 := &x.LastProbeTime yym1782 := z.EncBinary() _ = yym1782 if false { @@ -24208,11 +24226,11 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1772[3] { + if yyq1777[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1783 := &x.LastTransitionTime + yy1783 := &x.LastProbeTime yym1784 := z.EncBinary() _ = yym1784 if false { @@ -24226,36 +24244,73 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1772 || yy2arr1772 { + if yyr1777 || yy2arr1777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1772[4] { - yym1786 := z.EncBinary() - _ = yym1786 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1772[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq1777[3] { + yy1786 := &x.LastTransitionTime yym1787 := z.EncBinary() _ = yym1787 if false { + } else if z.HasExtensions() && z.EncExt(yy1786) { + } else if yym1787 { + z.EncBinaryMarshal(yy1786) + } else if !yym1787 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1786) + } else { + z.EncFallback(yy1786) + } + } else { + r.EncodeNil() + } + } else { + if yyq1777[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1788 := &x.LastTransitionTime + yym1789 := z.EncBinary() + _ = yym1789 + if false { + } else if z.HasExtensions() && z.EncExt(yy1788) { + } else if yym1789 { + z.EncBinaryMarshal(yy1788) + } else if !yym1789 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1788) + } else { + z.EncFallback(yy1788) + } + } + } + if yyr1777 || yy2arr1777 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1777[4] { + yym1791 := z.EncBinary() + _ = yym1791 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1777[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1792 := z.EncBinary() + _ = yym1792 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1772 || yy2arr1772 { + if yyr1777 || yy2arr1777 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1772[5] { - yym1789 := z.EncBinary() - _ = yym1789 + if yyq1777[5] { + yym1794 := z.EncBinary() + _ = yym1794 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -24264,19 +24319,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1772[5] { + if yyq1777[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1790 := z.EncBinary() - _ = yym1790 + yym1795 := z.EncBinary() + _ = yym1795 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1772 || yy2arr1772 { + if yyr1777 || yy2arr1777 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24289,25 +24344,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1791 := z.DecBinary() - _ = yym1791 + yym1796 := z.DecBinary() + _ = yym1796 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1792 := r.ContainerType() - if yyct1792 == codecSelferValueTypeMap1234 { - yyl1792 := r.ReadMapStart() - if yyl1792 == 0 { + yyct1797 := r.ContainerType() + if yyct1797 == codecSelferValueTypeMap1234 { + yyl1797 := r.ReadMapStart() + if yyl1797 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1792, d) + x.codecDecodeSelfFromMap(yyl1797, d) } - } else if yyct1792 == codecSelferValueTypeArray1234 { - yyl1792 := r.ReadArrayStart() - if yyl1792 == 0 { + } else if yyct1797 == codecSelferValueTypeArray1234 { + yyl1797 := r.ReadArrayStart() + if yyl1797 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1792, d) + x.codecDecodeSelfFromArray(yyl1797, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24319,12 +24374,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1793Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1793Slc - var yyhl1793 bool = l >= 0 - for yyj1793 := 0; ; yyj1793++ { - if yyhl1793 { - if yyj1793 >= l { + var yys1798Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1798Slc + var yyhl1798 bool = l >= 0 + for yyj1798 := 0; ; yyj1798++ { + if yyhl1798 { + if yyj1798 >= l { break } } else { @@ -24333,10 +24388,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1793Slc = r.DecodeBytes(yys1793Slc, true, true) - yys1793 := string(yys1793Slc) + yys1798Slc = r.DecodeBytes(yys1798Slc, true, true) + yys1798 := string(yys1798Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1793 { + switch yys1798 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -24353,34 +24408,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1796 := &x.LastProbeTime - yym1797 := z.DecBinary() - _ = yym1797 + yyv1801 := &x.LastProbeTime + yym1802 := z.DecBinary() + _ = yym1802 if false { - } else if z.HasExtensions() && z.DecExt(yyv1796) { - } else if yym1797 { - z.DecBinaryUnmarshal(yyv1796) - } else if !yym1797 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1796) + } else if z.HasExtensions() && z.DecExt(yyv1801) { + } else if yym1802 { + z.DecBinaryUnmarshal(yyv1801) + } else if !yym1802 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1801) } else { - z.DecFallback(yyv1796, false) + z.DecFallback(yyv1801, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1798 := &x.LastTransitionTime - yym1799 := z.DecBinary() - _ = yym1799 + yyv1803 := &x.LastTransitionTime + yym1804 := z.DecBinary() + _ = yym1804 if false { - } else if z.HasExtensions() && z.DecExt(yyv1798) { - } else if yym1799 { - z.DecBinaryUnmarshal(yyv1798) - } else if !yym1799 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1798) + } else if z.HasExtensions() && z.DecExt(yyv1803) { + } else if yym1804 { + z.DecBinaryUnmarshal(yyv1803) + } else if !yym1804 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1803) } else { - z.DecFallback(yyv1798, false) + z.DecFallback(yyv1803, false) } } case "reason": @@ -24396,9 +24451,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1793) - } // end switch yys1793 - } // end for yyj1793 + z.DecStructFieldNotFound(-1, yys1798) + } // end switch yys1798 + } // end for yyj1798 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24406,16 +24461,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1802 int - var yyb1802 bool - var yyhl1802 bool = l >= 0 - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + var yyj1807 int + var yyb1807 bool + var yyhl1807 bool = l >= 0 + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24425,13 +24480,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24441,13 +24496,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24455,26 +24510,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1805 := &x.LastProbeTime - yym1806 := z.DecBinary() - _ = yym1806 + yyv1810 := &x.LastProbeTime + yym1811 := z.DecBinary() + _ = yym1811 if false { - } else if z.HasExtensions() && z.DecExt(yyv1805) { - } else if yym1806 { - z.DecBinaryUnmarshal(yyv1805) - } else if !yym1806 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1805) + } else if z.HasExtensions() && z.DecExt(yyv1810) { + } else if yym1811 { + z.DecBinaryUnmarshal(yyv1810) + } else if !yym1811 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1810) } else { - z.DecFallback(yyv1805, false) + z.DecFallback(yyv1810, false) } } - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24482,26 +24537,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1807 := &x.LastTransitionTime - yym1808 := z.DecBinary() - _ = yym1808 + yyv1812 := &x.LastTransitionTime + yym1813 := z.DecBinary() + _ = yym1813 if false { - } else if z.HasExtensions() && z.DecExt(yyv1807) { - } else if yym1808 { - z.DecBinaryUnmarshal(yyv1807) - } else if !yym1808 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1807) + } else if z.HasExtensions() && z.DecExt(yyv1812) { + } else if yym1813 { + z.DecBinaryUnmarshal(yyv1812) + } else if !yym1813 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1812) } else { - z.DecFallback(yyv1807, false) + z.DecFallback(yyv1812, false) } } - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24511,13 +24566,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24528,17 +24583,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj1802++ - if yyhl1802 { - yyb1802 = yyj1802 > l + yyj1807++ + if yyhl1807 { + yyb1807 = yyj1807 > l } else { - yyb1802 = r.CheckBreak() + yyb1807 = r.CheckBreak() } - if yyb1802 { + if yyb1807 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1802-1, "") + z.DecStructFieldNotFound(yyj1807-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24547,8 +24602,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1811 := z.EncBinary() - _ = yym1811 + yym1816 := z.EncBinary() + _ = yym1816 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24560,8 +24615,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1812 := z.DecBinary() - _ = yym1812 + yym1817 := z.DecBinary() + _ = yym1817 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24576,37 +24631,37 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1813 := z.EncBinary() - _ = yym1813 + yym1818 := z.EncBinary() + _ = yym1818 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1814 := !z.EncBinary() - yy2arr1814 := z.EncBasicHandle().StructToArray - var yyq1814 [4]bool - _, _, _ = yysep1814, yyq1814, yy2arr1814 - const yyr1814 bool = false - yyq1814[0] = x.Kind != "" - yyq1814[1] = x.APIVersion != "" - yyq1814[2] = true - var yynn1814 int - if yyr1814 || yy2arr1814 { + yysep1819 := !z.EncBinary() + yy2arr1819 := z.EncBasicHandle().StructToArray + var yyq1819 [4]bool + _, _, _ = yysep1819, yyq1819, yy2arr1819 + const yyr1819 bool = false + yyq1819[0] = x.Kind != "" + yyq1819[1] = x.APIVersion != "" + yyq1819[2] = true + var yynn1819 int + if yyr1819 || yy2arr1819 { r.EncodeArrayStart(4) } else { - yynn1814 = 1 - for _, b := range yyq1814 { + yynn1819 = 1 + for _, b := range yyq1819 { if b { - yynn1814++ + yynn1819++ } } - r.EncodeMapStart(yynn1814) - yynn1814 = 0 + r.EncodeMapStart(yynn1819) + yynn1819 = 0 } - if yyr1814 || yy2arr1814 { + if yyr1819 || yy2arr1819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1814[0] { - yym1816 := z.EncBinary() - _ = yym1816 + if yyq1819[0] { + yym1821 := z.EncBinary() + _ = yym1821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -24615,23 +24670,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1814[0] { + if yyq1819[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1817 := z.EncBinary() - _ = yym1817 + yym1822 := z.EncBinary() + _ = yym1822 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1814 || yy2arr1814 { + if yyr1819 || yy2arr1819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1814[1] { - yym1819 := z.EncBinary() - _ = yym1819 + if yyq1819[1] { + yym1824 := z.EncBinary() + _ = yym1824 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -24640,54 +24695,54 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1814[1] { + if yyq1819[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1820 := z.EncBinary() - _ = yym1820 + yym1825 := z.EncBinary() + _ = yym1825 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1814 || yy2arr1814 { + if yyr1819 || yy2arr1819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1814[2] { - yy1822 := &x.ListMeta - yym1823 := z.EncBinary() - _ = yym1823 + if yyq1819[2] { + yy1827 := &x.ListMeta + yym1828 := z.EncBinary() + _ = yym1828 if false { - } else if z.HasExtensions() && z.EncExt(yy1822) { + } else if z.HasExtensions() && z.EncExt(yy1827) { } else { - z.EncFallback(yy1822) + z.EncFallback(yy1827) } } else { r.EncodeNil() } } else { - if yyq1814[2] { + if yyq1819[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1824 := &x.ListMeta - yym1825 := z.EncBinary() - _ = yym1825 + yy1829 := &x.ListMeta + yym1830 := z.EncBinary() + _ = yym1830 if false { - } else if z.HasExtensions() && z.EncExt(yy1824) { + } else if z.HasExtensions() && z.EncExt(yy1829) { } else { - z.EncFallback(yy1824) + z.EncFallback(yy1829) } } } - if yyr1814 || yy2arr1814 { + if yyr1819 || yy2arr1819 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1827 := z.EncBinary() - _ = yym1827 + yym1832 := z.EncBinary() + _ = yym1832 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -24700,15 +24755,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1828 := z.EncBinary() - _ = yym1828 + yym1833 := z.EncBinary() + _ = yym1833 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr1814 || yy2arr1814 { + if yyr1819 || yy2arr1819 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24721,25 +24776,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1829 := z.DecBinary() - _ = yym1829 + yym1834 := z.DecBinary() + _ = yym1834 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1830 := r.ContainerType() - if yyct1830 == codecSelferValueTypeMap1234 { - yyl1830 := r.ReadMapStart() - if yyl1830 == 0 { + yyct1835 := r.ContainerType() + if yyct1835 == codecSelferValueTypeMap1234 { + yyl1835 := r.ReadMapStart() + if yyl1835 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1830, d) + x.codecDecodeSelfFromMap(yyl1835, d) } - } else if yyct1830 == codecSelferValueTypeArray1234 { - yyl1830 := r.ReadArrayStart() - if yyl1830 == 0 { + } else if yyct1835 == codecSelferValueTypeArray1234 { + yyl1835 := r.ReadArrayStart() + if yyl1835 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1830, d) + x.codecDecodeSelfFromArray(yyl1835, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24751,12 +24806,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1831Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1831Slc - var yyhl1831 bool = l >= 0 - for yyj1831 := 0; ; yyj1831++ { - if yyhl1831 { - if yyj1831 >= l { + var yys1836Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1836Slc + var yyhl1836 bool = l >= 0 + for yyj1836 := 0; ; yyj1836++ { + if yyhl1836 { + if yyj1836 >= l { break } } else { @@ -24765,10 +24820,10 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1831Slc = r.DecodeBytes(yys1831Slc, true, true) - yys1831 := string(yys1831Slc) + yys1836Slc = r.DecodeBytes(yys1836Slc, true, true) + yys1836 := string(yys1836Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1831 { + switch yys1836 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -24785,31 +24840,31 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1834 := &x.ListMeta - yym1835 := z.DecBinary() - _ = yym1835 + yyv1839 := &x.ListMeta + yym1840 := z.DecBinary() + _ = yym1840 if false { - } else if z.HasExtensions() && z.DecExt(yyv1834) { + } else if z.HasExtensions() && z.DecExt(yyv1839) { } else { - z.DecFallback(yyv1834, false) + z.DecFallback(yyv1839, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1836 := &x.Items - yym1837 := z.DecBinary() - _ = yym1837 + yyv1841 := &x.Items + yym1842 := z.DecBinary() + _ = yym1842 if false { } else { - h.decSlicePod((*[]Pod)(yyv1836), d) + h.decSlicePod((*[]Pod)(yyv1841), d) } } default: - z.DecStructFieldNotFound(-1, yys1831) - } // end switch yys1831 - } // end for yyj1831 + z.DecStructFieldNotFound(-1, yys1836) + } // end switch yys1836 + } // end for yyj1836 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24817,16 +24872,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1838 int - var yyb1838 bool - var yyhl1838 bool = l >= 0 - yyj1838++ - if yyhl1838 { - yyb1838 = yyj1838 > l + var yyj1843 int + var yyb1843 bool + var yyhl1843 bool = l >= 0 + yyj1843++ + if yyhl1843 { + yyb1843 = yyj1843 > l } else { - yyb1838 = r.CheckBreak() + yyb1843 = r.CheckBreak() } - if yyb1838 { + if yyb1843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24836,13 +24891,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1838++ - if yyhl1838 { - yyb1838 = yyj1838 > l + yyj1843++ + if yyhl1843 { + yyb1843 = yyj1843 > l } else { - yyb1838 = r.CheckBreak() + yyb1843 = r.CheckBreak() } - if yyb1838 { + if yyb1843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24852,13 +24907,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1838++ - if yyhl1838 { - yyb1838 = yyj1838 > l + yyj1843++ + if yyhl1843 { + yyb1843 = yyj1843 > l } else { - yyb1838 = r.CheckBreak() + yyb1843 = r.CheckBreak() } - if yyb1838 { + if yyb1843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24866,22 +24921,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv1841 := &x.ListMeta - yym1842 := z.DecBinary() - _ = yym1842 + yyv1846 := &x.ListMeta + yym1847 := z.DecBinary() + _ = yym1847 if false { - } else if z.HasExtensions() && z.DecExt(yyv1841) { + } else if z.HasExtensions() && z.DecExt(yyv1846) { } else { - z.DecFallback(yyv1841, false) + z.DecFallback(yyv1846, false) } } - yyj1838++ - if yyhl1838 { - yyb1838 = yyj1838 > l + yyj1843++ + if yyhl1843 { + yyb1843 = yyj1843 > l } else { - yyb1838 = r.CheckBreak() + yyb1843 = r.CheckBreak() } - if yyb1838 { + if yyb1843 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24889,26 +24944,26 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1843 := &x.Items - yym1844 := z.DecBinary() - _ = yym1844 + yyv1848 := &x.Items + yym1849 := z.DecBinary() + _ = yym1849 if false { } else { - h.decSlicePod((*[]Pod)(yyv1843), d) + h.decSlicePod((*[]Pod)(yyv1848), d) } } for { - yyj1838++ - if yyhl1838 { - yyb1838 = yyj1838 > l + yyj1843++ + if yyhl1843 { + yyb1843 = yyj1843 > l } else { - yyb1838 = r.CheckBreak() + yyb1843 = r.CheckBreak() } - if yyb1838 { + if yyb1843 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1838-1, "") + z.DecStructFieldNotFound(yyj1843-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24917,8 +24972,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1845 := z.EncBinary() - _ = yym1845 + yym1850 := z.EncBinary() + _ = yym1850 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24930,8 +24985,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1846 := z.DecBinary() - _ = yym1846 + yym1851 := z.DecBinary() + _ = yym1851 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24946,36 +25001,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1847 := z.EncBinary() - _ = yym1847 + yym1852 := z.EncBinary() + _ = yym1852 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1848 := !z.EncBinary() - yy2arr1848 := z.EncBasicHandle().StructToArray - var yyq1848 [1]bool - _, _, _ = yysep1848, yyq1848, yy2arr1848 - const yyr1848 bool = false - var yynn1848 int - if yyr1848 || yy2arr1848 { + yysep1853 := !z.EncBinary() + yy2arr1853 := z.EncBasicHandle().StructToArray + var yyq1853 [1]bool + _, _, _ = yysep1853, yyq1853, yy2arr1853 + const yyr1853 bool = false + var yynn1853 int + if yyr1853 || yy2arr1853 { r.EncodeArrayStart(1) } else { - yynn1848 = 1 - for _, b := range yyq1848 { + yynn1853 = 1 + for _, b := range yyq1853 { if b { - yynn1848++ + yynn1853++ } } - r.EncodeMapStart(yynn1848) - yynn1848 = 0 + r.EncodeMapStart(yynn1853) + yynn1853 = 0 } - if yyr1848 || yy2arr1848 { + if yyr1853 || yy2arr1853 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1850 := z.EncBinary() - _ = yym1850 + yym1855 := z.EncBinary() + _ = yym1855 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -24988,15 +25043,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1851 := z.EncBinary() - _ = yym1851 + yym1856 := z.EncBinary() + _ = yym1856 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr1848 || yy2arr1848 { + if yyr1853 || yy2arr1853 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25009,25 +25064,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1852 := z.DecBinary() - _ = yym1852 + yym1857 := z.DecBinary() + _ = yym1857 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1853 := r.ContainerType() - if yyct1853 == codecSelferValueTypeMap1234 { - yyl1853 := r.ReadMapStart() - if yyl1853 == 0 { + yyct1858 := r.ContainerType() + if yyct1858 == codecSelferValueTypeMap1234 { + yyl1858 := r.ReadMapStart() + if yyl1858 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1853, d) + x.codecDecodeSelfFromMap(yyl1858, d) } - } else if yyct1853 == codecSelferValueTypeArray1234 { - yyl1853 := r.ReadArrayStart() - if yyl1853 == 0 { + } else if yyct1858 == codecSelferValueTypeArray1234 { + yyl1858 := r.ReadArrayStart() + if yyl1858 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1853, d) + x.codecDecodeSelfFromArray(yyl1858, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25039,12 +25094,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1854Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1854Slc - var yyhl1854 bool = l >= 0 - for yyj1854 := 0; ; yyj1854++ { - if yyhl1854 { - if yyj1854 >= l { + var yys1859Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1859Slc + var yyhl1859 bool = l >= 0 + for yyj1859 := 0; ; yyj1859++ { + if yyhl1859 { + if yyj1859 >= l { break } } else { @@ -25053,26 +25108,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1854Slc = r.DecodeBytes(yys1854Slc, true, true) - yys1854 := string(yys1854Slc) + yys1859Slc = r.DecodeBytes(yys1859Slc, true, true) + yys1859 := string(yys1859Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1854 { + switch yys1859 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1855 := &x.NodeSelectorTerms - yym1856 := z.DecBinary() - _ = yym1856 + yyv1860 := &x.NodeSelectorTerms + yym1861 := z.DecBinary() + _ = yym1861 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1855), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1860), d) } } default: - z.DecStructFieldNotFound(-1, yys1854) - } // end switch yys1854 - } // end for yyj1854 + z.DecStructFieldNotFound(-1, yys1859) + } // end switch yys1859 + } // end for yyj1859 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25080,16 +25135,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1857 int - var yyb1857 bool - var yyhl1857 bool = l >= 0 - yyj1857++ - if yyhl1857 { - yyb1857 = yyj1857 > l + var yyj1862 int + var yyb1862 bool + var yyhl1862 bool = l >= 0 + yyj1862++ + if yyhl1862 { + yyb1862 = yyj1862 > l } else { - yyb1857 = r.CheckBreak() + yyb1862 = r.CheckBreak() } - if yyb1857 { + if yyb1862 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25097,26 +25152,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1858 := &x.NodeSelectorTerms - yym1859 := z.DecBinary() - _ = yym1859 + yyv1863 := &x.NodeSelectorTerms + yym1864 := z.DecBinary() + _ = yym1864 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1858), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1863), d) } } for { - yyj1857++ - if yyhl1857 { - yyb1857 = yyj1857 > l + yyj1862++ + if yyhl1862 { + yyb1862 = yyj1862 > l } else { - yyb1857 = r.CheckBreak() + yyb1862 = r.CheckBreak() } - if yyb1857 { + if yyb1862 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1857-1, "") + z.DecStructFieldNotFound(yyj1862-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25128,36 +25183,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1860 := z.EncBinary() - _ = yym1860 + yym1865 := z.EncBinary() + _ = yym1865 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1861 := !z.EncBinary() - yy2arr1861 := z.EncBasicHandle().StructToArray - var yyq1861 [1]bool - _, _, _ = yysep1861, yyq1861, yy2arr1861 - const yyr1861 bool = false - var yynn1861 int - if yyr1861 || yy2arr1861 { + yysep1866 := !z.EncBinary() + yy2arr1866 := z.EncBasicHandle().StructToArray + var yyq1866 [1]bool + _, _, _ = yysep1866, yyq1866, yy2arr1866 + const yyr1866 bool = false + var yynn1866 int + if yyr1866 || yy2arr1866 { r.EncodeArrayStart(1) } else { - yynn1861 = 1 - for _, b := range yyq1861 { + yynn1866 = 1 + for _, b := range yyq1866 { if b { - yynn1861++ + yynn1866++ } } - r.EncodeMapStart(yynn1861) - yynn1861 = 0 + r.EncodeMapStart(yynn1866) + yynn1866 = 0 } - if yyr1861 || yy2arr1861 { + if yyr1866 || yy2arr1866 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1863 := z.EncBinary() - _ = yym1863 + yym1868 := z.EncBinary() + _ = yym1868 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -25170,15 +25225,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1864 := z.EncBinary() - _ = yym1864 + yym1869 := z.EncBinary() + _ = yym1869 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr1861 || yy2arr1861 { + if yyr1866 || yy2arr1866 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25191,25 +25246,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1865 := z.DecBinary() - _ = yym1865 + yym1870 := z.DecBinary() + _ = yym1870 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1866 := r.ContainerType() - if yyct1866 == codecSelferValueTypeMap1234 { - yyl1866 := r.ReadMapStart() - if yyl1866 == 0 { + yyct1871 := r.ContainerType() + if yyct1871 == codecSelferValueTypeMap1234 { + yyl1871 := r.ReadMapStart() + if yyl1871 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1866, d) + x.codecDecodeSelfFromMap(yyl1871, d) } - } else if yyct1866 == codecSelferValueTypeArray1234 { - yyl1866 := r.ReadArrayStart() - if yyl1866 == 0 { + } else if yyct1871 == codecSelferValueTypeArray1234 { + yyl1871 := r.ReadArrayStart() + if yyl1871 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1866, d) + x.codecDecodeSelfFromArray(yyl1871, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25221,12 +25276,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1867Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1867Slc - var yyhl1867 bool = l >= 0 - for yyj1867 := 0; ; yyj1867++ { - if yyhl1867 { - if yyj1867 >= l { + var yys1872Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1872Slc + var yyhl1872 bool = l >= 0 + for yyj1872 := 0; ; yyj1872++ { + if yyhl1872 { + if yyj1872 >= l { break } } else { @@ -25235,26 +25290,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1867Slc = r.DecodeBytes(yys1867Slc, true, true) - yys1867 := string(yys1867Slc) + yys1872Slc = r.DecodeBytes(yys1872Slc, true, true) + yys1872 := string(yys1872Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1867 { + switch yys1872 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1868 := &x.MatchExpressions - yym1869 := z.DecBinary() - _ = yym1869 + yyv1873 := &x.MatchExpressions + yym1874 := z.DecBinary() + _ = yym1874 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1868), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1873), d) } } default: - z.DecStructFieldNotFound(-1, yys1867) - } // end switch yys1867 - } // end for yyj1867 + z.DecStructFieldNotFound(-1, yys1872) + } // end switch yys1872 + } // end for yyj1872 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25262,16 +25317,16 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1870 int - var yyb1870 bool - var yyhl1870 bool = l >= 0 - yyj1870++ - if yyhl1870 { - yyb1870 = yyj1870 > l + var yyj1875 int + var yyb1875 bool + var yyhl1875 bool = l >= 0 + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1870 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1870 { + if yyb1875 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25279,26 +25334,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1871 := &x.MatchExpressions - yym1872 := z.DecBinary() - _ = yym1872 + yyv1876 := &x.MatchExpressions + yym1877 := z.DecBinary() + _ = yym1877 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1871), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1876), d) } } for { - yyj1870++ - if yyhl1870 { - yyb1870 = yyj1870 > l + yyj1875++ + if yyhl1875 { + yyb1875 = yyj1875 > l } else { - yyb1870 = r.CheckBreak() + yyb1875 = r.CheckBreak() } - if yyb1870 { + if yyb1875 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1870-1, "") + z.DecStructFieldNotFound(yyj1875-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25310,34 +25365,34 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1873 := z.EncBinary() - _ = yym1873 + yym1878 := z.EncBinary() + _ = yym1878 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1874 := !z.EncBinary() - yy2arr1874 := z.EncBasicHandle().StructToArray - var yyq1874 [3]bool - _, _, _ = yysep1874, yyq1874, yy2arr1874 - const yyr1874 bool = false - yyq1874[2] = len(x.Values) != 0 - var yynn1874 int - if yyr1874 || yy2arr1874 { + yysep1879 := !z.EncBinary() + yy2arr1879 := z.EncBasicHandle().StructToArray + var yyq1879 [3]bool + _, _, _ = yysep1879, yyq1879, yy2arr1879 + const yyr1879 bool = false + yyq1879[2] = len(x.Values) != 0 + var yynn1879 int + if yyr1879 || yy2arr1879 { r.EncodeArrayStart(3) } else { - yynn1874 = 2 - for _, b := range yyq1874 { + yynn1879 = 2 + for _, b := range yyq1879 { if b { - yynn1874++ + yynn1879++ } } - r.EncodeMapStart(yynn1874) - yynn1874 = 0 + r.EncodeMapStart(yynn1879) + yynn1879 = 0 } - if yyr1874 || yy2arr1874 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1876 := z.EncBinary() - _ = yym1876 + yym1881 := z.EncBinary() + _ = yym1881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -25346,14 +25401,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1877 := z.EncBinary() - _ = yym1877 + yym1882 := z.EncBinary() + _ = yym1882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1874 || yy2arr1874 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -25362,14 +25417,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1874 || yy2arr1874 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1874[2] { + if yyq1879[2] { if x.Values == nil { r.EncodeNil() } else { - yym1880 := z.EncBinary() - _ = yym1880 + yym1885 := z.EncBinary() + _ = yym1885 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -25379,15 +25434,15 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1874[2] { + if yyq1879[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1881 := z.EncBinary() - _ = yym1881 + yym1886 := z.EncBinary() + _ = yym1886 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -25395,7 +25450,7 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1874 || yy2arr1874 { + if yyr1879 || yy2arr1879 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25408,25 +25463,25 @@ func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1882 := z.DecBinary() - _ = yym1882 + yym1887 := z.DecBinary() + _ = yym1887 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1883 := r.ContainerType() - if yyct1883 == codecSelferValueTypeMap1234 { - yyl1883 := r.ReadMapStart() - if yyl1883 == 0 { + yyct1888 := r.ContainerType() + if yyct1888 == codecSelferValueTypeMap1234 { + yyl1888 := r.ReadMapStart() + if yyl1888 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1883, d) + x.codecDecodeSelfFromMap(yyl1888, d) } - } else if yyct1883 == codecSelferValueTypeArray1234 { - yyl1883 := r.ReadArrayStart() - if yyl1883 == 0 { + } else if yyct1888 == codecSelferValueTypeArray1234 { + yyl1888 := r.ReadArrayStart() + if yyl1888 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1883, d) + x.codecDecodeSelfFromArray(yyl1888, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25438,12 +25493,12 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1884Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1884Slc - var yyhl1884 bool = l >= 0 - for yyj1884 := 0; ; yyj1884++ { - if yyhl1884 { - if yyj1884 >= l { + var yys1889Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1889Slc + var yyhl1889 bool = l >= 0 + for yyj1889 := 0; ; yyj1889++ { + if yyhl1889 { + if yyj1889 >= l { break } } else { @@ -25452,10 +25507,10 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1884Slc = r.DecodeBytes(yys1884Slc, true, true) - yys1884 := string(yys1884Slc) + yys1889Slc = r.DecodeBytes(yys1889Slc, true, true) + yys1889 := string(yys1889Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1884 { + switch yys1889 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -25472,18 +25527,18 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1887 := &x.Values - yym1888 := z.DecBinary() - _ = yym1888 + yyv1892 := &x.Values + yym1893 := z.DecBinary() + _ = yym1893 if false { } else { - z.F.DecSliceStringX(yyv1887, false, d) + z.F.DecSliceStringX(yyv1892, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1884) - } // end switch yys1884 - } // end for yyj1884 + z.DecStructFieldNotFound(-1, yys1889) + } // end switch yys1889 + } // end for yyj1889 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25491,16 +25546,16 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1889 int - var yyb1889 bool - var yyhl1889 bool = l >= 0 - yyj1889++ - if yyhl1889 { - yyb1889 = yyj1889 > l + var yyj1894 int + var yyb1894 bool + var yyhl1894 bool = l >= 0 + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1889 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1889 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25510,13 +25565,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Key = string(r.DecodeString()) } - yyj1889++ - if yyhl1889 { - yyb1889 = yyj1889 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1889 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1889 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25526,13 +25581,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Operator = NodeSelectorOperator(r.DecodeString()) } - yyj1889++ - if yyhl1889 { - yyb1889 = yyj1889 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1889 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1889 { + if yyb1894 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25540,26 +25595,26 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1892 := &x.Values - yym1893 := z.DecBinary() - _ = yym1893 + yyv1897 := &x.Values + yym1898 := z.DecBinary() + _ = yym1898 if false { } else { - z.F.DecSliceStringX(yyv1892, false, d) + z.F.DecSliceStringX(yyv1897, false, d) } } for { - yyj1889++ - if yyhl1889 { - yyb1889 = yyj1889 > l + yyj1894++ + if yyhl1894 { + yyb1894 = yyj1894 > l } else { - yyb1889 = r.CheckBreak() + yyb1894 = r.CheckBreak() } - if yyb1889 { + if yyb1894 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1889-1, "") + z.DecStructFieldNotFound(yyj1894-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25568,8 +25623,8 @@ func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1894 := z.EncBinary() - _ = yym1894 + yym1899 := z.EncBinary() + _ = yym1899 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -25581,8 +25636,8 @@ func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1895 := z.DecBinary() - _ = yym1895 + yym1900 := z.DecBinary() + _ = yym1900 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -25597,35 +25652,35 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1896 := z.EncBinary() - _ = yym1896 + yym1901 := z.EncBinary() + _ = yym1901 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1897 := !z.EncBinary() - yy2arr1897 := z.EncBasicHandle().StructToArray - var yyq1897 [3]bool - _, _, _ = yysep1897, yyq1897, yy2arr1897 - const yyr1897 bool = false - yyq1897[0] = x.NodeAffinity != nil - yyq1897[1] = x.PodAffinity != nil - yyq1897[2] = x.PodAntiAffinity != nil - var yynn1897 int - if yyr1897 || yy2arr1897 { + yysep1902 := !z.EncBinary() + yy2arr1902 := z.EncBasicHandle().StructToArray + var yyq1902 [3]bool + _, _, _ = yysep1902, yyq1902, yy2arr1902 + const yyr1902 bool = false + yyq1902[0] = x.NodeAffinity != nil + yyq1902[1] = x.PodAffinity != nil + yyq1902[2] = x.PodAntiAffinity != nil + var yynn1902 int + if yyr1902 || yy2arr1902 { r.EncodeArrayStart(3) } else { - yynn1897 = 0 - for _, b := range yyq1897 { + yynn1902 = 0 + for _, b := range yyq1902 { if b { - yynn1897++ + yynn1902++ } } - r.EncodeMapStart(yynn1897) - yynn1897 = 0 + r.EncodeMapStart(yynn1902) + yynn1902 = 0 } - if yyr1897 || yy2arr1897 { + if yyr1902 || yy2arr1902 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1897[0] { + if yyq1902[0] { if x.NodeAffinity == nil { r.EncodeNil() } else { @@ -25635,7 +25690,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1897[0] { + if yyq1902[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25646,9 +25701,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1897 || yy2arr1897 { + if yyr1902 || yy2arr1902 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1897[1] { + if yyq1902[1] { if x.PodAffinity == nil { r.EncodeNil() } else { @@ -25658,7 +25713,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1897[1] { + if yyq1902[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25669,9 +25724,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1897 || yy2arr1897 { + if yyr1902 || yy2arr1902 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1897[2] { + if yyq1902[2] { if x.PodAntiAffinity == nil { r.EncodeNil() } else { @@ -25681,7 +25736,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1897[2] { + if yyq1902[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAntiAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -25692,7 +25747,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1897 || yy2arr1897 { + if yyr1902 || yy2arr1902 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25705,25 +25760,25 @@ func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1901 := z.DecBinary() - _ = yym1901 + yym1906 := z.DecBinary() + _ = yym1906 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1902 := r.ContainerType() - if yyct1902 == codecSelferValueTypeMap1234 { - yyl1902 := r.ReadMapStart() - if yyl1902 == 0 { + yyct1907 := r.ContainerType() + if yyct1907 == codecSelferValueTypeMap1234 { + yyl1907 := r.ReadMapStart() + if yyl1907 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1902, d) + x.codecDecodeSelfFromMap(yyl1907, d) } - } else if yyct1902 == codecSelferValueTypeArray1234 { - yyl1902 := r.ReadArrayStart() - if yyl1902 == 0 { + } else if yyct1907 == codecSelferValueTypeArray1234 { + yyl1907 := r.ReadArrayStart() + if yyl1907 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1902, d) + x.codecDecodeSelfFromArray(yyl1907, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25735,12 +25790,12 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1903Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1903Slc - var yyhl1903 bool = l >= 0 - for yyj1903 := 0; ; yyj1903++ { - if yyhl1903 { - if yyj1903 >= l { + var yys1908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1908Slc + var yyhl1908 bool = l >= 0 + for yyj1908 := 0; ; yyj1908++ { + if yyhl1908 { + if yyj1908 >= l { break } } else { @@ -25749,10 +25804,10 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1903Slc = r.DecodeBytes(yys1903Slc, true, true) - yys1903 := string(yys1903Slc) + yys1908Slc = r.DecodeBytes(yys1908Slc, true, true) + yys1908 := string(yys1908Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1903 { + switch yys1908 { case "nodeAffinity": if r.TryDecodeAsNil() { if x.NodeAffinity != nil { @@ -25787,9 +25842,9 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1903) - } // end switch yys1903 - } // end for yyj1903 + z.DecStructFieldNotFound(-1, yys1908) + } // end switch yys1908 + } // end for yyj1908 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25797,16 +25852,16 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1907 int - var yyb1907 bool - var yyhl1907 bool = l >= 0 - yyj1907++ - if yyhl1907 { - yyb1907 = yyj1907 > l + var yyj1912 int + var yyb1912 bool + var yyhl1912 bool = l >= 0 + yyj1912++ + if yyhl1912 { + yyb1912 = yyj1912 > l } else { - yyb1907 = r.CheckBreak() + yyb1912 = r.CheckBreak() } - if yyb1907 { + if yyb1912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25821,13 +25876,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NodeAffinity.CodecDecodeSelf(d) } - yyj1907++ - if yyhl1907 { - yyb1907 = yyj1907 > l + yyj1912++ + if yyhl1912 { + yyb1912 = yyj1912 > l } else { - yyb1907 = r.CheckBreak() + yyb1912 = r.CheckBreak() } - if yyb1907 { + if yyb1912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25842,13 +25897,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PodAffinity.CodecDecodeSelf(d) } - yyj1907++ - if yyhl1907 { - yyb1907 = yyj1907 > l + yyj1912++ + if yyhl1912 { + yyb1912 = yyj1912 > l } else { - yyb1907 = r.CheckBreak() + yyb1912 = r.CheckBreak() } - if yyb1907 { + if yyb1912 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25864,17 +25919,17 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } for { - yyj1907++ - if yyhl1907 { - yyb1907 = yyj1907 > l + yyj1912++ + if yyhl1912 { + yyb1912 = yyj1912 > l } else { - yyb1907 = r.CheckBreak() + yyb1912 = r.CheckBreak() } - if yyb1907 { + if yyb1912 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1907-1, "") + z.DecStructFieldNotFound(yyj1912-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25886,39 +25941,39 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1911 := z.EncBinary() - _ = yym1911 + yym1916 := z.EncBinary() + _ = yym1916 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1912 := !z.EncBinary() - yy2arr1912 := z.EncBasicHandle().StructToArray - var yyq1912 [2]bool - _, _, _ = yysep1912, yyq1912, yy2arr1912 - const yyr1912 bool = false - yyq1912[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq1912[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1912 int - if yyr1912 || yy2arr1912 { + yysep1917 := !z.EncBinary() + yy2arr1917 := z.EncBasicHandle().StructToArray + var yyq1917 [2]bool + _, _, _ = yysep1917, yyq1917, yy2arr1917 + const yyr1917 bool = false + yyq1917[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1917[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1917 int + if yyr1917 || yy2arr1917 { r.EncodeArrayStart(2) } else { - yynn1912 = 0 - for _, b := range yyq1912 { + yynn1917 = 0 + for _, b := range yyq1917 { if b { - yynn1912++ + yynn1917++ } } - r.EncodeMapStart(yynn1912) - yynn1912 = 0 + r.EncodeMapStart(yynn1917) + yynn1917 = 0 } - if yyr1912 || yy2arr1912 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1912[0] { + if yyq1917[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1914 := z.EncBinary() - _ = yym1914 + yym1919 := z.EncBinary() + _ = yym1919 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25928,15 +25983,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1912[0] { + if yyq1917[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1915 := z.EncBinary() - _ = yym1915 + yym1920 := z.EncBinary() + _ = yym1920 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25944,14 +25999,14 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1912 || yy2arr1912 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1912[1] { + if yyq1917[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1917 := z.EncBinary() - _ = yym1917 + yym1922 := z.EncBinary() + _ = yym1922 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25961,15 +26016,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1912[1] { + if yyq1917[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1918 := z.EncBinary() - _ = yym1918 + yym1923 := z.EncBinary() + _ = yym1923 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25977,7 +26032,7 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1912 || yy2arr1912 { + if yyr1917 || yy2arr1917 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25990,25 +26045,25 @@ func (x *PodAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1919 := z.DecBinary() - _ = yym1919 + yym1924 := z.DecBinary() + _ = yym1924 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1920 := r.ContainerType() - if yyct1920 == codecSelferValueTypeMap1234 { - yyl1920 := r.ReadMapStart() - if yyl1920 == 0 { + yyct1925 := r.ContainerType() + if yyct1925 == codecSelferValueTypeMap1234 { + yyl1925 := r.ReadMapStart() + if yyl1925 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1920, d) + x.codecDecodeSelfFromMap(yyl1925, d) } - } else if yyct1920 == codecSelferValueTypeArray1234 { - yyl1920 := r.ReadArrayStart() - if yyl1920 == 0 { + } else if yyct1925 == codecSelferValueTypeArray1234 { + yyl1925 := r.ReadArrayStart() + if yyl1925 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1920, d) + x.codecDecodeSelfFromArray(yyl1925, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26020,12 +26075,12 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1921Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1921Slc - var yyhl1921 bool = l >= 0 - for yyj1921 := 0; ; yyj1921++ { - if yyhl1921 { - if yyj1921 >= l { + var yys1926Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1926Slc + var yyhl1926 bool = l >= 0 + for yyj1926 := 0; ; yyj1926++ { + if yyhl1926 { + if yyj1926 >= l { break } } else { @@ -26034,38 +26089,38 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1921Slc = r.DecodeBytes(yys1921Slc, true, true) - yys1921 := string(yys1921Slc) + yys1926Slc = r.DecodeBytes(yys1926Slc, true, true) + yys1926 := string(yys1926Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1921 { + switch yys1926 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1922 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1923 := z.DecBinary() - _ = yym1923 + yyv1927 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1928 := z.DecBinary() + _ = yym1928 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1922), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1927), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1924 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1925 := z.DecBinary() - _ = yym1925 + yyv1929 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1930 := z.DecBinary() + _ = yym1930 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1924), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1929), d) } } default: - z.DecStructFieldNotFound(-1, yys1921) - } // end switch yys1921 - } // end for yyj1921 + z.DecStructFieldNotFound(-1, yys1926) + } // end switch yys1926 + } // end for yyj1926 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26073,16 +26128,16 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1926 int - var yyb1926 bool - var yyhl1926 bool = l >= 0 - yyj1926++ - if yyhl1926 { - yyb1926 = yyj1926 > l + var yyj1931 int + var yyb1931 bool + var yyhl1931 bool = l >= 0 + yyj1931++ + if yyhl1931 { + yyb1931 = yyj1931 > l } else { - yyb1926 = r.CheckBreak() + yyb1931 = r.CheckBreak() } - if yyb1926 { + if yyb1931 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26090,21 +26145,21 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1927 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1928 := z.DecBinary() - _ = yym1928 + yyv1932 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1933 := z.DecBinary() + _ = yym1933 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1927), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1932), d) } } - yyj1926++ - if yyhl1926 { - yyb1926 = yyj1926 > l + yyj1931++ + if yyhl1931 { + yyb1931 = yyj1931 > l } else { - yyb1926 = r.CheckBreak() + yyb1931 = r.CheckBreak() } - if yyb1926 { + if yyb1931 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26112,26 +26167,26 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1929 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1930 := z.DecBinary() - _ = yym1930 + yyv1934 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1935 := z.DecBinary() + _ = yym1935 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1929), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1934), d) } } for { - yyj1926++ - if yyhl1926 { - yyb1926 = yyj1926 > l + yyj1931++ + if yyhl1931 { + yyb1931 = yyj1931 > l } else { - yyb1926 = r.CheckBreak() + yyb1931 = r.CheckBreak() } - if yyb1926 { + if yyb1931 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1926-1, "") + z.DecStructFieldNotFound(yyj1931-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26143,39 +26198,39 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1931 := z.EncBinary() - _ = yym1931 + yym1936 := z.EncBinary() + _ = yym1936 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1932 := !z.EncBinary() - yy2arr1932 := z.EncBasicHandle().StructToArray - var yyq1932 [2]bool - _, _, _ = yysep1932, yyq1932, yy2arr1932 - const yyr1932 bool = false - yyq1932[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq1932[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1932 int - if yyr1932 || yy2arr1932 { + yysep1937 := !z.EncBinary() + yy2arr1937 := z.EncBasicHandle().StructToArray + var yyq1937 [2]bool + _, _, _ = yysep1937, yyq1937, yy2arr1937 + const yyr1937 bool = false + yyq1937[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1937[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1937 int + if yyr1937 || yy2arr1937 { r.EncodeArrayStart(2) } else { - yynn1932 = 0 - for _, b := range yyq1932 { + yynn1937 = 0 + for _, b := range yyq1937 { if b { - yynn1932++ + yynn1937++ } } - r.EncodeMapStart(yynn1932) - yynn1932 = 0 + r.EncodeMapStart(yynn1937) + yynn1937 = 0 } - if yyr1932 || yy2arr1932 { + if yyr1937 || yy2arr1937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1932[0] { + if yyq1937[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1934 := z.EncBinary() - _ = yym1934 + yym1939 := z.EncBinary() + _ = yym1939 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -26185,15 +26240,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1932[0] { + if yyq1937[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1935 := z.EncBinary() - _ = yym1935 + yym1940 := z.EncBinary() + _ = yym1940 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -26201,14 +26256,14 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1932 || yy2arr1932 { + if yyr1937 || yy2arr1937 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1932[1] { + if yyq1937[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1937 := z.EncBinary() - _ = yym1937 + yym1942 := z.EncBinary() + _ = yym1942 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26218,15 +26273,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1932[1] { + if yyq1937[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1938 := z.EncBinary() - _ = yym1938 + yym1943 := z.EncBinary() + _ = yym1943 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26234,7 +26289,7 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1932 || yy2arr1932 { + if yyr1937 || yy2arr1937 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26247,25 +26302,25 @@ func (x *PodAntiAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1939 := z.DecBinary() - _ = yym1939 + yym1944 := z.DecBinary() + _ = yym1944 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1940 := r.ContainerType() - if yyct1940 == codecSelferValueTypeMap1234 { - yyl1940 := r.ReadMapStart() - if yyl1940 == 0 { + yyct1945 := r.ContainerType() + if yyct1945 == codecSelferValueTypeMap1234 { + yyl1945 := r.ReadMapStart() + if yyl1945 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1940, d) + x.codecDecodeSelfFromMap(yyl1945, d) } - } else if yyct1940 == codecSelferValueTypeArray1234 { - yyl1940 := r.ReadArrayStart() - if yyl1940 == 0 { + } else if yyct1945 == codecSelferValueTypeArray1234 { + yyl1945 := r.ReadArrayStart() + if yyl1945 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1940, d) + x.codecDecodeSelfFromArray(yyl1945, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26277,12 +26332,12 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1941Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1941Slc - var yyhl1941 bool = l >= 0 - for yyj1941 := 0; ; yyj1941++ { - if yyhl1941 { - if yyj1941 >= l { + var yys1946Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1946Slc + var yyhl1946 bool = l >= 0 + for yyj1946 := 0; ; yyj1946++ { + if yyhl1946 { + if yyj1946 >= l { break } } else { @@ -26291,38 +26346,38 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1941Slc = r.DecodeBytes(yys1941Slc, true, true) - yys1941 := string(yys1941Slc) + yys1946Slc = r.DecodeBytes(yys1946Slc, true, true) + yys1946 := string(yys1946Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1941 { + switch yys1946 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1942 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1943 := z.DecBinary() - _ = yym1943 + yyv1947 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1948 := z.DecBinary() + _ = yym1948 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1942), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1947), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1944 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1945 := z.DecBinary() - _ = yym1945 + yyv1949 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1950 := z.DecBinary() + _ = yym1950 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1944), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1949), d) } } default: - z.DecStructFieldNotFound(-1, yys1941) - } // end switch yys1941 - } // end for yyj1941 + z.DecStructFieldNotFound(-1, yys1946) + } // end switch yys1946 + } // end for yyj1946 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26330,16 +26385,16 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1946 int - var yyb1946 bool - var yyhl1946 bool = l >= 0 - yyj1946++ - if yyhl1946 { - yyb1946 = yyj1946 > l + var yyj1951 int + var yyb1951 bool + var yyhl1951 bool = l >= 0 + yyj1951++ + if yyhl1951 { + yyb1951 = yyj1951 > l } else { - yyb1946 = r.CheckBreak() + yyb1951 = r.CheckBreak() } - if yyb1946 { + if yyb1951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26347,21 +26402,21 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1947 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1948 := z.DecBinary() - _ = yym1948 + yyv1952 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1953 := z.DecBinary() + _ = yym1953 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1947), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1952), d) } } - yyj1946++ - if yyhl1946 { - yyb1946 = yyj1946 > l + yyj1951++ + if yyhl1951 { + yyb1951 = yyj1951 > l } else { - yyb1946 = r.CheckBreak() + yyb1951 = r.CheckBreak() } - if yyb1946 { + if yyb1951 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26369,26 +26424,26 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1949 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1950 := z.DecBinary() - _ = yym1950 + yyv1954 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1955 := z.DecBinary() + _ = yym1955 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1949), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1954), d) } } for { - yyj1946++ - if yyhl1946 { - yyb1946 = yyj1946 > l + yyj1951++ + if yyhl1951 { + yyb1951 = yyj1951 > l } else { - yyb1946 = r.CheckBreak() + yyb1951 = r.CheckBreak() } - if yyb1946 { + if yyb1951 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1946-1, "") + z.DecStructFieldNotFound(yyj1951-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26400,33 +26455,33 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1951 := z.EncBinary() - _ = yym1951 + yym1956 := z.EncBinary() + _ = yym1956 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1952 := !z.EncBinary() - yy2arr1952 := z.EncBasicHandle().StructToArray - var yyq1952 [2]bool - _, _, _ = yysep1952, yyq1952, yy2arr1952 - const yyr1952 bool = false - var yynn1952 int - if yyr1952 || yy2arr1952 { + yysep1957 := !z.EncBinary() + yy2arr1957 := z.EncBasicHandle().StructToArray + var yyq1957 [2]bool + _, _, _ = yysep1957, yyq1957, yy2arr1957 + const yyr1957 bool = false + var yynn1957 int + if yyr1957 || yy2arr1957 { r.EncodeArrayStart(2) } else { - yynn1952 = 2 - for _, b := range yyq1952 { + yynn1957 = 2 + for _, b := range yyq1957 { if b { - yynn1952++ + yynn1957++ } } - r.EncodeMapStart(yynn1952) - yynn1952 = 0 + r.EncodeMapStart(yynn1957) + yynn1957 = 0 } - if yyr1952 || yy2arr1952 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1954 := z.EncBinary() - _ = yym1954 + yym1959 := z.EncBinary() + _ = yym1959 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -26435,25 +26490,25 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1955 := z.EncBinary() - _ = yym1955 + yym1960 := z.EncBinary() + _ = yym1960 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr1952 || yy2arr1952 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1957 := &x.PodAffinityTerm - yy1957.CodecEncodeSelf(e) + yy1962 := &x.PodAffinityTerm + yy1962.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinityTerm")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1958 := &x.PodAffinityTerm - yy1958.CodecEncodeSelf(e) + yy1963 := &x.PodAffinityTerm + yy1963.CodecEncodeSelf(e) } - if yyr1952 || yy2arr1952 { + if yyr1957 || yy2arr1957 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26466,25 +26521,25 @@ func (x *WeightedPodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1959 := z.DecBinary() - _ = yym1959 + yym1964 := z.DecBinary() + _ = yym1964 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1960 := r.ContainerType() - if yyct1960 == codecSelferValueTypeMap1234 { - yyl1960 := r.ReadMapStart() - if yyl1960 == 0 { + yyct1965 := r.ContainerType() + if yyct1965 == codecSelferValueTypeMap1234 { + yyl1965 := r.ReadMapStart() + if yyl1965 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1960, d) + x.codecDecodeSelfFromMap(yyl1965, d) } - } else if yyct1960 == codecSelferValueTypeArray1234 { - yyl1960 := r.ReadArrayStart() - if yyl1960 == 0 { + } else if yyct1965 == codecSelferValueTypeArray1234 { + yyl1965 := r.ReadArrayStart() + if yyl1965 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1960, d) + x.codecDecodeSelfFromArray(yyl1965, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26496,12 +26551,12 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1961Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1961Slc - var yyhl1961 bool = l >= 0 - for yyj1961 := 0; ; yyj1961++ { - if yyhl1961 { - if yyj1961 >= l { + var yys1966Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1966Slc + var yyhl1966 bool = l >= 0 + for yyj1966 := 0; ; yyj1966++ { + if yyhl1966 { + if yyj1966 >= l { break } } else { @@ -26510,10 +26565,10 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1961Slc = r.DecodeBytes(yys1961Slc, true, true) - yys1961 := string(yys1961Slc) + yys1966Slc = r.DecodeBytes(yys1966Slc, true, true) + yys1966 := string(yys1966Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1961 { + switch yys1966 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -26524,13 +26579,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv1963 := &x.PodAffinityTerm - yyv1963.CodecDecodeSelf(d) + yyv1968 := &x.PodAffinityTerm + yyv1968.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1961) - } // end switch yys1961 - } // end for yyj1961 + z.DecStructFieldNotFound(-1, yys1966) + } // end switch yys1966 + } // end for yyj1966 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26538,16 +26593,16 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1964 int - var yyb1964 bool - var yyhl1964 bool = l >= 0 - yyj1964++ - if yyhl1964 { - yyb1964 = yyj1964 > l + var yyj1969 int + var yyb1969 bool + var yyhl1969 bool = l >= 0 + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1964 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1964 { + if yyb1969 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26557,13 +26612,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1964++ - if yyhl1964 { - yyb1964 = yyj1964 > l + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1964 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1964 { + if yyb1969 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26571,21 +26626,21 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv1966 := &x.PodAffinityTerm - yyv1966.CodecDecodeSelf(d) + yyv1971 := &x.PodAffinityTerm + yyv1971.CodecDecodeSelf(d) } for { - yyj1964++ - if yyhl1964 { - yyb1964 = yyj1964 > l + yyj1969++ + if yyhl1969 { + yyb1969 = yyj1969 > l } else { - yyb1964 = r.CheckBreak() + yyb1969 = r.CheckBreak() } - if yyb1964 { + if yyb1969 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1964-1, "") + z.DecStructFieldNotFound(yyj1969-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26597,39 +26652,39 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1967 := z.EncBinary() - _ = yym1967 + yym1972 := z.EncBinary() + _ = yym1972 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1968 := !z.EncBinary() - yy2arr1968 := z.EncBasicHandle().StructToArray - var yyq1968 [3]bool - _, _, _ = yysep1968, yyq1968, yy2arr1968 - const yyr1968 bool = false - yyq1968[0] = x.LabelSelector != nil - yyq1968[2] = x.TopologyKey != "" - var yynn1968 int - if yyr1968 || yy2arr1968 { + yysep1973 := !z.EncBinary() + yy2arr1973 := z.EncBasicHandle().StructToArray + var yyq1973 [3]bool + _, _, _ = yysep1973, yyq1973, yy2arr1973 + const yyr1973 bool = false + yyq1973[0] = x.LabelSelector != nil + yyq1973[2] = x.TopologyKey != "" + var yynn1973 int + if yyr1973 || yy2arr1973 { r.EncodeArrayStart(3) } else { - yynn1968 = 1 - for _, b := range yyq1968 { + yynn1973 = 1 + for _, b := range yyq1973 { if b { - yynn1968++ + yynn1973++ } } - r.EncodeMapStart(yynn1968) - yynn1968 = 0 + r.EncodeMapStart(yynn1973) + yynn1973 = 0 } - if yyr1968 || yy2arr1968 { + if yyr1973 || yy2arr1973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1968[0] { + if yyq1973[0] { if x.LabelSelector == nil { r.EncodeNil() } else { - yym1970 := z.EncBinary() - _ = yym1970 + yym1975 := z.EncBinary() + _ = yym1975 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -26640,15 +26695,15 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1968[0] { + if yyq1973[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym1971 := z.EncBinary() - _ = yym1971 + yym1976 := z.EncBinary() + _ = yym1976 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -26657,13 +26712,13 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1968 || yy2arr1968 { + if yyr1973 || yy2arr1973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Namespaces == nil { r.EncodeNil() } else { - yym1973 := z.EncBinary() - _ = yym1973 + yym1978 := z.EncBinary() + _ = yym1978 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) @@ -26676,19 +26731,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.Namespaces == nil { r.EncodeNil() } else { - yym1974 := z.EncBinary() - _ = yym1974 + yym1979 := z.EncBinary() + _ = yym1979 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) } } } - if yyr1968 || yy2arr1968 { + if yyr1973 || yy2arr1973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1968[2] { - yym1976 := z.EncBinary() - _ = yym1976 + if yyq1973[2] { + yym1981 := z.EncBinary() + _ = yym1981 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) @@ -26697,19 +26752,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1968[2] { + if yyq1973[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("topologyKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1977 := z.EncBinary() - _ = yym1977 + yym1982 := z.EncBinary() + _ = yym1982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) } } } - if yyr1968 || yy2arr1968 { + if yyr1973 || yy2arr1973 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26722,25 +26777,25 @@ func (x *PodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1978 := z.DecBinary() - _ = yym1978 + yym1983 := z.DecBinary() + _ = yym1983 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1979 := r.ContainerType() - if yyct1979 == codecSelferValueTypeMap1234 { - yyl1979 := r.ReadMapStart() - if yyl1979 == 0 { + yyct1984 := r.ContainerType() + if yyct1984 == codecSelferValueTypeMap1234 { + yyl1984 := r.ReadMapStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1979, d) + x.codecDecodeSelfFromMap(yyl1984, d) } - } else if yyct1979 == codecSelferValueTypeArray1234 { - yyl1979 := r.ReadArrayStart() - if yyl1979 == 0 { + } else if yyct1984 == codecSelferValueTypeArray1234 { + yyl1984 := r.ReadArrayStart() + if yyl1984 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1979, d) + x.codecDecodeSelfFromArray(yyl1984, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26752,12 +26807,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1980Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1980Slc - var yyhl1980 bool = l >= 0 - for yyj1980 := 0; ; yyj1980++ { - if yyhl1980 { - if yyj1980 >= l { + var yys1985Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1985Slc + var yyhl1985 bool = l >= 0 + for yyj1985 := 0; ; yyj1985++ { + if yyhl1985 { + if yyj1985 >= l { break } } else { @@ -26766,10 +26821,10 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1980Slc = r.DecodeBytes(yys1980Slc, true, true) - yys1980 := string(yys1980Slc) + yys1985Slc = r.DecodeBytes(yys1985Slc, true, true) + yys1985 := string(yys1985Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1980 { + switch yys1985 { case "labelSelector": if r.TryDecodeAsNil() { if x.LabelSelector != nil { @@ -26779,8 +26834,8 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym1982 := z.DecBinary() - _ = yym1982 + yym1987 := z.DecBinary() + _ = yym1987 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { @@ -26791,12 +26846,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv1983 := &x.Namespaces - yym1984 := z.DecBinary() - _ = yym1984 + yyv1988 := &x.Namespaces + yym1989 := z.DecBinary() + _ = yym1989 if false { } else { - z.F.DecSliceStringX(yyv1983, false, d) + z.F.DecSliceStringX(yyv1988, false, d) } } case "topologyKey": @@ -26806,9 +26861,9 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TopologyKey = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1980) - } // end switch yys1980 - } // end for yyj1980 + z.DecStructFieldNotFound(-1, yys1985) + } // end switch yys1985 + } // end for yyj1985 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26816,16 +26871,16 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1986 int - var yyb1986 bool - var yyhl1986 bool = l >= 0 - yyj1986++ - if yyhl1986 { - yyb1986 = yyj1986 > l + var yyj1991 int + var yyb1991 bool + var yyhl1991 bool = l >= 0 + yyj1991++ + if yyhl1991 { + yyb1991 = yyj1991 > l } else { - yyb1986 = r.CheckBreak() + yyb1991 = r.CheckBreak() } - if yyb1986 { + if yyb1991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26838,21 +26893,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym1988 := z.DecBinary() - _ = yym1988 + yym1993 := z.DecBinary() + _ = yym1993 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { z.DecFallback(x.LabelSelector, false) } } - yyj1986++ - if yyhl1986 { - yyb1986 = yyj1986 > l + yyj1991++ + if yyhl1991 { + yyb1991 = yyj1991 > l } else { - yyb1986 = r.CheckBreak() + yyb1991 = r.CheckBreak() } - if yyb1986 { + if yyb1991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26860,21 +26915,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv1989 := &x.Namespaces - yym1990 := z.DecBinary() - _ = yym1990 + yyv1994 := &x.Namespaces + yym1995 := z.DecBinary() + _ = yym1995 if false { } else { - z.F.DecSliceStringX(yyv1989, false, d) + z.F.DecSliceStringX(yyv1994, false, d) } } - yyj1986++ - if yyhl1986 { - yyb1986 = yyj1986 > l + yyj1991++ + if yyhl1991 { + yyb1991 = yyj1991 > l } else { - yyb1986 = r.CheckBreak() + yyb1991 = r.CheckBreak() } - if yyb1986 { + if yyb1991 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26885,17 +26940,17 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TopologyKey = string(r.DecodeString()) } for { - yyj1986++ - if yyhl1986 { - yyb1986 = yyj1986 > l + yyj1991++ + if yyhl1991 { + yyb1991 = yyj1991 > l } else { - yyb1986 = r.CheckBreak() + yyb1991 = r.CheckBreak() } - if yyb1986 { + if yyb1991 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1986-1, "") + z.DecStructFieldNotFound(yyj1991-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26907,34 +26962,34 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1992 := z.EncBinary() - _ = yym1992 + yym1997 := z.EncBinary() + _ = yym1997 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1993 := !z.EncBinary() - yy2arr1993 := z.EncBasicHandle().StructToArray - var yyq1993 [2]bool - _, _, _ = yysep1993, yyq1993, yy2arr1993 - const yyr1993 bool = false - yyq1993[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq1993[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1993 int - if yyr1993 || yy2arr1993 { + yysep1998 := !z.EncBinary() + yy2arr1998 := z.EncBasicHandle().StructToArray + var yyq1998 [2]bool + _, _, _ = yysep1998, yyq1998, yy2arr1998 + const yyr1998 bool = false + yyq1998[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq1998[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1998 int + if yyr1998 || yy2arr1998 { r.EncodeArrayStart(2) } else { - yynn1993 = 0 - for _, b := range yyq1993 { + yynn1998 = 0 + for _, b := range yyq1998 { if b { - yynn1993++ + yynn1998++ } } - r.EncodeMapStart(yynn1993) - yynn1993 = 0 + r.EncodeMapStart(yynn1998) + yynn1998 = 0 } - if yyr1993 || yy2arr1993 { + if yyr1998 || yy2arr1998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1993[0] { + if yyq1998[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { @@ -26944,7 +26999,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1993[0] { + if yyq1998[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -26955,14 +27010,14 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1993 || yy2arr1993 { + if yyr1998 || yy2arr1998 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1993[1] { + if yyq1998[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1996 := z.EncBinary() - _ = yym1996 + yym2001 := z.EncBinary() + _ = yym2001 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26972,15 +27027,15 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1993[1] { + if yyq1998[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1997 := z.EncBinary() - _ = yym1997 + yym2002 := z.EncBinary() + _ = yym2002 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26988,7 +27043,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1993 || yy2arr1993 { + if yyr1998 || yy2arr1998 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27001,25 +27056,25 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1998 := z.DecBinary() - _ = yym1998 + yym2003 := z.DecBinary() + _ = yym2003 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1999 := r.ContainerType() - if yyct1999 == codecSelferValueTypeMap1234 { - yyl1999 := r.ReadMapStart() - if yyl1999 == 0 { + yyct2004 := r.ContainerType() + if yyct2004 == codecSelferValueTypeMap1234 { + yyl2004 := r.ReadMapStart() + if yyl2004 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1999, d) + x.codecDecodeSelfFromMap(yyl2004, d) } - } else if yyct1999 == codecSelferValueTypeArray1234 { - yyl1999 := r.ReadArrayStart() - if yyl1999 == 0 { + } else if yyct2004 == codecSelferValueTypeArray1234 { + yyl2004 := r.ReadArrayStart() + if yyl2004 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1999, d) + x.codecDecodeSelfFromArray(yyl2004, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27031,12 +27086,12 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2000Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2000Slc - var yyhl2000 bool = l >= 0 - for yyj2000 := 0; ; yyj2000++ { - if yyhl2000 { - if yyj2000 >= l { + var yys2005Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2005Slc + var yyhl2005 bool = l >= 0 + for yyj2005 := 0; ; yyj2005++ { + if yyhl2005 { + if yyj2005 >= l { break } } else { @@ -27045,10 +27100,10 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2000Slc = r.DecodeBytes(yys2000Slc, true, true) - yys2000 := string(yys2000Slc) + yys2005Slc = r.DecodeBytes(yys2005Slc, true, true) + yys2005 := string(yys2005Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2000 { + switch yys2005 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { @@ -27064,18 +27119,18 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv2002 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym2003 := z.DecBinary() - _ = yym2003 + yyv2007 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym2008 := z.DecBinary() + _ = yym2008 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv2002), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv2007), d) } } default: - z.DecStructFieldNotFound(-1, yys2000) - } // end switch yys2000 - } // end for yyj2000 + z.DecStructFieldNotFound(-1, yys2005) + } // end switch yys2005 + } // end for yyj2005 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27083,16 +27138,16 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2004 int - var yyb2004 bool - var yyhl2004 bool = l >= 0 - yyj2004++ - if yyhl2004 { - yyb2004 = yyj2004 > l + var yyj2009 int + var yyb2009 bool + var yyhl2009 bool = l >= 0 + yyj2009++ + if yyhl2009 { + yyb2009 = yyj2009 > l } else { - yyb2004 = r.CheckBreak() + yyb2009 = r.CheckBreak() } - if yyb2004 { + if yyb2009 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27107,13 +27162,13 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) } - yyj2004++ - if yyhl2004 { - yyb2004 = yyj2004 > l + yyj2009++ + if yyhl2009 { + yyb2009 = yyj2009 > l } else { - yyb2004 = r.CheckBreak() + yyb2009 = r.CheckBreak() } - if yyb2004 { + if yyb2009 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27121,26 +27176,26 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv2006 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym2007 := z.DecBinary() - _ = yym2007 + yyv2011 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym2012 := z.DecBinary() + _ = yym2012 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv2006), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv2011), d) } } for { - yyj2004++ - if yyhl2004 { - yyb2004 = yyj2004 > l + yyj2009++ + if yyhl2009 { + yyb2009 = yyj2009 > l } else { - yyb2004 = r.CheckBreak() + yyb2009 = r.CheckBreak() } - if yyb2004 { + if yyb2009 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2004-1, "") + z.DecStructFieldNotFound(yyj2009-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27152,33 +27207,33 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2008 := z.EncBinary() - _ = yym2008 + yym2013 := z.EncBinary() + _ = yym2013 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2009 := !z.EncBinary() - yy2arr2009 := z.EncBasicHandle().StructToArray - var yyq2009 [2]bool - _, _, _ = yysep2009, yyq2009, yy2arr2009 - const yyr2009 bool = false - var yynn2009 int - if yyr2009 || yy2arr2009 { + yysep2014 := !z.EncBinary() + yy2arr2014 := z.EncBasicHandle().StructToArray + var yyq2014 [2]bool + _, _, _ = yysep2014, yyq2014, yy2arr2014 + const yyr2014 bool = false + var yynn2014 int + if yyr2014 || yy2arr2014 { r.EncodeArrayStart(2) } else { - yynn2009 = 2 - for _, b := range yyq2009 { + yynn2014 = 2 + for _, b := range yyq2014 { if b { - yynn2009++ + yynn2014++ } } - r.EncodeMapStart(yynn2009) - yynn2009 = 0 + r.EncodeMapStart(yynn2014) + yynn2014 = 0 } - if yyr2009 || yy2arr2009 { + if yyr2014 || yy2arr2014 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2011 := z.EncBinary() - _ = yym2011 + yym2016 := z.EncBinary() + _ = yym2016 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -27187,25 +27242,25 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2012 := z.EncBinary() - _ = yym2012 + yym2017 := z.EncBinary() + _ = yym2017 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr2009 || yy2arr2009 { + if yyr2014 || yy2arr2014 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2014 := &x.Preference - yy2014.CodecEncodeSelf(e) + yy2019 := &x.Preference + yy2019.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2015 := &x.Preference - yy2015.CodecEncodeSelf(e) + yy2020 := &x.Preference + yy2020.CodecEncodeSelf(e) } - if yyr2009 || yy2arr2009 { + if yyr2014 || yy2arr2014 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27218,25 +27273,25 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2016 := z.DecBinary() - _ = yym2016 + yym2021 := z.DecBinary() + _ = yym2021 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2017 := r.ContainerType() - if yyct2017 == codecSelferValueTypeMap1234 { - yyl2017 := r.ReadMapStart() - if yyl2017 == 0 { + yyct2022 := r.ContainerType() + if yyct2022 == codecSelferValueTypeMap1234 { + yyl2022 := r.ReadMapStart() + if yyl2022 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2017, d) + x.codecDecodeSelfFromMap(yyl2022, d) } - } else if yyct2017 == codecSelferValueTypeArray1234 { - yyl2017 := r.ReadArrayStart() - if yyl2017 == 0 { + } else if yyct2022 == codecSelferValueTypeArray1234 { + yyl2022 := r.ReadArrayStart() + if yyl2022 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2017, d) + x.codecDecodeSelfFromArray(yyl2022, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27248,12 +27303,12 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2018Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2018Slc - var yyhl2018 bool = l >= 0 - for yyj2018 := 0; ; yyj2018++ { - if yyhl2018 { - if yyj2018 >= l { + var yys2023Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2023Slc + var yyhl2023 bool = l >= 0 + for yyj2023 := 0; ; yyj2023++ { + if yyhl2023 { + if yyj2023 >= l { break } } else { @@ -27262,10 +27317,10 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2018Slc = r.DecodeBytes(yys2018Slc, true, true) - yys2018 := string(yys2018Slc) + yys2023Slc = r.DecodeBytes(yys2023Slc, true, true) + yys2023 := string(yys2023Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2018 { + switch yys2023 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -27276,13 +27331,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv2020 := &x.Preference - yyv2020.CodecDecodeSelf(d) + yyv2025 := &x.Preference + yyv2025.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2018) - } // end switch yys2018 - } // end for yyj2018 + z.DecStructFieldNotFound(-1, yys2023) + } // end switch yys2023 + } // end for yyj2023 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27290,16 +27345,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2021 int - var yyb2021 bool - var yyhl2021 bool = l >= 0 - yyj2021++ - if yyhl2021 { - yyb2021 = yyj2021 > l + var yyj2026 int + var yyb2026 bool + var yyhl2026 bool = l >= 0 + yyj2026++ + if yyhl2026 { + yyb2026 = yyj2026 > l } else { - yyb2021 = r.CheckBreak() + yyb2026 = r.CheckBreak() } - if yyb2021 { + if yyb2026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27309,13 +27364,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int32(r.DecodeInt(32)) } - yyj2021++ - if yyhl2021 { - yyb2021 = yyj2021 > l + yyj2026++ + if yyhl2026 { + yyb2026 = yyj2026 > l } else { - yyb2021 = r.CheckBreak() + yyb2026 = r.CheckBreak() } - if yyb2021 { + if yyb2026 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27323,21 +27378,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv2023 := &x.Preference - yyv2023.CodecDecodeSelf(d) + yyv2028 := &x.Preference + yyv2028.CodecDecodeSelf(d) } for { - yyj2021++ - if yyhl2021 { - yyb2021 = yyj2021 > l + yyj2026++ + if yyhl2026 { + yyb2026 = yyj2026 > l } else { - yyb2021 = r.CheckBreak() + yyb2026 = r.CheckBreak() } - if yyb2021 { + if yyb2026 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2021-1, "") + z.DecStructFieldNotFound(yyj2026-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27349,34 +27404,34 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2024 := z.EncBinary() - _ = yym2024 + yym2029 := z.EncBinary() + _ = yym2029 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2025 := !z.EncBinary() - yy2arr2025 := z.EncBasicHandle().StructToArray - var yyq2025 [3]bool - _, _, _ = yysep2025, yyq2025, yy2arr2025 - const yyr2025 bool = false - yyq2025[1] = x.Value != "" - var yynn2025 int - if yyr2025 || yy2arr2025 { + yysep2030 := !z.EncBinary() + yy2arr2030 := z.EncBasicHandle().StructToArray + var yyq2030 [3]bool + _, _, _ = yysep2030, yyq2030, yy2arr2030 + const yyr2030 bool = false + yyq2030[1] = x.Value != "" + var yynn2030 int + if yyr2030 || yy2arr2030 { r.EncodeArrayStart(3) } else { - yynn2025 = 2 - for _, b := range yyq2025 { + yynn2030 = 2 + for _, b := range yyq2030 { if b { - yynn2025++ + yynn2030++ } } - r.EncodeMapStart(yynn2025) - yynn2025 = 0 + r.EncodeMapStart(yynn2030) + yynn2030 = 0 } - if yyr2025 || yy2arr2025 { + if yyr2030 || yy2arr2030 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2027 := z.EncBinary() - _ = yym2027 + yym2032 := z.EncBinary() + _ = yym2032 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -27385,18 +27440,18 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2028 := z.EncBinary() - _ = yym2028 + yym2033 := z.EncBinary() + _ = yym2033 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr2025 || yy2arr2025 { + if yyr2030 || yy2arr2030 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2025[1] { - yym2030 := z.EncBinary() - _ = yym2030 + if yyq2030[1] { + yym2035 := z.EncBinary() + _ = yym2035 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -27405,19 +27460,19 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2025[1] { + if yyq2030[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2031 := z.EncBinary() - _ = yym2031 + yym2036 := z.EncBinary() + _ = yym2036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2025 || yy2arr2025 { + if yyr2030 || yy2arr2030 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Effect.CodecEncodeSelf(e) } else { @@ -27426,7 +27481,7 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } - if yyr2025 || yy2arr2025 { + if yyr2030 || yy2arr2030 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27439,25 +27494,25 @@ func (x *Taint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2033 := z.DecBinary() - _ = yym2033 + yym2038 := z.DecBinary() + _ = yym2038 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2034 := r.ContainerType() - if yyct2034 == codecSelferValueTypeMap1234 { - yyl2034 := r.ReadMapStart() - if yyl2034 == 0 { + yyct2039 := r.ContainerType() + if yyct2039 == codecSelferValueTypeMap1234 { + yyl2039 := r.ReadMapStart() + if yyl2039 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2034, d) + x.codecDecodeSelfFromMap(yyl2039, d) } - } else if yyct2034 == codecSelferValueTypeArray1234 { - yyl2034 := r.ReadArrayStart() - if yyl2034 == 0 { + } else if yyct2039 == codecSelferValueTypeArray1234 { + yyl2039 := r.ReadArrayStart() + if yyl2039 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2034, d) + x.codecDecodeSelfFromArray(yyl2039, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27469,12 +27524,12 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2035Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2035Slc - var yyhl2035 bool = l >= 0 - for yyj2035 := 0; ; yyj2035++ { - if yyhl2035 { - if yyj2035 >= l { + var yys2040Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2040Slc + var yyhl2040 bool = l >= 0 + for yyj2040 := 0; ; yyj2040++ { + if yyhl2040 { + if yyj2040 >= l { break } } else { @@ -27483,10 +27538,10 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2035Slc = r.DecodeBytes(yys2035Slc, true, true) - yys2035 := string(yys2035Slc) + yys2040Slc = r.DecodeBytes(yys2040Slc, true, true) + yys2040 := string(yys2040Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2035 { + switch yys2040 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -27506,9 +27561,9 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2035) - } // end switch yys2035 - } // end for yyj2035 + z.DecStructFieldNotFound(-1, yys2040) + } // end switch yys2040 + } // end for yyj2040 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27516,16 +27571,16 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2039 int - var yyb2039 bool - var yyhl2039 bool = l >= 0 - yyj2039++ - if yyhl2039 { - yyb2039 = yyj2039 > l + var yyj2044 int + var yyb2044 bool + var yyhl2044 bool = l >= 0 + yyj2044++ + if yyhl2044 { + yyb2044 = yyj2044 > l } else { - yyb2039 = r.CheckBreak() + yyb2044 = r.CheckBreak() } - if yyb2039 { + if yyb2044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27535,13 +27590,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj2039++ - if yyhl2039 { - yyb2039 = yyj2039 > l + yyj2044++ + if yyhl2044 { + yyb2044 = yyj2044 > l } else { - yyb2039 = r.CheckBreak() + yyb2044 = r.CheckBreak() } - if yyb2039 { + if yyb2044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27551,13 +27606,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj2039++ - if yyhl2039 { - yyb2039 = yyj2039 > l + yyj2044++ + if yyhl2044 { + yyb2044 = yyj2044 > l } else { - yyb2039 = r.CheckBreak() + yyb2044 = r.CheckBreak() } - if yyb2039 { + if yyb2044 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27568,17 +27623,17 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj2039++ - if yyhl2039 { - yyb2039 = yyj2039 > l + yyj2044++ + if yyhl2044 { + yyb2044 = yyj2044 > l } else { - yyb2039 = r.CheckBreak() + yyb2044 = r.CheckBreak() } - if yyb2039 { + if yyb2044 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2039-1, "") + z.DecStructFieldNotFound(yyj2044-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27587,8 +27642,8 @@ func (x TaintEffect) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2043 := z.EncBinary() - _ = yym2043 + yym2048 := z.EncBinary() + _ = yym2048 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -27600,8 +27655,8 @@ func (x *TaintEffect) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2044 := z.DecBinary() - _ = yym2044 + yym2049 := z.DecBinary() + _ = yym2049 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -27616,38 +27671,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2045 := z.EncBinary() - _ = yym2045 + yym2050 := z.EncBinary() + _ = yym2050 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2046 := !z.EncBinary() - yy2arr2046 := z.EncBasicHandle().StructToArray - var yyq2046 [4]bool - _, _, _ = yysep2046, yyq2046, yy2arr2046 - const yyr2046 bool = false - yyq2046[0] = x.Key != "" - yyq2046[1] = x.Operator != "" - yyq2046[2] = x.Value != "" - yyq2046[3] = x.Effect != "" - var yynn2046 int - if yyr2046 || yy2arr2046 { + yysep2051 := !z.EncBinary() + yy2arr2051 := z.EncBasicHandle().StructToArray + var yyq2051 [4]bool + _, _, _ = yysep2051, yyq2051, yy2arr2051 + const yyr2051 bool = false + yyq2051[0] = x.Key != "" + yyq2051[1] = x.Operator != "" + yyq2051[2] = x.Value != "" + yyq2051[3] = x.Effect != "" + var yynn2051 int + if yyr2051 || yy2arr2051 { r.EncodeArrayStart(4) } else { - yynn2046 = 0 - for _, b := range yyq2046 { + yynn2051 = 0 + for _, b := range yyq2051 { if b { - yynn2046++ + yynn2051++ } } - r.EncodeMapStart(yynn2046) - yynn2046 = 0 + r.EncodeMapStart(yynn2051) + yynn2051 = 0 } - if yyr2046 || yy2arr2046 { + if yyr2051 || yy2arr2051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2046[0] { - yym2048 := z.EncBinary() - _ = yym2048 + if yyq2051[0] { + yym2053 := z.EncBinary() + _ = yym2053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -27656,38 +27711,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2046[0] { + if yyq2051[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2049 := z.EncBinary() - _ = yym2049 + yym2054 := z.EncBinary() + _ = yym2054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } } - if yyr2046 || yy2arr2046 { + if yyr2051 || yy2arr2051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2046[1] { + if yyq2051[1] { x.Operator.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2046[1] { + if yyq2051[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operator")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } } - if yyr2046 || yy2arr2046 { + if yyr2051 || yy2arr2051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2046[2] { - yym2052 := z.EncBinary() - _ = yym2052 + if yyq2051[2] { + yym2057 := z.EncBinary() + _ = yym2057 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -27696,34 +27751,34 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2046[2] { + if yyq2051[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2053 := z.EncBinary() - _ = yym2053 + yym2058 := z.EncBinary() + _ = yym2058 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr2046 || yy2arr2046 { + if yyr2051 || yy2arr2051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2046[3] { + if yyq2051[3] { x.Effect.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2046[3] { + if yyq2051[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("effect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } } - if yyr2046 || yy2arr2046 { + if yyr2051 || yy2arr2051 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27736,25 +27791,25 @@ func (x *Toleration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2055 := z.DecBinary() - _ = yym2055 + yym2060 := z.DecBinary() + _ = yym2060 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2056 := r.ContainerType() - if yyct2056 == codecSelferValueTypeMap1234 { - yyl2056 := r.ReadMapStart() - if yyl2056 == 0 { + yyct2061 := r.ContainerType() + if yyct2061 == codecSelferValueTypeMap1234 { + yyl2061 := r.ReadMapStart() + if yyl2061 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2056, d) + x.codecDecodeSelfFromMap(yyl2061, d) } - } else if yyct2056 == codecSelferValueTypeArray1234 { - yyl2056 := r.ReadArrayStart() - if yyl2056 == 0 { + } else if yyct2061 == codecSelferValueTypeArray1234 { + yyl2061 := r.ReadArrayStart() + if yyl2061 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2056, d) + x.codecDecodeSelfFromArray(yyl2061, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27766,12 +27821,12 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2057Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2057Slc - var yyhl2057 bool = l >= 0 - for yyj2057 := 0; ; yyj2057++ { - if yyhl2057 { - if yyj2057 >= l { + var yys2062Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2062Slc + var yyhl2062 bool = l >= 0 + for yyj2062 := 0; ; yyj2062++ { + if yyhl2062 { + if yyj2062 >= l { break } } else { @@ -27780,10 +27835,10 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2057Slc = r.DecodeBytes(yys2057Slc, true, true) - yys2057 := string(yys2057Slc) + yys2062Slc = r.DecodeBytes(yys2062Slc, true, true) + yys2062 := string(yys2062Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2057 { + switch yys2062 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -27809,9 +27864,9 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2057) - } // end switch yys2057 - } // end for yyj2057 + z.DecStructFieldNotFound(-1, yys2062) + } // end switch yys2062 + } // end for yyj2062 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27819,16 +27874,16 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2062 int - var yyb2062 bool - var yyhl2062 bool = l >= 0 - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + var yyj2067 int + var yyb2067 bool + var yyhl2067 bool = l >= 0 + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2062 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2062 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27838,13 +27893,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2062 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2062 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27854,13 +27909,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Operator = TolerationOperator(r.DecodeString()) } - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2062 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2062 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27870,13 +27925,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2062 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2062 { + if yyb2067 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27887,17 +27942,17 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj2062++ - if yyhl2062 { - yyb2062 = yyj2062 > l + yyj2067++ + if yyhl2067 { + yyb2067 = yyj2067 > l } else { - yyb2062 = r.CheckBreak() + yyb2067 = r.CheckBreak() } - if yyb2062 { + if yyb2067 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2062-1, "") + z.DecStructFieldNotFound(yyj2067-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -27906,8 +27961,8 @@ func (x TolerationOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2067 := z.EncBinary() - _ = yym2067 + yym2072 := z.EncBinary() + _ = yym2072 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -27919,8 +27974,8 @@ func (x *TolerationOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2068 := z.DecBinary() - _ = yym2068 + yym2073 := z.DecBinary() + _ = yym2073 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -27935,46 +27990,46 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2069 := z.EncBinary() - _ = yym2069 + yym2074 := z.EncBinary() + _ = yym2074 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2070 := !z.EncBinary() - yy2arr2070 := z.EncBasicHandle().StructToArray - var yyq2070 [13]bool - _, _, _ = yysep2070, yyq2070, yy2arr2070 - const yyr2070 bool = false - yyq2070[2] = x.RestartPolicy != "" - yyq2070[3] = x.TerminationGracePeriodSeconds != nil - yyq2070[4] = x.ActiveDeadlineSeconds != nil - yyq2070[5] = x.DNSPolicy != "" - yyq2070[6] = len(x.NodeSelector) != 0 - yyq2070[8] = x.NodeName != "" - yyq2070[9] = x.SecurityContext != nil - yyq2070[10] = len(x.ImagePullSecrets) != 0 - yyq2070[11] = x.Hostname != "" - yyq2070[12] = x.Subdomain != "" - var yynn2070 int - if yyr2070 || yy2arr2070 { + yysep2075 := !z.EncBinary() + yy2arr2075 := z.EncBasicHandle().StructToArray + var yyq2075 [13]bool + _, _, _ = yysep2075, yyq2075, yy2arr2075 + const yyr2075 bool = false + yyq2075[2] = x.RestartPolicy != "" + yyq2075[3] = x.TerminationGracePeriodSeconds != nil + yyq2075[4] = x.ActiveDeadlineSeconds != nil + yyq2075[5] = x.DNSPolicy != "" + yyq2075[6] = len(x.NodeSelector) != 0 + yyq2075[8] = x.NodeName != "" + yyq2075[9] = x.SecurityContext != nil + yyq2075[10] = len(x.ImagePullSecrets) != 0 + yyq2075[11] = x.Hostname != "" + yyq2075[12] = x.Subdomain != "" + var yynn2075 int + if yyr2075 || yy2arr2075 { r.EncodeArrayStart(13) } else { - yynn2070 = 3 - for _, b := range yyq2070 { + yynn2075 = 3 + for _, b := range yyq2075 { if b { - yynn2070++ + yynn2075++ } } - r.EncodeMapStart(yynn2070) - yynn2070 = 0 + r.EncodeMapStart(yynn2075) + yynn2075 = 0 } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Volumes == nil { r.EncodeNil() } else { - yym2072 := z.EncBinary() - _ = yym2072 + yym2077 := z.EncBinary() + _ = yym2077 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -27987,21 +28042,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Volumes == nil { r.EncodeNil() } else { - yym2073 := z.EncBinary() - _ = yym2073 + yym2078 := z.EncBinary() + _ = yym2078 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym2075 := z.EncBinary() - _ = yym2075 + yym2080 := z.EncBinary() + _ = yym2080 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -28014,71 +28069,36 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym2076 := z.EncBinary() - _ = yym2076 + yym2081 := z.EncBinary() + _ = yym2081 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[2] { + if yyq2075[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2070[2] { + if yyq2075[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[3] { + if yyq2075[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy2079 := *x.TerminationGracePeriodSeconds - yym2080 := z.EncBinary() - _ = yym2080 - if false { - } else { - r.EncodeInt(int64(yy2079)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq2070[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TerminationGracePeriodSeconds == nil { - r.EncodeNil() - } else { - yy2081 := *x.TerminationGracePeriodSeconds - yym2082 := z.EncBinary() - _ = yym2082 - if false { - } else { - r.EncodeInt(int64(yy2081)) - } - } - } - } - if yyr2070 || yy2arr2070 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[4] { - if x.ActiveDeadlineSeconds == nil { - r.EncodeNil() - } else { - yy2084 := *x.ActiveDeadlineSeconds + yy2084 := *x.TerminationGracePeriodSeconds yym2085 := z.EncBinary() _ = yym2085 if false { @@ -28090,14 +28110,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2070[4] { + if yyq2075[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ActiveDeadlineSeconds == nil { + if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy2086 := *x.ActiveDeadlineSeconds + yy2086 := *x.TerminationGracePeriodSeconds yym2087 := z.EncBinary() _ = yym2087 if false { @@ -28107,29 +28127,64 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[5] { + if yyq2075[4] { + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy2089 := *x.ActiveDeadlineSeconds + yym2090 := z.EncBinary() + _ = yym2090 + if false { + } else { + r.EncodeInt(int64(yy2089)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2075[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy2091 := *x.ActiveDeadlineSeconds + yym2092 := z.EncBinary() + _ = yym2092 + if false { + } else { + r.EncodeInt(int64(yy2091)) + } + } + } + } + if yyr2075 || yy2arr2075 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2075[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2070[5] { + if yyq2075[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[6] { + if yyq2075[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym2090 := z.EncBinary() - _ = yym2090 + yym2095 := z.EncBinary() + _ = yym2095 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -28139,15 +28194,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2070[6] { + if yyq2075[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym2091 := z.EncBinary() - _ = yym2091 + yym2096 := z.EncBinary() + _ = yym2096 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -28155,10 +28210,10 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2093 := z.EncBinary() - _ = yym2093 + yym2098 := z.EncBinary() + _ = yym2098 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -28167,18 +28222,18 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2094 := z.EncBinary() - _ = yym2094 + yym2099 := z.EncBinary() + _ = yym2099 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[8] { - yym2096 := z.EncBinary() - _ = yym2096 + if yyq2075[8] { + yym2101 := z.EncBinary() + _ = yym2101 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) @@ -28187,21 +28242,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2070[8] { + if yyq2075[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2097 := z.EncBinary() - _ = yym2097 + yym2102 := z.EncBinary() + _ = yym2102 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[9] { + if yyq2075[9] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -28211,7 +28266,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2070[9] { + if yyq2075[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -28222,14 +28277,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[10] { + if yyq2075[10] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2100 := z.EncBinary() - _ = yym2100 + yym2105 := z.EncBinary() + _ = yym2105 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -28239,15 +28294,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2070[10] { + if yyq2075[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2101 := z.EncBinary() - _ = yym2101 + yym2106 := z.EncBinary() + _ = yym2106 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -28255,11 +28310,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[11] { - yym2103 := z.EncBinary() - _ = yym2103 + if yyq2075[11] { + yym2108 := z.EncBinary() + _ = yym2108 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -28268,23 +28323,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2070[11] { + if yyq2075[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2104 := z.EncBinary() - _ = yym2104 + yym2109 := z.EncBinary() + _ = yym2109 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2070[12] { - yym2106 := z.EncBinary() - _ = yym2106 + if yyq2075[12] { + yym2111 := z.EncBinary() + _ = yym2111 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) @@ -28293,19 +28348,19 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2070[12] { + if yyq2075[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subdomain")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2107 := z.EncBinary() - _ = yym2107 + yym2112 := z.EncBinary() + _ = yym2112 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) } } } - if yyr2070 || yy2arr2070 { + if yyr2075 || yy2arr2075 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28318,25 +28373,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2108 := z.DecBinary() - _ = yym2108 + yym2113 := z.DecBinary() + _ = yym2113 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2109 := r.ContainerType() - if yyct2109 == codecSelferValueTypeMap1234 { - yyl2109 := r.ReadMapStart() - if yyl2109 == 0 { + yyct2114 := r.ContainerType() + if yyct2114 == codecSelferValueTypeMap1234 { + yyl2114 := r.ReadMapStart() + if yyl2114 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2109, d) + x.codecDecodeSelfFromMap(yyl2114, d) } - } else if yyct2109 == codecSelferValueTypeArray1234 { - yyl2109 := r.ReadArrayStart() - if yyl2109 == 0 { + } else if yyct2114 == codecSelferValueTypeArray1234 { + yyl2114 := r.ReadArrayStart() + if yyl2114 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2109, d) + x.codecDecodeSelfFromArray(yyl2114, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28348,12 +28403,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2110Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2110Slc - var yyhl2110 bool = l >= 0 - for yyj2110 := 0; ; yyj2110++ { - if yyhl2110 { - if yyj2110 >= l { + var yys2115Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2115Slc + var yyhl2115 bool = l >= 0 + for yyj2115 := 0; ; yyj2115++ { + if yyhl2115 { + if yyj2115 >= l { break } } else { @@ -28362,32 +28417,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2110Slc = r.DecodeBytes(yys2110Slc, true, true) - yys2110 := string(yys2110Slc) + yys2115Slc = r.DecodeBytes(yys2115Slc, true, true) + yys2115 := string(yys2115Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2110 { + switch yys2115 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv2111 := &x.Volumes - yym2112 := z.DecBinary() - _ = yym2112 + yyv2116 := &x.Volumes + yym2117 := z.DecBinary() + _ = yym2117 if false { } else { - h.decSliceVolume((*[]Volume)(yyv2111), d) + h.decSliceVolume((*[]Volume)(yyv2116), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv2113 := &x.Containers - yym2114 := z.DecBinary() - _ = yym2114 + yyv2118 := &x.Containers + yym2119 := z.DecBinary() + _ = yym2119 if false { } else { - h.decSliceContainer((*[]Container)(yyv2113), d) + h.decSliceContainer((*[]Container)(yyv2118), d) } } case "restartPolicy": @@ -28405,8 +28460,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym2117 := z.DecBinary() - _ = yym2117 + yym2122 := z.DecBinary() + _ = yym2122 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -28421,8 +28476,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym2119 := z.DecBinary() - _ = yym2119 + yym2124 := z.DecBinary() + _ = yym2124 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -28438,12 +28493,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv2121 := &x.NodeSelector - yym2122 := z.DecBinary() - _ = yym2122 + yyv2126 := &x.NodeSelector + yym2127 := z.DecBinary() + _ = yym2127 if false { } else { - z.F.DecMapStringStringX(yyv2121, false, d) + z.F.DecMapStringStringX(yyv2126, false, d) } } case "serviceAccountName": @@ -28473,12 +28528,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2126 := &x.ImagePullSecrets - yym2127 := z.DecBinary() - _ = yym2127 + yyv2131 := &x.ImagePullSecrets + yym2132 := z.DecBinary() + _ = yym2132 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2126), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2131), d) } } case "hostname": @@ -28494,9 +28549,9 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2110) - } // end switch yys2110 - } // end for yyj2110 + z.DecStructFieldNotFound(-1, yys2115) + } // end switch yys2115 + } // end for yyj2115 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28504,16 +28559,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2130 int - var yyb2130 bool - var yyhl2130 bool = l >= 0 - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + var yyj2135 int + var yyb2135 bool + var yyhl2135 bool = l >= 0 + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28521,21 +28576,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv2131 := &x.Volumes - yym2132 := z.DecBinary() - _ = yym2132 + yyv2136 := &x.Volumes + yym2137 := z.DecBinary() + _ = yym2137 if false { } else { - h.decSliceVolume((*[]Volume)(yyv2131), d) + h.decSliceVolume((*[]Volume)(yyv2136), d) } } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28543,21 +28598,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv2133 := &x.Containers - yym2134 := z.DecBinary() - _ = yym2134 + yyv2138 := &x.Containers + yym2139 := z.DecBinary() + _ = yym2139 if false { } else { - h.decSliceContainer((*[]Container)(yyv2133), d) + h.decSliceContainer((*[]Container)(yyv2138), d) } } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28567,13 +28622,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28586,20 +28641,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym2137 := z.DecBinary() - _ = yym2137 + yym2142 := z.DecBinary() + _ = yym2142 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28612,20 +28667,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym2139 := z.DecBinary() - _ = yym2139 + yym2144 := z.DecBinary() + _ = yym2144 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28635,13 +28690,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28649,21 +28704,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv2141 := &x.NodeSelector - yym2142 := z.DecBinary() - _ = yym2142 + yyv2146 := &x.NodeSelector + yym2147 := z.DecBinary() + _ = yym2147 if false { } else { - z.F.DecMapStringStringX(yyv2141, false, d) + z.F.DecMapStringStringX(yyv2146, false, d) } } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28673,13 +28728,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28689,13 +28744,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28710,13 +28765,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28724,21 +28779,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2146 := &x.ImagePullSecrets - yym2147 := z.DecBinary() - _ = yym2147 + yyv2151 := &x.ImagePullSecrets + yym2152 := z.DecBinary() + _ = yym2152 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2146), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2151), d) } } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28748,13 +28803,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Hostname = string(r.DecodeString()) } - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28765,17 +28820,17 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } for { - yyj2130++ - if yyhl2130 { - yyb2130 = yyj2130 > l + yyj2135++ + if yyhl2135 { + yyb2135 = yyj2135 > l } else { - yyb2130 = r.CheckBreak() + yyb2135 = r.CheckBreak() } - if yyb2130 { + if yyb2135 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2130-1, "") + z.DecStructFieldNotFound(yyj2135-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28787,33 +28842,33 @@ func (x *Sysctl) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2150 := z.EncBinary() - _ = yym2150 + yym2155 := z.EncBinary() + _ = yym2155 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2151 := !z.EncBinary() - yy2arr2151 := z.EncBasicHandle().StructToArray - var yyq2151 [2]bool - _, _, _ = yysep2151, yyq2151, yy2arr2151 - const yyr2151 bool = false - var yynn2151 int - if yyr2151 || yy2arr2151 { + yysep2156 := !z.EncBinary() + yy2arr2156 := z.EncBasicHandle().StructToArray + var yyq2156 [2]bool + _, _, _ = yysep2156, yyq2156, yy2arr2156 + const yyr2156 bool = false + var yynn2156 int + if yyr2156 || yy2arr2156 { r.EncodeArrayStart(2) } else { - yynn2151 = 2 - for _, b := range yyq2151 { + yynn2156 = 2 + for _, b := range yyq2156 { if b { - yynn2151++ + yynn2156++ } } - r.EncodeMapStart(yynn2151) - yynn2151 = 0 + r.EncodeMapStart(yynn2156) + yynn2156 = 0 } - if yyr2151 || yy2arr2151 { + if yyr2156 || yy2arr2156 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2153 := z.EncBinary() - _ = yym2153 + yym2158 := z.EncBinary() + _ = yym2158 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -28822,17 +28877,17 @@ func (x *Sysctl) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2154 := z.EncBinary() - _ = yym2154 + yym2159 := z.EncBinary() + _ = yym2159 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2151 || yy2arr2151 { + if yyr2156 || yy2arr2156 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2156 := z.EncBinary() - _ = yym2156 + yym2161 := z.EncBinary() + _ = yym2161 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -28841,14 +28896,14 @@ func (x *Sysctl) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2157 := z.EncBinary() - _ = yym2157 + yym2162 := z.EncBinary() + _ = yym2162 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr2151 || yy2arr2151 { + if yyr2156 || yy2arr2156 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28861,25 +28916,25 @@ func (x *Sysctl) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2158 := z.DecBinary() - _ = yym2158 + yym2163 := z.DecBinary() + _ = yym2163 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2159 := r.ContainerType() - if yyct2159 == codecSelferValueTypeMap1234 { - yyl2159 := r.ReadMapStart() - if yyl2159 == 0 { + yyct2164 := r.ContainerType() + if yyct2164 == codecSelferValueTypeMap1234 { + yyl2164 := r.ReadMapStart() + if yyl2164 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2159, d) + x.codecDecodeSelfFromMap(yyl2164, d) } - } else if yyct2159 == codecSelferValueTypeArray1234 { - yyl2159 := r.ReadArrayStart() - if yyl2159 == 0 { + } else if yyct2164 == codecSelferValueTypeArray1234 { + yyl2164 := r.ReadArrayStart() + if yyl2164 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2159, d) + x.codecDecodeSelfFromArray(yyl2164, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28891,12 +28946,12 @@ func (x *Sysctl) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2160Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2160Slc - var yyhl2160 bool = l >= 0 - for yyj2160 := 0; ; yyj2160++ { - if yyhl2160 { - if yyj2160 >= l { + var yys2165Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2165Slc + var yyhl2165 bool = l >= 0 + for yyj2165 := 0; ; yyj2165++ { + if yyhl2165 { + if yyj2165 >= l { break } } else { @@ -28905,10 +28960,10 @@ func (x *Sysctl) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2160Slc = r.DecodeBytes(yys2160Slc, true, true) - yys2160 := string(yys2160Slc) + yys2165Slc = r.DecodeBytes(yys2165Slc, true, true) + yys2165 := string(yys2165Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2160 { + switch yys2165 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -28922,9 +28977,9 @@ func (x *Sysctl) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2160) - } // end switch yys2160 - } // end for yyj2160 + z.DecStructFieldNotFound(-1, yys2165) + } // end switch yys2165 + } // end for yyj2165 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28932,16 +28987,16 @@ func (x *Sysctl) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2163 int - var yyb2163 bool - var yyhl2163 bool = l >= 0 - yyj2163++ - if yyhl2163 { - yyb2163 = yyj2163 > l + var yyj2168 int + var yyb2168 bool + var yyhl2168 bool = l >= 0 + yyj2168++ + if yyhl2168 { + yyb2168 = yyj2168 > l } else { - yyb2163 = r.CheckBreak() + yyb2168 = r.CheckBreak() } - if yyb2163 { + if yyb2168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28951,13 +29006,13 @@ func (x *Sysctl) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2163++ - if yyhl2163 { - yyb2163 = yyj2163 > l + yyj2168++ + if yyhl2168 { + yyb2168 = yyj2168 > l } else { - yyb2163 = r.CheckBreak() + yyb2168 = r.CheckBreak() } - if yyb2163 { + if yyb2168 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28968,17 +29023,17 @@ func (x *Sysctl) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj2163++ - if yyhl2163 { - yyb2163 = yyj2163 > l + yyj2168++ + if yyhl2168 { + yyb2168 = yyj2168 > l } else { - yyb2163 = r.CheckBreak() + yyb2168 = r.CheckBreak() } - if yyb2163 { + if yyb2168 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2163-1, "") + z.DecStructFieldNotFound(yyj2168-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28990,42 +29045,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2166 := z.EncBinary() - _ = yym2166 + yym2171 := z.EncBinary() + _ = yym2171 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2167 := !z.EncBinary() - yy2arr2167 := z.EncBasicHandle().StructToArray - var yyq2167 [8]bool - _, _, _ = yysep2167, yyq2167, yy2arr2167 - const yyr2167 bool = false - yyq2167[0] = x.HostNetwork != false - yyq2167[1] = x.HostPID != false - yyq2167[2] = x.HostIPC != false - yyq2167[3] = x.SELinuxOptions != nil - yyq2167[4] = x.RunAsUser != nil - yyq2167[5] = x.RunAsNonRoot != nil - yyq2167[6] = len(x.SupplementalGroups) != 0 - yyq2167[7] = x.FSGroup != nil - var yynn2167 int - if yyr2167 || yy2arr2167 { + yysep2172 := !z.EncBinary() + yy2arr2172 := z.EncBasicHandle().StructToArray + var yyq2172 [8]bool + _, _, _ = yysep2172, yyq2172, yy2arr2172 + const yyr2172 bool = false + yyq2172[0] = x.HostNetwork != false + yyq2172[1] = x.HostPID != false + yyq2172[2] = x.HostIPC != false + yyq2172[3] = x.SELinuxOptions != nil + yyq2172[4] = x.RunAsUser != nil + yyq2172[5] = x.RunAsNonRoot != nil + yyq2172[6] = len(x.SupplementalGroups) != 0 + yyq2172[7] = x.FSGroup != nil + var yynn2172 int + if yyr2172 || yy2arr2172 { r.EncodeArrayStart(8) } else { - yynn2167 = 0 - for _, b := range yyq2167 { + yynn2172 = 0 + for _, b := range yyq2172 { if b { - yynn2167++ + yynn2172++ } } - r.EncodeMapStart(yynn2167) - yynn2167 = 0 + r.EncodeMapStart(yynn2172) + yynn2172 = 0 } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[0] { - yym2169 := z.EncBinary() - _ = yym2169 + if yyq2172[0] { + yym2174 := z.EncBinary() + _ = yym2174 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -29034,49 +29089,49 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2167[0] { + if yyq2172[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2170 := z.EncBinary() - _ = yym2170 - if false { - } else { - r.EncodeBool(bool(x.HostNetwork)) - } - } - } - if yyr2167 || yy2arr2167 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[1] { - yym2172 := z.EncBinary() - _ = yym2172 - if false { - } else { - r.EncodeBool(bool(x.HostPID)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq2167[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2173 := z.EncBinary() - _ = yym2173 - if false { - } else { - r.EncodeBool(bool(x.HostPID)) - } - } - } - if yyr2167 || yy2arr2167 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[2] { yym2175 := z.EncBinary() _ = yym2175 if false { + } else { + r.EncodeBool(bool(x.HostNetwork)) + } + } + } + if yyr2172 || yy2arr2172 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2172[1] { + yym2177 := z.EncBinary() + _ = yym2177 + if false { + } else { + r.EncodeBool(bool(x.HostPID)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq2172[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2178 := z.EncBinary() + _ = yym2178 + if false { + } else { + r.EncodeBool(bool(x.HostPID)) + } + } + } + if yyr2172 || yy2arr2172 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2172[2] { + yym2180 := z.EncBinary() + _ = yym2180 + if false { } else { r.EncodeBool(bool(x.HostIPC)) } @@ -29084,21 +29139,21 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2167[2] { + if yyq2172[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2176 := z.EncBinary() - _ = yym2176 + yym2181 := z.EncBinary() + _ = yym2181 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[3] { + if yyq2172[3] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -29108,7 +29163,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2167[3] { + if yyq2172[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -29119,84 +29174,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[4] { + if yyq2172[4] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy2179 := *x.RunAsUser - yym2180 := z.EncBinary() - _ = yym2180 + yy2184 := *x.RunAsUser + yym2185 := z.EncBinary() + _ = yym2185 if false { } else { - r.EncodeInt(int64(yy2179)) + r.EncodeInt(int64(yy2184)) } } } else { r.EncodeNil() } } else { - if yyq2167[4] { + if yyq2172[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy2181 := *x.RunAsUser - yym2182 := z.EncBinary() - _ = yym2182 + yy2186 := *x.RunAsUser + yym2187 := z.EncBinary() + _ = yym2187 if false { } else { - r.EncodeInt(int64(yy2181)) + r.EncodeInt(int64(yy2186)) } } } } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[5] { + if yyq2172[5] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy2184 := *x.RunAsNonRoot - yym2185 := z.EncBinary() - _ = yym2185 + yy2189 := *x.RunAsNonRoot + yym2190 := z.EncBinary() + _ = yym2190 if false { } else { - r.EncodeBool(bool(yy2184)) + r.EncodeBool(bool(yy2189)) } } } else { r.EncodeNil() } } else { - if yyq2167[5] { + if yyq2172[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy2186 := *x.RunAsNonRoot - yym2187 := z.EncBinary() - _ = yym2187 + yy2191 := *x.RunAsNonRoot + yym2192 := z.EncBinary() + _ = yym2192 if false { } else { - r.EncodeBool(bool(yy2186)) + r.EncodeBool(bool(yy2191)) } } } } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[6] { + if yyq2172[6] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym2189 := z.EncBinary() - _ = yym2189 + yym2194 := z.EncBinary() + _ = yym2194 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -29206,15 +29261,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2167[6] { + if yyq2172[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym2190 := z.EncBinary() - _ = yym2190 + yym2195 := z.EncBinary() + _ = yym2195 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -29222,42 +29277,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2167[7] { + if yyq2172[7] { if x.FSGroup == nil { r.EncodeNil() } else { - yy2192 := *x.FSGroup - yym2193 := z.EncBinary() - _ = yym2193 + yy2197 := *x.FSGroup + yym2198 := z.EncBinary() + _ = yym2198 if false { } else { - r.EncodeInt(int64(yy2192)) + r.EncodeInt(int64(yy2197)) } } } else { r.EncodeNil() } } else { - if yyq2167[7] { + if yyq2172[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy2194 := *x.FSGroup - yym2195 := z.EncBinary() - _ = yym2195 + yy2199 := *x.FSGroup + yym2200 := z.EncBinary() + _ = yym2200 if false { } else { - r.EncodeInt(int64(yy2194)) + r.EncodeInt(int64(yy2199)) } } } } - if yyr2167 || yy2arr2167 { + if yyr2172 || yy2arr2172 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29270,25 +29325,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2196 := z.DecBinary() - _ = yym2196 + yym2201 := z.DecBinary() + _ = yym2201 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2197 := r.ContainerType() - if yyct2197 == codecSelferValueTypeMap1234 { - yyl2197 := r.ReadMapStart() - if yyl2197 == 0 { + yyct2202 := r.ContainerType() + if yyct2202 == codecSelferValueTypeMap1234 { + yyl2202 := r.ReadMapStart() + if yyl2202 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2197, d) + x.codecDecodeSelfFromMap(yyl2202, d) } - } else if yyct2197 == codecSelferValueTypeArray1234 { - yyl2197 := r.ReadArrayStart() - if yyl2197 == 0 { + } else if yyct2202 == codecSelferValueTypeArray1234 { + yyl2202 := r.ReadArrayStart() + if yyl2202 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2197, d) + x.codecDecodeSelfFromArray(yyl2202, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29300,12 +29355,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2198Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2198Slc - var yyhl2198 bool = l >= 0 - for yyj2198 := 0; ; yyj2198++ { - if yyhl2198 { - if yyj2198 >= l { + var yys2203Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2203Slc + var yyhl2203 bool = l >= 0 + for yyj2203 := 0; ; yyj2203++ { + if yyhl2203 { + if yyj2203 >= l { break } } else { @@ -29314,10 +29369,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2198Slc = r.DecodeBytes(yys2198Slc, true, true) - yys2198 := string(yys2198Slc) + yys2203Slc = r.DecodeBytes(yys2203Slc, true, true) + yys2203 := string(yys2203Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2198 { + switch yys2203 { case "hostNetwork": if r.TryDecodeAsNil() { x.HostNetwork = false @@ -29356,8 +29411,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym2204 := z.DecBinary() - _ = yym2204 + yym2209 := z.DecBinary() + _ = yym2209 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -29372,8 +29427,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym2206 := z.DecBinary() - _ = yym2206 + yym2211 := z.DecBinary() + _ = yym2211 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -29383,12 +29438,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv2207 := &x.SupplementalGroups - yym2208 := z.DecBinary() - _ = yym2208 + yyv2212 := &x.SupplementalGroups + yym2213 := z.DecBinary() + _ = yym2213 if false { } else { - z.F.DecSliceInt64X(yyv2207, false, d) + z.F.DecSliceInt64X(yyv2212, false, d) } } case "fsGroup": @@ -29400,17 +29455,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym2210 := z.DecBinary() - _ = yym2210 + yym2215 := z.DecBinary() + _ = yym2215 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2198) - } // end switch yys2198 - } // end for yyj2198 + z.DecStructFieldNotFound(-1, yys2203) + } // end switch yys2203 + } // end for yyj2203 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29418,16 +29473,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2211 int - var yyb2211 bool - var yyhl2211 bool = l >= 0 - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + var yyj2216 int + var yyb2216 bool + var yyhl2216 bool = l >= 0 + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29437,13 +29492,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29453,13 +29508,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostPID = bool(r.DecodeBool()) } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29469,13 +29524,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.HostIPC = bool(r.DecodeBool()) } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29490,13 +29545,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29509,20 +29564,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym2217 := z.DecBinary() - _ = yym2217 + yym2222 := z.DecBinary() + _ = yym2222 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29535,20 +29590,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym2219 := z.DecBinary() - _ = yym2219 + yym2224 := z.DecBinary() + _ = yym2224 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29556,21 +29611,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv2220 := &x.SupplementalGroups - yym2221 := z.DecBinary() - _ = yym2221 + yyv2225 := &x.SupplementalGroups + yym2226 := z.DecBinary() + _ = yym2226 if false { } else { - z.F.DecSliceInt64X(yyv2220, false, d) + z.F.DecSliceInt64X(yyv2225, false, d) } } - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29583,25 +29638,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym2223 := z.DecBinary() - _ = yym2223 + yym2228 := z.DecBinary() + _ = yym2228 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj2211++ - if yyhl2211 { - yyb2211 = yyj2211 > l + yyj2216++ + if yyhl2216 { + yyb2216 = yyj2216 > l } else { - yyb2211 = r.CheckBreak() + yyb2216 = r.CheckBreak() } - if yyb2211 { + if yyb2216 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2211-1, "") + z.DecStructFieldNotFound(yyj2216-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29613,60 +29668,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2224 := z.EncBinary() - _ = yym2224 + yym2229 := z.EncBinary() + _ = yym2229 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2225 := !z.EncBinary() - yy2arr2225 := z.EncBasicHandle().StructToArray - var yyq2225 [8]bool - _, _, _ = yysep2225, yyq2225, yy2arr2225 - const yyr2225 bool = false - yyq2225[0] = x.Phase != "" - yyq2225[1] = len(x.Conditions) != 0 - yyq2225[2] = x.Message != "" - yyq2225[3] = x.Reason != "" - yyq2225[4] = x.HostIP != "" - yyq2225[5] = x.PodIP != "" - yyq2225[6] = x.StartTime != nil - yyq2225[7] = len(x.ContainerStatuses) != 0 - var yynn2225 int - if yyr2225 || yy2arr2225 { + yysep2230 := !z.EncBinary() + yy2arr2230 := z.EncBasicHandle().StructToArray + var yyq2230 [8]bool + _, _, _ = yysep2230, yyq2230, yy2arr2230 + const yyr2230 bool = false + yyq2230[0] = x.Phase != "" + yyq2230[1] = len(x.Conditions) != 0 + yyq2230[2] = x.Message != "" + yyq2230[3] = x.Reason != "" + yyq2230[4] = x.HostIP != "" + yyq2230[5] = x.PodIP != "" + yyq2230[6] = x.StartTime != nil + yyq2230[7] = len(x.ContainerStatuses) != 0 + var yynn2230 int + if yyr2230 || yy2arr2230 { r.EncodeArrayStart(8) } else { - yynn2225 = 0 - for _, b := range yyq2225 { + yynn2230 = 0 + for _, b := range yyq2230 { if b { - yynn2225++ + yynn2230++ } } - r.EncodeMapStart(yynn2225) - yynn2225 = 0 + r.EncodeMapStart(yynn2230) + yynn2230 = 0 } - if yyr2225 || yy2arr2225 { + if yyr2230 || yy2arr2230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[0] { + if yyq2230[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[0] { + if yyq2230[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2225 || yy2arr2225 { + if yyr2230 || yy2arr2230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[1] { + if yyq2230[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym2228 := z.EncBinary() - _ = yym2228 + yym2233 := z.EncBinary() + _ = yym2233 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -29676,15 +29731,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2225[1] { + if yyq2230[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2229 := z.EncBinary() - _ = yym2229 + yym2234 := z.EncBinary() + _ = yym2234 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -29692,11 +29747,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2225 || yy2arr2225 { + if yyr2230 || yy2arr2230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[2] { - yym2231 := z.EncBinary() - _ = yym2231 + if yyq2230[2] { + yym2236 := z.EncBinary() + _ = yym2236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -29705,74 +29760,74 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[2] { + if yyq2230[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2232 := z.EncBinary() - _ = yym2232 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr2225 || yy2arr2225 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[3] { - yym2234 := z.EncBinary() - _ = yym2234 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2225[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2235 := z.EncBinary() - _ = yym2235 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr2225 || yy2arr2225 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[4] { yym2237 := z.EncBinary() _ = yym2237 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr2230 || yy2arr2230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2230[3] { + yym2239 := z.EncBinary() + _ = yym2239 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[4] { + if yyq2230[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostIP")) + r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2238 := z.EncBinary() - _ = yym2238 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) - } - } - } - if yyr2225 || yy2arr2225 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[5] { yym2240 := z.EncBinary() _ = yym2240 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr2230 || yy2arr2230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2230[4] { + yym2242 := z.EncBinary() + _ = yym2242 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2230[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostIP")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2243 := z.EncBinary() + _ = yym2243 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) + } + } + } + if yyr2230 || yy2arr2230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2230[5] { + yym2245 := z.EncBinary() + _ = yym2245 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } @@ -29780,31 +29835,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2225[5] { + if yyq2230[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2241 := z.EncBinary() - _ = yym2241 + yym2246 := z.EncBinary() + _ = yym2246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr2225 || yy2arr2225 { + if yyr2230 || yy2arr2230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[6] { + if yyq2230[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym2243 := z.EncBinary() - _ = yym2243 + yym2248 := z.EncBinary() + _ = yym2248 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym2243 { + } else if yym2248 { z.EncBinaryMarshal(x.StartTime) - } else if !yym2243 && z.IsJSONHandle() { + } else if !yym2248 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -29814,20 +29869,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2225[6] { + if yyq2230[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym2244 := z.EncBinary() - _ = yym2244 + yym2249 := z.EncBinary() + _ = yym2249 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym2244 { + } else if yym2249 { z.EncBinaryMarshal(x.StartTime) - } else if !yym2244 && z.IsJSONHandle() { + } else if !yym2249 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -29835,14 +29890,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2225 || yy2arr2225 { + if yyr2230 || yy2arr2230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2225[7] { + if yyq2230[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym2246 := z.EncBinary() - _ = yym2246 + yym2251 := z.EncBinary() + _ = yym2251 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -29852,15 +29907,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2225[7] { + if yyq2230[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym2247 := z.EncBinary() - _ = yym2247 + yym2252 := z.EncBinary() + _ = yym2252 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -29868,7 +29923,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2225 || yy2arr2225 { + if yyr2230 || yy2arr2230 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29881,25 +29936,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2248 := z.DecBinary() - _ = yym2248 + yym2253 := z.DecBinary() + _ = yym2253 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2249 := r.ContainerType() - if yyct2249 == codecSelferValueTypeMap1234 { - yyl2249 := r.ReadMapStart() - if yyl2249 == 0 { + yyct2254 := r.ContainerType() + if yyct2254 == codecSelferValueTypeMap1234 { + yyl2254 := r.ReadMapStart() + if yyl2254 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2249, d) + x.codecDecodeSelfFromMap(yyl2254, d) } - } else if yyct2249 == codecSelferValueTypeArray1234 { - yyl2249 := r.ReadArrayStart() - if yyl2249 == 0 { + } else if yyct2254 == codecSelferValueTypeArray1234 { + yyl2254 := r.ReadArrayStart() + if yyl2254 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2249, d) + x.codecDecodeSelfFromArray(yyl2254, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29911,12 +29966,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2250Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2250Slc - var yyhl2250 bool = l >= 0 - for yyj2250 := 0; ; yyj2250++ { - if yyhl2250 { - if yyj2250 >= l { + var yys2255Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2255Slc + var yyhl2255 bool = l >= 0 + for yyj2255 := 0; ; yyj2255++ { + if yyhl2255 { + if yyj2255 >= l { break } } else { @@ -29925,10 +29980,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2250Slc = r.DecodeBytes(yys2250Slc, true, true) - yys2250 := string(yys2250Slc) + yys2255Slc = r.DecodeBytes(yys2255Slc, true, true) + yys2255 := string(yys2255Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2250 { + switch yys2255 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -29939,12 +29994,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2252 := &x.Conditions - yym2253 := z.DecBinary() - _ = yym2253 + yyv2257 := &x.Conditions + yym2258 := z.DecBinary() + _ = yym2258 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv2252), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2257), d) } } case "message": @@ -29980,13 +30035,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym2259 := z.DecBinary() - _ = yym2259 + yym2264 := z.DecBinary() + _ = yym2264 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym2259 { + } else if yym2264 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym2259 && z.IsJSONHandle() { + } else if !yym2264 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -29996,18 +30051,18 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv2260 := &x.ContainerStatuses - yym2261 := z.DecBinary() - _ = yym2261 + yyv2265 := &x.ContainerStatuses + yym2266 := z.DecBinary() + _ = yym2266 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv2260), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2265), d) } } default: - z.DecStructFieldNotFound(-1, yys2250) - } // end switch yys2250 - } // end for yyj2250 + z.DecStructFieldNotFound(-1, yys2255) + } // end switch yys2255 + } // end for yyj2255 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30015,16 +30070,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2262 int - var yyb2262 bool - var yyhl2262 bool = l >= 0 - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + var yyj2267 int + var yyb2267 bool + var yyhl2267 bool = l >= 0 + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30034,13 +30089,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = PodPhase(r.DecodeString()) } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30048,21 +30103,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2264 := &x.Conditions - yym2265 := z.DecBinary() - _ = yym2265 + yyv2269 := &x.Conditions + yym2270 := z.DecBinary() + _ = yym2270 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv2264), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2269), d) } } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30072,13 +30127,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30088,13 +30143,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30104,13 +30159,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIP = string(r.DecodeString()) } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30120,13 +30175,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodIP = string(r.DecodeString()) } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30139,25 +30194,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym2271 := z.DecBinary() - _ = yym2271 + yym2276 := z.DecBinary() + _ = yym2276 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym2271 { + } else if yym2276 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym2271 && z.IsJSONHandle() { + } else if !yym2276 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30165,26 +30220,26 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv2272 := &x.ContainerStatuses - yym2273 := z.DecBinary() - _ = yym2273 + yyv2277 := &x.ContainerStatuses + yym2278 := z.DecBinary() + _ = yym2278 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv2272), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2277), d) } } for { - yyj2262++ - if yyhl2262 { - yyb2262 = yyj2262 > l + yyj2267++ + if yyhl2267 { + yyb2267 = yyj2267 > l } else { - yyb2262 = r.CheckBreak() + yyb2267 = r.CheckBreak() } - if yyb2262 { + if yyb2267 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2262-1, "") + z.DecStructFieldNotFound(yyj2267-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30196,38 +30251,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2274 := z.EncBinary() - _ = yym2274 + yym2279 := z.EncBinary() + _ = yym2279 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2275 := !z.EncBinary() - yy2arr2275 := z.EncBasicHandle().StructToArray - var yyq2275 [4]bool - _, _, _ = yysep2275, yyq2275, yy2arr2275 - const yyr2275 bool = false - yyq2275[0] = x.Kind != "" - yyq2275[1] = x.APIVersion != "" - yyq2275[2] = true - yyq2275[3] = true - var yynn2275 int - if yyr2275 || yy2arr2275 { + yysep2280 := !z.EncBinary() + yy2arr2280 := z.EncBasicHandle().StructToArray + var yyq2280 [4]bool + _, _, _ = yysep2280, yyq2280, yy2arr2280 + const yyr2280 bool = false + yyq2280[0] = x.Kind != "" + yyq2280[1] = x.APIVersion != "" + yyq2280[2] = true + yyq2280[3] = true + var yynn2280 int + if yyr2280 || yy2arr2280 { r.EncodeArrayStart(4) } else { - yynn2275 = 0 - for _, b := range yyq2275 { + yynn2280 = 0 + for _, b := range yyq2280 { if b { - yynn2275++ + yynn2280++ } } - r.EncodeMapStart(yynn2275) - yynn2275 = 0 + r.EncodeMapStart(yynn2280) + yynn2280 = 0 } - if yyr2275 || yy2arr2275 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2275[0] { - yym2277 := z.EncBinary() - _ = yym2277 + if yyq2280[0] { + yym2282 := z.EncBinary() + _ = yym2282 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30236,23 +30291,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2275[0] { + if yyq2280[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2278 := z.EncBinary() - _ = yym2278 + yym2283 := z.EncBinary() + _ = yym2283 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2275 || yy2arr2275 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2275[1] { - yym2280 := z.EncBinary() - _ = yym2280 + if yyq2280[1] { + yym2285 := z.EncBinary() + _ = yym2285 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30261,53 +30316,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2275[1] { + if yyq2280[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2281 := z.EncBinary() - _ = yym2281 + yym2286 := z.EncBinary() + _ = yym2286 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2275 || yy2arr2275 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2275[2] { - yy2283 := &x.ObjectMeta - yy2283.CodecEncodeSelf(e) + if yyq2280[2] { + yy2288 := &x.ObjectMeta + yy2288.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2275[2] { + if yyq2280[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2284 := &x.ObjectMeta - yy2284.CodecEncodeSelf(e) + yy2289 := &x.ObjectMeta + yy2289.CodecEncodeSelf(e) } } - if yyr2275 || yy2arr2275 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2275[3] { - yy2286 := &x.Status - yy2286.CodecEncodeSelf(e) + if yyq2280[3] { + yy2291 := &x.Status + yy2291.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2275[3] { + if yyq2280[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2287 := &x.Status - yy2287.CodecEncodeSelf(e) + yy2292 := &x.Status + yy2292.CodecEncodeSelf(e) } } - if yyr2275 || yy2arr2275 { + if yyr2280 || yy2arr2280 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30320,25 +30375,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2288 := z.DecBinary() - _ = yym2288 + yym2293 := z.DecBinary() + _ = yym2293 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2289 := r.ContainerType() - if yyct2289 == codecSelferValueTypeMap1234 { - yyl2289 := r.ReadMapStart() - if yyl2289 == 0 { + yyct2294 := r.ContainerType() + if yyct2294 == codecSelferValueTypeMap1234 { + yyl2294 := r.ReadMapStart() + if yyl2294 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2289, d) + x.codecDecodeSelfFromMap(yyl2294, d) } - } else if yyct2289 == codecSelferValueTypeArray1234 { - yyl2289 := r.ReadArrayStart() - if yyl2289 == 0 { + } else if yyct2294 == codecSelferValueTypeArray1234 { + yyl2294 := r.ReadArrayStart() + if yyl2294 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2289, d) + x.codecDecodeSelfFromArray(yyl2294, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30350,12 +30405,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2290Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2290Slc - var yyhl2290 bool = l >= 0 - for yyj2290 := 0; ; yyj2290++ { - if yyhl2290 { - if yyj2290 >= l { + var yys2295Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2295Slc + var yyhl2295 bool = l >= 0 + for yyj2295 := 0; ; yyj2295++ { + if yyhl2295 { + if yyj2295 >= l { break } } else { @@ -30364,10 +30419,10 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2290Slc = r.DecodeBytes(yys2290Slc, true, true) - yys2290 := string(yys2290Slc) + yys2295Slc = r.DecodeBytes(yys2295Slc, true, true) + yys2295 := string(yys2295Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2290 { + switch yys2295 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30384,20 +30439,20 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2293 := &x.ObjectMeta - yyv2293.CodecDecodeSelf(d) + yyv2298 := &x.ObjectMeta + yyv2298.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2294 := &x.Status - yyv2294.CodecDecodeSelf(d) + yyv2299 := &x.Status + yyv2299.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2290) - } // end switch yys2290 - } // end for yyj2290 + z.DecStructFieldNotFound(-1, yys2295) + } // end switch yys2295 + } // end for yyj2295 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30405,16 +30460,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2295 int - var yyb2295 bool - var yyhl2295 bool = l >= 0 - yyj2295++ - if yyhl2295 { - yyb2295 = yyj2295 > l + var yyj2300 int + var yyb2300 bool + var yyhl2300 bool = l >= 0 + yyj2300++ + if yyhl2300 { + yyb2300 = yyj2300 > l } else { - yyb2295 = r.CheckBreak() + yyb2300 = r.CheckBreak() } - if yyb2295 { + if yyb2300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30424,13 +30479,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2295++ - if yyhl2295 { - yyb2295 = yyj2295 > l + yyj2300++ + if yyhl2300 { + yyb2300 = yyj2300 > l } else { - yyb2295 = r.CheckBreak() + yyb2300 = r.CheckBreak() } - if yyb2295 { + if yyb2300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30440,13 +30495,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2295++ - if yyhl2295 { - yyb2295 = yyj2295 > l + yyj2300++ + if yyhl2300 { + yyb2300 = yyj2300 > l } else { - yyb2295 = r.CheckBreak() + yyb2300 = r.CheckBreak() } - if yyb2295 { + if yyb2300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30454,16 +30509,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2298 := &x.ObjectMeta - yyv2298.CodecDecodeSelf(d) + yyv2303 := &x.ObjectMeta + yyv2303.CodecDecodeSelf(d) } - yyj2295++ - if yyhl2295 { - yyb2295 = yyj2295 > l + yyj2300++ + if yyhl2300 { + yyb2300 = yyj2300 > l } else { - yyb2295 = r.CheckBreak() + yyb2300 = r.CheckBreak() } - if yyb2295 { + if yyb2300 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30471,21 +30526,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2299 := &x.Status - yyv2299.CodecDecodeSelf(d) + yyv2304 := &x.Status + yyv2304.CodecDecodeSelf(d) } for { - yyj2295++ - if yyhl2295 { - yyb2295 = yyj2295 > l + yyj2300++ + if yyhl2300 { + yyb2300 = yyj2300 > l } else { - yyb2295 = r.CheckBreak() + yyb2300 = r.CheckBreak() } - if yyb2295 { + if yyb2300 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2295-1, "") + z.DecStructFieldNotFound(yyj2300-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30497,39 +30552,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2300 := z.EncBinary() - _ = yym2300 + yym2305 := z.EncBinary() + _ = yym2305 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2301 := !z.EncBinary() - yy2arr2301 := z.EncBasicHandle().StructToArray - var yyq2301 [5]bool - _, _, _ = yysep2301, yyq2301, yy2arr2301 - const yyr2301 bool = false - yyq2301[0] = x.Kind != "" - yyq2301[1] = x.APIVersion != "" - yyq2301[2] = true - yyq2301[3] = true - yyq2301[4] = true - var yynn2301 int - if yyr2301 || yy2arr2301 { + yysep2306 := !z.EncBinary() + yy2arr2306 := z.EncBasicHandle().StructToArray + var yyq2306 [5]bool + _, _, _ = yysep2306, yyq2306, yy2arr2306 + const yyr2306 bool = false + yyq2306[0] = x.Kind != "" + yyq2306[1] = x.APIVersion != "" + yyq2306[2] = true + yyq2306[3] = true + yyq2306[4] = true + var yynn2306 int + if yyr2306 || yy2arr2306 { r.EncodeArrayStart(5) } else { - yynn2301 = 0 - for _, b := range yyq2301 { + yynn2306 = 0 + for _, b := range yyq2306 { if b { - yynn2301++ + yynn2306++ } } - r.EncodeMapStart(yynn2301) - yynn2301 = 0 + r.EncodeMapStart(yynn2306) + yynn2306 = 0 } - if yyr2301 || yy2arr2301 { + if yyr2306 || yy2arr2306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2301[0] { - yym2303 := z.EncBinary() - _ = yym2303 + if yyq2306[0] { + yym2308 := z.EncBinary() + _ = yym2308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30538,23 +30593,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2301[0] { + if yyq2306[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2304 := z.EncBinary() - _ = yym2304 + yym2309 := z.EncBinary() + _ = yym2309 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2301 || yy2arr2301 { + if yyr2306 || yy2arr2306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2301[1] { - yym2306 := z.EncBinary() - _ = yym2306 + if yyq2306[1] { + yym2311 := z.EncBinary() + _ = yym2311 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30563,70 +30618,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2301[1] { + if yyq2306[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2307 := z.EncBinary() - _ = yym2307 + yym2312 := z.EncBinary() + _ = yym2312 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2301 || yy2arr2301 { + if yyr2306 || yy2arr2306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2301[2] { - yy2309 := &x.ObjectMeta - yy2309.CodecEncodeSelf(e) + if yyq2306[2] { + yy2314 := &x.ObjectMeta + yy2314.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2301[2] { + if yyq2306[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2310 := &x.ObjectMeta - yy2310.CodecEncodeSelf(e) + yy2315 := &x.ObjectMeta + yy2315.CodecEncodeSelf(e) } } - if yyr2301 || yy2arr2301 { + if yyr2306 || yy2arr2306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2301[3] { - yy2312 := &x.Spec - yy2312.CodecEncodeSelf(e) + if yyq2306[3] { + yy2317 := &x.Spec + yy2317.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2301[3] { + if yyq2306[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2313 := &x.Spec - yy2313.CodecEncodeSelf(e) + yy2318 := &x.Spec + yy2318.CodecEncodeSelf(e) } } - if yyr2301 || yy2arr2301 { + if yyr2306 || yy2arr2306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2301[4] { - yy2315 := &x.Status - yy2315.CodecEncodeSelf(e) + if yyq2306[4] { + yy2320 := &x.Status + yy2320.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2301[4] { + if yyq2306[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2316 := &x.Status - yy2316.CodecEncodeSelf(e) + yy2321 := &x.Status + yy2321.CodecEncodeSelf(e) } } - if yyr2301 || yy2arr2301 { + if yyr2306 || yy2arr2306 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30639,25 +30694,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2317 := z.DecBinary() - _ = yym2317 + yym2322 := z.DecBinary() + _ = yym2322 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2318 := r.ContainerType() - if yyct2318 == codecSelferValueTypeMap1234 { - yyl2318 := r.ReadMapStart() - if yyl2318 == 0 { + yyct2323 := r.ContainerType() + if yyct2323 == codecSelferValueTypeMap1234 { + yyl2323 := r.ReadMapStart() + if yyl2323 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2318, d) + x.codecDecodeSelfFromMap(yyl2323, d) } - } else if yyct2318 == codecSelferValueTypeArray1234 { - yyl2318 := r.ReadArrayStart() - if yyl2318 == 0 { + } else if yyct2323 == codecSelferValueTypeArray1234 { + yyl2323 := r.ReadArrayStart() + if yyl2323 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2318, d) + x.codecDecodeSelfFromArray(yyl2323, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30669,12 +30724,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2319Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2319Slc - var yyhl2319 bool = l >= 0 - for yyj2319 := 0; ; yyj2319++ { - if yyhl2319 { - if yyj2319 >= l { + var yys2324Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2324Slc + var yyhl2324 bool = l >= 0 + for yyj2324 := 0; ; yyj2324++ { + if yyhl2324 { + if yyj2324 >= l { break } } else { @@ -30683,10 +30738,10 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2319Slc = r.DecodeBytes(yys2319Slc, true, true) - yys2319 := string(yys2319Slc) + yys2324Slc = r.DecodeBytes(yys2324Slc, true, true) + yys2324 := string(yys2324Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2319 { + switch yys2324 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30703,27 +30758,27 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2322 := &x.ObjectMeta - yyv2322.CodecDecodeSelf(d) + yyv2327 := &x.ObjectMeta + yyv2327.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2323 := &x.Spec - yyv2323.CodecDecodeSelf(d) + yyv2328 := &x.Spec + yyv2328.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2324 := &x.Status - yyv2324.CodecDecodeSelf(d) + yyv2329 := &x.Status + yyv2329.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2319) - } // end switch yys2319 - } // end for yyj2319 + z.DecStructFieldNotFound(-1, yys2324) + } // end switch yys2324 + } // end for yyj2324 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30731,16 +30786,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2325 int - var yyb2325 bool - var yyhl2325 bool = l >= 0 - yyj2325++ - if yyhl2325 { - yyb2325 = yyj2325 > l + var yyj2330 int + var yyb2330 bool + var yyhl2330 bool = l >= 0 + yyj2330++ + if yyhl2330 { + yyb2330 = yyj2330 > l } else { - yyb2325 = r.CheckBreak() + yyb2330 = r.CheckBreak() } - if yyb2325 { + if yyb2330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30750,13 +30805,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2325++ - if yyhl2325 { - yyb2325 = yyj2325 > l + yyj2330++ + if yyhl2330 { + yyb2330 = yyj2330 > l } else { - yyb2325 = r.CheckBreak() + yyb2330 = r.CheckBreak() } - if yyb2325 { + if yyb2330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30766,13 +30821,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2325++ - if yyhl2325 { - yyb2325 = yyj2325 > l + yyj2330++ + if yyhl2330 { + yyb2330 = yyj2330 > l } else { - yyb2325 = r.CheckBreak() + yyb2330 = r.CheckBreak() } - if yyb2325 { + if yyb2330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30780,16 +30835,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2328 := &x.ObjectMeta - yyv2328.CodecDecodeSelf(d) + yyv2333 := &x.ObjectMeta + yyv2333.CodecDecodeSelf(d) } - yyj2325++ - if yyhl2325 { - yyb2325 = yyj2325 > l + yyj2330++ + if yyhl2330 { + yyb2330 = yyj2330 > l } else { - yyb2325 = r.CheckBreak() + yyb2330 = r.CheckBreak() } - if yyb2325 { + if yyb2330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30797,16 +30852,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2329 := &x.Spec - yyv2329.CodecDecodeSelf(d) + yyv2334 := &x.Spec + yyv2334.CodecDecodeSelf(d) } - yyj2325++ - if yyhl2325 { - yyb2325 = yyj2325 > l + yyj2330++ + if yyhl2330 { + yyb2330 = yyj2330 > l } else { - yyb2325 = r.CheckBreak() + yyb2330 = r.CheckBreak() } - if yyb2325 { + if yyb2330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30814,21 +30869,21 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2330 := &x.Status - yyv2330.CodecDecodeSelf(d) + yyv2335 := &x.Status + yyv2335.CodecDecodeSelf(d) } for { - yyj2325++ - if yyhl2325 { - yyb2325 = yyj2325 > l + yyj2330++ + if yyhl2330 { + yyb2330 = yyj2330 > l } else { - yyb2325 = r.CheckBreak() + yyb2330 = r.CheckBreak() } - if yyb2325 { + if yyb2330 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2325-1, "") + z.DecStructFieldNotFound(yyj2330-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30840,66 +30895,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2331 := z.EncBinary() - _ = yym2331 + yym2336 := z.EncBinary() + _ = yym2336 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2332 := !z.EncBinary() - yy2arr2332 := z.EncBasicHandle().StructToArray - var yyq2332 [2]bool - _, _, _ = yysep2332, yyq2332, yy2arr2332 - const yyr2332 bool = false - yyq2332[0] = true - yyq2332[1] = true - var yynn2332 int - if yyr2332 || yy2arr2332 { + yysep2337 := !z.EncBinary() + yy2arr2337 := z.EncBasicHandle().StructToArray + var yyq2337 [2]bool + _, _, _ = yysep2337, yyq2337, yy2arr2337 + const yyr2337 bool = false + yyq2337[0] = true + yyq2337[1] = true + var yynn2337 int + if yyr2337 || yy2arr2337 { r.EncodeArrayStart(2) } else { - yynn2332 = 0 - for _, b := range yyq2332 { + yynn2337 = 0 + for _, b := range yyq2337 { if b { - yynn2332++ + yynn2337++ } } - r.EncodeMapStart(yynn2332) - yynn2332 = 0 + r.EncodeMapStart(yynn2337) + yynn2337 = 0 } - if yyr2332 || yy2arr2332 { + if yyr2337 || yy2arr2337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2332[0] { - yy2334 := &x.ObjectMeta - yy2334.CodecEncodeSelf(e) + if yyq2337[0] { + yy2339 := &x.ObjectMeta + yy2339.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2332[0] { + if yyq2337[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2335 := &x.ObjectMeta - yy2335.CodecEncodeSelf(e) + yy2340 := &x.ObjectMeta + yy2340.CodecEncodeSelf(e) } } - if yyr2332 || yy2arr2332 { + if yyr2337 || yy2arr2337 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2332[1] { - yy2337 := &x.Spec - yy2337.CodecEncodeSelf(e) + if yyq2337[1] { + yy2342 := &x.Spec + yy2342.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2332[1] { + if yyq2337[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2338 := &x.Spec - yy2338.CodecEncodeSelf(e) + yy2343 := &x.Spec + yy2343.CodecEncodeSelf(e) } } - if yyr2332 || yy2arr2332 { + if yyr2337 || yy2arr2337 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30912,25 +30967,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2339 := z.DecBinary() - _ = yym2339 + yym2344 := z.DecBinary() + _ = yym2344 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2340 := r.ContainerType() - if yyct2340 == codecSelferValueTypeMap1234 { - yyl2340 := r.ReadMapStart() - if yyl2340 == 0 { + yyct2345 := r.ContainerType() + if yyct2345 == codecSelferValueTypeMap1234 { + yyl2345 := r.ReadMapStart() + if yyl2345 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2340, d) + x.codecDecodeSelfFromMap(yyl2345, d) } - } else if yyct2340 == codecSelferValueTypeArray1234 { - yyl2340 := r.ReadArrayStart() - if yyl2340 == 0 { + } else if yyct2345 == codecSelferValueTypeArray1234 { + yyl2345 := r.ReadArrayStart() + if yyl2345 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2340, d) + x.codecDecodeSelfFromArray(yyl2345, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30942,12 +30997,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2341Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2341Slc - var yyhl2341 bool = l >= 0 - for yyj2341 := 0; ; yyj2341++ { - if yyhl2341 { - if yyj2341 >= l { + var yys2346Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2346Slc + var yyhl2346 bool = l >= 0 + for yyj2346 := 0; ; yyj2346++ { + if yyhl2346 { + if yyj2346 >= l { break } } else { @@ -30956,28 +31011,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2341Slc = r.DecodeBytes(yys2341Slc, true, true) - yys2341 := string(yys2341Slc) + yys2346Slc = r.DecodeBytes(yys2346Slc, true, true) + yys2346 := string(yys2346Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2341 { + switch yys2346 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2342 := &x.ObjectMeta - yyv2342.CodecDecodeSelf(d) + yyv2347 := &x.ObjectMeta + yyv2347.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2343 := &x.Spec - yyv2343.CodecDecodeSelf(d) + yyv2348 := &x.Spec + yyv2348.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2341) - } // end switch yys2341 - } // end for yyj2341 + z.DecStructFieldNotFound(-1, yys2346) + } // end switch yys2346 + } // end for yyj2346 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30985,16 +31040,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2344 int - var yyb2344 bool - var yyhl2344 bool = l >= 0 - yyj2344++ - if yyhl2344 { - yyb2344 = yyj2344 > l + var yyj2349 int + var yyb2349 bool + var yyhl2349 bool = l >= 0 + yyj2349++ + if yyhl2349 { + yyb2349 = yyj2349 > l } else { - yyb2344 = r.CheckBreak() + yyb2349 = r.CheckBreak() } - if yyb2344 { + if yyb2349 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31002,16 +31057,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2345 := &x.ObjectMeta - yyv2345.CodecDecodeSelf(d) + yyv2350 := &x.ObjectMeta + yyv2350.CodecDecodeSelf(d) } - yyj2344++ - if yyhl2344 { - yyb2344 = yyj2344 > l + yyj2349++ + if yyhl2349 { + yyb2349 = yyj2349 > l } else { - yyb2344 = r.CheckBreak() + yyb2349 = r.CheckBreak() } - if yyb2344 { + if yyb2349 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31019,21 +31074,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2346 := &x.Spec - yyv2346.CodecDecodeSelf(d) + yyv2351 := &x.Spec + yyv2351.CodecDecodeSelf(d) } for { - yyj2344++ - if yyhl2344 { - yyb2344 = yyj2344 > l + yyj2349++ + if yyhl2349 { + yyb2349 = yyj2349 > l } else { - yyb2344 = r.CheckBreak() + yyb2349 = r.CheckBreak() } - if yyb2344 { + if yyb2349 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2344-1, "") + z.DecStructFieldNotFound(yyj2349-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31045,38 +31100,38 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2347 := z.EncBinary() - _ = yym2347 + yym2352 := z.EncBinary() + _ = yym2352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2348 := !z.EncBinary() - yy2arr2348 := z.EncBasicHandle().StructToArray - var yyq2348 [4]bool - _, _, _ = yysep2348, yyq2348, yy2arr2348 - const yyr2348 bool = false - yyq2348[0] = x.Kind != "" - yyq2348[1] = x.APIVersion != "" - yyq2348[2] = true - yyq2348[3] = true - var yynn2348 int - if yyr2348 || yy2arr2348 { + yysep2353 := !z.EncBinary() + yy2arr2353 := z.EncBasicHandle().StructToArray + var yyq2353 [4]bool + _, _, _ = yysep2353, yyq2353, yy2arr2353 + const yyr2353 bool = false + yyq2353[0] = x.Kind != "" + yyq2353[1] = x.APIVersion != "" + yyq2353[2] = true + yyq2353[3] = true + var yynn2353 int + if yyr2353 || yy2arr2353 { r.EncodeArrayStart(4) } else { - yynn2348 = 0 - for _, b := range yyq2348 { + yynn2353 = 0 + for _, b := range yyq2353 { if b { - yynn2348++ + yynn2353++ } } - r.EncodeMapStart(yynn2348) - yynn2348 = 0 + r.EncodeMapStart(yynn2353) + yynn2353 = 0 } - if yyr2348 || yy2arr2348 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2348[0] { - yym2350 := z.EncBinary() - _ = yym2350 + if yyq2353[0] { + yym2355 := z.EncBinary() + _ = yym2355 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31085,23 +31140,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2348[0] { + if yyq2353[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2351 := z.EncBinary() - _ = yym2351 + yym2356 := z.EncBinary() + _ = yym2356 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2348 || yy2arr2348 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2348[1] { - yym2353 := z.EncBinary() - _ = yym2353 + if yyq2353[1] { + yym2358 := z.EncBinary() + _ = yym2358 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31110,53 +31165,53 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2348[1] { + if yyq2353[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2354 := z.EncBinary() - _ = yym2354 + yym2359 := z.EncBinary() + _ = yym2359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2348 || yy2arr2348 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2348[2] { - yy2356 := &x.ObjectMeta - yy2356.CodecEncodeSelf(e) + if yyq2353[2] { + yy2361 := &x.ObjectMeta + yy2361.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2348[2] { + if yyq2353[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2357 := &x.ObjectMeta - yy2357.CodecEncodeSelf(e) + yy2362 := &x.ObjectMeta + yy2362.CodecEncodeSelf(e) } } - if yyr2348 || yy2arr2348 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2348[3] { - yy2359 := &x.Template - yy2359.CodecEncodeSelf(e) + if yyq2353[3] { + yy2364 := &x.Template + yy2364.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2348[3] { + if yyq2353[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2360 := &x.Template - yy2360.CodecEncodeSelf(e) + yy2365 := &x.Template + yy2365.CodecEncodeSelf(e) } } - if yyr2348 || yy2arr2348 { + if yyr2353 || yy2arr2353 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31169,25 +31224,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2361 := z.DecBinary() - _ = yym2361 + yym2366 := z.DecBinary() + _ = yym2366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2362 := r.ContainerType() - if yyct2362 == codecSelferValueTypeMap1234 { - yyl2362 := r.ReadMapStart() - if yyl2362 == 0 { + yyct2367 := r.ContainerType() + if yyct2367 == codecSelferValueTypeMap1234 { + yyl2367 := r.ReadMapStart() + if yyl2367 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2362, d) + x.codecDecodeSelfFromMap(yyl2367, d) } - } else if yyct2362 == codecSelferValueTypeArray1234 { - yyl2362 := r.ReadArrayStart() - if yyl2362 == 0 { + } else if yyct2367 == codecSelferValueTypeArray1234 { + yyl2367 := r.ReadArrayStart() + if yyl2367 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2362, d) + x.codecDecodeSelfFromArray(yyl2367, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31199,12 +31254,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2363Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2363Slc - var yyhl2363 bool = l >= 0 - for yyj2363 := 0; ; yyj2363++ { - if yyhl2363 { - if yyj2363 >= l { + var yys2368Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2368Slc + var yyhl2368 bool = l >= 0 + for yyj2368 := 0; ; yyj2368++ { + if yyhl2368 { + if yyj2368 >= l { break } } else { @@ -31213,10 +31268,10 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2363Slc = r.DecodeBytes(yys2363Slc, true, true) - yys2363 := string(yys2363Slc) + yys2368Slc = r.DecodeBytes(yys2368Slc, true, true) + yys2368 := string(yys2368Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2363 { + switch yys2368 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -31233,20 +31288,20 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2366 := &x.ObjectMeta - yyv2366.CodecDecodeSelf(d) + yyv2371 := &x.ObjectMeta + yyv2371.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv2367 := &x.Template - yyv2367.CodecDecodeSelf(d) + yyv2372 := &x.Template + yyv2372.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2363) - } // end switch yys2363 - } // end for yyj2363 + z.DecStructFieldNotFound(-1, yys2368) + } // end switch yys2368 + } // end for yyj2368 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31254,16 +31309,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2368 int - var yyb2368 bool - var yyhl2368 bool = l >= 0 - yyj2368++ - if yyhl2368 { - yyb2368 = yyj2368 > l + var yyj2373 int + var yyb2373 bool + var yyhl2373 bool = l >= 0 + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb2368 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb2368 { + if yyb2373 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31273,13 +31328,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2368++ - if yyhl2368 { - yyb2368 = yyj2368 > l + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb2368 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb2368 { + if yyb2373 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31289,13 +31344,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2368++ - if yyhl2368 { - yyb2368 = yyj2368 > l + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb2368 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb2368 { + if yyb2373 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31303,16 +31358,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2371 := &x.ObjectMeta - yyv2371.CodecDecodeSelf(d) + yyv2376 := &x.ObjectMeta + yyv2376.CodecDecodeSelf(d) } - yyj2368++ - if yyhl2368 { - yyb2368 = yyj2368 > l + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb2368 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb2368 { + if yyb2373 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31320,21 +31375,21 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv2372 := &x.Template - yyv2372.CodecDecodeSelf(d) + yyv2377 := &x.Template + yyv2377.CodecDecodeSelf(d) } for { - yyj2368++ - if yyhl2368 { - yyb2368 = yyj2368 > l + yyj2373++ + if yyhl2373 { + yyb2373 = yyj2373 > l } else { - yyb2368 = r.CheckBreak() + yyb2373 = r.CheckBreak() } - if yyb2368 { + if yyb2373 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2368-1, "") + z.DecStructFieldNotFound(yyj2373-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31346,37 +31401,37 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2373 := z.EncBinary() - _ = yym2373 + yym2378 := z.EncBinary() + _ = yym2378 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2374 := !z.EncBinary() - yy2arr2374 := z.EncBasicHandle().StructToArray - var yyq2374 [4]bool - _, _, _ = yysep2374, yyq2374, yy2arr2374 - const yyr2374 bool = false - yyq2374[0] = x.Kind != "" - yyq2374[1] = x.APIVersion != "" - yyq2374[2] = true - var yynn2374 int - if yyr2374 || yy2arr2374 { + yysep2379 := !z.EncBinary() + yy2arr2379 := z.EncBasicHandle().StructToArray + var yyq2379 [4]bool + _, _, _ = yysep2379, yyq2379, yy2arr2379 + const yyr2379 bool = false + yyq2379[0] = x.Kind != "" + yyq2379[1] = x.APIVersion != "" + yyq2379[2] = true + var yynn2379 int + if yyr2379 || yy2arr2379 { r.EncodeArrayStart(4) } else { - yynn2374 = 1 - for _, b := range yyq2374 { + yynn2379 = 1 + for _, b := range yyq2379 { if b { - yynn2374++ + yynn2379++ } } - r.EncodeMapStart(yynn2374) - yynn2374 = 0 + r.EncodeMapStart(yynn2379) + yynn2379 = 0 } - if yyr2374 || yy2arr2374 { + if yyr2379 || yy2arr2379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2374[0] { - yym2376 := z.EncBinary() - _ = yym2376 + if yyq2379[0] { + yym2381 := z.EncBinary() + _ = yym2381 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31385,23 +31440,23 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2374[0] { + if yyq2379[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2377 := z.EncBinary() - _ = yym2377 + yym2382 := z.EncBinary() + _ = yym2382 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2374 || yy2arr2374 { + if yyr2379 || yy2arr2379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2374[1] { - yym2379 := z.EncBinary() - _ = yym2379 + if yyq2379[1] { + yym2384 := z.EncBinary() + _ = yym2384 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31410,54 +31465,54 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2374[1] { + if yyq2379[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2380 := z.EncBinary() - _ = yym2380 + yym2385 := z.EncBinary() + _ = yym2385 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2374 || yy2arr2374 { + if yyr2379 || yy2arr2379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2374[2] { - yy2382 := &x.ListMeta - yym2383 := z.EncBinary() - _ = yym2383 + if yyq2379[2] { + yy2387 := &x.ListMeta + yym2388 := z.EncBinary() + _ = yym2388 if false { - } else if z.HasExtensions() && z.EncExt(yy2382) { + } else if z.HasExtensions() && z.EncExt(yy2387) { } else { - z.EncFallback(yy2382) + z.EncFallback(yy2387) } } else { r.EncodeNil() } } else { - if yyq2374[2] { + if yyq2379[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2384 := &x.ListMeta - yym2385 := z.EncBinary() - _ = yym2385 + yy2389 := &x.ListMeta + yym2390 := z.EncBinary() + _ = yym2390 if false { - } else if z.HasExtensions() && z.EncExt(yy2384) { + } else if z.HasExtensions() && z.EncExt(yy2389) { } else { - z.EncFallback(yy2384) + z.EncFallback(yy2389) } } } - if yyr2374 || yy2arr2374 { + if yyr2379 || yy2arr2379 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2387 := z.EncBinary() - _ = yym2387 + yym2392 := z.EncBinary() + _ = yym2392 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -31470,15 +31525,15 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2388 := z.EncBinary() - _ = yym2388 + yym2393 := z.EncBinary() + _ = yym2393 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr2374 || yy2arr2374 { + if yyr2379 || yy2arr2379 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31491,25 +31546,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2389 := z.DecBinary() - _ = yym2389 + yym2394 := z.DecBinary() + _ = yym2394 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2390 := r.ContainerType() - if yyct2390 == codecSelferValueTypeMap1234 { - yyl2390 := r.ReadMapStart() - if yyl2390 == 0 { + yyct2395 := r.ContainerType() + if yyct2395 == codecSelferValueTypeMap1234 { + yyl2395 := r.ReadMapStart() + if yyl2395 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2390, d) + x.codecDecodeSelfFromMap(yyl2395, d) } - } else if yyct2390 == codecSelferValueTypeArray1234 { - yyl2390 := r.ReadArrayStart() - if yyl2390 == 0 { + } else if yyct2395 == codecSelferValueTypeArray1234 { + yyl2395 := r.ReadArrayStart() + if yyl2395 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2390, d) + x.codecDecodeSelfFromArray(yyl2395, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31521,12 +31576,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2391Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2391Slc - var yyhl2391 bool = l >= 0 - for yyj2391 := 0; ; yyj2391++ { - if yyhl2391 { - if yyj2391 >= l { + var yys2396Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2396Slc + var yyhl2396 bool = l >= 0 + for yyj2396 := 0; ; yyj2396++ { + if yyhl2396 { + if yyj2396 >= l { break } } else { @@ -31535,10 +31590,10 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2391Slc = r.DecodeBytes(yys2391Slc, true, true) - yys2391 := string(yys2391Slc) + yys2396Slc = r.DecodeBytes(yys2396Slc, true, true) + yys2396 := string(yys2396Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2391 { + switch yys2396 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -31555,31 +31610,31 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2394 := &x.ListMeta - yym2395 := z.DecBinary() - _ = yym2395 + yyv2399 := &x.ListMeta + yym2400 := z.DecBinary() + _ = yym2400 if false { - } else if z.HasExtensions() && z.DecExt(yyv2394) { + } else if z.HasExtensions() && z.DecExt(yyv2399) { } else { - z.DecFallback(yyv2394, false) + z.DecFallback(yyv2399, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2396 := &x.Items - yym2397 := z.DecBinary() - _ = yym2397 + yyv2401 := &x.Items + yym2402 := z.DecBinary() + _ = yym2402 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv2396), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv2401), d) } } default: - z.DecStructFieldNotFound(-1, yys2391) - } // end switch yys2391 - } // end for yyj2391 + z.DecStructFieldNotFound(-1, yys2396) + } // end switch yys2396 + } // end for yyj2396 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31587,16 +31642,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2398 int - var yyb2398 bool - var yyhl2398 bool = l >= 0 - yyj2398++ - if yyhl2398 { - yyb2398 = yyj2398 > l + var yyj2403 int + var yyb2403 bool + var yyhl2403 bool = l >= 0 + yyj2403++ + if yyhl2403 { + yyb2403 = yyj2403 > l } else { - yyb2398 = r.CheckBreak() + yyb2403 = r.CheckBreak() } - if yyb2398 { + if yyb2403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31606,13 +31661,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2398++ - if yyhl2398 { - yyb2398 = yyj2398 > l + yyj2403++ + if yyhl2403 { + yyb2403 = yyj2403 > l } else { - yyb2398 = r.CheckBreak() + yyb2403 = r.CheckBreak() } - if yyb2398 { + if yyb2403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31622,13 +31677,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2398++ - if yyhl2398 { - yyb2398 = yyj2398 > l + yyj2403++ + if yyhl2403 { + yyb2403 = yyj2403 > l } else { - yyb2398 = r.CheckBreak() + yyb2403 = r.CheckBreak() } - if yyb2398 { + if yyb2403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31636,22 +31691,22 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2401 := &x.ListMeta - yym2402 := z.DecBinary() - _ = yym2402 + yyv2406 := &x.ListMeta + yym2407 := z.DecBinary() + _ = yym2407 if false { - } else if z.HasExtensions() && z.DecExt(yyv2401) { + } else if z.HasExtensions() && z.DecExt(yyv2406) { } else { - z.DecFallback(yyv2401, false) + z.DecFallback(yyv2406, false) } } - yyj2398++ - if yyhl2398 { - yyb2398 = yyj2398 > l + yyj2403++ + if yyhl2403 { + yyb2403 = yyj2403 > l } else { - yyb2398 = r.CheckBreak() + yyb2403 = r.CheckBreak() } - if yyb2398 { + if yyb2403 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31659,26 +31714,26 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2403 := &x.Items - yym2404 := z.DecBinary() - _ = yym2404 + yyv2408 := &x.Items + yym2409 := z.DecBinary() + _ = yym2409 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv2403), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv2408), d) } } for { - yyj2398++ - if yyhl2398 { - yyb2398 = yyj2398 > l + yyj2403++ + if yyhl2403 { + yyb2403 = yyj2403 > l } else { - yyb2398 = r.CheckBreak() + yyb2403 = r.CheckBreak() } - if yyb2398 { + if yyb2403 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2398-1, "") + z.DecStructFieldNotFound(yyj2403-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31690,34 +31745,35 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2405 := z.EncBinary() - _ = yym2405 + yym2410 := z.EncBinary() + _ = yym2410 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2406 := !z.EncBinary() - yy2arr2406 := z.EncBasicHandle().StructToArray - var yyq2406 [3]bool - _, _, _ = yysep2406, yyq2406, yy2arr2406 - const yyr2406 bool = false - yyq2406[2] = x.Template != nil - var yynn2406 int - if yyr2406 || yy2arr2406 { - r.EncodeArrayStart(3) + yysep2411 := !z.EncBinary() + yy2arr2411 := z.EncBasicHandle().StructToArray + var yyq2411 [4]bool + _, _, _ = yysep2411, yyq2411, yy2arr2411 + const yyr2411 bool = false + yyq2411[1] = x.MinReadySeconds != 0 + yyq2411[3] = x.Template != nil + var yynn2411 int + if yyr2411 || yy2arr2411 { + r.EncodeArrayStart(4) } else { - yynn2406 = 2 - for _, b := range yyq2406 { + yynn2411 = 2 + for _, b := range yyq2411 { if b { - yynn2406++ + yynn2411++ } } - r.EncodeMapStart(yynn2406) - yynn2406 = 0 + r.EncodeMapStart(yynn2411) + yynn2411 = 0 } - if yyr2406 || yy2arr2406 { + if yyr2411 || yy2arr2411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2408 := z.EncBinary() - _ = yym2408 + yym2413 := z.EncBinary() + _ = yym2413 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -31726,20 +31782,45 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2409 := z.EncBinary() - _ = yym2409 + yym2414 := z.EncBinary() + _ = yym2414 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2406 || yy2arr2406 { + if yyr2411 || yy2arr2411 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2411[1] { + yym2416 := z.EncBinary() + _ = yym2416 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq2411[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2417 := z.EncBinary() + _ = yym2417 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr2411 || yy2arr2411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym2411 := z.EncBinary() - _ = yym2411 + yym2419 := z.EncBinary() + _ = yym2419 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31752,17 +31833,17 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym2412 := z.EncBinary() - _ = yym2412 + yym2420 := z.EncBinary() + _ = yym2420 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr2406 || yy2arr2406 { + if yyr2411 || yy2arr2411 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2406[2] { + if yyq2411[3] { if x.Template == nil { r.EncodeNil() } else { @@ -31772,7 +31853,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2406[2] { + if yyq2411[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -31783,7 +31864,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2406 || yy2arr2406 { + if yyr2411 || yy2arr2411 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31796,25 +31877,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2414 := z.DecBinary() - _ = yym2414 + yym2422 := z.DecBinary() + _ = yym2422 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2415 := r.ContainerType() - if yyct2415 == codecSelferValueTypeMap1234 { - yyl2415 := r.ReadMapStart() - if yyl2415 == 0 { + yyct2423 := r.ContainerType() + if yyct2423 == codecSelferValueTypeMap1234 { + yyl2423 := r.ReadMapStart() + if yyl2423 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2415, d) + x.codecDecodeSelfFromMap(yyl2423, d) } - } else if yyct2415 == codecSelferValueTypeArray1234 { - yyl2415 := r.ReadArrayStart() - if yyl2415 == 0 { + } else if yyct2423 == codecSelferValueTypeArray1234 { + yyl2423 := r.ReadArrayStart() + if yyl2423 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2415, d) + x.codecDecodeSelfFromArray(yyl2423, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31826,12 +31907,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2416Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2416Slc - var yyhl2416 bool = l >= 0 - for yyj2416 := 0; ; yyj2416++ { - if yyhl2416 { - if yyj2416 >= l { + var yys2424Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2424Slc + var yyhl2424 bool = l >= 0 + for yyj2424 := 0; ; yyj2424++ { + if yyhl2424 { + if yyj2424 >= l { break } } else { @@ -31840,26 +31921,32 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2416Slc = r.DecodeBytes(yys2416Slc, true, true) - yys2416 := string(yys2416Slc) + yys2424Slc = r.DecodeBytes(yys2424Slc, true, true) + yys2424 := string(yys2424Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2416 { + switch yys2424 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { 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() { x.Selector = nil } else { - yyv2418 := &x.Selector - yym2419 := z.DecBinary() - _ = yym2419 + yyv2427 := &x.Selector + yym2428 := z.DecBinary() + _ = yym2428 if false { } else { - z.F.DecMapStringStringX(yyv2418, false, d) + z.F.DecMapStringStringX(yyv2427, false, d) } } case "template": @@ -31874,9 +31961,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2416) - } // end switch yys2416 - } // end for yyj2416 + z.DecStructFieldNotFound(-1, yys2424) + } // end switch yys2424 + } // end for yyj2424 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31884,16 +31971,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2421 int - var yyb2421 bool - var yyhl2421 bool = l >= 0 - yyj2421++ - if yyhl2421 { - yyb2421 = yyj2421 > l + var yyj2430 int + var yyb2430 bool + var yyhl2430 bool = l >= 0 + yyj2430++ + if yyhl2430 { + yyb2430 = yyj2430 > l } else { - yyb2421 = r.CheckBreak() + yyb2430 = r.CheckBreak() } - if yyb2421 { + if yyb2430 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31903,13 +31990,29 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj2421++ - if yyhl2421 { - yyb2421 = yyj2421 > l + yyj2430++ + if yyhl2430 { + yyb2430 = yyj2430 > l } else { - yyb2421 = r.CheckBreak() + yyb2430 = r.CheckBreak() } - if yyb2421 { + if yyb2430 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + yyj2430++ + if yyhl2430 { + yyb2430 = yyj2430 > l + } else { + yyb2430 = r.CheckBreak() + } + if yyb2430 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31917,21 +32020,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2423 := &x.Selector - yym2424 := z.DecBinary() - _ = yym2424 + yyv2433 := &x.Selector + yym2434 := z.DecBinary() + _ = yym2434 if false { } else { - z.F.DecMapStringStringX(yyv2423, false, d) + z.F.DecMapStringStringX(yyv2433, false, d) } } - yyj2421++ - if yyhl2421 { - yyb2421 = yyj2421 > l + yyj2430++ + if yyhl2430 { + yyb2430 = yyj2430 > l } else { - yyb2421 = r.CheckBreak() + yyb2430 = r.CheckBreak() } - if yyb2421 { + if yyb2430 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31947,17 +32050,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj2421++ - if yyhl2421 { - yyb2421 = yyj2421 > l + yyj2430++ + if yyhl2430 { + yyb2430 = yyj2430 > l } else { - yyb2421 = r.CheckBreak() + yyb2430 = r.CheckBreak() } - if yyb2421 { + if yyb2430 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2421-1, "") + z.DecStructFieldNotFound(yyj2430-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31969,36 +32072,38 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2426 := z.EncBinary() - _ = yym2426 + yym2436 := z.EncBinary() + _ = yym2436 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2427 := !z.EncBinary() - yy2arr2427 := z.EncBasicHandle().StructToArray - var yyq2427 [4]bool - _, _, _ = yysep2427, yyq2427, yy2arr2427 - const yyr2427 bool = false - yyq2427[1] = x.FullyLabeledReplicas != 0 - yyq2427[2] = x.ReadyReplicas != 0 - yyq2427[3] = x.ObservedGeneration != 0 - var yynn2427 int - if yyr2427 || yy2arr2427 { - r.EncodeArrayStart(4) + yysep2437 := !z.EncBinary() + yy2arr2437 := z.EncBasicHandle().StructToArray + var yyq2437 [6]bool + _, _, _ = yysep2437, yyq2437, yy2arr2437 + const yyr2437 bool = false + yyq2437[1] = x.FullyLabeledReplicas != 0 + yyq2437[2] = x.ReadyReplicas != 0 + yyq2437[3] = x.AvailableReplicas != 0 + yyq2437[4] = x.ObservedGeneration != 0 + yyq2437[5] = len(x.Conditions) != 0 + var yynn2437 int + if yyr2437 || yy2arr2437 { + r.EncodeArrayStart(6) } else { - yynn2427 = 1 - for _, b := range yyq2427 { + yynn2437 = 1 + for _, b := range yyq2437 { if b { - yynn2427++ + yynn2437++ } } - r.EncodeMapStart(yynn2427) - yynn2427 = 0 + r.EncodeMapStart(yynn2437) + yynn2437 = 0 } - if yyr2427 || yy2arr2427 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2429 := z.EncBinary() - _ = yym2429 + yym2439 := z.EncBinary() + _ = yym2439 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -32007,18 +32112,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2430 := z.EncBinary() - _ = yym2430 + yym2440 := z.EncBinary() + _ = yym2440 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2427 || yy2arr2427 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2427[1] { - yym2432 := z.EncBinary() - _ = yym2432 + if yyq2437[1] { + yym2442 := z.EncBinary() + _ = yym2442 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -32027,23 +32132,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2427[1] { + if yyq2437[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2433 := z.EncBinary() - _ = yym2433 + yym2443 := z.EncBinary() + _ = yym2443 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2427 || yy2arr2427 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2427[2] { - yym2435 := z.EncBinary() - _ = yym2435 + if yyq2437[2] { + yym2445 := z.EncBinary() + _ = yym2445 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -32052,23 +32157,48 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2427[2] { + if yyq2437[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2436 := z.EncBinary() - _ = yym2436 + yym2446 := z.EncBinary() + _ = yym2446 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr2427 || yy2arr2427 { + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2427[3] { - yym2438 := z.EncBinary() - _ = yym2438 + if yyq2437[3] { + yym2448 := z.EncBinary() + _ = yym2448 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq2437[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2449 := z.EncBinary() + _ = yym2449 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } + } + if yyr2437 || yy2arr2437 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2437[4] { + yym2451 := z.EncBinary() + _ = yym2451 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -32077,19 +32207,52 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2427[3] { + if yyq2437[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2439 := z.EncBinary() - _ = yym2439 + yym2452 := z.EncBinary() + _ = yym2452 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2427 || yy2arr2427 { + if yyr2437 || yy2arr2437 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2437[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym2454 := z.EncBinary() + _ = yym2454 + if false { + } else { + h.encSliceReplicationControllerCondition(([]ReplicationControllerCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2437[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym2455 := z.EncBinary() + _ = yym2455 + if false { + } else { + h.encSliceReplicationControllerCondition(([]ReplicationControllerCondition)(x.Conditions), e) + } + } + } + } + if yyr2437 || yy2arr2437 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32102,25 +32265,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2440 := z.DecBinary() - _ = yym2440 + yym2456 := z.DecBinary() + _ = yym2456 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2441 := r.ContainerType() - if yyct2441 == codecSelferValueTypeMap1234 { - yyl2441 := r.ReadMapStart() - if yyl2441 == 0 { + yyct2457 := r.ContainerType() + if yyct2457 == codecSelferValueTypeMap1234 { + yyl2457 := r.ReadMapStart() + if yyl2457 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2441, d) + x.codecDecodeSelfFromMap(yyl2457, d) } - } else if yyct2441 == codecSelferValueTypeArray1234 { - yyl2441 := r.ReadArrayStart() - if yyl2441 == 0 { + } else if yyct2457 == codecSelferValueTypeArray1234 { + yyl2457 := r.ReadArrayStart() + if yyl2457 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2441, d) + x.codecDecodeSelfFromArray(yyl2457, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32132,12 +32295,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2442Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2442Slc - var yyhl2442 bool = l >= 0 - for yyj2442 := 0; ; yyj2442++ { - if yyhl2442 { - if yyj2442 >= l { + var yys2458Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2458Slc + var yyhl2458 bool = l >= 0 + for yyj2458 := 0; ; yyj2458++ { + if yyhl2458 { + if yyj2458 >= l { break } } else { @@ -32146,10 +32309,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2442Slc = r.DecodeBytes(yys2442Slc, true, true) - yys2442 := string(yys2442Slc) + yys2458Slc = r.DecodeBytes(yys2458Slc, true, true) + yys2458 := string(yys2458Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2442 { + switch yys2458 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -32168,16 +32331,34 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } + case "availableReplicas": + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv2464 := &x.Conditions + yym2465 := z.DecBinary() + _ = yym2465 + if false { + } else { + h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv2464), d) + } + } default: - z.DecStructFieldNotFound(-1, yys2442) - } // end switch yys2442 - } // end for yyj2442 + z.DecStructFieldNotFound(-1, yys2458) + } // end switch yys2458 + } // end for yyj2458 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32185,16 +32366,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2447 int - var yyb2447 bool - var yyhl2447 bool = l >= 0 - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + var yyj2466 int + var yyb2466 bool + var yyhl2466 bool = l >= 0 + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l } else { - yyb2447 = r.CheckBreak() + yyb2466 = r.CheckBreak() } - if yyb2447 { + if yyb2466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32204,13 +32385,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l } else { - yyb2447 = r.CheckBreak() + yyb2466 = r.CheckBreak() } - if yyb2447 { + if yyb2466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32220,13 +32401,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l } else { - yyb2447 = r.CheckBreak() + yyb2466 = r.CheckBreak() } - if yyb2447 { + if yyb2466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32236,13 +32417,29 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l } else { - yyb2447 = r.CheckBreak() + yyb2466 = r.CheckBreak() } - if yyb2447 { + if yyb2466 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l + } else { + yyb2466 = r.CheckBreak() + } + if yyb2466 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32252,18 +32449,509 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - for { - yyj2447++ - if yyhl2447 { - yyb2447 = yyj2447 > l + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l + } else { + yyb2466 = r.CheckBreak() + } + if yyb2466 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv2472 := &x.Conditions + yym2473 := z.DecBinary() + _ = yym2473 + if false { } else { - yyb2447 = r.CheckBreak() + h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv2472), d) } - if yyb2447 { + } + for { + yyj2466++ + if yyhl2466 { + yyb2466 = yyj2466 > l + } else { + yyb2466 = r.CheckBreak() + } + if yyb2466 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2447-1, "") + z.DecStructFieldNotFound(yyj2466-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ReplicationControllerConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym2474 := z.EncBinary() + _ = yym2474 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ReplicationControllerConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2475 := z.DecBinary() + _ = yym2475 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2476 := z.EncBinary() + _ = yym2476 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2477 := !z.EncBinary() + yy2arr2477 := z.EncBasicHandle().StructToArray + var yyq2477 [6]bool + _, _, _ = yysep2477, yyq2477, yy2arr2477 + const yyr2477 bool = false + yyq2477[2] = true + yyq2477[3] = true + yyq2477[4] = x.Reason != "" + yyq2477[5] = x.Message != "" + var yynn2477 int + if yyr2477 || yy2arr2477 { + r.EncodeArrayStart(6) + } else { + yynn2477 = 2 + for _, b := range yyq2477 { + if b { + yynn2477++ + } + } + r.EncodeMapStart(yynn2477) + yynn2477 = 0 + } + if yyr2477 || yy2arr2477 { + 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 yyr2477 || yy2arr2477 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr2477 || yy2arr2477 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2477[2] { + yy2481 := &x.LastProbeTime + yym2482 := z.EncBinary() + _ = yym2482 + if false { + } else if z.HasExtensions() && z.EncExt(yy2481) { + } else if yym2482 { + z.EncBinaryMarshal(yy2481) + } else if !yym2482 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2481) + } else { + z.EncFallback(yy2481) + } + } else { + r.EncodeNil() + } + } else { + if yyq2477[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2483 := &x.LastProbeTime + yym2484 := z.EncBinary() + _ = yym2484 + if false { + } else if z.HasExtensions() && z.EncExt(yy2483) { + } else if yym2484 { + z.EncBinaryMarshal(yy2483) + } else if !yym2484 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2483) + } else { + z.EncFallback(yy2483) + } + } + } + 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 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2477[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2492 := z.EncBinary() + _ = yym2492 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr2477 || yy2arr2477 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2477[5] { + yym2494 := z.EncBinary() + _ = yym2494 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2477[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2495 := z.EncBinary() + _ = yym2495 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr2477 || yy2arr2477 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicationControllerCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2496 := z.DecBinary() + _ = yym2496 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2497 := r.ContainerType() + if yyct2497 == codecSelferValueTypeMap1234 { + yyl2497 := r.ReadMapStart() + if yyl2497 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2497, d) + } + } else if yyct2497 == codecSelferValueTypeArray1234 { + yyl2497 := r.ReadArrayStart() + if yyl2497 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2497, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2498Slc = r.DecodeBytes(yys2498Slc, true, true) + yys2498 := string(yys2498Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2498 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicationControllerConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } 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 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2503) { + } else if yym2504 { + z.DecBinaryUnmarshal(yyv2503) + } else if !yym2504 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2503) + } else { + z.DecFallback(yyv2503, 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, yys2498) + } // end switch yys2498 + } // end for yyj2498 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb2507 = r.CheckBreak() + } + if yyb2507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicationControllerConditionType(r.DecodeString()) + } + yyj2507++ + if yyhl2507 { + yyb2507 = yyj2507 > l + } else { + yyb2507 = r.CheckBreak() + } + if yyb2507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + yyj2507++ + if yyhl2507 { + yyb2507 = yyj2507 > l + } else { + yyb2507 = 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 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_unversioned.Time{} + } else { + yyv2512 := &x.LastTransitionTime + yym2513 := z.DecBinary() + _ = yym2513 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2512) { + } else if yym2513 { + z.DecBinaryUnmarshal(yyv2512) + } else if !yym2513 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2512) + } else { + z.DecFallback(yyv2512, false) + } + } + yyj2507++ + if yyhl2507 { + yyb2507 = yyj2507 > l + } else { + yyb2507 = r.CheckBreak() + } + if yyb2507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj2507++ + if yyhl2507 { + yyb2507 = yyj2507 > l + } else { + yyb2507 = r.CheckBreak() + } + if yyb2507 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj2507++ + if yyhl2507 { + yyb2507 = yyj2507 > l + } else { + yyb2507 = r.CheckBreak() + } + if yyb2507 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2507-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32275,39 +32963,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2452 := z.EncBinary() - _ = yym2452 + yym2516 := z.EncBinary() + _ = yym2516 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(5) } else { - yynn2453 = 0 - for _, b := range yyq2453 { + yynn2517 = 0 + for _, b := range yyq2517 { if b { - yynn2453++ + yynn2517++ } } - r.EncodeMapStart(yynn2453) - yynn2453 = 0 + r.EncodeMapStart(yynn2517) + yynn2517 = 0 } - if yyr2453 || yy2arr2453 { + if yyr2517 || yy2arr2517 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2453[0] { - yym2455 := z.EncBinary() - _ = yym2455 + if yyq2517[0] { + yym2519 := z.EncBinary() + _ = yym2519 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32316,23 +33004,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2453[0] { + if yyq2517[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2456 := z.EncBinary() - _ = yym2456 + yym2520 := z.EncBinary() + _ = yym2520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2453 || yy2arr2453 { + if yyr2517 || yy2arr2517 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2453[1] { - yym2458 := z.EncBinary() - _ = yym2458 + if yyq2517[1] { + yym2522 := z.EncBinary() + _ = yym2522 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32341,70 +33029,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2453[1] { + if yyq2517[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2459 := z.EncBinary() - _ = yym2459 + yym2523 := z.EncBinary() + _ = yym2523 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2453 || yy2arr2453 { + if yyr2517 || yy2arr2517 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2453[2] { - yy2461 := &x.ObjectMeta - yy2461.CodecEncodeSelf(e) + if yyq2517[2] { + yy2525 := &x.ObjectMeta + yy2525.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2453[2] { + if yyq2517[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2462 := &x.ObjectMeta - yy2462.CodecEncodeSelf(e) + yy2526 := &x.ObjectMeta + yy2526.CodecEncodeSelf(e) } } - if yyr2453 || yy2arr2453 { + if yyr2517 || yy2arr2517 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2453[3] { - yy2464 := &x.Spec - yy2464.CodecEncodeSelf(e) + if yyq2517[3] { + yy2528 := &x.Spec + yy2528.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2453[3] { + if yyq2517[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2465 := &x.Spec - yy2465.CodecEncodeSelf(e) + yy2529 := &x.Spec + yy2529.CodecEncodeSelf(e) } } - if yyr2453 || yy2arr2453 { + if yyr2517 || yy2arr2517 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2453[4] { - yy2467 := &x.Status - yy2467.CodecEncodeSelf(e) + if yyq2517[4] { + yy2531 := &x.Status + yy2531.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2453[4] { + if yyq2517[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2468 := &x.Status - yy2468.CodecEncodeSelf(e) + yy2532 := &x.Status + yy2532.CodecEncodeSelf(e) } } - if yyr2453 || yy2arr2453 { + if yyr2517 || yy2arr2517 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32417,25 +33105,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2469 := z.DecBinary() - _ = yym2469 + yym2533 := z.DecBinary() + _ = yym2533 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2470 := r.ContainerType() - if yyct2470 == codecSelferValueTypeMap1234 { - yyl2470 := r.ReadMapStart() - if yyl2470 == 0 { + yyct2534 := r.ContainerType() + if yyct2534 == codecSelferValueTypeMap1234 { + yyl2534 := r.ReadMapStart() + if yyl2534 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2470, d) + x.codecDecodeSelfFromMap(yyl2534, d) } - } else if yyct2470 == codecSelferValueTypeArray1234 { - yyl2470 := r.ReadArrayStart() - if yyl2470 == 0 { + } else if yyct2534 == codecSelferValueTypeArray1234 { + yyl2534 := r.ReadArrayStart() + if yyl2534 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2470, d) + x.codecDecodeSelfFromArray(yyl2534, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32447,12 +33135,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2471Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2471Slc - var yyhl2471 bool = l >= 0 - for yyj2471 := 0; ; yyj2471++ { - if yyhl2471 { - if yyj2471 >= l { + var yys2535Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2535Slc + var yyhl2535 bool = l >= 0 + for yyj2535 := 0; ; yyj2535++ { + if yyhl2535 { + if yyj2535 >= l { break } } else { @@ -32461,10 +33149,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2471Slc = r.DecodeBytes(yys2471Slc, true, true) - yys2471 := string(yys2471Slc) + yys2535Slc = r.DecodeBytes(yys2535Slc, true, true) + yys2535 := string(yys2535Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2471 { + switch yys2535 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32481,27 +33169,27 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2474 := &x.ObjectMeta - yyv2474.CodecDecodeSelf(d) + yyv2538 := &x.ObjectMeta + yyv2538.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2475 := &x.Spec - yyv2475.CodecDecodeSelf(d) + yyv2539 := &x.Spec + yyv2539.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2476 := &x.Status - yyv2476.CodecDecodeSelf(d) + yyv2540 := &x.Status + yyv2540.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2471) - } // end switch yys2471 - } // end for yyj2471 + z.DecStructFieldNotFound(-1, yys2535) + } // end switch yys2535 + } // end for yyj2535 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32509,16 +33197,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2477 int - var yyb2477 bool - var yyhl2477 bool = l >= 0 - yyj2477++ - if yyhl2477 { - yyb2477 = yyj2477 > l + var yyj2541 int + var yyb2541 bool + var yyhl2541 bool = l >= 0 + yyj2541++ + if yyhl2541 { + yyb2541 = yyj2541 > l } else { - yyb2477 = r.CheckBreak() + yyb2541 = r.CheckBreak() } - if yyb2477 { + if yyb2541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32528,13 +33216,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj2477++ - if yyhl2477 { - yyb2477 = yyj2477 > l + yyj2541++ + if yyhl2541 { + yyb2541 = yyj2541 > l } else { - yyb2477 = r.CheckBreak() + yyb2541 = r.CheckBreak() } - if yyb2477 { + if yyb2541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32544,13 +33232,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj2477++ - if yyhl2477 { - yyb2477 = yyj2477 > l + yyj2541++ + if yyhl2541 { + yyb2541 = yyj2541 > l } else { - yyb2477 = r.CheckBreak() + yyb2541 = r.CheckBreak() } - if yyb2477 { + if yyb2541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32558,16 +33246,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2480 := &x.ObjectMeta - yyv2480.CodecDecodeSelf(d) + yyv2544 := &x.ObjectMeta + yyv2544.CodecDecodeSelf(d) } - yyj2477++ - if yyhl2477 { - yyb2477 = yyj2477 > l + yyj2541++ + if yyhl2541 { + yyb2541 = yyj2541 > l } else { - yyb2477 = r.CheckBreak() + yyb2541 = r.CheckBreak() } - if yyb2477 { + if yyb2541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32575,16 +33263,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2481 := &x.Spec - yyv2481.CodecDecodeSelf(d) + yyv2545 := &x.Spec + yyv2545.CodecDecodeSelf(d) } - yyj2477++ - if yyhl2477 { - yyb2477 = yyj2477 > l + yyj2541++ + if yyhl2541 { + yyb2541 = yyj2541 > l } else { - yyb2477 = r.CheckBreak() + yyb2541 = r.CheckBreak() } - if yyb2477 { + if yyb2541 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32592,21 +33280,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2482 := &x.Status - yyv2482.CodecDecodeSelf(d) + yyv2546 := &x.Status + yyv2546.CodecDecodeSelf(d) } for { - yyj2477++ - if yyhl2477 { - yyb2477 = yyj2477 > l + yyj2541++ + if yyhl2541 { + yyb2541 = yyj2541 > l } else { - yyb2477 = r.CheckBreak() + yyb2541 = r.CheckBreak() } - if yyb2477 { + if yyb2541 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2477-1, "") + z.DecStructFieldNotFound(yyj2541-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32618,37 +33306,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2483 := z.EncBinary() - _ = yym2483 + yym2547 := z.EncBinary() + _ = yym2547 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - 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 { + 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 { r.EncodeArrayStart(4) } else { - yynn2484 = 1 - for _, b := range yyq2484 { + yynn2548 = 1 + for _, b := range yyq2548 { if b { - yynn2484++ + yynn2548++ } } - r.EncodeMapStart(yynn2484) - yynn2484 = 0 + r.EncodeMapStart(yynn2548) + yynn2548 = 0 } - if yyr2484 || yy2arr2484 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2484[0] { - yym2486 := z.EncBinary() - _ = yym2486 + if yyq2548[0] { + yym2550 := z.EncBinary() + _ = yym2550 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -32657,23 +33345,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2484[0] { + if yyq2548[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2487 := z.EncBinary() - _ = yym2487 + yym2551 := z.EncBinary() + _ = yym2551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2484 || yy2arr2484 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2484[1] { - yym2489 := z.EncBinary() - _ = yym2489 + if yyq2548[1] { + yym2553 := z.EncBinary() + _ = yym2553 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -32682,54 +33370,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2484[1] { + if yyq2548[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2490 := z.EncBinary() - _ = yym2490 + yym2554 := z.EncBinary() + _ = yym2554 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2484 || yy2arr2484 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2484[2] { - yy2492 := &x.ListMeta - yym2493 := z.EncBinary() - _ = yym2493 + if yyq2548[2] { + yy2556 := &x.ListMeta + yym2557 := z.EncBinary() + _ = yym2557 if false { - } else if z.HasExtensions() && z.EncExt(yy2492) { + } else if z.HasExtensions() && z.EncExt(yy2556) { } else { - z.EncFallback(yy2492) + z.EncFallback(yy2556) } } else { r.EncodeNil() } } else { - if yyq2484[2] { + if yyq2548[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2494 := &x.ListMeta - yym2495 := z.EncBinary() - _ = yym2495 + yy2558 := &x.ListMeta + yym2559 := z.EncBinary() + _ = yym2559 if false { - } else if z.HasExtensions() && z.EncExt(yy2494) { + } else if z.HasExtensions() && z.EncExt(yy2558) { } else { - z.EncFallback(yy2494) + z.EncFallback(yy2558) } } } - if yyr2484 || yy2arr2484 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2497 := z.EncBinary() - _ = yym2497 + yym2561 := z.EncBinary() + _ = yym2561 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -32742,15 +33430,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2498 := z.EncBinary() - _ = yym2498 + yym2562 := z.EncBinary() + _ = yym2562 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2484 || yy2arr2484 { + if yyr2548 || yy2arr2548 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32763,25 +33451,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2499 := z.DecBinary() - _ = yym2499 + yym2563 := z.DecBinary() + _ = yym2563 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2500 := r.ContainerType() - if yyct2500 == codecSelferValueTypeMap1234 { - yyl2500 := r.ReadMapStart() - if yyl2500 == 0 { + yyct2564 := r.ContainerType() + if yyct2564 == codecSelferValueTypeMap1234 { + yyl2564 := r.ReadMapStart() + if yyl2564 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2500, d) + x.codecDecodeSelfFromMap(yyl2564, d) } - } else if yyct2500 == codecSelferValueTypeArray1234 { - yyl2500 := r.ReadArrayStart() - if yyl2500 == 0 { + } else if yyct2564 == codecSelferValueTypeArray1234 { + yyl2564 := r.ReadArrayStart() + if yyl2564 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2500, d) + x.codecDecodeSelfFromArray(yyl2564, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32793,12 +33481,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2501Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2501Slc - var yyhl2501 bool = l >= 0 - for yyj2501 := 0; ; yyj2501++ { - if yyhl2501 { - if yyj2501 >= l { + var yys2565Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2565Slc + var yyhl2565 bool = l >= 0 + for yyj2565 := 0; ; yyj2565++ { + if yyhl2565 { + if yyj2565 >= l { break } } else { @@ -32807,10 +33495,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2501Slc = r.DecodeBytes(yys2501Slc, true, true) - yys2501 := string(yys2501Slc) + yys2565Slc = r.DecodeBytes(yys2565Slc, true, true) + yys2565 := string(yys2565Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2501 { + switch yys2565 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32827,838 +33515,35 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2504 := &x.ListMeta - yym2505 := z.DecBinary() - _ = yym2505 + yyv2568 := &x.ListMeta + yym2569 := z.DecBinary() + _ = yym2569 if false { - } else if z.HasExtensions() && z.DecExt(yyv2504) { + } else if z.HasExtensions() && z.DecExt(yyv2568) { } else { - z.DecFallback(yyv2504, false) + z.DecFallback(yyv2568, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2506 := &x.Items - yym2507 := z.DecBinary() - _ = yym2507 - if false { - } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2506), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys2501) - } // end switch yys2501 - } // end for yyj2501 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2508 int - var yyb2508 bool - var yyhl2508 bool = l >= 0 - yyj2508++ - if yyhl2508 { - yyb2508 = yyj2508 > l - } else { - yyb2508 = r.CheckBreak() - } - if yyb2508 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2508++ - if yyhl2508 { - yyb2508 = yyj2508 > l - } else { - yyb2508 = r.CheckBreak() - } - if yyb2508 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2508++ - if yyhl2508 { - yyb2508 = yyj2508 > l - } else { - yyb2508 = r.CheckBreak() - } - if yyb2508 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv2511 := &x.ListMeta - yym2512 := z.DecBinary() - _ = yym2512 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2511) { - } else { - z.DecFallback(yyv2511, false) - } - } - yyj2508++ - if yyhl2508 { - yyb2508 = yyj2508 > l - } else { - yyb2508 = r.CheckBreak() - } - if yyb2508 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2513 := &x.Items - yym2514 := z.DecBinary() - _ = yym2514 - if false { - } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2513), d) - } - } - for { - yyj2508++ - if yyhl2508 { - yyb2508 = yyj2508 > l - } else { - yyb2508 = r.CheckBreak() - } - if yyb2508 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2508-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2515 := z.EncBinary() - _ = yym2515 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2516 := !z.EncBinary() - yy2arr2516 := z.EncBasicHandle().StructToArray - var yyq2516 [4]bool - _, _, _ = yysep2516, yyq2516, yy2arr2516 - const yyr2516 bool = false - yyq2516[0] = x.Kind != "" - yyq2516[1] = x.APIVersion != "" - yyq2516[2] = true - var yynn2516 int - if yyr2516 || yy2arr2516 { - r.EncodeArrayStart(4) - } else { - yynn2516 = 1 - for _, b := range yyq2516 { - if b { - yynn2516++ - } - } - r.EncodeMapStart(yynn2516) - yynn2516 = 0 - } - if yyr2516 || yy2arr2516 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2516[0] { - yym2518 := z.EncBinary() - _ = yym2518 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2516[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2519 := z.EncBinary() - _ = yym2519 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2516 || yy2arr2516 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2516[1] { - yym2521 := z.EncBinary() - _ = yym2521 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2516[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2522 := z.EncBinary() - _ = yym2522 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2516 || yy2arr2516 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2516[2] { - yy2524 := &x.ListMeta - yym2525 := z.EncBinary() - _ = yym2525 - if false { - } else if z.HasExtensions() && z.EncExt(yy2524) { - } else { - z.EncFallback(yy2524) - } - } else { - r.EncodeNil() - } - } else { - if yyq2516[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2526 := &x.ListMeta - yym2527 := z.EncBinary() - _ = yym2527 - if false { - } else if z.HasExtensions() && z.EncExt(yy2526) { - } else { - z.EncFallback(yy2526) - } - } - } - if yyr2516 || yy2arr2516 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2529 := z.EncBinary() - _ = yym2529 - if false { - } else { - h.encSliceService(([]Service)(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 { - yym2530 := z.EncBinary() - _ = yym2530 - if false { - } else { - h.encSliceService(([]Service)(x.Items), e) - } - } - } - if yyr2516 || yy2arr2516 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2531 := z.DecBinary() - _ = yym2531 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2532 := r.ContainerType() - if yyct2532 == codecSelferValueTypeMap1234 { - yyl2532 := r.ReadMapStart() - if yyl2532 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2532, d) - } - } else if yyct2532 == codecSelferValueTypeArray1234 { - yyl2532 := r.ReadArrayStart() - if yyl2532 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2532, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2533Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2533Slc - var yyhl2533 bool = l >= 0 - for yyj2533 := 0; ; yyj2533++ { - if yyhl2533 { - if yyj2533 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2533Slc = r.DecodeBytes(yys2533Slc, true, true) - yys2533 := string(yys2533Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2533 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv2536 := &x.ListMeta - yym2537 := z.DecBinary() - _ = yym2537 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2536) { - } else { - z.DecFallback(yyv2536, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2538 := &x.Items - yym2539 := z.DecBinary() - _ = yym2539 - if false { - } else { - h.decSliceService((*[]Service)(yyv2538), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys2533) - } // end switch yys2533 - } // end for yyj2533 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2540 int - var yyb2540 bool - var yyhl2540 bool = l >= 0 - yyj2540++ - if yyhl2540 { - yyb2540 = yyj2540 > l - } else { - yyb2540 = r.CheckBreak() - } - if yyb2540 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2540++ - if yyhl2540 { - yyb2540 = yyj2540 > l - } else { - yyb2540 = r.CheckBreak() - } - if yyb2540 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2540++ - if yyhl2540 { - yyb2540 = yyj2540 > l - } else { - yyb2540 = r.CheckBreak() - } - if yyb2540 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv2543 := &x.ListMeta - yym2544 := z.DecBinary() - _ = yym2544 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2543) { - } else { - z.DecFallback(yyv2543, false) - } - } - yyj2540++ - if yyhl2540 { - yyb2540 = yyj2540 > l - } else { - yyb2540 = r.CheckBreak() - } - if yyb2540 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2545 := &x.Items - yym2546 := z.DecBinary() - _ = yym2546 - if false { - } else { - h.decSliceService((*[]Service)(yyv2545), d) - } - } - for { - yyj2540++ - if yyhl2540 { - yyb2540 = yyj2540 > l - } else { - yyb2540 = r.CheckBreak() - } - if yyb2540 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2540-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym2547 := z.EncBinary() - _ = yym2547 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2548 := z.DecBinary() - _ = yym2548 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym2549 := z.EncBinary() - _ = yym2549 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2550 := z.DecBinary() - _ = yym2550 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2551 := z.EncBinary() - _ = yym2551 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2552 := !z.EncBinary() - yy2arr2552 := z.EncBasicHandle().StructToArray - var yyq2552 [1]bool - _, _, _ = yysep2552, yyq2552, yy2arr2552 - const yyr2552 bool = false - yyq2552[0] = true - var yynn2552 int - if yyr2552 || yy2arr2552 { - r.EncodeArrayStart(1) - } else { - yynn2552 = 0 - for _, b := range yyq2552 { - if b { - yynn2552++ - } - } - r.EncodeMapStart(yynn2552) - yynn2552 = 0 - } - if yyr2552 || yy2arr2552 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2552[0] { - yy2554 := &x.LoadBalancer - yy2554.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2552[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2555 := &x.LoadBalancer - yy2555.CodecEncodeSelf(e) - } - } - if yyr2552 || yy2arr2552 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2556 := z.DecBinary() - _ = yym2556 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2557 := r.ContainerType() - if yyct2557 == codecSelferValueTypeMap1234 { - yyl2557 := r.ReadMapStart() - if yyl2557 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2557, d) - } - } else if yyct2557 == codecSelferValueTypeArray1234 { - yyl2557 := r.ReadArrayStart() - if yyl2557 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2557, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2558Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2558Slc - var yyhl2558 bool = l >= 0 - for yyj2558 := 0; ; yyj2558++ { - if yyhl2558 { - if yyj2558 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2558Slc = r.DecodeBytes(yys2558Slc, true, true) - yys2558 := string(yys2558Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2558 { - case "loadBalancer": - if r.TryDecodeAsNil() { - x.LoadBalancer = LoadBalancerStatus{} - } else { - yyv2559 := &x.LoadBalancer - yyv2559.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys2558) - } // end switch yys2558 - } // end for yyj2558 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2560 int - var yyb2560 bool - var yyhl2560 bool = l >= 0 - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l - } else { - yyb2560 = r.CheckBreak() - } - if yyb2560 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LoadBalancer = LoadBalancerStatus{} - } else { - yyv2561 := &x.LoadBalancer - yyv2561.CodecDecodeSelf(d) - } - for { - yyj2560++ - if yyhl2560 { - yyb2560 = yyj2560 > l - } else { - yyb2560 = r.CheckBreak() - } - if yyb2560 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2560-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2562 := z.EncBinary() - _ = yym2562 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2563 := !z.EncBinary() - yy2arr2563 := z.EncBasicHandle().StructToArray - var yyq2563 [1]bool - _, _, _ = yysep2563, yyq2563, yy2arr2563 - const yyr2563 bool = false - yyq2563[0] = len(x.Ingress) != 0 - var yynn2563 int - if yyr2563 || yy2arr2563 { - r.EncodeArrayStart(1) - } else { - yynn2563 = 0 - for _, b := range yyq2563 { - if b { - yynn2563++ - } - } - r.EncodeMapStart(yynn2563) - yynn2563 = 0 - } - if yyr2563 || yy2arr2563 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2563[0] { - if x.Ingress == nil { - r.EncodeNil() - } else { - yym2565 := z.EncBinary() - _ = yym2565 - if false { - } else { - h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq2563[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ingress")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ingress == nil { - r.EncodeNil() - } else { - yym2566 := z.EncBinary() - _ = yym2566 - if false { - } else { - h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) - } - } - } - } - if yyr2563 || yy2arr2563 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2567 := z.DecBinary() - _ = yym2567 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2568 := r.ContainerType() - if yyct2568 == codecSelferValueTypeMap1234 { - yyl2568 := r.ReadMapStart() - if yyl2568 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2568, d) - } - } else if yyct2568 == codecSelferValueTypeArray1234 { - yyl2568 := r.ReadArrayStart() - if yyl2568 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2568, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2569Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2569Slc - var yyhl2569 bool = l >= 0 - for yyj2569 := 0; ; yyj2569++ { - if yyhl2569 { - if yyj2569 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2569Slc = r.DecodeBytes(yys2569Slc, true, true) - yys2569 := string(yys2569Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2569 { - case "ingress": - if r.TryDecodeAsNil() { - x.Ingress = nil - } else { - yyv2570 := &x.Ingress + yyv2570 := &x.Items yym2571 := z.DecBinary() _ = yym2571 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2570), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2570), d) } } default: - z.DecStructFieldNotFound(-1, yys2569) - } // end switch yys2569 - } // end for yyj2569 + z.DecStructFieldNotFound(-1, yys2565) + } // end switch yys2565 + } // end for yyj2565 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -33677,14 +33562,69 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Ingress = nil + x.Kind = "" } else { - yyv2573 := &x.Ingress - yym2574 := z.DecBinary() - _ = yym2574 + x.Kind = string(r.DecodeString()) + } + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l + } else { + yyb2572 = r.CheckBreak() + } + if yyb2572 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l + } else { + yyb2572 = r.CheckBreak() + } + if yyb2572 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2575 := &x.ListMeta + yym2576 := z.DecBinary() + _ = yym2576 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2575) { + } else { + z.DecFallback(yyv2575, false) + } + } + yyj2572++ + if yyhl2572 { + yyb2572 = yyj2572 > l + } else { + yyb2572 = r.CheckBreak() + } + if yyb2572 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2577 := &x.Items + yym2578 := z.DecBinary() + _ = yym2578 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2573), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2577), d) } } for { @@ -33703,6 +33643,754 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2579 := z.EncBinary() + _ = yym2579 + 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 { + r.EncodeArrayStart(4) + } else { + yynn2580 = 1 + for _, b := range yyq2580 { + if b { + yynn2580++ + } + } + r.EncodeMapStart(yynn2580) + yynn2580 = 0 + } + if yyr2580 || yy2arr2580 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2580[0] { + yym2582 := z.EncBinary() + _ = yym2582 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2580[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2583 := z.EncBinary() + _ = yym2583 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2580 || yy2arr2580 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2580[1] { + yym2585 := z.EncBinary() + _ = yym2585 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2580[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2586 := z.EncBinary() + _ = yym2586 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2580 || yy2arr2580 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2580[2] { + yy2588 := &x.ListMeta + yym2589 := z.EncBinary() + _ = yym2589 + if false { + } else if z.HasExtensions() && z.EncExt(yy2588) { + } else { + z.EncFallback(yy2588) + } + } else { + r.EncodeNil() + } + } else { + if yyq2580[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2590 := &x.ListMeta + yym2591 := z.EncBinary() + _ = yym2591 + if false { + } else if z.HasExtensions() && z.EncExt(yy2590) { + } else { + z.EncFallback(yy2590) + } + } + } + if yyr2580 || yy2arr2580 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2593 := z.EncBinary() + _ = yym2593 + if false { + } else { + h.encSliceService(([]Service)(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 { + yym2594 := z.EncBinary() + _ = yym2594 + if false { + } else { + h.encSliceService(([]Service)(x.Items), e) + } + } + } + if yyr2580 || yy2arr2580 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2595 := z.DecBinary() + _ = yym2595 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2596 := r.ContainerType() + if yyct2596 == codecSelferValueTypeMap1234 { + yyl2596 := r.ReadMapStart() + if yyl2596 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2596, d) + } + } else if yyct2596 == codecSelferValueTypeArray1234 { + yyl2596 := r.ReadArrayStart() + if yyl2596 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2596, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2597Slc = r.DecodeBytes(yys2597Slc, true, true) + yys2597 := string(yys2597Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2597 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv2600 := &x.ListMeta + yym2601 := z.DecBinary() + _ = yym2601 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2600) { + } else { + z.DecFallback(yyv2600, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2602 := &x.Items + yym2603 := z.DecBinary() + _ = yym2603 + if false { + } else { + h.decSliceService((*[]Service)(yyv2602), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys2597) + } // end switch yys2597 + } // end for yyj2597 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb2604 = r.CheckBreak() + } + if yyb2604 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2604++ + if yyhl2604 { + yyb2604 = yyj2604 > l + } else { + yyb2604 = r.CheckBreak() + } + if yyb2604 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2604++ + if yyhl2604 { + yyb2604 = yyj2604 > l + } else { + yyb2604 = r.CheckBreak() + } + if yyb2604 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2607 := &x.ListMeta + yym2608 := z.DecBinary() + _ = yym2608 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2607) { + } else { + z.DecFallback(yyv2607, false) + } + } + yyj2604++ + if yyhl2604 { + yyb2604 = yyj2604 > l + } else { + yyb2604 = r.CheckBreak() + } + if yyb2604 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2609 := &x.Items + yym2610 := z.DecBinary() + _ = yym2610 + if false { + } else { + h.decSliceService((*[]Service)(yyv2609), d) + } + } + for { + yyj2604++ + if yyhl2604 { + yyb2604 = yyj2604 > l + } else { + yyb2604 = r.CheckBreak() + } + if yyb2604 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2604-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym2611 := z.EncBinary() + _ = yym2611 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2612 := z.DecBinary() + _ = yym2612 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym2613 := z.EncBinary() + _ = yym2613 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2614 := z.DecBinary() + _ = yym2614 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2615 := z.EncBinary() + _ = yym2615 + 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 { + r.EncodeArrayStart(1) + } else { + yynn2616 = 0 + for _, b := range yyq2616 { + if b { + yynn2616++ + } + } + r.EncodeMapStart(yynn2616) + yynn2616 = 0 + } + if yyr2616 || yy2arr2616 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2616[0] { + yy2618 := &x.LoadBalancer + yy2618.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2616[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2619 := &x.LoadBalancer + yy2619.CodecEncodeSelf(e) + } + } + if yyr2616 || yy2arr2616 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2620 := z.DecBinary() + _ = yym2620 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2621 := r.ContainerType() + if yyct2621 == codecSelferValueTypeMap1234 { + yyl2621 := r.ReadMapStart() + if yyl2621 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2621, d) + } + } else if yyct2621 == codecSelferValueTypeArray1234 { + yyl2621 := r.ReadArrayStart() + if yyl2621 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2621, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2622Slc = r.DecodeBytes(yys2622Slc, true, true) + yys2622 := string(yys2622Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2622 { + case "loadBalancer": + if r.TryDecodeAsNil() { + x.LoadBalancer = LoadBalancerStatus{} + } else { + yyv2623 := &x.LoadBalancer + yyv2623.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys2622) + } // end switch yys2622 + } // end for yyj2622 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb2624 = r.CheckBreak() + } + if yyb2624 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LoadBalancer = LoadBalancerStatus{} + } else { + yyv2625 := &x.LoadBalancer + yyv2625.CodecDecodeSelf(d) + } + for { + yyj2624++ + if yyhl2624 { + yyb2624 = yyj2624 > l + } else { + yyb2624 = r.CheckBreak() + } + if yyb2624 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2624-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2626 := z.EncBinary() + _ = yym2626 + 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 { + r.EncodeArrayStart(1) + } else { + yynn2627 = 0 + for _, b := range yyq2627 { + if b { + yynn2627++ + } + } + r.EncodeMapStart(yynn2627) + yynn2627 = 0 + } + if yyr2627 || yy2arr2627 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2627[0] { + if x.Ingress == nil { + r.EncodeNil() + } else { + yym2629 := z.EncBinary() + _ = yym2629 + if false { + } else { + h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2627[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 + if false { + } else { + h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) + } + } + } + } + if yyr2627 || yy2arr2627 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2631 := z.DecBinary() + _ = yym2631 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2632 := r.ContainerType() + if yyct2632 == codecSelferValueTypeMap1234 { + yyl2632 := r.ReadMapStart() + if yyl2632 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2632, d) + } + } else if yyct2632 == codecSelferValueTypeArray1234 { + yyl2632 := r.ReadArrayStart() + if yyl2632 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2632, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2633Slc = r.DecodeBytes(yys2633Slc, true, true) + yys2633 := string(yys2633Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2633 { + case "ingress": + if r.TryDecodeAsNil() { + x.Ingress = nil + } else { + yyv2634 := &x.Ingress + yym2635 := z.DecBinary() + _ = yym2635 + if false { + } else { + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2634), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys2633) + } // end switch yys2633 + } // end for yyj2633 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb2636 = r.CheckBreak() + } + if yyb2636 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ingress = nil + } else { + yyv2637 := &x.Ingress + yym2638 := z.DecBinary() + _ = yym2638 + if false { + } else { + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2637), d) + } + } + for { + yyj2636++ + if yyhl2636 { + yyb2636 = yyj2636 > l + } else { + yyb2636 = r.CheckBreak() + } + if yyb2636 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2636-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -33710,36 +34398,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2575 := z.EncBinary() - _ = yym2575 + yym2639 := z.EncBinary() + _ = yym2639 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2576 := !z.EncBinary() - yy2arr2576 := z.EncBasicHandle().StructToArray - var yyq2576 [2]bool - _, _, _ = yysep2576, yyq2576, yy2arr2576 - const yyr2576 bool = false - yyq2576[0] = x.IP != "" - yyq2576[1] = x.Hostname != "" - var yynn2576 int - if yyr2576 || yy2arr2576 { + 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 { r.EncodeArrayStart(2) } else { - yynn2576 = 0 - for _, b := range yyq2576 { + yynn2640 = 0 + for _, b := range yyq2640 { if b { - yynn2576++ + yynn2640++ } } - r.EncodeMapStart(yynn2576) - yynn2576 = 0 + r.EncodeMapStart(yynn2640) + yynn2640 = 0 } - if yyr2576 || yy2arr2576 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2576[0] { - yym2578 := z.EncBinary() - _ = yym2578 + if yyq2640[0] { + yym2642 := z.EncBinary() + _ = yym2642 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -33748,23 +34436,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2576[0] { + if yyq2640[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2579 := z.EncBinary() - _ = yym2579 + yym2643 := z.EncBinary() + _ = yym2643 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2576 || yy2arr2576 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2576[1] { - yym2581 := z.EncBinary() - _ = yym2581 + if yyq2640[1] { + yym2645 := z.EncBinary() + _ = yym2645 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -33773,19 +34461,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2576[1] { + if yyq2640[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2582 := z.EncBinary() - _ = yym2582 + yym2646 := z.EncBinary() + _ = yym2646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2576 || yy2arr2576 { + if yyr2640 || yy2arr2640 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33798,25 +34486,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2583 := z.DecBinary() - _ = yym2583 + yym2647 := z.DecBinary() + _ = yym2647 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2584 := r.ContainerType() - if yyct2584 == codecSelferValueTypeMap1234 { - yyl2584 := r.ReadMapStart() - if yyl2584 == 0 { + yyct2648 := r.ContainerType() + if yyct2648 == codecSelferValueTypeMap1234 { + yyl2648 := r.ReadMapStart() + if yyl2648 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2584, d) + x.codecDecodeSelfFromMap(yyl2648, d) } - } else if yyct2584 == codecSelferValueTypeArray1234 { - yyl2584 := r.ReadArrayStart() - if yyl2584 == 0 { + } else if yyct2648 == codecSelferValueTypeArray1234 { + yyl2648 := r.ReadArrayStart() + if yyl2648 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2584, d) + x.codecDecodeSelfFromArray(yyl2648, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33828,12 +34516,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2585Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2585Slc - var yyhl2585 bool = l >= 0 - for yyj2585 := 0; ; yyj2585++ { - if yyhl2585 { - if yyj2585 >= l { + var yys2649Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2649Slc + var yyhl2649 bool = l >= 0 + for yyj2649 := 0; ; yyj2649++ { + if yyhl2649 { + if yyj2649 >= l { break } } else { @@ -33842,10 +34530,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2585Slc = r.DecodeBytes(yys2585Slc, true, true) - yys2585 := string(yys2585Slc) + yys2649Slc = r.DecodeBytes(yys2649Slc, true, true) + yys2649 := string(yys2649Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2585 { + switch yys2649 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -33859,9 +34547,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2585) - } // end switch yys2585 - } // end for yyj2585 + z.DecStructFieldNotFound(-1, yys2649) + } // end switch yys2649 + } // end for yyj2649 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33869,16 +34557,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2588 int - var yyb2588 bool - var yyhl2588 bool = l >= 0 - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + var yyj2652 int + var yyb2652 bool + var yyhl2652 bool = l >= 0 + yyj2652++ + if yyhl2652 { + yyb2652 = yyj2652 > l } else { - yyb2588 = r.CheckBreak() + yyb2652 = r.CheckBreak() } - if yyb2588 { + if yyb2652 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33888,13 +34576,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + yyj2652++ + if yyhl2652 { + yyb2652 = yyj2652 > l } else { - yyb2588 = r.CheckBreak() + yyb2652 = r.CheckBreak() } - if yyb2588 { + if yyb2652 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33905,17 +34593,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj2588++ - if yyhl2588 { - yyb2588 = yyj2588 > l + yyj2652++ + if yyhl2652 { + yyb2652 = yyj2652 > l } else { - yyb2588 = r.CheckBreak() + yyb2652 = r.CheckBreak() } - if yyb2588 { + if yyb2652 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2588-1, "") + z.DecStructFieldNotFound(yyj2652-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33927,57 +34615,57 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2591 := z.EncBinary() - _ = yym2591 + yym2655 := z.EncBinary() + _ = yym2655 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2592 := !z.EncBinary() - yy2arr2592 := z.EncBasicHandle().StructToArray - var yyq2592 [9]bool - _, _, _ = yysep2592, yyq2592, yy2arr2592 - const yyr2592 bool = false - yyq2592[0] = x.Type != "" - yyq2592[3] = x.ClusterIP != "" - yyq2592[5] = len(x.ExternalIPs) != 0 - yyq2592[6] = x.LoadBalancerIP != "" - yyq2592[7] = x.SessionAffinity != "" - yyq2592[8] = len(x.LoadBalancerSourceRanges) != 0 - var yynn2592 int - if yyr2592 || yy2arr2592 { + 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 { r.EncodeArrayStart(9) } else { - yynn2592 = 3 - for _, b := range yyq2592 { + yynn2656 = 3 + for _, b := range yyq2656 { if b { - yynn2592++ + yynn2656++ } } - r.EncodeMapStart(yynn2592) - yynn2592 = 0 + r.EncodeMapStart(yynn2656) + yynn2656 = 0 } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2592[0] { + if yyq2656[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2592[0] { + if yyq2656[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2595 := z.EncBinary() - _ = yym2595 + yym2659 := z.EncBinary() + _ = yym2659 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -33990,21 +34678,21 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2596 := z.EncBinary() - _ = yym2596 + yym2660 := z.EncBinary() + _ = yym2660 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Selector == nil { r.EncodeNil() } else { - yym2598 := z.EncBinary() - _ = yym2598 + yym2662 := z.EncBinary() + _ = yym2662 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -34017,19 +34705,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Selector == nil { r.EncodeNil() } else { - yym2599 := z.EncBinary() - _ = yym2599 + yym2663 := z.EncBinary() + _ = yym2663 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) } } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2592[3] { - yym2601 := z.EncBinary() - _ = yym2601 + if yyq2656[3] { + yym2665 := z.EncBinary() + _ = yym2665 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -34038,22 +34726,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2592[3] { + if yyq2656[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2602 := z.EncBinary() - _ = yym2602 + yym2666 := z.EncBinary() + _ = yym2666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2604 := z.EncBinary() - _ = yym2604 + yym2668 := z.EncBinary() + _ = yym2668 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) @@ -34062,21 +34750,21 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ExternalName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2605 := z.EncBinary() - _ = yym2605 + yym2669 := z.EncBinary() + _ = yym2669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2592[5] { + if yyq2656[5] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2607 := z.EncBinary() - _ = yym2607 + yym2671 := z.EncBinary() + _ = yym2671 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -34086,15 +34774,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2592[5] { + if yyq2656[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2608 := z.EncBinary() - _ = yym2608 + yym2672 := z.EncBinary() + _ = yym2672 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -34102,11 +34790,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2592[6] { - yym2610 := z.EncBinary() - _ = yym2610 + if yyq2656[6] { + yym2674 := z.EncBinary() + _ = yym2674 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -34115,41 +34803,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2592[6] { + if yyq2656[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2611 := z.EncBinary() - _ = yym2611 + yym2675 := z.EncBinary() + _ = yym2675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2592[7] { + if yyq2656[7] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2592[7] { + if yyq2656[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2592[8] { + if yyq2656[8] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2614 := z.EncBinary() - _ = yym2614 + yym2678 := z.EncBinary() + _ = yym2678 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -34159,15 +34847,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2592[8] { + if yyq2656[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2615 := z.EncBinary() - _ = yym2615 + yym2679 := z.EncBinary() + _ = yym2679 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -34175,7 +34863,7 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2592 || yy2arr2592 { + if yyr2656 || yy2arr2656 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34188,25 +34876,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2616 := z.DecBinary() - _ = yym2616 + yym2680 := z.DecBinary() + _ = yym2680 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2617 := r.ContainerType() - if yyct2617 == codecSelferValueTypeMap1234 { - yyl2617 := r.ReadMapStart() - if yyl2617 == 0 { + yyct2681 := r.ContainerType() + if yyct2681 == codecSelferValueTypeMap1234 { + yyl2681 := r.ReadMapStart() + if yyl2681 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2617, d) + x.codecDecodeSelfFromMap(yyl2681, d) } - } else if yyct2617 == codecSelferValueTypeArray1234 { - yyl2617 := r.ReadArrayStart() - if yyl2617 == 0 { + } else if yyct2681 == codecSelferValueTypeArray1234 { + yyl2681 := r.ReadArrayStart() + if yyl2681 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2617, d) + x.codecDecodeSelfFromArray(yyl2681, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34218,12 +34906,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2618Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2618Slc - var yyhl2618 bool = l >= 0 - for yyj2618 := 0; ; yyj2618++ { - if yyhl2618 { - if yyj2618 >= l { + var yys2682Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2682Slc + var yyhl2682 bool = l >= 0 + for yyj2682 := 0; ; yyj2682++ { + if yyhl2682 { + if yyj2682 >= l { break } } else { @@ -34232,10 +34920,10 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2618Slc = r.DecodeBytes(yys2618Slc, true, true) - yys2618 := string(yys2618Slc) + yys2682Slc = r.DecodeBytes(yys2682Slc, true, true) + yys2682 := string(yys2682Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2618 { + switch yys2682 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -34246,24 +34934,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2620 := &x.Ports - yym2621 := z.DecBinary() - _ = yym2621 + yyv2684 := &x.Ports + yym2685 := z.DecBinary() + _ = yym2685 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2620), d) + h.decSliceServicePort((*[]ServicePort)(yyv2684), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2622 := &x.Selector - yym2623 := z.DecBinary() - _ = yym2623 + yyv2686 := &x.Selector + yym2687 := z.DecBinary() + _ = yym2687 if false { } else { - z.F.DecMapStringStringX(yyv2622, false, d) + z.F.DecMapStringStringX(yyv2686, false, d) } } case "clusterIP": @@ -34282,12 +34970,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2626 := &x.ExternalIPs - yym2627 := z.DecBinary() - _ = yym2627 + yyv2690 := &x.ExternalIPs + yym2691 := z.DecBinary() + _ = yym2691 if false { } else { - z.F.DecSliceStringX(yyv2626, false, d) + z.F.DecSliceStringX(yyv2690, false, d) } } case "loadBalancerIP": @@ -34306,18 +34994,18 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2630 := &x.LoadBalancerSourceRanges - yym2631 := z.DecBinary() - _ = yym2631 + yyv2694 := &x.LoadBalancerSourceRanges + yym2695 := z.DecBinary() + _ = yym2695 if false { } else { - z.F.DecSliceStringX(yyv2630, false, d) + z.F.DecSliceStringX(yyv2694, false, d) } } default: - z.DecStructFieldNotFound(-1, yys2618) - } // end switch yys2618 - } // end for yyj2618 + z.DecStructFieldNotFound(-1, yys2682) + } // end switch yys2682 + } // end for yyj2682 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34325,16 +35013,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2632 int - var yyb2632 bool - var yyhl2632 bool = l >= 0 - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + var yyj2696 int + var yyb2696 bool + var yyhl2696 bool = l >= 0 + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34344,13 +35032,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34358,21 +35046,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2634 := &x.Ports - yym2635 := z.DecBinary() - _ = yym2635 + yyv2698 := &x.Ports + yym2699 := z.DecBinary() + _ = yym2699 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2634), d) + h.decSliceServicePort((*[]ServicePort)(yyv2698), d) } } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34380,21 +35068,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2636 := &x.Selector - yym2637 := z.DecBinary() - _ = yym2637 + yyv2700 := &x.Selector + yym2701 := z.DecBinary() + _ = yym2701 if false { } else { - z.F.DecMapStringStringX(yyv2636, false, d) + z.F.DecMapStringStringX(yyv2700, false, d) } } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34404,13 +35092,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34420,13 +35108,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalName = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34434,21 +35122,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2640 := &x.ExternalIPs - yym2641 := z.DecBinary() - _ = yym2641 + yyv2704 := &x.ExternalIPs + yym2705 := z.DecBinary() + _ = yym2705 if false { } else { - z.F.DecSliceStringX(yyv2640, false, d) + z.F.DecSliceStringX(yyv2704, false, d) } } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34458,13 +35146,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34474,13 +35162,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34488,716 +35176,31 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2644 := &x.LoadBalancerSourceRanges - yym2645 := z.DecBinary() - _ = yym2645 + yyv2708 := &x.LoadBalancerSourceRanges + yym2709 := z.DecBinary() + _ = yym2709 if false { } else { - z.F.DecSliceStringX(yyv2644, false, d) + z.F.DecSliceStringX(yyv2708, false, d) } } for { - yyj2632++ - if yyhl2632 { - yyb2632 = yyj2632 > l + yyj2696++ + if yyhl2696 { + yyb2696 = yyj2696 > l } else { - yyb2632 = r.CheckBreak() + yyb2696 = r.CheckBreak() } - if yyb2632 { + if yyb2696 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2632-1, "") + z.DecStructFieldNotFound(yyj2696-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2646 := z.EncBinary() - _ = yym2646 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2647 := !z.EncBinary() - yy2arr2647 := z.EncBasicHandle().StructToArray - var yyq2647 [5]bool - _, _, _ = yysep2647, yyq2647, yy2arr2647 - const yyr2647 bool = false - var yynn2647 int - if yyr2647 || yy2arr2647 { - r.EncodeArrayStart(5) - } else { - yynn2647 = 5 - for _, b := range yyq2647 { - if b { - yynn2647++ - } - } - r.EncodeMapStart(yynn2647) - yynn2647 = 0 - } - if yyr2647 || yy2arr2647 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2649 := z.EncBinary() - _ = yym2649 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("name")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2650 := z.EncBinary() - _ = yym2650 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Name)) - } - } - if yyr2647 || yy2arr2647 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Protocol.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("protocol")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Protocol.CodecEncodeSelf(e) - } - if yyr2647 || yy2arr2647 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2653 := z.EncBinary() - _ = yym2653 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("port")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2654 := z.EncBinary() - _ = yym2654 - if false { - } else { - r.EncodeInt(int64(x.Port)) - } - } - if yyr2647 || yy2arr2647 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy2656 := &x.TargetPort - yym2657 := z.EncBinary() - _ = yym2657 - if false { - } else if z.HasExtensions() && z.EncExt(yy2656) { - } else if !yym2657 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2656) - } else { - z.EncFallback(yy2656) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("targetPort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2658 := &x.TargetPort - yym2659 := z.EncBinary() - _ = yym2659 - if false { - } else if z.HasExtensions() && z.EncExt(yy2658) { - } else if !yym2659 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2658) - } else { - z.EncFallback(yy2658) - } - } - if yyr2647 || yy2arr2647 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2661 := z.EncBinary() - _ = yym2661 - if false { - } else { - r.EncodeInt(int64(x.NodePort)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nodePort")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2662 := z.EncBinary() - _ = yym2662 - if false { - } else { - r.EncodeInt(int64(x.NodePort)) - } - } - if yyr2647 || yy2arr2647 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2663 := z.DecBinary() - _ = yym2663 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2664 := r.ContainerType() - if yyct2664 == codecSelferValueTypeMap1234 { - yyl2664 := r.ReadMapStart() - if yyl2664 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2664, d) - } - } else if yyct2664 == codecSelferValueTypeArray1234 { - yyl2664 := r.ReadArrayStart() - if yyl2664 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2664, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2665Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2665Slc - var yyhl2665 bool = l >= 0 - for yyj2665 := 0; ; yyj2665++ { - if yyhl2665 { - if yyj2665 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2665Slc = r.DecodeBytes(yys2665Slc, true, true) - yys2665 := string(yys2665Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2665 { - case "name": - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - case "protocol": - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - case "port": - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - case "targetPort": - if r.TryDecodeAsNil() { - x.TargetPort = pkg4_intstr.IntOrString{} - } else { - yyv2669 := &x.TargetPort - yym2670 := z.DecBinary() - _ = yym2670 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2669) { - } else if !yym2670 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2669) - } else { - z.DecFallback(yyv2669, false) - } - } - case "nodePort": - if r.TryDecodeAsNil() { - x.NodePort = 0 - } else { - x.NodePort = int32(r.DecodeInt(32)) - } - default: - z.DecStructFieldNotFound(-1, yys2665) - } // end switch yys2665 - } // end for yyj2665 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2672 int - var yyb2672 bool - var yyhl2672 bool = l >= 0 - yyj2672++ - if yyhl2672 { - yyb2672 = yyj2672 > l - } else { - yyb2672 = r.CheckBreak() - } - if yyb2672 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Name = "" - } else { - x.Name = string(r.DecodeString()) - } - yyj2672++ - if yyhl2672 { - yyb2672 = yyj2672 > l - } else { - yyb2672 = r.CheckBreak() - } - if yyb2672 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Protocol = "" - } else { - x.Protocol = Protocol(r.DecodeString()) - } - yyj2672++ - if yyhl2672 { - yyb2672 = yyj2672 > l - } else { - yyb2672 = r.CheckBreak() - } - if yyb2672 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Port = 0 - } else { - x.Port = int32(r.DecodeInt(32)) - } - yyj2672++ - if yyhl2672 { - yyb2672 = yyj2672 > l - } else { - yyb2672 = r.CheckBreak() - } - if yyb2672 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.TargetPort = pkg4_intstr.IntOrString{} - } else { - yyv2676 := &x.TargetPort - yym2677 := z.DecBinary() - _ = yym2677 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2676) { - } else if !yym2677 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2676) - } else { - z.DecFallback(yyv2676, false) - } - } - yyj2672++ - if yyhl2672 { - yyb2672 = yyj2672 > l - } else { - yyb2672 = r.CheckBreak() - } - if yyb2672 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.NodePort = 0 - } else { - x.NodePort = int32(r.DecodeInt(32)) - } - for { - yyj2672++ - if yyhl2672 { - yyb2672 = yyj2672 > l - } else { - yyb2672 = r.CheckBreak() - } - if yyb2672 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2672-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2679 := z.EncBinary() - _ = yym2679 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2680 := !z.EncBinary() - yy2arr2680 := z.EncBasicHandle().StructToArray - var yyq2680 [5]bool - _, _, _ = yysep2680, yyq2680, yy2arr2680 - const yyr2680 bool = false - yyq2680[0] = x.Kind != "" - yyq2680[1] = x.APIVersion != "" - yyq2680[2] = true - yyq2680[3] = true - yyq2680[4] = true - var yynn2680 int - if yyr2680 || yy2arr2680 { - r.EncodeArrayStart(5) - } else { - yynn2680 = 0 - for _, b := range yyq2680 { - if b { - yynn2680++ - } - } - r.EncodeMapStart(yynn2680) - yynn2680 = 0 - } - if yyr2680 || yy2arr2680 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2680[0] { - yym2682 := z.EncBinary() - _ = yym2682 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2680[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2683 := z.EncBinary() - _ = yym2683 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2680 || yy2arr2680 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2680[1] { - yym2685 := z.EncBinary() - _ = yym2685 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2680[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2686 := z.EncBinary() - _ = yym2686 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2680 || yy2arr2680 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2680[2] { - yy2688 := &x.ObjectMeta - yy2688.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2680[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2689 := &x.ObjectMeta - yy2689.CodecEncodeSelf(e) - } - } - if yyr2680 || yy2arr2680 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2680[3] { - yy2691 := &x.Spec - yy2691.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2680[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2692 := &x.Spec - yy2692.CodecEncodeSelf(e) - } - } - if yyr2680 || yy2arr2680 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2680[4] { - yy2694 := &x.Status - yy2694.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2680[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2695 := &x.Status - yy2695.CodecEncodeSelf(e) - } - } - if yyr2680 || yy2arr2680 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2696 := z.DecBinary() - _ = yym2696 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2697 := r.ContainerType() - if yyct2697 == codecSelferValueTypeMap1234 { - yyl2697 := r.ReadMapStart() - if yyl2697 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2697, d) - } - } else if yyct2697 == codecSelferValueTypeArray1234 { - yyl2697 := r.ReadArrayStart() - if yyl2697 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2697, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2698Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2698Slc - var yyhl2698 bool = l >= 0 - for yyj2698 := 0; ; yyj2698++ { - if yyhl2698 { - if yyj2698 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2698Slc = r.DecodeBytes(yys2698Slc, true, true) - yys2698 := string(yys2698Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2698 { - 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 = ObjectMeta{} - } else { - yyv2701 := &x.ObjectMeta - yyv2701.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} - } else { - yyv2702 := &x.Spec - yyv2702.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} - } else { - yyv2703 := &x.Status - yyv2703.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys2698) - } // end switch yys2698 - } // end for yyj2698 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2704 int - var yyb2704 bool - var yyhl2704 bool = l >= 0 - yyj2704++ - if yyhl2704 { - yyb2704 = yyj2704 > l - } else { - yyb2704 = r.CheckBreak() - } - if yyb2704 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2704++ - if yyhl2704 { - yyb2704 = yyj2704 > l - } else { - yyb2704 = r.CheckBreak() - } - if yyb2704 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2704++ - if yyhl2704 { - yyb2704 = yyj2704 > l - } else { - yyb2704 = r.CheckBreak() - } - if yyb2704 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv2707 := &x.ObjectMeta - yyv2707.CodecDecodeSelf(d) - } - yyj2704++ - if yyhl2704 { - yyb2704 = yyj2704 > l - } else { - yyb2704 = r.CheckBreak() - } - if yyb2704 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ServiceSpec{} - } else { - yyv2708 := &x.Spec - yyv2708.CodecDecodeSelf(d) - } - yyj2704++ - if yyhl2704 { - yyb2704 = yyj2704 > l - } else { - yyb2704 = r.CheckBreak() - } - if yyb2704 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ServiceStatus{} - } else { - yyv2709 := &x.Status - yyv2709.CodecDecodeSelf(d) - } - for { - yyj2704++ - if yyhl2704 { - yyb2704 = yyj2704 > l - } else { - yyb2704 = r.CheckBreak() - } - if yyb2704 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2704-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -35214,15 +35217,11 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { var yyq2711 [5]bool _, _, _ = yysep2711, yyq2711, yy2arr2711 const yyr2711 bool = false - yyq2711[0] = x.Kind != "" - yyq2711[1] = x.APIVersion != "" - yyq2711[2] = true - yyq2711[4] = len(x.ImagePullSecrets) != 0 var yynn2711 int if yyr2711 || yy2arr2711 { r.EncodeArrayStart(5) } else { - yynn2711 = 1 + yynn2711 = 5 for _, b := range yyq2711 { if b { yynn2711++ @@ -35233,129 +35232,95 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2711[0] { - yym2713 := z.EncBinary() - _ = yym2713 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } + yym2713 := z.EncBinary() + _ = yym2713 + if false { } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2711[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2714 := z.EncBinary() - _ = yym2714 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2711 || yy2arr2711 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2711[1] { - yym2716 := z.EncBinary() - _ = yym2716 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2711[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2717 := z.EncBinary() - _ = yym2717 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2711 || yy2arr2711 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2711[2] { - yy2719 := &x.ObjectMeta - yy2719.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2711[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2720 := &x.ObjectMeta - yy2720.CodecEncodeSelf(e) - } - } - if yyr2711 || yy2arr2711 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Secrets == nil { - r.EncodeNil() - } else { - yym2722 := z.EncBinary() - _ = yym2722 - if false { - } else { - h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) - } + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("secrets")) + r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Secrets == nil { - r.EncodeNil() + yym2714 := z.EncBinary() + _ = yym2714 + if false { } else { - yym2723 := z.EncBinary() - _ = yym2723 - if false { - } else { - h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) - } + r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } if yyr2711 || yy2arr2711 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2711[4] { - if x.ImagePullSecrets == nil { - r.EncodeNil() - } else { - yym2725 := z.EncBinary() - _ = yym2725 - if false { - } else { - h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) - } - } + x.Protocol.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("protocol")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Protocol.CodecEncodeSelf(e) + } + if yyr2711 || yy2arr2711 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2717 := z.EncBinary() + _ = yym2717 + if false { } else { - r.EncodeNil() + r.EncodeInt(int64(x.Port)) } } else { - if yyq2711[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ImagePullSecrets == nil { - r.EncodeNil() - } else { - yym2726 := z.EncBinary() - _ = yym2726 - if false { - } else { - h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) - } - } + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("port")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2718 := z.EncBinary() + _ = yym2718 + if false { + } else { + r.EncodeInt(int64(x.Port)) + } + } + if yyr2711 || yy2arr2711 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy2720 := &x.TargetPort + yym2721 := z.EncBinary() + _ = yym2721 + if false { + } else if z.HasExtensions() && z.EncExt(yy2720) { + } else if !yym2721 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2720) + } else { + z.EncFallback(yy2720) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("targetPort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2722 := &x.TargetPort + yym2723 := z.EncBinary() + _ = yym2723 + if false { + } else if z.HasExtensions() && z.EncExt(yy2722) { + } else if !yym2723 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2722) + } else { + z.EncFallback(yy2722) + } + } + if yyr2711 || yy2arr2711 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym2725 := z.EncBinary() + _ = yym2725 + if false { + } else { + r.EncodeInt(int64(x.NodePort)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("nodePort")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2726 := z.EncBinary() + _ = yym2726 + if false { + } else { + r.EncodeInt(int64(x.NodePort)) } } if yyr2711 || yy2arr2711 { @@ -35367,7 +35332,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -35397,7 +35362,7 @@ func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -35419,6 +35384,361 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys2729 := string(yys2729Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys2729 { + case "name": + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + case "protocol": + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + case "port": + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + case "targetPort": + if r.TryDecodeAsNil() { + x.TargetPort = pkg4_intstr.IntOrString{} + } else { + yyv2733 := &x.TargetPort + yym2734 := z.DecBinary() + _ = yym2734 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2733) { + } else if !yym2734 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2733) + } else { + z.DecFallback(yyv2733, false) + } + } + case "nodePort": + if r.TryDecodeAsNil() { + x.NodePort = 0 + } else { + x.NodePort = int32(r.DecodeInt(32)) + } + default: + z.DecStructFieldNotFound(-1, yys2729) + } // end switch yys2729 + } // end for yyj2729 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb2736 = r.CheckBreak() + } + if yyb2736 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Name = "" + } else { + x.Name = string(r.DecodeString()) + } + yyj2736++ + if yyhl2736 { + yyb2736 = yyj2736 > l + } else { + yyb2736 = r.CheckBreak() + } + if yyb2736 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Protocol = "" + } else { + x.Protocol = Protocol(r.DecodeString()) + } + yyj2736++ + if yyhl2736 { + yyb2736 = yyj2736 > l + } else { + yyb2736 = r.CheckBreak() + } + if yyb2736 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Port = 0 + } else { + x.Port = int32(r.DecodeInt(32)) + } + yyj2736++ + if yyhl2736 { + yyb2736 = yyj2736 > l + } else { + yyb2736 = r.CheckBreak() + } + if yyb2736 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.TargetPort = pkg4_intstr.IntOrString{} + } else { + yyv2740 := &x.TargetPort + yym2741 := z.DecBinary() + _ = yym2741 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2740) { + } else if !yym2741 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2740) + } else { + z.DecFallback(yyv2740, false) + } + } + yyj2736++ + if yyhl2736 { + yyb2736 = yyj2736 > l + } else { + yyb2736 = r.CheckBreak() + } + if yyb2736 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NodePort = 0 + } else { + x.NodePort = int32(r.DecodeInt(32)) + } + for { + yyj2736++ + if yyhl2736 { + yyb2736 = yyj2736 > l + } else { + yyb2736 = r.CheckBreak() + } + if yyb2736 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2736-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2743 := z.EncBinary() + _ = yym2743 + 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 { + r.EncodeArrayStart(5) + } else { + yynn2744 = 0 + for _, b := range yyq2744 { + if b { + yynn2744++ + } + } + r.EncodeMapStart(yynn2744) + yynn2744 = 0 + } + if yyr2744 || yy2arr2744 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2744[0] { + yym2746 := z.EncBinary() + _ = yym2746 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2744[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2747 := z.EncBinary() + _ = yym2747 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2744 || yy2arr2744 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2744[1] { + yym2749 := z.EncBinary() + _ = yym2749 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2744[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2750 := z.EncBinary() + _ = yym2750 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2744 || yy2arr2744 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2744[2] { + yy2752 := &x.ObjectMeta + yy2752.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2744[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2753 := &x.ObjectMeta + yy2753.CodecEncodeSelf(e) + } + } + if yyr2744 || yy2arr2744 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2744[3] { + yy2755 := &x.Spec + yy2755.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2744[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2756 := &x.Spec + yy2756.CodecEncodeSelf(e) + } + } + if yyr2744 || yy2arr2744 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2744[4] { + yy2758 := &x.Status + yy2758.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2744[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2759 := &x.Status + yy2759.CodecEncodeSelf(e) + } + } + if yyr2744 || yy2arr2744 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2760 := z.DecBinary() + _ = yym2760 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2761 := r.ContainerType() + if yyct2761 == codecSelferValueTypeMap1234 { + yyl2761 := r.ReadMapStart() + if yyl2761 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2761, d) + } + } else if yyct2761 == codecSelferValueTypeArray1234 { + yyl2761 := r.ReadArrayStart() + if yyl2761 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2761, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2762Slc = r.DecodeBytes(yys2762Slc, true, true) + yys2762 := string(yys2762Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2762 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -35435,54 +35755,44 @@ func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2732 := &x.ObjectMeta - yyv2732.CodecDecodeSelf(d) + yyv2765 := &x.ObjectMeta + yyv2765.CodecDecodeSelf(d) } - case "secrets": + case "spec": if r.TryDecodeAsNil() { - x.Secrets = nil + x.Spec = ServiceSpec{} } else { - yyv2733 := &x.Secrets - yym2734 := z.DecBinary() - _ = yym2734 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2733), d) - } + yyv2766 := &x.Spec + yyv2766.CodecDecodeSelf(d) } - case "imagePullSecrets": + case "status": if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil + x.Status = ServiceStatus{} } else { - yyv2735 := &x.ImagePullSecrets - yym2736 := z.DecBinary() - _ = yym2736 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2735), d) - } + yyv2767 := &x.Status + yyv2767.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2729) - } // end switch yys2729 - } // end for yyj2729 + z.DecStructFieldNotFound(-1, yys2762) + } // end switch yys2762 + } // end for yyj2762 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2737 int - var yyb2737 bool - var yyhl2737 bool = l >= 0 - yyj2737++ - if yyhl2737 { - yyb2737 = yyj2737 > l + var yyj2768 int + var yyb2768 bool + var yyhl2768 bool = l >= 0 + yyj2768++ + if yyhl2768 { + yyb2768 = yyj2768 > l } else { - yyb2737 = r.CheckBreak() + yyb2768 = r.CheckBreak() } - if yyb2737 { + if yyb2768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35492,13 +35802,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2737++ - if yyhl2737 { - yyb2737 = yyj2737 > l + yyj2768++ + if yyhl2768 { + yyb2768 = yyj2768 > l } else { - yyb2737 = r.CheckBreak() + yyb2768 = r.CheckBreak() } - if yyb2737 { + if yyb2768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35508,13 +35818,13 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2737++ - if yyhl2737 { - yyb2737 = yyj2737 > l + yyj2768++ + if yyhl2768 { + yyb2768 = yyj2768 > l } else { - yyb2737 = r.CheckBreak() + yyb2768 = r.CheckBreak() } - if yyb2737 { + if yyb2768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35522,107 +35832,98 @@ func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2740 := &x.ObjectMeta - yyv2740.CodecDecodeSelf(d) + yyv2771 := &x.ObjectMeta + yyv2771.CodecDecodeSelf(d) } - yyj2737++ - if yyhl2737 { - yyb2737 = yyj2737 > l + yyj2768++ + if yyhl2768 { + yyb2768 = yyj2768 > l } else { - yyb2737 = r.CheckBreak() + yyb2768 = r.CheckBreak() } - if yyb2737 { + if yyb2768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Secrets = nil + x.Spec = ServiceSpec{} } else { - yyv2741 := &x.Secrets - yym2742 := z.DecBinary() - _ = yym2742 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2741), d) - } + yyv2772 := &x.Spec + yyv2772.CodecDecodeSelf(d) } - yyj2737++ - if yyhl2737 { - yyb2737 = yyj2737 > l + yyj2768++ + if yyhl2768 { + yyb2768 = yyj2768 > l } else { - yyb2737 = r.CheckBreak() + yyb2768 = r.CheckBreak() } - if yyb2737 { + if yyb2768 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil + x.Status = ServiceStatus{} } else { - yyv2743 := &x.ImagePullSecrets - yym2744 := z.DecBinary() - _ = yym2744 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2743), d) - } + yyv2773 := &x.Status + yyv2773.CodecDecodeSelf(d) } for { - yyj2737++ - if yyhl2737 { - yyb2737 = yyj2737 > l + yyj2768++ + if yyhl2768 { + yyb2768 = yyj2768 > l } else { - yyb2737 = r.CheckBreak() + yyb2768 = r.CheckBreak() } - if yyb2737 { + if yyb2768 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2737-1, "") + z.DecStructFieldNotFound(yyj2768-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym2745 := z.EncBinary() - _ = yym2745 + yym2774 := z.EncBinary() + _ = yym2774 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2746 := !z.EncBinary() - yy2arr2746 := z.EncBasicHandle().StructToArray - var yyq2746 [4]bool - _, _, _ = yysep2746, yyq2746, yy2arr2746 - const yyr2746 bool = false - yyq2746[0] = x.Kind != "" - yyq2746[1] = x.APIVersion != "" - yyq2746[2] = true - var yynn2746 int - if yyr2746 || yy2arr2746 { - r.EncodeArrayStart(4) + 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 { + r.EncodeArrayStart(5) } else { - yynn2746 = 1 - for _, b := range yyq2746 { + yynn2775 = 1 + for _, b := range yyq2775 { if b { - yynn2746++ + yynn2775++ } } - r.EncodeMapStart(yynn2746) - yynn2746 = 0 + r.EncodeMapStart(yynn2775) + yynn2775 = 0 } - if yyr2746 || yy2arr2746 { + if yyr2775 || yy2arr2775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2746[0] { - yym2748 := z.EncBinary() - _ = yym2748 + if yyq2775[0] { + yym2777 := z.EncBinary() + _ = yym2777 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -35631,432 +35932,121 @@ func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2746[0] { + if yyq2775[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2749 := z.EncBinary() - _ = yym2749 + yym2778 := z.EncBinary() + _ = yym2778 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2746 || yy2arr2746 { + if yyr2775 || yy2arr2775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2746[1] { - yym2751 := z.EncBinary() - _ = yym2751 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2746[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2752 := z.EncBinary() - _ = yym2752 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2746 || yy2arr2746 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2746[2] { - yy2754 := &x.ListMeta - yym2755 := z.EncBinary() - _ = yym2755 - if false { - } else if z.HasExtensions() && z.EncExt(yy2754) { - } else { - z.EncFallback(yy2754) - } - } else { - r.EncodeNil() - } - } else { - if yyq2746[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2756 := &x.ListMeta - yym2757 := z.EncBinary() - _ = yym2757 - if false { - } else if z.HasExtensions() && z.EncExt(yy2756) { - } else { - z.EncFallback(yy2756) - } - } - } - if yyr2746 || yy2arr2746 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2759 := z.EncBinary() - _ = yym2759 - if false { - } else { - h.encSliceServiceAccount(([]ServiceAccount)(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 { - yym2760 := z.EncBinary() - _ = yym2760 - if false { - } else { - h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) - } - } - } - if yyr2746 || yy2arr2746 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2761 := z.DecBinary() - _ = yym2761 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2762 := r.ContainerType() - if yyct2762 == codecSelferValueTypeMap1234 { - yyl2762 := r.ReadMapStart() - if yyl2762 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2762, d) - } - } else if yyct2762 == codecSelferValueTypeArray1234 { - yyl2762 := r.ReadArrayStart() - if yyl2762 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2762, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2763Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2763Slc - var yyhl2763 bool = l >= 0 - for yyj2763 := 0; ; yyj2763++ { - if yyhl2763 { - if yyj2763 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2763Slc = r.DecodeBytes(yys2763Slc, true, true) - yys2763 := string(yys2763Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2763 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv2766 := &x.ListMeta - yym2767 := z.DecBinary() - _ = yym2767 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2766) { - } else { - z.DecFallback(yyv2766, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2768 := &x.Items - yym2769 := z.DecBinary() - _ = yym2769 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2768), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys2763) - } // end switch yys2763 - } // end for yyj2763 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2770 int - var yyb2770 bool - var yyhl2770 bool = l >= 0 - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l - } else { - yyb2770 = r.CheckBreak() - } - if yyb2770 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l - } else { - yyb2770 = r.CheckBreak() - } - if yyb2770 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l - } else { - yyb2770 = r.CheckBreak() - } - if yyb2770 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv2773 := &x.ListMeta - yym2774 := z.DecBinary() - _ = yym2774 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2773) { - } else { - z.DecFallback(yyv2773, false) - } - } - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l - } else { - yyb2770 = r.CheckBreak() - } - if yyb2770 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2775 := &x.Items - yym2776 := z.DecBinary() - _ = yym2776 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2775), d) - } - } - for { - yyj2770++ - if yyhl2770 { - yyb2770 = yyj2770 > l - } else { - yyb2770 = r.CheckBreak() - } - if yyb2770 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2770-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2777 := z.EncBinary() - _ = yym2777 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2778 := !z.EncBinary() - yy2arr2778 := z.EncBasicHandle().StructToArray - var yyq2778 [4]bool - _, _, _ = yysep2778, yyq2778, yy2arr2778 - const yyr2778 bool = false - yyq2778[0] = x.Kind != "" - yyq2778[1] = x.APIVersion != "" - yyq2778[2] = true - var yynn2778 int - if yyr2778 || yy2arr2778 { - r.EncodeArrayStart(4) - } else { - yynn2778 = 1 - for _, b := range yyq2778 { - if b { - yynn2778++ - } - } - r.EncodeMapStart(yynn2778) - yynn2778 = 0 - } - if yyr2778 || yy2arr2778 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2778[0] { + if yyq2775[1] { yym2780 := z.EncBinary() _ = yym2780 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2778[0] { + if yyq2775[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym2781 := z.EncBinary() _ = yym2781 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2778 || yy2arr2778 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2778[1] { - yym2783 := z.EncBinary() - _ = yym2783 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2778[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2784 := z.EncBinary() - _ = yym2784 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2778 || yy2arr2778 { + if yyr2775 || yy2arr2775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2778[2] { - yy2786 := &x.ObjectMeta - yy2786.CodecEncodeSelf(e) + if yyq2775[2] { + yy2783 := &x.ObjectMeta + yy2783.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2778[2] { + if yyq2775[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2787 := &x.ObjectMeta - yy2787.CodecEncodeSelf(e) + yy2784 := &x.ObjectMeta + yy2784.CodecEncodeSelf(e) } } - if yyr2778 || yy2arr2778 { + if yyr2775 || yy2arr2775 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Subsets == nil { + if x.Secrets == nil { r.EncodeNil() } else { - yym2789 := z.EncBinary() - _ = yym2789 + yym2786 := z.EncBinary() + _ = yym2786 if false { } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Subsets")) + r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Subsets == nil { + if x.Secrets == nil { r.EncodeNil() } else { - yym2790 := z.EncBinary() - _ = yym2790 + yym2787 := z.EncBinary() + _ = yym2787 if false { } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) } } } - if yyr2778 || yy2arr2778 { + if yyr2775 || yy2arr2775 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2775[4] { + if x.ImagePullSecrets == nil { + r.EncodeNil() + } else { + yym2789 := z.EncBinary() + _ = yym2789 + if false { + } else { + h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2775[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 + if false { + } else { + h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) + } + } + } + } + if yyr2775 || yy2arr2775 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36065,7 +36055,7 @@ func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -36095,7 +36085,7 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -36136,16 +36126,28 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yyv2796 := &x.ObjectMeta yyv2796.CodecDecodeSelf(d) } - case "Subsets": + case "secrets": if r.TryDecodeAsNil() { - x.Subsets = nil + x.Secrets = nil } else { - yyv2797 := &x.Subsets + yyv2797 := &x.Secrets yym2798 := z.DecBinary() _ = yym2798 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2797), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2797), d) + } + } + case "imagePullSecrets": + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2799 := &x.ImagePullSecrets + yym2800 := z.DecBinary() + _ = yym2800 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2799), d) } } default: @@ -36155,20 +36157,20 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2799 int - var yyb2799 bool - var yyhl2799 bool = l >= 0 - yyj2799++ - if yyhl2799 { - yyb2799 = yyj2799 > l + var yyj2801 int + var yyb2801 bool + var yyhl2801 bool = l >= 0 + yyj2801++ + if yyhl2801 { + yyb2801 = yyj2801 > l } else { - yyb2799 = r.CheckBreak() + yyb2801 = r.CheckBreak() } - if yyb2799 { + if yyb2801 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36178,13 +36180,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2799++ - if yyhl2799 { - yyb2799 = yyj2799 > l + yyj2801++ + if yyhl2801 { + yyb2801 = yyj2801 > l } else { - yyb2799 = r.CheckBreak() + yyb2801 = r.CheckBreak() } - if yyb2799 { + if yyb2801 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36194,13 +36196,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2799++ - if yyhl2799 { - yyb2799 = yyj2799 > l + yyj2801++ + if yyhl2801 { + yyb2801 = yyj2801 > l } else { - yyb2799 = r.CheckBreak() + yyb2801 = r.CheckBreak() } - if yyb2799 { + if yyb2801 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36208,16 +36210,702 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2802 := &x.ObjectMeta - yyv2802.CodecDecodeSelf(d) + yyv2804 := &x.ObjectMeta + yyv2804.CodecDecodeSelf(d) } - yyj2799++ - if yyhl2799 { - yyb2799 = yyj2799 > l + yyj2801++ + if yyhl2801 { + yyb2801 = yyj2801 > l } else { - yyb2799 = r.CheckBreak() + yyb2801 = r.CheckBreak() } - if yyb2799 { + if yyb2801 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2805 := &x.Secrets + yym2806 := z.DecBinary() + _ = yym2806 + if false { + } else { + h.decSliceObjectReference((*[]ObjectReference)(yyv2805), d) + } + } + yyj2801++ + if yyhl2801 { + yyb2801 = yyj2801 > l + } else { + yyb2801 = r.CheckBreak() + } + if yyb2801 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2807 := &x.ImagePullSecrets + yym2808 := z.DecBinary() + _ = yym2808 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2807), d) + } + } + for { + yyj2801++ + if yyhl2801 { + yyb2801 = yyj2801 > l + } else { + yyb2801 = r.CheckBreak() + } + if yyb2801 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2801-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2809 := z.EncBinary() + _ = yym2809 + 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 { + r.EncodeArrayStart(4) + } else { + yynn2810 = 1 + for _, b := range yyq2810 { + if b { + yynn2810++ + } + } + r.EncodeMapStart(yynn2810) + yynn2810 = 0 + } + if yyr2810 || yy2arr2810 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2810[0] { + yym2812 := z.EncBinary() + _ = yym2812 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2810[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2813 := z.EncBinary() + _ = yym2813 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2810 || yy2arr2810 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2810[1] { + yym2815 := z.EncBinary() + _ = yym2815 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2810[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2816 := z.EncBinary() + _ = yym2816 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2810 || yy2arr2810 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2810[2] { + yy2818 := &x.ListMeta + yym2819 := z.EncBinary() + _ = yym2819 + if false { + } else if z.HasExtensions() && z.EncExt(yy2818) { + } else { + z.EncFallback(yy2818) + } + } else { + r.EncodeNil() + } + } else { + if yyq2810[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2820 := &x.ListMeta + yym2821 := z.EncBinary() + _ = yym2821 + if false { + } else if z.HasExtensions() && z.EncExt(yy2820) { + } else { + z.EncFallback(yy2820) + } + } + } + if yyr2810 || yy2arr2810 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2823 := z.EncBinary() + _ = yym2823 + if false { + } else { + h.encSliceServiceAccount(([]ServiceAccount)(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 { + yym2824 := z.EncBinary() + _ = yym2824 + if false { + } else { + h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) + } + } + } + if yyr2810 || yy2arr2810 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2825 := z.DecBinary() + _ = yym2825 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2826 := r.ContainerType() + if yyct2826 == codecSelferValueTypeMap1234 { + yyl2826 := r.ReadMapStart() + if yyl2826 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2826, d) + } + } else if yyct2826 == codecSelferValueTypeArray1234 { + yyl2826 := r.ReadArrayStart() + if yyl2826 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2826, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2827Slc = r.DecodeBytes(yys2827Slc, true, true) + yys2827 := string(yys2827Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2827 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv2830 := &x.ListMeta + yym2831 := z.DecBinary() + _ = yym2831 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2830) { + } else { + z.DecFallback(yyv2830, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2832 := &x.Items + yym2833 := z.DecBinary() + _ = yym2833 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2832), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys2827) + } // end switch yys2827 + } // end for yyj2827 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb2834 = r.CheckBreak() + } + if yyb2834 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2834++ + if yyhl2834 { + yyb2834 = yyj2834 > l + } else { + yyb2834 = r.CheckBreak() + } + if yyb2834 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2834++ + if yyhl2834 { + yyb2834 = yyj2834 > l + } else { + yyb2834 = r.CheckBreak() + } + if yyb2834 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2837 := &x.ListMeta + yym2838 := z.DecBinary() + _ = yym2838 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2837) { + } else { + z.DecFallback(yyv2837, false) + } + } + yyj2834++ + if yyhl2834 { + yyb2834 = yyj2834 > l + } else { + yyb2834 = r.CheckBreak() + } + if yyb2834 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2839 := &x.Items + yym2840 := z.DecBinary() + _ = yym2840 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2839), d) + } + } + for { + yyj2834++ + if yyhl2834 { + yyb2834 = yyj2834 > l + } else { + yyb2834 = r.CheckBreak() + } + if yyb2834 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2834-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2841 := z.EncBinary() + _ = yym2841 + 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 { + r.EncodeArrayStart(4) + } else { + yynn2842 = 1 + for _, b := range yyq2842 { + if b { + yynn2842++ + } + } + r.EncodeMapStart(yynn2842) + yynn2842 = 0 + } + if yyr2842 || yy2arr2842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2842[0] { + yym2844 := z.EncBinary() + _ = yym2844 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2842[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2845 := z.EncBinary() + _ = yym2845 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2842 || yy2arr2842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2842[1] { + yym2847 := z.EncBinary() + _ = yym2847 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2842[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2848 := z.EncBinary() + _ = yym2848 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2842 || yy2arr2842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2842[2] { + yy2850 := &x.ObjectMeta + yy2850.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2842[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2851 := &x.ObjectMeta + yy2851.CodecEncodeSelf(e) + } + } + if yyr2842 || yy2arr2842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2853 := z.EncBinary() + _ = yym2853 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("Subsets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2854 := z.EncBinary() + _ = yym2854 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } + if yyr2842 || yy2arr2842 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2855 := z.DecBinary() + _ = yym2855 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2856 := r.ContainerType() + if yyct2856 == codecSelferValueTypeMap1234 { + yyl2856 := r.ReadMapStart() + if yyl2856 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2856, d) + } + } else if yyct2856 == codecSelferValueTypeArray1234 { + yyl2856 := r.ReadArrayStart() + if yyl2856 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2856, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2857Slc = r.DecodeBytes(yys2857Slc, true, true) + yys2857 := string(yys2857Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2857 { + 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 = ObjectMeta{} + } else { + yyv2860 := &x.ObjectMeta + yyv2860.CodecDecodeSelf(d) + } + case "Subsets": + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2861 := &x.Subsets + yym2862 := z.DecBinary() + _ = yym2862 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2861), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys2857) + } // end switch yys2857 + } // end for yyj2857 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb2863 = r.CheckBreak() + } + if yyb2863 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2863++ + if yyhl2863 { + yyb2863 = yyj2863 > l + } else { + yyb2863 = r.CheckBreak() + } + if yyb2863 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2863++ + if yyhl2863 { + yyb2863 = yyj2863 > l + } else { + yyb2863 = r.CheckBreak() + } + if yyb2863 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2866 := &x.ObjectMeta + yyv2866.CodecDecodeSelf(d) + } + yyj2863++ + if yyhl2863 { + yyb2863 = yyj2863 > l + } else { + yyb2863 = r.CheckBreak() + } + if yyb2863 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36225,26 +36913,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2803 := &x.Subsets - yym2804 := z.DecBinary() - _ = yym2804 + yyv2867 := &x.Subsets + yym2868 := z.DecBinary() + _ = yym2868 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2803), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2867), d) } } for { - yyj2799++ - if yyhl2799 { - yyb2799 = yyj2799 > l + yyj2863++ + if yyhl2863 { + yyb2863 = yyj2863 > l } else { - yyb2799 = r.CheckBreak() + yyb2863 = r.CheckBreak() } - if yyb2799 { + if yyb2863 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2799-1, "") + z.DecStructFieldNotFound(yyj2863-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36256,36 +36944,36 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2805 := z.EncBinary() - _ = yym2805 + yym2869 := z.EncBinary() + _ = yym2869 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2806 := !z.EncBinary() - yy2arr2806 := z.EncBasicHandle().StructToArray - var yyq2806 [3]bool - _, _, _ = yysep2806, yyq2806, yy2arr2806 - const yyr2806 bool = false - var yynn2806 int - if yyr2806 || yy2arr2806 { + yysep2870 := !z.EncBinary() + yy2arr2870 := z.EncBasicHandle().StructToArray + var yyq2870 [3]bool + _, _, _ = yysep2870, yyq2870, yy2arr2870 + const yyr2870 bool = false + var yynn2870 int + if yyr2870 || yy2arr2870 { r.EncodeArrayStart(3) } else { - yynn2806 = 3 - for _, b := range yyq2806 { + yynn2870 = 3 + for _, b := range yyq2870 { if b { - yynn2806++ + yynn2870++ } } - r.EncodeMapStart(yynn2806) - yynn2806 = 0 + r.EncodeMapStart(yynn2870) + yynn2870 = 0 } - if yyr2806 || yy2arr2806 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2808 := z.EncBinary() - _ = yym2808 + yym2872 := z.EncBinary() + _ = yym2872 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -36298,21 +36986,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Addresses == nil { r.EncodeNil() } else { - yym2809 := z.EncBinary() - _ = yym2809 + yym2873 := z.EncBinary() + _ = yym2873 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) } } } - if yyr2806 || yy2arr2806 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2811 := z.EncBinary() - _ = yym2811 + yym2875 := z.EncBinary() + _ = yym2875 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -36325,21 +37013,21 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2812 := z.EncBinary() - _ = yym2812 + yym2876 := z.EncBinary() + _ = yym2876 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) } } } - if yyr2806 || yy2arr2806 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2814 := z.EncBinary() - _ = yym2814 + yym2878 := z.EncBinary() + _ = yym2878 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -36352,15 +37040,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2815 := z.EncBinary() - _ = yym2815 + yym2879 := z.EncBinary() + _ = yym2879 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) } } } - if yyr2806 || yy2arr2806 { + if yyr2870 || yy2arr2870 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36373,25 +37061,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2816 := z.DecBinary() - _ = yym2816 + yym2880 := z.DecBinary() + _ = yym2880 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2817 := r.ContainerType() - if yyct2817 == codecSelferValueTypeMap1234 { - yyl2817 := r.ReadMapStart() - if yyl2817 == 0 { + yyct2881 := r.ContainerType() + if yyct2881 == codecSelferValueTypeMap1234 { + yyl2881 := r.ReadMapStart() + if yyl2881 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2817, d) + x.codecDecodeSelfFromMap(yyl2881, d) } - } else if yyct2817 == codecSelferValueTypeArray1234 { - yyl2817 := r.ReadArrayStart() - if yyl2817 == 0 { + } else if yyct2881 == codecSelferValueTypeArray1234 { + yyl2881 := r.ReadArrayStart() + if yyl2881 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2817, d) + x.codecDecodeSelfFromArray(yyl2881, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36403,12 +37091,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2818Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2818Slc - var yyhl2818 bool = l >= 0 - for yyj2818 := 0; ; yyj2818++ { - if yyhl2818 { - if yyj2818 >= l { + var yys2882Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2882Slc + var yyhl2882 bool = l >= 0 + for yyj2882 := 0; ; yyj2882++ { + if yyhl2882 { + if yyj2882 >= l { break } } else { @@ -36417,50 +37105,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2818Slc = r.DecodeBytes(yys2818Slc, true, true) - yys2818 := string(yys2818Slc) + yys2882Slc = r.DecodeBytes(yys2882Slc, true, true) + yys2882 := string(yys2882Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2818 { + switch yys2882 { case "Addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2819 := &x.Addresses - yym2820 := z.DecBinary() - _ = yym2820 + yyv2883 := &x.Addresses + yym2884 := z.DecBinary() + _ = yym2884 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2819), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2883), d) } } case "NotReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2821 := &x.NotReadyAddresses - yym2822 := z.DecBinary() - _ = yym2822 + yyv2885 := &x.NotReadyAddresses + yym2886 := z.DecBinary() + _ = yym2886 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2821), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2885), d) } } case "Ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2823 := &x.Ports - yym2824 := z.DecBinary() - _ = yym2824 + yyv2887 := &x.Ports + yym2888 := z.DecBinary() + _ = yym2888 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2823), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2887), d) } } default: - z.DecStructFieldNotFound(-1, yys2818) - } // end switch yys2818 - } // end for yyj2818 + z.DecStructFieldNotFound(-1, yys2882) + } // end switch yys2882 + } // end for yyj2882 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36468,16 +37156,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2825 int - var yyb2825 bool - var yyhl2825 bool = l >= 0 - yyj2825++ - if yyhl2825 { - yyb2825 = yyj2825 > l + var yyj2889 int + var yyb2889 bool + var yyhl2889 bool = l >= 0 + yyj2889++ + if yyhl2889 { + yyb2889 = yyj2889 > l } else { - yyb2825 = r.CheckBreak() + yyb2889 = r.CheckBreak() } - if yyb2825 { + if yyb2889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36485,21 +37173,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2826 := &x.Addresses - yym2827 := z.DecBinary() - _ = yym2827 + yyv2890 := &x.Addresses + yym2891 := z.DecBinary() + _ = yym2891 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2826), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2890), d) } } - yyj2825++ - if yyhl2825 { - yyb2825 = yyj2825 > l + yyj2889++ + if yyhl2889 { + yyb2889 = yyj2889 > l } else { - yyb2825 = r.CheckBreak() + yyb2889 = r.CheckBreak() } - if yyb2825 { + if yyb2889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36507,21 +37195,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2828 := &x.NotReadyAddresses - yym2829 := z.DecBinary() - _ = yym2829 + yyv2892 := &x.NotReadyAddresses + yym2893 := z.DecBinary() + _ = yym2893 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2828), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2892), d) } } - yyj2825++ - if yyhl2825 { - yyb2825 = yyj2825 > l + yyj2889++ + if yyhl2889 { + yyb2889 = yyj2889 > l } else { - yyb2825 = r.CheckBreak() + yyb2889 = r.CheckBreak() } - if yyb2825 { + if yyb2889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36529,26 +37217,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2830 := &x.Ports - yym2831 := z.DecBinary() - _ = yym2831 + yyv2894 := &x.Ports + yym2895 := z.DecBinary() + _ = yym2895 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2830), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2894), d) } } for { - yyj2825++ - if yyhl2825 { - yyb2825 = yyj2825 > l + yyj2889++ + if yyhl2889 { + yyb2889 = yyj2889 > l } else { - yyb2825 = r.CheckBreak() + yyb2889 = r.CheckBreak() } - if yyb2825 { + if yyb2889 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2825-1, "") + z.DecStructFieldNotFound(yyj2889-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36560,35 +37248,35 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2832 := z.EncBinary() - _ = yym2832 + yym2896 := z.EncBinary() + _ = yym2896 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2833 := !z.EncBinary() - yy2arr2833 := z.EncBasicHandle().StructToArray - var yyq2833 [4]bool - _, _, _ = yysep2833, yyq2833, yy2arr2833 - const yyr2833 bool = false - yyq2833[1] = x.Hostname != "" - yyq2833[2] = x.NodeName != nil - var yynn2833 int - if yyr2833 || yy2arr2833 { + 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 { r.EncodeArrayStart(4) } else { - yynn2833 = 2 - for _, b := range yyq2833 { + yynn2897 = 2 + for _, b := range yyq2897 { if b { - yynn2833++ + yynn2897++ } } - r.EncodeMapStart(yynn2833) - yynn2833 = 0 + r.EncodeMapStart(yynn2897) + yynn2897 = 0 } - if yyr2833 || yy2arr2833 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2835 := z.EncBinary() - _ = yym2835 + yym2899 := z.EncBinary() + _ = yym2899 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -36597,18 +37285,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("IP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2836 := z.EncBinary() - _ = yym2836 + yym2900 := z.EncBinary() + _ = yym2900 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2833 || yy2arr2833 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2833[1] { - yym2838 := z.EncBinary() - _ = yym2838 + if yyq2897[1] { + yym2902 := z.EncBinary() + _ = yym2902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -36617,54 +37305,54 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2833[1] { + if yyq2897[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2839 := z.EncBinary() - _ = yym2839 + yym2903 := z.EncBinary() + _ = yym2903 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2833 || yy2arr2833 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2833[2] { + if yyq2897[2] { if x.NodeName == nil { r.EncodeNil() } else { - yy2841 := *x.NodeName - yym2842 := z.EncBinary() - _ = yym2842 + yy2905 := *x.NodeName + yym2906 := z.EncBinary() + _ = yym2906 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2841)) + r.EncodeString(codecSelferC_UTF81234, string(yy2905)) } } } else { r.EncodeNil() } } else { - if yyq2833[2] { + if yyq2897[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeName == nil { r.EncodeNil() } else { - yy2843 := *x.NodeName - yym2844 := z.EncBinary() - _ = yym2844 + yy2907 := *x.NodeName + yym2908 := z.EncBinary() + _ = yym2908 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2843)) + r.EncodeString(codecSelferC_UTF81234, string(yy2907)) } } } } - if yyr2833 || yy2arr2833 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetRef == nil { r.EncodeNil() @@ -36681,7 +37369,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { x.TargetRef.CodecEncodeSelf(e) } } - if yyr2833 || yy2arr2833 { + if yyr2897 || yy2arr2897 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36694,25 +37382,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2846 := z.DecBinary() - _ = yym2846 + yym2910 := z.DecBinary() + _ = yym2910 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2847 := r.ContainerType() - if yyct2847 == codecSelferValueTypeMap1234 { - yyl2847 := r.ReadMapStart() - if yyl2847 == 0 { + yyct2911 := r.ContainerType() + if yyct2911 == codecSelferValueTypeMap1234 { + yyl2911 := r.ReadMapStart() + if yyl2911 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2847, d) + x.codecDecodeSelfFromMap(yyl2911, d) } - } else if yyct2847 == codecSelferValueTypeArray1234 { - yyl2847 := r.ReadArrayStart() - if yyl2847 == 0 { + } else if yyct2911 == codecSelferValueTypeArray1234 { + yyl2911 := r.ReadArrayStart() + if yyl2911 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2847, d) + x.codecDecodeSelfFromArray(yyl2911, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36724,12 +37412,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2848Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2848Slc - var yyhl2848 bool = l >= 0 - for yyj2848 := 0; ; yyj2848++ { - if yyhl2848 { - if yyj2848 >= l { + var yys2912Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2912Slc + var yyhl2912 bool = l >= 0 + for yyj2912 := 0; ; yyj2912++ { + if yyhl2912 { + if yyj2912 >= l { break } } else { @@ -36738,10 +37426,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2848Slc = r.DecodeBytes(yys2848Slc, true, true) - yys2848 := string(yys2848Slc) + yys2912Slc = r.DecodeBytes(yys2912Slc, true, true) + yys2912 := string(yys2912Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2848 { + switch yys2912 { case "IP": if r.TryDecodeAsNil() { x.IP = "" @@ -36763,8 +37451,8 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.NodeName == nil { x.NodeName = new(string) } - yym2852 := z.DecBinary() - _ = yym2852 + yym2916 := z.DecBinary() + _ = yym2916 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() @@ -36782,9 +37470,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2848) - } // end switch yys2848 - } // end for yyj2848 + z.DecStructFieldNotFound(-1, yys2912) + } // end switch yys2912 + } // end for yyj2912 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36792,16 +37480,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2854 int - var yyb2854 bool - var yyhl2854 bool = l >= 0 - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + var yyj2918 int + var yyb2918 bool + var yyhl2918 bool = l >= 0 + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2854 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2854 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36811,13 +37499,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2854 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2854 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36827,13 +37515,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Hostname = string(r.DecodeString()) } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2854 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2854 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36846,20 +37534,20 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.NodeName == nil { x.NodeName = new(string) } - yym2858 := z.DecBinary() - _ = yym2858 + yym2922 := z.DecBinary() + _ = yym2922 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() } } - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2854 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2854 { + if yyb2918 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36875,17 +37563,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2854++ - if yyhl2854 { - yyb2854 = yyj2854 > l + yyj2918++ + if yyhl2918 { + yyb2918 = yyj2918 > l } else { - yyb2854 = r.CheckBreak() + yyb2918 = r.CheckBreak() } - if yyb2854 { + if yyb2918 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2854-1, "") + z.DecStructFieldNotFound(yyj2918-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36897,33 +37585,33 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2860 := z.EncBinary() - _ = yym2860 + yym2924 := z.EncBinary() + _ = yym2924 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2861 := !z.EncBinary() - yy2arr2861 := z.EncBasicHandle().StructToArray - var yyq2861 [3]bool - _, _, _ = yysep2861, yyq2861, yy2arr2861 - const yyr2861 bool = false - var yynn2861 int - if yyr2861 || yy2arr2861 { + yysep2925 := !z.EncBinary() + yy2arr2925 := z.EncBasicHandle().StructToArray + var yyq2925 [3]bool + _, _, _ = yysep2925, yyq2925, yy2arr2925 + const yyr2925 bool = false + var yynn2925 int + if yyr2925 || yy2arr2925 { r.EncodeArrayStart(3) } else { - yynn2861 = 3 - for _, b := range yyq2861 { + yynn2925 = 3 + for _, b := range yyq2925 { if b { - yynn2861++ + yynn2925++ } } - r.EncodeMapStart(yynn2861) - yynn2861 = 0 + r.EncodeMapStart(yynn2925) + yynn2925 = 0 } - if yyr2861 || yy2arr2861 { + if yyr2925 || yy2arr2925 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2863 := z.EncBinary() - _ = yym2863 + yym2927 := z.EncBinary() + _ = yym2927 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -36932,17 +37620,17 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2864 := z.EncBinary() - _ = yym2864 + yym2928 := z.EncBinary() + _ = yym2928 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr2861 || yy2arr2861 { + if yyr2925 || yy2arr2925 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2866 := z.EncBinary() - _ = yym2866 + yym2930 := z.EncBinary() + _ = yym2930 if false { } else { r.EncodeInt(int64(x.Port)) @@ -36951,14 +37639,14 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2867 := z.EncBinary() - _ = yym2867 + yym2931 := z.EncBinary() + _ = yym2931 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2861 || yy2arr2861 { + if yyr2925 || yy2arr2925 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Protocol.CodecEncodeSelf(e) } else { @@ -36967,7 +37655,7 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } - if yyr2861 || yy2arr2861 { + if yyr2925 || yy2arr2925 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36980,25 +37668,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2869 := z.DecBinary() - _ = yym2869 + yym2933 := z.DecBinary() + _ = yym2933 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2870 := r.ContainerType() - if yyct2870 == codecSelferValueTypeMap1234 { - yyl2870 := r.ReadMapStart() - if yyl2870 == 0 { + yyct2934 := r.ContainerType() + if yyct2934 == codecSelferValueTypeMap1234 { + yyl2934 := r.ReadMapStart() + if yyl2934 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2870, d) + x.codecDecodeSelfFromMap(yyl2934, d) } - } else if yyct2870 == codecSelferValueTypeArray1234 { - yyl2870 := r.ReadArrayStart() - if yyl2870 == 0 { + } else if yyct2934 == codecSelferValueTypeArray1234 { + yyl2934 := r.ReadArrayStart() + if yyl2934 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2870, d) + x.codecDecodeSelfFromArray(yyl2934, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37010,12 +37698,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2871Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2871Slc - var yyhl2871 bool = l >= 0 - for yyj2871 := 0; ; yyj2871++ { - if yyhl2871 { - if yyj2871 >= l { + var yys2935Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2935Slc + var yyhl2935 bool = l >= 0 + for yyj2935 := 0; ; yyj2935++ { + if yyhl2935 { + if yyj2935 >= l { break } } else { @@ -37024,10 +37712,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2871Slc = r.DecodeBytes(yys2871Slc, true, true) - yys2871 := string(yys2871Slc) + yys2935Slc = r.DecodeBytes(yys2935Slc, true, true) + yys2935 := string(yys2935Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2871 { + switch yys2935 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -37047,9 +37735,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2871) - } // end switch yys2871 - } // end for yyj2871 + z.DecStructFieldNotFound(-1, yys2935) + } // end switch yys2935 + } // end for yyj2935 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37057,16 +37745,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2875 int - var yyb2875 bool - var yyhl2875 bool = l >= 0 - yyj2875++ - if yyhl2875 { - yyb2875 = yyj2875 > l + var yyj2939 int + var yyb2939 bool + var yyhl2939 bool = l >= 0 + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2875 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2875 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37076,13 +37764,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2875++ - if yyhl2875 { - yyb2875 = yyj2875 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2875 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2875 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37092,13 +37780,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2875++ - if yyhl2875 { - yyb2875 = yyj2875 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2875 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2875 { + if yyb2939 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37109,17 +37797,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj2875++ - if yyhl2875 { - yyb2875 = yyj2875 > l + yyj2939++ + if yyhl2939 { + yyb2939 = yyj2939 > l } else { - yyb2875 = r.CheckBreak() + yyb2939 = r.CheckBreak() } - if yyb2875 { + if yyb2939 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2875-1, "") + z.DecStructFieldNotFound(yyj2939-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37131,37 +37819,37 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2879 := z.EncBinary() - _ = yym2879 + yym2943 := z.EncBinary() + _ = yym2943 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2880 := !z.EncBinary() - yy2arr2880 := z.EncBasicHandle().StructToArray - var yyq2880 [4]bool - _, _, _ = yysep2880, yyq2880, yy2arr2880 - const yyr2880 bool = false - yyq2880[0] = x.Kind != "" - yyq2880[1] = x.APIVersion != "" - yyq2880[2] = true - var yynn2880 int - if yyr2880 || yy2arr2880 { + 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 { r.EncodeArrayStart(4) } else { - yynn2880 = 1 - for _, b := range yyq2880 { + yynn2944 = 1 + for _, b := range yyq2944 { if b { - yynn2880++ + yynn2944++ } } - r.EncodeMapStart(yynn2880) - yynn2880 = 0 + r.EncodeMapStart(yynn2944) + yynn2944 = 0 } - if yyr2880 || yy2arr2880 { + if yyr2944 || yy2arr2944 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2880[0] { - yym2882 := z.EncBinary() - _ = yym2882 + if yyq2944[0] { + yym2946 := z.EncBinary() + _ = yym2946 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -37170,23 +37858,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2880[0] { + if yyq2944[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2883 := z.EncBinary() - _ = yym2883 + yym2947 := z.EncBinary() + _ = yym2947 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2880 || yy2arr2880 { + if yyr2944 || yy2arr2944 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2880[1] { - yym2885 := z.EncBinary() - _ = yym2885 + if yyq2944[1] { + yym2949 := z.EncBinary() + _ = yym2949 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -37195,54 +37883,54 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2880[1] { + if yyq2944[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2886 := z.EncBinary() - _ = yym2886 + yym2950 := z.EncBinary() + _ = yym2950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2880 || yy2arr2880 { + if yyr2944 || yy2arr2944 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2880[2] { - yy2888 := &x.ListMeta - yym2889 := z.EncBinary() - _ = yym2889 + if yyq2944[2] { + yy2952 := &x.ListMeta + yym2953 := z.EncBinary() + _ = yym2953 if false { - } else if z.HasExtensions() && z.EncExt(yy2888) { + } else if z.HasExtensions() && z.EncExt(yy2952) { } else { - z.EncFallback(yy2888) + z.EncFallback(yy2952) } } else { r.EncodeNil() } } else { - if yyq2880[2] { + if yyq2944[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2890 := &x.ListMeta - yym2891 := z.EncBinary() - _ = yym2891 + yy2954 := &x.ListMeta + yym2955 := z.EncBinary() + _ = yym2955 if false { - } else if z.HasExtensions() && z.EncExt(yy2890) { + } else if z.HasExtensions() && z.EncExt(yy2954) { } else { - z.EncFallback(yy2890) + z.EncFallback(yy2954) } } } - if yyr2880 || yy2arr2880 { + if yyr2944 || yy2arr2944 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2893 := z.EncBinary() - _ = yym2893 + yym2957 := z.EncBinary() + _ = yym2957 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -37255,15 +37943,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2894 := z.EncBinary() - _ = yym2894 + yym2958 := z.EncBinary() + _ = yym2958 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2880 || yy2arr2880 { + if yyr2944 || yy2arr2944 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37276,25 +37964,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2895 := z.DecBinary() - _ = yym2895 + yym2959 := z.DecBinary() + _ = yym2959 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2896 := r.ContainerType() - if yyct2896 == codecSelferValueTypeMap1234 { - yyl2896 := r.ReadMapStart() - if yyl2896 == 0 { + yyct2960 := r.ContainerType() + if yyct2960 == codecSelferValueTypeMap1234 { + yyl2960 := r.ReadMapStart() + if yyl2960 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2896, d) + x.codecDecodeSelfFromMap(yyl2960, d) } - } else if yyct2896 == codecSelferValueTypeArray1234 { - yyl2896 := r.ReadArrayStart() - if yyl2896 == 0 { + } else if yyct2960 == codecSelferValueTypeArray1234 { + yyl2960 := r.ReadArrayStart() + if yyl2960 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2896, d) + x.codecDecodeSelfFromArray(yyl2960, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37306,12 +37994,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2897Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2897Slc - var yyhl2897 bool = l >= 0 - for yyj2897 := 0; ; yyj2897++ { - if yyhl2897 { - if yyj2897 >= l { + var yys2961Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2961Slc + var yyhl2961 bool = l >= 0 + for yyj2961 := 0; ; yyj2961++ { + if yyhl2961 { + if yyj2961 >= l { break } } else { @@ -37320,10 +38008,10 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2897Slc = r.DecodeBytes(yys2897Slc, true, true) - yys2897 := string(yys2897Slc) + yys2961Slc = r.DecodeBytes(yys2961Slc, true, true) + yys2961 := string(yys2961Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2897 { + switch yys2961 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -37340,31 +38028,31 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2900 := &x.ListMeta - yym2901 := z.DecBinary() - _ = yym2901 + yyv2964 := &x.ListMeta + yym2965 := z.DecBinary() + _ = yym2965 if false { - } else if z.HasExtensions() && z.DecExt(yyv2900) { + } else if z.HasExtensions() && z.DecExt(yyv2964) { } else { - z.DecFallback(yyv2900, false) + z.DecFallback(yyv2964, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2902 := &x.Items - yym2903 := z.DecBinary() - _ = yym2903 + yyv2966 := &x.Items + yym2967 := z.DecBinary() + _ = yym2967 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2902), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2966), d) } } default: - z.DecStructFieldNotFound(-1, yys2897) - } // end switch yys2897 - } // end for yyj2897 + z.DecStructFieldNotFound(-1, yys2961) + } // end switch yys2961 + } // end for yyj2961 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37372,16 +38060,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2904 int - var yyb2904 bool - var yyhl2904 bool = l >= 0 - yyj2904++ - if yyhl2904 { - yyb2904 = yyj2904 > l + var yyj2968 int + var yyb2968 bool + var yyhl2968 bool = l >= 0 + yyj2968++ + if yyhl2968 { + yyb2968 = yyj2968 > l } else { - yyb2904 = r.CheckBreak() + yyb2968 = r.CheckBreak() } - if yyb2904 { + if yyb2968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37391,13 +38079,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2904++ - if yyhl2904 { - yyb2904 = yyj2904 > l + yyj2968++ + if yyhl2968 { + yyb2968 = yyj2968 > l } else { - yyb2904 = r.CheckBreak() + yyb2968 = r.CheckBreak() } - if yyb2904 { + if yyb2968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37407,13 +38095,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2904++ - if yyhl2904 { - yyb2904 = yyj2904 > l + yyj2968++ + if yyhl2968 { + yyb2968 = yyj2968 > l } else { - yyb2904 = r.CheckBreak() + yyb2968 = r.CheckBreak() } - if yyb2904 { + if yyb2968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37421,22 +38109,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2907 := &x.ListMeta - yym2908 := z.DecBinary() - _ = yym2908 + yyv2971 := &x.ListMeta + yym2972 := z.DecBinary() + _ = yym2972 if false { - } else if z.HasExtensions() && z.DecExt(yyv2907) { + } else if z.HasExtensions() && z.DecExt(yyv2971) { } else { - z.DecFallback(yyv2907, false) + z.DecFallback(yyv2971, false) } } - yyj2904++ - if yyhl2904 { - yyb2904 = yyj2904 > l + yyj2968++ + if yyhl2968 { + yyb2968 = yyj2968 > l } else { - yyb2904 = r.CheckBreak() + yyb2968 = r.CheckBreak() } - if yyb2904 { + if yyb2968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37444,26 +38132,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2909 := &x.Items - yym2910 := z.DecBinary() - _ = yym2910 + yyv2973 := &x.Items + yym2974 := z.DecBinary() + _ = yym2974 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2909), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2973), d) } } for { - yyj2904++ - if yyhl2904 { - yyb2904 = yyj2904 > l + yyj2968++ + if yyhl2968 { + yyb2968 = yyj2968 > l } else { - yyb2904 = r.CheckBreak() + yyb2968 = r.CheckBreak() } - if yyb2904 { + if yyb2968 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2904-1, "") + z.DecStructFieldNotFound(yyj2968-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37475,38 +38163,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2911 := z.EncBinary() - _ = yym2911 + yym2975 := z.EncBinary() + _ = yym2975 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2912 := !z.EncBinary() - yy2arr2912 := z.EncBasicHandle().StructToArray - var yyq2912 [4]bool - _, _, _ = yysep2912, yyq2912, yy2arr2912 - const yyr2912 bool = false - yyq2912[0] = x.PodCIDR != "" - yyq2912[1] = x.ExternalID != "" - yyq2912[2] = x.ProviderID != "" - yyq2912[3] = x.Unschedulable != false - var yynn2912 int - if yyr2912 || yy2arr2912 { + 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 { r.EncodeArrayStart(4) } else { - yynn2912 = 0 - for _, b := range yyq2912 { + yynn2976 = 0 + for _, b := range yyq2976 { if b { - yynn2912++ + yynn2976++ } } - r.EncodeMapStart(yynn2912) - yynn2912 = 0 + r.EncodeMapStart(yynn2976) + yynn2976 = 0 } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2912[0] { - yym2914 := z.EncBinary() - _ = yym2914 + if yyq2976[0] { + yym2978 := z.EncBinary() + _ = yym2978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -37515,23 +38203,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2912[0] { + if yyq2976[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2915 := z.EncBinary() - _ = yym2915 + yym2979 := z.EncBinary() + _ = yym2979 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2912[1] { - yym2917 := z.EncBinary() - _ = yym2917 + if yyq2976[1] { + yym2981 := z.EncBinary() + _ = yym2981 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -37540,23 +38228,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2912[1] { + if yyq2976[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2918 := z.EncBinary() - _ = yym2918 + yym2982 := z.EncBinary() + _ = yym2982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2912[2] { - yym2920 := z.EncBinary() - _ = yym2920 + if yyq2976[2] { + yym2984 := z.EncBinary() + _ = yym2984 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -37565,23 +38253,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2912[2] { + if yyq2976[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2921 := z.EncBinary() - _ = yym2921 + yym2985 := z.EncBinary() + _ = yym2985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2912[3] { - yym2923 := z.EncBinary() - _ = yym2923 + if yyq2976[3] { + yym2987 := z.EncBinary() + _ = yym2987 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -37590,19 +38278,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2912[3] { + if yyq2976[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2924 := z.EncBinary() - _ = yym2924 + yym2988 := z.EncBinary() + _ = yym2988 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37615,25 +38303,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2925 := z.DecBinary() - _ = yym2925 + yym2989 := z.DecBinary() + _ = yym2989 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2926 := r.ContainerType() - if yyct2926 == codecSelferValueTypeMap1234 { - yyl2926 := r.ReadMapStart() - if yyl2926 == 0 { + yyct2990 := r.ContainerType() + if yyct2990 == codecSelferValueTypeMap1234 { + yyl2990 := r.ReadMapStart() + if yyl2990 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2926, d) + x.codecDecodeSelfFromMap(yyl2990, d) } - } else if yyct2926 == codecSelferValueTypeArray1234 { - yyl2926 := r.ReadArrayStart() - if yyl2926 == 0 { + } else if yyct2990 == codecSelferValueTypeArray1234 { + yyl2990 := r.ReadArrayStart() + if yyl2990 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2926, d) + x.codecDecodeSelfFromArray(yyl2990, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37645,12 +38333,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2927Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2927Slc - var yyhl2927 bool = l >= 0 - for yyj2927 := 0; ; yyj2927++ { - if yyhl2927 { - if yyj2927 >= l { + var yys2991Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2991Slc + var yyhl2991 bool = l >= 0 + for yyj2991 := 0; ; yyj2991++ { + if yyhl2991 { + if yyj2991 >= l { break } } else { @@ -37659,10 +38347,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2927Slc = r.DecodeBytes(yys2927Slc, true, true) - yys2927 := string(yys2927Slc) + yys2991Slc = r.DecodeBytes(yys2991Slc, true, true) + yys2991 := string(yys2991Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2927 { + switch yys2991 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -37688,9 +38376,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2927) - } // end switch yys2927 - } // end for yyj2927 + z.DecStructFieldNotFound(-1, yys2991) + } // end switch yys2991 + } // end for yyj2991 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37698,16 +38386,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2932 int - var yyb2932 bool - var yyhl2932 bool = l >= 0 - yyj2932++ - if yyhl2932 { - yyb2932 = yyj2932 > l + var yyj2996 int + var yyb2996 bool + var yyhl2996 bool = l >= 0 + yyj2996++ + if yyhl2996 { + yyb2996 = yyj2996 > l } else { - yyb2932 = r.CheckBreak() + yyb2996 = r.CheckBreak() } - if yyb2932 { + if yyb2996 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37717,13 +38405,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2932++ - if yyhl2932 { - yyb2932 = yyj2932 > l + yyj2996++ + if yyhl2996 { + yyb2996 = yyj2996 > l } else { - yyb2932 = r.CheckBreak() + yyb2996 = r.CheckBreak() } - if yyb2932 { + if yyb2996 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37733,13 +38421,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2932++ - if yyhl2932 { - yyb2932 = yyj2932 > l + yyj2996++ + if yyhl2996 { + yyb2996 = yyj2996 > l } else { - yyb2932 = r.CheckBreak() + yyb2996 = r.CheckBreak() } - if yyb2932 { + if yyb2996 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37749,13 +38437,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2932++ - if yyhl2932 { - yyb2932 = yyj2932 > l + yyj2996++ + if yyhl2996 { + yyb2996 = yyj2996 > l } else { - yyb2932 = r.CheckBreak() + yyb2996 = r.CheckBreak() } - if yyb2932 { + if yyb2996 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37766,17 +38454,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2932++ - if yyhl2932 { - yyb2932 = yyj2932 > l + yyj2996++ + if yyhl2996 { + yyb2996 = yyj2996 > l } else { - yyb2932 = r.CheckBreak() + yyb2996 = r.CheckBreak() } - if yyb2932 { + if yyb2996 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2932-1, "") + z.DecStructFieldNotFound(yyj2996-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37788,33 +38476,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2937 := z.EncBinary() - _ = yym2937 + yym3001 := z.EncBinary() + _ = yym3001 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2938 := !z.EncBinary() - yy2arr2938 := z.EncBasicHandle().StructToArray - var yyq2938 [1]bool - _, _, _ = yysep2938, yyq2938, yy2arr2938 - const yyr2938 bool = false - var yynn2938 int - if yyr2938 || yy2arr2938 { + yysep3002 := !z.EncBinary() + yy2arr3002 := z.EncBasicHandle().StructToArray + var yyq3002 [1]bool + _, _, _ = yysep3002, yyq3002, yy2arr3002 + const yyr3002 bool = false + var yynn3002 int + if yyr3002 || yy2arr3002 { r.EncodeArrayStart(1) } else { - yynn2938 = 1 - for _, b := range yyq2938 { + yynn3002 = 1 + for _, b := range yyq3002 { if b { - yynn2938++ + yynn3002++ } } - r.EncodeMapStart(yynn2938) - yynn2938 = 0 + r.EncodeMapStart(yynn3002) + yynn3002 = 0 } - if yyr2938 || yy2arr2938 { + if yyr3002 || yy2arr3002 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2940 := z.EncBinary() - _ = yym2940 + yym3004 := z.EncBinary() + _ = yym3004 if false { } else { r.EncodeInt(int64(x.Port)) @@ -37823,14 +38511,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2941 := z.EncBinary() - _ = yym2941 + yym3005 := z.EncBinary() + _ = yym3005 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2938 || yy2arr2938 { + if yyr3002 || yy2arr3002 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37843,25 +38531,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2942 := z.DecBinary() - _ = yym2942 + yym3006 := z.DecBinary() + _ = yym3006 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2943 := r.ContainerType() - if yyct2943 == codecSelferValueTypeMap1234 { - yyl2943 := r.ReadMapStart() - if yyl2943 == 0 { + yyct3007 := r.ContainerType() + if yyct3007 == codecSelferValueTypeMap1234 { + yyl3007 := r.ReadMapStart() + if yyl3007 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2943, d) + x.codecDecodeSelfFromMap(yyl3007, d) } - } else if yyct2943 == codecSelferValueTypeArray1234 { - yyl2943 := r.ReadArrayStart() - if yyl2943 == 0 { + } else if yyct3007 == codecSelferValueTypeArray1234 { + yyl3007 := r.ReadArrayStart() + if yyl3007 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2943, d) + x.codecDecodeSelfFromArray(yyl3007, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37873,12 +38561,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2944Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2944Slc - var yyhl2944 bool = l >= 0 - for yyj2944 := 0; ; yyj2944++ { - if yyhl2944 { - if yyj2944 >= l { + var yys3008Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3008Slc + var yyhl3008 bool = l >= 0 + for yyj3008 := 0; ; yyj3008++ { + if yyhl3008 { + if yyj3008 >= l { break } } else { @@ -37887,10 +38575,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2944Slc = r.DecodeBytes(yys2944Slc, true, true) - yys2944 := string(yys2944Slc) + yys3008Slc = r.DecodeBytes(yys3008Slc, true, true) + yys3008 := string(yys3008Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2944 { + switch yys3008 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -37898,9 +38586,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2944) - } // end switch yys2944 - } // end for yyj2944 + z.DecStructFieldNotFound(-1, yys3008) + } // end switch yys3008 + } // end for yyj3008 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37908,16 +38596,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2946 int - var yyb2946 bool - var yyhl2946 bool = l >= 0 - yyj2946++ - if yyhl2946 { - yyb2946 = yyj2946 > l + var yyj3010 int + var yyb3010 bool + var yyhl3010 bool = l >= 0 + yyj3010++ + if yyhl3010 { + yyb3010 = yyj3010 > l } else { - yyb2946 = r.CheckBreak() + yyb3010 = r.CheckBreak() } - if yyb2946 { + if yyb3010 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37928,17 +38616,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj2946++ - if yyhl2946 { - yyb2946 = yyj2946 > l + yyj3010++ + if yyhl3010 { + yyb3010 = yyj3010 > l } else { - yyb2946 = r.CheckBreak() + yyb3010 = r.CheckBreak() } - if yyb2946 { + if yyb3010 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2946-1, "") + z.DecStructFieldNotFound(yyj3010-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37950,48 +38638,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2948 := z.EncBinary() - _ = yym2948 + yym3012 := z.EncBinary() + _ = yym3012 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2949 := !z.EncBinary() - yy2arr2949 := z.EncBasicHandle().StructToArray - var yyq2949 [1]bool - _, _, _ = yysep2949, yyq2949, yy2arr2949 - const yyr2949 bool = false - yyq2949[0] = true - var yynn2949 int - if yyr2949 || yy2arr2949 { + 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 { r.EncodeArrayStart(1) } else { - yynn2949 = 0 - for _, b := range yyq2949 { + yynn3013 = 0 + for _, b := range yyq3013 { if b { - yynn2949++ + yynn3013++ } } - r.EncodeMapStart(yynn2949) - yynn2949 = 0 + r.EncodeMapStart(yynn3013) + yynn3013 = 0 } - if yyr2949 || yy2arr2949 { + if yyr3013 || yy2arr3013 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2949[0] { - yy2951 := &x.KubeletEndpoint - yy2951.CodecEncodeSelf(e) + if yyq3013[0] { + yy3015 := &x.KubeletEndpoint + yy3015.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2949[0] { + if yyq3013[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2952 := &x.KubeletEndpoint - yy2952.CodecEncodeSelf(e) + yy3016 := &x.KubeletEndpoint + yy3016.CodecEncodeSelf(e) } } - if yyr2949 || yy2arr2949 { + if yyr3013 || yy2arr3013 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38004,25 +38692,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2953 := z.DecBinary() - _ = yym2953 + yym3017 := z.DecBinary() + _ = yym3017 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2954 := r.ContainerType() - if yyct2954 == codecSelferValueTypeMap1234 { - yyl2954 := r.ReadMapStart() - if yyl2954 == 0 { + yyct3018 := r.ContainerType() + if yyct3018 == codecSelferValueTypeMap1234 { + yyl3018 := r.ReadMapStart() + if yyl3018 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2954, d) + x.codecDecodeSelfFromMap(yyl3018, d) } - } else if yyct2954 == codecSelferValueTypeArray1234 { - yyl2954 := r.ReadArrayStart() - if yyl2954 == 0 { + } else if yyct3018 == codecSelferValueTypeArray1234 { + yyl3018 := r.ReadArrayStart() + if yyl3018 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2954, d) + x.codecDecodeSelfFromArray(yyl3018, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38034,12 +38722,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2955Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2955Slc - var yyhl2955 bool = l >= 0 - for yyj2955 := 0; ; yyj2955++ { - if yyhl2955 { - if yyj2955 >= l { + var yys3019Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3019Slc + var yyhl3019 bool = l >= 0 + for yyj3019 := 0; ; yyj3019++ { + if yyhl3019 { + if yyj3019 >= l { break } } else { @@ -38048,21 +38736,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2955Slc = r.DecodeBytes(yys2955Slc, true, true) - yys2955 := string(yys2955Slc) + yys3019Slc = r.DecodeBytes(yys3019Slc, true, true) + yys3019 := string(yys3019Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2955 { + switch yys3019 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2956 := &x.KubeletEndpoint - yyv2956.CodecDecodeSelf(d) + yyv3020 := &x.KubeletEndpoint + yyv3020.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2955) - } // end switch yys2955 - } // end for yyj2955 + z.DecStructFieldNotFound(-1, yys3019) + } // end switch yys3019 + } // end for yyj3019 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38070,16 +38758,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2957 int - var yyb2957 bool - var yyhl2957 bool = l >= 0 - yyj2957++ - if yyhl2957 { - yyb2957 = yyj2957 > l + var yyj3021 int + var yyb3021 bool + var yyhl3021 bool = l >= 0 + yyj3021++ + if yyhl3021 { + yyb3021 = yyj3021 > l } else { - yyb2957 = r.CheckBreak() + yyb3021 = r.CheckBreak() } - if yyb2957 { + if yyb3021 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38087,21 +38775,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2958 := &x.KubeletEndpoint - yyv2958.CodecDecodeSelf(d) + yyv3022 := &x.KubeletEndpoint + yyv3022.CodecDecodeSelf(d) } for { - yyj2957++ - if yyhl2957 { - yyb2957 = yyj2957 > l + yyj3021++ + if yyhl3021 { + yyb3021 = yyj3021 > l } else { - yyb2957 = r.CheckBreak() + yyb3021 = r.CheckBreak() } - if yyb2957 { + if yyb3021 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2957-1, "") + z.DecStructFieldNotFound(yyj3021-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38113,33 +38801,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2959 := z.EncBinary() - _ = yym2959 + yym3023 := z.EncBinary() + _ = yym3023 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2960 := !z.EncBinary() - yy2arr2960 := z.EncBasicHandle().StructToArray - var yyq2960 [10]bool - _, _, _ = yysep2960, yyq2960, yy2arr2960 - const yyr2960 bool = false - var yynn2960 int - if yyr2960 || yy2arr2960 { + yysep3024 := !z.EncBinary() + yy2arr3024 := z.EncBasicHandle().StructToArray + var yyq3024 [10]bool + _, _, _ = yysep3024, yyq3024, yy2arr3024 + const yyr3024 bool = false + var yynn3024 int + if yyr3024 || yy2arr3024 { r.EncodeArrayStart(10) } else { - yynn2960 = 10 - for _, b := range yyq2960 { + yynn3024 = 10 + for _, b := range yyq3024 { if b { - yynn2960++ + yynn3024++ } } - r.EncodeMapStart(yynn2960) - yynn2960 = 0 + r.EncodeMapStart(yynn3024) + yynn3024 = 0 } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2962 := z.EncBinary() - _ = yym2962 + yym3026 := z.EncBinary() + _ = yym3026 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -38148,17 +38836,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2963 := z.EncBinary() - _ = yym2963 + yym3027 := z.EncBinary() + _ = yym3027 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2965 := z.EncBinary() - _ = yym2965 + yym3029 := z.EncBinary() + _ = yym3029 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -38167,17 +38855,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2966 := z.EncBinary() - _ = yym2966 + yym3030 := z.EncBinary() + _ = yym3030 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2968 := z.EncBinary() - _ = yym2968 + yym3032 := z.EncBinary() + _ = yym3032 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -38186,17 +38874,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2969 := z.EncBinary() - _ = yym2969 + yym3033 := z.EncBinary() + _ = yym3033 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2971 := z.EncBinary() - _ = yym2971 + yym3035 := z.EncBinary() + _ = yym3035 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -38205,17 +38893,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2972 := z.EncBinary() - _ = yym2972 + yym3036 := z.EncBinary() + _ = yym3036 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2974 := z.EncBinary() - _ = yym2974 + yym3038 := z.EncBinary() + _ = yym3038 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -38224,17 +38912,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2975 := z.EncBinary() - _ = yym2975 + yym3039 := z.EncBinary() + _ = yym3039 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2977 := z.EncBinary() - _ = yym2977 + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -38243,17 +38931,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2978 := z.EncBinary() - _ = yym2978 + yym3042 := z.EncBinary() + _ = yym3042 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2980 := z.EncBinary() - _ = yym2980 + yym3044 := z.EncBinary() + _ = yym3044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -38262,17 +38950,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2981 := z.EncBinary() - _ = yym2981 + yym3045 := z.EncBinary() + _ = yym3045 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2983 := z.EncBinary() - _ = yym2983 + yym3047 := z.EncBinary() + _ = yym3047 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -38281,17 +38969,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2984 := z.EncBinary() - _ = yym2984 + yym3048 := z.EncBinary() + _ = yym3048 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2986 := z.EncBinary() - _ = yym2986 + yym3050 := z.EncBinary() + _ = yym3050 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -38300,17 +38988,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2987 := z.EncBinary() - _ = yym2987 + yym3051 := z.EncBinary() + _ = yym3051 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2989 := z.EncBinary() - _ = yym2989 + yym3053 := z.EncBinary() + _ = yym3053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -38319,14 +39007,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2990 := z.EncBinary() - _ = yym2990 + yym3054 := z.EncBinary() + _ = yym3054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr2960 || yy2arr2960 { + if yyr3024 || yy2arr3024 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38339,25 +39027,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2991 := z.DecBinary() - _ = yym2991 + yym3055 := z.DecBinary() + _ = yym3055 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2992 := r.ContainerType() - if yyct2992 == codecSelferValueTypeMap1234 { - yyl2992 := r.ReadMapStart() - if yyl2992 == 0 { + yyct3056 := r.ContainerType() + if yyct3056 == codecSelferValueTypeMap1234 { + yyl3056 := r.ReadMapStart() + if yyl3056 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2992, d) + x.codecDecodeSelfFromMap(yyl3056, d) } - } else if yyct2992 == codecSelferValueTypeArray1234 { - yyl2992 := r.ReadArrayStart() - if yyl2992 == 0 { + } else if yyct3056 == codecSelferValueTypeArray1234 { + yyl3056 := r.ReadArrayStart() + if yyl3056 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2992, d) + x.codecDecodeSelfFromArray(yyl3056, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38369,12 +39057,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2993Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2993Slc - var yyhl2993 bool = l >= 0 - for yyj2993 := 0; ; yyj2993++ { - if yyhl2993 { - if yyj2993 >= l { + var yys3057Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3057Slc + var yyhl3057 bool = l >= 0 + for yyj3057 := 0; ; yyj3057++ { + if yyhl3057 { + if yyj3057 >= l { break } } else { @@ -38383,10 +39071,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2993Slc = r.DecodeBytes(yys2993Slc, true, true) - yys2993 := string(yys2993Slc) + yys3057Slc = r.DecodeBytes(yys3057Slc, true, true) + yys3057 := string(yys3057Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2993 { + switch yys3057 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -38448,9 +39136,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2993) - } // end switch yys2993 - } // end for yyj2993 + z.DecStructFieldNotFound(-1, yys3057) + } // end switch yys3057 + } // end for yyj3057 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38458,16 +39146,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3004 int - var yyb3004 bool - var yyhl3004 bool = l >= 0 - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + var yyj3068 int + var yyb3068 bool + var yyhl3068 bool = l >= 0 + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38477,13 +39165,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38493,13 +39181,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38509,13 +39197,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38525,13 +39213,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38541,13 +39229,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38557,13 +39245,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38573,13 +39261,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38589,13 +39277,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeProxyVersion = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38605,13 +39293,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OperatingSystem = string(r.DecodeString()) } - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38622,17 +39310,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } for { - yyj3004++ - if yyhl3004 { - yyb3004 = yyj3004 > l + yyj3068++ + if yyhl3068 { + yyb3068 = yyj3068 > l } else { - yyb3004 = r.CheckBreak() + yyb3068 = r.CheckBreak() } - if yyb3004 { + if yyb3068 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3004-1, "") + z.DecStructFieldNotFound(yyj3068-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38644,42 +39332,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3015 := z.EncBinary() - _ = yym3015 + yym3079 := z.EncBinary() + _ = yym3079 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3016 := !z.EncBinary() - yy2arr3016 := z.EncBasicHandle().StructToArray - var yyq3016 [10]bool - _, _, _ = yysep3016, yyq3016, yy2arr3016 - const yyr3016 bool = false - yyq3016[0] = len(x.Capacity) != 0 - yyq3016[1] = len(x.Allocatable) != 0 - yyq3016[2] = x.Phase != "" - yyq3016[3] = len(x.Conditions) != 0 - yyq3016[4] = len(x.Addresses) != 0 - yyq3016[5] = true - yyq3016[6] = true - yyq3016[7] = len(x.Images) != 0 - yyq3016[8] = len(x.VolumesInUse) != 0 - yyq3016[9] = len(x.VolumesAttached) != 0 - var yynn3016 int - if yyr3016 || yy2arr3016 { + 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 { r.EncodeArrayStart(10) } else { - yynn3016 = 0 - for _, b := range yyq3016 { + yynn3080 = 0 + for _, b := range yyq3080 { if b { - yynn3016++ + yynn3080++ } } - r.EncodeMapStart(yynn3016) - yynn3016 = 0 + r.EncodeMapStart(yynn3080) + yynn3080 = 0 } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[0] { + if yyq3080[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -38689,7 +39377,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[0] { + if yyq3080[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -38700,9 +39388,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[1] { + if yyq3080[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -38712,7 +39400,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[1] { + if yyq3080[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -38723,29 +39411,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[2] { + if yyq3080[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3016[2] { + if yyq3080[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[3] { + if yyq3080[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym3021 := z.EncBinary() - _ = yym3021 + yym3085 := z.EncBinary() + _ = yym3085 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -38755,15 +39443,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[3] { + if yyq3080[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym3022 := z.EncBinary() - _ = yym3022 + yym3086 := z.EncBinary() + _ = yym3086 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -38771,14 +39459,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[4] { + if yyq3080[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym3024 := z.EncBinary() - _ = yym3024 + yym3088 := z.EncBinary() + _ = yym3088 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -38788,15 +39476,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[4] { + if yyq3080[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym3025 := z.EncBinary() - _ = yym3025 + yym3089 := z.EncBinary() + _ = yym3089 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -38804,48 +39492,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[5] { - yy3027 := &x.DaemonEndpoints - yy3027.CodecEncodeSelf(e) + if yyq3080[5] { + yy3091 := &x.DaemonEndpoints + yy3091.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3016[5] { + if yyq3080[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3028 := &x.DaemonEndpoints - yy3028.CodecEncodeSelf(e) + yy3092 := &x.DaemonEndpoints + yy3092.CodecEncodeSelf(e) } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[6] { - yy3030 := &x.NodeInfo - yy3030.CodecEncodeSelf(e) + if yyq3080[6] { + yy3094 := &x.NodeInfo + yy3094.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3016[6] { + if yyq3080[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3031 := &x.NodeInfo - yy3031.CodecEncodeSelf(e) + yy3095 := &x.NodeInfo + yy3095.CodecEncodeSelf(e) } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[7] { + if yyq3080[7] { if x.Images == nil { r.EncodeNil() } else { - yym3033 := z.EncBinary() - _ = yym3033 + yym3097 := z.EncBinary() + _ = yym3097 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -38855,15 +39543,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[7] { + if yyq3080[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym3034 := z.EncBinary() - _ = yym3034 + yym3098 := z.EncBinary() + _ = yym3098 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -38871,14 +39559,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[8] { + if yyq3080[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3036 := z.EncBinary() - _ = yym3036 + yym3100 := z.EncBinary() + _ = yym3100 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -38888,15 +39576,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[8] { + if yyq3080[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym3037 := z.EncBinary() - _ = yym3037 + yym3101 := z.EncBinary() + _ = yym3101 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -38904,14 +39592,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3016[9] { + if yyq3080[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3039 := z.EncBinary() - _ = yym3039 + yym3103 := z.EncBinary() + _ = yym3103 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -38921,15 +39609,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3016[9] { + if yyq3080[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym3040 := z.EncBinary() - _ = yym3040 + yym3104 := z.EncBinary() + _ = yym3104 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -38937,7 +39625,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3016 || yy2arr3016 { + if yyr3080 || yy2arr3080 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38950,25 +39638,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3041 := z.DecBinary() - _ = yym3041 + yym3105 := z.DecBinary() + _ = yym3105 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3042 := r.ContainerType() - if yyct3042 == codecSelferValueTypeMap1234 { - yyl3042 := r.ReadMapStart() - if yyl3042 == 0 { + yyct3106 := r.ContainerType() + if yyct3106 == codecSelferValueTypeMap1234 { + yyl3106 := r.ReadMapStart() + if yyl3106 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3042, d) + x.codecDecodeSelfFromMap(yyl3106, d) } - } else if yyct3042 == codecSelferValueTypeArray1234 { - yyl3042 := r.ReadArrayStart() - if yyl3042 == 0 { + } else if yyct3106 == codecSelferValueTypeArray1234 { + yyl3106 := r.ReadArrayStart() + if yyl3106 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3042, d) + x.codecDecodeSelfFromArray(yyl3106, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38980,12 +39668,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3043Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3043Slc - var yyhl3043 bool = l >= 0 - for yyj3043 := 0; ; yyj3043++ { - if yyhl3043 { - if yyj3043 >= l { + var yys3107Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3107Slc + var yyhl3107 bool = l >= 0 + for yyj3107 := 0; ; yyj3107++ { + if yyhl3107 { + if yyj3107 >= l { break } } else { @@ -38994,23 +39682,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3043Slc = r.DecodeBytes(yys3043Slc, true, true) - yys3043 := string(yys3043Slc) + yys3107Slc = r.DecodeBytes(yys3107Slc, true, true) + yys3107 := string(yys3107Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3043 { + switch yys3107 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3044 := &x.Capacity - yyv3044.CodecDecodeSelf(d) + yyv3108 := &x.Capacity + yyv3108.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3045 := &x.Allocatable - yyv3045.CodecDecodeSelf(d) + yyv3109 := &x.Allocatable + yyv3109.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -39022,80 +39710,80 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3047 := &x.Conditions - yym3048 := z.DecBinary() - _ = yym3048 + yyv3111 := &x.Conditions + yym3112 := z.DecBinary() + _ = yym3112 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3047), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3111), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3049 := &x.Addresses - yym3050 := z.DecBinary() - _ = yym3050 + yyv3113 := &x.Addresses + yym3114 := z.DecBinary() + _ = yym3114 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3049), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3113), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3051 := &x.DaemonEndpoints - yyv3051.CodecDecodeSelf(d) + yyv3115 := &x.DaemonEndpoints + yyv3115.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3052 := &x.NodeInfo - yyv3052.CodecDecodeSelf(d) + yyv3116 := &x.NodeInfo + yyv3116.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3053 := &x.Images - yym3054 := z.DecBinary() - _ = yym3054 + yyv3117 := &x.Images + yym3118 := z.DecBinary() + _ = yym3118 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3053), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3117), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3055 := &x.VolumesInUse - yym3056 := z.DecBinary() - _ = yym3056 + yyv3119 := &x.VolumesInUse + yym3120 := z.DecBinary() + _ = yym3120 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3055), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3119), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3057 := &x.VolumesAttached - yym3058 := z.DecBinary() - _ = yym3058 + yyv3121 := &x.VolumesAttached + yym3122 := z.DecBinary() + _ = yym3122 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3057), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3121), d) } } default: - z.DecStructFieldNotFound(-1, yys3043) - } // end switch yys3043 - } // end for yyj3043 + z.DecStructFieldNotFound(-1, yys3107) + } // end switch yys3107 + } // end for yyj3107 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39103,16 +39791,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3059 int - var yyb3059 bool - var yyhl3059 bool = l >= 0 - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + var yyj3123 int + var yyb3123 bool + var yyhl3123 bool = l >= 0 + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39120,16 +39808,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3060 := &x.Capacity - yyv3060.CodecDecodeSelf(d) + yyv3124 := &x.Capacity + yyv3124.CodecDecodeSelf(d) } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39137,16 +39825,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3061 := &x.Allocatable - yyv3061.CodecDecodeSelf(d) + yyv3125 := &x.Allocatable + yyv3125.CodecDecodeSelf(d) } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39156,13 +39844,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39170,21 +39858,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3063 := &x.Conditions - yym3064 := z.DecBinary() - _ = yym3064 + yyv3127 := &x.Conditions + yym3128 := z.DecBinary() + _ = yym3128 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3063), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3127), d) } } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39192,21 +39880,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3065 := &x.Addresses - yym3066 := z.DecBinary() - _ = yym3066 + yyv3129 := &x.Addresses + yym3130 := z.DecBinary() + _ = yym3130 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3065), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3129), d) } } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39214,16 +39902,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3067 := &x.DaemonEndpoints - yyv3067.CodecDecodeSelf(d) + yyv3131 := &x.DaemonEndpoints + yyv3131.CodecDecodeSelf(d) } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39231,16 +39919,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3068 := &x.NodeInfo - yyv3068.CodecDecodeSelf(d) + yyv3132 := &x.NodeInfo + yyv3132.CodecDecodeSelf(d) } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39248,21 +39936,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3069 := &x.Images - yym3070 := z.DecBinary() - _ = yym3070 + yyv3133 := &x.Images + yym3134 := z.DecBinary() + _ = yym3134 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3069), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3133), d) } } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39270,21 +39958,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3071 := &x.VolumesInUse - yym3072 := z.DecBinary() - _ = yym3072 + yyv3135 := &x.VolumesInUse + yym3136 := z.DecBinary() + _ = yym3136 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3071), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3135), d) } } - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39292,26 +39980,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3073 := &x.VolumesAttached - yym3074 := z.DecBinary() - _ = yym3074 + yyv3137 := &x.VolumesAttached + yym3138 := z.DecBinary() + _ = yym3138 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3073), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3137), d) } } for { - yyj3059++ - if yyhl3059 { - yyb3059 = yyj3059 > l + yyj3123++ + if yyhl3123 { + yyb3123 = yyj3123 > l } else { - yyb3059 = r.CheckBreak() + yyb3123 = r.CheckBreak() } - if yyb3059 { + if yyb3123 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3059-1, "") + z.DecStructFieldNotFound(yyj3123-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39320,8 +40008,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3075 := z.EncBinary() - _ = yym3075 + yym3139 := z.EncBinary() + _ = yym3139 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -39333,8 +40021,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3076 := z.DecBinary() - _ = yym3076 + yym3140 := z.DecBinary() + _ = yym3140 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -39349,30 +40037,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3077 := z.EncBinary() - _ = yym3077 + yym3141 := z.EncBinary() + _ = yym3141 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3078 := !z.EncBinary() - yy2arr3078 := z.EncBasicHandle().StructToArray - var yyq3078 [2]bool - _, _, _ = yysep3078, yyq3078, yy2arr3078 - const yyr3078 bool = false - var yynn3078 int - if yyr3078 || yy2arr3078 { + yysep3142 := !z.EncBinary() + yy2arr3142 := z.EncBasicHandle().StructToArray + var yyq3142 [2]bool + _, _, _ = yysep3142, yyq3142, yy2arr3142 + const yyr3142 bool = false + var yynn3142 int + if yyr3142 || yy2arr3142 { r.EncodeArrayStart(2) } else { - yynn3078 = 2 - for _, b := range yyq3078 { + yynn3142 = 2 + for _, b := range yyq3142 { if b { - yynn3078++ + yynn3142++ } } - r.EncodeMapStart(yynn3078) - yynn3078 = 0 + r.EncodeMapStart(yynn3142) + yynn3142 = 0 } - if yyr3078 || yy2arr3078 { + if yyr3142 || yy2arr3142 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -39381,10 +40069,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr3078 || yy2arr3078 { + if yyr3142 || yy2arr3142 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3081 := z.EncBinary() - _ = yym3081 + yym3145 := z.EncBinary() + _ = yym3145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -39393,14 +40081,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3082 := z.EncBinary() - _ = yym3082 + yym3146 := z.EncBinary() + _ = yym3146 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr3078 || yy2arr3078 { + if yyr3142 || yy2arr3142 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39413,25 +40101,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3083 := z.DecBinary() - _ = yym3083 + yym3147 := z.DecBinary() + _ = yym3147 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3084 := r.ContainerType() - if yyct3084 == codecSelferValueTypeMap1234 { - yyl3084 := r.ReadMapStart() - if yyl3084 == 0 { + yyct3148 := r.ContainerType() + if yyct3148 == codecSelferValueTypeMap1234 { + yyl3148 := r.ReadMapStart() + if yyl3148 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3084, d) + x.codecDecodeSelfFromMap(yyl3148, d) } - } else if yyct3084 == codecSelferValueTypeArray1234 { - yyl3084 := r.ReadArrayStart() - if yyl3084 == 0 { + } else if yyct3148 == codecSelferValueTypeArray1234 { + yyl3148 := r.ReadArrayStart() + if yyl3148 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3084, d) + x.codecDecodeSelfFromArray(yyl3148, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39443,12 +40131,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3085Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3085Slc - var yyhl3085 bool = l >= 0 - for yyj3085 := 0; ; yyj3085++ { - if yyhl3085 { - if yyj3085 >= l { + var yys3149Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3149Slc + var yyhl3149 bool = l >= 0 + for yyj3149 := 0; ; yyj3149++ { + if yyhl3149 { + if yyj3149 >= l { break } } else { @@ -39457,10 +40145,10 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3085Slc = r.DecodeBytes(yys3085Slc, true, true) - yys3085 := string(yys3085Slc) + yys3149Slc = r.DecodeBytes(yys3149Slc, true, true) + yys3149 := string(yys3149Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3085 { + switch yys3149 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -39474,9 +40162,9 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3085) - } // end switch yys3085 - } // end for yyj3085 + z.DecStructFieldNotFound(-1, yys3149) + } // end switch yys3149 + } // end for yyj3149 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39484,16 +40172,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3088 int - var yyb3088 bool - var yyhl3088 bool = l >= 0 - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l + var yyj3152 int + var yyb3152 bool + var yyhl3152 bool = l >= 0 + yyj3152++ + if yyhl3152 { + yyb3152 = yyj3152 > l } else { - yyb3088 = r.CheckBreak() + yyb3152 = r.CheckBreak() } - if yyb3088 { + if yyb3152 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39503,13 +40191,13 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = UniqueVolumeName(r.DecodeString()) } - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l + yyj3152++ + if yyhl3152 { + yyb3152 = yyj3152 > l } else { - yyb3088 = r.CheckBreak() + yyb3152 = r.CheckBreak() } - if yyb3088 { + if yyb3152 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39520,17 +40208,17 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } for { - yyj3088++ - if yyhl3088 { - yyb3088 = yyj3088 > l + yyj3152++ + if yyhl3152 { + yyb3152 = yyj3152 > l } else { - yyb3088 = r.CheckBreak() + yyb3152 = r.CheckBreak() } - if yyb3088 { + if yyb3152 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3088-1, "") + z.DecStructFieldNotFound(yyj3152-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39542,38 +40230,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3091 := z.EncBinary() - _ = yym3091 + yym3155 := z.EncBinary() + _ = yym3155 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3092 := !z.EncBinary() - yy2arr3092 := z.EncBasicHandle().StructToArray - var yyq3092 [1]bool - _, _, _ = yysep3092, yyq3092, yy2arr3092 - const yyr3092 bool = false - yyq3092[0] = len(x.PreferAvoidPods) != 0 - var yynn3092 int - if yyr3092 || yy2arr3092 { + 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 { r.EncodeArrayStart(1) } else { - yynn3092 = 0 - for _, b := range yyq3092 { + yynn3156 = 0 + for _, b := range yyq3156 { if b { - yynn3092++ + yynn3156++ } } - r.EncodeMapStart(yynn3092) - yynn3092 = 0 + r.EncodeMapStart(yynn3156) + yynn3156 = 0 } - if yyr3092 || yy2arr3092 { + if yyr3156 || yy2arr3156 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3092[0] { + if yyq3156[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3094 := z.EncBinary() - _ = yym3094 + yym3158 := z.EncBinary() + _ = yym3158 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -39583,15 +40271,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3092[0] { + if yyq3156[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3095 := z.EncBinary() - _ = yym3095 + yym3159 := z.EncBinary() + _ = yym3159 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -39599,7 +40287,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3092 || yy2arr3092 { + if yyr3156 || yy2arr3156 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39612,25 +40300,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3096 := z.DecBinary() - _ = yym3096 + yym3160 := z.DecBinary() + _ = yym3160 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3097 := r.ContainerType() - if yyct3097 == codecSelferValueTypeMap1234 { - yyl3097 := r.ReadMapStart() - if yyl3097 == 0 { + yyct3161 := r.ContainerType() + if yyct3161 == codecSelferValueTypeMap1234 { + yyl3161 := r.ReadMapStart() + if yyl3161 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3097, d) + x.codecDecodeSelfFromMap(yyl3161, d) } - } else if yyct3097 == codecSelferValueTypeArray1234 { - yyl3097 := r.ReadArrayStart() - if yyl3097 == 0 { + } else if yyct3161 == codecSelferValueTypeArray1234 { + yyl3161 := r.ReadArrayStart() + if yyl3161 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3097, d) + x.codecDecodeSelfFromArray(yyl3161, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39642,12 +40330,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3098Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3098Slc - var yyhl3098 bool = l >= 0 - for yyj3098 := 0; ; yyj3098++ { - if yyhl3098 { - if yyj3098 >= l { + var yys3162Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3162Slc + var yyhl3162 bool = l >= 0 + for yyj3162 := 0; ; yyj3162++ { + if yyhl3162 { + if yyj3162 >= l { break } } else { @@ -39656,26 +40344,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3098Slc = r.DecodeBytes(yys3098Slc, true, true) - yys3098 := string(yys3098Slc) + yys3162Slc = r.DecodeBytes(yys3162Slc, true, true) + yys3162 := string(yys3162Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3098 { + switch yys3162 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3099 := &x.PreferAvoidPods - yym3100 := z.DecBinary() - _ = yym3100 + yyv3163 := &x.PreferAvoidPods + yym3164 := z.DecBinary() + _ = yym3164 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3099), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3163), d) } } default: - z.DecStructFieldNotFound(-1, yys3098) - } // end switch yys3098 - } // end for yyj3098 + z.DecStructFieldNotFound(-1, yys3162) + } // end switch yys3162 + } // end for yyj3162 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39683,16 +40371,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3101 int - var yyb3101 bool - var yyhl3101 bool = l >= 0 - yyj3101++ - if yyhl3101 { - yyb3101 = yyj3101 > l + var yyj3165 int + var yyb3165 bool + var yyhl3165 bool = l >= 0 + yyj3165++ + if yyhl3165 { + yyb3165 = yyj3165 > l } else { - yyb3101 = r.CheckBreak() + yyb3165 = r.CheckBreak() } - if yyb3101 { + if yyb3165 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39700,26 +40388,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3102 := &x.PreferAvoidPods - yym3103 := z.DecBinary() - _ = yym3103 + yyv3166 := &x.PreferAvoidPods + yym3167 := z.DecBinary() + _ = yym3167 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3102), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3166), d) } } for { - yyj3101++ - if yyhl3101 { - yyb3101 = yyj3101 > l + yyj3165++ + if yyhl3165 { + yyb3165 = yyj3165 > l } else { - yyb3101 = r.CheckBreak() + yyb3165 = r.CheckBreak() } - if yyb3101 { + if yyb3165 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3101-1, "") + z.DecStructFieldNotFound(yyj3165-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39731,85 +40419,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3104 := z.EncBinary() - _ = yym3104 + yym3168 := z.EncBinary() + _ = yym3168 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3105 := !z.EncBinary() - yy2arr3105 := z.EncBasicHandle().StructToArray - var yyq3105 [4]bool - _, _, _ = yysep3105, yyq3105, yy2arr3105 - const yyr3105 bool = false - yyq3105[1] = true - yyq3105[2] = x.Reason != "" - yyq3105[3] = x.Message != "" - var yynn3105 int - if yyr3105 || yy2arr3105 { + 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 { r.EncodeArrayStart(4) } else { - yynn3105 = 1 - for _, b := range yyq3105 { + yynn3169 = 1 + for _, b := range yyq3169 { if b { - yynn3105++ + yynn3169++ } } - r.EncodeMapStart(yynn3105) - yynn3105 = 0 + r.EncodeMapStart(yynn3169) + yynn3169 = 0 } - if yyr3105 || yy2arr3105 { + if yyr3169 || yy2arr3169 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3107 := &x.PodSignature - yy3107.CodecEncodeSelf(e) + yy3171 := &x.PodSignature + yy3171.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3108 := &x.PodSignature - yy3108.CodecEncodeSelf(e) + yy3172 := &x.PodSignature + yy3172.CodecEncodeSelf(e) } - if yyr3105 || yy2arr3105 { + if yyr3169 || yy2arr3169 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3105[1] { - yy3110 := &x.EvictionTime - yym3111 := z.EncBinary() - _ = yym3111 + if yyq3169[1] { + yy3174 := &x.EvictionTime + yym3175 := z.EncBinary() + _ = yym3175 if false { - } else if z.HasExtensions() && z.EncExt(yy3110) { - } else if yym3111 { - z.EncBinaryMarshal(yy3110) - } else if !yym3111 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3110) + } else if z.HasExtensions() && z.EncExt(yy3174) { + } else if yym3175 { + z.EncBinaryMarshal(yy3174) + } else if !yym3175 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3174) } else { - z.EncFallback(yy3110) + z.EncFallback(yy3174) } } else { r.EncodeNil() } } else { - if yyq3105[1] { + if yyq3169[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3112 := &x.EvictionTime - yym3113 := z.EncBinary() - _ = yym3113 + yy3176 := &x.EvictionTime + yym3177 := z.EncBinary() + _ = yym3177 if false { - } else if z.HasExtensions() && z.EncExt(yy3112) { - } else if yym3113 { - z.EncBinaryMarshal(yy3112) - } else if !yym3113 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3112) + } else if z.HasExtensions() && z.EncExt(yy3176) { + } else if yym3177 { + z.EncBinaryMarshal(yy3176) + } else if !yym3177 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3176) } else { - z.EncFallback(yy3112) + z.EncFallback(yy3176) } } } - if yyr3105 || yy2arr3105 { + if yyr3169 || yy2arr3169 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3105[2] { - yym3115 := z.EncBinary() - _ = yym3115 + if yyq3169[2] { + yym3179 := z.EncBinary() + _ = yym3179 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -39818,23 +40506,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3105[2] { + if yyq3169[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3116 := z.EncBinary() - _ = yym3116 + yym3180 := z.EncBinary() + _ = yym3180 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3105 || yy2arr3105 { + if yyr3169 || yy2arr3169 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3105[3] { - yym3118 := z.EncBinary() - _ = yym3118 + if yyq3169[3] { + yym3182 := z.EncBinary() + _ = yym3182 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -39843,19 +40531,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3105[3] { + if yyq3169[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3119 := z.EncBinary() - _ = yym3119 + yym3183 := z.EncBinary() + _ = yym3183 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3105 || yy2arr3105 { + if yyr3169 || yy2arr3169 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39868,25 +40556,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3120 := z.DecBinary() - _ = yym3120 + yym3184 := z.DecBinary() + _ = yym3184 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3121 := r.ContainerType() - if yyct3121 == codecSelferValueTypeMap1234 { - yyl3121 := r.ReadMapStart() - if yyl3121 == 0 { + yyct3185 := r.ContainerType() + if yyct3185 == codecSelferValueTypeMap1234 { + yyl3185 := r.ReadMapStart() + if yyl3185 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3121, d) + x.codecDecodeSelfFromMap(yyl3185, d) } - } else if yyct3121 == codecSelferValueTypeArray1234 { - yyl3121 := r.ReadArrayStart() - if yyl3121 == 0 { + } else if yyct3185 == codecSelferValueTypeArray1234 { + yyl3185 := r.ReadArrayStart() + if yyl3185 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3121, d) + x.codecDecodeSelfFromArray(yyl3185, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39898,12 +40586,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3122Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3122Slc - var yyhl3122 bool = l >= 0 - for yyj3122 := 0; ; yyj3122++ { - if yyhl3122 { - if yyj3122 >= l { + var yys3186Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3186Slc + var yyhl3186 bool = l >= 0 + for yyj3186 := 0; ; yyj3186++ { + if yyhl3186 { + if yyj3186 >= l { break } } else { @@ -39912,32 +40600,32 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3122Slc = r.DecodeBytes(yys3122Slc, true, true) - yys3122 := string(yys3122Slc) + yys3186Slc = r.DecodeBytes(yys3186Slc, true, true) + yys3186 := string(yys3186Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3122 { + switch yys3186 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3123 := &x.PodSignature - yyv3123.CodecDecodeSelf(d) + yyv3187 := &x.PodSignature + yyv3187.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3124 := &x.EvictionTime - yym3125 := z.DecBinary() - _ = yym3125 + yyv3188 := &x.EvictionTime + yym3189 := z.DecBinary() + _ = yym3189 if false { - } else if z.HasExtensions() && z.DecExt(yyv3124) { - } else if yym3125 { - z.DecBinaryUnmarshal(yyv3124) - } else if !yym3125 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3124) + } else if z.HasExtensions() && z.DecExt(yyv3188) { + } else if yym3189 { + z.DecBinaryUnmarshal(yyv3188) + } else if !yym3189 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3188) } else { - z.DecFallback(yyv3124, false) + z.DecFallback(yyv3188, false) } } case "reason": @@ -39953,9 +40641,9 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3122) - } // end switch yys3122 - } // end for yyj3122 + z.DecStructFieldNotFound(-1, yys3186) + } // end switch yys3186 + } // end for yyj3186 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39963,16 +40651,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3128 int - var yyb3128 bool - var yyhl3128 bool = l >= 0 - yyj3128++ - if yyhl3128 { - yyb3128 = yyj3128 > l + var yyj3192 int + var yyb3192 bool + var yyhl3192 bool = l >= 0 + yyj3192++ + if yyhl3192 { + yyb3192 = yyj3192 > l } else { - yyb3128 = r.CheckBreak() + yyb3192 = r.CheckBreak() } - if yyb3128 { + if yyb3192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39980,16 +40668,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3129 := &x.PodSignature - yyv3129.CodecDecodeSelf(d) + yyv3193 := &x.PodSignature + yyv3193.CodecDecodeSelf(d) } - yyj3128++ - if yyhl3128 { - yyb3128 = yyj3128 > l + yyj3192++ + if yyhl3192 { + yyb3192 = yyj3192 > l } else { - yyb3128 = r.CheckBreak() + yyb3192 = r.CheckBreak() } - if yyb3128 { + if yyb3192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39997,26 +40685,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3130 := &x.EvictionTime - yym3131 := z.DecBinary() - _ = yym3131 + yyv3194 := &x.EvictionTime + yym3195 := z.DecBinary() + _ = yym3195 if false { - } else if z.HasExtensions() && z.DecExt(yyv3130) { - } else if yym3131 { - z.DecBinaryUnmarshal(yyv3130) - } else if !yym3131 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3130) + } else if z.HasExtensions() && z.DecExt(yyv3194) { + } else if yym3195 { + z.DecBinaryUnmarshal(yyv3194) + } else if !yym3195 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3194) } else { - z.DecFallback(yyv3130, false) + z.DecFallback(yyv3194, false) } } - yyj3128++ - if yyhl3128 { - yyb3128 = yyj3128 > l + yyj3192++ + if yyhl3192 { + yyb3192 = yyj3192 > l } else { - yyb3128 = r.CheckBreak() + yyb3192 = r.CheckBreak() } - if yyb3128 { + if yyb3192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40026,13 +40714,13 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Reason = string(r.DecodeString()) } - yyj3128++ - if yyhl3128 { - yyb3128 = yyj3128 > l + yyj3192++ + if yyhl3192 { + yyb3192 = yyj3192 > l } else { - yyb3128 = r.CheckBreak() + yyb3192 = r.CheckBreak() } - if yyb3128 { + if yyb3192 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40043,17 +40731,17 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Message = string(r.DecodeString()) } for { - yyj3128++ - if yyhl3128 { - yyb3128 = yyj3128 > l + yyj3192++ + if yyhl3192 { + yyb3192 = yyj3192 > l } else { - yyb3128 = r.CheckBreak() + yyb3192 = r.CheckBreak() } - if yyb3128 { + if yyb3192 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3128-1, "") + z.DecStructFieldNotFound(yyj3192-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40065,33 +40753,33 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3134 := z.EncBinary() - _ = yym3134 + yym3198 := z.EncBinary() + _ = yym3198 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3135 := !z.EncBinary() - yy2arr3135 := z.EncBasicHandle().StructToArray - var yyq3135 [1]bool - _, _, _ = yysep3135, yyq3135, yy2arr3135 - const yyr3135 bool = false - yyq3135[0] = x.PodController != nil - var yynn3135 int - if yyr3135 || yy2arr3135 { + 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 { r.EncodeArrayStart(1) } else { - yynn3135 = 0 - for _, b := range yyq3135 { + yynn3199 = 0 + for _, b := range yyq3199 { if b { - yynn3135++ + yynn3199++ } } - r.EncodeMapStart(yynn3135) - yynn3135 = 0 + r.EncodeMapStart(yynn3199) + yynn3199 = 0 } - if yyr3135 || yy2arr3135 { + if yyr3199 || yy2arr3199 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3135[0] { + if yyq3199[0] { if x.PodController == nil { r.EncodeNil() } else { @@ -40101,7 +40789,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3135[0] { + if yyq3199[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -40112,7 +40800,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3135 || yy2arr3135 { + if yyr3199 || yy2arr3199 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40125,25 +40813,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3137 := z.DecBinary() - _ = yym3137 + yym3201 := z.DecBinary() + _ = yym3201 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3138 := r.ContainerType() - if yyct3138 == codecSelferValueTypeMap1234 { - yyl3138 := r.ReadMapStart() - if yyl3138 == 0 { + yyct3202 := r.ContainerType() + if yyct3202 == codecSelferValueTypeMap1234 { + yyl3202 := r.ReadMapStart() + if yyl3202 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3138, d) + x.codecDecodeSelfFromMap(yyl3202, d) } - } else if yyct3138 == codecSelferValueTypeArray1234 { - yyl3138 := r.ReadArrayStart() - if yyl3138 == 0 { + } else if yyct3202 == codecSelferValueTypeArray1234 { + yyl3202 := r.ReadArrayStart() + if yyl3202 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3138, d) + x.codecDecodeSelfFromArray(yyl3202, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40155,12 +40843,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3139Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3139Slc - var yyhl3139 bool = l >= 0 - for yyj3139 := 0; ; yyj3139++ { - if yyhl3139 { - if yyj3139 >= l { + var yys3203Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3203Slc + var yyhl3203 bool = l >= 0 + for yyj3203 := 0; ; yyj3203++ { + if yyhl3203 { + if yyj3203 >= l { break } } else { @@ -40169,10 +40857,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3139Slc = r.DecodeBytes(yys3139Slc, true, true) - yys3139 := string(yys3139Slc) + yys3203Slc = r.DecodeBytes(yys3203Slc, true, true) + yys3203 := string(yys3203Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3139 { + switch yys3203 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -40185,9 +40873,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3139) - } // end switch yys3139 - } // end for yyj3139 + z.DecStructFieldNotFound(-1, yys3203) + } // end switch yys3203 + } // end for yyj3203 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40195,16 +40883,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3141 int - var yyb3141 bool - var yyhl3141 bool = l >= 0 - yyj3141++ - if yyhl3141 { - yyb3141 = yyj3141 > l + var yyj3205 int + var yyb3205 bool + var yyhl3205 bool = l >= 0 + yyj3205++ + if yyhl3205 { + yyb3205 = yyj3205 > l } else { - yyb3141 = r.CheckBreak() + yyb3205 = r.CheckBreak() } - if yyb3141 { + if yyb3205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40220,773 +40908,22 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } for { - yyj3141++ - if yyhl3141 { - yyb3141 = yyj3141 > l + yyj3205++ + if yyhl3205 { + yyb3205 = yyj3205 > l } else { - yyb3141 = r.CheckBreak() + yyb3205 = r.CheckBreak() } - if yyb3141 { + if yyb3205 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3141-1, "") + z.DecStructFieldNotFound(yyj3205-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3143 := z.EncBinary() - _ = yym3143 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3144 := !z.EncBinary() - yy2arr3144 := z.EncBasicHandle().StructToArray - var yyq3144 [2]bool - _, _, _ = yysep3144, yyq3144, yy2arr3144 - const yyr3144 bool = false - yyq3144[1] = x.SizeBytes != 0 - var yynn3144 int - if yyr3144 || yy2arr3144 { - r.EncodeArrayStart(2) - } else { - yynn3144 = 1 - for _, b := range yyq3144 { - if b { - yynn3144++ - } - } - r.EncodeMapStart(yynn3144) - yynn3144 = 0 - } - if yyr3144 || yy2arr3144 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Names == nil { - r.EncodeNil() - } else { - yym3146 := z.EncBinary() - _ = yym3146 - if false { - } else { - z.F.EncSliceStringV(x.Names, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("names")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Names == nil { - r.EncodeNil() - } else { - yym3147 := z.EncBinary() - _ = yym3147 - if false { - } else { - z.F.EncSliceStringV(x.Names, false, e) - } - } - } - if yyr3144 || yy2arr3144 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3144[1] { - yym3149 := z.EncBinary() - _ = yym3149 - if false { - } else { - r.EncodeInt(int64(x.SizeBytes)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq3144[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3150 := z.EncBinary() - _ = yym3150 - if false { - } else { - r.EncodeInt(int64(x.SizeBytes)) - } - } - } - if yyr3144 || yy2arr3144 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3151 := z.DecBinary() - _ = yym3151 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3152 := r.ContainerType() - if yyct3152 == codecSelferValueTypeMap1234 { - yyl3152 := r.ReadMapStart() - if yyl3152 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3152, d) - } - } else if yyct3152 == codecSelferValueTypeArray1234 { - yyl3152 := r.ReadArrayStart() - if yyl3152 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3152, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3153Slc = r.DecodeBytes(yys3153Slc, true, true) - yys3153 := string(yys3153Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3153 { - case "names": - if r.TryDecodeAsNil() { - x.Names = nil - } else { - yyv3154 := &x.Names - yym3155 := z.DecBinary() - _ = yym3155 - if false { - } else { - z.F.DecSliceStringX(yyv3154, false, d) - } - } - case "sizeBytes": - if r.TryDecodeAsNil() { - x.SizeBytes = 0 - } else { - x.SizeBytes = int64(r.DecodeInt(64)) - } - default: - z.DecStructFieldNotFound(-1, yys3153) - } // end switch yys3153 - } // end for yyj3153 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ContainerImage) 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 - } else { - yyb3157 = r.CheckBreak() - } - if yyb3157 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Names = nil - } else { - yyv3158 := &x.Names - yym3159 := z.DecBinary() - _ = yym3159 - if false { - } else { - z.F.DecSliceStringX(yyv3158, false, d) - } - } - yyj3157++ - if yyhl3157 { - yyb3157 = yyj3157 > l - } else { - yyb3157 = r.CheckBreak() - } - if yyb3157 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SizeBytes = 0 - } else { - x.SizeBytes = int64(r.DecodeInt(64)) - } - for { - yyj3157++ - if yyhl3157 { - yyb3157 = yyj3157 > l - } else { - yyb3157 = r.CheckBreak() - } - if yyb3157 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3157-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3161 := z.EncBinary() - _ = yym3161 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3162 := z.DecBinary() - _ = yym3162 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3163 := z.EncBinary() - _ = yym3163 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3164 := z.DecBinary() - _ = yym3164 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3165 := z.EncBinary() - _ = yym3165 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3166 := !z.EncBinary() - yy2arr3166 := z.EncBasicHandle().StructToArray - var yyq3166 [6]bool - _, _, _ = yysep3166, yyq3166, yy2arr3166 - const yyr3166 bool = false - yyq3166[2] = true - yyq3166[3] = true - yyq3166[4] = x.Reason != "" - yyq3166[5] = x.Message != "" - var yynn3166 int - if yyr3166 || yy2arr3166 { - r.EncodeArrayStart(6) - } else { - yynn3166 = 2 - for _, b := range yyq3166 { - if b { - yynn3166++ - } - } - r.EncodeMapStart(yynn3166) - yynn3166 = 0 - } - if yyr3166 || yy2arr3166 { - 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 yyr3166 || yy2arr3166 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Status.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Status.CodecEncodeSelf(e) - } - if yyr3166 || yy2arr3166 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3166[2] { - yy3170 := &x.LastHeartbeatTime - yym3171 := z.EncBinary() - _ = yym3171 - if false { - } else if z.HasExtensions() && z.EncExt(yy3170) { - } else if yym3171 { - z.EncBinaryMarshal(yy3170) - } else if !yym3171 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3170) - } else { - z.EncFallback(yy3170) - } - } else { - r.EncodeNil() - } - } else { - if yyq3166[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3172 := &x.LastHeartbeatTime - yym3173 := z.EncBinary() - _ = yym3173 - if false { - } else if z.HasExtensions() && z.EncExt(yy3172) { - } else if yym3173 { - z.EncBinaryMarshal(yy3172) - } else if !yym3173 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3172) - } else { - z.EncFallback(yy3172) - } - } - } - if yyr3166 || yy2arr3166 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3166[3] { - yy3175 := &x.LastTransitionTime - yym3176 := z.EncBinary() - _ = yym3176 - if false { - } else if z.HasExtensions() && z.EncExt(yy3175) { - } else if yym3176 { - z.EncBinaryMarshal(yy3175) - } else if !yym3176 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3175) - } else { - z.EncFallback(yy3175) - } - } else { - r.EncodeNil() - } - } else { - if yyq3166[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3177 := &x.LastTransitionTime - yym3178 := z.EncBinary() - _ = yym3178 - if false { - } else if z.HasExtensions() && z.EncExt(yy3177) { - } else if yym3178 { - z.EncBinaryMarshal(yy3177) - } else if !yym3178 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3177) - } else { - z.EncFallback(yy3177) - } - } - } - if yyr3166 || yy2arr3166 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3166[4] { - yym3180 := z.EncBinary() - _ = yym3180 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3166[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3181 := z.EncBinary() - _ = yym3181 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr3166 || yy2arr3166 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3166[5] { - yym3183 := z.EncBinary() - _ = yym3183 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3166[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3184 := z.EncBinary() - _ = yym3184 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr3166 || yy2arr3166 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3185 := z.DecBinary() - _ = yym3185 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3186 := r.ContainerType() - if yyct3186 == codecSelferValueTypeMap1234 { - yyl3186 := r.ReadMapStart() - if yyl3186 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3186, d) - } - } else if yyct3186 == codecSelferValueTypeArray1234 { - yyl3186 := r.ReadArrayStart() - if yyl3186 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3186, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3187Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3187Slc - var yyhl3187 bool = l >= 0 - for yyj3187 := 0; ; yyj3187++ { - if yyhl3187 { - if yyj3187 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3187Slc = r.DecodeBytes(yys3187Slc, true, true) - yys3187 := string(yys3187Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3187 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = NodeConditionType(r.DecodeString()) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - case "lastHeartbeatTime": - if r.TryDecodeAsNil() { - x.LastHeartbeatTime = pkg2_unversioned.Time{} - } else { - yyv3190 := &x.LastHeartbeatTime - yym3191 := z.DecBinary() - _ = yym3191 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3190) { - } else if yym3191 { - z.DecBinaryUnmarshal(yyv3190) - } else if !yym3191 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3190) - } else { - z.DecFallback(yyv3190, false) - } - } - case "lastTransitionTime": - if r.TryDecodeAsNil() { - x.LastTransitionTime = pkg2_unversioned.Time{} - } else { - yyv3192 := &x.LastTransitionTime - yym3193 := z.DecBinary() - _ = yym3193 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3192) { - } else if yym3193 { - z.DecBinaryUnmarshal(yyv3192) - } else if !yym3193 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3192) - } else { - z.DecFallback(yyv3192, 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, yys3187) - } // end switch yys3187 - } // end for yyj3187 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3196 int - var yyb3196 bool - var yyhl3196 bool = l >= 0 - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = NodeConditionType(r.DecodeString()) - } - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastHeartbeatTime = pkg2_unversioned.Time{} - } else { - yyv3199 := &x.LastHeartbeatTime - yym3200 := z.DecBinary() - _ = yym3200 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3199) { - } else if yym3200 { - z.DecBinaryUnmarshal(yyv3199) - } else if !yym3200 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3199) - } else { - z.DecFallback(yyv3199, false) - } - } - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastTransitionTime = pkg2_unversioned.Time{} - } else { - yyv3201 := &x.LastTransitionTime - yym3202 := z.DecBinary() - _ = yym3202 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3201) { - } else if yym3202 { - z.DecBinaryUnmarshal(yyv3201) - } else if !yym3202 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3201) - } else { - z.DecFallback(yyv3201, false) - } - } - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - for { - yyj3196++ - if yyhl3196 { - yyb3196 = yyj3196 > l - } else { - yyb3196 = r.CheckBreak() - } - if yyb3196 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3196-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3205 := z.EncBinary() - _ = yym3205 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3206 := z.DecBinary() - _ = yym3206 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -41003,11 +40940,12 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { var yyq3208 [2]bool _, _, _ = yysep3208, yyq3208, yy2arr3208 const yyr3208 bool = false + yyq3208[1] = x.SizeBytes != 0 var yynn3208 int if yyr3208 || yy2arr3208 { r.EncodeArrayStart(2) } else { - yynn3208 = 2 + yynn3208 = 1 for _, b := range yyq3208 { if b { yynn3208++ @@ -41017,6 +40955,291 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { yynn3208 = 0 } if yyr3208 || yy2arr3208 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Names == nil { + r.EncodeNil() + } else { + yym3210 := z.EncBinary() + _ = yym3210 + if false { + } else { + z.F.EncSliceStringV(x.Names, false, e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("names")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Names == nil { + r.EncodeNil() + } else { + yym3211 := z.EncBinary() + _ = yym3211 + if false { + } else { + z.F.EncSliceStringV(x.Names, false, e) + } + } + } + if yyr3208 || yy2arr3208 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3208[1] { + yym3213 := z.EncBinary() + _ = yym3213 + if false { + } else { + r.EncodeInt(int64(x.SizeBytes)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq3208[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3214 := z.EncBinary() + _ = yym3214 + if false { + } else { + r.EncodeInt(int64(x.SizeBytes)) + } + } + } + if yyr3208 || yy2arr3208 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3215 := z.DecBinary() + _ = yym3215 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3216 := r.ContainerType() + if yyct3216 == codecSelferValueTypeMap1234 { + yyl3216 := r.ReadMapStart() + if yyl3216 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3216, d) + } + } else if yyct3216 == codecSelferValueTypeArray1234 { + yyl3216 := r.ReadArrayStart() + if yyl3216 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3216, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3217Slc = r.DecodeBytes(yys3217Slc, true, true) + yys3217 := string(yys3217Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3217 { + case "names": + if r.TryDecodeAsNil() { + x.Names = nil + } else { + yyv3218 := &x.Names + yym3219 := z.DecBinary() + _ = yym3219 + if false { + } else { + z.F.DecSliceStringX(yyv3218, false, d) + } + } + case "sizeBytes": + if r.TryDecodeAsNil() { + x.SizeBytes = 0 + } else { + x.SizeBytes = int64(r.DecodeInt(64)) + } + default: + z.DecStructFieldNotFound(-1, yys3217) + } // end switch yys3217 + } // end for yyj3217 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3221 = r.CheckBreak() + } + if yyb3221 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Names = nil + } else { + yyv3222 := &x.Names + yym3223 := z.DecBinary() + _ = yym3223 + if false { + } else { + z.F.DecSliceStringX(yyv3222, false, d) + } + } + yyj3221++ + if yyhl3221 { + yyb3221 = yyj3221 > l + } else { + yyb3221 = r.CheckBreak() + } + if yyb3221 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SizeBytes = 0 + } else { + x.SizeBytes = int64(r.DecodeInt(64)) + } + for { + yyj3221++ + if yyhl3221 { + yyb3221 = yyj3221 > l + } else { + yyb3221 = r.CheckBreak() + } + if yyb3221 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3221-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3225 := z.EncBinary() + _ = yym3225 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3226 := z.DecBinary() + _ = yym3226 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3227 := z.EncBinary() + _ = yym3227 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3228 := z.DecBinary() + _ = yym3228 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3229 := z.EncBinary() + _ = yym3229 + 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 { + r.EncodeArrayStart(6) + } else { + yynn3230 = 2 + for _, b := range yyq3230 { + if b { + yynn3230++ + } + } + r.EncodeMapStart(yynn3230) + yynn3230 = 0 + } + if yyr3230 || yy2arr3230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -41025,10 +41248,475 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3208 || yy2arr3208 { + if yyr3230 || yy2arr3230 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3211 := z.EncBinary() - _ = yym3211 + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr3230 || yy2arr3230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3230[2] { + yy3234 := &x.LastHeartbeatTime + yym3235 := z.EncBinary() + _ = yym3235 + if false { + } else if z.HasExtensions() && z.EncExt(yy3234) { + } else if yym3235 { + z.EncBinaryMarshal(yy3234) + } else if !yym3235 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3234) + } else { + z.EncFallback(yy3234) + } + } else { + r.EncodeNil() + } + } else { + if yyq3230[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3236 := &x.LastHeartbeatTime + yym3237 := z.EncBinary() + _ = yym3237 + if false { + } else if z.HasExtensions() && z.EncExt(yy3236) { + } else if yym3237 { + z.EncBinaryMarshal(yy3236) + } else if !yym3237 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3236) + } else { + z.EncFallback(yy3236) + } + } + } + if yyr3230 || yy2arr3230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3230[3] { + yy3239 := &x.LastTransitionTime + yym3240 := z.EncBinary() + _ = yym3240 + if false { + } else if z.HasExtensions() && z.EncExt(yy3239) { + } else if yym3240 { + z.EncBinaryMarshal(yy3239) + } else if !yym3240 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3239) + } else { + z.EncFallback(yy3239) + } + } else { + r.EncodeNil() + } + } else { + if yyq3230[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3241 := &x.LastTransitionTime + yym3242 := z.EncBinary() + _ = yym3242 + if false { + } else if z.HasExtensions() && z.EncExt(yy3241) { + } else if yym3242 { + z.EncBinaryMarshal(yy3241) + } else if !yym3242 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3241) + } else { + z.EncFallback(yy3241) + } + } + } + if yyr3230 || yy2arr3230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3230[4] { + yym3244 := z.EncBinary() + _ = yym3244 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3230[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3245 := z.EncBinary() + _ = yym3245 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr3230 || yy2arr3230 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3230[5] { + yym3247 := z.EncBinary() + _ = yym3247 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3230[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3248 := z.EncBinary() + _ = yym3248 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr3230 || yy2arr3230 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3249 := z.DecBinary() + _ = yym3249 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3250 := r.ContainerType() + if yyct3250 == codecSelferValueTypeMap1234 { + yyl3250 := r.ReadMapStart() + if yyl3250 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3250, d) + } + } else if yyct3250 == codecSelferValueTypeArray1234 { + yyl3250 := r.ReadArrayStart() + if yyl3250 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3250, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3251Slc = r.DecodeBytes(yys3251Slc, true, true) + yys3251 := string(yys3251Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3251 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = NodeConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + case "lastHeartbeatTime": + if r.TryDecodeAsNil() { + x.LastHeartbeatTime = pkg2_unversioned.Time{} + } else { + yyv3254 := &x.LastHeartbeatTime + yym3255 := z.DecBinary() + _ = yym3255 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3254) { + } else if yym3255 { + z.DecBinaryUnmarshal(yyv3254) + } else if !yym3255 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3254) + } else { + z.DecFallback(yyv3254, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_unversioned.Time{} + } else { + yyv3256 := &x.LastTransitionTime + yym3257 := z.DecBinary() + _ = yym3257 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3256) { + } else if yym3257 { + z.DecBinaryUnmarshal(yyv3256) + } else if !yym3257 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3256) + } else { + z.DecFallback(yyv3256, 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, yys3251) + } // end switch yys3251 + } // end for yyj3251 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = NodeConditionType(r.DecodeString()) + } + yyj3260++ + if yyhl3260 { + yyb3260 = yyj3260 > l + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + yyj3260++ + if yyhl3260 { + yyb3260 = yyj3260 > l + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastHeartbeatTime = pkg2_unversioned.Time{} + } else { + yyv3263 := &x.LastHeartbeatTime + yym3264 := z.DecBinary() + _ = yym3264 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3263) { + } else if yym3264 { + z.DecBinaryUnmarshal(yyv3263) + } else if !yym3264 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3263) + } else { + z.DecFallback(yyv3263, false) + } + } + yyj3260++ + if yyhl3260 { + yyb3260 = yyj3260 > l + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_unversioned.Time{} + } else { + yyv3265 := &x.LastTransitionTime + yym3266 := z.DecBinary() + _ = yym3266 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3265) { + } else if yym3266 { + z.DecBinaryUnmarshal(yyv3265) + } else if !yym3266 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3265) + } else { + z.DecFallback(yyv3265, false) + } + } + yyj3260++ + if yyhl3260 { + yyb3260 = yyj3260 > l + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj3260++ + if yyhl3260 { + yyb3260 = yyj3260 > l + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj3260++ + if yyhl3260 { + yyb3260 = yyj3260 > l + } else { + yyb3260 = r.CheckBreak() + } + if yyb3260 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3260-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3269 := z.EncBinary() + _ = yym3269 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3270 := z.DecBinary() + _ = yym3270 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3271 := z.EncBinary() + _ = yym3271 + 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 { + r.EncodeArrayStart(2) + } else { + yynn3272 = 2 + for _, b := range yyq3272 { + if b { + yynn3272++ + } + } + r.EncodeMapStart(yynn3272) + yynn3272 = 0 + } + if yyr3272 || yy2arr3272 { + 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 yyr3272 || yy2arr3272 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3275 := z.EncBinary() + _ = yym3275 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -41037,14 +41725,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3212 := z.EncBinary() - _ = yym3212 + yym3276 := z.EncBinary() + _ = yym3276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr3208 || yy2arr3208 { + if yyr3272 || yy2arr3272 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41057,25 +41745,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3213 := z.DecBinary() - _ = yym3213 + yym3277 := z.DecBinary() + _ = yym3277 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3214 := r.ContainerType() - if yyct3214 == codecSelferValueTypeMap1234 { - yyl3214 := r.ReadMapStart() - if yyl3214 == 0 { + yyct3278 := r.ContainerType() + if yyct3278 == codecSelferValueTypeMap1234 { + yyl3278 := r.ReadMapStart() + if yyl3278 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3214, d) + x.codecDecodeSelfFromMap(yyl3278, d) } - } else if yyct3214 == codecSelferValueTypeArray1234 { - yyl3214 := r.ReadArrayStart() - if yyl3214 == 0 { + } else if yyct3278 == codecSelferValueTypeArray1234 { + yyl3278 := r.ReadArrayStart() + if yyl3278 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3214, d) + x.codecDecodeSelfFromArray(yyl3278, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41087,12 +41775,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3215Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3215Slc - var yyhl3215 bool = l >= 0 - for yyj3215 := 0; ; yyj3215++ { - if yyhl3215 { - if yyj3215 >= l { + var yys3279Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3279Slc + var yyhl3279 bool = l >= 0 + for yyj3279 := 0; ; yyj3279++ { + if yyhl3279 { + if yyj3279 >= l { break } } else { @@ -41101,10 +41789,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3215Slc = r.DecodeBytes(yys3215Slc, true, true) - yys3215 := string(yys3215Slc) + yys3279Slc = r.DecodeBytes(yys3279Slc, true, true) + yys3279 := string(yys3279Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3215 { + switch yys3279 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -41118,9 +41806,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3215) - } // end switch yys3215 - } // end for yyj3215 + z.DecStructFieldNotFound(-1, yys3279) + } // end switch yys3279 + } // end for yyj3279 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41128,16 +41816,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3218 int - var yyb3218 bool - var yyhl3218 bool = l >= 0 - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + var yyj3282 int + var yyb3282 bool + var yyhl3282 bool = l >= 0 + yyj3282++ + if yyhl3282 { + yyb3282 = yyj3282 > l } else { - yyb3218 = r.CheckBreak() + yyb3282 = r.CheckBreak() } - if yyb3218 { + if yyb3282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41147,13 +41835,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3282++ + if yyhl3282 { + yyb3282 = yyj3282 > l } else { - yyb3218 = r.CheckBreak() + yyb3282 = r.CheckBreak() } - if yyb3218 { + if yyb3282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41164,17 +41852,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj3218++ - if yyhl3218 { - yyb3218 = yyj3218 > l + yyj3282++ + if yyhl3282 { + yyb3282 = yyj3282 > l } else { - yyb3218 = r.CheckBreak() + yyb3282 = r.CheckBreak() } - if yyb3218 { + if yyb3282 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3218-1, "") + z.DecStructFieldNotFound(yyj3282-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41186,33 +41874,33 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3221 := z.EncBinary() - _ = yym3221 + yym3285 := z.EncBinary() + _ = yym3285 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3222 := !z.EncBinary() - yy2arr3222 := z.EncBasicHandle().StructToArray - var yyq3222 [1]bool - _, _, _ = yysep3222, yyq3222, yy2arr3222 - const yyr3222 bool = false - yyq3222[0] = len(x.Capacity) != 0 - var yynn3222 int - if yyr3222 || yy2arr3222 { + 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 { r.EncodeArrayStart(1) } else { - yynn3222 = 0 - for _, b := range yyq3222 { + yynn3286 = 0 + for _, b := range yyq3286 { if b { - yynn3222++ + yynn3286++ } } - r.EncodeMapStart(yynn3222) - yynn3222 = 0 + r.EncodeMapStart(yynn3286) + yynn3286 = 0 } - if yyr3222 || yy2arr3222 { + if yyr3286 || yy2arr3286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3222[0] { + if yyq3286[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -41222,7 +41910,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3222[0] { + if yyq3286[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -41233,7 +41921,7 @@ func (x *NodeResources) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3222 || yy2arr3222 { + if yyr3286 || yy2arr3286 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41246,25 +41934,25 @@ func (x *NodeResources) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3224 := z.DecBinary() - _ = yym3224 + yym3288 := z.DecBinary() + _ = yym3288 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3225 := r.ContainerType() - if yyct3225 == codecSelferValueTypeMap1234 { - yyl3225 := r.ReadMapStart() - if yyl3225 == 0 { + yyct3289 := r.ContainerType() + if yyct3289 == codecSelferValueTypeMap1234 { + yyl3289 := r.ReadMapStart() + if yyl3289 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3225, d) + x.codecDecodeSelfFromMap(yyl3289, d) } - } else if yyct3225 == codecSelferValueTypeArray1234 { - yyl3225 := r.ReadArrayStart() - if yyl3225 == 0 { + } else if yyct3289 == codecSelferValueTypeArray1234 { + yyl3289 := r.ReadArrayStart() + if yyl3289 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3225, d) + x.codecDecodeSelfFromArray(yyl3289, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -41276,12 +41964,12 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3226Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3226Slc - var yyhl3226 bool = l >= 0 - for yyj3226 := 0; ; yyj3226++ { - if yyhl3226 { - if yyj3226 >= l { + var yys3290Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3290Slc + var yyhl3290 bool = l >= 0 + for yyj3290 := 0; ; yyj3290++ { + if yyhl3290 { + if yyj3290 >= l { break } } else { @@ -41290,21 +41978,21 @@ func (x *NodeResources) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3226Slc = r.DecodeBytes(yys3226Slc, true, true) - yys3226 := string(yys3226Slc) + yys3290Slc = r.DecodeBytes(yys3290Slc, true, true) + yys3290 := string(yys3290Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3226 { + switch yys3290 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3227 := &x.Capacity - yyv3227.CodecDecodeSelf(d) + yyv3291 := &x.Capacity + yyv3291.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3226) - } // end switch yys3226 - } // end for yyj3226 + z.DecStructFieldNotFound(-1, yys3290) + } // end switch yys3290 + } // end for yyj3290 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -41312,16 +42000,16 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3228 int - var yyb3228 bool - var yyhl3228 bool = l >= 0 - yyj3228++ - if yyhl3228 { - yyb3228 = yyj3228 > l + var yyj3292 int + var yyb3292 bool + var yyhl3292 bool = l >= 0 + yyj3292++ + if yyhl3292 { + yyb3292 = yyj3292 > l } else { - yyb3228 = r.CheckBreak() + yyb3292 = r.CheckBreak() } - if yyb3228 { + if yyb3292 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -41329,21 +42017,21 @@ func (x *NodeResources) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3229 := &x.Capacity - yyv3229.CodecDecodeSelf(d) + yyv3293 := &x.Capacity + yyv3293.CodecDecodeSelf(d) } for { - yyj3228++ - if yyhl3228 { - yyb3228 = yyj3228 > l + yyj3292++ + if yyhl3292 { + yyb3292 = yyj3292 > l } else { - yyb3228 = r.CheckBreak() + yyb3292 = r.CheckBreak() } - if yyb3228 { + if yyb3292 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3228-1, "") + z.DecStructFieldNotFound(yyj3292-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -41352,8 +42040,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3230 := z.EncBinary() - _ = yym3230 + yym3294 := z.EncBinary() + _ = yym3294 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41365,8 +42053,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3231 := z.DecBinary() - _ = yym3231 + yym3295 := z.DecBinary() + _ = yym3295 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41381,8 +42069,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3232 := z.EncBinary() - _ = yym3232 + yym3296 := z.EncBinary() + _ = yym3296 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -41395,8 +42083,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3233 := z.DecBinary() - _ = yym3233 + yym3297 := z.DecBinary() + _ = yym3297 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -41411,39 +42099,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3234 := z.EncBinary() - _ = yym3234 + yym3298 := z.EncBinary() + _ = yym3298 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3235 := !z.EncBinary() - yy2arr3235 := z.EncBasicHandle().StructToArray - var yyq3235 [5]bool - _, _, _ = yysep3235, yyq3235, yy2arr3235 - const yyr3235 bool = false - yyq3235[0] = x.Kind != "" - yyq3235[1] = x.APIVersion != "" - yyq3235[2] = true - yyq3235[3] = true - yyq3235[4] = true - var yynn3235 int - if yyr3235 || yy2arr3235 { + 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 { r.EncodeArrayStart(5) } else { - yynn3235 = 0 - for _, b := range yyq3235 { + yynn3299 = 0 + for _, b := range yyq3299 { if b { - yynn3235++ + yynn3299++ } } - r.EncodeMapStart(yynn3235) - yynn3235 = 0 + r.EncodeMapStart(yynn3299) + yynn3299 = 0 } - if yyr3235 || yy2arr3235 { + if yyr3299 || yy2arr3299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3235[0] { - yym3237 := z.EncBinary() - _ = yym3237 + if yyq3299[0] { + yym3301 := z.EncBinary() + _ = yym3301 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -41452,23 +42140,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3235[0] { + if yyq3299[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3238 := z.EncBinary() - _ = yym3238 + yym3302 := z.EncBinary() + _ = yym3302 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3235 || yy2arr3235 { + if yyr3299 || yy2arr3299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3235[1] { - yym3240 := z.EncBinary() - _ = yym3240 + if yyq3299[1] { + yym3304 := z.EncBinary() + _ = yym3304 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -41477,70 +42165,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3235[1] { + if yyq3299[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3241 := z.EncBinary() - _ = yym3241 + yym3305 := z.EncBinary() + _ = yym3305 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3235 || yy2arr3235 { + if yyr3299 || yy2arr3299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3235[2] { - yy3243 := &x.ObjectMeta - yy3243.CodecEncodeSelf(e) + if yyq3299[2] { + yy3307 := &x.ObjectMeta + yy3307.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3235[2] { + if yyq3299[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3244 := &x.ObjectMeta - yy3244.CodecEncodeSelf(e) + yy3308 := &x.ObjectMeta + yy3308.CodecEncodeSelf(e) } } - if yyr3235 || yy2arr3235 { + if yyr3299 || yy2arr3299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3235[3] { - yy3246 := &x.Spec - yy3246.CodecEncodeSelf(e) + if yyq3299[3] { + yy3310 := &x.Spec + yy3310.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3235[3] { + if yyq3299[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3247 := &x.Spec - yy3247.CodecEncodeSelf(e) + yy3311 := &x.Spec + yy3311.CodecEncodeSelf(e) } } - if yyr3235 || yy2arr3235 { + if yyr3299 || yy2arr3299 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3235[4] { - yy3249 := &x.Status - yy3249.CodecEncodeSelf(e) + if yyq3299[4] { + yy3313 := &x.Status + yy3313.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3235[4] { + if yyq3299[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3250 := &x.Status - yy3250.CodecEncodeSelf(e) + yy3314 := &x.Status + yy3314.CodecEncodeSelf(e) } } - if yyr3235 || yy2arr3235 { + if yyr3299 || yy2arr3299 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -41550,811 +42238,6 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3251 := z.DecBinary() - _ = yym3251 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3252 := r.ContainerType() - if yyct3252 == codecSelferValueTypeMap1234 { - yyl3252 := r.ReadMapStart() - if yyl3252 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3252, d) - } - } else if yyct3252 == codecSelferValueTypeArray1234 { - yyl3252 := r.ReadArrayStart() - if yyl3252 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3252, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3253Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3253Slc - var yyhl3253 bool = l >= 0 - for yyj3253 := 0; ; yyj3253++ { - if yyhl3253 { - if yyj3253 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3253Slc = r.DecodeBytes(yys3253Slc, true, true) - yys3253 := string(yys3253Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3253 { - 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 = ObjectMeta{} - } else { - yyv3256 := &x.ObjectMeta - yyv3256.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv3257 := &x.Spec - yyv3257.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv3258 := &x.Status - yyv3258.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3253) - } // end switch yys3253 - } // end for yyj3253 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3259 int - var yyb3259 bool - var yyhl3259 bool = l >= 0 - yyj3259++ - if yyhl3259 { - yyb3259 = yyj3259 > l - } else { - yyb3259 = r.CheckBreak() - } - if yyb3259 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3259++ - if yyhl3259 { - yyb3259 = yyj3259 > l - } else { - yyb3259 = r.CheckBreak() - } - if yyb3259 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3259++ - if yyhl3259 { - yyb3259 = yyj3259 > l - } else { - yyb3259 = r.CheckBreak() - } - if yyb3259 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3262 := &x.ObjectMeta - yyv3262.CodecDecodeSelf(d) - } - yyj3259++ - if yyhl3259 { - yyb3259 = yyj3259 > l - } else { - yyb3259 = r.CheckBreak() - } - if yyb3259 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv3263 := &x.Spec - yyv3263.CodecDecodeSelf(d) - } - yyj3259++ - if yyhl3259 { - yyb3259 = yyj3259 > l - } else { - yyb3259 = r.CheckBreak() - } - if yyb3259 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv3264 := &x.Status - yyv3264.CodecDecodeSelf(d) - } - for { - yyj3259++ - if yyhl3259 { - yyb3259 = yyj3259 > l - } else { - yyb3259 = r.CheckBreak() - } - if yyb3259 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3259-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3265 := z.EncBinary() - _ = yym3265 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3266 := !z.EncBinary() - yy2arr3266 := z.EncBasicHandle().StructToArray - var yyq3266 [4]bool - _, _, _ = yysep3266, yyq3266, yy2arr3266 - const yyr3266 bool = false - yyq3266[0] = x.Kind != "" - yyq3266[1] = x.APIVersion != "" - yyq3266[2] = true - var yynn3266 int - if yyr3266 || yy2arr3266 { - r.EncodeArrayStart(4) - } else { - yynn3266 = 1 - for _, b := range yyq3266 { - if b { - yynn3266++ - } - } - r.EncodeMapStart(yynn3266) - yynn3266 = 0 - } - if yyr3266 || yy2arr3266 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3266[0] { - yym3268 := z.EncBinary() - _ = yym3268 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3266[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3269 := z.EncBinary() - _ = yym3269 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3266 || yy2arr3266 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3266[1] { - yym3271 := z.EncBinary() - _ = yym3271 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3266[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3272 := z.EncBinary() - _ = yym3272 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3266 || yy2arr3266 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3266[2] { - yy3274 := &x.ListMeta - yym3275 := z.EncBinary() - _ = yym3275 - if false { - } else if z.HasExtensions() && z.EncExt(yy3274) { - } else { - z.EncFallback(yy3274) - } - } else { - r.EncodeNil() - } - } else { - if yyq3266[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3276 := &x.ListMeta - yym3277 := z.EncBinary() - _ = yym3277 - if false { - } else if z.HasExtensions() && z.EncExt(yy3276) { - } else { - z.EncFallback(yy3276) - } - } - } - if yyr3266 || yy2arr3266 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3279 := z.EncBinary() - _ = yym3279 - if false { - } else { - h.encSliceNode(([]Node)(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 { - yym3280 := z.EncBinary() - _ = yym3280 - if false { - } else { - h.encSliceNode(([]Node)(x.Items), e) - } - } - } - if yyr3266 || yy2arr3266 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3281 := z.DecBinary() - _ = yym3281 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3282 := r.ContainerType() - if yyct3282 == codecSelferValueTypeMap1234 { - yyl3282 := r.ReadMapStart() - if yyl3282 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3282, d) - } - } else if yyct3282 == codecSelferValueTypeArray1234 { - yyl3282 := r.ReadArrayStart() - if yyl3282 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3282, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3283Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3283Slc - var yyhl3283 bool = l >= 0 - for yyj3283 := 0; ; yyj3283++ { - if yyhl3283 { - if yyj3283 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3283Slc = r.DecodeBytes(yys3283Slc, true, true) - yys3283 := string(yys3283Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3283 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv3286 := &x.ListMeta - yym3287 := z.DecBinary() - _ = yym3287 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3286) { - } else { - z.DecFallback(yyv3286, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3288 := &x.Items - yym3289 := z.DecBinary() - _ = yym3289 - if false { - } else { - h.decSliceNode((*[]Node)(yyv3288), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3283) - } // end switch yys3283 - } // end for yyj3283 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3290 int - var yyb3290 bool - var yyhl3290 bool = l >= 0 - yyj3290++ - if yyhl3290 { - yyb3290 = yyj3290 > l - } else { - yyb3290 = r.CheckBreak() - } - if yyb3290 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3290++ - if yyhl3290 { - yyb3290 = yyj3290 > l - } else { - yyb3290 = r.CheckBreak() - } - if yyb3290 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3290++ - if yyhl3290 { - yyb3290 = yyj3290 > l - } else { - yyb3290 = r.CheckBreak() - } - if yyb3290 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3293 := &x.ListMeta - yym3294 := z.DecBinary() - _ = yym3294 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3293) { - } else { - z.DecFallback(yyv3293, false) - } - } - yyj3290++ - if yyhl3290 { - yyb3290 = yyj3290 > l - } else { - yyb3290 = r.CheckBreak() - } - if yyb3290 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3295 := &x.Items - yym3296 := z.DecBinary() - _ = yym3296 - if false { - } else { - h.decSliceNode((*[]Node)(yyv3295), d) - } - } - for { - yyj3290++ - if yyhl3290 { - yyb3290 = yyj3290 > l - } else { - yyb3290 = r.CheckBreak() - } - if yyb3290 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3290-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3297 := z.EncBinary() - _ = yym3297 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3298 := !z.EncBinary() - yy2arr3298 := z.EncBasicHandle().StructToArray - var yyq3298 [1]bool - _, _, _ = yysep3298, yyq3298, yy2arr3298 - const yyr3298 bool = false - var yynn3298 int - if yyr3298 || yy2arr3298 { - r.EncodeArrayStart(1) - } else { - yynn3298 = 1 - for _, b := range yyq3298 { - if b { - yynn3298++ - } - } - r.EncodeMapStart(yynn3298) - yynn3298 = 0 - } - if yyr3298 || yy2arr3298 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Finalizers == nil { - r.EncodeNil() - } else { - yym3300 := z.EncBinary() - _ = yym3300 - if false { - } else { - h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("Finalizers")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Finalizers == nil { - r.EncodeNil() - } else { - yym3301 := z.EncBinary() - _ = yym3301 - if false { - } else { - h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) - } - } - } - if yyr3298 || yy2arr3298 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3302 := z.DecBinary() - _ = yym3302 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3303 := r.ContainerType() - if yyct3303 == codecSelferValueTypeMap1234 { - yyl3303 := r.ReadMapStart() - if yyl3303 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3303, d) - } - } else if yyct3303 == codecSelferValueTypeArray1234 { - yyl3303 := r.ReadArrayStart() - if yyl3303 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3303, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3304Slc = r.DecodeBytes(yys3304Slc, true, true) - yys3304 := string(yys3304Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3304 { - case "Finalizers": - if r.TryDecodeAsNil() { - x.Finalizers = nil - } else { - yyv3305 := &x.Finalizers - yym3306 := z.DecBinary() - _ = yym3306 - if false { - } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3305), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3304) - } // end switch yys3304 - } // end for yyj3304 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3307 int - var yyb3307 bool - var yyhl3307 bool = l >= 0 - yyj3307++ - if yyhl3307 { - yyb3307 = yyj3307 > l - } else { - yyb3307 = r.CheckBreak() - } - if yyb3307 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Finalizers = nil - } else { - yyv3308 := &x.Finalizers - yym3309 := z.DecBinary() - _ = yym3309 - if false { - } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3308), d) - } - } - for { - yyj3307++ - if yyhl3307 { - yyb3307 = yyj3307 > l - } else { - yyb3307 = r.CheckBreak() - } - if yyb3307 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3307-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3310 := z.EncBinary() - _ = yym3310 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3311 := z.DecBinary() - _ = yym3311 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3312 := z.EncBinary() - _ = yym3312 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3313 := !z.EncBinary() - yy2arr3313 := z.EncBasicHandle().StructToArray - var yyq3313 [1]bool - _, _, _ = yysep3313, yyq3313, yy2arr3313 - const yyr3313 bool = false - yyq3313[0] = x.Phase != "" - var yynn3313 int - if yyr3313 || yy2arr3313 { - r.EncodeArrayStart(1) - } else { - yynn3313 = 0 - for _, b := range yyq3313 { - if b { - yynn3313++ - } - } - r.EncodeMapStart(yynn3313) - yynn3313 = 0 - } - if yyr3313 || yy2arr3313 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3313[0] { - x.Phase.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3313[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("phase")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Phase.CodecEncodeSelf(e) - } - } - if yyr3313 || yy2arr3313 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -42384,7 +42267,7 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -42406,281 +42289,6 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3317 := string(yys3317Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3317 { - case "phase": - if r.TryDecodeAsNil() { - x.Phase = "" - } else { - x.Phase = NamespacePhase(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3317) - } // end switch yys3317 - } // end for yyj3317 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3319 int - var yyb3319 bool - var yyhl3319 bool = l >= 0 - yyj3319++ - if yyhl3319 { - yyb3319 = yyj3319 > l - } else { - yyb3319 = r.CheckBreak() - } - if yyb3319 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Phase = "" - } else { - x.Phase = NamespacePhase(r.DecodeString()) - } - for { - yyj3319++ - if yyhl3319 { - yyb3319 = yyj3319 > l - } else { - yyb3319 = r.CheckBreak() - } - if yyb3319 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3319-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3321 := z.EncBinary() - _ = yym3321 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3322 := z.DecBinary() - _ = yym3322 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3323 := z.EncBinary() - _ = yym3323 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3324 := !z.EncBinary() - yy2arr3324 := z.EncBasicHandle().StructToArray - var yyq3324 [5]bool - _, _, _ = yysep3324, yyq3324, yy2arr3324 - const yyr3324 bool = false - yyq3324[0] = x.Kind != "" - yyq3324[1] = x.APIVersion != "" - yyq3324[2] = true - yyq3324[3] = true - yyq3324[4] = true - var yynn3324 int - if yyr3324 || yy2arr3324 { - r.EncodeArrayStart(5) - } else { - yynn3324 = 0 - for _, b := range yyq3324 { - if b { - yynn3324++ - } - } - r.EncodeMapStart(yynn3324) - yynn3324 = 0 - } - if yyr3324 || yy2arr3324 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3324[0] { - yym3326 := z.EncBinary() - _ = yym3326 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3324[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3327 := z.EncBinary() - _ = yym3327 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3324 || yy2arr3324 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3324[1] { - yym3329 := z.EncBinary() - _ = yym3329 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3324[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3330 := z.EncBinary() - _ = yym3330 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3324 || yy2arr3324 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3324[2] { - yy3332 := &x.ObjectMeta - yy3332.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3324[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3333 := &x.ObjectMeta - yy3333.CodecEncodeSelf(e) - } - } - if yyr3324 || yy2arr3324 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3324[3] { - yy3335 := &x.Spec - yy3335.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3324[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3336 := &x.Spec - yy3336.CodecEncodeSelf(e) - } - } - if yyr3324 || yy2arr3324 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3324[4] { - yy3338 := &x.Status - yy3338.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3324[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3339 := &x.Status - yy3339.CodecEncodeSelf(e) - } - } - if yyr3324 || yy2arr3324 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3340 := z.DecBinary() - _ = yym3340 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3341 := r.ContainerType() - if yyct3341 == codecSelferValueTypeMap1234 { - yyl3341 := r.ReadMapStart() - if yyl3341 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3341, d) - } - } else if yyct3341 == codecSelferValueTypeArray1234 { - yyl3341 := r.ReadArrayStart() - if yyl3341 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3341, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3342Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3342Slc - var yyhl3342 bool = l >= 0 - for yyj3342 := 0; ; yyj3342++ { - if yyhl3342 { - if yyj3342 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3342Slc = r.DecodeBytes(yys3342Slc, true, true) - yys3342 := string(yys3342Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3342 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42697,44 +42305,44 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3345 := &x.ObjectMeta - yyv3345.CodecDecodeSelf(d) + yyv3320 := &x.ObjectMeta + yyv3320.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} + x.Spec = NodeSpec{} } else { - yyv3346 := &x.Spec - yyv3346.CodecDecodeSelf(d) + yyv3321 := &x.Spec + yyv3321.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} + x.Status = NodeStatus{} } else { - yyv3347 := &x.Status - yyv3347.CodecDecodeSelf(d) + yyv3322 := &x.Status + yyv3322.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3342) - } // end switch yys3342 - } // end for yyj3342 + z.DecStructFieldNotFound(-1, yys3317) + } // end switch yys3317 + } // end for yyj3317 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3348 int - var yyb3348 bool - var yyhl3348 bool = l >= 0 - yyj3348++ - if yyhl3348 { - yyb3348 = yyj3348 > l + var yyj3323 int + var yyb3323 bool + var yyhl3323 bool = l >= 0 + yyj3323++ + if yyhl3323 { + yyb3323 = yyj3323 > l } else { - yyb3348 = r.CheckBreak() + yyb3323 = r.CheckBreak() } - if yyb3348 { + if yyb3323 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42744,13 +42352,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3348++ - if yyhl3348 { - yyb3348 = yyj3348 > l + yyj3323++ + if yyhl3323 { + yyb3323 = yyj3323 > l } else { - yyb3348 = r.CheckBreak() + yyb3323 = r.CheckBreak() } - if yyb3348 { + if yyb3323 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42760,13 +42368,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3348++ - if yyhl3348 { - yyb3348 = yyj3348 > l + yyj3323++ + if yyhl3323 { + yyb3323 = yyj3323 > l } else { - yyb3348 = r.CheckBreak() + yyb3323 = r.CheckBreak() } - if yyb3348 { + if yyb3323 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42774,97 +42382,97 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3351 := &x.ObjectMeta - yyv3351.CodecDecodeSelf(d) + yyv3326 := &x.ObjectMeta + yyv3326.CodecDecodeSelf(d) } - yyj3348++ - if yyhl3348 { - yyb3348 = yyj3348 > l + yyj3323++ + if yyhl3323 { + yyb3323 = yyj3323 > l } else { - yyb3348 = r.CheckBreak() + yyb3323 = r.CheckBreak() } - if yyb3348 { + if yyb3323 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} + x.Spec = NodeSpec{} } else { - yyv3352 := &x.Spec - yyv3352.CodecDecodeSelf(d) + yyv3327 := &x.Spec + yyv3327.CodecDecodeSelf(d) } - yyj3348++ - if yyhl3348 { - yyb3348 = yyj3348 > l + yyj3323++ + if yyhl3323 { + yyb3323 = yyj3323 > l } else { - yyb3348 = r.CheckBreak() + yyb3323 = r.CheckBreak() } - if yyb3348 { + if yyb3323 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} + x.Status = NodeStatus{} } else { - yyv3353 := &x.Status - yyv3353.CodecDecodeSelf(d) + yyv3328 := &x.Status + yyv3328.CodecDecodeSelf(d) } for { - yyj3348++ - if yyhl3348 { - yyb3348 = yyj3348 > l + yyj3323++ + if yyhl3323 { + yyb3323 = yyj3323 > l } else { - yyb3348 = r.CheckBreak() + yyb3323 = r.CheckBreak() } - if yyb3348 { + if yyb3323 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3348-1, "") + z.DecStructFieldNotFound(yyj3323-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3354 := z.EncBinary() - _ = yym3354 + yym3329 := z.EncBinary() + _ = yym3329 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3355 := !z.EncBinary() - yy2arr3355 := z.EncBasicHandle().StructToArray - var yyq3355 [4]bool - _, _, _ = yysep3355, yyq3355, yy2arr3355 - const yyr3355 bool = false - yyq3355[0] = x.Kind != "" - yyq3355[1] = x.APIVersion != "" - yyq3355[2] = true - var yynn3355 int - if yyr3355 || yy2arr3355 { + 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 { r.EncodeArrayStart(4) } else { - yynn3355 = 1 - for _, b := range yyq3355 { + yynn3330 = 1 + for _, b := range yyq3330 { if b { - yynn3355++ + yynn3330++ } } - r.EncodeMapStart(yynn3355) - yynn3355 = 0 + r.EncodeMapStart(yynn3330) + yynn3330 = 0 } - if yyr3355 || yy2arr3355 { + if yyr3330 || yy2arr3330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3355[0] { - yym3357 := z.EncBinary() - _ = yym3357 + if yyq3330[0] { + yym3332 := z.EncBinary() + _ = yym3332 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42873,23 +42481,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3355[0] { + if yyq3330[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3358 := z.EncBinary() - _ = yym3358 + yym3333 := z.EncBinary() + _ = yym3333 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3355 || yy2arr3355 { + if yyr3330 || yy2arr3330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3355[1] { - yym3360 := z.EncBinary() - _ = yym3360 + if yyq3330[1] { + yym3335 := z.EncBinary() + _ = yym3335 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42898,57 +42506,57 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3355[1] { + if yyq3330[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3361 := z.EncBinary() - _ = yym3361 + yym3336 := z.EncBinary() + _ = yym3336 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3355 || yy2arr3355 { + if yyr3330 || yy2arr3330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3355[2] { - yy3363 := &x.ListMeta - yym3364 := z.EncBinary() - _ = yym3364 + if yyq3330[2] { + yy3338 := &x.ListMeta + yym3339 := z.EncBinary() + _ = yym3339 if false { - } else if z.HasExtensions() && z.EncExt(yy3363) { + } else if z.HasExtensions() && z.EncExt(yy3338) { } else { - z.EncFallback(yy3363) + z.EncFallback(yy3338) } } else { r.EncodeNil() } } else { - if yyq3355[2] { + if yyq3330[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3365 := &x.ListMeta - yym3366 := z.EncBinary() - _ = yym3366 + yy3340 := &x.ListMeta + yym3341 := z.EncBinary() + _ = yym3341 if false { - } else if z.HasExtensions() && z.EncExt(yy3365) { + } else if z.HasExtensions() && z.EncExt(yy3340) { } else { - z.EncFallback(yy3365) + z.EncFallback(yy3340) } } } - if yyr3355 || yy2arr3355 { + if yyr3330 || yy2arr3330 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3368 := z.EncBinary() - _ = yym3368 + yym3343 := z.EncBinary() + _ = yym3343 if false { } else { - h.encSliceNamespace(([]Namespace)(x.Items), e) + h.encSliceNode(([]Node)(x.Items), e) } } } else { @@ -42958,15 +42566,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3369 := z.EncBinary() - _ = yym3369 + yym3344 := z.EncBinary() + _ = yym3344 if false { } else { - h.encSliceNamespace(([]Namespace)(x.Items), e) + h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr3355 || yy2arr3355 { + if yyr3330 || yy2arr3330 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42975,29 +42583,29 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3370 := z.DecBinary() - _ = yym3370 + yym3345 := z.DecBinary() + _ = yym3345 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3371 := r.ContainerType() - if yyct3371 == codecSelferValueTypeMap1234 { - yyl3371 := r.ReadMapStart() - if yyl3371 == 0 { + yyct3346 := r.ContainerType() + if yyct3346 == codecSelferValueTypeMap1234 { + yyl3346 := r.ReadMapStart() + if yyl3346 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3371, d) + x.codecDecodeSelfFromMap(yyl3346, d) } - } else if yyct3371 == codecSelferValueTypeArray1234 { - yyl3371 := r.ReadArrayStart() - if yyl3371 == 0 { + } else if yyct3346 == codecSelferValueTypeArray1234 { + yyl3346 := r.ReadArrayStart() + if yyl3346 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3371, d) + x.codecDecodeSelfFromArray(yyl3346, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43005,16 +42613,16 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3372Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3372Slc - var yyhl3372 bool = l >= 0 - for yyj3372 := 0; ; yyj3372++ { - if yyhl3372 { - if yyj3372 >= l { + var yys3347Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3347Slc + var yyhl3347 bool = l >= 0 + for yyj3347 := 0; ; yyj3347++ { + if yyhl3347 { + if yyj3347 >= l { break } } else { @@ -43023,10 +42631,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3372Slc = r.DecodeBytes(yys3372Slc, true, true) - yys3372 := string(yys3372Slc) + yys3347Slc = r.DecodeBytes(yys3347Slc, true, true) + yys3347 := string(yys3347Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3372 { + switch yys3347 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43043,48 +42651,48 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3375 := &x.ListMeta - yym3376 := z.DecBinary() - _ = yym3376 + yyv3350 := &x.ListMeta + yym3351 := z.DecBinary() + _ = yym3351 if false { - } else if z.HasExtensions() && z.DecExt(yyv3375) { + } else if z.HasExtensions() && z.DecExt(yyv3350) { } else { - z.DecFallback(yyv3375, false) + z.DecFallback(yyv3350, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3377 := &x.Items - yym3378 := z.DecBinary() - _ = yym3378 + yyv3352 := &x.Items + yym3353 := z.DecBinary() + _ = yym3353 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3377), d) + h.decSliceNode((*[]Node)(yyv3352), d) } } default: - z.DecStructFieldNotFound(-1, yys3372) - } // end switch yys3372 - } // end for yyj3372 + z.DecStructFieldNotFound(-1, yys3347) + } // end switch yys3347 + } // end for yyj3347 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3379 int - var yyb3379 bool - var yyhl3379 bool = l >= 0 - yyj3379++ - if yyhl3379 { - yyb3379 = yyj3379 > l + var yyj3354 int + var yyb3354 bool + var yyhl3354 bool = l >= 0 + yyj3354++ + if yyhl3354 { + yyb3354 = yyj3354 > l } else { - yyb3379 = r.CheckBreak() + yyb3354 = r.CheckBreak() } - if yyb3379 { + if yyb3354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43094,13 +42702,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3379++ - if yyhl3379 { - yyb3379 = yyj3379 > l + yyj3354++ + if yyhl3354 { + yyb3354 = yyj3354 > l } else { - yyb3379 = r.CheckBreak() + yyb3354 = r.CheckBreak() } - if yyb3379 { + if yyb3354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43110,13 +42718,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3379++ - if yyhl3379 { - yyb3379 = yyj3379 > l + yyj3354++ + if yyhl3354 { + yyb3354 = yyj3354 > l } else { - yyb3379 = r.CheckBreak() + yyb3354 = r.CheckBreak() } - if yyb3379 { + if yyb3354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43124,22 +42732,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3382 := &x.ListMeta - yym3383 := z.DecBinary() - _ = yym3383 + yyv3357 := &x.ListMeta + yym3358 := z.DecBinary() + _ = yym3358 if false { - } else if z.HasExtensions() && z.DecExt(yyv3382) { + } else if z.HasExtensions() && z.DecExt(yyv3357) { } else { - z.DecFallback(yyv3382, false) + z.DecFallback(yyv3357, false) } } - yyj3379++ - if yyhl3379 { - yyb3379 = yyj3379 > l + yyj3354++ + if yyhl3354 { + yyb3354 = yyj3354 > l } else { - yyb3379 = r.CheckBreak() + yyb3354 = r.CheckBreak() } - if yyb3379 { + if yyb3354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43147,142 +42755,88 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3384 := &x.Items - yym3385 := z.DecBinary() - _ = yym3385 + yyv3359 := &x.Items + yym3360 := z.DecBinary() + _ = yym3360 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3384), d) + h.decSliceNode((*[]Node)(yyv3359), d) } } for { - yyj3379++ - if yyhl3379 { - yyb3379 = yyj3379 > l + yyj3354++ + if yyhl3354 { + yyb3354 = yyj3354 > l } else { - yyb3379 = r.CheckBreak() + yyb3354 = r.CheckBreak() } - if yyb3379 { + if yyb3354 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3379-1, "") + z.DecStructFieldNotFound(yyj3354-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3386 := z.EncBinary() - _ = yym3386 + yym3361 := z.EncBinary() + _ = yym3361 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3387 := !z.EncBinary() - yy2arr3387 := z.EncBasicHandle().StructToArray - var yyq3387 [4]bool - _, _, _ = yysep3387, yyq3387, yy2arr3387 - const yyr3387 bool = false - yyq3387[0] = x.Kind != "" - yyq3387[1] = x.APIVersion != "" - yyq3387[2] = true - var yynn3387 int - if yyr3387 || yy2arr3387 { - r.EncodeArrayStart(4) + yysep3362 := !z.EncBinary() + yy2arr3362 := z.EncBasicHandle().StructToArray + var yyq3362 [1]bool + _, _, _ = yysep3362, yyq3362, yy2arr3362 + const yyr3362 bool = false + var yynn3362 int + if yyr3362 || yy2arr3362 { + r.EncodeArrayStart(1) } else { - yynn3387 = 1 - for _, b := range yyq3387 { + yynn3362 = 1 + for _, b := range yyq3362 { if b { - yynn3387++ + yynn3362++ } } - r.EncodeMapStart(yynn3387) - yynn3387 = 0 + r.EncodeMapStart(yynn3362) + yynn3362 = 0 } - if yyr3387 || yy2arr3387 { + if yyr3362 || yy2arr3362 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3387[0] { - yym3389 := z.EncBinary() - _ = yym3389 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3387[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3390 := z.EncBinary() - _ = yym3390 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3387 || yy2arr3387 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3387[1] { - yym3392 := z.EncBinary() - _ = yym3392 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3387[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3393 := z.EncBinary() - _ = yym3393 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3387 || yy2arr3387 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3387[2] { - yy3395 := &x.ObjectMeta - yy3395.CodecEncodeSelf(e) - } else { + if x.Finalizers == nil { r.EncodeNil() + } else { + yym3364 := z.EncBinary() + _ = yym3364 + if false { + } else { + h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) + } } - } else { - if yyq3387[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3396 := &x.ObjectMeta - yy3396.CodecEncodeSelf(e) - } - } - if yyr3387 || yy2arr3387 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3398 := &x.Target - yy3398.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("target")) + r.EncodeString(codecSelferC_UTF81234, string("Finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3399 := &x.Target - yy3399.CodecEncodeSelf(e) + if x.Finalizers == nil { + r.EncodeNil() + } else { + yym3365 := z.EncBinary() + _ = yym3365 + if false { + } else { + h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) + } + } } - if yyr3387 || yy2arr3387 { + if yyr3362 || yy2arr3362 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43291,29 +42845,29 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3400 := z.DecBinary() - _ = yym3400 + yym3366 := z.DecBinary() + _ = yym3366 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3401 := r.ContainerType() - if yyct3401 == codecSelferValueTypeMap1234 { - yyl3401 := r.ReadMapStart() - if yyl3401 == 0 { + yyct3367 := r.ContainerType() + if yyct3367 == codecSelferValueTypeMap1234 { + yyl3367 := r.ReadMapStart() + if yyl3367 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3401, d) + x.codecDecodeSelfFromMap(yyl3367, d) } - } else if yyct3401 == codecSelferValueTypeArray1234 { - yyl3401 := r.ReadArrayStart() - if yyl3401 == 0 { + } else if yyct3367 == codecSelferValueTypeArray1234 { + yyl3367 := r.ReadArrayStart() + if yyl3367 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3401, d) + x.codecDecodeSelfFromArray(yyl3367, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43321,16 +42875,16 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3402Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3402Slc - var yyhl3402 bool = l >= 0 - for yyj3402 := 0; ; yyj3402++ { - if yyhl3402 { - if yyj3402 >= l { + var yys3368Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3368Slc + var yyhl3368 bool = l >= 0 + for yyj3368 := 0; ; yyj3368++ { + if yyhl3368 { + if yyj3368 >= l { break } } else { @@ -43339,10 +42893,482 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3402Slc = r.DecodeBytes(yys3402Slc, true, true) - yys3402 := string(yys3402Slc) + yys3368Slc = r.DecodeBytes(yys3368Slc, true, true) + yys3368 := string(yys3368Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3402 { + switch yys3368 { + case "Finalizers": + if r.TryDecodeAsNil() { + x.Finalizers = nil + } else { + yyv3369 := &x.Finalizers + yym3370 := z.DecBinary() + _ = yym3370 + if false { + } else { + h.decSliceFinalizerName((*[]FinalizerName)(yyv3369), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3368) + } // end switch yys3368 + } // end for yyj3368 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3371 = r.CheckBreak() + } + if yyb3371 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Finalizers = nil + } else { + yyv3372 := &x.Finalizers + yym3373 := z.DecBinary() + _ = yym3373 + if false { + } else { + h.decSliceFinalizerName((*[]FinalizerName)(yyv3372), d) + } + } + for { + yyj3371++ + if yyhl3371 { + yyb3371 = yyj3371 > l + } else { + yyb3371 = r.CheckBreak() + } + if yyb3371 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3371-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3374 := z.EncBinary() + _ = yym3374 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3375 := z.DecBinary() + _ = yym3375 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3376 := z.EncBinary() + _ = yym3376 + 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 { + r.EncodeArrayStart(1) + } else { + yynn3377 = 0 + for _, b := range yyq3377 { + if b { + yynn3377++ + } + } + r.EncodeMapStart(yynn3377) + yynn3377 = 0 + } + if yyr3377 || yy2arr3377 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3377[0] { + x.Phase.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3377[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("phase")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Phase.CodecEncodeSelf(e) + } + } + if yyr3377 || yy2arr3377 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3379 := z.DecBinary() + _ = yym3379 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3380 := r.ContainerType() + if yyct3380 == codecSelferValueTypeMap1234 { + yyl3380 := r.ReadMapStart() + if yyl3380 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3380, d) + } + } else if yyct3380 == codecSelferValueTypeArray1234 { + yyl3380 := r.ReadArrayStart() + if yyl3380 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3380, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3381Slc = r.DecodeBytes(yys3381Slc, true, true) + yys3381 := string(yys3381Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3381 { + case "phase": + if r.TryDecodeAsNil() { + x.Phase = "" + } else { + x.Phase = NamespacePhase(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3381) + } // end switch yys3381 + } // end for yyj3381 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3383 = r.CheckBreak() + } + if yyb3383 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Phase = "" + } else { + x.Phase = NamespacePhase(r.DecodeString()) + } + for { + yyj3383++ + if yyhl3383 { + yyb3383 = yyj3383 > l + } else { + yyb3383 = r.CheckBreak() + } + if yyb3383 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3383-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3385 := z.EncBinary() + _ = yym3385 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3386 := z.DecBinary() + _ = yym3386 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3387 := z.EncBinary() + _ = yym3387 + 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 { + r.EncodeArrayStart(5) + } else { + yynn3388 = 0 + for _, b := range yyq3388 { + if b { + yynn3388++ + } + } + r.EncodeMapStart(yynn3388) + yynn3388 = 0 + } + if yyr3388 || yy2arr3388 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3388[0] { + yym3390 := z.EncBinary() + _ = yym3390 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3388[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3391 := z.EncBinary() + _ = yym3391 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3388 || yy2arr3388 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3388[1] { + yym3393 := z.EncBinary() + _ = yym3393 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3388[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3394 := z.EncBinary() + _ = yym3394 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3388 || yy2arr3388 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3388[2] { + yy3396 := &x.ObjectMeta + yy3396.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3388[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3397 := &x.ObjectMeta + yy3397.CodecEncodeSelf(e) + } + } + if yyr3388 || yy2arr3388 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3388[3] { + yy3399 := &x.Spec + yy3399.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3388[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3400 := &x.Spec + yy3400.CodecEncodeSelf(e) + } + } + if yyr3388 || yy2arr3388 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3388[4] { + yy3402 := &x.Status + yy3402.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3388[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3403 := &x.Status + yy3403.CodecEncodeSelf(e) + } + } + if yyr3388 || yy2arr3388 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3404 := z.DecBinary() + _ = yym3404 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3405 := r.ContainerType() + if yyct3405 == codecSelferValueTypeMap1234 { + yyl3405 := r.ReadMapStart() + if yyl3405 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3405, d) + } + } else if yyct3405 == codecSelferValueTypeArray1234 { + yyl3405 := r.ReadArrayStart() + if yyl3405 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3405, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3406Slc = r.DecodeBytes(yys3406Slc, true, true) + yys3406 := string(yys3406Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3406 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43359,37 +43385,44 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3405 := &x.ObjectMeta - yyv3405.CodecDecodeSelf(d) + yyv3409 := &x.ObjectMeta + yyv3409.CodecDecodeSelf(d) } - case "target": + case "spec": if r.TryDecodeAsNil() { - x.Target = ObjectReference{} + x.Spec = NamespaceSpec{} } else { - yyv3406 := &x.Target - yyv3406.CodecDecodeSelf(d) + yyv3410 := &x.Spec + yyv3410.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3411 := &x.Status + yyv3411.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3402) - } // end switch yys3402 - } // end for yyj3402 + z.DecStructFieldNotFound(-1, yys3406) + } // end switch yys3406 + } // end for yyj3406 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3407 int - var yyb3407 bool - var yyhl3407 bool = l >= 0 - yyj3407++ - if yyhl3407 { - yyb3407 = yyj3407 > l + var yyj3412 int + var yyb3412 bool + var yyhl3412 bool = l >= 0 + yyj3412++ + if yyhl3412 { + yyb3412 = yyj3412 > l } else { - yyb3407 = r.CheckBreak() + yyb3412 = r.CheckBreak() } - if yyb3407 { + if yyb3412 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43399,13 +43432,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3407++ - if yyhl3407 { - yyb3407 = yyj3407 > l + yyj3412++ + if yyhl3412 { + yyb3412 = yyj3412 > l } else { - yyb3407 = r.CheckBreak() + yyb3412 = r.CheckBreak() } - if yyb3407 { + if yyb3412 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43415,13 +43448,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3407++ - if yyhl3407 { - yyb3407 = yyj3407 > l + yyj3412++ + if yyhl3412 { + yyb3412 = yyj3412 > l } else { - yyb3407 = r.CheckBreak() + yyb3412 = r.CheckBreak() } - if yyb3407 { + if yyb3412 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43429,16 +43462,671 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3410 := &x.ObjectMeta - yyv3410.CodecDecodeSelf(d) + yyv3415 := &x.ObjectMeta + yyv3415.CodecDecodeSelf(d) } - yyj3407++ - if yyhl3407 { - yyb3407 = yyj3407 > l + yyj3412++ + if yyhl3412 { + yyb3412 = yyj3412 > l } else { - yyb3407 = r.CheckBreak() + yyb3412 = r.CheckBreak() } - if yyb3407 { + if yyb3412 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NamespaceSpec{} + } else { + yyv3416 := &x.Spec + yyv3416.CodecDecodeSelf(d) + } + yyj3412++ + if yyhl3412 { + yyb3412 = yyj3412 > l + } else { + yyb3412 = r.CheckBreak() + } + if yyb3412 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3417 := &x.Status + yyv3417.CodecDecodeSelf(d) + } + for { + yyj3412++ + if yyhl3412 { + yyb3412 = yyj3412 > l + } else { + yyb3412 = r.CheckBreak() + } + if yyb3412 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3412-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3418 := z.EncBinary() + _ = yym3418 + 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 { + r.EncodeArrayStart(4) + } else { + yynn3419 = 1 + for _, b := range yyq3419 { + if b { + yynn3419++ + } + } + r.EncodeMapStart(yynn3419) + yynn3419 = 0 + } + if yyr3419 || yy2arr3419 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3419[0] { + yym3421 := z.EncBinary() + _ = yym3421 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3419[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3422 := z.EncBinary() + _ = yym3422 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3419 || yy2arr3419 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3419[1] { + yym3424 := z.EncBinary() + _ = yym3424 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3419[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3425 := z.EncBinary() + _ = yym3425 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3419 || yy2arr3419 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3419[2] { + yy3427 := &x.ListMeta + yym3428 := z.EncBinary() + _ = yym3428 + if false { + } else if z.HasExtensions() && z.EncExt(yy3427) { + } else { + z.EncFallback(yy3427) + } + } else { + r.EncodeNil() + } + } else { + if yyq3419[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3429 := &x.ListMeta + yym3430 := z.EncBinary() + _ = yym3430 + if false { + } else if z.HasExtensions() && z.EncExt(yy3429) { + } else { + z.EncFallback(yy3429) + } + } + } + if yyr3419 || yy2arr3419 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3432 := z.EncBinary() + _ = yym3432 + if false { + } else { + h.encSliceNamespace(([]Namespace)(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 { + yym3433 := z.EncBinary() + _ = yym3433 + if false { + } else { + h.encSliceNamespace(([]Namespace)(x.Items), e) + } + } + } + if yyr3419 || yy2arr3419 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3434 := z.DecBinary() + _ = yym3434 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3435 := r.ContainerType() + if yyct3435 == codecSelferValueTypeMap1234 { + yyl3435 := r.ReadMapStart() + if yyl3435 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3435, d) + } + } else if yyct3435 == codecSelferValueTypeArray1234 { + yyl3435 := r.ReadArrayStart() + if yyl3435 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3435, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3436Slc = r.DecodeBytes(yys3436Slc, true, true) + yys3436 := string(yys3436Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3436 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv3439 := &x.ListMeta + yym3440 := z.DecBinary() + _ = yym3440 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3439) { + } else { + z.DecFallback(yyv3439, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3441 := &x.Items + yym3442 := z.DecBinary() + _ = yym3442 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3441), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3436) + } // end switch yys3436 + } // end for yyj3436 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3446 := &x.ListMeta + yym3447 := z.DecBinary() + _ = yym3447 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3446) { + } else { + z.DecFallback(yyv3446, false) + } + } + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3448 := &x.Items + yym3449 := z.DecBinary() + _ = yym3449 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3448), d) + } + } + for { + yyj3443++ + if yyhl3443 { + yyb3443 = yyj3443 > l + } else { + yyb3443 = r.CheckBreak() + } + if yyb3443 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3443-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3450 := z.EncBinary() + _ = yym3450 + 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 { + r.EncodeArrayStart(4) + } else { + yynn3451 = 1 + for _, b := range yyq3451 { + if b { + yynn3451++ + } + } + r.EncodeMapStart(yynn3451) + yynn3451 = 0 + } + if yyr3451 || yy2arr3451 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3451[0] { + yym3453 := z.EncBinary() + _ = yym3453 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3451[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3454 := z.EncBinary() + _ = yym3454 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3451 || yy2arr3451 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3451[1] { + yym3456 := z.EncBinary() + _ = yym3456 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3451[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3457 := z.EncBinary() + _ = yym3457 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3451 || yy2arr3451 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3451[2] { + yy3459 := &x.ObjectMeta + yy3459.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3451[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3460 := &x.ObjectMeta + yy3460.CodecEncodeSelf(e) + } + } + if yyr3451 || yy2arr3451 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3462 := &x.Target + yy3462.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("target")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3463 := &x.Target + yy3463.CodecEncodeSelf(e) + } + if yyr3451 || yy2arr3451 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3464 := z.DecBinary() + _ = yym3464 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3465 := r.ContainerType() + if yyct3465 == codecSelferValueTypeMap1234 { + yyl3465 := r.ReadMapStart() + if yyl3465 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3465, d) + } + } else if yyct3465 == codecSelferValueTypeArray1234 { + yyl3465 := r.ReadArrayStart() + if yyl3465 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3465, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3466Slc = r.DecodeBytes(yys3466Slc, true, true) + yys3466 := string(yys3466Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3466 { + 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 = ObjectMeta{} + } else { + yyv3469 := &x.ObjectMeta + yyv3469.CodecDecodeSelf(d) + } + case "target": + if r.TryDecodeAsNil() { + x.Target = ObjectReference{} + } else { + yyv3470 := &x.Target + yyv3470.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3466) + } // end switch yys3466 + } // end for yyj3466 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3471 = r.CheckBreak() + } + if yyb3471 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3471++ + if yyhl3471 { + yyb3471 = yyj3471 > l + } else { + yyb3471 = r.CheckBreak() + } + if yyb3471 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3471++ + if yyhl3471 { + yyb3471 = yyj3471 > l + } else { + yyb3471 = r.CheckBreak() + } + if yyb3471 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3474 := &x.ObjectMeta + yyv3474.CodecDecodeSelf(d) + } + yyj3471++ + if yyhl3471 { + yyb3471 = yyj3471 > l + } else { + yyb3471 = r.CheckBreak() + } + if yyb3471 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43446,21 +44134,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3411 := &x.Target - yyv3411.CodecDecodeSelf(d) + yyv3475 := &x.Target + yyv3475.CodecDecodeSelf(d) } for { - yyj3407++ - if yyhl3407 { - yyb3407 = yyj3407 > l + yyj3471++ + if yyhl3471 { + yyb3471 = yyj3471 > l } else { - yyb3407 = r.CheckBreak() + yyb3471 = r.CheckBreak() } - if yyb3407 { + if yyb3471 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3407-1, "") + z.DecStructFieldNotFound(yyj3471-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43472,68 +44160,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3412 := z.EncBinary() - _ = yym3412 + yym3476 := z.EncBinary() + _ = yym3476 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3413 := !z.EncBinary() - yy2arr3413 := z.EncBasicHandle().StructToArray - var yyq3413 [1]bool - _, _, _ = yysep3413, yyq3413, yy2arr3413 - const yyr3413 bool = false - yyq3413[0] = x.UID != nil - var yynn3413 int - if yyr3413 || yy2arr3413 { + 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 { r.EncodeArrayStart(1) } else { - yynn3413 = 0 - for _, b := range yyq3413 { + yynn3477 = 0 + for _, b := range yyq3477 { if b { - yynn3413++ + yynn3477++ } } - r.EncodeMapStart(yynn3413) - yynn3413 = 0 + r.EncodeMapStart(yynn3477) + yynn3477 = 0 } - if yyr3413 || yy2arr3413 { + if yyr3477 || yy2arr3477 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3413[0] { + if yyq3477[0] { if x.UID == nil { r.EncodeNil() } else { - yy3415 := *x.UID - yym3416 := z.EncBinary() - _ = yym3416 + yy3479 := *x.UID + yym3480 := z.EncBinary() + _ = yym3480 if false { - } else if z.HasExtensions() && z.EncExt(yy3415) { + } else if z.HasExtensions() && z.EncExt(yy3479) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3415)) + r.EncodeString(codecSelferC_UTF81234, string(yy3479)) } } } else { r.EncodeNil() } } else { - if yyq3413[0] { + if yyq3477[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy3417 := *x.UID - yym3418 := z.EncBinary() - _ = yym3418 + yy3481 := *x.UID + yym3482 := z.EncBinary() + _ = yym3482 if false { - } else if z.HasExtensions() && z.EncExt(yy3417) { + } else if z.HasExtensions() && z.EncExt(yy3481) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3417)) + r.EncodeString(codecSelferC_UTF81234, string(yy3481)) } } } } - if yyr3413 || yy2arr3413 { + if yyr3477 || yy2arr3477 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43546,25 +44234,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3419 := z.DecBinary() - _ = yym3419 + yym3483 := z.DecBinary() + _ = yym3483 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3420 := r.ContainerType() - if yyct3420 == codecSelferValueTypeMap1234 { - yyl3420 := r.ReadMapStart() - if yyl3420 == 0 { + yyct3484 := r.ContainerType() + if yyct3484 == codecSelferValueTypeMap1234 { + yyl3484 := r.ReadMapStart() + if yyl3484 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3420, d) + x.codecDecodeSelfFromMap(yyl3484, d) } - } else if yyct3420 == codecSelferValueTypeArray1234 { - yyl3420 := r.ReadArrayStart() - if yyl3420 == 0 { + } else if yyct3484 == codecSelferValueTypeArray1234 { + yyl3484 := r.ReadArrayStart() + if yyl3484 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3420, d) + x.codecDecodeSelfFromArray(yyl3484, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43576,12 +44264,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3421Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3421Slc - var yyhl3421 bool = l >= 0 - for yyj3421 := 0; ; yyj3421++ { - if yyhl3421 { - if yyj3421 >= l { + var yys3485Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3485Slc + var yyhl3485 bool = l >= 0 + for yyj3485 := 0; ; yyj3485++ { + if yyhl3485 { + if yyj3485 >= l { break } } else { @@ -43590,10 +44278,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3421Slc = r.DecodeBytes(yys3421Slc, true, true) - yys3421 := string(yys3421Slc) + yys3485Slc = r.DecodeBytes(yys3485Slc, true, true) + yys3485 := string(yys3485Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3421 { + switch yys3485 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -43603,8 +44291,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3423 := z.DecBinary() - _ = yym3423 + yym3487 := z.DecBinary() + _ = yym3487 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -43612,9 +44300,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3421) - } // end switch yys3421 - } // end for yyj3421 + z.DecStructFieldNotFound(-1, yys3485) + } // end switch yys3485 + } // end for yyj3485 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43622,16 +44310,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3424 int - var yyb3424 bool - var yyhl3424 bool = l >= 0 - yyj3424++ - if yyhl3424 { - yyb3424 = yyj3424 > l + var yyj3488 int + var yyb3488 bool + var yyhl3488 bool = l >= 0 + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3424 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3424 { + if yyb3488 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43644,8 +44332,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3426 := z.DecBinary() - _ = yym3426 + yym3490 := z.DecBinary() + _ = yym3490 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -43653,17 +44341,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj3424++ - if yyhl3424 { - yyb3424 = yyj3424 > l + yyj3488++ + if yyhl3488 { + yyb3488 = yyj3488 > l } else { - yyb3424 = r.CheckBreak() + yyb3488 = r.CheckBreak() } - if yyb3424 { + if yyb3488 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3424-1, "") + z.DecStructFieldNotFound(yyj3488-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43675,39 +44363,39 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3427 := z.EncBinary() - _ = yym3427 + yym3491 := z.EncBinary() + _ = yym3491 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3428 := !z.EncBinary() - yy2arr3428 := z.EncBasicHandle().StructToArray - var yyq3428 [5]bool - _, _, _ = yysep3428, yyq3428, yy2arr3428 - const yyr3428 bool = false - yyq3428[0] = x.Kind != "" - yyq3428[1] = x.APIVersion != "" - yyq3428[2] = x.GracePeriodSeconds != nil - yyq3428[3] = x.Preconditions != nil - yyq3428[4] = x.OrphanDependents != nil - var yynn3428 int - if yyr3428 || yy2arr3428 { + 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 { r.EncodeArrayStart(5) } else { - yynn3428 = 0 - for _, b := range yyq3428 { + yynn3492 = 0 + for _, b := range yyq3492 { if b { - yynn3428++ + yynn3492++ } } - r.EncodeMapStart(yynn3428) - yynn3428 = 0 + r.EncodeMapStart(yynn3492) + yynn3492 = 0 } - if yyr3428 || yy2arr3428 { + if yyr3492 || yy2arr3492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[0] { - yym3430 := z.EncBinary() - _ = yym3430 + if yyq3492[0] { + yym3494 := z.EncBinary() + _ = yym3494 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43716,23 +44404,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3428[0] { + if yyq3492[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3431 := z.EncBinary() - _ = yym3431 + yym3495 := z.EncBinary() + _ = yym3495 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3428 || yy2arr3428 { + if yyr3492 || yy2arr3492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[1] { - yym3433 := z.EncBinary() - _ = yym3433 + if yyq3492[1] { + yym3497 := z.EncBinary() + _ = yym3497 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43741,56 +44429,56 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3428[1] { + if yyq3492[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3434 := z.EncBinary() - _ = yym3434 + yym3498 := z.EncBinary() + _ = yym3498 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3428 || yy2arr3428 { + if yyr3492 || yy2arr3492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[2] { + if yyq3492[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3436 := *x.GracePeriodSeconds - yym3437 := z.EncBinary() - _ = yym3437 + yy3500 := *x.GracePeriodSeconds + yym3501 := z.EncBinary() + _ = yym3501 if false { } else { - r.EncodeInt(int64(yy3436)) + r.EncodeInt(int64(yy3500)) } } } else { r.EncodeNil() } } else { - if yyq3428[2] { + if yyq3492[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3438 := *x.GracePeriodSeconds - yym3439 := z.EncBinary() - _ = yym3439 + yy3502 := *x.GracePeriodSeconds + yym3503 := z.EncBinary() + _ = yym3503 if false { } else { - r.EncodeInt(int64(yy3438)) + r.EncodeInt(int64(yy3502)) } } } } - if yyr3428 || yy2arr3428 { + if yyr3492 || yy2arr3492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[3] { + if yyq3492[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -43800,7 +44488,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3428[3] { + if yyq3492[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -43811,42 +44499,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3428 || yy2arr3428 { + if yyr3492 || yy2arr3492 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3428[4] { + if yyq3492[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3442 := *x.OrphanDependents - yym3443 := z.EncBinary() - _ = yym3443 + yy3506 := *x.OrphanDependents + yym3507 := z.EncBinary() + _ = yym3507 if false { } else { - r.EncodeBool(bool(yy3442)) + r.EncodeBool(bool(yy3506)) } } } else { r.EncodeNil() } } else { - if yyq3428[4] { + if yyq3492[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3444 := *x.OrphanDependents - yym3445 := z.EncBinary() - _ = yym3445 + yy3508 := *x.OrphanDependents + yym3509 := z.EncBinary() + _ = yym3509 if false { } else { - r.EncodeBool(bool(yy3444)) + r.EncodeBool(bool(yy3508)) } } } } - if yyr3428 || yy2arr3428 { + if yyr3492 || yy2arr3492 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43859,25 +44547,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3446 := z.DecBinary() - _ = yym3446 + yym3510 := z.DecBinary() + _ = yym3510 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3447 := r.ContainerType() - if yyct3447 == codecSelferValueTypeMap1234 { - yyl3447 := r.ReadMapStart() - if yyl3447 == 0 { + yyct3511 := r.ContainerType() + if yyct3511 == codecSelferValueTypeMap1234 { + yyl3511 := r.ReadMapStart() + if yyl3511 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3447, d) + x.codecDecodeSelfFromMap(yyl3511, d) } - } else if yyct3447 == codecSelferValueTypeArray1234 { - yyl3447 := r.ReadArrayStart() - if yyl3447 == 0 { + } else if yyct3511 == codecSelferValueTypeArray1234 { + yyl3511 := r.ReadArrayStart() + if yyl3511 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3447, d) + x.codecDecodeSelfFromArray(yyl3511, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43889,12 +44577,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3448Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3448Slc - var yyhl3448 bool = l >= 0 - for yyj3448 := 0; ; yyj3448++ { - if yyhl3448 { - if yyj3448 >= l { + var yys3512Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3512Slc + var yyhl3512 bool = l >= 0 + for yyj3512 := 0; ; yyj3512++ { + if yyhl3512 { + if yyj3512 >= l { break } } else { @@ -43903,10 +44591,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3448Slc = r.DecodeBytes(yys3448Slc, true, true) - yys3448 := string(yys3448Slc) + yys3512Slc = r.DecodeBytes(yys3512Slc, true, true) + yys3512 := string(yys3512Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3448 { + switch yys3512 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43928,8 +44616,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3452 := z.DecBinary() - _ = yym3452 + yym3516 := z.DecBinary() + _ = yym3516 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -43955,17 +44643,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3455 := z.DecBinary() - _ = yym3455 + yym3519 := z.DecBinary() + _ = yym3519 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3448) - } // end switch yys3448 - } // end for yyj3448 + z.DecStructFieldNotFound(-1, yys3512) + } // end switch yys3512 + } // end for yyj3512 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43973,16 +44661,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3456 int - var yyb3456 bool - var yyhl3456 bool = l >= 0 - yyj3456++ - if yyhl3456 { - yyb3456 = yyj3456 > l + var yyj3520 int + var yyb3520 bool + var yyhl3520 bool = l >= 0 + yyj3520++ + if yyhl3520 { + yyb3520 = yyj3520 > l } else { - yyb3456 = r.CheckBreak() + yyb3520 = r.CheckBreak() } - if yyb3456 { + if yyb3520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43992,13 +44680,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3456++ - if yyhl3456 { - yyb3456 = yyj3456 > l + yyj3520++ + if yyhl3520 { + yyb3520 = yyj3520 > l } else { - yyb3456 = r.CheckBreak() + yyb3520 = r.CheckBreak() } - if yyb3456 { + if yyb3520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44008,13 +44696,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3456++ - if yyhl3456 { - yyb3456 = yyj3456 > l + yyj3520++ + if yyhl3520 { + yyb3520 = yyj3520 > l } else { - yyb3456 = r.CheckBreak() + yyb3520 = r.CheckBreak() } - if yyb3456 { + if yyb3520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44027,20 +44715,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3460 := z.DecBinary() - _ = yym3460 + yym3524 := z.DecBinary() + _ = yym3524 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj3456++ - if yyhl3456 { - yyb3456 = yyj3456 > l + yyj3520++ + if yyhl3520 { + yyb3520 = yyj3520 > l } else { - yyb3456 = r.CheckBreak() + yyb3520 = r.CheckBreak() } - if yyb3456 { + if yyb3520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44055,13 +44743,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj3456++ - if yyhl3456 { - yyb3456 = yyj3456 > l + yyj3520++ + if yyhl3520 { + yyb3520 = yyj3520 > l } else { - yyb3456 = r.CheckBreak() + yyb3520 = r.CheckBreak() } - if yyb3456 { + if yyb3520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44074,25 +44762,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3463 := z.DecBinary() - _ = yym3463 + yym3527 := z.DecBinary() + _ = yym3527 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } for { - yyj3456++ - if yyhl3456 { - yyb3456 = yyj3456 > l + yyj3520++ + if yyhl3520 { + yyb3520 = yyj3520 > l } else { - yyb3456 = r.CheckBreak() + yyb3520 = r.CheckBreak() } - if yyb3456 { + if yyb3520 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3456-1, "") + z.DecStructFieldNotFound(yyj3520-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44104,36 +44792,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3464 := z.EncBinary() - _ = yym3464 + yym3528 := z.EncBinary() + _ = yym3528 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3465 := !z.EncBinary() - yy2arr3465 := z.EncBasicHandle().StructToArray - var yyq3465 [4]bool - _, _, _ = yysep3465, yyq3465, yy2arr3465 - const yyr3465 bool = false - yyq3465[0] = x.Kind != "" - yyq3465[1] = x.APIVersion != "" - var yynn3465 int - if yyr3465 || yy2arr3465 { + 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 { r.EncodeArrayStart(4) } else { - yynn3465 = 2 - for _, b := range yyq3465 { + yynn3529 = 2 + for _, b := range yyq3529 { if b { - yynn3465++ + yynn3529++ } } - r.EncodeMapStart(yynn3465) - yynn3465 = 0 + r.EncodeMapStart(yynn3529) + yynn3529 = 0 } - if yyr3465 || yy2arr3465 { + if yyr3529 || yy2arr3529 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3465[0] { - yym3467 := z.EncBinary() - _ = yym3467 + if yyq3529[0] { + yym3531 := z.EncBinary() + _ = yym3531 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44142,23 +44830,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3465[0] { + if yyq3529[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3468 := z.EncBinary() - _ = yym3468 + yym3532 := z.EncBinary() + _ = yym3532 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3465 || yy2arr3465 { + if yyr3529 || yy2arr3529 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3465[1] { - yym3470 := z.EncBinary() - _ = yym3470 + if yyq3529[1] { + yym3534 := z.EncBinary() + _ = yym3534 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44167,22 +44855,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3465[1] { + if yyq3529[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3471 := z.EncBinary() - _ = yym3471 + yym3535 := z.EncBinary() + _ = yym3535 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3465 || yy2arr3465 { + if yyr3529 || yy2arr3529 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3473 := z.EncBinary() - _ = yym3473 + yym3537 := z.EncBinary() + _ = yym3537 if false { } else { r.EncodeBool(bool(x.Export)) @@ -44191,17 +44879,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3474 := z.EncBinary() - _ = yym3474 + yym3538 := z.EncBinary() + _ = yym3538 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr3465 || yy2arr3465 { + if yyr3529 || yy2arr3529 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3476 := z.EncBinary() - _ = yym3476 + yym3540 := z.EncBinary() + _ = yym3540 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -44210,14 +44898,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3477 := z.EncBinary() - _ = yym3477 + yym3541 := z.EncBinary() + _ = yym3541 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr3465 || yy2arr3465 { + if yyr3529 || yy2arr3529 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44230,25 +44918,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3478 := z.DecBinary() - _ = yym3478 + yym3542 := z.DecBinary() + _ = yym3542 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3479 := r.ContainerType() - if yyct3479 == codecSelferValueTypeMap1234 { - yyl3479 := r.ReadMapStart() - if yyl3479 == 0 { + yyct3543 := r.ContainerType() + if yyct3543 == codecSelferValueTypeMap1234 { + yyl3543 := r.ReadMapStart() + if yyl3543 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3479, d) + x.codecDecodeSelfFromMap(yyl3543, d) } - } else if yyct3479 == codecSelferValueTypeArray1234 { - yyl3479 := r.ReadArrayStart() - if yyl3479 == 0 { + } else if yyct3543 == codecSelferValueTypeArray1234 { + yyl3543 := r.ReadArrayStart() + if yyl3543 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3479, d) + x.codecDecodeSelfFromArray(yyl3543, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44260,12 +44948,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3480Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3480Slc - var yyhl3480 bool = l >= 0 - for yyj3480 := 0; ; yyj3480++ { - if yyhl3480 { - if yyj3480 >= l { + var yys3544Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3544Slc + var yyhl3544 bool = l >= 0 + for yyj3544 := 0; ; yyj3544++ { + if yyhl3544 { + if yyj3544 >= l { break } } else { @@ -44274,10 +44962,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3480Slc = r.DecodeBytes(yys3480Slc, true, true) - yys3480 := string(yys3480Slc) + yys3544Slc = r.DecodeBytes(yys3544Slc, true, true) + yys3544 := string(yys3544Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3480 { + switch yys3544 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44303,9 +44991,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3480) - } // end switch yys3480 - } // end for yyj3480 + z.DecStructFieldNotFound(-1, yys3544) + } // end switch yys3544 + } // end for yyj3544 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44313,16 +45001,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3485 int - var yyb3485 bool - var yyhl3485 bool = l >= 0 - yyj3485++ - if yyhl3485 { - yyb3485 = yyj3485 > l + var yyj3549 int + var yyb3549 bool + var yyhl3549 bool = l >= 0 + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb3485 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb3485 { + if yyb3549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44332,13 +45020,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3485++ - if yyhl3485 { - yyb3485 = yyj3485 > l + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb3485 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb3485 { + if yyb3549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44348,13 +45036,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3485++ - if yyhl3485 { - yyb3485 = yyj3485 > l + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb3485 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb3485 { + if yyb3549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44364,13 +45052,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj3485++ - if yyhl3485 { - yyb3485 = yyj3485 > l + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb3485 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb3485 { + if yyb3549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44381,17 +45069,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj3485++ - if yyhl3485 { - yyb3485 = yyj3485 > l + yyj3549++ + if yyhl3549 { + yyb3549 = yyj3549 > l } else { - yyb3485 = r.CheckBreak() + yyb3549 = r.CheckBreak() } - if yyb3485 { + if yyb3549 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3485-1, "") + z.DecStructFieldNotFound(yyj3549-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44403,36 +45091,36 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3490 := z.EncBinary() - _ = yym3490 + yym3554 := z.EncBinary() + _ = yym3554 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3491 := !z.EncBinary() - yy2arr3491 := z.EncBasicHandle().StructToArray - var yyq3491 [7]bool - _, _, _ = yysep3491, yyq3491, yy2arr3491 - const yyr3491 bool = false - yyq3491[0] = x.Kind != "" - yyq3491[1] = x.APIVersion != "" - var yynn3491 int - if yyr3491 || yy2arr3491 { + 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 { r.EncodeArrayStart(7) } else { - yynn3491 = 5 - for _, b := range yyq3491 { + yynn3555 = 5 + for _, b := range yyq3555 { if b { - yynn3491++ + yynn3555++ } } - r.EncodeMapStart(yynn3491) - yynn3491 = 0 + r.EncodeMapStart(yynn3555) + yynn3555 = 0 } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3491[0] { - yym3493 := z.EncBinary() - _ = yym3493 + if yyq3555[0] { + yym3557 := z.EncBinary() + _ = yym3557 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44441,23 +45129,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3491[0] { + if yyq3555[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3494 := z.EncBinary() - _ = yym3494 + yym3558 := z.EncBinary() + _ = yym3558 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3491[1] { - yym3496 := z.EncBinary() - _ = yym3496 + if yyq3555[1] { + yym3560 := z.EncBinary() + _ = yym3560 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44466,25 +45154,25 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3491[1] { + if yyq3555[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3497 := z.EncBinary() - _ = yym3497 + yym3561 := z.EncBinary() + _ = yym3561 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym3499 := z.EncBinary() - _ = yym3499 + yym3563 := z.EncBinary() + _ = yym3563 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -44498,8 +45186,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LabelSelector == nil { r.EncodeNil() } else { - yym3500 := z.EncBinary() - _ = yym3500 + yym3564 := z.EncBinary() + _ = yym3564 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -44507,13 +45195,13 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.FieldSelector == nil { r.EncodeNil() } else { - yym3502 := z.EncBinary() - _ = yym3502 + yym3566 := z.EncBinary() + _ = yym3566 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -44527,8 +45215,8 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.FieldSelector == nil { r.EncodeNil() } else { - yym3503 := z.EncBinary() - _ = yym3503 + yym3567 := z.EncBinary() + _ = yym3567 if false { } else if z.HasExtensions() && z.EncExt(x.FieldSelector) { } else { @@ -44536,10 +45224,10 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3505 := z.EncBinary() - _ = yym3505 + yym3569 := z.EncBinary() + _ = yym3569 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -44548,17 +45236,17 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3506 := z.EncBinary() - _ = yym3506 + yym3570 := z.EncBinary() + _ = yym3570 if false { } else { r.EncodeBool(bool(x.Watch)) } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3508 := z.EncBinary() - _ = yym3508 + yym3572 := z.EncBinary() + _ = yym3572 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -44567,24 +45255,24 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ResourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3509 := z.EncBinary() - _ = yym3509 + yym3573 := z.EncBinary() + _ = yym3573 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3511 := *x.TimeoutSeconds - yym3512 := z.EncBinary() - _ = yym3512 + yy3575 := *x.TimeoutSeconds + yym3576 := z.EncBinary() + _ = yym3576 if false { } else { - r.EncodeInt(int64(yy3511)) + r.EncodeInt(int64(yy3575)) } } } else { @@ -44594,16 +45282,16 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3513 := *x.TimeoutSeconds - yym3514 := z.EncBinary() - _ = yym3514 + yy3577 := *x.TimeoutSeconds + yym3578 := z.EncBinary() + _ = yym3578 if false { } else { - r.EncodeInt(int64(yy3513)) + r.EncodeInt(int64(yy3577)) } } } - if yyr3491 || yy2arr3491 { + if yyr3555 || yy2arr3555 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -44616,25 +45304,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3515 := z.DecBinary() - _ = yym3515 + yym3579 := z.DecBinary() + _ = yym3579 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3516 := r.ContainerType() - if yyct3516 == codecSelferValueTypeMap1234 { - yyl3516 := r.ReadMapStart() - if yyl3516 == 0 { + yyct3580 := r.ContainerType() + if yyct3580 == codecSelferValueTypeMap1234 { + yyl3580 := r.ReadMapStart() + if yyl3580 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3516, d) + x.codecDecodeSelfFromMap(yyl3580, d) } - } else if yyct3516 == codecSelferValueTypeArray1234 { - yyl3516 := r.ReadArrayStart() - if yyl3516 == 0 { + } else if yyct3580 == codecSelferValueTypeArray1234 { + yyl3580 := r.ReadArrayStart() + if yyl3580 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3516, d) + x.codecDecodeSelfFromArray(yyl3580, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -44646,12 +45334,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3517Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3517Slc - var yyhl3517 bool = l >= 0 - for yyj3517 := 0; ; yyj3517++ { - if yyhl3517 { - if yyj3517 >= l { + var yys3581Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3581Slc + var yyhl3581 bool = l >= 0 + for yyj3581 := 0; ; yyj3581++ { + if yyhl3581 { + if yyj3581 >= l { break } } else { @@ -44660,10 +45348,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3517Slc = r.DecodeBytes(yys3517Slc, true, true) - yys3517 := string(yys3517Slc) + yys3581Slc = r.DecodeBytes(yys3581Slc, true, true) + yys3581 := string(yys3581Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3517 { + switch yys3581 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44680,26 +45368,26 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv3520 := &x.LabelSelector - yym3521 := z.DecBinary() - _ = yym3521 + yyv3584 := &x.LabelSelector + yym3585 := z.DecBinary() + _ = yym3585 if false { - } else if z.HasExtensions() && z.DecExt(yyv3520) { + } else if z.HasExtensions() && z.DecExt(yyv3584) { } else { - z.DecFallback(yyv3520, true) + z.DecFallback(yyv3584, true) } } case "FieldSelector": if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv3522 := &x.FieldSelector - yym3523 := z.DecBinary() - _ = yym3523 + yyv3586 := &x.FieldSelector + yym3587 := z.DecBinary() + _ = yym3587 if false { - } else if z.HasExtensions() && z.DecExt(yyv3522) { + } else if z.HasExtensions() && z.DecExt(yyv3586) { } else { - z.DecFallback(yyv3522, true) + z.DecFallback(yyv3586, true) } } case "Watch": @@ -44723,17 +45411,17 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3527 := z.DecBinary() - _ = yym3527 + yym3591 := z.DecBinary() + _ = yym3591 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3517) - } // end switch yys3517 - } // end for yyj3517 + z.DecStructFieldNotFound(-1, yys3581) + } // end switch yys3581 + } // end for yyj3581 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -44741,16 +45429,16 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3528 int - var yyb3528 bool - var yyhl3528 bool = l >= 0 - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + var yyj3592 int + var yyb3592 bool + var yyhl3592 bool = l >= 0 + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44760,13 +45448,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44776,13 +45464,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44790,22 +45478,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LabelSelector = nil } else { - yyv3531 := &x.LabelSelector - yym3532 := z.DecBinary() - _ = yym3532 + yyv3595 := &x.LabelSelector + yym3596 := z.DecBinary() + _ = yym3596 if false { - } else if z.HasExtensions() && z.DecExt(yyv3531) { + } else if z.HasExtensions() && z.DecExt(yyv3595) { } else { - z.DecFallback(yyv3531, true) + z.DecFallback(yyv3595, true) } } - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44813,22 +45501,22 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FieldSelector = nil } else { - yyv3533 := &x.FieldSelector - yym3534 := z.DecBinary() - _ = yym3534 + yyv3597 := &x.FieldSelector + yym3598 := z.DecBinary() + _ = yym3598 if false { - } else if z.HasExtensions() && z.DecExt(yyv3533) { + } else if z.HasExtensions() && z.DecExt(yyv3597) { } else { - z.DecFallback(yyv3533, true) + z.DecFallback(yyv3597, true) } } - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44838,13 +45526,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Watch = bool(r.DecodeBool()) } - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44854,13 +45542,13 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -44873,25 +45561,25 @@ func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3538 := z.DecBinary() - _ = yym3538 + yym3602 := z.DecBinary() + _ = yym3602 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { - yyj3528++ - if yyhl3528 { - yyb3528 = yyj3528 > l + yyj3592++ + if yyhl3592 { + yyb3592 = yyj3592 > l } else { - yyb3528 = r.CheckBreak() + yyb3592 = r.CheckBreak() } - if yyb3528 { + if yyb3592 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3528-1, "") + z.DecStructFieldNotFound(yyj3592-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -44903,36 +45591,36 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3539 := z.EncBinary() - _ = yym3539 + yym3603 := z.EncBinary() + _ = yym3603 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3540 := !z.EncBinary() - yy2arr3540 := z.EncBasicHandle().StructToArray - var yyq3540 [10]bool - _, _, _ = yysep3540, yyq3540, yy2arr3540 - const yyr3540 bool = false - yyq3540[0] = x.Kind != "" - yyq3540[1] = x.APIVersion != "" - var yynn3540 int - if yyr3540 || yy2arr3540 { + 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 { r.EncodeArrayStart(10) } else { - yynn3540 = 8 - for _, b := range yyq3540 { + yynn3604 = 8 + for _, b := range yyq3604 { if b { - yynn3540++ + yynn3604++ } } - r.EncodeMapStart(yynn3540) - yynn3540 = 0 + r.EncodeMapStart(yynn3604) + yynn3604 = 0 } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3540[0] { - yym3542 := z.EncBinary() - _ = yym3542 + if yyq3604[0] { + yym3606 := z.EncBinary() + _ = yym3606 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44941,23 +45629,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3540[0] { + if yyq3604[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3543 := z.EncBinary() - _ = yym3543 + yym3607 := z.EncBinary() + _ = yym3607 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3540[1] { - yym3545 := z.EncBinary() - _ = yym3545 + if yyq3604[1] { + yym3609 := z.EncBinary() + _ = yym3609 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44966,22 +45654,22 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3540[1] { + if yyq3604[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3546 := z.EncBinary() - _ = yym3546 + yym3610 := z.EncBinary() + _ = yym3610 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3548 := z.EncBinary() - _ = yym3548 + yym3612 := z.EncBinary() + _ = yym3612 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -44990,17 +45678,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3549 := z.EncBinary() - _ = yym3549 + yym3613 := z.EncBinary() + _ = yym3613 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3551 := z.EncBinary() - _ = yym3551 + yym3615 := z.EncBinary() + _ = yym3615 if false { } else { r.EncodeBool(bool(x.Follow)) @@ -45009,17 +45697,17 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Follow")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3552 := z.EncBinary() - _ = yym3552 + yym3616 := z.EncBinary() + _ = yym3616 if false { } else { r.EncodeBool(bool(x.Follow)) } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3554 := z.EncBinary() - _ = yym3554 + yym3618 := z.EncBinary() + _ = yym3618 if false { } else { r.EncodeBool(bool(x.Previous)) @@ -45028,24 +45716,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Previous")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3555 := z.EncBinary() - _ = yym3555 + yym3619 := z.EncBinary() + _ = yym3619 if false { } else { r.EncodeBool(bool(x.Previous)) } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3557 := *x.SinceSeconds - yym3558 := z.EncBinary() - _ = yym3558 + yy3621 := *x.SinceSeconds + yym3622 := z.EncBinary() + _ = yym3622 if false { } else { - r.EncodeInt(int64(yy3557)) + r.EncodeInt(int64(yy3621)) } } } else { @@ -45055,27 +45743,27 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceSeconds == nil { r.EncodeNil() } else { - yy3559 := *x.SinceSeconds - yym3560 := z.EncBinary() - _ = yym3560 + yy3623 := *x.SinceSeconds + yym3624 := z.EncBinary() + _ = yym3624 if false { } else { - r.EncodeInt(int64(yy3559)) + r.EncodeInt(int64(yy3623)) } } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.SinceTime == nil { r.EncodeNil() } else { - yym3562 := z.EncBinary() - _ = yym3562 + yym3626 := z.EncBinary() + _ = yym3626 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3562 { + } else if yym3626 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym3562 && z.IsJSONHandle() { + } else if !yym3626 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) @@ -45088,23 +45776,23 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.SinceTime == nil { r.EncodeNil() } else { - yym3563 := z.EncBinary() - _ = yym3563 + yym3627 := z.EncBinary() + _ = yym3627 if false { } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3563 { + } else if yym3627 { z.EncBinaryMarshal(x.SinceTime) - } else if !yym3563 && z.IsJSONHandle() { + } else if !yym3627 && z.IsJSONHandle() { z.EncJSONMarshal(x.SinceTime) } else { z.EncFallback(x.SinceTime) } } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3565 := z.EncBinary() - _ = yym3565 + yym3629 := z.EncBinary() + _ = yym3629 if false { } else { r.EncodeBool(bool(x.Timestamps)) @@ -45113,24 +45801,24 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Timestamps")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3566 := z.EncBinary() - _ = yym3566 + yym3630 := z.EncBinary() + _ = yym3630 if false { } else { r.EncodeBool(bool(x.Timestamps)) } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TailLines == nil { r.EncodeNil() } else { - yy3568 := *x.TailLines - yym3569 := z.EncBinary() - _ = yym3569 + yy3632 := *x.TailLines + yym3633 := z.EncBinary() + _ = yym3633 if false { } else { - r.EncodeInt(int64(yy3568)) + r.EncodeInt(int64(yy3632)) } } } else { @@ -45140,26 +45828,26 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.TailLines == nil { r.EncodeNil() } else { - yy3570 := *x.TailLines - yym3571 := z.EncBinary() - _ = yym3571 + yy3634 := *x.TailLines + yym3635 := z.EncBinary() + _ = yym3635 if false { } else { - r.EncodeInt(int64(yy3570)) + r.EncodeInt(int64(yy3634)) } } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.LimitBytes == nil { r.EncodeNil() } else { - yy3573 := *x.LimitBytes - yym3574 := z.EncBinary() - _ = yym3574 + yy3637 := *x.LimitBytes + yym3638 := z.EncBinary() + _ = yym3638 if false { } else { - r.EncodeInt(int64(yy3573)) + r.EncodeInt(int64(yy3637)) } } } else { @@ -45169,16 +45857,16 @@ func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.LimitBytes == nil { r.EncodeNil() } else { - yy3575 := *x.LimitBytes - yym3576 := z.EncBinary() - _ = yym3576 + yy3639 := *x.LimitBytes + yym3640 := z.EncBinary() + _ = yym3640 if false { } else { - r.EncodeInt(int64(yy3575)) + r.EncodeInt(int64(yy3639)) } } } - if yyr3540 || yy2arr3540 { + if yyr3604 || yy2arr3604 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45191,25 +45879,25 @@ func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3577 := z.DecBinary() - _ = yym3577 + yym3641 := z.DecBinary() + _ = yym3641 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3578 := r.ContainerType() - if yyct3578 == codecSelferValueTypeMap1234 { - yyl3578 := r.ReadMapStart() - if yyl3578 == 0 { + yyct3642 := r.ContainerType() + if yyct3642 == codecSelferValueTypeMap1234 { + yyl3642 := r.ReadMapStart() + if yyl3642 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3578, d) + x.codecDecodeSelfFromMap(yyl3642, d) } - } else if yyct3578 == codecSelferValueTypeArray1234 { - yyl3578 := r.ReadArrayStart() - if yyl3578 == 0 { + } else if yyct3642 == codecSelferValueTypeArray1234 { + yyl3642 := r.ReadArrayStart() + if yyl3642 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3578, d) + x.codecDecodeSelfFromArray(yyl3642, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45221,12 +45909,12 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3579Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3579Slc - var yyhl3579 bool = l >= 0 - for yyj3579 := 0; ; yyj3579++ { - if yyhl3579 { - if yyj3579 >= l { + var yys3643Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3643Slc + var yyhl3643 bool = l >= 0 + for yyj3643 := 0; ; yyj3643++ { + if yyhl3643 { + if yyj3643 >= l { break } } else { @@ -45235,10 +45923,10 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3579Slc = r.DecodeBytes(yys3579Slc, true, true) - yys3579 := string(yys3579Slc) + yys3643Slc = r.DecodeBytes(yys3643Slc, true, true) + yys3643 := string(yys3643Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3579 { + switch yys3643 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45278,8 +45966,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3586 := z.DecBinary() - _ = yym3586 + yym3650 := z.DecBinary() + _ = yym3650 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) @@ -45294,13 +45982,13 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym3588 := z.DecBinary() - _ = yym3588 + yym3652 := z.DecBinary() + _ = yym3652 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3588 { + } else if yym3652 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3588 && z.IsJSONHandle() { + } else if !yym3652 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) @@ -45321,8 +46009,8 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3591 := z.DecBinary() - _ = yym3591 + yym3655 := z.DecBinary() + _ = yym3655 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) @@ -45337,17 +46025,17 @@ func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3593 := z.DecBinary() - _ = yym3593 + yym3657 := z.DecBinary() + _ = yym3657 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3579) - } // end switch yys3579 - } // end for yyj3579 + z.DecStructFieldNotFound(-1, yys3643) + } // end switch yys3643 + } // end for yyj3643 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45355,16 +46043,16 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3594 int - var yyb3594 bool - var yyhl3594 bool = l >= 0 - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + var yyj3658 int + var yyb3658 bool + var yyhl3658 bool = l >= 0 + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45374,13 +46062,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45390,13 +46078,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45406,13 +46094,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45422,13 +46110,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Follow = bool(r.DecodeBool()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45438,13 +46126,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Previous = bool(r.DecodeBool()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45457,20 +46145,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceSeconds == nil { x.SinceSeconds = new(int64) } - yym3601 := z.DecBinary() - _ = yym3601 + yym3665 := z.DecBinary() + _ = yym3665 if false { } else { *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) } } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45483,25 +46171,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.SinceTime == nil { x.SinceTime = new(pkg2_unversioned.Time) } - yym3603 := z.DecBinary() - _ = yym3603 + yym3667 := z.DecBinary() + _ = yym3667 if false { } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3603 { + } else if yym3667 { z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3603 && z.IsJSONHandle() { + } else if !yym3667 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.SinceTime) } else { z.DecFallback(x.SinceTime, false) } } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45511,13 +46199,13 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Timestamps = bool(r.DecodeBool()) } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45530,20 +46218,20 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TailLines == nil { x.TailLines = new(int64) } - yym3606 := z.DecBinary() - _ = yym3606 + yym3670 := z.DecBinary() + _ = yym3670 if false { } else { *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) } } - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45556,25 +46244,25 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.LimitBytes == nil { x.LimitBytes = new(int64) } - yym3608 := z.DecBinary() - _ = yym3608 + yym3672 := z.DecBinary() + _ = yym3672 if false { } else { *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) } } for { - yyj3594++ - if yyhl3594 { - yyb3594 = yyj3594 > l + yyj3658++ + if yyhl3658 { + yyb3658 = yyj3658 > l } else { - yyb3594 = r.CheckBreak() + yyb3658 = r.CheckBreak() } - if yyb3594 { + if yyb3658 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3594-1, "") + z.DecStructFieldNotFound(yyj3658-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45586,41 +46274,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3609 := z.EncBinary() - _ = yym3609 + yym3673 := z.EncBinary() + _ = yym3673 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3610 := !z.EncBinary() - yy2arr3610 := z.EncBasicHandle().StructToArray - var yyq3610 [7]bool - _, _, _ = yysep3610, yyq3610, yy2arr3610 - const yyr3610 bool = false - yyq3610[0] = x.Kind != "" - yyq3610[1] = x.APIVersion != "" - yyq3610[2] = x.Stdin != false - yyq3610[3] = x.Stdout != false - yyq3610[4] = x.Stderr != false - yyq3610[5] = x.TTY != false - yyq3610[6] = x.Container != "" - var yynn3610 int - if yyr3610 || yy2arr3610 { + 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 { r.EncodeArrayStart(7) } else { - yynn3610 = 0 - for _, b := range yyq3610 { + yynn3674 = 0 + for _, b := range yyq3674 { if b { - yynn3610++ + yynn3674++ } } - r.EncodeMapStart(yynn3610) - yynn3610 = 0 + r.EncodeMapStart(yynn3674) + yynn3674 = 0 } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[0] { - yym3612 := z.EncBinary() - _ = yym3612 + if yyq3674[0] { + yym3676 := z.EncBinary() + _ = yym3676 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45629,23 +46317,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3610[0] { + if yyq3674[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3613 := z.EncBinary() - _ = yym3613 + yym3677 := z.EncBinary() + _ = yym3677 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[1] { - yym3615 := z.EncBinary() - _ = yym3615 + if yyq3674[1] { + yym3679 := z.EncBinary() + _ = yym3679 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45654,23 +46342,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3610[1] { + if yyq3674[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3616 := z.EncBinary() - _ = yym3616 + yym3680 := z.EncBinary() + _ = yym3680 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[2] { - yym3618 := z.EncBinary() - _ = yym3618 + if yyq3674[2] { + yym3682 := z.EncBinary() + _ = yym3682 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -45679,23 +46367,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3610[2] { + if yyq3674[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3619 := z.EncBinary() - _ = yym3619 + yym3683 := z.EncBinary() + _ = yym3683 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[3] { - yym3621 := z.EncBinary() - _ = yym3621 + if yyq3674[3] { + yym3685 := z.EncBinary() + _ = yym3685 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -45704,23 +46392,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3610[3] { + if yyq3674[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3622 := z.EncBinary() - _ = yym3622 + yym3686 := z.EncBinary() + _ = yym3686 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[4] { - yym3624 := z.EncBinary() - _ = yym3624 + if yyq3674[4] { + yym3688 := z.EncBinary() + _ = yym3688 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -45729,23 +46417,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3610[4] { + if yyq3674[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3625 := z.EncBinary() - _ = yym3625 + yym3689 := z.EncBinary() + _ = yym3689 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[5] { - yym3627 := z.EncBinary() - _ = yym3627 + if yyq3674[5] { + yym3691 := z.EncBinary() + _ = yym3691 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -45754,23 +46442,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3610[5] { + if yyq3674[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3628 := z.EncBinary() - _ = yym3628 + yym3692 := z.EncBinary() + _ = yym3692 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3610[6] { - yym3630 := z.EncBinary() - _ = yym3630 + if yyq3674[6] { + yym3694 := z.EncBinary() + _ = yym3694 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -45779,19 +46467,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3610[6] { + if yyq3674[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3631 := z.EncBinary() - _ = yym3631 + yym3695 := z.EncBinary() + _ = yym3695 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3610 || yy2arr3610 { + if yyr3674 || yy2arr3674 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45804,25 +46492,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3632 := z.DecBinary() - _ = yym3632 + yym3696 := z.DecBinary() + _ = yym3696 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3633 := r.ContainerType() - if yyct3633 == codecSelferValueTypeMap1234 { - yyl3633 := r.ReadMapStart() - if yyl3633 == 0 { + yyct3697 := r.ContainerType() + if yyct3697 == codecSelferValueTypeMap1234 { + yyl3697 := r.ReadMapStart() + if yyl3697 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3633, d) + x.codecDecodeSelfFromMap(yyl3697, d) } - } else if yyct3633 == codecSelferValueTypeArray1234 { - yyl3633 := r.ReadArrayStart() - if yyl3633 == 0 { + } else if yyct3697 == codecSelferValueTypeArray1234 { + yyl3697 := r.ReadArrayStart() + if yyl3697 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3633, d) + x.codecDecodeSelfFromArray(yyl3697, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45834,12 +46522,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3634Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3634Slc - var yyhl3634 bool = l >= 0 - for yyj3634 := 0; ; yyj3634++ { - if yyhl3634 { - if yyj3634 >= l { + var yys3698Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3698Slc + var yyhl3698 bool = l >= 0 + for yyj3698 := 0; ; yyj3698++ { + if yyhl3698 { + if yyj3698 >= l { break } } else { @@ -45848,10 +46536,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3634Slc = r.DecodeBytes(yys3634Slc, true, true) - yys3634 := string(yys3634Slc) + yys3698Slc = r.DecodeBytes(yys3698Slc, true, true) + yys3698 := string(yys3698Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3634 { + switch yys3698 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45895,9 +46583,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3634) - } // end switch yys3634 - } // end for yyj3634 + z.DecStructFieldNotFound(-1, yys3698) + } // end switch yys3698 + } // end for yyj3698 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45905,16 +46593,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3642 int - var yyb3642 bool - var yyhl3642 bool = l >= 0 - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + var yyj3706 int + var yyb3706 bool + var yyhl3706 bool = l >= 0 + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45924,13 +46612,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45940,13 +46628,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45956,13 +46644,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45972,13 +46660,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45988,13 +46676,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46004,13 +46692,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46021,17 +46709,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj3642++ - if yyhl3642 { - yyb3642 = yyj3642 > l + yyj3706++ + if yyhl3706 { + yyb3706 = yyj3706 > l } else { - yyb3642 = r.CheckBreak() + yyb3706 = r.CheckBreak() } - if yyb3642 { + if yyb3706 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3642-1, "") + z.DecStructFieldNotFound(yyj3706-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46043,36 +46731,36 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3650 := z.EncBinary() - _ = yym3650 + yym3714 := z.EncBinary() + _ = yym3714 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3651 := !z.EncBinary() - yy2arr3651 := z.EncBasicHandle().StructToArray - var yyq3651 [8]bool - _, _, _ = yysep3651, yyq3651, yy2arr3651 - const yyr3651 bool = false - yyq3651[0] = x.Kind != "" - yyq3651[1] = x.APIVersion != "" - var yynn3651 int - if yyr3651 || yy2arr3651 { + 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 { r.EncodeArrayStart(8) } else { - yynn3651 = 6 - for _, b := range yyq3651 { + yynn3715 = 6 + for _, b := range yyq3715 { if b { - yynn3651++ + yynn3715++ } } - r.EncodeMapStart(yynn3651) - yynn3651 = 0 + r.EncodeMapStart(yynn3715) + yynn3715 = 0 } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3651[0] { - yym3653 := z.EncBinary() - _ = yym3653 + if yyq3715[0] { + yym3717 := z.EncBinary() + _ = yym3717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46081,23 +46769,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3651[0] { + if yyq3715[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3654 := z.EncBinary() - _ = yym3654 + yym3718 := z.EncBinary() + _ = yym3718 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3651[1] { - yym3656 := z.EncBinary() - _ = yym3656 + if yyq3715[1] { + yym3720 := z.EncBinary() + _ = yym3720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46106,22 +46794,22 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3651[1] { + if yyq3715[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3657 := z.EncBinary() - _ = yym3657 + yym3721 := z.EncBinary() + _ = yym3721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3659 := z.EncBinary() - _ = yym3659 + yym3723 := z.EncBinary() + _ = yym3723 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -46130,17 +46818,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3660 := z.EncBinary() - _ = yym3660 + yym3724 := z.EncBinary() + _ = yym3724 if false { } else { r.EncodeBool(bool(x.Stdin)) } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3662 := z.EncBinary() - _ = yym3662 + yym3726 := z.EncBinary() + _ = yym3726 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -46149,17 +46837,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3663 := z.EncBinary() - _ = yym3663 + yym3727 := z.EncBinary() + _ = yym3727 if false { } else { r.EncodeBool(bool(x.Stdout)) } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3665 := z.EncBinary() - _ = yym3665 + yym3729 := z.EncBinary() + _ = yym3729 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -46168,17 +46856,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3666 := z.EncBinary() - _ = yym3666 + yym3730 := z.EncBinary() + _ = yym3730 if false { } else { r.EncodeBool(bool(x.Stderr)) } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3668 := z.EncBinary() - _ = yym3668 + yym3732 := z.EncBinary() + _ = yym3732 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -46187,17 +46875,17 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("TTY")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3669 := z.EncBinary() - _ = yym3669 + yym3733 := z.EncBinary() + _ = yym3733 if false { } else { r.EncodeBool(bool(x.TTY)) } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3671 := z.EncBinary() - _ = yym3671 + yym3735 := z.EncBinary() + _ = yym3735 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -46206,20 +46894,20 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3672 := z.EncBinary() - _ = yym3672 + yym3736 := z.EncBinary() + _ = yym3736 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3674 := z.EncBinary() - _ = yym3674 + yym3738 := z.EncBinary() + _ = yym3738 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -46232,15 +46920,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3675 := z.EncBinary() - _ = yym3675 + yym3739 := z.EncBinary() + _ = yym3739 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3651 || yy2arr3651 { + if yyr3715 || yy2arr3715 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46253,25 +46941,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3676 := z.DecBinary() - _ = yym3676 + yym3740 := z.DecBinary() + _ = yym3740 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3677 := r.ContainerType() - if yyct3677 == codecSelferValueTypeMap1234 { - yyl3677 := r.ReadMapStart() - if yyl3677 == 0 { + yyct3741 := r.ContainerType() + if yyct3741 == codecSelferValueTypeMap1234 { + yyl3741 := r.ReadMapStart() + if yyl3741 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3677, d) + x.codecDecodeSelfFromMap(yyl3741, d) } - } else if yyct3677 == codecSelferValueTypeArray1234 { - yyl3677 := r.ReadArrayStart() - if yyl3677 == 0 { + } else if yyct3741 == codecSelferValueTypeArray1234 { + yyl3741 := r.ReadArrayStart() + if yyl3741 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3677, d) + x.codecDecodeSelfFromArray(yyl3741, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46283,12 +46971,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3678Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3678Slc - var yyhl3678 bool = l >= 0 - for yyj3678 := 0; ; yyj3678++ { - if yyhl3678 { - if yyj3678 >= l { + var yys3742Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3742Slc + var yyhl3742 bool = l >= 0 + for yyj3742 := 0; ; yyj3742++ { + if yyhl3742 { + if yyj3742 >= l { break } } else { @@ -46297,10 +46985,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3678Slc = r.DecodeBytes(yys3678Slc, true, true) - yys3678 := string(yys3678Slc) + yys3742Slc = r.DecodeBytes(yys3742Slc, true, true) + yys3742 := string(yys3742Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3678 { + switch yys3742 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46347,18 +47035,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3686 := &x.Command - yym3687 := z.DecBinary() - _ = yym3687 + yyv3750 := &x.Command + yym3751 := z.DecBinary() + _ = yym3751 if false { } else { - z.F.DecSliceStringX(yyv3686, false, d) + z.F.DecSliceStringX(yyv3750, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3678) - } // end switch yys3678 - } // end for yyj3678 + z.DecStructFieldNotFound(-1, yys3742) + } // end switch yys3742 + } // end for yyj3742 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46366,16 +47054,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3688 int - var yyb3688 bool - var yyhl3688 bool = l >= 0 - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + var yyj3752 int + var yyb3752 bool + var yyhl3752 bool = l >= 0 + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46385,13 +47073,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46401,13 +47089,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46417,13 +47105,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46433,13 +47121,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46449,13 +47137,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46465,13 +47153,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46481,13 +47169,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46495,26 +47183,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3696 := &x.Command - yym3697 := z.DecBinary() - _ = yym3697 + yyv3760 := &x.Command + yym3761 := z.DecBinary() + _ = yym3761 if false { } else { - z.F.DecSliceStringX(yyv3696, false, d) + z.F.DecSliceStringX(yyv3760, false, d) } } for { - yyj3688++ - if yyhl3688 { - yyb3688 = yyj3688 > l + yyj3752++ + if yyhl3752 { + yyb3752 = yyj3752 > l } else { - yyb3688 = r.CheckBreak() + yyb3752 = r.CheckBreak() } - if yyb3688 { + if yyb3752 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3688-1, "") + z.DecStructFieldNotFound(yyj3752-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46526,36 +47214,36 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3698 := z.EncBinary() - _ = yym3698 + yym3762 := z.EncBinary() + _ = yym3762 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3699 := !z.EncBinary() - yy2arr3699 := z.EncBasicHandle().StructToArray - var yyq3699 [3]bool - _, _, _ = yysep3699, yyq3699, yy2arr3699 - const yyr3699 bool = false - yyq3699[0] = x.Kind != "" - yyq3699[1] = x.APIVersion != "" - var yynn3699 int - if yyr3699 || yy2arr3699 { + 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 { r.EncodeArrayStart(3) } else { - yynn3699 = 1 - for _, b := range yyq3699 { + yynn3763 = 1 + for _, b := range yyq3763 { if b { - yynn3699++ + yynn3763++ } } - r.EncodeMapStart(yynn3699) - yynn3699 = 0 + r.EncodeMapStart(yynn3763) + yynn3763 = 0 } - if yyr3699 || yy2arr3699 { + if yyr3763 || yy2arr3763 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3699[0] { - yym3701 := z.EncBinary() - _ = yym3701 + if yyq3763[0] { + yym3765 := z.EncBinary() + _ = yym3765 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46564,23 +47252,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3699[0] { + if yyq3763[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3702 := z.EncBinary() - _ = yym3702 + yym3766 := z.EncBinary() + _ = yym3766 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3699 || yy2arr3699 { + if yyr3763 || yy2arr3763 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3699[1] { - yym3704 := z.EncBinary() - _ = yym3704 + if yyq3763[1] { + yym3768 := z.EncBinary() + _ = yym3768 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46589,22 +47277,22 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3699[1] { + if yyq3763[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3705 := z.EncBinary() - _ = yym3705 + yym3769 := z.EncBinary() + _ = yym3769 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3699 || yy2arr3699 { + if yyr3763 || yy2arr3763 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3707 := z.EncBinary() - _ = yym3707 + yym3771 := z.EncBinary() + _ = yym3771 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46613,14 +47301,14 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3708 := z.EncBinary() - _ = yym3708 + yym3772 := z.EncBinary() + _ = yym3772 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3699 || yy2arr3699 { + if yyr3763 || yy2arr3763 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46633,25 +47321,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3709 := z.DecBinary() - _ = yym3709 + yym3773 := z.DecBinary() + _ = yym3773 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3710 := r.ContainerType() - if yyct3710 == codecSelferValueTypeMap1234 { - yyl3710 := r.ReadMapStart() - if yyl3710 == 0 { + yyct3774 := r.ContainerType() + if yyct3774 == codecSelferValueTypeMap1234 { + yyl3774 := r.ReadMapStart() + if yyl3774 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3710, d) + x.codecDecodeSelfFromMap(yyl3774, d) } - } else if yyct3710 == codecSelferValueTypeArray1234 { - yyl3710 := r.ReadArrayStart() - if yyl3710 == 0 { + } else if yyct3774 == codecSelferValueTypeArray1234 { + yyl3774 := r.ReadArrayStart() + if yyl3774 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3710, d) + x.codecDecodeSelfFromArray(yyl3774, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46663,12 +47351,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3711Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3711Slc - var yyhl3711 bool = l >= 0 - for yyj3711 := 0; ; yyj3711++ { - if yyhl3711 { - if yyj3711 >= l { + var yys3775Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3775Slc + var yyhl3775 bool = l >= 0 + for yyj3775 := 0; ; yyj3775++ { + if yyhl3775 { + if yyj3775 >= l { break } } else { @@ -46677,10 +47365,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3711Slc = r.DecodeBytes(yys3711Slc, true, true) - yys3711 := string(yys3711Slc) + yys3775Slc = r.DecodeBytes(yys3775Slc, true, true) + yys3775 := string(yys3775Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3711 { + switch yys3775 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46700,9 +47388,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3711) - } // end switch yys3711 - } // end for yyj3711 + z.DecStructFieldNotFound(-1, yys3775) + } // end switch yys3775 + } // end for yyj3775 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46710,16 +47398,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3715 int - var yyb3715 bool - var yyhl3715 bool = l >= 0 - yyj3715++ - if yyhl3715 { - yyb3715 = yyj3715 > l + var yyj3779 int + var yyb3779 bool + var yyhl3779 bool = l >= 0 + yyj3779++ + if yyhl3779 { + yyb3779 = yyj3779 > l } else { - yyb3715 = r.CheckBreak() + yyb3779 = r.CheckBreak() } - if yyb3715 { + if yyb3779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46729,13 +47417,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3715++ - if yyhl3715 { - yyb3715 = yyj3715 > l + yyj3779++ + if yyhl3779 { + yyb3779 = yyj3779 > l } else { - yyb3715 = r.CheckBreak() + yyb3779 = r.CheckBreak() } - if yyb3715 { + if yyb3779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46745,13 +47433,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3715++ - if yyhl3715 { - yyb3715 = yyj3715 > l + yyj3779++ + if yyhl3779 { + yyb3779 = yyj3779 > l } else { - yyb3715 = r.CheckBreak() + yyb3779 = r.CheckBreak() } - if yyb3715 { + if yyb3779 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46762,17 +47450,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3715++ - if yyhl3715 { - yyb3715 = yyj3715 > l + yyj3779++ + if yyhl3779 { + yyb3779 = yyj3779 > l } else { - yyb3715 = r.CheckBreak() + yyb3779 = r.CheckBreak() } - if yyb3715 { + if yyb3779 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3715-1, "") + z.DecStructFieldNotFound(yyj3779-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46784,36 +47472,36 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3719 := z.EncBinary() - _ = yym3719 + yym3783 := z.EncBinary() + _ = yym3783 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3720 := !z.EncBinary() - yy2arr3720 := z.EncBasicHandle().StructToArray - var yyq3720 [3]bool - _, _, _ = yysep3720, yyq3720, yy2arr3720 - const yyr3720 bool = false - yyq3720[0] = x.Kind != "" - yyq3720[1] = x.APIVersion != "" - var yynn3720 int - if yyr3720 || yy2arr3720 { + 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 { r.EncodeArrayStart(3) } else { - yynn3720 = 1 - for _, b := range yyq3720 { + yynn3784 = 1 + for _, b := range yyq3784 { if b { - yynn3720++ + yynn3784++ } } - r.EncodeMapStart(yynn3720) - yynn3720 = 0 + r.EncodeMapStart(yynn3784) + yynn3784 = 0 } - if yyr3720 || yy2arr3720 { + if yyr3784 || yy2arr3784 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3720[0] { - yym3722 := z.EncBinary() - _ = yym3722 + if yyq3784[0] { + yym3786 := z.EncBinary() + _ = yym3786 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46822,23 +47510,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3720[0] { + if yyq3784[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3723 := z.EncBinary() - _ = yym3723 + yym3787 := z.EncBinary() + _ = yym3787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3720 || yy2arr3720 { + if yyr3784 || yy2arr3784 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3720[1] { - yym3725 := z.EncBinary() - _ = yym3725 + if yyq3784[1] { + yym3789 := z.EncBinary() + _ = yym3789 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46847,22 +47535,22 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3720[1] { + if yyq3784[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3726 := z.EncBinary() - _ = yym3726 + yym3790 := z.EncBinary() + _ = yym3790 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3720 || yy2arr3720 { + if yyr3784 || yy2arr3784 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3728 := z.EncBinary() - _ = yym3728 + yym3792 := z.EncBinary() + _ = yym3792 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46871,14 +47559,14 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3729 := z.EncBinary() - _ = yym3729 + yym3793 := z.EncBinary() + _ = yym3793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3720 || yy2arr3720 { + if yyr3784 || yy2arr3784 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46891,25 +47579,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3730 := z.DecBinary() - _ = yym3730 + yym3794 := z.DecBinary() + _ = yym3794 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3731 := r.ContainerType() - if yyct3731 == codecSelferValueTypeMap1234 { - yyl3731 := r.ReadMapStart() - if yyl3731 == 0 { + yyct3795 := r.ContainerType() + if yyct3795 == codecSelferValueTypeMap1234 { + yyl3795 := r.ReadMapStart() + if yyl3795 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3731, d) + x.codecDecodeSelfFromMap(yyl3795, d) } - } else if yyct3731 == codecSelferValueTypeArray1234 { - yyl3731 := r.ReadArrayStart() - if yyl3731 == 0 { + } else if yyct3795 == codecSelferValueTypeArray1234 { + yyl3795 := r.ReadArrayStart() + if yyl3795 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3731, d) + x.codecDecodeSelfFromArray(yyl3795, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46921,12 +47609,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3732Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3732Slc - var yyhl3732 bool = l >= 0 - for yyj3732 := 0; ; yyj3732++ { - if yyhl3732 { - if yyj3732 >= l { + var yys3796Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3796Slc + var yyhl3796 bool = l >= 0 + for yyj3796 := 0; ; yyj3796++ { + if yyhl3796 { + if yyj3796 >= l { break } } else { @@ -46935,10 +47623,10 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3732Slc = r.DecodeBytes(yys3732Slc, true, true) - yys3732 := string(yys3732Slc) + yys3796Slc = r.DecodeBytes(yys3796Slc, true, true) + yys3796 := string(yys3796Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3732 { + switch yys3796 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46958,9 +47646,9 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3732) - } // end switch yys3732 - } // end for yyj3732 + z.DecStructFieldNotFound(-1, yys3796) + } // end switch yys3796 + } // end for yyj3796 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46968,16 +47656,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3736 int - var yyb3736 bool - var yyhl3736 bool = l >= 0 - yyj3736++ - if yyhl3736 { - yyb3736 = yyj3736 > l + var yyj3800 int + var yyb3800 bool + var yyhl3800 bool = l >= 0 + yyj3800++ + if yyhl3800 { + yyb3800 = yyj3800 > l } else { - yyb3736 = r.CheckBreak() + yyb3800 = r.CheckBreak() } - if yyb3736 { + if yyb3800 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46987,13 +47675,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3736++ - if yyhl3736 { - yyb3736 = yyj3736 > l + yyj3800++ + if yyhl3800 { + yyb3800 = yyj3800 > l } else { - yyb3736 = r.CheckBreak() + yyb3800 = r.CheckBreak() } - if yyb3736 { + if yyb3800 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47003,13 +47691,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3736++ - if yyhl3736 { - yyb3736 = yyj3736 > l + yyj3800++ + if yyhl3800 { + yyb3800 = yyj3800 > l } else { - yyb3736 = r.CheckBreak() + yyb3800 = r.CheckBreak() } - if yyb3736 { + if yyb3800 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47020,17 +47708,17 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3736++ - if yyhl3736 { - yyb3736 = yyj3736 > l + yyj3800++ + if yyhl3800 { + yyb3800 = yyj3800 > l } else { - yyb3736 = r.CheckBreak() + yyb3800 = r.CheckBreak() } - if yyb3736 { + if yyb3800 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3736-1, "") + z.DecStructFieldNotFound(yyj3800-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47042,36 +47730,36 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3740 := z.EncBinary() - _ = yym3740 + yym3804 := z.EncBinary() + _ = yym3804 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3741 := !z.EncBinary() - yy2arr3741 := z.EncBasicHandle().StructToArray - var yyq3741 [3]bool - _, _, _ = yysep3741, yyq3741, yy2arr3741 - const yyr3741 bool = false - yyq3741[0] = x.Kind != "" - yyq3741[1] = x.APIVersion != "" - var yynn3741 int - if yyr3741 || yy2arr3741 { + 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 { r.EncodeArrayStart(3) } else { - yynn3741 = 1 - for _, b := range yyq3741 { + yynn3805 = 1 + for _, b := range yyq3805 { if b { - yynn3741++ + yynn3805++ } } - r.EncodeMapStart(yynn3741) - yynn3741 = 0 + r.EncodeMapStart(yynn3805) + yynn3805 = 0 } - if yyr3741 || yy2arr3741 { + if yyr3805 || yy2arr3805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3741[0] { - yym3743 := z.EncBinary() - _ = yym3743 + if yyq3805[0] { + yym3807 := z.EncBinary() + _ = yym3807 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47080,23 +47768,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3741[0] { + if yyq3805[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3744 := z.EncBinary() - _ = yym3744 + yym3808 := z.EncBinary() + _ = yym3808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3741 || yy2arr3741 { + if yyr3805 || yy2arr3805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3741[1] { - yym3746 := z.EncBinary() - _ = yym3746 + if yyq3805[1] { + yym3810 := z.EncBinary() + _ = yym3810 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47105,22 +47793,22 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3741[1] { + if yyq3805[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3747 := z.EncBinary() - _ = yym3747 + yym3811 := z.EncBinary() + _ = yym3811 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3741 || yy2arr3741 { + if yyr3805 || yy2arr3805 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3749 := z.EncBinary() - _ = yym3749 + yym3813 := z.EncBinary() + _ = yym3813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -47129,14 +47817,14 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3750 := z.EncBinary() - _ = yym3750 + yym3814 := z.EncBinary() + _ = yym3814 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr3741 || yy2arr3741 { + if yyr3805 || yy2arr3805 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47149,25 +47837,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3751 := z.DecBinary() - _ = yym3751 + yym3815 := z.DecBinary() + _ = yym3815 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3752 := r.ContainerType() - if yyct3752 == codecSelferValueTypeMap1234 { - yyl3752 := r.ReadMapStart() - if yyl3752 == 0 { + yyct3816 := r.ContainerType() + if yyct3816 == codecSelferValueTypeMap1234 { + yyl3816 := r.ReadMapStart() + if yyl3816 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3752, d) + x.codecDecodeSelfFromMap(yyl3816, d) } - } else if yyct3752 == codecSelferValueTypeArray1234 { - yyl3752 := r.ReadArrayStart() - if yyl3752 == 0 { + } else if yyct3816 == codecSelferValueTypeArray1234 { + yyl3816 := r.ReadArrayStart() + if yyl3816 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3752, d) + x.codecDecodeSelfFromArray(yyl3816, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47179,12 +47867,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3753Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3753Slc - var yyhl3753 bool = l >= 0 - for yyj3753 := 0; ; yyj3753++ { - if yyhl3753 { - if yyj3753 >= l { + var yys3817Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3817Slc + var yyhl3817 bool = l >= 0 + for yyj3817 := 0; ; yyj3817++ { + if yyhl3817 { + if yyj3817 >= l { break } } else { @@ -47193,10 +47881,10 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3753Slc = r.DecodeBytes(yys3753Slc, true, true) - yys3753 := string(yys3753Slc) + yys3817Slc = r.DecodeBytes(yys3817Slc, true, true) + yys3817 := string(yys3817Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3753 { + switch yys3817 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47216,9 +47904,9 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3753) - } // end switch yys3753 - } // end for yyj3753 + z.DecStructFieldNotFound(-1, yys3817) + } // end switch yys3817 + } // end for yyj3817 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47226,16 +47914,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3757 int - var yyb3757 bool - var yyhl3757 bool = l >= 0 - yyj3757++ - if yyhl3757 { - yyb3757 = yyj3757 > l + var yyj3821 int + var yyb3821 bool + var yyhl3821 bool = l >= 0 + yyj3821++ + if yyhl3821 { + yyb3821 = yyj3821 > l } else { - yyb3757 = r.CheckBreak() + yyb3821 = r.CheckBreak() } - if yyb3757 { + if yyb3821 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47245,13 +47933,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3757++ - if yyhl3757 { - yyb3757 = yyj3757 > l + yyj3821++ + if yyhl3821 { + yyb3821 = yyj3821 > l } else { - yyb3757 = r.CheckBreak() + yyb3821 = r.CheckBreak() } - if yyb3757 { + if yyb3821 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47261,13 +47949,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3757++ - if yyhl3757 { - yyb3757 = yyj3757 > l + yyj3821++ + if yyhl3821 { + yyb3821 = yyj3821 > l } else { - yyb3757 = r.CheckBreak() + yyb3821 = r.CheckBreak() } - if yyb3757 { + if yyb3821 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47278,17 +47966,17 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Path = string(r.DecodeString()) } for { - yyj3757++ - if yyhl3757 { - yyb3757 = yyj3757 > l + yyj3821++ + if yyhl3821 { + yyb3821 = yyj3821 > l } else { - yyb3757 = r.CheckBreak() + yyb3821 = r.CheckBreak() } - if yyb3757 { + if yyb3821 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3757-1, "") + z.DecStructFieldNotFound(yyj3821-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47300,34 +47988,34 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3761 := z.EncBinary() - _ = yym3761 + yym3825 := z.EncBinary() + _ = yym3825 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3762 := !z.EncBinary() - yy2arr3762 := z.EncBasicHandle().StructToArray - var yyq3762 [5]bool - _, _, _ = yysep3762, yyq3762, yy2arr3762 - const yyr3762 bool = false - yyq3762[4] = x.Controller != nil - var yynn3762 int - if yyr3762 || yy2arr3762 { + 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 { r.EncodeArrayStart(5) } else { - yynn3762 = 4 - for _, b := range yyq3762 { + yynn3826 = 4 + for _, b := range yyq3826 { if b { - yynn3762++ + yynn3826++ } } - r.EncodeMapStart(yynn3762) - yynn3762 = 0 + r.EncodeMapStart(yynn3826) + yynn3826 = 0 } - if yyr3762 || yy2arr3762 { + if yyr3826 || yy2arr3826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3764 := z.EncBinary() - _ = yym3764 + yym3828 := z.EncBinary() + _ = yym3828 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47336,17 +48024,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3765 := z.EncBinary() - _ = yym3765 + yym3829 := z.EncBinary() + _ = yym3829 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr3762 || yy2arr3762 { + if yyr3826 || yy2arr3826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3767 := z.EncBinary() - _ = yym3767 + yym3831 := z.EncBinary() + _ = yym3831 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47355,17 +48043,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3768 := z.EncBinary() - _ = yym3768 + yym3832 := z.EncBinary() + _ = yym3832 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr3762 || yy2arr3762 { + if yyr3826 || yy2arr3826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3770 := z.EncBinary() - _ = yym3770 + yym3834 := z.EncBinary() + _ = yym3834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -47374,17 +48062,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3771 := z.EncBinary() - _ = yym3771 + yym3835 := z.EncBinary() + _ = yym3835 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3762 || yy2arr3762 { + if yyr3826 || yy2arr3826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3773 := z.EncBinary() - _ = yym3773 + yym3837 := z.EncBinary() + _ = yym3837 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47394,50 +48082,50 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3774 := z.EncBinary() - _ = yym3774 + yym3838 := z.EncBinary() + _ = yym3838 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr3762 || yy2arr3762 { + if yyr3826 || yy2arr3826 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3762[4] { + if yyq3826[4] { if x.Controller == nil { r.EncodeNil() } else { - yy3776 := *x.Controller - yym3777 := z.EncBinary() - _ = yym3777 + yy3840 := *x.Controller + yym3841 := z.EncBinary() + _ = yym3841 if false { } else { - r.EncodeBool(bool(yy3776)) + r.EncodeBool(bool(yy3840)) } } } else { r.EncodeNil() } } else { - if yyq3762[4] { + if yyq3826[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controller")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Controller == nil { r.EncodeNil() } else { - yy3778 := *x.Controller - yym3779 := z.EncBinary() - _ = yym3779 + yy3842 := *x.Controller + yym3843 := z.EncBinary() + _ = yym3843 if false { } else { - r.EncodeBool(bool(yy3778)) + r.EncodeBool(bool(yy3842)) } } } } - if yyr3762 || yy2arr3762 { + if yyr3826 || yy2arr3826 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47450,25 +48138,25 @@ func (x *OwnerReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3780 := z.DecBinary() - _ = yym3780 + yym3844 := z.DecBinary() + _ = yym3844 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3781 := r.ContainerType() - if yyct3781 == codecSelferValueTypeMap1234 { - yyl3781 := r.ReadMapStart() - if yyl3781 == 0 { + yyct3845 := r.ContainerType() + if yyct3845 == codecSelferValueTypeMap1234 { + yyl3845 := r.ReadMapStart() + if yyl3845 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3781, d) + x.codecDecodeSelfFromMap(yyl3845, d) } - } else if yyct3781 == codecSelferValueTypeArray1234 { - yyl3781 := r.ReadArrayStart() - if yyl3781 == 0 { + } else if yyct3845 == codecSelferValueTypeArray1234 { + yyl3845 := r.ReadArrayStart() + if yyl3845 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3781, d) + x.codecDecodeSelfFromArray(yyl3845, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47480,12 +48168,12 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3782Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3782Slc - var yyhl3782 bool = l >= 0 - for yyj3782 := 0; ; yyj3782++ { - if yyhl3782 { - if yyj3782 >= l { + var yys3846Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3846Slc + var yyhl3846 bool = l >= 0 + for yyj3846 := 0; ; yyj3846++ { + if yyhl3846 { + if yyj3846 >= l { break } } else { @@ -47494,10 +48182,10 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3782Slc = r.DecodeBytes(yys3782Slc, true, true) - yys3782 := string(yys3782Slc) + yys3846Slc = r.DecodeBytes(yys3846Slc, true, true) + yys3846 := string(yys3846Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3782 { + switch yys3846 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -47531,17 +48219,17 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3788 := z.DecBinary() - _ = yym3788 + yym3852 := z.DecBinary() + _ = yym3852 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3782) - } // end switch yys3782 - } // end for yyj3782 + z.DecStructFieldNotFound(-1, yys3846) + } // end switch yys3846 + } // end for yyj3846 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47549,16 +48237,16 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3789 int - var yyb3789 bool - var yyhl3789 bool = l >= 0 - yyj3789++ - if yyhl3789 { - yyb3789 = yyj3789 > l + var yyj3853 int + var yyb3853 bool + var yyhl3853 bool = l >= 0 + yyj3853++ + if yyhl3853 { + yyb3853 = yyj3853 > l } else { - yyb3789 = r.CheckBreak() + yyb3853 = r.CheckBreak() } - if yyb3789 { + if yyb3853 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47568,13 +48256,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3789++ - if yyhl3789 { - yyb3789 = yyj3789 > l + yyj3853++ + if yyhl3853 { + yyb3853 = yyj3853 > l } else { - yyb3789 = r.CheckBreak() + yyb3853 = r.CheckBreak() } - if yyb3789 { + if yyb3853 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47584,13 +48272,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3789++ - if yyhl3789 { - yyb3789 = yyj3789 > l + yyj3853++ + if yyhl3853 { + yyb3853 = yyj3853 > l } else { - yyb3789 = r.CheckBreak() + yyb3853 = r.CheckBreak() } - if yyb3789 { + if yyb3853 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47600,13 +48288,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj3789++ - if yyhl3789 { - yyb3789 = yyj3789 > l + yyj3853++ + if yyhl3853 { + yyb3853 = yyj3853 > l } else { - yyb3789 = r.CheckBreak() + yyb3853 = r.CheckBreak() } - if yyb3789 { + if yyb3853 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47616,13 +48304,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3789++ - if yyhl3789 { - yyb3789 = yyj3789 > l + yyj3853++ + if yyhl3853 { + yyb3853 = yyj3853 > l } else { - yyb3789 = r.CheckBreak() + yyb3853 = r.CheckBreak() } - if yyb3789 { + if yyb3853 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47635,25 +48323,25 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3795 := z.DecBinary() - _ = yym3795 + yym3859 := z.DecBinary() + _ = yym3859 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } for { - yyj3789++ - if yyhl3789 { - yyb3789 = yyj3789 > l + yyj3853++ + if yyhl3853 { + yyb3853 = yyj3853 > l } else { - yyb3789 = r.CheckBreak() + yyb3853 = r.CheckBreak() } - if yyb3789 { + if yyb3853 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3789-1, "") + z.DecStructFieldNotFound(yyj3853-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47665,41 +48353,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3796 := z.EncBinary() - _ = yym3796 + yym3860 := z.EncBinary() + _ = yym3860 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3797 := !z.EncBinary() - yy2arr3797 := z.EncBasicHandle().StructToArray - var yyq3797 [7]bool - _, _, _ = yysep3797, yyq3797, yy2arr3797 - const yyr3797 bool = false - yyq3797[0] = x.Kind != "" - yyq3797[1] = x.Namespace != "" - yyq3797[2] = x.Name != "" - yyq3797[3] = x.UID != "" - yyq3797[4] = x.APIVersion != "" - yyq3797[5] = x.ResourceVersion != "" - yyq3797[6] = x.FieldPath != "" - var yynn3797 int - if yyr3797 || yy2arr3797 { + 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 { r.EncodeArrayStart(7) } else { - yynn3797 = 0 - for _, b := range yyq3797 { + yynn3861 = 0 + for _, b := range yyq3861 { if b { - yynn3797++ + yynn3861++ } } - r.EncodeMapStart(yynn3797) - yynn3797 = 0 + r.EncodeMapStart(yynn3861) + yynn3861 = 0 } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[0] { - yym3799 := z.EncBinary() - _ = yym3799 + if yyq3861[0] { + yym3863 := z.EncBinary() + _ = yym3863 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47708,23 +48396,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[0] { + if yyq3861[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3800 := z.EncBinary() - _ = yym3800 + yym3864 := z.EncBinary() + _ = yym3864 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[1] { - yym3802 := z.EncBinary() - _ = yym3802 + if yyq3861[1] { + yym3866 := z.EncBinary() + _ = yym3866 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -47733,23 +48421,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[1] { + if yyq3861[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3803 := z.EncBinary() - _ = yym3803 + yym3867 := z.EncBinary() + _ = yym3867 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[2] { - yym3805 := z.EncBinary() - _ = yym3805 + if yyq3861[2] { + yym3869 := z.EncBinary() + _ = yym3869 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -47758,23 +48446,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[2] { + if yyq3861[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3806 := z.EncBinary() - _ = yym3806 + yym3870 := z.EncBinary() + _ = yym3870 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[3] { - yym3808 := z.EncBinary() - _ = yym3808 + if yyq3861[3] { + yym3872 := z.EncBinary() + _ = yym3872 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47784,12 +48472,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[3] { + if yyq3861[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3809 := z.EncBinary() - _ = yym3809 + yym3873 := z.EncBinary() + _ = yym3873 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47797,11 +48485,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[4] { - yym3811 := z.EncBinary() - _ = yym3811 + if yyq3861[4] { + yym3875 := z.EncBinary() + _ = yym3875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47810,23 +48498,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[4] { + if yyq3861[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3812 := z.EncBinary() - _ = yym3812 + yym3876 := z.EncBinary() + _ = yym3876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[5] { - yym3814 := z.EncBinary() - _ = yym3814 + if yyq3861[5] { + yym3878 := z.EncBinary() + _ = yym3878 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -47835,23 +48523,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[5] { + if yyq3861[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3815 := z.EncBinary() - _ = yym3815 + yym3879 := z.EncBinary() + _ = yym3879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3797[6] { - yym3817 := z.EncBinary() - _ = yym3817 + if yyq3861[6] { + yym3881 := z.EncBinary() + _ = yym3881 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -47860,19 +48548,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3797[6] { + if yyq3861[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3818 := z.EncBinary() - _ = yym3818 + yym3882 := z.EncBinary() + _ = yym3882 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr3797 || yy2arr3797 { + if yyr3861 || yy2arr3861 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47885,25 +48573,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3819 := z.DecBinary() - _ = yym3819 + yym3883 := z.DecBinary() + _ = yym3883 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3820 := r.ContainerType() - if yyct3820 == codecSelferValueTypeMap1234 { - yyl3820 := r.ReadMapStart() - if yyl3820 == 0 { + yyct3884 := r.ContainerType() + if yyct3884 == codecSelferValueTypeMap1234 { + yyl3884 := r.ReadMapStart() + if yyl3884 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3820, d) + x.codecDecodeSelfFromMap(yyl3884, d) } - } else if yyct3820 == codecSelferValueTypeArray1234 { - yyl3820 := r.ReadArrayStart() - if yyl3820 == 0 { + } else if yyct3884 == codecSelferValueTypeArray1234 { + yyl3884 := r.ReadArrayStart() + if yyl3884 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3820, d) + x.codecDecodeSelfFromArray(yyl3884, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47915,12 +48603,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3821Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3821Slc - var yyhl3821 bool = l >= 0 - for yyj3821 := 0; ; yyj3821++ { - if yyhl3821 { - if yyj3821 >= l { + var yys3885Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3885Slc + var yyhl3885 bool = l >= 0 + for yyj3885 := 0; ; yyj3885++ { + if yyhl3885 { + if yyj3885 >= l { break } } else { @@ -47929,10 +48617,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3821Slc = r.DecodeBytes(yys3821Slc, true, true) - yys3821 := string(yys3821Slc) + yys3885Slc = r.DecodeBytes(yys3885Slc, true, true) + yys3885 := string(yys3885Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3821 { + switch yys3885 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47976,9 +48664,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3821) - } // end switch yys3821 - } // end for yyj3821 + z.DecStructFieldNotFound(-1, yys3885) + } // end switch yys3885 + } // end for yyj3885 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47986,16 +48674,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3829 int - var yyb3829 bool - var yyhl3829 bool = l >= 0 - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + var yyj3893 int + var yyb3893 bool + var yyhl3893 bool = l >= 0 + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48005,13 +48693,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48021,13 +48709,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48037,13 +48725,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48053,13 +48741,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48069,13 +48757,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48085,13 +48773,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48102,17 +48790,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj3829++ - if yyhl3829 { - yyb3829 = yyj3829 > l + yyj3893++ + if yyhl3893 { + yyb3893 = yyj3893 > l } else { - yyb3829 = r.CheckBreak() + yyb3893 = r.CheckBreak() } - if yyb3829 { + if yyb3893 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3829-1, "") + z.DecStructFieldNotFound(yyj3893-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48124,33 +48812,33 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3837 := z.EncBinary() - _ = yym3837 + yym3901 := z.EncBinary() + _ = yym3901 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3838 := !z.EncBinary() - yy2arr3838 := z.EncBasicHandle().StructToArray - var yyq3838 [1]bool - _, _, _ = yysep3838, yyq3838, yy2arr3838 - const yyr3838 bool = false - var yynn3838 int - if yyr3838 || yy2arr3838 { + yysep3902 := !z.EncBinary() + yy2arr3902 := z.EncBasicHandle().StructToArray + var yyq3902 [1]bool + _, _, _ = yysep3902, yyq3902, yy2arr3902 + const yyr3902 bool = false + var yynn3902 int + if yyr3902 || yy2arr3902 { r.EncodeArrayStart(1) } else { - yynn3838 = 1 - for _, b := range yyq3838 { + yynn3902 = 1 + for _, b := range yyq3902 { if b { - yynn3838++ + yynn3902++ } } - r.EncodeMapStart(yynn3838) - yynn3838 = 0 + r.EncodeMapStart(yynn3902) + yynn3902 = 0 } - if yyr3838 || yy2arr3838 { + if yyr3902 || yy2arr3902 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3840 := z.EncBinary() - _ = yym3840 + yym3904 := z.EncBinary() + _ = yym3904 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -48159,14 +48847,14 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3841 := z.EncBinary() - _ = yym3841 + yym3905 := z.EncBinary() + _ = yym3905 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3838 || yy2arr3838 { + if yyr3902 || yy2arr3902 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48179,25 +48867,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3842 := z.DecBinary() - _ = yym3842 + yym3906 := z.DecBinary() + _ = yym3906 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3843 := r.ContainerType() - if yyct3843 == codecSelferValueTypeMap1234 { - yyl3843 := r.ReadMapStart() - if yyl3843 == 0 { + yyct3907 := r.ContainerType() + if yyct3907 == codecSelferValueTypeMap1234 { + yyl3907 := r.ReadMapStart() + if yyl3907 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3843, d) + x.codecDecodeSelfFromMap(yyl3907, d) } - } else if yyct3843 == codecSelferValueTypeArray1234 { - yyl3843 := r.ReadArrayStart() - if yyl3843 == 0 { + } else if yyct3907 == codecSelferValueTypeArray1234 { + yyl3907 := r.ReadArrayStart() + if yyl3907 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3843, d) + x.codecDecodeSelfFromArray(yyl3907, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48209,12 +48897,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3844Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3844Slc - var yyhl3844 bool = l >= 0 - for yyj3844 := 0; ; yyj3844++ { - if yyhl3844 { - if yyj3844 >= l { + var yys3908Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3908Slc + var yyhl3908 bool = l >= 0 + for yyj3908 := 0; ; yyj3908++ { + if yyhl3908 { + if yyj3908 >= l { break } } else { @@ -48223,10 +48911,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3844Slc = r.DecodeBytes(yys3844Slc, true, true) - yys3844 := string(yys3844Slc) + yys3908Slc = r.DecodeBytes(yys3908Slc, true, true) + yys3908 := string(yys3908Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3844 { + switch yys3908 { case "Name": if r.TryDecodeAsNil() { x.Name = "" @@ -48234,9 +48922,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3844) - } // end switch yys3844 - } // end for yyj3844 + z.DecStructFieldNotFound(-1, yys3908) + } // end switch yys3908 + } // end for yyj3908 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48244,16 +48932,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3846 int - var yyb3846 bool - var yyhl3846 bool = l >= 0 - yyj3846++ - if yyhl3846 { - yyb3846 = yyj3846 > l + var yyj3910 int + var yyb3910 bool + var yyhl3910 bool = l >= 0 + yyj3910++ + if yyhl3910 { + yyb3910 = yyj3910 > l } else { - yyb3846 = r.CheckBreak() + yyb3910 = r.CheckBreak() } - if yyb3846 { + if yyb3910 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48264,17 +48952,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj3846++ - if yyhl3846 { - yyb3846 = yyj3846 > l + yyj3910++ + if yyhl3910 { + yyb3910 = yyj3910 > l } else { - yyb3846 = r.CheckBreak() + yyb3910 = r.CheckBreak() } - if yyb3846 { + if yyb3910 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3846-1, "") + z.DecStructFieldNotFound(yyj3910-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48286,37 +48974,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3848 := z.EncBinary() - _ = yym3848 + yym3912 := z.EncBinary() + _ = yym3912 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3849 := !z.EncBinary() - yy2arr3849 := z.EncBasicHandle().StructToArray - var yyq3849 [3]bool - _, _, _ = yysep3849, yyq3849, yy2arr3849 - const yyr3849 bool = false - yyq3849[0] = x.Kind != "" - yyq3849[1] = x.APIVersion != "" - yyq3849[2] = true - var yynn3849 int - if yyr3849 || yy2arr3849 { + 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 { r.EncodeArrayStart(3) } else { - yynn3849 = 0 - for _, b := range yyq3849 { + yynn3913 = 0 + for _, b := range yyq3913 { if b { - yynn3849++ + yynn3913++ } } - r.EncodeMapStart(yynn3849) - yynn3849 = 0 + r.EncodeMapStart(yynn3913) + yynn3913 = 0 } - if yyr3849 || yy2arr3849 { + if yyr3913 || yy2arr3913 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3849[0] { - yym3851 := z.EncBinary() - _ = yym3851 + if yyq3913[0] { + yym3915 := z.EncBinary() + _ = yym3915 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48325,23 +49013,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3849[0] { + if yyq3913[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3852 := z.EncBinary() - _ = yym3852 + yym3916 := z.EncBinary() + _ = yym3916 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3849 || yy2arr3849 { + if yyr3913 || yy2arr3913 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3849[1] { - yym3854 := z.EncBinary() - _ = yym3854 + if yyq3913[1] { + yym3918 := z.EncBinary() + _ = yym3918 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48350,36 +49038,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3849[1] { + if yyq3913[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3855 := z.EncBinary() - _ = yym3855 + yym3919 := z.EncBinary() + _ = yym3919 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3849 || yy2arr3849 { + if yyr3913 || yy2arr3913 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3849[2] { - yy3857 := &x.Reference - yy3857.CodecEncodeSelf(e) + if yyq3913[2] { + yy3921 := &x.Reference + yy3921.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3849[2] { + if yyq3913[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3858 := &x.Reference - yy3858.CodecEncodeSelf(e) + yy3922 := &x.Reference + yy3922.CodecEncodeSelf(e) } } - if yyr3849 || yy2arr3849 { + if yyr3913 || yy2arr3913 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48392,25 +49080,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3859 := z.DecBinary() - _ = yym3859 + yym3923 := z.DecBinary() + _ = yym3923 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3860 := r.ContainerType() - if yyct3860 == codecSelferValueTypeMap1234 { - yyl3860 := r.ReadMapStart() - if yyl3860 == 0 { + yyct3924 := r.ContainerType() + if yyct3924 == codecSelferValueTypeMap1234 { + yyl3924 := r.ReadMapStart() + if yyl3924 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3860, d) + x.codecDecodeSelfFromMap(yyl3924, d) } - } else if yyct3860 == codecSelferValueTypeArray1234 { - yyl3860 := r.ReadArrayStart() - if yyl3860 == 0 { + } else if yyct3924 == codecSelferValueTypeArray1234 { + yyl3924 := r.ReadArrayStart() + if yyl3924 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3860, d) + x.codecDecodeSelfFromArray(yyl3924, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48422,12 +49110,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3861Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3861Slc - var yyhl3861 bool = l >= 0 - for yyj3861 := 0; ; yyj3861++ { - if yyhl3861 { - if yyj3861 >= l { + var yys3925Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3925Slc + var yyhl3925 bool = l >= 0 + for yyj3925 := 0; ; yyj3925++ { + if yyhl3925 { + if yyj3925 >= l { break } } else { @@ -48436,10 +49124,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3861Slc = r.DecodeBytes(yys3861Slc, true, true) - yys3861 := string(yys3861Slc) + yys3925Slc = r.DecodeBytes(yys3925Slc, true, true) + yys3925 := string(yys3925Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3861 { + switch yys3925 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48456,13 +49144,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3864 := &x.Reference - yyv3864.CodecDecodeSelf(d) + yyv3928 := &x.Reference + yyv3928.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3861) - } // end switch yys3861 - } // end for yyj3861 + z.DecStructFieldNotFound(-1, yys3925) + } // end switch yys3925 + } // end for yyj3925 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48470,16 +49158,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3865 int - var yyb3865 bool - var yyhl3865 bool = l >= 0 - yyj3865++ - if yyhl3865 { - yyb3865 = yyj3865 > l + var yyj3929 int + var yyb3929 bool + var yyhl3929 bool = l >= 0 + yyj3929++ + if yyhl3929 { + yyb3929 = yyj3929 > l } else { - yyb3865 = r.CheckBreak() + yyb3929 = r.CheckBreak() } - if yyb3865 { + if yyb3929 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48489,13 +49177,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3865++ - if yyhl3865 { - yyb3865 = yyj3865 > l + yyj3929++ + if yyhl3929 { + yyb3929 = yyj3929 > l } else { - yyb3865 = r.CheckBreak() + yyb3929 = r.CheckBreak() } - if yyb3865 { + if yyb3929 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48505,13 +49193,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3865++ - if yyhl3865 { - yyb3865 = yyj3865 > l + yyj3929++ + if yyhl3929 { + yyb3929 = yyj3929 > l } else { - yyb3865 = r.CheckBreak() + yyb3929 = r.CheckBreak() } - if yyb3865 { + if yyb3929 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48519,21 +49207,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3868 := &x.Reference - yyv3868.CodecDecodeSelf(d) + yyv3932 := &x.Reference + yyv3932.CodecDecodeSelf(d) } for { - yyj3865++ - if yyhl3865 { - yyb3865 = yyj3865 > l + yyj3929++ + if yyhl3929 { + yyb3929 = yyj3929 > l } else { - yyb3865 = r.CheckBreak() + yyb3929 = r.CheckBreak() } - if yyb3865 { + if yyb3929 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3865-1, "") + z.DecStructFieldNotFound(yyj3929-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48545,36 +49233,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3869 := z.EncBinary() - _ = yym3869 + yym3933 := z.EncBinary() + _ = yym3933 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3870 := !z.EncBinary() - yy2arr3870 := z.EncBasicHandle().StructToArray - var yyq3870 [2]bool - _, _, _ = yysep3870, yyq3870, yy2arr3870 - const yyr3870 bool = false - yyq3870[0] = x.Component != "" - yyq3870[1] = x.Host != "" - var yynn3870 int - if yyr3870 || yy2arr3870 { + 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 { r.EncodeArrayStart(2) } else { - yynn3870 = 0 - for _, b := range yyq3870 { + yynn3934 = 0 + for _, b := range yyq3934 { if b { - yynn3870++ + yynn3934++ } } - r.EncodeMapStart(yynn3870) - yynn3870 = 0 + r.EncodeMapStart(yynn3934) + yynn3934 = 0 } - if yyr3870 || yy2arr3870 { + if yyr3934 || yy2arr3934 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3870[0] { - yym3872 := z.EncBinary() - _ = yym3872 + if yyq3934[0] { + yym3936 := z.EncBinary() + _ = yym3936 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -48583,23 +49271,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3870[0] { + if yyq3934[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3873 := z.EncBinary() - _ = yym3873 + yym3937 := z.EncBinary() + _ = yym3937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3870 || yy2arr3870 { + if yyr3934 || yy2arr3934 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3870[1] { - yym3875 := z.EncBinary() - _ = yym3875 + if yyq3934[1] { + yym3939 := z.EncBinary() + _ = yym3939 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -48608,19 +49296,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3870[1] { + if yyq3934[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3876 := z.EncBinary() - _ = yym3876 + yym3940 := z.EncBinary() + _ = yym3940 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3870 || yy2arr3870 { + if yyr3934 || yy2arr3934 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48633,25 +49321,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3877 := z.DecBinary() - _ = yym3877 + yym3941 := z.DecBinary() + _ = yym3941 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3878 := r.ContainerType() - if yyct3878 == codecSelferValueTypeMap1234 { - yyl3878 := r.ReadMapStart() - if yyl3878 == 0 { + yyct3942 := r.ContainerType() + if yyct3942 == codecSelferValueTypeMap1234 { + yyl3942 := r.ReadMapStart() + if yyl3942 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3878, d) + x.codecDecodeSelfFromMap(yyl3942, d) } - } else if yyct3878 == codecSelferValueTypeArray1234 { - yyl3878 := r.ReadArrayStart() - if yyl3878 == 0 { + } else if yyct3942 == codecSelferValueTypeArray1234 { + yyl3942 := r.ReadArrayStart() + if yyl3942 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3878, d) + x.codecDecodeSelfFromArray(yyl3942, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48663,12 +49351,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3879Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3879Slc - var yyhl3879 bool = l >= 0 - for yyj3879 := 0; ; yyj3879++ { - if yyhl3879 { - if yyj3879 >= l { + var yys3943Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3943Slc + var yyhl3943 bool = l >= 0 + for yyj3943 := 0; ; yyj3943++ { + if yyhl3943 { + if yyj3943 >= l { break } } else { @@ -48677,10 +49365,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3879Slc = r.DecodeBytes(yys3879Slc, true, true) - yys3879 := string(yys3879Slc) + yys3943Slc = r.DecodeBytes(yys3943Slc, true, true) + yys3943 := string(yys3943Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3879 { + switch yys3943 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -48694,9 +49382,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3879) - } // end switch yys3879 - } // end for yyj3879 + z.DecStructFieldNotFound(-1, yys3943) + } // end switch yys3943 + } // end for yyj3943 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48704,16 +49392,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3882 int - var yyb3882 bool - var yyhl3882 bool = l >= 0 - yyj3882++ - if yyhl3882 { - yyb3882 = yyj3882 > l + var yyj3946 int + var yyb3946 bool + var yyhl3946 bool = l >= 0 + yyj3946++ + if yyhl3946 { + yyb3946 = yyj3946 > l } else { - yyb3882 = r.CheckBreak() + yyb3946 = r.CheckBreak() } - if yyb3882 { + if yyb3946 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48723,13 +49411,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj3882++ - if yyhl3882 { - yyb3882 = yyj3882 > l + yyj3946++ + if yyhl3946 { + yyb3946 = yyj3946 > l } else { - yyb3882 = r.CheckBreak() + yyb3946 = r.CheckBreak() } - if yyb3882 { + if yyb3946 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48740,17 +49428,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj3882++ - if yyhl3882 { - yyb3882 = yyj3882 > l + yyj3946++ + if yyhl3946 { + yyb3946 = yyj3946 > l } else { - yyb3882 = r.CheckBreak() + yyb3946 = r.CheckBreak() } - if yyb3882 { + if yyb3946 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3882-1, "") + z.DecStructFieldNotFound(yyj3946-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48762,45 +49450,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3885 := z.EncBinary() - _ = yym3885 + yym3949 := z.EncBinary() + _ = yym3949 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3886 := !z.EncBinary() - yy2arr3886 := z.EncBasicHandle().StructToArray - var yyq3886 [11]bool - _, _, _ = yysep3886, yyq3886, yy2arr3886 - const yyr3886 bool = false - yyq3886[0] = x.Kind != "" - yyq3886[1] = x.APIVersion != "" - yyq3886[2] = true - yyq3886[3] = true - yyq3886[4] = x.Reason != "" - yyq3886[5] = x.Message != "" - yyq3886[6] = true - yyq3886[7] = true - yyq3886[8] = true - yyq3886[9] = x.Count != 0 - yyq3886[10] = x.Type != "" - var yynn3886 int - if yyr3886 || yy2arr3886 { + 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 { r.EncodeArrayStart(11) } else { - yynn3886 = 0 - for _, b := range yyq3886 { + yynn3950 = 0 + for _, b := range yyq3950 { if b { - yynn3886++ + yynn3950++ } } - r.EncodeMapStart(yynn3886) - yynn3886 = 0 + r.EncodeMapStart(yynn3950) + yynn3950 = 0 } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[0] { - yym3888 := z.EncBinary() - _ = yym3888 + if yyq3950[0] { + yym3952 := z.EncBinary() + _ = yym3952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48809,23 +49497,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3886[0] { + if yyq3950[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3889 := z.EncBinary() - _ = yym3889 + yym3953 := z.EncBinary() + _ = yym3953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[1] { - yym3891 := z.EncBinary() - _ = yym3891 + if yyq3950[1] { + yym3955 := z.EncBinary() + _ = yym3955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48834,57 +49522,57 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3886[1] { + if yyq3950[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3892 := z.EncBinary() - _ = yym3892 + yym3956 := z.EncBinary() + _ = yym3956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[2] { - yy3894 := &x.ObjectMeta - yy3894.CodecEncodeSelf(e) + if yyq3950[2] { + yy3958 := &x.ObjectMeta + yy3958.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3886[2] { + if yyq3950[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3895 := &x.ObjectMeta - yy3895.CodecEncodeSelf(e) + yy3959 := &x.ObjectMeta + yy3959.CodecEncodeSelf(e) } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[3] { - yy3897 := &x.InvolvedObject - yy3897.CodecEncodeSelf(e) + if yyq3950[3] { + yy3961 := &x.InvolvedObject + yy3961.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3886[3] { + if yyq3950[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3898 := &x.InvolvedObject - yy3898.CodecEncodeSelf(e) + yy3962 := &x.InvolvedObject + yy3962.CodecEncodeSelf(e) } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[4] { - yym3900 := z.EncBinary() - _ = yym3900 + if yyq3950[4] { + yym3964 := z.EncBinary() + _ = yym3964 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -48893,23 +49581,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3886[4] { + if yyq3950[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3901 := z.EncBinary() - _ = yym3901 + yym3965 := z.EncBinary() + _ = yym3965 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[5] { - yym3903 := z.EncBinary() - _ = yym3903 + if yyq3950[5] { + yym3967 := z.EncBinary() + _ = yym3967 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -48918,114 +49606,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3886[5] { + if yyq3950[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3904 := z.EncBinary() - _ = yym3904 + yym3968 := z.EncBinary() + _ = yym3968 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[6] { - yy3906 := &x.Source - yy3906.CodecEncodeSelf(e) + if yyq3950[6] { + yy3970 := &x.Source + yy3970.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3886[6] { + if yyq3950[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3907 := &x.Source - yy3907.CodecEncodeSelf(e) + yy3971 := &x.Source + yy3971.CodecEncodeSelf(e) } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[7] { - yy3909 := &x.FirstTimestamp - yym3910 := z.EncBinary() - _ = yym3910 + if yyq3950[7] { + yy3973 := &x.FirstTimestamp + yym3974 := z.EncBinary() + _ = yym3974 if false { - } else if z.HasExtensions() && z.EncExt(yy3909) { - } else if yym3910 { - z.EncBinaryMarshal(yy3909) - } else if !yym3910 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3909) + } else if z.HasExtensions() && z.EncExt(yy3973) { + } else if yym3974 { + z.EncBinaryMarshal(yy3973) + } else if !yym3974 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3973) } else { - z.EncFallback(yy3909) + z.EncFallback(yy3973) } } else { r.EncodeNil() } } else { - if yyq3886[7] { + if yyq3950[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3911 := &x.FirstTimestamp - yym3912 := z.EncBinary() - _ = yym3912 + yy3975 := &x.FirstTimestamp + yym3976 := z.EncBinary() + _ = yym3976 if false { - } else if z.HasExtensions() && z.EncExt(yy3911) { - } else if yym3912 { - z.EncBinaryMarshal(yy3911) - } else if !yym3912 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3911) + } else if z.HasExtensions() && z.EncExt(yy3975) { + } else if yym3976 { + z.EncBinaryMarshal(yy3975) + } else if !yym3976 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3975) } else { - z.EncFallback(yy3911) + z.EncFallback(yy3975) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[8] { - yy3914 := &x.LastTimestamp - yym3915 := z.EncBinary() - _ = yym3915 + if yyq3950[8] { + yy3978 := &x.LastTimestamp + yym3979 := z.EncBinary() + _ = yym3979 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(yy3978) { + } else if yym3979 { + z.EncBinaryMarshal(yy3978) + } else if !yym3979 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3978) } else { - z.EncFallback(yy3914) + z.EncFallback(yy3978) } } else { r.EncodeNil() } } else { - if yyq3886[8] { + if yyq3950[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3916 := &x.LastTimestamp - yym3917 := z.EncBinary() - _ = yym3917 + yy3980 := &x.LastTimestamp + yym3981 := z.EncBinary() + _ = yym3981 if false { - } else if z.HasExtensions() && z.EncExt(yy3916) { - } else if yym3917 { - z.EncBinaryMarshal(yy3916) - } else if !yym3917 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3916) + } else if z.HasExtensions() && z.EncExt(yy3980) { + } else if yym3981 { + z.EncBinaryMarshal(yy3980) + } else if !yym3981 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3980) } else { - z.EncFallback(yy3916) + z.EncFallback(yy3980) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[9] { - yym3919 := z.EncBinary() - _ = yym3919 + if yyq3950[9] { + yym3983 := z.EncBinary() + _ = yym3983 if false { } else { r.EncodeInt(int64(x.Count)) @@ -49034,23 +49722,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3886[9] { + if yyq3950[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3920 := z.EncBinary() - _ = yym3920 + yym3984 := z.EncBinary() + _ = yym3984 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3886[10] { - yym3922 := z.EncBinary() - _ = yym3922 + if yyq3950[10] { + yym3986 := z.EncBinary() + _ = yym3986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -49059,19 +49747,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3886[10] { + if yyq3950[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3923 := z.EncBinary() - _ = yym3923 + yym3987 := z.EncBinary() + _ = yym3987 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3886 || yy2arr3886 { + if yyr3950 || yy2arr3950 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49084,25 +49772,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3924 := z.DecBinary() - _ = yym3924 + yym3988 := z.DecBinary() + _ = yym3988 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3925 := r.ContainerType() - if yyct3925 == codecSelferValueTypeMap1234 { - yyl3925 := r.ReadMapStart() - if yyl3925 == 0 { + yyct3989 := r.ContainerType() + if yyct3989 == codecSelferValueTypeMap1234 { + yyl3989 := r.ReadMapStart() + if yyl3989 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3925, d) + x.codecDecodeSelfFromMap(yyl3989, d) } - } else if yyct3925 == codecSelferValueTypeArray1234 { - yyl3925 := r.ReadArrayStart() - if yyl3925 == 0 { + } else if yyct3989 == codecSelferValueTypeArray1234 { + yyl3989 := r.ReadArrayStart() + if yyl3989 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3925, d) + x.codecDecodeSelfFromArray(yyl3989, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49114,12 +49802,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3926Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3926Slc - var yyhl3926 bool = l >= 0 - for yyj3926 := 0; ; yyj3926++ { - if yyhl3926 { - if yyj3926 >= l { + var yys3990Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3990Slc + var yyhl3990 bool = l >= 0 + for yyj3990 := 0; ; yyj3990++ { + if yyhl3990 { + if yyj3990 >= l { break } } else { @@ -49128,10 +49816,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3926Slc = r.DecodeBytes(yys3926Slc, true, true) - yys3926 := string(yys3926Slc) + yys3990Slc = r.DecodeBytes(yys3990Slc, true, true) + yys3990 := string(yys3990Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3926 { + switch yys3990 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49148,15 +49836,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3929 := &x.ObjectMeta - yyv3929.CodecDecodeSelf(d) + yyv3993 := &x.ObjectMeta + yyv3993.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3930 := &x.InvolvedObject - yyv3930.CodecDecodeSelf(d) + yyv3994 := &x.InvolvedObject + yyv3994.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -49174,41 +49862,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3933 := &x.Source - yyv3933.CodecDecodeSelf(d) + yyv3997 := &x.Source + yyv3997.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3934 := &x.FirstTimestamp - yym3935 := z.DecBinary() - _ = yym3935 + yyv3998 := &x.FirstTimestamp + yym3999 := z.DecBinary() + _ = yym3999 if false { - } else if z.HasExtensions() && z.DecExt(yyv3934) { - } else if yym3935 { - z.DecBinaryUnmarshal(yyv3934) - } else if !yym3935 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3934) + } else if z.HasExtensions() && z.DecExt(yyv3998) { + } else if yym3999 { + z.DecBinaryUnmarshal(yyv3998) + } else if !yym3999 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3998) } else { - z.DecFallback(yyv3934, false) + z.DecFallback(yyv3998, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3936 := &x.LastTimestamp - yym3937 := z.DecBinary() - _ = yym3937 + yyv4000 := &x.LastTimestamp + yym4001 := z.DecBinary() + _ = yym4001 if false { - } else if z.HasExtensions() && z.DecExt(yyv3936) { - } else if yym3937 { - z.DecBinaryUnmarshal(yyv3936) - } else if !yym3937 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3936) + } else if z.HasExtensions() && z.DecExt(yyv4000) { + } else if yym4001 { + z.DecBinaryUnmarshal(yyv4000) + } else if !yym4001 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4000) } else { - z.DecFallback(yyv3936, false) + z.DecFallback(yyv4000, false) } } case "count": @@ -49224,9 +49912,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3926) - } // end switch yys3926 - } // end for yyj3926 + z.DecStructFieldNotFound(-1, yys3990) + } // end switch yys3990 + } // end for yyj3990 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49234,16 +49922,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3940 int - var yyb3940 bool - var yyhl3940 bool = l >= 0 - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + var yyj4004 int + var yyb4004 bool + var yyhl4004 bool = l >= 0 + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49253,13 +49941,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49269,13 +49957,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49283,16 +49971,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3943 := &x.ObjectMeta - yyv3943.CodecDecodeSelf(d) + yyv4007 := &x.ObjectMeta + yyv4007.CodecDecodeSelf(d) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49300,16 +49988,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3944 := &x.InvolvedObject - yyv3944.CodecDecodeSelf(d) + yyv4008 := &x.InvolvedObject + yyv4008.CodecDecodeSelf(d) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49319,13 +50007,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49335,13 +50023,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49349,16 +50037,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3947 := &x.Source - yyv3947.CodecDecodeSelf(d) + yyv4011 := &x.Source + yyv4011.CodecDecodeSelf(d) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49366,26 +50054,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3948 := &x.FirstTimestamp - yym3949 := z.DecBinary() - _ = yym3949 + yyv4012 := &x.FirstTimestamp + yym4013 := z.DecBinary() + _ = yym4013 if false { - } else if z.HasExtensions() && z.DecExt(yyv3948) { - } else if yym3949 { - z.DecBinaryUnmarshal(yyv3948) - } else if !yym3949 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3948) + } else if z.HasExtensions() && z.DecExt(yyv4012) { + } else if yym4013 { + z.DecBinaryUnmarshal(yyv4012) + } else if !yym4013 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4012) } else { - z.DecFallback(yyv3948, false) + z.DecFallback(yyv4012, false) } } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49393,26 +50081,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3950 := &x.LastTimestamp - yym3951 := z.DecBinary() - _ = yym3951 + yyv4014 := &x.LastTimestamp + yym4015 := z.DecBinary() + _ = yym4015 if false { - } else if z.HasExtensions() && z.DecExt(yyv3950) { - } else if yym3951 { - z.DecBinaryUnmarshal(yyv3950) - } else if !yym3951 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3950) + } else if z.HasExtensions() && z.DecExt(yyv4014) { + } else if yym4015 { + z.DecBinaryUnmarshal(yyv4014) + } else if !yym4015 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4014) } else { - z.DecFallback(yyv3950, false) + z.DecFallback(yyv4014, false) } } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49422,13 +50110,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49439,17 +50127,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj3940++ - if yyhl3940 { - yyb3940 = yyj3940 > l + yyj4004++ + if yyhl4004 { + yyb4004 = yyj4004 > l } else { - yyb3940 = r.CheckBreak() + yyb4004 = r.CheckBreak() } - if yyb3940 { + if yyb4004 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3940-1, "") + z.DecStructFieldNotFound(yyj4004-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49461,37 +50149,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3954 := z.EncBinary() - _ = yym3954 + yym4018 := z.EncBinary() + _ = yym4018 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3955 := !z.EncBinary() - yy2arr3955 := z.EncBasicHandle().StructToArray - var yyq3955 [4]bool - _, _, _ = yysep3955, yyq3955, yy2arr3955 - const yyr3955 bool = false - yyq3955[0] = x.Kind != "" - yyq3955[1] = x.APIVersion != "" - yyq3955[2] = true - var yynn3955 int - if yyr3955 || yy2arr3955 { + 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 { r.EncodeArrayStart(4) } else { - yynn3955 = 1 - for _, b := range yyq3955 { + yynn4019 = 1 + for _, b := range yyq4019 { if b { - yynn3955++ + yynn4019++ } } - r.EncodeMapStart(yynn3955) - yynn3955 = 0 + r.EncodeMapStart(yynn4019) + yynn4019 = 0 } - if yyr3955 || yy2arr3955 { + if yyr4019 || yy2arr4019 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3955[0] { - yym3957 := z.EncBinary() - _ = yym3957 + if yyq4019[0] { + yym4021 := z.EncBinary() + _ = yym4021 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49500,23 +50188,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3955[0] { + if yyq4019[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3958 := z.EncBinary() - _ = yym3958 + yym4022 := z.EncBinary() + _ = yym4022 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3955 || yy2arr3955 { + if yyr4019 || yy2arr4019 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3955[1] { - yym3960 := z.EncBinary() - _ = yym3960 + if yyq4019[1] { + yym4024 := z.EncBinary() + _ = yym4024 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49525,54 +50213,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3955[1] { + if yyq4019[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3961 := z.EncBinary() - _ = yym3961 + yym4025 := z.EncBinary() + _ = yym4025 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3955 || yy2arr3955 { + if yyr4019 || yy2arr4019 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3955[2] { - yy3963 := &x.ListMeta - yym3964 := z.EncBinary() - _ = yym3964 + if yyq4019[2] { + yy4027 := &x.ListMeta + yym4028 := z.EncBinary() + _ = yym4028 if false { - } else if z.HasExtensions() && z.EncExt(yy3963) { + } else if z.HasExtensions() && z.EncExt(yy4027) { } else { - z.EncFallback(yy3963) + z.EncFallback(yy4027) } } else { r.EncodeNil() } } else { - if yyq3955[2] { + if yyq4019[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3965 := &x.ListMeta - yym3966 := z.EncBinary() - _ = yym3966 + yy4029 := &x.ListMeta + yym4030 := z.EncBinary() + _ = yym4030 if false { - } else if z.HasExtensions() && z.EncExt(yy3965) { + } else if z.HasExtensions() && z.EncExt(yy4029) { } else { - z.EncFallback(yy3965) + z.EncFallback(yy4029) } } } - if yyr3955 || yy2arr3955 { + if yyr4019 || yy2arr4019 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3968 := z.EncBinary() - _ = yym3968 + yym4032 := z.EncBinary() + _ = yym4032 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -49585,15 +50273,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3969 := z.EncBinary() - _ = yym3969 + yym4033 := z.EncBinary() + _ = yym4033 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3955 || yy2arr3955 { + if yyr4019 || yy2arr4019 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49606,25 +50294,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3970 := z.DecBinary() - _ = yym3970 + yym4034 := z.DecBinary() + _ = yym4034 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3971 := r.ContainerType() - if yyct3971 == codecSelferValueTypeMap1234 { - yyl3971 := r.ReadMapStart() - if yyl3971 == 0 { + yyct4035 := r.ContainerType() + if yyct4035 == codecSelferValueTypeMap1234 { + yyl4035 := r.ReadMapStart() + if yyl4035 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3971, d) + x.codecDecodeSelfFromMap(yyl4035, d) } - } else if yyct3971 == codecSelferValueTypeArray1234 { - yyl3971 := r.ReadArrayStart() - if yyl3971 == 0 { + } else if yyct4035 == codecSelferValueTypeArray1234 { + yyl4035 := r.ReadArrayStart() + if yyl4035 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3971, d) + x.codecDecodeSelfFromArray(yyl4035, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49636,12 +50324,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3972Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3972Slc - var yyhl3972 bool = l >= 0 - for yyj3972 := 0; ; yyj3972++ { - if yyhl3972 { - if yyj3972 >= l { + var yys4036Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4036Slc + var yyhl4036 bool = l >= 0 + for yyj4036 := 0; ; yyj4036++ { + if yyhl4036 { + if yyj4036 >= l { break } } else { @@ -49650,10 +50338,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3972Slc = r.DecodeBytes(yys3972Slc, true, true) - yys3972 := string(yys3972Slc) + yys4036Slc = r.DecodeBytes(yys4036Slc, true, true) + yys4036 := string(yys4036Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3972 { + switch yys4036 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49670,31 +50358,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3975 := &x.ListMeta - yym3976 := z.DecBinary() - _ = yym3976 + yyv4039 := &x.ListMeta + yym4040 := z.DecBinary() + _ = yym4040 if false { - } else if z.HasExtensions() && z.DecExt(yyv3975) { + } else if z.HasExtensions() && z.DecExt(yyv4039) { } else { - z.DecFallback(yyv3975, false) + z.DecFallback(yyv4039, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3977 := &x.Items - yym3978 := z.DecBinary() - _ = yym3978 + yyv4041 := &x.Items + yym4042 := z.DecBinary() + _ = yym4042 if false { } else { - h.decSliceEvent((*[]Event)(yyv3977), d) + h.decSliceEvent((*[]Event)(yyv4041), d) } } default: - z.DecStructFieldNotFound(-1, yys3972) - } // end switch yys3972 - } // end for yyj3972 + z.DecStructFieldNotFound(-1, yys4036) + } // end switch yys4036 + } // end for yyj4036 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49702,16 +50390,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3979 int - var yyb3979 bool - var yyhl3979 bool = l >= 0 - yyj3979++ - if yyhl3979 { - yyb3979 = yyj3979 > l + var yyj4043 int + var yyb4043 bool + var yyhl4043 bool = l >= 0 + yyj4043++ + if yyhl4043 { + yyb4043 = yyj4043 > l } else { - yyb3979 = r.CheckBreak() + yyb4043 = r.CheckBreak() } - if yyb3979 { + if yyb4043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49721,13 +50409,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3979++ - if yyhl3979 { - yyb3979 = yyj3979 > l + yyj4043++ + if yyhl4043 { + yyb4043 = yyj4043 > l } else { - yyb3979 = r.CheckBreak() + yyb4043 = r.CheckBreak() } - if yyb3979 { + if yyb4043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49737,13 +50425,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3979++ - if yyhl3979 { - yyb3979 = yyj3979 > l + yyj4043++ + if yyhl4043 { + yyb4043 = yyj4043 > l } else { - yyb3979 = r.CheckBreak() + yyb4043 = r.CheckBreak() } - if yyb3979 { + if yyb4043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49751,22 +50439,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3982 := &x.ListMeta - yym3983 := z.DecBinary() - _ = yym3983 + yyv4046 := &x.ListMeta + yym4047 := z.DecBinary() + _ = yym4047 if false { - } else if z.HasExtensions() && z.DecExt(yyv3982) { + } else if z.HasExtensions() && z.DecExt(yyv4046) { } else { - z.DecFallback(yyv3982, false) + z.DecFallback(yyv4046, false) } } - yyj3979++ - if yyhl3979 { - yyb3979 = yyj3979 > l + yyj4043++ + if yyhl4043 { + yyb4043 = yyj4043 > l } else { - yyb3979 = r.CheckBreak() + yyb4043 = r.CheckBreak() } - if yyb3979 { + if yyb4043 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49774,26 +50462,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3984 := &x.Items - yym3985 := z.DecBinary() - _ = yym3985 + yyv4048 := &x.Items + yym4049 := z.DecBinary() + _ = yym4049 if false { } else { - h.decSliceEvent((*[]Event)(yyv3984), d) + h.decSliceEvent((*[]Event)(yyv4048), d) } } for { - yyj3979++ - if yyhl3979 { - yyb3979 = yyj3979 > l + yyj4043++ + if yyhl4043 { + yyb4043 = yyj4043 > l } else { - yyb3979 = r.CheckBreak() + yyb4043 = r.CheckBreak() } - if yyb3979 { + if yyb4043 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3979-1, "") + z.DecStructFieldNotFound(yyj4043-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49805,37 +50493,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3986 := z.EncBinary() - _ = yym3986 + yym4050 := z.EncBinary() + _ = yym4050 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3987 := !z.EncBinary() - yy2arr3987 := z.EncBasicHandle().StructToArray - var yyq3987 [4]bool - _, _, _ = yysep3987, yyq3987, yy2arr3987 - const yyr3987 bool = false - yyq3987[0] = x.Kind != "" - yyq3987[1] = x.APIVersion != "" - yyq3987[2] = true - var yynn3987 int - if yyr3987 || yy2arr3987 { + 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 { r.EncodeArrayStart(4) } else { - yynn3987 = 1 - for _, b := range yyq3987 { + yynn4051 = 1 + for _, b := range yyq4051 { if b { - yynn3987++ + yynn4051++ } } - r.EncodeMapStart(yynn3987) - yynn3987 = 0 + r.EncodeMapStart(yynn4051) + yynn4051 = 0 } - if yyr3987 || yy2arr3987 { + if yyr4051 || yy2arr4051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3987[0] { - yym3989 := z.EncBinary() - _ = yym3989 + if yyq4051[0] { + yym4053 := z.EncBinary() + _ = yym4053 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49844,23 +50532,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3987[0] { + if yyq4051[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3990 := z.EncBinary() - _ = yym3990 + yym4054 := z.EncBinary() + _ = yym4054 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3987 || yy2arr3987 { + if yyr4051 || yy2arr4051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3987[1] { - yym3992 := z.EncBinary() - _ = yym3992 + if yyq4051[1] { + yym4056 := z.EncBinary() + _ = yym4056 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49869,54 +50557,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3987[1] { + if yyq4051[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3993 := z.EncBinary() - _ = yym3993 + yym4057 := z.EncBinary() + _ = yym4057 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3987 || yy2arr3987 { + if yyr4051 || yy2arr4051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3987[2] { - yy3995 := &x.ListMeta - yym3996 := z.EncBinary() - _ = yym3996 + if yyq4051[2] { + yy4059 := &x.ListMeta + yym4060 := z.EncBinary() + _ = yym4060 if false { - } else if z.HasExtensions() && z.EncExt(yy3995) { + } else if z.HasExtensions() && z.EncExt(yy4059) { } else { - z.EncFallback(yy3995) + z.EncFallback(yy4059) } } else { r.EncodeNil() } } else { - if yyq3987[2] { + if yyq4051[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3997 := &x.ListMeta - yym3998 := z.EncBinary() - _ = yym3998 + yy4061 := &x.ListMeta + yym4062 := z.EncBinary() + _ = yym4062 if false { - } else if z.HasExtensions() && z.EncExt(yy3997) { + } else if z.HasExtensions() && z.EncExt(yy4061) { } else { - z.EncFallback(yy3997) + z.EncFallback(yy4061) } } } - if yyr3987 || yy2arr3987 { + if yyr4051 || yy2arr4051 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4000 := z.EncBinary() - _ = yym4000 + yym4064 := z.EncBinary() + _ = yym4064 if false { } else { h.encSliceruntime_Object(([]pkg7_runtime.Object)(x.Items), e) @@ -49929,15 +50617,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4001 := z.EncBinary() - _ = yym4001 + yym4065 := z.EncBinary() + _ = yym4065 if false { } else { h.encSliceruntime_Object(([]pkg7_runtime.Object)(x.Items), e) } } } - if yyr3987 || yy2arr3987 { + if yyr4051 || yy2arr4051 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49950,25 +50638,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4002 := z.DecBinary() - _ = yym4002 + yym4066 := z.DecBinary() + _ = yym4066 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4003 := r.ContainerType() - if yyct4003 == codecSelferValueTypeMap1234 { - yyl4003 := r.ReadMapStart() - if yyl4003 == 0 { + yyct4067 := r.ContainerType() + if yyct4067 == codecSelferValueTypeMap1234 { + yyl4067 := r.ReadMapStart() + if yyl4067 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4003, d) + x.codecDecodeSelfFromMap(yyl4067, d) } - } else if yyct4003 == codecSelferValueTypeArray1234 { - yyl4003 := r.ReadArrayStart() - if yyl4003 == 0 { + } else if yyct4067 == codecSelferValueTypeArray1234 { + yyl4067 := r.ReadArrayStart() + if yyl4067 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4003, d) + x.codecDecodeSelfFromArray(yyl4067, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49980,12 +50668,12 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4004Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4004Slc - var yyhl4004 bool = l >= 0 - for yyj4004 := 0; ; yyj4004++ { - if yyhl4004 { - if yyj4004 >= l { + var yys4068Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4068Slc + var yyhl4068 bool = l >= 0 + for yyj4068 := 0; ; yyj4068++ { + if yyhl4068 { + if yyj4068 >= l { break } } else { @@ -49994,10 +50682,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4004Slc = r.DecodeBytes(yys4004Slc, true, true) - yys4004 := string(yys4004Slc) + yys4068Slc = r.DecodeBytes(yys4068Slc, true, true) + yys4068 := string(yys4068Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4004 { + switch yys4068 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50014,31 +50702,31 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4007 := &x.ListMeta - yym4008 := z.DecBinary() - _ = yym4008 + yyv4071 := &x.ListMeta + yym4072 := z.DecBinary() + _ = yym4072 if false { - } else if z.HasExtensions() && z.DecExt(yyv4007) { + } else if z.HasExtensions() && z.DecExt(yyv4071) { } else { - z.DecFallback(yyv4007, false) + z.DecFallback(yyv4071, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4009 := &x.Items - yym4010 := z.DecBinary() - _ = yym4010 + yyv4073 := &x.Items + yym4074 := z.DecBinary() + _ = yym4074 if false { } else { - h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4009), d) + h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4073), d) } } default: - z.DecStructFieldNotFound(-1, yys4004) - } // end switch yys4004 - } // end for yyj4004 + z.DecStructFieldNotFound(-1, yys4068) + } // end switch yys4068 + } // end for yyj4068 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50046,16 +50734,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4011 int - var yyb4011 bool - var yyhl4011 bool = l >= 0 - yyj4011++ - if yyhl4011 { - yyb4011 = yyj4011 > l + var yyj4075 int + var yyb4075 bool + var yyhl4075 bool = l >= 0 + yyj4075++ + if yyhl4075 { + yyb4075 = yyj4075 > l } else { - yyb4011 = r.CheckBreak() + yyb4075 = r.CheckBreak() } - if yyb4011 { + if yyb4075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50065,13 +50753,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4011++ - if yyhl4011 { - yyb4011 = yyj4011 > l + yyj4075++ + if yyhl4075 { + yyb4075 = yyj4075 > l } else { - yyb4011 = r.CheckBreak() + yyb4075 = r.CheckBreak() } - if yyb4011 { + if yyb4075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50081,13 +50769,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4011++ - if yyhl4011 { - yyb4011 = yyj4011 > l + yyj4075++ + if yyhl4075 { + yyb4075 = yyj4075 > l } else { - yyb4011 = r.CheckBreak() + yyb4075 = r.CheckBreak() } - if yyb4011 { + if yyb4075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50095,22 +50783,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4014 := &x.ListMeta - yym4015 := z.DecBinary() - _ = yym4015 + yyv4078 := &x.ListMeta + yym4079 := z.DecBinary() + _ = yym4079 if false { - } else if z.HasExtensions() && z.DecExt(yyv4014) { + } else if z.HasExtensions() && z.DecExt(yyv4078) { } else { - z.DecFallback(yyv4014, false) + z.DecFallback(yyv4078, false) } } - yyj4011++ - if yyhl4011 { - yyb4011 = yyj4011 > l + yyj4075++ + if yyhl4075 { + yyb4075 = yyj4075 > l } else { - yyb4011 = r.CheckBreak() + yyb4075 = r.CheckBreak() } - if yyb4011 { + if yyb4075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50118,26 +50806,26 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4016 := &x.Items - yym4017 := z.DecBinary() - _ = yym4017 + yyv4080 := &x.Items + yym4081 := z.DecBinary() + _ = yym4081 if false { } else { - h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4016), d) + h.decSliceruntime_Object((*[]pkg7_runtime.Object)(yyv4080), d) } } for { - yyj4011++ - if yyhl4011 { - yyb4011 = yyj4011 > l + yyj4075++ + if yyhl4075 { + yyb4075 = yyj4075 > l } else { - yyb4011 = r.CheckBreak() + yyb4075 = r.CheckBreak() } - if yyb4011 { + if yyb4075 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4011-1, "") + z.DecStructFieldNotFound(yyj4075-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50146,8 +50834,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4018 := z.EncBinary() - _ = yym4018 + yym4082 := z.EncBinary() + _ = yym4082 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -50159,8 +50847,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4019 := z.DecBinary() - _ = yym4019 + yym4083 := z.DecBinary() + _ = yym4083 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -50175,53 +50863,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4020 := z.EncBinary() - _ = yym4020 + yym4084 := z.EncBinary() + _ = yym4084 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4021 := !z.EncBinary() - yy2arr4021 := z.EncBasicHandle().StructToArray - var yyq4021 [6]bool - _, _, _ = yysep4021, yyq4021, yy2arr4021 - const yyr4021 bool = false - yyq4021[0] = x.Type != "" - yyq4021[1] = len(x.Max) != 0 - yyq4021[2] = len(x.Min) != 0 - yyq4021[3] = len(x.Default) != 0 - yyq4021[4] = len(x.DefaultRequest) != 0 - yyq4021[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn4021 int - if yyr4021 || yy2arr4021 { + 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 { r.EncodeArrayStart(6) } else { - yynn4021 = 0 - for _, b := range yyq4021 { + yynn4085 = 0 + for _, b := range yyq4085 { if b { - yynn4021++ + yynn4085++ } } - r.EncodeMapStart(yynn4021) - yynn4021 = 0 + r.EncodeMapStart(yynn4085) + yynn4085 = 0 } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4021[0] { + if yyq4085[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4021[0] { + if yyq4085[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4021[1] { + if yyq4085[1] { if x.Max == nil { r.EncodeNil() } else { @@ -50231,7 +50919,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4021[1] { + if yyq4085[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50242,9 +50930,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4021[2] { + if yyq4085[2] { if x.Min == nil { r.EncodeNil() } else { @@ -50254,7 +50942,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4021[2] { + if yyq4085[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50265,9 +50953,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4021[3] { + if yyq4085[3] { if x.Default == nil { r.EncodeNil() } else { @@ -50277,7 +50965,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4021[3] { + if yyq4085[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50288,9 +50976,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4021[4] { + if yyq4085[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -50300,7 +50988,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4021[4] { + if yyq4085[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50311,9 +50999,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4021[5] { + if yyq4085[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -50323,7 +51011,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4021[5] { + if yyq4085[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -50334,7 +51022,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4021 || yy2arr4021 { + if yyr4085 || yy2arr4085 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50347,25 +51035,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4028 := z.DecBinary() - _ = yym4028 + yym4092 := z.DecBinary() + _ = yym4092 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4029 := r.ContainerType() - if yyct4029 == codecSelferValueTypeMap1234 { - yyl4029 := r.ReadMapStart() - if yyl4029 == 0 { + yyct4093 := r.ContainerType() + if yyct4093 == codecSelferValueTypeMap1234 { + yyl4093 := r.ReadMapStart() + if yyl4093 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4029, d) + x.codecDecodeSelfFromMap(yyl4093, d) } - } else if yyct4029 == codecSelferValueTypeArray1234 { - yyl4029 := r.ReadArrayStart() - if yyl4029 == 0 { + } else if yyct4093 == codecSelferValueTypeArray1234 { + yyl4093 := r.ReadArrayStart() + if yyl4093 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4029, d) + x.codecDecodeSelfFromArray(yyl4093, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50377,12 +51065,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4030Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4030Slc - var yyhl4030 bool = l >= 0 - for yyj4030 := 0; ; yyj4030++ { - if yyhl4030 { - if yyj4030 >= l { + var yys4094Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4094Slc + var yyhl4094 bool = l >= 0 + for yyj4094 := 0; ; yyj4094++ { + if yyhl4094 { + if yyj4094 >= l { break } } else { @@ -50391,10 +51079,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4030Slc = r.DecodeBytes(yys4030Slc, true, true) - yys4030 := string(yys4030Slc) + yys4094Slc = r.DecodeBytes(yys4094Slc, true, true) + yys4094 := string(yys4094Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4030 { + switch yys4094 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -50405,41 +51093,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4032 := &x.Max - yyv4032.CodecDecodeSelf(d) + yyv4096 := &x.Max + yyv4096.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4033 := &x.Min - yyv4033.CodecDecodeSelf(d) + yyv4097 := &x.Min + yyv4097.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4034 := &x.Default - yyv4034.CodecDecodeSelf(d) + yyv4098 := &x.Default + yyv4098.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4035 := &x.DefaultRequest - yyv4035.CodecDecodeSelf(d) + yyv4099 := &x.DefaultRequest + yyv4099.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4036 := &x.MaxLimitRequestRatio - yyv4036.CodecDecodeSelf(d) + yyv4100 := &x.MaxLimitRequestRatio + yyv4100.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4030) - } // end switch yys4030 - } // end for yyj4030 + z.DecStructFieldNotFound(-1, yys4094) + } // end switch yys4094 + } // end for yyj4094 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50447,16 +51135,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4037 int - var yyb4037 bool - var yyhl4037 bool = l >= 0 - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + var yyj4101 int + var yyb4101 bool + var yyhl4101 bool = l >= 0 + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50466,13 +51154,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50480,16 +51168,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv4039 := &x.Max - yyv4039.CodecDecodeSelf(d) + yyv4103 := &x.Max + yyv4103.CodecDecodeSelf(d) } - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50497,16 +51185,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv4040 := &x.Min - yyv4040.CodecDecodeSelf(d) + yyv4104 := &x.Min + yyv4104.CodecDecodeSelf(d) } - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50514,16 +51202,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv4041 := &x.Default - yyv4041.CodecDecodeSelf(d) + yyv4105 := &x.Default + yyv4105.CodecDecodeSelf(d) } - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50531,16 +51219,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv4042 := &x.DefaultRequest - yyv4042.CodecDecodeSelf(d) + yyv4106 := &x.DefaultRequest + yyv4106.CodecDecodeSelf(d) } - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50548,21 +51236,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv4043 := &x.MaxLimitRequestRatio - yyv4043.CodecDecodeSelf(d) + yyv4107 := &x.MaxLimitRequestRatio + yyv4107.CodecDecodeSelf(d) } for { - yyj4037++ - if yyhl4037 { - yyb4037 = yyj4037 > l + yyj4101++ + if yyhl4101 { + yyb4101 = yyj4101 > l } else { - yyb4037 = r.CheckBreak() + yyb4101 = r.CheckBreak() } - if yyb4037 { + if yyb4101 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4037-1, "") + z.DecStructFieldNotFound(yyj4101-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50574,36 +51262,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4044 := z.EncBinary() - _ = yym4044 + yym4108 := z.EncBinary() + _ = yym4108 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4045 := !z.EncBinary() - yy2arr4045 := z.EncBasicHandle().StructToArray - var yyq4045 [1]bool - _, _, _ = yysep4045, yyq4045, yy2arr4045 - const yyr4045 bool = false - var yynn4045 int - if yyr4045 || yy2arr4045 { + yysep4109 := !z.EncBinary() + yy2arr4109 := z.EncBasicHandle().StructToArray + var yyq4109 [1]bool + _, _, _ = yysep4109, yyq4109, yy2arr4109 + const yyr4109 bool = false + var yynn4109 int + if yyr4109 || yy2arr4109 { r.EncodeArrayStart(1) } else { - yynn4045 = 1 - for _, b := range yyq4045 { + yynn4109 = 1 + for _, b := range yyq4109 { if b { - yynn4045++ + yynn4109++ } } - r.EncodeMapStart(yynn4045) - yynn4045 = 0 + r.EncodeMapStart(yynn4109) + yynn4109 = 0 } - if yyr4045 || yy2arr4045 { + if yyr4109 || yy2arr4109 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym4047 := z.EncBinary() - _ = yym4047 + yym4111 := z.EncBinary() + _ = yym4111 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -50616,15 +51304,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym4048 := z.EncBinary() - _ = yym4048 + yym4112 := z.EncBinary() + _ = yym4112 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr4045 || yy2arr4045 { + if yyr4109 || yy2arr4109 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50637,25 +51325,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4049 := z.DecBinary() - _ = yym4049 + yym4113 := z.DecBinary() + _ = yym4113 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4050 := r.ContainerType() - if yyct4050 == codecSelferValueTypeMap1234 { - yyl4050 := r.ReadMapStart() - if yyl4050 == 0 { + yyct4114 := r.ContainerType() + if yyct4114 == codecSelferValueTypeMap1234 { + yyl4114 := r.ReadMapStart() + if yyl4114 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4050, d) + x.codecDecodeSelfFromMap(yyl4114, d) } - } else if yyct4050 == codecSelferValueTypeArray1234 { - yyl4050 := r.ReadArrayStart() - if yyl4050 == 0 { + } else if yyct4114 == codecSelferValueTypeArray1234 { + yyl4114 := r.ReadArrayStart() + if yyl4114 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4050, d) + x.codecDecodeSelfFromArray(yyl4114, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50667,12 +51355,12 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4051Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4051Slc - var yyhl4051 bool = l >= 0 - for yyj4051 := 0; ; yyj4051++ { - if yyhl4051 { - if yyj4051 >= l { + var yys4115Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4115Slc + var yyhl4115 bool = l >= 0 + for yyj4115 := 0; ; yyj4115++ { + if yyhl4115 { + if yyj4115 >= l { break } } else { @@ -50681,26 +51369,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4051Slc = r.DecodeBytes(yys4051Slc, true, true) - yys4051 := string(yys4051Slc) + yys4115Slc = r.DecodeBytes(yys4115Slc, true, true) + yys4115 := string(yys4115Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4051 { + switch yys4115 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4052 := &x.Limits - yym4053 := z.DecBinary() - _ = yym4053 + yyv4116 := &x.Limits + yym4117 := z.DecBinary() + _ = yym4117 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4052), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4116), d) } } default: - z.DecStructFieldNotFound(-1, yys4051) - } // end switch yys4051 - } // end for yyj4051 + z.DecStructFieldNotFound(-1, yys4115) + } // end switch yys4115 + } // end for yyj4115 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50708,16 +51396,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4054 int - var yyb4054 bool - var yyhl4054 bool = l >= 0 - yyj4054++ - if yyhl4054 { - yyb4054 = yyj4054 > l + var yyj4118 int + var yyb4118 bool + var yyhl4118 bool = l >= 0 + yyj4118++ + if yyhl4118 { + yyb4118 = yyj4118 > l } else { - yyb4054 = r.CheckBreak() + yyb4118 = r.CheckBreak() } - if yyb4054 { + if yyb4118 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50725,26 +51413,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv4055 := &x.Limits - yym4056 := z.DecBinary() - _ = yym4056 + yyv4119 := &x.Limits + yym4120 := z.DecBinary() + _ = yym4120 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4055), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4119), d) } } for { - yyj4054++ - if yyhl4054 { - yyb4054 = yyj4054 > l + yyj4118++ + if yyhl4118 { + yyb4118 = yyj4118 > l } else { - yyb4054 = r.CheckBreak() + yyb4118 = r.CheckBreak() } - if yyb4054 { + if yyb4118 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4054-1, "") + z.DecStructFieldNotFound(yyj4118-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50756,38 +51444,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4057 := z.EncBinary() - _ = yym4057 + yym4121 := z.EncBinary() + _ = yym4121 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4058 := !z.EncBinary() - yy2arr4058 := z.EncBasicHandle().StructToArray - var yyq4058 [4]bool - _, _, _ = yysep4058, yyq4058, yy2arr4058 - const yyr4058 bool = false - yyq4058[0] = x.Kind != "" - yyq4058[1] = x.APIVersion != "" - yyq4058[2] = true - yyq4058[3] = true - var yynn4058 int - if yyr4058 || yy2arr4058 { + 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 { r.EncodeArrayStart(4) } else { - yynn4058 = 0 - for _, b := range yyq4058 { + yynn4122 = 0 + for _, b := range yyq4122 { if b { - yynn4058++ + yynn4122++ } } - r.EncodeMapStart(yynn4058) - yynn4058 = 0 + r.EncodeMapStart(yynn4122) + yynn4122 = 0 } - if yyr4058 || yy2arr4058 { + if yyr4122 || yy2arr4122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4058[0] { - yym4060 := z.EncBinary() - _ = yym4060 + if yyq4122[0] { + yym4124 := z.EncBinary() + _ = yym4124 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -50796,23 +51484,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4058[0] { + if yyq4122[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4061 := z.EncBinary() - _ = yym4061 + yym4125 := z.EncBinary() + _ = yym4125 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4058 || yy2arr4058 { + if yyr4122 || yy2arr4122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4058[1] { - yym4063 := z.EncBinary() - _ = yym4063 + if yyq4122[1] { + yym4127 := z.EncBinary() + _ = yym4127 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -50821,53 +51509,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4058[1] { + if yyq4122[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4064 := z.EncBinary() - _ = yym4064 + yym4128 := z.EncBinary() + _ = yym4128 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4058 || yy2arr4058 { + if yyr4122 || yy2arr4122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4058[2] { - yy4066 := &x.ObjectMeta - yy4066.CodecEncodeSelf(e) + if yyq4122[2] { + yy4130 := &x.ObjectMeta + yy4130.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4058[2] { + if yyq4122[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4067 := &x.ObjectMeta - yy4067.CodecEncodeSelf(e) + yy4131 := &x.ObjectMeta + yy4131.CodecEncodeSelf(e) } } - if yyr4058 || yy2arr4058 { + if yyr4122 || yy2arr4122 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4058[3] { - yy4069 := &x.Spec - yy4069.CodecEncodeSelf(e) + if yyq4122[3] { + yy4133 := &x.Spec + yy4133.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4058[3] { + if yyq4122[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4070 := &x.Spec - yy4070.CodecEncodeSelf(e) + yy4134 := &x.Spec + yy4134.CodecEncodeSelf(e) } } - if yyr4058 || yy2arr4058 { + if yyr4122 || yy2arr4122 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50880,25 +51568,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4071 := z.DecBinary() - _ = yym4071 + yym4135 := z.DecBinary() + _ = yym4135 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4072 := r.ContainerType() - if yyct4072 == codecSelferValueTypeMap1234 { - yyl4072 := r.ReadMapStart() - if yyl4072 == 0 { + yyct4136 := r.ContainerType() + if yyct4136 == codecSelferValueTypeMap1234 { + yyl4136 := r.ReadMapStart() + if yyl4136 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4072, d) + x.codecDecodeSelfFromMap(yyl4136, d) } - } else if yyct4072 == codecSelferValueTypeArray1234 { - yyl4072 := r.ReadArrayStart() - if yyl4072 == 0 { + } else if yyct4136 == codecSelferValueTypeArray1234 { + yyl4136 := r.ReadArrayStart() + if yyl4136 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4072, d) + x.codecDecodeSelfFromArray(yyl4136, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50910,12 +51598,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4073Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4073Slc - var yyhl4073 bool = l >= 0 - for yyj4073 := 0; ; yyj4073++ { - if yyhl4073 { - if yyj4073 >= l { + var yys4137Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4137Slc + var yyhl4137 bool = l >= 0 + for yyj4137 := 0; ; yyj4137++ { + if yyhl4137 { + if yyj4137 >= l { break } } else { @@ -50924,10 +51612,10 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4073Slc = r.DecodeBytes(yys4073Slc, true, true) - yys4073 := string(yys4073Slc) + yys4137Slc = r.DecodeBytes(yys4137Slc, true, true) + yys4137 := string(yys4137Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4073 { + switch yys4137 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50944,880 +51632,24 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4076 := &x.ObjectMeta - yyv4076.CodecDecodeSelf(d) + yyv4140 := &x.ObjectMeta + yyv4140.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4077 := &x.Spec - yyv4077.CodecDecodeSelf(d) + yyv4141 := &x.Spec + yyv4141.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4073) - } // end switch yys4073 - } // end for yyj4073 + z.DecStructFieldNotFound(-1, yys4137) + } // end switch yys4137 + } // end for yyj4137 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4078 int - var yyb4078 bool - var yyhl4078 bool = l >= 0 - yyj4078++ - if yyhl4078 { - yyb4078 = yyj4078 > l - } else { - yyb4078 = r.CheckBreak() - } - if yyb4078 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4078++ - if yyhl4078 { - yyb4078 = yyj4078 > l - } else { - yyb4078 = r.CheckBreak() - } - if yyb4078 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4078++ - if yyhl4078 { - yyb4078 = yyj4078 > l - } else { - yyb4078 = r.CheckBreak() - } - if yyb4078 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4081 := &x.ObjectMeta - yyv4081.CodecDecodeSelf(d) - } - yyj4078++ - if yyhl4078 { - yyb4078 = yyj4078 > l - } else { - yyb4078 = r.CheckBreak() - } - if yyb4078 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv4082 := &x.Spec - yyv4082.CodecDecodeSelf(d) - } - for { - yyj4078++ - if yyhl4078 { - yyb4078 = yyj4078 > l - } else { - yyb4078 = r.CheckBreak() - } - if yyb4078 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4078-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4083 := z.EncBinary() - _ = yym4083 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4084 := !z.EncBinary() - yy2arr4084 := z.EncBasicHandle().StructToArray - var yyq4084 [4]bool - _, _, _ = yysep4084, yyq4084, yy2arr4084 - const yyr4084 bool = false - yyq4084[0] = x.Kind != "" - yyq4084[1] = x.APIVersion != "" - yyq4084[2] = true - var yynn4084 int - if yyr4084 || yy2arr4084 { - r.EncodeArrayStart(4) - } else { - yynn4084 = 1 - for _, b := range yyq4084 { - if b { - yynn4084++ - } - } - r.EncodeMapStart(yynn4084) - yynn4084 = 0 - } - if yyr4084 || yy2arr4084 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4084[0] { - yym4086 := z.EncBinary() - _ = yym4086 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4084[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4087 := z.EncBinary() - _ = yym4087 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4084 || yy2arr4084 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4084[1] { - yym4089 := z.EncBinary() - _ = yym4089 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4084[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4090 := z.EncBinary() - _ = yym4090 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr4084 || yy2arr4084 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4084[2] { - yy4092 := &x.ListMeta - yym4093 := z.EncBinary() - _ = yym4093 - if false { - } else if z.HasExtensions() && z.EncExt(yy4092) { - } else { - z.EncFallback(yy4092) - } - } else { - r.EncodeNil() - } - } else { - if yyq4084[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4094 := &x.ListMeta - yym4095 := z.EncBinary() - _ = yym4095 - if false { - } else if z.HasExtensions() && z.EncExt(yy4094) { - } else { - z.EncFallback(yy4094) - } - } - } - if yyr4084 || yy2arr4084 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym4097 := z.EncBinary() - _ = yym4097 - if false { - } else { - h.encSliceLimitRange(([]LimitRange)(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 { - yym4098 := z.EncBinary() - _ = yym4098 - if false { - } else { - h.encSliceLimitRange(([]LimitRange)(x.Items), e) - } - } - } - if yyr4084 || yy2arr4084 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4099 := z.DecBinary() - _ = yym4099 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4100 := r.ContainerType() - if yyct4100 == codecSelferValueTypeMap1234 { - yyl4100 := r.ReadMapStart() - if yyl4100 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4100, d) - } - } else if yyct4100 == codecSelferValueTypeArray1234 { - yyl4100 := r.ReadArrayStart() - if yyl4100 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4100, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4101Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4101Slc - var yyhl4101 bool = l >= 0 - for yyj4101 := 0; ; yyj4101++ { - if yyhl4101 { - if yyj4101 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4101Slc = r.DecodeBytes(yys4101Slc, true, true) - yys4101 := string(yys4101Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4101 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv4104 := &x.ListMeta - yym4105 := z.DecBinary() - _ = yym4105 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4104) { - } else { - z.DecFallback(yyv4104, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4106 := &x.Items - yym4107 := z.DecBinary() - _ = yym4107 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4106), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys4101) - } // end switch yys4101 - } // end for yyj4101 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4108 int - var yyb4108 bool - var yyhl4108 bool = l >= 0 - yyj4108++ - if yyhl4108 { - yyb4108 = yyj4108 > l - } else { - yyb4108 = r.CheckBreak() - } - if yyb4108 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4108++ - if yyhl4108 { - yyb4108 = yyj4108 > l - } else { - yyb4108 = r.CheckBreak() - } - if yyb4108 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4108++ - if yyhl4108 { - yyb4108 = yyj4108 > l - } else { - yyb4108 = r.CheckBreak() - } - if yyb4108 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4111 := &x.ListMeta - yym4112 := z.DecBinary() - _ = yym4112 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4111) { - } else { - z.DecFallback(yyv4111, false) - } - } - yyj4108++ - if yyhl4108 { - yyb4108 = yyj4108 > l - } else { - yyb4108 = r.CheckBreak() - } - if yyb4108 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4113 := &x.Items - yym4114 := z.DecBinary() - _ = yym4114 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4113), d) - } - } - for { - yyj4108++ - if yyhl4108 { - yyb4108 = yyj4108 > l - } else { - yyb4108 = r.CheckBreak() - } - if yyb4108 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4108-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym4115 := z.EncBinary() - _ = yym4115 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4116 := z.DecBinary() - _ = yym4116 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4117 := z.EncBinary() - _ = yym4117 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4118 := !z.EncBinary() - yy2arr4118 := z.EncBasicHandle().StructToArray - var yyq4118 [2]bool - _, _, _ = yysep4118, yyq4118, yy2arr4118 - const yyr4118 bool = false - yyq4118[0] = len(x.Hard) != 0 - yyq4118[1] = len(x.Scopes) != 0 - var yynn4118 int - if yyr4118 || yy2arr4118 { - r.EncodeArrayStart(2) - } else { - yynn4118 = 0 - for _, b := range yyq4118 { - if b { - yynn4118++ - } - } - r.EncodeMapStart(yynn4118) - yynn4118 = 0 - } - if yyr4118 || yy2arr4118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4118[0] { - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq4118[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } - } - if yyr4118 || yy2arr4118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4118[1] { - if x.Scopes == nil { - r.EncodeNil() - } else { - yym4121 := z.EncBinary() - _ = yym4121 - if false { - } else { - h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq4118[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("scopes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Scopes == nil { - r.EncodeNil() - } else { - yym4122 := z.EncBinary() - _ = yym4122 - if false { - } else { - h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) - } - } - } - } - if yyr4118 || yy2arr4118 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4123 := z.DecBinary() - _ = yym4123 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4124 := r.ContainerType() - if yyct4124 == codecSelferValueTypeMap1234 { - yyl4124 := r.ReadMapStart() - if yyl4124 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4124, d) - } - } else if yyct4124 == codecSelferValueTypeArray1234 { - yyl4124 := r.ReadArrayStart() - if yyl4124 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4124, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4125Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4125Slc - var yyhl4125 bool = l >= 0 - for yyj4125 := 0; ; yyj4125++ { - if yyhl4125 { - if yyj4125 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4125Slc = r.DecodeBytes(yys4125Slc, true, true) - yys4125 := string(yys4125Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4125 { - case "hard": - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv4126 := &x.Hard - yyv4126.CodecDecodeSelf(d) - } - case "scopes": - if r.TryDecodeAsNil() { - x.Scopes = nil - } else { - yyv4127 := &x.Scopes - yym4128 := z.DecBinary() - _ = yym4128 - if false { - } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4127), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys4125) - } // end switch yys4125 - } // end for yyj4125 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4129 int - var yyb4129 bool - var yyhl4129 bool = l >= 0 - yyj4129++ - if yyhl4129 { - yyb4129 = yyj4129 > l - } else { - yyb4129 = r.CheckBreak() - } - if yyb4129 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv4130 := &x.Hard - yyv4130.CodecDecodeSelf(d) - } - yyj4129++ - if yyhl4129 { - yyb4129 = yyj4129 > l - } else { - yyb4129 = r.CheckBreak() - } - if yyb4129 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Scopes = nil - } else { - yyv4131 := &x.Scopes - yym4132 := z.DecBinary() - _ = yym4132 - if false { - } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4131), d) - } - } - for { - yyj4129++ - if yyhl4129 { - yyb4129 = yyj4129 > l - } else { - yyb4129 = r.CheckBreak() - } - if yyb4129 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4129-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4133 := z.EncBinary() - _ = yym4133 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4134 := !z.EncBinary() - yy2arr4134 := z.EncBasicHandle().StructToArray - var yyq4134 [2]bool - _, _, _ = yysep4134, yyq4134, yy2arr4134 - const yyr4134 bool = false - yyq4134[0] = len(x.Hard) != 0 - yyq4134[1] = len(x.Used) != 0 - var yynn4134 int - if yyr4134 || yy2arr4134 { - r.EncodeArrayStart(2) - } else { - yynn4134 = 0 - for _, b := range yyq4134 { - if b { - yynn4134++ - } - } - r.EncodeMapStart(yynn4134) - yynn4134 = 0 - } - if yyr4134 || yy2arr4134 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4134[0] { - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq4134[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } - } - if yyr4134 || yy2arr4134 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4134[1] { - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq4134[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("used")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } - } - if yyr4134 || yy2arr4134 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4137 := z.DecBinary() - _ = yym4137 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4138 := r.ContainerType() - if yyct4138 == codecSelferValueTypeMap1234 { - yyl4138 := r.ReadMapStart() - if yyl4138 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4138, d) - } - } else if yyct4138 == codecSelferValueTypeArray1234 { - yyl4138 := r.ReadArrayStart() - if yyl4138 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4138, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4139Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4139Slc - var yyhl4139 bool = l >= 0 - for yyj4139 := 0; ; yyj4139++ { - if yyhl4139 { - if yyj4139 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4139Slc = r.DecodeBytes(yys4139Slc, true, true) - yys4139 := string(yys4139Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4139 { - case "hard": - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv4140 := &x.Hard - yyv4140.CodecDecodeSelf(d) - } - case "used": - if r.TryDecodeAsNil() { - x.Used = nil - } else { - yyv4141 := &x.Used - yyv4141.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys4139) - } // end switch yys4139 - } // end for yyj4139 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51836,10 +51668,9 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Hard = nil + x.Kind = "" } else { - yyv4143 := &x.Hard - yyv4143.CodecDecodeSelf(d) + x.Kind = string(r.DecodeString()) } yyj4142++ if yyhl4142 { @@ -51853,10 +51684,43 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Used = nil + x.APIVersion = "" } else { - yyv4144 := &x.Used - yyv4144.CodecDecodeSelf(d) + x.APIVersion = string(r.DecodeString()) + } + yyj4142++ + if yyhl4142 { + yyb4142 = yyj4142 > l + } else { + yyb4142 = r.CheckBreak() + } + if yyb4142 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4145 := &x.ObjectMeta + yyv4145.CodecDecodeSelf(d) + } + yyj4142++ + if yyhl4142 { + yyb4142 = yyj4142 > l + } else { + yyb4142 = r.CheckBreak() + } + if yyb4142 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv4146 := &x.Spec + yyv4146.CodecDecodeSelf(d) } for { yyj4142++ @@ -51874,6 +51738,830 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4147 := z.EncBinary() + _ = yym4147 + 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 { + r.EncodeArrayStart(4) + } else { + yynn4148 = 1 + for _, b := range yyq4148 { + if b { + yynn4148++ + } + } + r.EncodeMapStart(yynn4148) + yynn4148 = 0 + } + if yyr4148 || yy2arr4148 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4148[0] { + yym4150 := z.EncBinary() + _ = yym4150 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4148[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4151 := z.EncBinary() + _ = yym4151 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4148 || yy2arr4148 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4148[1] { + yym4153 := z.EncBinary() + _ = yym4153 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4148[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4154 := z.EncBinary() + _ = yym4154 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4148 || yy2arr4148 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4148[2] { + yy4156 := &x.ListMeta + yym4157 := z.EncBinary() + _ = yym4157 + if false { + } else if z.HasExtensions() && z.EncExt(yy4156) { + } else { + z.EncFallback(yy4156) + } + } else { + r.EncodeNil() + } + } else { + if yyq4148[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4158 := &x.ListMeta + yym4159 := z.EncBinary() + _ = yym4159 + if false { + } else if z.HasExtensions() && z.EncExt(yy4158) { + } else { + z.EncFallback(yy4158) + } + } + } + if yyr4148 || yy2arr4148 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym4161 := z.EncBinary() + _ = yym4161 + if false { + } else { + h.encSliceLimitRange(([]LimitRange)(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 { + yym4162 := z.EncBinary() + _ = yym4162 + if false { + } else { + h.encSliceLimitRange(([]LimitRange)(x.Items), e) + } + } + } + if yyr4148 || yy2arr4148 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4163 := z.DecBinary() + _ = yym4163 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4164 := r.ContainerType() + if yyct4164 == codecSelferValueTypeMap1234 { + yyl4164 := r.ReadMapStart() + if yyl4164 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4164, d) + } + } else if yyct4164 == codecSelferValueTypeArray1234 { + yyl4164 := r.ReadArrayStart() + if yyl4164 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4164, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4165Slc = r.DecodeBytes(yys4165Slc, true, true) + yys4165 := string(yys4165Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4165 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv4168 := &x.ListMeta + yym4169 := z.DecBinary() + _ = yym4169 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4168) { + } else { + z.DecFallback(yyv4168, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4170 := &x.Items + yym4171 := z.DecBinary() + _ = yym4171 + if false { + } else { + h.decSliceLimitRange((*[]LimitRange)(yyv4170), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4165) + } // end switch yys4165 + } // end for yyj4165 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4172 = r.CheckBreak() + } + if yyb4172 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj4172++ + if yyhl4172 { + yyb4172 = yyj4172 > l + } else { + yyb4172 = r.CheckBreak() + } + if yyb4172 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj4172++ + if yyhl4172 { + yyb4172 = yyj4172 > l + } else { + yyb4172 = r.CheckBreak() + } + if yyb4172 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4175 := &x.ListMeta + yym4176 := z.DecBinary() + _ = yym4176 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4175) { + } else { + z.DecFallback(yyv4175, false) + } + } + yyj4172++ + if yyhl4172 { + yyb4172 = yyj4172 > l + } else { + yyb4172 = r.CheckBreak() + } + if yyb4172 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4177 := &x.Items + yym4178 := z.DecBinary() + _ = yym4178 + if false { + } else { + h.decSliceLimitRange((*[]LimitRange)(yyv4177), d) + } + } + for { + yyj4172++ + if yyhl4172 { + yyb4172 = yyj4172 > l + } else { + yyb4172 = r.CheckBreak() + } + if yyb4172 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4172-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym4179 := z.EncBinary() + _ = yym4179 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4180 := z.DecBinary() + _ = yym4180 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4181 := z.EncBinary() + _ = yym4181 + 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 { + r.EncodeArrayStart(2) + } else { + yynn4182 = 0 + for _, b := range yyq4182 { + if b { + yynn4182++ + } + } + r.EncodeMapStart(yynn4182) + yynn4182 = 0 + } + if yyr4182 || yy2arr4182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4182[0] { + if x.Hard == nil { + r.EncodeNil() + } else { + x.Hard.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq4182[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hard")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Hard == nil { + r.EncodeNil() + } else { + x.Hard.CodecEncodeSelf(e) + } + } + } + if yyr4182 || yy2arr4182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4182[1] { + if x.Scopes == nil { + r.EncodeNil() + } else { + yym4185 := z.EncBinary() + _ = yym4185 + if false { + } else { + h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq4182[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 + if false { + } else { + h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) + } + } + } + } + if yyr4182 || yy2arr4182 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4187 := z.DecBinary() + _ = yym4187 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4188 := r.ContainerType() + if yyct4188 == codecSelferValueTypeMap1234 { + yyl4188 := r.ReadMapStart() + if yyl4188 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4188, d) + } + } else if yyct4188 == codecSelferValueTypeArray1234 { + yyl4188 := r.ReadArrayStart() + if yyl4188 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4188, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4189Slc = r.DecodeBytes(yys4189Slc, true, true) + yys4189 := string(yys4189Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4189 { + case "hard": + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4190 := &x.Hard + yyv4190.CodecDecodeSelf(d) + } + case "scopes": + if r.TryDecodeAsNil() { + x.Scopes = nil + } else { + yyv4191 := &x.Scopes + yym4192 := z.DecBinary() + _ = yym4192 + if false { + } else { + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4191), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4189) + } // end switch yys4189 + } // end for yyj4189 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4193 = r.CheckBreak() + } + if yyb4193 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4194 := &x.Hard + yyv4194.CodecDecodeSelf(d) + } + yyj4193++ + if yyhl4193 { + yyb4193 = yyj4193 > l + } else { + yyb4193 = r.CheckBreak() + } + if yyb4193 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Scopes = nil + } else { + yyv4195 := &x.Scopes + yym4196 := z.DecBinary() + _ = yym4196 + if false { + } else { + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4195), d) + } + } + for { + yyj4193++ + if yyhl4193 { + yyb4193 = yyj4193 > l + } else { + yyb4193 = r.CheckBreak() + } + if yyb4193 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4193-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4197 := z.EncBinary() + _ = yym4197 + 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 { + r.EncodeArrayStart(2) + } else { + yynn4198 = 0 + for _, b := range yyq4198 { + if b { + yynn4198++ + } + } + r.EncodeMapStart(yynn4198) + yynn4198 = 0 + } + if yyr4198 || yy2arr4198 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4198[0] { + if x.Hard == nil { + r.EncodeNil() + } else { + x.Hard.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq4198[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hard")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Hard == nil { + r.EncodeNil() + } else { + x.Hard.CodecEncodeSelf(e) + } + } + } + if yyr4198 || yy2arr4198 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4198[1] { + if x.Used == nil { + r.EncodeNil() + } else { + x.Used.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq4198[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("used")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Used == nil { + r.EncodeNil() + } else { + x.Used.CodecEncodeSelf(e) + } + } + } + if yyr4198 || yy2arr4198 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4201 := z.DecBinary() + _ = yym4201 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4202 := r.ContainerType() + if yyct4202 == codecSelferValueTypeMap1234 { + yyl4202 := r.ReadMapStart() + if yyl4202 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4202, d) + } + } else if yyct4202 == codecSelferValueTypeArray1234 { + yyl4202 := r.ReadArrayStart() + if yyl4202 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4202, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4203Slc = r.DecodeBytes(yys4203Slc, true, true) + yys4203 := string(yys4203Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4203 { + case "hard": + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4204 := &x.Hard + yyv4204.CodecDecodeSelf(d) + } + case "used": + if r.TryDecodeAsNil() { + x.Used = nil + } else { + yyv4205 := &x.Used + yyv4205.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys4203) + } // end switch yys4203 + } // end for yyj4203 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb4206 = r.CheckBreak() + } + if yyb4206 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4207 := &x.Hard + yyv4207.CodecDecodeSelf(d) + } + yyj4206++ + if yyhl4206 { + yyb4206 = yyj4206 > l + } else { + yyb4206 = r.CheckBreak() + } + if yyb4206 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Used = nil + } else { + yyv4208 := &x.Used + yyv4208.CodecDecodeSelf(d) + } + for { + yyj4206++ + if yyhl4206 { + yyb4206 = yyj4206 > l + } else { + yyb4206 = r.CheckBreak() + } + if yyb4206 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4206-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -51881,39 +52569,39 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4145 := z.EncBinary() - _ = yym4145 + yym4209 := z.EncBinary() + _ = yym4209 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4146 := !z.EncBinary() - yy2arr4146 := z.EncBasicHandle().StructToArray - var yyq4146 [5]bool - _, _, _ = yysep4146, yyq4146, yy2arr4146 - const yyr4146 bool = false - yyq4146[0] = x.Kind != "" - yyq4146[1] = x.APIVersion != "" - yyq4146[2] = true - yyq4146[3] = true - yyq4146[4] = true - var yynn4146 int - if yyr4146 || yy2arr4146 { + 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 { r.EncodeArrayStart(5) } else { - yynn4146 = 0 - for _, b := range yyq4146 { + yynn4210 = 0 + for _, b := range yyq4210 { if b { - yynn4146++ + yynn4210++ } } - r.EncodeMapStart(yynn4146) - yynn4146 = 0 + r.EncodeMapStart(yynn4210) + yynn4210 = 0 } - if yyr4146 || yy2arr4146 { + if yyr4210 || yy2arr4210 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4146[0] { - yym4148 := z.EncBinary() - _ = yym4148 + if yyq4210[0] { + yym4212 := z.EncBinary() + _ = yym4212 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51922,23 +52610,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4146[0] { + if yyq4210[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4149 := z.EncBinary() - _ = yym4149 + yym4213 := z.EncBinary() + _ = yym4213 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4146 || yy2arr4146 { + if yyr4210 || yy2arr4210 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4146[1] { - yym4151 := z.EncBinary() - _ = yym4151 + if yyq4210[1] { + yym4215 := z.EncBinary() + _ = yym4215 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51947,70 +52635,70 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4146[1] { + if yyq4210[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4152 := z.EncBinary() - _ = yym4152 + yym4216 := z.EncBinary() + _ = yym4216 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4146 || yy2arr4146 { + if yyr4210 || yy2arr4210 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4146[2] { - yy4154 := &x.ObjectMeta - yy4154.CodecEncodeSelf(e) + if yyq4210[2] { + yy4218 := &x.ObjectMeta + yy4218.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4146[2] { + if yyq4210[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4155 := &x.ObjectMeta - yy4155.CodecEncodeSelf(e) + yy4219 := &x.ObjectMeta + yy4219.CodecEncodeSelf(e) } } - if yyr4146 || yy2arr4146 { + if yyr4210 || yy2arr4210 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4146[3] { - yy4157 := &x.Spec - yy4157.CodecEncodeSelf(e) + if yyq4210[3] { + yy4221 := &x.Spec + yy4221.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4146[3] { + if yyq4210[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4158 := &x.Spec - yy4158.CodecEncodeSelf(e) + yy4222 := &x.Spec + yy4222.CodecEncodeSelf(e) } } - if yyr4146 || yy2arr4146 { + if yyr4210 || yy2arr4210 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4146[4] { - yy4160 := &x.Status - yy4160.CodecEncodeSelf(e) + if yyq4210[4] { + yy4224 := &x.Status + yy4224.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4146[4] { + if yyq4210[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4161 := &x.Status - yy4161.CodecEncodeSelf(e) + yy4225 := &x.Status + yy4225.CodecEncodeSelf(e) } } - if yyr4146 || yy2arr4146 { + if yyr4210 || yy2arr4210 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52023,25 +52711,25 @@ func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4162 := z.DecBinary() - _ = yym4162 + yym4226 := z.DecBinary() + _ = yym4226 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4163 := r.ContainerType() - if yyct4163 == codecSelferValueTypeMap1234 { - yyl4163 := r.ReadMapStart() - if yyl4163 == 0 { + yyct4227 := r.ContainerType() + if yyct4227 == codecSelferValueTypeMap1234 { + yyl4227 := r.ReadMapStart() + if yyl4227 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4163, d) + x.codecDecodeSelfFromMap(yyl4227, d) } - } else if yyct4163 == codecSelferValueTypeArray1234 { - yyl4163 := r.ReadArrayStart() - if yyl4163 == 0 { + } else if yyct4227 == codecSelferValueTypeArray1234 { + yyl4227 := r.ReadArrayStart() + if yyl4227 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4163, d) + x.codecDecodeSelfFromArray(yyl4227, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52053,12 +52741,12 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4164Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4164Slc - var yyhl4164 bool = l >= 0 - for yyj4164 := 0; ; yyj4164++ { - if yyhl4164 { - if yyj4164 >= l { + var yys4228Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4228Slc + var yyhl4228 bool = l >= 0 + for yyj4228 := 0; ; yyj4228++ { + if yyhl4228 { + if yyj4228 >= l { break } } else { @@ -52067,10 +52755,10 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4164Slc = r.DecodeBytes(yys4164Slc, true, true) - yys4164 := string(yys4164Slc) + yys4228Slc = r.DecodeBytes(yys4228Slc, true, true) + yys4228 := string(yys4228Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4164 { + switch yys4228 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52087,27 +52775,27 @@ func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4167 := &x.ObjectMeta - yyv4167.CodecDecodeSelf(d) + yyv4231 := &x.ObjectMeta + yyv4231.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4168 := &x.Spec - yyv4168.CodecDecodeSelf(d) + yyv4232 := &x.Spec + yyv4232.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4169 := &x.Status - yyv4169.CodecDecodeSelf(d) + yyv4233 := &x.Status + yyv4233.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4164) - } // end switch yys4164 - } // end for yyj4164 + z.DecStructFieldNotFound(-1, yys4228) + } // end switch yys4228 + } // end for yyj4228 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52115,16 +52803,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4170 int - var yyb4170 bool - var yyhl4170 bool = l >= 0 - yyj4170++ - if yyhl4170 { - yyb4170 = yyj4170 > l + var yyj4234 int + var yyb4234 bool + var yyhl4234 bool = l >= 0 + yyj4234++ + if yyhl4234 { + yyb4234 = yyj4234 > l } else { - yyb4170 = r.CheckBreak() + yyb4234 = r.CheckBreak() } - if yyb4170 { + if yyb4234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52134,13 +52822,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4170++ - if yyhl4170 { - yyb4170 = yyj4170 > l + yyj4234++ + if yyhl4234 { + yyb4234 = yyj4234 > l } else { - yyb4170 = r.CheckBreak() + yyb4234 = r.CheckBreak() } - if yyb4170 { + if yyb4234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52150,13 +52838,13 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4170++ - if yyhl4170 { - yyb4170 = yyj4170 > l + yyj4234++ + if yyhl4234 { + yyb4234 = yyj4234 > l } else { - yyb4170 = r.CheckBreak() + yyb4234 = r.CheckBreak() } - if yyb4170 { + if yyb4234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52164,16 +52852,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4173 := &x.ObjectMeta - yyv4173.CodecDecodeSelf(d) + yyv4237 := &x.ObjectMeta + yyv4237.CodecDecodeSelf(d) } - yyj4170++ - if yyhl4170 { - yyb4170 = yyj4170 > l + yyj4234++ + if yyhl4234 { + yyb4234 = yyj4234 > l } else { - yyb4170 = r.CheckBreak() + yyb4234 = r.CheckBreak() } - if yyb4170 { + if yyb4234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52181,16 +52869,16 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ResourceQuotaSpec{} } else { - yyv4174 := &x.Spec - yyv4174.CodecDecodeSelf(d) + yyv4238 := &x.Spec + yyv4238.CodecDecodeSelf(d) } - yyj4170++ - if yyhl4170 { - yyb4170 = yyj4170 > l + yyj4234++ + if yyhl4234 { + yyb4234 = yyj4234 > l } else { - yyb4170 = r.CheckBreak() + yyb4234 = r.CheckBreak() } - if yyb4170 { + if yyb4234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52198,21 +52886,21 @@ func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ResourceQuotaStatus{} } else { - yyv4175 := &x.Status - yyv4175.CodecDecodeSelf(d) + yyv4239 := &x.Status + yyv4239.CodecDecodeSelf(d) } for { - yyj4170++ - if yyhl4170 { - yyb4170 = yyj4170 > l + yyj4234++ + if yyhl4234 { + yyb4234 = yyj4234 > l } else { - yyb4170 = r.CheckBreak() + yyb4234 = r.CheckBreak() } - if yyb4170 { + if yyb4234 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4170-1, "") + z.DecStructFieldNotFound(yyj4234-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52224,37 +52912,37 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4176 := z.EncBinary() - _ = yym4176 + yym4240 := z.EncBinary() + _ = yym4240 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4177 := !z.EncBinary() - yy2arr4177 := z.EncBasicHandle().StructToArray - var yyq4177 [4]bool - _, _, _ = yysep4177, yyq4177, yy2arr4177 - const yyr4177 bool = false - yyq4177[0] = x.Kind != "" - yyq4177[1] = x.APIVersion != "" - yyq4177[2] = true - var yynn4177 int - if yyr4177 || yy2arr4177 { + 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 { r.EncodeArrayStart(4) } else { - yynn4177 = 1 - for _, b := range yyq4177 { + yynn4241 = 1 + for _, b := range yyq4241 { if b { - yynn4177++ + yynn4241++ } } - r.EncodeMapStart(yynn4177) - yynn4177 = 0 + r.EncodeMapStart(yynn4241) + yynn4241 = 0 } - if yyr4177 || yy2arr4177 { + if yyr4241 || yy2arr4241 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4177[0] { - yym4179 := z.EncBinary() - _ = yym4179 + if yyq4241[0] { + yym4243 := z.EncBinary() + _ = yym4243 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52263,23 +52951,23 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4177[0] { + if yyq4241[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4180 := z.EncBinary() - _ = yym4180 + yym4244 := z.EncBinary() + _ = yym4244 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4177 || yy2arr4177 { + if yyr4241 || yy2arr4241 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4177[1] { - yym4182 := z.EncBinary() - _ = yym4182 + if yyq4241[1] { + yym4246 := z.EncBinary() + _ = yym4246 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52288,54 +52976,54 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4177[1] { + if yyq4241[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4183 := z.EncBinary() - _ = yym4183 + yym4247 := z.EncBinary() + _ = yym4247 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4177 || yy2arr4177 { + if yyr4241 || yy2arr4241 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4177[2] { - yy4185 := &x.ListMeta - yym4186 := z.EncBinary() - _ = yym4186 + if yyq4241[2] { + yy4249 := &x.ListMeta + yym4250 := z.EncBinary() + _ = yym4250 if false { - } else if z.HasExtensions() && z.EncExt(yy4185) { + } else if z.HasExtensions() && z.EncExt(yy4249) { } else { - z.EncFallback(yy4185) + z.EncFallback(yy4249) } } else { r.EncodeNil() } } else { - if yyq4177[2] { + if yyq4241[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4187 := &x.ListMeta - yym4188 := z.EncBinary() - _ = yym4188 + yy4251 := &x.ListMeta + yym4252 := z.EncBinary() + _ = yym4252 if false { - } else if z.HasExtensions() && z.EncExt(yy4187) { + } else if z.HasExtensions() && z.EncExt(yy4251) { } else { - z.EncFallback(yy4187) + z.EncFallback(yy4251) } } } - if yyr4177 || yy2arr4177 { + if yyr4241 || yy2arr4241 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4190 := z.EncBinary() - _ = yym4190 + yym4254 := z.EncBinary() + _ = yym4254 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) @@ -52348,15 +53036,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4191 := z.EncBinary() - _ = yym4191 + yym4255 := z.EncBinary() + _ = yym4255 if false { } else { h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr4177 || yy2arr4177 { + if yyr4241 || yy2arr4241 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52369,25 +53057,25 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4192 := z.DecBinary() - _ = yym4192 + yym4256 := z.DecBinary() + _ = yym4256 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4193 := r.ContainerType() - if yyct4193 == codecSelferValueTypeMap1234 { - yyl4193 := r.ReadMapStart() - if yyl4193 == 0 { + yyct4257 := r.ContainerType() + if yyct4257 == codecSelferValueTypeMap1234 { + yyl4257 := r.ReadMapStart() + if yyl4257 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4193, d) + x.codecDecodeSelfFromMap(yyl4257, d) } - } else if yyct4193 == codecSelferValueTypeArray1234 { - yyl4193 := r.ReadArrayStart() - if yyl4193 == 0 { + } else if yyct4257 == codecSelferValueTypeArray1234 { + yyl4257 := r.ReadArrayStart() + if yyl4257 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4193, d) + x.codecDecodeSelfFromArray(yyl4257, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52399,12 +53087,12 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4194Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4194Slc - var yyhl4194 bool = l >= 0 - for yyj4194 := 0; ; yyj4194++ { - if yyhl4194 { - if yyj4194 >= l { + var yys4258Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4258Slc + var yyhl4258 bool = l >= 0 + for yyj4258 := 0; ; yyj4258++ { + if yyhl4258 { + if yyj4258 >= l { break } } else { @@ -52413,10 +53101,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4194Slc = r.DecodeBytes(yys4194Slc, true, true) - yys4194 := string(yys4194Slc) + yys4258Slc = r.DecodeBytes(yys4258Slc, true, true) + yys4258 := string(yys4258Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4194 { + switch yys4258 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52433,31 +53121,31 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4197 := &x.ListMeta - yym4198 := z.DecBinary() - _ = yym4198 + yyv4261 := &x.ListMeta + yym4262 := z.DecBinary() + _ = yym4262 if false { - } else if z.HasExtensions() && z.DecExt(yyv4197) { + } else if z.HasExtensions() && z.DecExt(yyv4261) { } else { - z.DecFallback(yyv4197, false) + z.DecFallback(yyv4261, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4199 := &x.Items - yym4200 := z.DecBinary() - _ = yym4200 + yyv4263 := &x.Items + yym4264 := z.DecBinary() + _ = yym4264 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4199), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4263), d) } } default: - z.DecStructFieldNotFound(-1, yys4194) - } // end switch yys4194 - } // end for yyj4194 + z.DecStructFieldNotFound(-1, yys4258) + } // end switch yys4258 + } // end for yyj4258 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -52465,16 +53153,16 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4201 int - var yyb4201 bool - var yyhl4201 bool = l >= 0 - yyj4201++ - if yyhl4201 { - yyb4201 = yyj4201 > l + var yyj4265 int + var yyb4265 bool + var yyhl4265 bool = l >= 0 + yyj4265++ + if yyhl4265 { + yyb4265 = yyj4265 > l } else { - yyb4201 = r.CheckBreak() + yyb4265 = r.CheckBreak() } - if yyb4201 { + if yyb4265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52484,13 +53172,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj4201++ - if yyhl4201 { - yyb4201 = yyj4201 > l + yyj4265++ + if yyhl4265 { + yyb4265 = yyj4265 > l } else { - yyb4201 = r.CheckBreak() + yyb4265 = r.CheckBreak() } - if yyb4201 { + if yyb4265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52500,13 +53188,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj4201++ - if yyhl4201 { - yyb4201 = yyj4201 > l + yyj4265++ + if yyhl4265 { + yyb4265 = yyj4265 > l } else { - yyb4201 = r.CheckBreak() + yyb4265 = r.CheckBreak() } - if yyb4201 { + if yyb4265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52514,22 +53202,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4204 := &x.ListMeta - yym4205 := z.DecBinary() - _ = yym4205 + yyv4268 := &x.ListMeta + yym4269 := z.DecBinary() + _ = yym4269 if false { - } else if z.HasExtensions() && z.DecExt(yyv4204) { + } else if z.HasExtensions() && z.DecExt(yyv4268) { } else { - z.DecFallback(yyv4204, false) + z.DecFallback(yyv4268, false) } } - yyj4201++ - if yyhl4201 { - yyb4201 = yyj4201 > l + yyj4265++ + if yyhl4265 { + yyb4265 = yyj4265 > l } else { - yyb4201 = r.CheckBreak() + yyb4265 = r.CheckBreak() } - if yyb4201 { + if yyb4265 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52537,26 +53225,26 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4206 := &x.Items - yym4207 := z.DecBinary() - _ = yym4207 + yyv4270 := &x.Items + yym4271 := z.DecBinary() + _ = yym4271 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4206), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4270), d) } } for { - yyj4201++ - if yyhl4201 { - yyb4201 = yyj4201 > l + yyj4265++ + if yyhl4265 { + yyb4265 = yyj4265 > l } else { - yyb4201 = r.CheckBreak() + yyb4265 = r.CheckBreak() } - if yyb4201 { + if yyb4265 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4201-1, "") + z.DecStructFieldNotFound(yyj4265-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -52568,39 +53256,39 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4208 := z.EncBinary() - _ = yym4208 + yym4272 := z.EncBinary() + _ = yym4272 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4209 := !z.EncBinary() - yy2arr4209 := z.EncBasicHandle().StructToArray - var yyq4209 [5]bool - _, _, _ = yysep4209, yyq4209, yy2arr4209 - const yyr4209 bool = false - yyq4209[0] = x.Kind != "" - yyq4209[1] = x.APIVersion != "" - yyq4209[2] = true - yyq4209[3] = len(x.Data) != 0 - yyq4209[4] = x.Type != "" - var yynn4209 int - if yyr4209 || yy2arr4209 { + 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 { r.EncodeArrayStart(5) } else { - yynn4209 = 0 - for _, b := range yyq4209 { + yynn4273 = 0 + for _, b := range yyq4273 { if b { - yynn4209++ + yynn4273++ } } - r.EncodeMapStart(yynn4209) - yynn4209 = 0 + r.EncodeMapStart(yynn4273) + yynn4273 = 0 } - if yyr4209 || yy2arr4209 { + if yyr4273 || yy2arr4273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4209[0] { - yym4211 := z.EncBinary() - _ = yym4211 + if yyq4273[0] { + yym4275 := z.EncBinary() + _ = yym4275 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52609,23 +53297,23 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4209[0] { + if yyq4273[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4212 := z.EncBinary() - _ = yym4212 + yym4276 := z.EncBinary() + _ = yym4276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4209 || yy2arr4209 { + if yyr4273 || yy2arr4273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4209[1] { - yym4214 := z.EncBinary() - _ = yym4214 + if yyq4273[1] { + yym4278 := z.EncBinary() + _ = yym4278 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52634,43 +53322,43 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4209[1] { + if yyq4273[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4215 := z.EncBinary() - _ = yym4215 + yym4279 := z.EncBinary() + _ = yym4279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4209 || yy2arr4209 { + if yyr4273 || yy2arr4273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4209[2] { - yy4217 := &x.ObjectMeta - yy4217.CodecEncodeSelf(e) + if yyq4273[2] { + yy4281 := &x.ObjectMeta + yy4281.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4209[2] { + if yyq4273[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4218 := &x.ObjectMeta - yy4218.CodecEncodeSelf(e) + yy4282 := &x.ObjectMeta + yy4282.CodecEncodeSelf(e) } } - if yyr4209 || yy2arr4209 { + if yyr4273 || yy2arr4273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4209[3] { + if yyq4273[3] { if x.Data == nil { r.EncodeNil() } else { - yym4220 := z.EncBinary() - _ = yym4220 + yym4284 := z.EncBinary() + _ = yym4284 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -52680,15 +53368,15 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4209[3] { + if yyq4273[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4221 := z.EncBinary() - _ = yym4221 + yym4285 := z.EncBinary() + _ = yym4285 if false { } else { h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) @@ -52696,22 +53384,22 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4209 || yy2arr4209 { + if yyr4273 || yy2arr4273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4209[4] { + if yyq4273[4] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4209[4] { + if yyq4273[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr4209 || yy2arr4209 { + if yyr4273 || yy2arr4273 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52721,725 +53409,6 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4223 := z.DecBinary() - _ = yym4223 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4224 := r.ContainerType() - if yyct4224 == codecSelferValueTypeMap1234 { - yyl4224 := r.ReadMapStart() - if yyl4224 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4224, d) - } - } else if yyct4224 == codecSelferValueTypeArray1234 { - yyl4224 := r.ReadArrayStart() - if yyl4224 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4224, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4225Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4225Slc - var yyhl4225 bool = l >= 0 - for yyj4225 := 0; ; yyj4225++ { - if yyhl4225 { - if yyj4225 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4225Slc = r.DecodeBytes(yys4225Slc, true, true) - yys4225 := string(yys4225Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4225 { - 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 = ObjectMeta{} - } else { - yyv4228 := &x.ObjectMeta - yyv4228.CodecDecodeSelf(d) - } - case "data": - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv4229 := &x.Data - yym4230 := z.DecBinary() - _ = yym4230 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4229), d) - } - } - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys4225) - } // end switch yys4225 - } // end for yyj4225 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4232 int - var yyb4232 bool - var yyhl4232 bool = l >= 0 - yyj4232++ - if yyhl4232 { - yyb4232 = yyj4232 > l - } else { - yyb4232 = r.CheckBreak() - } - if yyb4232 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4232++ - if yyhl4232 { - yyb4232 = yyj4232 > l - } else { - yyb4232 = r.CheckBreak() - } - if yyb4232 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4232++ - if yyhl4232 { - yyb4232 = yyj4232 > l - } else { - yyb4232 = r.CheckBreak() - } - if yyb4232 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4235 := &x.ObjectMeta - yyv4235.CodecDecodeSelf(d) - } - yyj4232++ - if yyhl4232 { - yyb4232 = yyj4232 > l - } else { - yyb4232 = r.CheckBreak() - } - if yyb4232 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Data = nil - } else { - yyv4236 := &x.Data - yym4237 := z.DecBinary() - _ = yym4237 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4236), d) - } - } - yyj4232++ - if yyhl4232 { - yyb4232 = yyj4232 > l - } else { - yyb4232 = r.CheckBreak() - } - if yyb4232 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) - } - for { - yyj4232++ - if yyhl4232 { - yyb4232 = yyj4232 > l - } else { - yyb4232 = r.CheckBreak() - } - if yyb4232 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4232-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym4239 := z.EncBinary() - _ = yym4239 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4240 := z.DecBinary() - _ = yym4240 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4241 := z.EncBinary() - _ = yym4241 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4242 := !z.EncBinary() - yy2arr4242 := z.EncBasicHandle().StructToArray - var yyq4242 [4]bool - _, _, _ = yysep4242, yyq4242, yy2arr4242 - const yyr4242 bool = false - yyq4242[0] = x.Kind != "" - yyq4242[1] = x.APIVersion != "" - yyq4242[2] = true - var yynn4242 int - if yyr4242 || yy2arr4242 { - r.EncodeArrayStart(4) - } else { - yynn4242 = 1 - for _, b := range yyq4242 { - if b { - yynn4242++ - } - } - r.EncodeMapStart(yynn4242) - yynn4242 = 0 - } - if yyr4242 || yy2arr4242 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4242[0] { - yym4244 := z.EncBinary() - _ = yym4244 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4242[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4245 := z.EncBinary() - _ = yym4245 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4242 || yy2arr4242 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4242[1] { - yym4247 := z.EncBinary() - _ = yym4247 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4242[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4248 := z.EncBinary() - _ = yym4248 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr4242 || yy2arr4242 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4242[2] { - yy4250 := &x.ListMeta - yym4251 := z.EncBinary() - _ = yym4251 - if false { - } else if z.HasExtensions() && z.EncExt(yy4250) { - } else { - z.EncFallback(yy4250) - } - } else { - r.EncodeNil() - } - } else { - if yyq4242[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4252 := &x.ListMeta - yym4253 := z.EncBinary() - _ = yym4253 - if false { - } else if z.HasExtensions() && z.EncExt(yy4252) { - } else { - z.EncFallback(yy4252) - } - } - } - if yyr4242 || yy2arr4242 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym4255 := z.EncBinary() - _ = yym4255 - if false { - } else { - h.encSliceSecret(([]Secret)(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 { - yym4256 := z.EncBinary() - _ = yym4256 - if false { - } else { - h.encSliceSecret(([]Secret)(x.Items), e) - } - } - } - if yyr4242 || yy2arr4242 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4257 := z.DecBinary() - _ = yym4257 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4258 := r.ContainerType() - if yyct4258 == codecSelferValueTypeMap1234 { - yyl4258 := r.ReadMapStart() - if yyl4258 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4258, d) - } - } else if yyct4258 == codecSelferValueTypeArray1234 { - yyl4258 := r.ReadArrayStart() - if yyl4258 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4258, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4259Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4259Slc - var yyhl4259 bool = l >= 0 - for yyj4259 := 0; ; yyj4259++ { - if yyhl4259 { - if yyj4259 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4259Slc = r.DecodeBytes(yys4259Slc, true, true) - yys4259 := string(yys4259Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4259 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv4262 := &x.ListMeta - yym4263 := z.DecBinary() - _ = yym4263 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4262) { - } else { - z.DecFallback(yyv4262, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4264 := &x.Items - yym4265 := z.DecBinary() - _ = yym4265 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv4264), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys4259) - } // end switch yys4259 - } // end for yyj4259 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4266 int - var yyb4266 bool - var yyhl4266 bool = l >= 0 - yyj4266++ - if yyhl4266 { - yyb4266 = yyj4266 > l - } else { - yyb4266 = r.CheckBreak() - } - if yyb4266 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4266++ - if yyhl4266 { - yyb4266 = yyj4266 > l - } else { - yyb4266 = r.CheckBreak() - } - if yyb4266 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4266++ - if yyhl4266 { - yyb4266 = yyj4266 > l - } else { - yyb4266 = r.CheckBreak() - } - if yyb4266 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4269 := &x.ListMeta - yym4270 := z.DecBinary() - _ = yym4270 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4269) { - } else { - z.DecFallback(yyv4269, false) - } - } - yyj4266++ - if yyhl4266 { - yyb4266 = yyj4266 > l - } else { - yyb4266 = r.CheckBreak() - } - if yyb4266 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4271 := &x.Items - yym4272 := z.DecBinary() - _ = yym4272 - if false { - } else { - h.decSliceSecret((*[]Secret)(yyv4271), d) - } - } - for { - yyj4266++ - if yyhl4266 { - yyb4266 = yyj4266 > l - } else { - yyb4266 = r.CheckBreak() - } - if yyb4266 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4266-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4273 := z.EncBinary() - _ = yym4273 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4274 := !z.EncBinary() - yy2arr4274 := z.EncBasicHandle().StructToArray - var yyq4274 [4]bool - _, _, _ = yysep4274, yyq4274, yy2arr4274 - const yyr4274 bool = false - yyq4274[0] = x.Kind != "" - yyq4274[1] = x.APIVersion != "" - yyq4274[2] = true - yyq4274[3] = len(x.Data) != 0 - var yynn4274 int - if yyr4274 || yy2arr4274 { - r.EncodeArrayStart(4) - } else { - yynn4274 = 0 - for _, b := range yyq4274 { - if b { - yynn4274++ - } - } - r.EncodeMapStart(yynn4274) - yynn4274 = 0 - } - if yyr4274 || yy2arr4274 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4274[0] { - yym4276 := z.EncBinary() - _ = yym4276 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4274[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4277 := z.EncBinary() - _ = yym4277 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4274 || yy2arr4274 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4274[1] { - yym4279 := z.EncBinary() - _ = yym4279 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4274[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4280 := z.EncBinary() - _ = yym4280 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr4274 || yy2arr4274 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4274[2] { - yy4282 := &x.ObjectMeta - yy4282.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq4274[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4283 := &x.ObjectMeta - yy4283.CodecEncodeSelf(e) - } - } - if yyr4274 || yy2arr4274 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4274[3] { - if x.Data == nil { - r.EncodeNil() - } else { - yym4285 := z.EncBinary() - _ = yym4285 - if false { - } else { - z.F.EncMapStringStringV(x.Data, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq4274[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("data")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Data == nil { - r.EncodeNil() - } else { - yym4286 := z.EncBinary() - _ = yym4286 - if false { - } else { - z.F.EncMapStringStringV(x.Data, false, e) - } - } - } - } - if yyr4274 || yy2arr4274 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -53469,7 +53438,7 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -53519,9 +53488,15 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { _ = yym4294 if false { } else { - z.F.DecMapStringStringX(yyv4293, false, d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4293), d) } } + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } default: z.DecStructFieldNotFound(-1, yys4289) } // end switch yys4289 @@ -53529,20 +53504,20 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4295 int - var yyb4295 bool - var yyhl4295 bool = l >= 0 - yyj4295++ - if yyhl4295 { - yyb4295 = yyj4295 > l + var yyj4296 int + var yyb4296 bool + var yyhl4296 bool = l >= 0 + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4295 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4295 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53552,13 +53527,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4295++ - if yyhl4295 { - yyb4295 = yyj4295 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4295 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4295 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53568,13 +53543,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4295++ - if yyhl4295 { - yyb4295 = yyj4295 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4295 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4295 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53582,16 +53557,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4298 := &x.ObjectMeta - yyv4298.CodecDecodeSelf(d) + yyv4299 := &x.ObjectMeta + yyv4299.CodecDecodeSelf(d) } - yyj4295++ - if yyhl4295 { - yyb4295 = yyj4295 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4295 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4295 { + if yyb4296 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53599,152 +53574,194 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4299 := &x.Data - yym4300 := z.DecBinary() - _ = yym4300 + yyv4300 := &x.Data + yym4301 := z.DecBinary() + _ = yym4301 if false { } else { - z.F.DecMapStringStringX(yyv4299, false, d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4300), d) } } + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l + } else { + yyb4296 = r.CheckBreak() + } + if yyb4296 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } for { - yyj4295++ - if yyhl4295 { - yyb4295 = yyj4295 > l + yyj4296++ + if yyhl4296 { + yyb4296 = yyj4296 > l } else { - yyb4295 = r.CheckBreak() + yyb4296 = r.CheckBreak() } - if yyb4295 { + if yyb4296 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4295-1, "") + z.DecStructFieldNotFound(yyj4296-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym4303 := z.EncBinary() + _ = yym4303 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4304 := z.DecBinary() + _ = yym4304 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym4301 := z.EncBinary() - _ = yym4301 + yym4305 := z.EncBinary() + _ = yym4305 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4302 := !z.EncBinary() - yy2arr4302 := z.EncBasicHandle().StructToArray - var yyq4302 [4]bool - _, _, _ = yysep4302, yyq4302, yy2arr4302 - const yyr4302 bool = false - yyq4302[0] = x.Kind != "" - yyq4302[1] = x.APIVersion != "" - yyq4302[2] = true - var yynn4302 int - if yyr4302 || yy2arr4302 { + 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 { r.EncodeArrayStart(4) } else { - yynn4302 = 1 - for _, b := range yyq4302 { + yynn4306 = 1 + for _, b := range yyq4306 { if b { - yynn4302++ + yynn4306++ } } - r.EncodeMapStart(yynn4302) - yynn4302 = 0 + r.EncodeMapStart(yynn4306) + yynn4306 = 0 } - if yyr4302 || yy2arr4302 { + if yyr4306 || yy2arr4306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4302[0] { - yym4304 := z.EncBinary() - _ = yym4304 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4302[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4305 := z.EncBinary() - _ = yym4305 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4302 || yy2arr4302 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4302[1] { - yym4307 := z.EncBinary() - _ = yym4307 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4302[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq4306[0] { yym4308 := z.EncBinary() _ = yym4308 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4306[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4309 := z.EncBinary() + _ = yym4309 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4306 || yy2arr4306 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4306[1] { + yym4311 := z.EncBinary() + _ = yym4311 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4306[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4312 := z.EncBinary() + _ = yym4312 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4302 || yy2arr4302 { + if yyr4306 || yy2arr4306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4302[2] { - yy4310 := &x.ListMeta - yym4311 := z.EncBinary() - _ = yym4311 + if yyq4306[2] { + yy4314 := &x.ListMeta + yym4315 := z.EncBinary() + _ = yym4315 if false { - } else if z.HasExtensions() && z.EncExt(yy4310) { + } else if z.HasExtensions() && z.EncExt(yy4314) { } else { - z.EncFallback(yy4310) + z.EncFallback(yy4314) } } else { r.EncodeNil() } } else { - if yyq4302[2] { + if yyq4306[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4312 := &x.ListMeta - yym4313 := z.EncBinary() - _ = yym4313 + yy4316 := &x.ListMeta + yym4317 := z.EncBinary() + _ = yym4317 if false { - } else if z.HasExtensions() && z.EncExt(yy4312) { + } else if z.HasExtensions() && z.EncExt(yy4316) { } else { - z.EncFallback(yy4312) + z.EncFallback(yy4316) } } } - if yyr4302 || yy2arr4302 { + if yyr4306 || yy2arr4306 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4315 := z.EncBinary() - _ = yym4315 + yym4319 := z.EncBinary() + _ = yym4319 if false { } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + h.encSliceSecret(([]Secret)(x.Items), e) } } } else { @@ -53754,15 +53771,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4316 := z.EncBinary() - _ = yym4316 + yym4320 := z.EncBinary() + _ = yym4320 if false { } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr4302 || yy2arr4302 { + if yyr4306 || yy2arr4306 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53771,29 +53788,29 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4317 := z.DecBinary() - _ = yym4317 + yym4321 := z.DecBinary() + _ = yym4321 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4318 := r.ContainerType() - if yyct4318 == codecSelferValueTypeMap1234 { - yyl4318 := r.ReadMapStart() - if yyl4318 == 0 { + yyct4322 := r.ContainerType() + if yyct4322 == codecSelferValueTypeMap1234 { + yyl4322 := r.ReadMapStart() + if yyl4322 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4318, d) + x.codecDecodeSelfFromMap(yyl4322, d) } - } else if yyct4318 == codecSelferValueTypeArray1234 { - yyl4318 := r.ReadArrayStart() - if yyl4318 == 0 { + } else if yyct4322 == codecSelferValueTypeArray1234 { + yyl4322 := r.ReadArrayStart() + if yyl4322 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4318, d) + x.codecDecodeSelfFromArray(yyl4322, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53801,16 +53818,16 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4319Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4319Slc - var yyhl4319 bool = l >= 0 - for yyj4319 := 0; ; yyj4319++ { - if yyhl4319 { - if yyj4319 >= l { + var yys4323Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4323Slc + var yyhl4323 bool = l >= 0 + for yyj4323 := 0; ; yyj4323++ { + if yyhl4323 { + if yyj4323 >= l { break } } else { @@ -53819,10 +53836,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4319Slc = r.DecodeBytes(yys4319Slc, true, true) - yys4319 := string(yys4319Slc) + yys4323Slc = r.DecodeBytes(yys4323Slc, true, true) + yys4323 := string(yys4323Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4319 { + switch yys4323 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53839,48 +53856,48 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4322 := &x.ListMeta - yym4323 := z.DecBinary() - _ = yym4323 + yyv4326 := &x.ListMeta + yym4327 := z.DecBinary() + _ = yym4327 if false { - } else if z.HasExtensions() && z.DecExt(yyv4322) { + } else if z.HasExtensions() && z.DecExt(yyv4326) { } else { - z.DecFallback(yyv4322, false) + z.DecFallback(yyv4326, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4324 := &x.Items - yym4325 := z.DecBinary() - _ = yym4325 + yyv4328 := &x.Items + yym4329 := z.DecBinary() + _ = yym4329 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4324), d) + h.decSliceSecret((*[]Secret)(yyv4328), d) } } default: - z.DecStructFieldNotFound(-1, yys4319) - } // end switch yys4319 - } // end for yyj4319 + z.DecStructFieldNotFound(-1, yys4323) + } // end switch yys4323 + } // end for yyj4323 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4326 int - var yyb4326 bool - var yyhl4326 bool = l >= 0 - yyj4326++ - if yyhl4326 { - yyb4326 = yyj4326 > l + var yyj4330 int + var yyb4330 bool + var yyhl4330 bool = l >= 0 + yyj4330++ + if yyhl4330 { + yyb4330 = yyj4330 > l } else { - yyb4326 = r.CheckBreak() + yyb4330 = r.CheckBreak() } - if yyb4326 { + if yyb4330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53890,13 +53907,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4326++ - if yyhl4326 { - yyb4326 = yyj4326 > l + yyj4330++ + if yyhl4330 { + yyb4330 = yyj4330 > l } else { - yyb4326 = r.CheckBreak() + yyb4330 = r.CheckBreak() } - if yyb4326 { + if yyb4330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53906,13 +53923,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4326++ - if yyhl4326 { - yyb4326 = yyj4326 > l + yyj4330++ + if yyhl4330 { + yyb4330 = yyj4330 > l } else { - yyb4326 = r.CheckBreak() + yyb4330 = r.CheckBreak() } - if yyb4326 { + if yyb4330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53920,22 +53937,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4329 := &x.ListMeta - yym4330 := z.DecBinary() - _ = yym4330 + yyv4333 := &x.ListMeta + yym4334 := z.DecBinary() + _ = yym4334 if false { - } else if z.HasExtensions() && z.DecExt(yyv4329) { + } else if z.HasExtensions() && z.DecExt(yyv4333) { } else { - z.DecFallback(yyv4329, false) + z.DecFallback(yyv4333, false) } } - yyj4326++ - if yyhl4326 { - yyb4326 = yyj4326 > l + yyj4330++ + if yyhl4330 { + yyb4330 = yyj4330 > l } else { - yyb4326 = r.CheckBreak() + yyb4330 = r.CheckBreak() } - if yyb4326 { + if yyb4330 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53943,83 +53960,31 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4331 := &x.Items - yym4332 := z.DecBinary() - _ = yym4332 + yyv4335 := &x.Items + yym4336 := z.DecBinary() + _ = yym4336 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4331), d) + h.decSliceSecret((*[]Secret)(yyv4335), d) } } for { - yyj4326++ - if yyhl4326 { - yyb4326 = yyj4326 > l + yyj4330++ + if yyhl4330 { + yyb4330 = yyj4330 > l } else { - yyb4326 = r.CheckBreak() + yyb4330 = r.CheckBreak() } - if yyb4326 { + if yyb4330 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4326-1, "") + z.DecStructFieldNotFound(yyj4330-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym4333 := z.EncBinary() - _ = yym4333 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4334 := z.DecBinary() - _ = yym4334 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym4335 := z.EncBinary() - _ = yym4335 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4336 := z.DecBinary() - _ = yym4336 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -54036,13 +54001,15 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { var yyq4338 [4]bool _, _, _ = yysep4338, yyq4338, yy2arr4338 const yyr4338 bool = false - yyq4338[2] = x.Message != "" - yyq4338[3] = x.Error != "" + yyq4338[0] = x.Kind != "" + yyq4338[1] = x.APIVersion != "" + yyq4338[2] = true + yyq4338[3] = len(x.Data) != 0 var yynn4338 int if yyr4338 || yy2arr4338 { r.EncodeArrayStart(4) } else { - yynn4338 = 2 + yynn4338 = 0 for _, b := range yyq4338 { if b { yynn4338++ @@ -54053,69 +54020,101 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr4338 || yy2arr4338 { 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 yyr4338 || yy2arr4338 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Status.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Status.CodecEncodeSelf(e) - } - if yyr4338 || yy2arr4338 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[2] { - yym4342 := z.EncBinary() - _ = yym4342 + if yyq4338[0] { + yym4340 := z.EncBinary() + _ = yym4340 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4338[2] { + if yyq4338[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) + r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4341 := z.EncBinary() + _ = yym4341 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4338 || yy2arr4338 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4338[1] { yym4343 := z.EncBinary() _ = yym4343 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr4338 || yy2arr4338 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4338[3] { - yym4345 := z.EncBinary() - _ = yym4345 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4338[3] { + if yyq4338[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("error")) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4346 := z.EncBinary() - _ = yym4346 + yym4344 := z.EncBinary() + _ = yym4344 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4338 || yy2arr4338 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4338[2] { + yy4346 := &x.ObjectMeta + yy4346.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq4338[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4347 := &x.ObjectMeta + yy4347.CodecEncodeSelf(e) + } + } + if yyr4338 || yy2arr4338 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4338[3] { + if x.Data == nil { + r.EncodeNil() + } else { + yym4349 := z.EncBinary() + _ = yym4349 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq4338[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 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } } } } @@ -54128,29 +54127,718 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { } } +func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4351 := z.DecBinary() + _ = yym4351 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4352 := r.ContainerType() + if yyct4352 == codecSelferValueTypeMap1234 { + yyl4352 := r.ReadMapStart() + if yyl4352 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4352, d) + } + } else if yyct4352 == codecSelferValueTypeArray1234 { + yyl4352 := r.ReadArrayStart() + if yyl4352 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4352, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4353Slc = r.DecodeBytes(yys4353Slc, true, true) + yys4353 := string(yys4353Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4353 { + 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 = ObjectMeta{} + } else { + yyv4356 := &x.ObjectMeta + yyv4356.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4357 := &x.Data + yym4358 := z.DecBinary() + _ = yym4358 + if false { + } else { + z.F.DecMapStringStringX(yyv4357, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4353) + } // end switch yys4353 + } // end for yyj4353 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4359 = r.CheckBreak() + } + if yyb4359 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj4359++ + if yyhl4359 { + yyb4359 = yyj4359 > l + } else { + yyb4359 = r.CheckBreak() + } + if yyb4359 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj4359++ + if yyhl4359 { + yyb4359 = yyj4359 > l + } else { + yyb4359 = r.CheckBreak() + } + if yyb4359 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4362 := &x.ObjectMeta + yyv4362.CodecDecodeSelf(d) + } + yyj4359++ + if yyhl4359 { + yyb4359 = yyj4359 > l + } else { + yyb4359 = r.CheckBreak() + } + if yyb4359 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4363 := &x.Data + yym4364 := z.DecBinary() + _ = yym4364 + if false { + } else { + z.F.DecMapStringStringX(yyv4363, false, d) + } + } + for { + yyj4359++ + if yyhl4359 { + yyb4359 = yyj4359 > l + } else { + yyb4359 = r.CheckBreak() + } + if yyb4359 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4359-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4365 := z.EncBinary() + _ = yym4365 + 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 { + r.EncodeArrayStart(4) + } else { + yynn4366 = 1 + for _, b := range yyq4366 { + if b { + yynn4366++ + } + } + r.EncodeMapStart(yynn4366) + yynn4366 = 0 + } + if yyr4366 || yy2arr4366 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4366[0] { + yym4368 := z.EncBinary() + _ = yym4368 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4366[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4369 := z.EncBinary() + _ = yym4369 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4366 || yy2arr4366 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4366[1] { + yym4371 := z.EncBinary() + _ = yym4371 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4366[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4372 := z.EncBinary() + _ = yym4372 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4366 || yy2arr4366 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4366[2] { + yy4374 := &x.ListMeta + yym4375 := z.EncBinary() + _ = yym4375 + if false { + } else if z.HasExtensions() && z.EncExt(yy4374) { + } else { + z.EncFallback(yy4374) + } + } else { + r.EncodeNil() + } + } else { + if yyq4366[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4376 := &x.ListMeta + yym4377 := z.EncBinary() + _ = yym4377 + if false { + } else if z.HasExtensions() && z.EncExt(yy4376) { + } else { + z.EncFallback(yy4376) + } + } + } + if yyr4366 || yy2arr4366 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym4379 := z.EncBinary() + _ = yym4379 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(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 { + yym4380 := z.EncBinary() + _ = yym4380 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + } + } + } + if yyr4366 || yy2arr4366 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4381 := z.DecBinary() + _ = yym4381 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4382 := r.ContainerType() + if yyct4382 == codecSelferValueTypeMap1234 { + yyl4382 := r.ReadMapStart() + if yyl4382 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4382, d) + } + } else if yyct4382 == codecSelferValueTypeArray1234 { + yyl4382 := r.ReadArrayStart() + if yyl4382 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4382, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4383Slc = r.DecodeBytes(yys4383Slc, true, true) + yys4383 := string(yys4383Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4383 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv4386 := &x.ListMeta + yym4387 := z.DecBinary() + _ = yym4387 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4386) { + } else { + z.DecFallback(yyv4386, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4388 := &x.Items + yym4389 := z.DecBinary() + _ = yym4389 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4388), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4383) + } // end switch yys4383 + } // end for yyj4383 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4390 = r.CheckBreak() + } + if yyb4390 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj4390++ + if yyhl4390 { + yyb4390 = yyj4390 > l + } else { + yyb4390 = r.CheckBreak() + } + if yyb4390 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj4390++ + if yyhl4390 { + yyb4390 = yyj4390 > l + } else { + yyb4390 = r.CheckBreak() + } + if yyb4390 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4393 := &x.ListMeta + yym4394 := z.DecBinary() + _ = yym4394 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4393) { + } else { + z.DecFallback(yyv4393, false) + } + } + yyj4390++ + if yyhl4390 { + yyb4390 = yyj4390 > l + } else { + yyb4390 = r.CheckBreak() + } + if yyb4390 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4395 := &x.Items + yym4396 := z.DecBinary() + _ = yym4396 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4395), d) + } + } + for { + yyj4390++ + if yyhl4390 { + yyb4390 = yyj4390 > l + } else { + yyb4390 = r.CheckBreak() + } + if yyb4390 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4390-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x PatchType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym4397 := z.EncBinary() + _ = yym4397 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *PatchType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4398 := z.DecBinary() + _ = yym4398 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym4399 := z.EncBinary() + _ = yym4399 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4400 := z.DecBinary() + _ = yym4400 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4401 := z.EncBinary() + _ = yym4401 + 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 { + r.EncodeArrayStart(4) + } else { + yynn4402 = 2 + for _, b := range yyq4402 { + if b { + yynn4402++ + } + } + r.EncodeMapStart(yynn4402) + yynn4402 = 0 + } + if yyr4402 || yy2arr4402 { + 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 yyr4402 || yy2arr4402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr4402 || yy2arr4402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4402[2] { + yym4406 := z.EncBinary() + _ = yym4406 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4402[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4407 := z.EncBinary() + _ = yym4407 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr4402 || yy2arr4402 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4402[3] { + yym4409 := z.EncBinary() + _ = yym4409 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4402[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("error")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4410 := z.EncBinary() + _ = yym4410 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Error)) + } + } + } + if yyr4402 || yy2arr4402 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4347 := z.DecBinary() - _ = yym4347 + yym4411 := z.DecBinary() + _ = yym4411 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4348 := r.ContainerType() - if yyct4348 == codecSelferValueTypeMap1234 { - yyl4348 := r.ReadMapStart() - if yyl4348 == 0 { + yyct4412 := r.ContainerType() + if yyct4412 == codecSelferValueTypeMap1234 { + yyl4412 := r.ReadMapStart() + if yyl4412 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4348, d) + x.codecDecodeSelfFromMap(yyl4412, d) } - } else if yyct4348 == codecSelferValueTypeArray1234 { - yyl4348 := r.ReadArrayStart() - if yyl4348 == 0 { + } else if yyct4412 == codecSelferValueTypeArray1234 { + yyl4412 := r.ReadArrayStart() + if yyl4412 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4348, d) + x.codecDecodeSelfFromArray(yyl4412, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54162,12 +54850,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4349Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4349Slc - var yyhl4349 bool = l >= 0 - for yyj4349 := 0; ; yyj4349++ { - if yyhl4349 { - if yyj4349 >= l { + var yys4413Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4413Slc + var yyhl4413 bool = l >= 0 + for yyj4413 := 0; ; yyj4413++ { + if yyhl4413 { + if yyj4413 >= l { break } } else { @@ -54176,10 +54864,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4349Slc = r.DecodeBytes(yys4349Slc, true, true) - yys4349 := string(yys4349Slc) + yys4413Slc = r.DecodeBytes(yys4413Slc, true, true) + yys4413 := string(yys4413Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4349 { + switch yys4413 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -54205,9 +54893,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4349) - } // end switch yys4349 - } // end for yyj4349 + z.DecStructFieldNotFound(-1, yys4413) + } // end switch yys4413 + } // end for yyj4413 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54215,16 +54903,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4354 int - var yyb4354 bool - var yyhl4354 bool = l >= 0 - yyj4354++ - if yyhl4354 { - yyb4354 = yyj4354 > l + var yyj4418 int + var yyb4418 bool + var yyhl4418 bool = l >= 0 + yyj4418++ + if yyhl4418 { + yyb4418 = yyj4418 > l } else { - yyb4354 = r.CheckBreak() + yyb4418 = r.CheckBreak() } - if yyb4354 { + if yyb4418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54234,13 +54922,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj4354++ - if yyhl4354 { - yyb4354 = yyj4354 > l + yyj4418++ + if yyhl4418 { + yyb4418 = yyj4418 > l } else { - yyb4354 = r.CheckBreak() + yyb4418 = r.CheckBreak() } - if yyb4354 { + if yyb4418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54250,13 +54938,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj4354++ - if yyhl4354 { - yyb4354 = yyj4354 > l + yyj4418++ + if yyhl4418 { + yyb4418 = yyj4418 > l } else { - yyb4354 = r.CheckBreak() + yyb4418 = r.CheckBreak() } - if yyb4354 { + if yyb4418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54266,13 +54954,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj4354++ - if yyhl4354 { - yyb4354 = yyj4354 > l + yyj4418++ + if yyhl4418 { + yyb4418 = yyj4418 > l } else { - yyb4354 = r.CheckBreak() + yyb4418 = r.CheckBreak() } - if yyb4354 { + if yyb4418 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54283,17 +54971,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj4354++ - if yyhl4354 { - yyb4354 = yyj4354 > l + yyj4418++ + if yyhl4418 { + yyb4418 = yyj4418 > l } else { - yyb4354 = r.CheckBreak() + yyb4418 = r.CheckBreak() } - if yyb4354 { + if yyb4418 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4354-1, "") + z.DecStructFieldNotFound(yyj4418-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54305,38 +54993,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4359 := z.EncBinary() - _ = yym4359 + yym4423 := z.EncBinary() + _ = yym4423 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4360 := !z.EncBinary() - yy2arr4360 := z.EncBasicHandle().StructToArray - var yyq4360 [4]bool - _, _, _ = yysep4360, yyq4360, yy2arr4360 - const yyr4360 bool = false - yyq4360[0] = x.Kind != "" - yyq4360[1] = x.APIVersion != "" - yyq4360[2] = true - yyq4360[3] = len(x.Conditions) != 0 - var yynn4360 int - if yyr4360 || yy2arr4360 { + 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 { r.EncodeArrayStart(4) } else { - yynn4360 = 0 - for _, b := range yyq4360 { + yynn4424 = 0 + for _, b := range yyq4424 { if b { - yynn4360++ + yynn4424++ } } - r.EncodeMapStart(yynn4360) - yynn4360 = 0 + r.EncodeMapStart(yynn4424) + yynn4424 = 0 } - if yyr4360 || yy2arr4360 { + if yyr4424 || yy2arr4424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4360[0] { - yym4362 := z.EncBinary() - _ = yym4362 + if yyq4424[0] { + yym4426 := z.EncBinary() + _ = yym4426 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54345,23 +55033,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4360[0] { + if yyq4424[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4363 := z.EncBinary() - _ = yym4363 + yym4427 := z.EncBinary() + _ = yym4427 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4360 || yy2arr4360 { + if yyr4424 || yy2arr4424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4360[1] { - yym4365 := z.EncBinary() - _ = yym4365 + if yyq4424[1] { + yym4429 := z.EncBinary() + _ = yym4429 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54370,43 +55058,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4360[1] { + if yyq4424[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4366 := z.EncBinary() - _ = yym4366 + yym4430 := z.EncBinary() + _ = yym4430 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4360 || yy2arr4360 { + if yyr4424 || yy2arr4424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4360[2] { - yy4368 := &x.ObjectMeta - yy4368.CodecEncodeSelf(e) + if yyq4424[2] { + yy4432 := &x.ObjectMeta + yy4432.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4360[2] { + if yyq4424[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4369 := &x.ObjectMeta - yy4369.CodecEncodeSelf(e) + yy4433 := &x.ObjectMeta + yy4433.CodecEncodeSelf(e) } } - if yyr4360 || yy2arr4360 { + if yyr4424 || yy2arr4424 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4360[3] { + if yyq4424[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym4371 := z.EncBinary() - _ = yym4371 + yym4435 := z.EncBinary() + _ = yym4435 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -54416,15 +55104,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4360[3] { + if yyq4424[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym4372 := z.EncBinary() - _ = yym4372 + yym4436 := z.EncBinary() + _ = yym4436 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -54432,7 +55120,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4360 || yy2arr4360 { + if yyr4424 || yy2arr4424 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54445,25 +55133,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4373 := z.DecBinary() - _ = yym4373 + yym4437 := z.DecBinary() + _ = yym4437 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4374 := r.ContainerType() - if yyct4374 == codecSelferValueTypeMap1234 { - yyl4374 := r.ReadMapStart() - if yyl4374 == 0 { + yyct4438 := r.ContainerType() + if yyct4438 == codecSelferValueTypeMap1234 { + yyl4438 := r.ReadMapStart() + if yyl4438 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4374, d) + x.codecDecodeSelfFromMap(yyl4438, d) } - } else if yyct4374 == codecSelferValueTypeArray1234 { - yyl4374 := r.ReadArrayStart() - if yyl4374 == 0 { + } else if yyct4438 == codecSelferValueTypeArray1234 { + yyl4438 := r.ReadArrayStart() + if yyl4438 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4374, d) + x.codecDecodeSelfFromArray(yyl4438, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54475,12 +55163,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4375Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4375Slc - var yyhl4375 bool = l >= 0 - for yyj4375 := 0; ; yyj4375++ { - if yyhl4375 { - if yyj4375 >= l { + var yys4439Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4439Slc + var yyhl4439 bool = l >= 0 + for yyj4439 := 0; ; yyj4439++ { + if yyhl4439 { + if yyj4439 >= l { break } } else { @@ -54489,10 +55177,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4375Slc = r.DecodeBytes(yys4375Slc, true, true) - yys4375 := string(yys4375Slc) + yys4439Slc = r.DecodeBytes(yys4439Slc, true, true) + yys4439 := string(yys4439Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4375 { + switch yys4439 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54509,25 +55197,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4378 := &x.ObjectMeta - yyv4378.CodecDecodeSelf(d) + yyv4442 := &x.ObjectMeta + yyv4442.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4379 := &x.Conditions - yym4380 := z.DecBinary() - _ = yym4380 + yyv4443 := &x.Conditions + yym4444 := z.DecBinary() + _ = yym4444 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4379), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4443), d) } } default: - z.DecStructFieldNotFound(-1, yys4375) - } // end switch yys4375 - } // end for yyj4375 + z.DecStructFieldNotFound(-1, yys4439) + } // end switch yys4439 + } // end for yyj4439 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54535,16 +55223,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4381 int - var yyb4381 bool - var yyhl4381 bool = l >= 0 - yyj4381++ - if yyhl4381 { - yyb4381 = yyj4381 > l + var yyj4445 int + var yyb4445 bool + var yyhl4445 bool = l >= 0 + yyj4445++ + if yyhl4445 { + yyb4445 = yyj4445 > l } else { - yyb4381 = r.CheckBreak() + yyb4445 = r.CheckBreak() } - if yyb4381 { + if yyb4445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54554,13 +55242,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4381++ - if yyhl4381 { - yyb4381 = yyj4381 > l + yyj4445++ + if yyhl4445 { + yyb4445 = yyj4445 > l } else { - yyb4381 = r.CheckBreak() + yyb4445 = r.CheckBreak() } - if yyb4381 { + if yyb4445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54570,13 +55258,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4381++ - if yyhl4381 { - yyb4381 = yyj4381 > l + yyj4445++ + if yyhl4445 { + yyb4445 = yyj4445 > l } else { - yyb4381 = r.CheckBreak() + yyb4445 = r.CheckBreak() } - if yyb4381 { + if yyb4445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54584,16 +55272,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4384 := &x.ObjectMeta - yyv4384.CodecDecodeSelf(d) + yyv4448 := &x.ObjectMeta + yyv4448.CodecDecodeSelf(d) } - yyj4381++ - if yyhl4381 { - yyb4381 = yyj4381 > l + yyj4445++ + if yyhl4445 { + yyb4445 = yyj4445 > l } else { - yyb4381 = r.CheckBreak() + yyb4445 = r.CheckBreak() } - if yyb4381 { + if yyb4445 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54601,26 +55289,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4385 := &x.Conditions - yym4386 := z.DecBinary() - _ = yym4386 + yyv4449 := &x.Conditions + yym4450 := z.DecBinary() + _ = yym4450 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4385), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4449), d) } } for { - yyj4381++ - if yyhl4381 { - yyb4381 = yyj4381 > l + yyj4445++ + if yyhl4445 { + yyb4445 = yyj4445 > l } else { - yyb4381 = r.CheckBreak() + yyb4445 = r.CheckBreak() } - if yyb4381 { + if yyb4445 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4381-1, "") + z.DecStructFieldNotFound(yyj4445-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54632,37 +55320,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4387 := z.EncBinary() - _ = yym4387 + yym4451 := z.EncBinary() + _ = yym4451 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4388 := !z.EncBinary() - yy2arr4388 := z.EncBasicHandle().StructToArray - var yyq4388 [4]bool - _, _, _ = yysep4388, yyq4388, yy2arr4388 - const yyr4388 bool = false - yyq4388[0] = x.Kind != "" - yyq4388[1] = x.APIVersion != "" - yyq4388[2] = true - var yynn4388 int - if yyr4388 || yy2arr4388 { + 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 { r.EncodeArrayStart(4) } else { - yynn4388 = 1 - for _, b := range yyq4388 { + yynn4452 = 1 + for _, b := range yyq4452 { if b { - yynn4388++ + yynn4452++ } } - r.EncodeMapStart(yynn4388) - yynn4388 = 0 + r.EncodeMapStart(yynn4452) + yynn4452 = 0 } - if yyr4388 || yy2arr4388 { + if yyr4452 || yy2arr4452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4388[0] { - yym4390 := z.EncBinary() - _ = yym4390 + if yyq4452[0] { + yym4454 := z.EncBinary() + _ = yym4454 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54671,23 +55359,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4388[0] { + if yyq4452[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4391 := z.EncBinary() - _ = yym4391 + yym4455 := z.EncBinary() + _ = yym4455 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4388 || yy2arr4388 { + if yyr4452 || yy2arr4452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4388[1] { - yym4393 := z.EncBinary() - _ = yym4393 + if yyq4452[1] { + yym4457 := z.EncBinary() + _ = yym4457 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54696,54 +55384,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4388[1] { + if yyq4452[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4394 := z.EncBinary() - _ = yym4394 + yym4458 := z.EncBinary() + _ = yym4458 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4388 || yy2arr4388 { + if yyr4452 || yy2arr4452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4388[2] { - yy4396 := &x.ListMeta - yym4397 := z.EncBinary() - _ = yym4397 + if yyq4452[2] { + yy4460 := &x.ListMeta + yym4461 := z.EncBinary() + _ = yym4461 if false { - } else if z.HasExtensions() && z.EncExt(yy4396) { + } else if z.HasExtensions() && z.EncExt(yy4460) { } else { - z.EncFallback(yy4396) + z.EncFallback(yy4460) } } else { r.EncodeNil() } } else { - if yyq4388[2] { + if yyq4452[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4398 := &x.ListMeta - yym4399 := z.EncBinary() - _ = yym4399 + yy4462 := &x.ListMeta + yym4463 := z.EncBinary() + _ = yym4463 if false { - } else if z.HasExtensions() && z.EncExt(yy4398) { + } else if z.HasExtensions() && z.EncExt(yy4462) { } else { - z.EncFallback(yy4398) + z.EncFallback(yy4462) } } } - if yyr4388 || yy2arr4388 { + if yyr4452 || yy2arr4452 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4401 := z.EncBinary() - _ = yym4401 + yym4465 := z.EncBinary() + _ = yym4465 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -54756,15 +55444,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4402 := z.EncBinary() - _ = yym4402 + yym4466 := z.EncBinary() + _ = yym4466 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr4388 || yy2arr4388 { + if yyr4452 || yy2arr4452 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54777,25 +55465,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4403 := z.DecBinary() - _ = yym4403 + yym4467 := z.DecBinary() + _ = yym4467 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4404 := r.ContainerType() - if yyct4404 == codecSelferValueTypeMap1234 { - yyl4404 := r.ReadMapStart() - if yyl4404 == 0 { + yyct4468 := r.ContainerType() + if yyct4468 == codecSelferValueTypeMap1234 { + yyl4468 := r.ReadMapStart() + if yyl4468 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4404, d) + x.codecDecodeSelfFromMap(yyl4468, d) } - } else if yyct4404 == codecSelferValueTypeArray1234 { - yyl4404 := r.ReadArrayStart() - if yyl4404 == 0 { + } else if yyct4468 == codecSelferValueTypeArray1234 { + yyl4468 := r.ReadArrayStart() + if yyl4468 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4404, d) + x.codecDecodeSelfFromArray(yyl4468, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54807,12 +55495,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4405Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4405Slc - var yyhl4405 bool = l >= 0 - for yyj4405 := 0; ; yyj4405++ { - if yyhl4405 { - if yyj4405 >= l { + var yys4469Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4469Slc + var yyhl4469 bool = l >= 0 + for yyj4469 := 0; ; yyj4469++ { + if yyhl4469 { + if yyj4469 >= l { break } } else { @@ -54821,10 +55509,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4405Slc = r.DecodeBytes(yys4405Slc, true, true) - yys4405 := string(yys4405Slc) + yys4469Slc = r.DecodeBytes(yys4469Slc, true, true) + yys4469 := string(yys4469Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4405 { + switch yys4469 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54841,31 +55529,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4408 := &x.ListMeta - yym4409 := z.DecBinary() - _ = yym4409 + yyv4472 := &x.ListMeta + yym4473 := z.DecBinary() + _ = yym4473 if false { - } else if z.HasExtensions() && z.DecExt(yyv4408) { + } else if z.HasExtensions() && z.DecExt(yyv4472) { } else { - z.DecFallback(yyv4408, false) + z.DecFallback(yyv4472, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4410 := &x.Items - yym4411 := z.DecBinary() - _ = yym4411 + yyv4474 := &x.Items + yym4475 := z.DecBinary() + _ = yym4475 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4410), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4474), d) } } default: - z.DecStructFieldNotFound(-1, yys4405) - } // end switch yys4405 - } // end for yyj4405 + z.DecStructFieldNotFound(-1, yys4469) + } // end switch yys4469 + } // end for yyj4469 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54873,16 +55561,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4412 int - var yyb4412 bool - var yyhl4412 bool = l >= 0 - yyj4412++ - if yyhl4412 { - yyb4412 = yyj4412 > l + var yyj4476 int + var yyb4476 bool + var yyhl4476 bool = l >= 0 + yyj4476++ + if yyhl4476 { + yyb4476 = yyj4476 > l } else { - yyb4412 = r.CheckBreak() + yyb4476 = r.CheckBreak() } - if yyb4412 { + if yyb4476 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54892,13 +55580,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj4412++ - if yyhl4412 { - yyb4412 = yyj4412 > l + yyj4476++ + if yyhl4476 { + yyb4476 = yyj4476 > l } else { - yyb4412 = r.CheckBreak() + yyb4476 = r.CheckBreak() } - if yyb4412 { + if yyb4476 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54908,13 +55596,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj4412++ - if yyhl4412 { - yyb4412 = yyj4412 > l + yyj4476++ + if yyhl4476 { + yyb4476 = yyj4476 > l } else { - yyb4412 = r.CheckBreak() + yyb4476 = r.CheckBreak() } - if yyb4412 { + if yyb4476 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54922,22 +55610,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4415 := &x.ListMeta - yym4416 := z.DecBinary() - _ = yym4416 + yyv4479 := &x.ListMeta + yym4480 := z.DecBinary() + _ = yym4480 if false { - } else if z.HasExtensions() && z.DecExt(yyv4415) { + } else if z.HasExtensions() && z.DecExt(yyv4479) { } else { - z.DecFallback(yyv4415, false) + z.DecFallback(yyv4479, false) } } - yyj4412++ - if yyhl4412 { - yyb4412 = yyj4412 > l + yyj4476++ + if yyhl4476 { + yyb4476 = yyj4476 > l } else { - yyb4412 = r.CheckBreak() + yyb4476 = r.CheckBreak() } - if yyb4412 { + if yyb4476 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54945,26 +55633,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4417 := &x.Items - yym4418 := z.DecBinary() - _ = yym4418 + yyv4481 := &x.Items + yym4482 := z.DecBinary() + _ = yym4482 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4417), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4481), d) } } for { - yyj4412++ - if yyhl4412 { - yyb4412 = yyj4412 > l + yyj4476++ + if yyhl4476 { + yyb4476 = yyj4476 > l } else { - yyb4412 = r.CheckBreak() + yyb4476 = r.CheckBreak() } - if yyb4412 { + if yyb4476 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4412-1, "") + z.DecStructFieldNotFound(yyj4476-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54976,38 +55664,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4419 := z.EncBinary() - _ = yym4419 + yym4483 := z.EncBinary() + _ = yym4483 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4420 := !z.EncBinary() - yy2arr4420 := z.EncBasicHandle().StructToArray - var yyq4420 [6]bool - _, _, _ = yysep4420, yyq4420, yy2arr4420 - const yyr4420 bool = false - yyq4420[0] = x.Capabilities != nil - yyq4420[1] = x.Privileged != nil - yyq4420[2] = x.SELinuxOptions != nil - yyq4420[3] = x.RunAsUser != nil - yyq4420[4] = x.RunAsNonRoot != nil - yyq4420[5] = x.ReadOnlyRootFilesystem != nil - var yynn4420 int - if yyr4420 || yy2arr4420 { + 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 { r.EncodeArrayStart(6) } else { - yynn4420 = 0 - for _, b := range yyq4420 { + yynn4484 = 0 + for _, b := range yyq4484 { if b { - yynn4420++ + yynn4484++ } } - r.EncodeMapStart(yynn4420) - yynn4420 = 0 + r.EncodeMapStart(yynn4484) + yynn4484 = 0 } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[0] { + if yyq4484[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -55017,7 +55705,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4420[0] { + if yyq4484[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55028,44 +55716,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[1] { + if yyq4484[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy4423 := *x.Privileged - yym4424 := z.EncBinary() - _ = yym4424 + yy4487 := *x.Privileged + yym4488 := z.EncBinary() + _ = yym4488 if false { } else { - r.EncodeBool(bool(yy4423)) + r.EncodeBool(bool(yy4487)) } } } else { r.EncodeNil() } } else { - if yyq4420[1] { + if yyq4484[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy4425 := *x.Privileged - yym4426 := z.EncBinary() - _ = yym4426 + yy4489 := *x.Privileged + yym4490 := z.EncBinary() + _ = yym4490 if false { } else { - r.EncodeBool(bool(yy4425)) + r.EncodeBool(bool(yy4489)) } } } } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[2] { + if yyq4484[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -55075,7 +55763,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4420[2] { + if yyq4484[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55086,112 +55774,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[3] { + if yyq4484[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy4429 := *x.RunAsUser - yym4430 := z.EncBinary() - _ = yym4430 + yy4493 := *x.RunAsUser + yym4494 := z.EncBinary() + _ = yym4494 if false { } else { - r.EncodeInt(int64(yy4429)) + r.EncodeInt(int64(yy4493)) } } } else { r.EncodeNil() } } else { - if yyq4420[3] { + if yyq4484[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy4431 := *x.RunAsUser - yym4432 := z.EncBinary() - _ = yym4432 + yy4495 := *x.RunAsUser + yym4496 := z.EncBinary() + _ = yym4496 if false { } else { - r.EncodeInt(int64(yy4431)) + r.EncodeInt(int64(yy4495)) } } } } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[4] { + if yyq4484[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4434 := *x.RunAsNonRoot - yym4435 := z.EncBinary() - _ = yym4435 + yy4498 := *x.RunAsNonRoot + yym4499 := z.EncBinary() + _ = yym4499 if false { } else { - r.EncodeBool(bool(yy4434)) + r.EncodeBool(bool(yy4498)) } } } else { r.EncodeNil() } } else { - if yyq4420[4] { + if yyq4484[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4436 := *x.RunAsNonRoot - yym4437 := z.EncBinary() - _ = yym4437 + yy4500 := *x.RunAsNonRoot + yym4501 := z.EncBinary() + _ = yym4501 if false { } else { - r.EncodeBool(bool(yy4436)) + r.EncodeBool(bool(yy4500)) } } } } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4420[5] { + if yyq4484[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4439 := *x.ReadOnlyRootFilesystem - yym4440 := z.EncBinary() - _ = yym4440 + yy4503 := *x.ReadOnlyRootFilesystem + yym4504 := z.EncBinary() + _ = yym4504 if false { } else { - r.EncodeBool(bool(yy4439)) + r.EncodeBool(bool(yy4503)) } } } else { r.EncodeNil() } } else { - if yyq4420[5] { + if yyq4484[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4441 := *x.ReadOnlyRootFilesystem - yym4442 := z.EncBinary() - _ = yym4442 + yy4505 := *x.ReadOnlyRootFilesystem + yym4506 := z.EncBinary() + _ = yym4506 if false { } else { - r.EncodeBool(bool(yy4441)) + r.EncodeBool(bool(yy4505)) } } } } - if yyr4420 || yy2arr4420 { + if yyr4484 || yy2arr4484 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55204,25 +55892,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4443 := z.DecBinary() - _ = yym4443 + yym4507 := z.DecBinary() + _ = yym4507 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4444 := r.ContainerType() - if yyct4444 == codecSelferValueTypeMap1234 { - yyl4444 := r.ReadMapStart() - if yyl4444 == 0 { + yyct4508 := r.ContainerType() + if yyct4508 == codecSelferValueTypeMap1234 { + yyl4508 := r.ReadMapStart() + if yyl4508 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4444, d) + x.codecDecodeSelfFromMap(yyl4508, d) } - } else if yyct4444 == codecSelferValueTypeArray1234 { - yyl4444 := r.ReadArrayStart() - if yyl4444 == 0 { + } else if yyct4508 == codecSelferValueTypeArray1234 { + yyl4508 := r.ReadArrayStart() + if yyl4508 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4444, d) + x.codecDecodeSelfFromArray(yyl4508, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55234,12 +55922,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4445Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4445Slc - var yyhl4445 bool = l >= 0 - for yyj4445 := 0; ; yyj4445++ { - if yyhl4445 { - if yyj4445 >= l { + var yys4509Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4509Slc + var yyhl4509 bool = l >= 0 + for yyj4509 := 0; ; yyj4509++ { + if yyhl4509 { + if yyj4509 >= l { break } } else { @@ -55248,10 +55936,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4445Slc = r.DecodeBytes(yys4445Slc, true, true) - yys4445 := string(yys4445Slc) + yys4509Slc = r.DecodeBytes(yys4509Slc, true, true) + yys4509 := string(yys4509Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4445 { + switch yys4509 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -55272,8 +55960,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym4448 := z.DecBinary() - _ = yym4448 + yym4512 := z.DecBinary() + _ = yym4512 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -55299,8 +55987,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4451 := z.DecBinary() - _ = yym4451 + yym4515 := z.DecBinary() + _ = yym4515 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -55315,8 +56003,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4453 := z.DecBinary() - _ = yym4453 + yym4517 := z.DecBinary() + _ = yym4517 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -55331,17 +56019,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4455 := z.DecBinary() - _ = yym4455 + yym4519 := z.DecBinary() + _ = yym4519 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys4445) - } // end switch yys4445 - } // end for yyj4445 + z.DecStructFieldNotFound(-1, yys4509) + } // end switch yys4509 + } // end for yyj4509 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55349,16 +56037,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4456 int - var yyb4456 bool - var yyhl4456 bool = l >= 0 - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + var yyj4520 int + var yyb4520 bool + var yyhl4520 bool = l >= 0 + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55373,13 +56061,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55392,20 +56080,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym4459 := z.DecBinary() - _ = yym4459 + yym4523 := z.DecBinary() + _ = yym4523 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55420,13 +56108,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55439,20 +56127,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4462 := z.DecBinary() - _ = yym4462 + yym4526 := z.DecBinary() + _ = yym4526 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55465,20 +56153,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4464 := z.DecBinary() - _ = yym4464 + yym4528 := z.DecBinary() + _ = yym4528 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55491,25 +56179,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4466 := z.DecBinary() - _ = yym4466 + yym4530 := z.DecBinary() + _ = yym4530 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj4456++ - if yyhl4456 { - yyb4456 = yyj4456 > l + yyj4520++ + if yyhl4520 { + yyb4520 = yyj4520 > l } else { - yyb4456 = r.CheckBreak() + yyb4520 = r.CheckBreak() } - if yyb4456 { + if yyb4520 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4456-1, "") + z.DecStructFieldNotFound(yyj4520-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55521,38 +56209,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4467 := z.EncBinary() - _ = yym4467 + yym4531 := z.EncBinary() + _ = yym4531 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4468 := !z.EncBinary() - yy2arr4468 := z.EncBasicHandle().StructToArray - var yyq4468 [4]bool - _, _, _ = yysep4468, yyq4468, yy2arr4468 - const yyr4468 bool = false - yyq4468[0] = x.User != "" - yyq4468[1] = x.Role != "" - yyq4468[2] = x.Type != "" - yyq4468[3] = x.Level != "" - var yynn4468 int - if yyr4468 || yy2arr4468 { + 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 { r.EncodeArrayStart(4) } else { - yynn4468 = 0 - for _, b := range yyq4468 { + yynn4532 = 0 + for _, b := range yyq4532 { if b { - yynn4468++ + yynn4532++ } } - r.EncodeMapStart(yynn4468) - yynn4468 = 0 + r.EncodeMapStart(yynn4532) + yynn4532 = 0 } - if yyr4468 || yy2arr4468 { + if yyr4532 || yy2arr4532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4468[0] { - yym4470 := z.EncBinary() - _ = yym4470 + if yyq4532[0] { + yym4534 := z.EncBinary() + _ = yym4534 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -55561,23 +56249,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4468[0] { + if yyq4532[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4471 := z.EncBinary() - _ = yym4471 + yym4535 := z.EncBinary() + _ = yym4535 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr4468 || yy2arr4468 { + if yyr4532 || yy2arr4532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4468[1] { - yym4473 := z.EncBinary() - _ = yym4473 + if yyq4532[1] { + yym4537 := z.EncBinary() + _ = yym4537 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -55586,23 +56274,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4468[1] { + if yyq4532[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4474 := z.EncBinary() - _ = yym4474 + yym4538 := z.EncBinary() + _ = yym4538 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr4468 || yy2arr4468 { + if yyr4532 || yy2arr4532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4468[2] { - yym4476 := z.EncBinary() - _ = yym4476 + if yyq4532[2] { + yym4540 := z.EncBinary() + _ = yym4540 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -55611,23 +56299,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4468[2] { + if yyq4532[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4477 := z.EncBinary() - _ = yym4477 + yym4541 := z.EncBinary() + _ = yym4541 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr4468 || yy2arr4468 { + if yyr4532 || yy2arr4532 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4468[3] { - yym4479 := z.EncBinary() - _ = yym4479 + if yyq4532[3] { + yym4543 := z.EncBinary() + _ = yym4543 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -55636,19 +56324,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4468[3] { + if yyq4532[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4480 := z.EncBinary() - _ = yym4480 + yym4544 := z.EncBinary() + _ = yym4544 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr4468 || yy2arr4468 { + if yyr4532 || yy2arr4532 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55661,25 +56349,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4481 := z.DecBinary() - _ = yym4481 + yym4545 := z.DecBinary() + _ = yym4545 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4482 := r.ContainerType() - if yyct4482 == codecSelferValueTypeMap1234 { - yyl4482 := r.ReadMapStart() - if yyl4482 == 0 { + yyct4546 := r.ContainerType() + if yyct4546 == codecSelferValueTypeMap1234 { + yyl4546 := r.ReadMapStart() + if yyl4546 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4482, d) + x.codecDecodeSelfFromMap(yyl4546, d) } - } else if yyct4482 == codecSelferValueTypeArray1234 { - yyl4482 := r.ReadArrayStart() - if yyl4482 == 0 { + } else if yyct4546 == codecSelferValueTypeArray1234 { + yyl4546 := r.ReadArrayStart() + if yyl4546 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4482, d) + x.codecDecodeSelfFromArray(yyl4546, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55691,12 +56379,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4483Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4483Slc - var yyhl4483 bool = l >= 0 - for yyj4483 := 0; ; yyj4483++ { - if yyhl4483 { - if yyj4483 >= l { + var yys4547Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4547Slc + var yyhl4547 bool = l >= 0 + for yyj4547 := 0; ; yyj4547++ { + if yyhl4547 { + if yyj4547 >= l { break } } else { @@ -55705,10 +56393,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4483Slc = r.DecodeBytes(yys4483Slc, true, true) - yys4483 := string(yys4483Slc) + yys4547Slc = r.DecodeBytes(yys4547Slc, true, true) + yys4547 := string(yys4547Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4483 { + switch yys4547 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -55734,9 +56422,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4483) - } // end switch yys4483 - } // end for yyj4483 + z.DecStructFieldNotFound(-1, yys4547) + } // end switch yys4547 + } // end for yyj4547 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55744,16 +56432,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4488 int - var yyb4488 bool - var yyhl4488 bool = l >= 0 - yyj4488++ - if yyhl4488 { - yyb4488 = yyj4488 > l + var yyj4552 int + var yyb4552 bool + var yyhl4552 bool = l >= 0 + yyj4552++ + if yyhl4552 { + yyb4552 = yyj4552 > l } else { - yyb4488 = r.CheckBreak() + yyb4552 = r.CheckBreak() } - if yyb4488 { + if yyb4552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55763,13 +56451,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj4488++ - if yyhl4488 { - yyb4488 = yyj4488 > l + yyj4552++ + if yyhl4552 { + yyb4552 = yyj4552 > l } else { - yyb4488 = r.CheckBreak() + yyb4552 = r.CheckBreak() } - if yyb4488 { + if yyb4552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55779,13 +56467,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj4488++ - if yyhl4488 { - yyb4488 = yyj4488 > l + yyj4552++ + if yyhl4552 { + yyb4552 = yyj4552 > l } else { - yyb4488 = r.CheckBreak() + yyb4552 = r.CheckBreak() } - if yyb4488 { + if yyb4552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55795,13 +56483,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj4488++ - if yyhl4488 { - yyb4488 = yyj4488 > l + yyj4552++ + if yyhl4552 { + yyb4552 = yyj4552 > l } else { - yyb4488 = r.CheckBreak() + yyb4552 = r.CheckBreak() } - if yyb4488 { + if yyb4552 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55812,17 +56500,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj4488++ - if yyhl4488 { - yyb4488 = yyj4488 > l + yyj4552++ + if yyhl4552 { + yyb4552 = yyj4552 > l } else { - yyb4488 = r.CheckBreak() + yyb4552 = r.CheckBreak() } - if yyb4488 { + if yyb4552 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4488-1, "") + z.DecStructFieldNotFound(yyj4552-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55834,37 +56522,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4493 := z.EncBinary() - _ = yym4493 + yym4557 := z.EncBinary() + _ = yym4557 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4494 := !z.EncBinary() - yy2arr4494 := z.EncBasicHandle().StructToArray - var yyq4494 [5]bool - _, _, _ = yysep4494, yyq4494, yy2arr4494 - const yyr4494 bool = false - yyq4494[0] = x.Kind != "" - yyq4494[1] = x.APIVersion != "" - yyq4494[2] = true - var yynn4494 int - if yyr4494 || yy2arr4494 { + 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 { r.EncodeArrayStart(5) } else { - yynn4494 = 2 - for _, b := range yyq4494 { + yynn4558 = 2 + for _, b := range yyq4558 { if b { - yynn4494++ + yynn4558++ } } - r.EncodeMapStart(yynn4494) - yynn4494 = 0 + r.EncodeMapStart(yynn4558) + yynn4558 = 0 } - if yyr4494 || yy2arr4494 { + if yyr4558 || yy2arr4558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[0] { - yym4496 := z.EncBinary() - _ = yym4496 + if yyq4558[0] { + yym4560 := z.EncBinary() + _ = yym4560 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -55873,23 +56561,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4494[0] { + if yyq4558[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4497 := z.EncBinary() - _ = yym4497 + yym4561 := z.EncBinary() + _ = yym4561 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4494 || yy2arr4494 { + if yyr4558 || yy2arr4558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[1] { - yym4499 := z.EncBinary() - _ = yym4499 + if yyq4558[1] { + yym4563 := z.EncBinary() + _ = yym4563 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -55898,39 +56586,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4494[1] { + if yyq4558[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4500 := z.EncBinary() - _ = yym4500 + yym4564 := z.EncBinary() + _ = yym4564 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4494 || yy2arr4494 { + if yyr4558 || yy2arr4558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4494[2] { - yy4502 := &x.ObjectMeta - yy4502.CodecEncodeSelf(e) + if yyq4558[2] { + yy4566 := &x.ObjectMeta + yy4566.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4494[2] { + if yyq4558[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4503 := &x.ObjectMeta - yy4503.CodecEncodeSelf(e) + yy4567 := &x.ObjectMeta + yy4567.CodecEncodeSelf(e) } } - if yyr4494 || yy2arr4494 { + if yyr4558 || yy2arr4558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4505 := z.EncBinary() - _ = yym4505 + yym4569 := z.EncBinary() + _ = yym4569 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -55939,20 +56627,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4506 := z.EncBinary() - _ = yym4506 + yym4570 := z.EncBinary() + _ = yym4570 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr4494 || yy2arr4494 { + if yyr4558 || yy2arr4558 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym4508 := z.EncBinary() - _ = yym4508 + yym4572 := z.EncBinary() + _ = yym4572 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -55965,15 +56653,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym4509 := z.EncBinary() - _ = yym4509 + yym4573 := z.EncBinary() + _ = yym4573 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr4494 || yy2arr4494 { + if yyr4558 || yy2arr4558 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55986,25 +56674,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4510 := z.DecBinary() - _ = yym4510 + yym4574 := z.DecBinary() + _ = yym4574 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4511 := r.ContainerType() - if yyct4511 == codecSelferValueTypeMap1234 { - yyl4511 := r.ReadMapStart() - if yyl4511 == 0 { + yyct4575 := r.ContainerType() + if yyct4575 == codecSelferValueTypeMap1234 { + yyl4575 := r.ReadMapStart() + if yyl4575 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4511, d) + x.codecDecodeSelfFromMap(yyl4575, d) } - } else if yyct4511 == codecSelferValueTypeArray1234 { - yyl4511 := r.ReadArrayStart() - if yyl4511 == 0 { + } else if yyct4575 == codecSelferValueTypeArray1234 { + yyl4575 := r.ReadArrayStart() + if yyl4575 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4511, d) + x.codecDecodeSelfFromArray(yyl4575, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56016,12 +56704,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4512Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4512Slc - var yyhl4512 bool = l >= 0 - for yyj4512 := 0; ; yyj4512++ { - if yyhl4512 { - if yyj4512 >= l { + var yys4576Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4576Slc + var yyhl4576 bool = l >= 0 + for yyj4576 := 0; ; yyj4576++ { + if yyhl4576 { + if yyj4576 >= l { break } } else { @@ -56030,10 +56718,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4512Slc = r.DecodeBytes(yys4512Slc, true, true) - yys4512 := string(yys4512Slc) + yys4576Slc = r.DecodeBytes(yys4576Slc, true, true) + yys4576 := string(yys4576Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4512 { + switch yys4576 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -56050,8 +56738,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4515 := &x.ObjectMeta - yyv4515.CodecDecodeSelf(d) + yyv4579 := &x.ObjectMeta + yyv4579.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -56063,18 +56751,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4517 := &x.Data - yym4518 := z.DecBinary() - _ = yym4518 + yyv4581 := &x.Data + yym4582 := z.DecBinary() + _ = yym4582 if false { } else { - *yyv4517 = r.DecodeBytes(*(*[]byte)(yyv4517), false, false) + *yyv4581 = r.DecodeBytes(*(*[]byte)(yyv4581), false, false) } } default: - z.DecStructFieldNotFound(-1, yys4512) - } // end switch yys4512 - } // end for yyj4512 + z.DecStructFieldNotFound(-1, yys4576) + } // end switch yys4576 + } // end for yyj4576 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56082,16 +56770,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4519 int - var yyb4519 bool - var yyhl4519 bool = l >= 0 - yyj4519++ - if yyhl4519 { - yyb4519 = yyj4519 > l + var yyj4583 int + var yyb4583 bool + var yyhl4583 bool = l >= 0 + yyj4583++ + if yyhl4583 { + yyb4583 = yyj4583 > l } else { - yyb4519 = r.CheckBreak() + yyb4583 = r.CheckBreak() } - if yyb4519 { + if yyb4583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56101,13 +56789,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4519++ - if yyhl4519 { - yyb4519 = yyj4519 > l + yyj4583++ + if yyhl4583 { + yyb4583 = yyj4583 > l } else { - yyb4519 = r.CheckBreak() + yyb4583 = r.CheckBreak() } - if yyb4519 { + if yyb4583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56117,13 +56805,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4519++ - if yyhl4519 { - yyb4519 = yyj4519 > l + yyj4583++ + if yyhl4583 { + yyb4583 = yyj4583 > l } else { - yyb4519 = r.CheckBreak() + yyb4583 = r.CheckBreak() } - if yyb4519 { + if yyb4583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56131,16 +56819,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4522 := &x.ObjectMeta - yyv4522.CodecDecodeSelf(d) + yyv4586 := &x.ObjectMeta + yyv4586.CodecDecodeSelf(d) } - yyj4519++ - if yyhl4519 { - yyb4519 = yyj4519 > l + yyj4583++ + if yyhl4583 { + yyb4583 = yyj4583 > l } else { - yyb4519 = r.CheckBreak() + yyb4583 = r.CheckBreak() } - if yyb4519 { + if yyb4583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56150,13 +56838,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj4519++ - if yyhl4519 { - yyb4519 = yyj4519 > l + yyj4583++ + if yyhl4583 { + yyb4583 = yyj4583 > l } else { - yyb4519 = r.CheckBreak() + yyb4583 = r.CheckBreak() } - if yyb4519 { + if yyb4583 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56164,1289 +56852,31 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4524 := &x.Data - yym4525 := z.DecBinary() - _ = yym4525 + yyv4588 := &x.Data + yym4589 := z.DecBinary() + _ = yym4589 if false { } else { - *yyv4524 = r.DecodeBytes(*(*[]byte)(yyv4524), false, false) + *yyv4588 = r.DecodeBytes(*(*[]byte)(yyv4588), false, false) } } for { - yyj4519++ - if yyhl4519 { - yyb4519 = yyj4519 > l + yyj4583++ + if yyhl4583 { + yyb4583 = yyj4583 > l } else { - yyb4519 = r.CheckBreak() + yyb4583 = r.CheckBreak() } - if yyb4519 { + if yyb4583 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4519-1, "") + z.DecStructFieldNotFound(yyj4583-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceOwnerReference(v []OwnerReference, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4526 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4527 := &yyv4526 - yy4527.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4528 := *v - yyh4528, yyl4528 := z.DecSliceHelperStart() - var yyc4528 bool - if yyl4528 == 0 { - if yyv4528 == nil { - yyv4528 = []OwnerReference{} - yyc4528 = true - } else if len(yyv4528) != 0 { - yyv4528 = yyv4528[:0] - yyc4528 = true - } - } else if yyl4528 > 0 { - var yyrr4528, yyrl4528 int - var yyrt4528 bool - if yyl4528 > cap(yyv4528) { - - yyrg4528 := len(yyv4528) > 0 - yyv24528 := yyv4528 - yyrl4528, yyrt4528 = z.DecInferLen(yyl4528, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4528 { - if yyrl4528 <= cap(yyv4528) { - yyv4528 = yyv4528[:yyrl4528] - } else { - yyv4528 = make([]OwnerReference, yyrl4528) - } - } else { - yyv4528 = make([]OwnerReference, yyrl4528) - } - yyc4528 = true - yyrr4528 = len(yyv4528) - if yyrg4528 { - copy(yyv4528, yyv24528) - } - } else if yyl4528 != len(yyv4528) { - yyv4528 = yyv4528[:yyl4528] - yyc4528 = true - } - yyj4528 := 0 - for ; yyj4528 < yyrr4528; yyj4528++ { - yyh4528.ElemContainerState(yyj4528) - if r.TryDecodeAsNil() { - yyv4528[yyj4528] = OwnerReference{} - } else { - yyv4529 := &yyv4528[yyj4528] - yyv4529.CodecDecodeSelf(d) - } - - } - if yyrt4528 { - for ; yyj4528 < yyl4528; yyj4528++ { - yyv4528 = append(yyv4528, OwnerReference{}) - yyh4528.ElemContainerState(yyj4528) - if r.TryDecodeAsNil() { - yyv4528[yyj4528] = OwnerReference{} - } else { - yyv4530 := &yyv4528[yyj4528] - yyv4530.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4528 := 0 - for ; !r.CheckBreak(); yyj4528++ { - - if yyj4528 >= len(yyv4528) { - yyv4528 = append(yyv4528, OwnerReference{}) // var yyz4528 OwnerReference - yyc4528 = true - } - yyh4528.ElemContainerState(yyj4528) - if yyj4528 < len(yyv4528) { - if r.TryDecodeAsNil() { - yyv4528[yyj4528] = OwnerReference{} - } else { - yyv4531 := &yyv4528[yyj4528] - yyv4531.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4528 < len(yyv4528) { - yyv4528 = yyv4528[:yyj4528] - yyc4528 = true - } else if yyj4528 == 0 && yyv4528 == nil { - yyv4528 = []OwnerReference{} - yyc4528 = true - } - } - yyh4528.End() - if yyc4528 { - *v = yyv4528 - } -} - -func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolumeAccessMode, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4532 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4532.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolumeAccessMode, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4533 := *v - yyh4533, yyl4533 := z.DecSliceHelperStart() - var yyc4533 bool - if yyl4533 == 0 { - if yyv4533 == nil { - yyv4533 = []PersistentVolumeAccessMode{} - yyc4533 = true - } else if len(yyv4533) != 0 { - yyv4533 = yyv4533[:0] - yyc4533 = true - } - } else if yyl4533 > 0 { - var yyrr4533, yyrl4533 int - var yyrt4533 bool - if yyl4533 > cap(yyv4533) { - - yyrl4533, yyrt4533 = z.DecInferLen(yyl4533, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4533 { - if yyrl4533 <= cap(yyv4533) { - yyv4533 = yyv4533[:yyrl4533] - } else { - yyv4533 = make([]PersistentVolumeAccessMode, yyrl4533) - } - } else { - yyv4533 = make([]PersistentVolumeAccessMode, yyrl4533) - } - yyc4533 = true - yyrr4533 = len(yyv4533) - } else if yyl4533 != len(yyv4533) { - yyv4533 = yyv4533[:yyl4533] - yyc4533 = true - } - yyj4533 := 0 - for ; yyj4533 < yyrr4533; yyj4533++ { - yyh4533.ElemContainerState(yyj4533) - if r.TryDecodeAsNil() { - yyv4533[yyj4533] = "" - } else { - yyv4533[yyj4533] = PersistentVolumeAccessMode(r.DecodeString()) - } - - } - if yyrt4533 { - for ; yyj4533 < yyl4533; yyj4533++ { - yyv4533 = append(yyv4533, "") - yyh4533.ElemContainerState(yyj4533) - if r.TryDecodeAsNil() { - yyv4533[yyj4533] = "" - } else { - yyv4533[yyj4533] = PersistentVolumeAccessMode(r.DecodeString()) - } - - } - } - - } else { - yyj4533 := 0 - for ; !r.CheckBreak(); yyj4533++ { - - if yyj4533 >= len(yyv4533) { - yyv4533 = append(yyv4533, "") // var yyz4533 PersistentVolumeAccessMode - yyc4533 = true - } - yyh4533.ElemContainerState(yyj4533) - if yyj4533 < len(yyv4533) { - if r.TryDecodeAsNil() { - yyv4533[yyj4533] = "" - } else { - yyv4533[yyj4533] = PersistentVolumeAccessMode(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj4533 < len(yyv4533) { - yyv4533 = yyv4533[:yyj4533] - yyc4533 = true - } else if yyj4533 == 0 && yyv4533 == nil { - yyv4533 = []PersistentVolumeAccessMode{} - yyc4533 = true - } - } - yyh4533.End() - if yyc4533 { - *v = yyv4533 - } -} - -func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4537 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4538 := &yyv4537 - yy4538.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4539 := *v - yyh4539, yyl4539 := z.DecSliceHelperStart() - var yyc4539 bool - if yyl4539 == 0 { - if yyv4539 == nil { - yyv4539 = []PersistentVolume{} - yyc4539 = true - } else if len(yyv4539) != 0 { - yyv4539 = yyv4539[:0] - yyc4539 = true - } - } else if yyl4539 > 0 { - var yyrr4539, yyrl4539 int - var yyrt4539 bool - if yyl4539 > cap(yyv4539) { - - yyrg4539 := len(yyv4539) > 0 - yyv24539 := yyv4539 - yyrl4539, yyrt4539 = z.DecInferLen(yyl4539, z.DecBasicHandle().MaxInitLen, 488) - if yyrt4539 { - if yyrl4539 <= cap(yyv4539) { - yyv4539 = yyv4539[:yyrl4539] - } else { - yyv4539 = make([]PersistentVolume, yyrl4539) - } - } else { - yyv4539 = make([]PersistentVolume, yyrl4539) - } - yyc4539 = true - yyrr4539 = len(yyv4539) - if yyrg4539 { - copy(yyv4539, yyv24539) - } - } else if yyl4539 != len(yyv4539) { - yyv4539 = yyv4539[:yyl4539] - yyc4539 = true - } - yyj4539 := 0 - for ; yyj4539 < yyrr4539; yyj4539++ { - yyh4539.ElemContainerState(yyj4539) - if r.TryDecodeAsNil() { - yyv4539[yyj4539] = PersistentVolume{} - } else { - yyv4540 := &yyv4539[yyj4539] - yyv4540.CodecDecodeSelf(d) - } - - } - if yyrt4539 { - for ; yyj4539 < yyl4539; yyj4539++ { - yyv4539 = append(yyv4539, PersistentVolume{}) - yyh4539.ElemContainerState(yyj4539) - if r.TryDecodeAsNil() { - yyv4539[yyj4539] = PersistentVolume{} - } else { - yyv4541 := &yyv4539[yyj4539] - yyv4541.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4539 := 0 - for ; !r.CheckBreak(); yyj4539++ { - - if yyj4539 >= len(yyv4539) { - yyv4539 = append(yyv4539, PersistentVolume{}) // var yyz4539 PersistentVolume - yyc4539 = true - } - yyh4539.ElemContainerState(yyj4539) - if yyj4539 < len(yyv4539) { - if r.TryDecodeAsNil() { - yyv4539[yyj4539] = PersistentVolume{} - } else { - yyv4542 := &yyv4539[yyj4539] - yyv4542.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4539 < len(yyv4539) { - yyv4539 = yyv4539[:yyj4539] - yyc4539 = true - } else if yyj4539 == 0 && yyv4539 == nil { - yyv4539 = []PersistentVolume{} - yyc4539 = true - } - } - yyh4539.End() - if yyc4539 { - *v = yyv4539 - } -} - -func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4543 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4544 := &yyv4543 - yy4544.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClaim, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4545 := *v - yyh4545, yyl4545 := z.DecSliceHelperStart() - var yyc4545 bool - if yyl4545 == 0 { - if yyv4545 == nil { - yyv4545 = []PersistentVolumeClaim{} - yyc4545 = true - } else if len(yyv4545) != 0 { - yyv4545 = yyv4545[:0] - yyc4545 = true - } - } else if yyl4545 > 0 { - var yyrr4545, yyrl4545 int - var yyrt4545 bool - if yyl4545 > cap(yyv4545) { - - yyrg4545 := len(yyv4545) > 0 - yyv24545 := yyv4545 - yyrl4545, yyrt4545 = z.DecInferLen(yyl4545, z.DecBasicHandle().MaxInitLen, 368) - if yyrt4545 { - if yyrl4545 <= cap(yyv4545) { - yyv4545 = yyv4545[:yyrl4545] - } else { - yyv4545 = make([]PersistentVolumeClaim, yyrl4545) - } - } else { - yyv4545 = make([]PersistentVolumeClaim, yyrl4545) - } - yyc4545 = true - yyrr4545 = len(yyv4545) - if yyrg4545 { - copy(yyv4545, yyv24545) - } - } else if yyl4545 != len(yyv4545) { - yyv4545 = yyv4545[:yyl4545] - yyc4545 = true - } - yyj4545 := 0 - for ; yyj4545 < yyrr4545; yyj4545++ { - yyh4545.ElemContainerState(yyj4545) - if r.TryDecodeAsNil() { - yyv4545[yyj4545] = PersistentVolumeClaim{} - } else { - yyv4546 := &yyv4545[yyj4545] - yyv4546.CodecDecodeSelf(d) - } - - } - if yyrt4545 { - for ; yyj4545 < yyl4545; yyj4545++ { - yyv4545 = append(yyv4545, PersistentVolumeClaim{}) - yyh4545.ElemContainerState(yyj4545) - if r.TryDecodeAsNil() { - yyv4545[yyj4545] = PersistentVolumeClaim{} - } else { - yyv4547 := &yyv4545[yyj4545] - yyv4547.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4545 := 0 - for ; !r.CheckBreak(); yyj4545++ { - - if yyj4545 >= len(yyv4545) { - yyv4545 = append(yyv4545, PersistentVolumeClaim{}) // var yyz4545 PersistentVolumeClaim - yyc4545 = true - } - yyh4545.ElemContainerState(yyj4545) - if yyj4545 < len(yyv4545) { - if r.TryDecodeAsNil() { - yyv4545[yyj4545] = PersistentVolumeClaim{} - } else { - yyv4548 := &yyv4545[yyj4545] - yyv4548.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4545 < len(yyv4545) { - yyv4545 = yyv4545[:yyj4545] - yyc4545 = true - } else if yyj4545 == 0 && yyv4545 == nil { - yyv4545 = []PersistentVolumeClaim{} - yyc4545 = true - } - } - yyh4545.End() - if yyc4545 { - *v = yyv4545 - } -} - -func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4549 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4550 := &yyv4549 - yy4550.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4551 := *v - yyh4551, yyl4551 := z.DecSliceHelperStart() - var yyc4551 bool - if yyl4551 == 0 { - if yyv4551 == nil { - yyv4551 = []KeyToPath{} - yyc4551 = true - } else if len(yyv4551) != 0 { - yyv4551 = yyv4551[:0] - yyc4551 = true - } - } else if yyl4551 > 0 { - var yyrr4551, yyrl4551 int - var yyrt4551 bool - if yyl4551 > cap(yyv4551) { - - yyrg4551 := len(yyv4551) > 0 - yyv24551 := yyv4551 - yyrl4551, yyrt4551 = z.DecInferLen(yyl4551, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4551 { - if yyrl4551 <= cap(yyv4551) { - yyv4551 = yyv4551[:yyrl4551] - } else { - yyv4551 = make([]KeyToPath, yyrl4551) - } - } else { - yyv4551 = make([]KeyToPath, yyrl4551) - } - yyc4551 = true - yyrr4551 = len(yyv4551) - if yyrg4551 { - copy(yyv4551, yyv24551) - } - } else if yyl4551 != len(yyv4551) { - yyv4551 = yyv4551[:yyl4551] - yyc4551 = true - } - yyj4551 := 0 - for ; yyj4551 < yyrr4551; yyj4551++ { - yyh4551.ElemContainerState(yyj4551) - if r.TryDecodeAsNil() { - yyv4551[yyj4551] = KeyToPath{} - } else { - yyv4552 := &yyv4551[yyj4551] - yyv4552.CodecDecodeSelf(d) - } - - } - if yyrt4551 { - for ; yyj4551 < yyl4551; yyj4551++ { - yyv4551 = append(yyv4551, KeyToPath{}) - yyh4551.ElemContainerState(yyj4551) - if r.TryDecodeAsNil() { - yyv4551[yyj4551] = KeyToPath{} - } else { - yyv4553 := &yyv4551[yyj4551] - yyv4553.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4551 := 0 - for ; !r.CheckBreak(); yyj4551++ { - - if yyj4551 >= len(yyv4551) { - yyv4551 = append(yyv4551, KeyToPath{}) // var yyz4551 KeyToPath - yyc4551 = true - } - yyh4551.ElemContainerState(yyj4551) - if yyj4551 < len(yyv4551) { - if r.TryDecodeAsNil() { - yyv4551[yyj4551] = KeyToPath{} - } else { - yyv4554 := &yyv4551[yyj4551] - yyv4554.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4551 < len(yyv4551) { - yyv4551 = yyv4551[:yyj4551] - yyc4551 = true - } else if yyj4551 == 0 && yyv4551 == nil { - yyv4551 = []KeyToPath{} - yyc4551 = true - } - } - yyh4551.End() - if yyc4551 { - *v = yyv4551 - } -} - -func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4555 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4556 := &yyv4555 - yy4556.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFile, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4557 := *v - yyh4557, yyl4557 := z.DecSliceHelperStart() - var yyc4557 bool - if yyl4557 == 0 { - if yyv4557 == nil { - yyv4557 = []DownwardAPIVolumeFile{} - yyc4557 = true - } else if len(yyv4557) != 0 { - yyv4557 = yyv4557[:0] - yyc4557 = true - } - } else if yyl4557 > 0 { - var yyrr4557, yyrl4557 int - var yyrt4557 bool - if yyl4557 > cap(yyv4557) { - - yyrg4557 := len(yyv4557) > 0 - yyv24557 := yyv4557 - yyrl4557, yyrt4557 = z.DecInferLen(yyl4557, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4557 { - if yyrl4557 <= cap(yyv4557) { - yyv4557 = yyv4557[:yyrl4557] - } else { - yyv4557 = make([]DownwardAPIVolumeFile, yyrl4557) - } - } else { - yyv4557 = make([]DownwardAPIVolumeFile, yyrl4557) - } - yyc4557 = true - yyrr4557 = len(yyv4557) - if yyrg4557 { - copy(yyv4557, yyv24557) - } - } else if yyl4557 != len(yyv4557) { - yyv4557 = yyv4557[:yyl4557] - yyc4557 = true - } - yyj4557 := 0 - for ; yyj4557 < yyrr4557; yyj4557++ { - yyh4557.ElemContainerState(yyj4557) - if r.TryDecodeAsNil() { - yyv4557[yyj4557] = DownwardAPIVolumeFile{} - } else { - yyv4558 := &yyv4557[yyj4557] - yyv4558.CodecDecodeSelf(d) - } - - } - if yyrt4557 { - for ; yyj4557 < yyl4557; yyj4557++ { - yyv4557 = append(yyv4557, DownwardAPIVolumeFile{}) - yyh4557.ElemContainerState(yyj4557) - if r.TryDecodeAsNil() { - yyv4557[yyj4557] = DownwardAPIVolumeFile{} - } else { - yyv4559 := &yyv4557[yyj4557] - yyv4559.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4557 := 0 - for ; !r.CheckBreak(); yyj4557++ { - - if yyj4557 >= len(yyv4557) { - yyv4557 = append(yyv4557, DownwardAPIVolumeFile{}) // var yyz4557 DownwardAPIVolumeFile - yyc4557 = true - } - yyh4557.ElemContainerState(yyj4557) - if yyj4557 < len(yyv4557) { - if r.TryDecodeAsNil() { - yyv4557[yyj4557] = DownwardAPIVolumeFile{} - } else { - yyv4560 := &yyv4557[yyj4557] - yyv4560.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4557 < len(yyv4557) { - yyv4557 = yyv4557[:yyj4557] - yyc4557 = true - } else if yyj4557 == 0 && yyv4557 == nil { - yyv4557 = []DownwardAPIVolumeFile{} - yyc4557 = true - } - } - yyh4557.End() - if yyc4557 { - *v = yyv4557 - } -} - -func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4561 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4562 := &yyv4561 - yy4562.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4563 := *v - yyh4563, yyl4563 := z.DecSliceHelperStart() - var yyc4563 bool - if yyl4563 == 0 { - if yyv4563 == nil { - yyv4563 = []HTTPHeader{} - yyc4563 = true - } else if len(yyv4563) != 0 { - yyv4563 = yyv4563[:0] - yyc4563 = true - } - } else if yyl4563 > 0 { - var yyrr4563, yyrl4563 int - var yyrt4563 bool - if yyl4563 > cap(yyv4563) { - - yyrg4563 := len(yyv4563) > 0 - yyv24563 := yyv4563 - yyrl4563, yyrt4563 = z.DecInferLen(yyl4563, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4563 { - if yyrl4563 <= cap(yyv4563) { - yyv4563 = yyv4563[:yyrl4563] - } else { - yyv4563 = make([]HTTPHeader, yyrl4563) - } - } else { - yyv4563 = make([]HTTPHeader, yyrl4563) - } - yyc4563 = true - yyrr4563 = len(yyv4563) - if yyrg4563 { - copy(yyv4563, yyv24563) - } - } else if yyl4563 != len(yyv4563) { - yyv4563 = yyv4563[:yyl4563] - yyc4563 = true - } - yyj4563 := 0 - for ; yyj4563 < yyrr4563; yyj4563++ { - yyh4563.ElemContainerState(yyj4563) - if r.TryDecodeAsNil() { - yyv4563[yyj4563] = HTTPHeader{} - } else { - yyv4564 := &yyv4563[yyj4563] - yyv4564.CodecDecodeSelf(d) - } - - } - if yyrt4563 { - for ; yyj4563 < yyl4563; yyj4563++ { - yyv4563 = append(yyv4563, HTTPHeader{}) - yyh4563.ElemContainerState(yyj4563) - if r.TryDecodeAsNil() { - yyv4563[yyj4563] = HTTPHeader{} - } else { - yyv4565 := &yyv4563[yyj4563] - yyv4565.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4563 := 0 - for ; !r.CheckBreak(); yyj4563++ { - - if yyj4563 >= len(yyv4563) { - yyv4563 = append(yyv4563, HTTPHeader{}) // var yyz4563 HTTPHeader - yyc4563 = true - } - yyh4563.ElemContainerState(yyj4563) - if yyj4563 < len(yyv4563) { - if r.TryDecodeAsNil() { - yyv4563[yyj4563] = HTTPHeader{} - } else { - yyv4566 := &yyv4563[yyj4563] - yyv4566.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4563 < len(yyv4563) { - yyv4563 = yyv4563[:yyj4563] - yyc4563 = true - } else if yyj4563 == 0 && yyv4563 == nil { - yyv4563 = []HTTPHeader{} - yyc4563 = true - } - } - yyh4563.End() - if yyc4563 { - *v = yyv4563 - } -} - -func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4567 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4567.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4568 := *v - yyh4568, yyl4568 := z.DecSliceHelperStart() - var yyc4568 bool - if yyl4568 == 0 { - if yyv4568 == nil { - yyv4568 = []Capability{} - yyc4568 = true - } else if len(yyv4568) != 0 { - yyv4568 = yyv4568[:0] - yyc4568 = true - } - } else if yyl4568 > 0 { - var yyrr4568, yyrl4568 int - var yyrt4568 bool - if yyl4568 > cap(yyv4568) { - - yyrl4568, yyrt4568 = z.DecInferLen(yyl4568, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4568 { - if yyrl4568 <= cap(yyv4568) { - yyv4568 = yyv4568[:yyrl4568] - } else { - yyv4568 = make([]Capability, yyrl4568) - } - } else { - yyv4568 = make([]Capability, yyrl4568) - } - yyc4568 = true - yyrr4568 = len(yyv4568) - } else if yyl4568 != len(yyv4568) { - yyv4568 = yyv4568[:yyl4568] - yyc4568 = true - } - yyj4568 := 0 - for ; yyj4568 < yyrr4568; yyj4568++ { - yyh4568.ElemContainerState(yyj4568) - if r.TryDecodeAsNil() { - yyv4568[yyj4568] = "" - } else { - yyv4568[yyj4568] = Capability(r.DecodeString()) - } - - } - if yyrt4568 { - for ; yyj4568 < yyl4568; yyj4568++ { - yyv4568 = append(yyv4568, "") - yyh4568.ElemContainerState(yyj4568) - if r.TryDecodeAsNil() { - yyv4568[yyj4568] = "" - } else { - yyv4568[yyj4568] = Capability(r.DecodeString()) - } - - } - } - - } else { - yyj4568 := 0 - for ; !r.CheckBreak(); yyj4568++ { - - if yyj4568 >= len(yyv4568) { - yyv4568 = append(yyv4568, "") // var yyz4568 Capability - yyc4568 = true - } - yyh4568.ElemContainerState(yyj4568) - if yyj4568 < len(yyv4568) { - if r.TryDecodeAsNil() { - yyv4568[yyj4568] = "" - } else { - yyv4568[yyj4568] = Capability(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj4568 < len(yyv4568) { - yyv4568 = yyv4568[:yyj4568] - yyc4568 = true - } else if yyj4568 == 0 && yyv4568 == nil { - yyv4568 = []Capability{} - yyc4568 = true - } - } - yyh4568.End() - if yyc4568 { - *v = yyv4568 - } -} - -func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4572 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4573 := &yyv4572 - yy4573.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4574 := *v - yyh4574, yyl4574 := z.DecSliceHelperStart() - var yyc4574 bool - if yyl4574 == 0 { - if yyv4574 == nil { - yyv4574 = []ContainerPort{} - yyc4574 = true - } else if len(yyv4574) != 0 { - yyv4574 = yyv4574[:0] - yyc4574 = true - } - } else if yyl4574 > 0 { - var yyrr4574, yyrl4574 int - var yyrt4574 bool - if yyl4574 > cap(yyv4574) { - - yyrg4574 := len(yyv4574) > 0 - yyv24574 := yyv4574 - yyrl4574, yyrt4574 = z.DecInferLen(yyl4574, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4574 { - if yyrl4574 <= cap(yyv4574) { - yyv4574 = yyv4574[:yyrl4574] - } else { - yyv4574 = make([]ContainerPort, yyrl4574) - } - } else { - yyv4574 = make([]ContainerPort, yyrl4574) - } - yyc4574 = true - yyrr4574 = len(yyv4574) - if yyrg4574 { - copy(yyv4574, yyv24574) - } - } else if yyl4574 != len(yyv4574) { - yyv4574 = yyv4574[:yyl4574] - yyc4574 = true - } - yyj4574 := 0 - for ; yyj4574 < yyrr4574; yyj4574++ { - yyh4574.ElemContainerState(yyj4574) - if r.TryDecodeAsNil() { - yyv4574[yyj4574] = ContainerPort{} - } else { - yyv4575 := &yyv4574[yyj4574] - yyv4575.CodecDecodeSelf(d) - } - - } - if yyrt4574 { - for ; yyj4574 < yyl4574; yyj4574++ { - yyv4574 = append(yyv4574, ContainerPort{}) - yyh4574.ElemContainerState(yyj4574) - if r.TryDecodeAsNil() { - yyv4574[yyj4574] = ContainerPort{} - } else { - yyv4576 := &yyv4574[yyj4574] - yyv4576.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4574 := 0 - for ; !r.CheckBreak(); yyj4574++ { - - if yyj4574 >= len(yyv4574) { - yyv4574 = append(yyv4574, ContainerPort{}) // var yyz4574 ContainerPort - yyc4574 = true - } - yyh4574.ElemContainerState(yyj4574) - if yyj4574 < len(yyv4574) { - if r.TryDecodeAsNil() { - yyv4574[yyj4574] = ContainerPort{} - } else { - yyv4577 := &yyv4574[yyj4574] - yyv4577.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4574 < len(yyv4574) { - yyv4574 = yyv4574[:yyj4574] - yyc4574 = true - } else if yyj4574 == 0 && yyv4574 == nil { - yyv4574 = []ContainerPort{} - yyc4574 = true - } - } - yyh4574.End() - if yyc4574 { - *v = yyv4574 - } -} - -func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4578 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4579 := &yyv4578 - yy4579.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4580 := *v - yyh4580, yyl4580 := z.DecSliceHelperStart() - var yyc4580 bool - if yyl4580 == 0 { - if yyv4580 == nil { - yyv4580 = []EnvVar{} - yyc4580 = true - } else if len(yyv4580) != 0 { - yyv4580 = yyv4580[:0] - yyc4580 = true - } - } else if yyl4580 > 0 { - var yyrr4580, yyrl4580 int - var yyrt4580 bool - if yyl4580 > cap(yyv4580) { - - yyrg4580 := len(yyv4580) > 0 - yyv24580 := yyv4580 - yyrl4580, yyrt4580 = z.DecInferLen(yyl4580, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4580 { - if yyrl4580 <= cap(yyv4580) { - yyv4580 = yyv4580[:yyrl4580] - } else { - yyv4580 = make([]EnvVar, yyrl4580) - } - } else { - yyv4580 = make([]EnvVar, yyrl4580) - } - yyc4580 = true - yyrr4580 = len(yyv4580) - if yyrg4580 { - copy(yyv4580, yyv24580) - } - } else if yyl4580 != len(yyv4580) { - yyv4580 = yyv4580[:yyl4580] - yyc4580 = true - } - yyj4580 := 0 - for ; yyj4580 < yyrr4580; yyj4580++ { - yyh4580.ElemContainerState(yyj4580) - if r.TryDecodeAsNil() { - yyv4580[yyj4580] = EnvVar{} - } else { - yyv4581 := &yyv4580[yyj4580] - yyv4581.CodecDecodeSelf(d) - } - - } - if yyrt4580 { - for ; yyj4580 < yyl4580; yyj4580++ { - yyv4580 = append(yyv4580, EnvVar{}) - yyh4580.ElemContainerState(yyj4580) - if r.TryDecodeAsNil() { - yyv4580[yyj4580] = EnvVar{} - } else { - yyv4582 := &yyv4580[yyj4580] - yyv4582.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4580 := 0 - for ; !r.CheckBreak(); yyj4580++ { - - if yyj4580 >= len(yyv4580) { - yyv4580 = append(yyv4580, EnvVar{}) // var yyz4580 EnvVar - yyc4580 = true - } - yyh4580.ElemContainerState(yyj4580) - if yyj4580 < len(yyv4580) { - if r.TryDecodeAsNil() { - yyv4580[yyj4580] = EnvVar{} - } else { - yyv4583 := &yyv4580[yyj4580] - yyv4583.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4580 < len(yyv4580) { - yyv4580 = yyv4580[:yyj4580] - yyc4580 = true - } else if yyj4580 == 0 && yyv4580 == nil { - yyv4580 = []EnvVar{} - yyc4580 = true - } - } - yyh4580.End() - if yyc4580 { - *v = yyv4580 - } -} - -func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4584 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4585 := &yyv4584 - yy4585.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4586 := *v - yyh4586, yyl4586 := z.DecSliceHelperStart() - var yyc4586 bool - if yyl4586 == 0 { - if yyv4586 == nil { - yyv4586 = []VolumeMount{} - yyc4586 = true - } else if len(yyv4586) != 0 { - yyv4586 = yyv4586[:0] - yyc4586 = true - } - } else if yyl4586 > 0 { - var yyrr4586, yyrl4586 int - var yyrt4586 bool - if yyl4586 > cap(yyv4586) { - - yyrg4586 := len(yyv4586) > 0 - yyv24586 := yyv4586 - yyrl4586, yyrt4586 = z.DecInferLen(yyl4586, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4586 { - if yyrl4586 <= cap(yyv4586) { - yyv4586 = yyv4586[:yyrl4586] - } else { - yyv4586 = make([]VolumeMount, yyrl4586) - } - } else { - yyv4586 = make([]VolumeMount, yyrl4586) - } - yyc4586 = true - yyrr4586 = len(yyv4586) - if yyrg4586 { - copy(yyv4586, yyv24586) - } - } else if yyl4586 != len(yyv4586) { - yyv4586 = yyv4586[:yyl4586] - yyc4586 = true - } - yyj4586 := 0 - for ; yyj4586 < yyrr4586; yyj4586++ { - yyh4586.ElemContainerState(yyj4586) - if r.TryDecodeAsNil() { - yyv4586[yyj4586] = VolumeMount{} - } else { - yyv4587 := &yyv4586[yyj4586] - yyv4587.CodecDecodeSelf(d) - } - - } - if yyrt4586 { - for ; yyj4586 < yyl4586; yyj4586++ { - yyv4586 = append(yyv4586, VolumeMount{}) - yyh4586.ElemContainerState(yyj4586) - if r.TryDecodeAsNil() { - yyv4586[yyj4586] = VolumeMount{} - } else { - yyv4588 := &yyv4586[yyj4586] - yyv4588.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4586 := 0 - for ; !r.CheckBreak(); yyj4586++ { - - if yyj4586 >= len(yyv4586) { - yyv4586 = append(yyv4586, VolumeMount{}) // var yyz4586 VolumeMount - yyc4586 = true - } - yyh4586.ElemContainerState(yyj4586) - if yyj4586 < len(yyv4586) { - if r.TryDecodeAsNil() { - yyv4586[yyj4586] = VolumeMount{} - } else { - yyv4589 := &yyv4586[yyj4586] - yyv4589.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4586 < len(yyv4586) { - yyv4586 = yyv4586[:yyj4586] - yyc4586 = true - } else if yyj4586 == 0 && yyv4586 == nil { - yyv4586 = []VolumeMount{} - yyc4586 = true - } - } - yyh4586.End() - if yyc4586 { - *v = yyv4586 - } -} - -func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -57459,7 +56889,7 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -57469,7 +56899,7 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { var yyc4592 bool if yyl4592 == 0 { if yyv4592 == nil { - yyv4592 = []Pod{} + yyv4592 = []OwnerReference{} yyc4592 = true } else if len(yyv4592) != 0 { yyv4592 = yyv4592[:0] @@ -57482,15 +56912,15 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { yyrg4592 := len(yyv4592) > 0 yyv24592 := yyv4592 - yyrl4592, yyrt4592 = z.DecInferLen(yyl4592, z.DecBasicHandle().MaxInitLen, 640) + yyrl4592, yyrt4592 = z.DecInferLen(yyl4592, z.DecBasicHandle().MaxInitLen, 72) if yyrt4592 { if yyrl4592 <= cap(yyv4592) { yyv4592 = yyv4592[:yyrl4592] } else { - yyv4592 = make([]Pod, yyrl4592) + yyv4592 = make([]OwnerReference, yyrl4592) } } else { - yyv4592 = make([]Pod, yyrl4592) + yyv4592 = make([]OwnerReference, yyrl4592) } yyc4592 = true yyrr4592 = len(yyv4592) @@ -57505,7 +56935,7 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { for ; yyj4592 < yyrr4592; yyj4592++ { yyh4592.ElemContainerState(yyj4592) if r.TryDecodeAsNil() { - yyv4592[yyj4592] = Pod{} + yyv4592[yyj4592] = OwnerReference{} } else { yyv4593 := &yyv4592[yyj4592] yyv4593.CodecDecodeSelf(d) @@ -57514,10 +56944,10 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } if yyrt4592 { for ; yyj4592 < yyl4592; yyj4592++ { - yyv4592 = append(yyv4592, Pod{}) + yyv4592 = append(yyv4592, OwnerReference{}) yyh4592.ElemContainerState(yyj4592) if r.TryDecodeAsNil() { - yyv4592[yyj4592] = Pod{} + yyv4592[yyj4592] = OwnerReference{} } else { yyv4594 := &yyv4592[yyj4592] yyv4594.CodecDecodeSelf(d) @@ -57531,13 +56961,13 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { for ; !r.CheckBreak(); yyj4592++ { if yyj4592 >= len(yyv4592) { - yyv4592 = append(yyv4592, Pod{}) // var yyz4592 Pod + yyv4592 = append(yyv4592, OwnerReference{}) // var yyz4592 OwnerReference yyc4592 = true } yyh4592.ElemContainerState(yyj4592) if yyj4592 < len(yyv4592) { if r.TryDecodeAsNil() { - yyv4592[yyj4592] = Pod{} + yyv4592[yyj4592] = OwnerReference{} } else { yyv4595 := &yyv4592[yyj4592] yyv4595.CodecDecodeSelf(d) @@ -57552,7 +56982,7 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { yyv4592 = yyv4592[:yyj4592] yyc4592 = true } else if yyj4592 == 0 && yyv4592 == nil { - yyv4592 = []Pod{} + yyv4592 = []OwnerReference{} yyc4592 = true } } @@ -57562,15 +56992,1273 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } -func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolumeAccessMode, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv4596 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4597 := &yyv4596 - yy4597.CodecEncodeSelf(e) + yyv4596.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolumeAccessMode, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4597 > 0 { + var yyrr4597, yyrl4597 int + var yyrt4597 bool + if yyl4597 > cap(yyv4597) { + + yyrl4597, yyrt4597 = z.DecInferLen(yyl4597, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4597 { + if yyrl4597 <= cap(yyv4597) { + yyv4597 = yyv4597[:yyrl4597] + } else { + yyv4597 = make([]PersistentVolumeAccessMode, yyrl4597) + } + } else { + yyv4597 = make([]PersistentVolumeAccessMode, yyrl4597) + } + yyc4597 = true + yyrr4597 = len(yyv4597) + } else if yyl4597 != len(yyv4597) { + yyv4597 = yyv4597[:yyl4597] + yyc4597 = true + } + yyj4597 := 0 + for ; yyj4597 < yyrr4597; yyj4597++ { + yyh4597.ElemContainerState(yyj4597) + if r.TryDecodeAsNil() { + yyv4597[yyj4597] = "" + } else { + yyv4597[yyj4597] = PersistentVolumeAccessMode(r.DecodeString()) + } + + } + if yyrt4597 { + for ; yyj4597 < yyl4597; yyj4597++ { + yyv4597 = append(yyv4597, "") + yyh4597.ElemContainerState(yyj4597) + if r.TryDecodeAsNil() { + yyv4597[yyj4597] = "" + } else { + yyv4597[yyj4597] = PersistentVolumeAccessMode(r.DecodeString()) + } + + } + } + + } else { + yyj4597 := 0 + for ; !r.CheckBreak(); yyj4597++ { + + if yyj4597 >= len(yyv4597) { + yyv4597 = append(yyv4597, "") // var yyz4597 PersistentVolumeAccessMode + yyc4597 = true + } + yyh4597.ElemContainerState(yyj4597) + if yyj4597 < len(yyv4597) { + if r.TryDecodeAsNil() { + yyv4597[yyj4597] = "" + } else { + yyv4597[yyj4597] = PersistentVolumeAccessMode(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj4597 < len(yyv4597) { + yyv4597 = yyv4597[:yyj4597] + yyc4597 = true + } else if yyj4597 == 0 && yyv4597 == nil { + yyv4597 = []PersistentVolumeAccessMode{} + yyc4597 = true + } + } + yyh4597.End() + if yyc4597 { + *v = yyv4597 + } +} + +func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4601 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4602 := &yyv4601 + yy4602.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4603 > 0 { + var yyrr4603, yyrl4603 int + var yyrt4603 bool + if yyl4603 > cap(yyv4603) { + + yyrg4603 := len(yyv4603) > 0 + yyv24603 := yyv4603 + yyrl4603, yyrt4603 = z.DecInferLen(yyl4603, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4603 { + if yyrl4603 <= cap(yyv4603) { + yyv4603 = yyv4603[:yyrl4603] + } else { + yyv4603 = make([]PersistentVolume, yyrl4603) + } + } else { + yyv4603 = make([]PersistentVolume, yyrl4603) + } + yyc4603 = true + yyrr4603 = len(yyv4603) + if yyrg4603 { + copy(yyv4603, yyv24603) + } + } else if yyl4603 != len(yyv4603) { + yyv4603 = yyv4603[:yyl4603] + yyc4603 = true + } + yyj4603 := 0 + for ; yyj4603 < yyrr4603; yyj4603++ { + yyh4603.ElemContainerState(yyj4603) + if r.TryDecodeAsNil() { + yyv4603[yyj4603] = PersistentVolume{} + } else { + yyv4604 := &yyv4603[yyj4603] + yyv4604.CodecDecodeSelf(d) + } + + } + if yyrt4603 { + for ; yyj4603 < yyl4603; yyj4603++ { + yyv4603 = append(yyv4603, PersistentVolume{}) + yyh4603.ElemContainerState(yyj4603) + if r.TryDecodeAsNil() { + yyv4603[yyj4603] = PersistentVolume{} + } else { + yyv4605 := &yyv4603[yyj4603] + yyv4605.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4603 := 0 + for ; !r.CheckBreak(); yyj4603++ { + + if yyj4603 >= len(yyv4603) { + yyv4603 = append(yyv4603, PersistentVolume{}) // var yyz4603 PersistentVolume + yyc4603 = true + } + yyh4603.ElemContainerState(yyj4603) + if yyj4603 < len(yyv4603) { + if r.TryDecodeAsNil() { + yyv4603[yyj4603] = PersistentVolume{} + } else { + yyv4606 := &yyv4603[yyj4603] + yyv4606.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4603 < len(yyv4603) { + yyv4603 = yyv4603[:yyj4603] + yyc4603 = true + } else if yyj4603 == 0 && yyv4603 == nil { + yyv4603 = []PersistentVolume{} + yyc4603 = true + } + } + yyh4603.End() + if yyc4603 { + *v = yyv4603 + } +} + +func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4607 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4608 := &yyv4607 + yy4608.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClaim, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4609 > 0 { + var yyrr4609, yyrl4609 int + var yyrt4609 bool + if yyl4609 > cap(yyv4609) { + + yyrg4609 := len(yyv4609) > 0 + yyv24609 := yyv4609 + yyrl4609, yyrt4609 = z.DecInferLen(yyl4609, z.DecBasicHandle().MaxInitLen, 368) + if yyrt4609 { + if yyrl4609 <= cap(yyv4609) { + yyv4609 = yyv4609[:yyrl4609] + } else { + yyv4609 = make([]PersistentVolumeClaim, yyrl4609) + } + } else { + yyv4609 = make([]PersistentVolumeClaim, yyrl4609) + } + yyc4609 = true + yyrr4609 = len(yyv4609) + if yyrg4609 { + copy(yyv4609, yyv24609) + } + } else if yyl4609 != len(yyv4609) { + yyv4609 = yyv4609[:yyl4609] + yyc4609 = true + } + yyj4609 := 0 + for ; yyj4609 < yyrr4609; yyj4609++ { + yyh4609.ElemContainerState(yyj4609) + if r.TryDecodeAsNil() { + yyv4609[yyj4609] = PersistentVolumeClaim{} + } else { + yyv4610 := &yyv4609[yyj4609] + yyv4610.CodecDecodeSelf(d) + } + + } + if yyrt4609 { + for ; yyj4609 < yyl4609; yyj4609++ { + yyv4609 = append(yyv4609, PersistentVolumeClaim{}) + yyh4609.ElemContainerState(yyj4609) + if r.TryDecodeAsNil() { + yyv4609[yyj4609] = PersistentVolumeClaim{} + } else { + yyv4611 := &yyv4609[yyj4609] + yyv4611.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4609 := 0 + for ; !r.CheckBreak(); yyj4609++ { + + if yyj4609 >= len(yyv4609) { + yyv4609 = append(yyv4609, PersistentVolumeClaim{}) // var yyz4609 PersistentVolumeClaim + yyc4609 = true + } + yyh4609.ElemContainerState(yyj4609) + if yyj4609 < len(yyv4609) { + if r.TryDecodeAsNil() { + yyv4609[yyj4609] = PersistentVolumeClaim{} + } else { + yyv4612 := &yyv4609[yyj4609] + yyv4612.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4609 < len(yyv4609) { + yyv4609 = yyv4609[:yyj4609] + yyc4609 = true + } else if yyj4609 == 0 && yyv4609 == nil { + yyv4609 = []PersistentVolumeClaim{} + yyc4609 = true + } + } + yyh4609.End() + if yyc4609 { + *v = yyv4609 + } +} + +func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4613 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4614 := &yyv4613 + yy4614.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4615 > 0 { + var yyrr4615, yyrl4615 int + var yyrt4615 bool + if yyl4615 > cap(yyv4615) { + + yyrg4615 := len(yyv4615) > 0 + yyv24615 := yyv4615 + yyrl4615, yyrt4615 = z.DecInferLen(yyl4615, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4615 { + if yyrl4615 <= cap(yyv4615) { + yyv4615 = yyv4615[:yyrl4615] + } else { + yyv4615 = make([]KeyToPath, yyrl4615) + } + } else { + yyv4615 = make([]KeyToPath, yyrl4615) + } + yyc4615 = true + yyrr4615 = len(yyv4615) + if yyrg4615 { + copy(yyv4615, yyv24615) + } + } else if yyl4615 != len(yyv4615) { + yyv4615 = yyv4615[:yyl4615] + yyc4615 = true + } + yyj4615 := 0 + for ; yyj4615 < yyrr4615; yyj4615++ { + yyh4615.ElemContainerState(yyj4615) + if r.TryDecodeAsNil() { + yyv4615[yyj4615] = KeyToPath{} + } else { + yyv4616 := &yyv4615[yyj4615] + yyv4616.CodecDecodeSelf(d) + } + + } + if yyrt4615 { + for ; yyj4615 < yyl4615; yyj4615++ { + yyv4615 = append(yyv4615, KeyToPath{}) + yyh4615.ElemContainerState(yyj4615) + if r.TryDecodeAsNil() { + yyv4615[yyj4615] = KeyToPath{} + } else { + yyv4617 := &yyv4615[yyj4615] + yyv4617.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4615 := 0 + for ; !r.CheckBreak(); yyj4615++ { + + if yyj4615 >= len(yyv4615) { + yyv4615 = append(yyv4615, KeyToPath{}) // var yyz4615 KeyToPath + yyc4615 = true + } + yyh4615.ElemContainerState(yyj4615) + if yyj4615 < len(yyv4615) { + if r.TryDecodeAsNil() { + yyv4615[yyj4615] = KeyToPath{} + } else { + yyv4618 := &yyv4615[yyj4615] + yyv4618.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4615 < len(yyv4615) { + yyv4615 = yyv4615[:yyj4615] + yyc4615 = true + } else if yyj4615 == 0 && yyv4615 == nil { + yyv4615 = []KeyToPath{} + yyc4615 = true + } + } + yyh4615.End() + if yyc4615 { + *v = yyv4615 + } +} + +func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4619 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4620 := &yyv4619 + yy4620.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFile, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4621 > 0 { + var yyrr4621, yyrl4621 int + var yyrt4621 bool + if yyl4621 > cap(yyv4621) { + + 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 { + yyv4621 = make([]DownwardAPIVolumeFile, yyrl4621) + } + } else { + yyv4621 = make([]DownwardAPIVolumeFile, yyrl4621) + } + yyc4621 = true + yyrr4621 = len(yyv4621) + if yyrg4621 { + copy(yyv4621, yyv24621) + } + } else if yyl4621 != len(yyv4621) { + yyv4621 = yyv4621[:yyl4621] + yyc4621 = true + } + yyj4621 := 0 + for ; yyj4621 < yyrr4621; yyj4621++ { + yyh4621.ElemContainerState(yyj4621) + if r.TryDecodeAsNil() { + yyv4621[yyj4621] = DownwardAPIVolumeFile{} + } else { + yyv4622 := &yyv4621[yyj4621] + yyv4622.CodecDecodeSelf(d) + } + + } + if yyrt4621 { + for ; yyj4621 < yyl4621; yyj4621++ { + yyv4621 = append(yyv4621, DownwardAPIVolumeFile{}) + yyh4621.ElemContainerState(yyj4621) + if r.TryDecodeAsNil() { + yyv4621[yyj4621] = DownwardAPIVolumeFile{} + } else { + yyv4623 := &yyv4621[yyj4621] + yyv4623.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4621 := 0 + for ; !r.CheckBreak(); yyj4621++ { + + if yyj4621 >= len(yyv4621) { + yyv4621 = append(yyv4621, DownwardAPIVolumeFile{}) // var yyz4621 DownwardAPIVolumeFile + yyc4621 = true + } + yyh4621.ElemContainerState(yyj4621) + if yyj4621 < len(yyv4621) { + if r.TryDecodeAsNil() { + yyv4621[yyj4621] = DownwardAPIVolumeFile{} + } else { + yyv4624 := &yyv4621[yyj4621] + yyv4624.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4621 < len(yyv4621) { + yyv4621 = yyv4621[:yyj4621] + yyc4621 = true + } else if yyj4621 == 0 && yyv4621 == nil { + yyv4621 = []DownwardAPIVolumeFile{} + yyc4621 = true + } + } + yyh4621.End() + if yyc4621 { + *v = yyv4621 + } +} + +func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4625 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4626 := &yyv4625 + yy4626.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4627 > 0 { + var yyrr4627, yyrl4627 int + var yyrt4627 bool + if yyl4627 > cap(yyv4627) { + + yyrg4627 := len(yyv4627) > 0 + yyv24627 := yyv4627 + yyrl4627, yyrt4627 = z.DecInferLen(yyl4627, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4627 { + if yyrl4627 <= cap(yyv4627) { + yyv4627 = yyv4627[:yyrl4627] + } else { + yyv4627 = make([]HTTPHeader, yyrl4627) + } + } else { + yyv4627 = make([]HTTPHeader, yyrl4627) + } + yyc4627 = true + yyrr4627 = len(yyv4627) + if yyrg4627 { + copy(yyv4627, yyv24627) + } + } else if yyl4627 != len(yyv4627) { + yyv4627 = yyv4627[:yyl4627] + yyc4627 = true + } + yyj4627 := 0 + for ; yyj4627 < yyrr4627; yyj4627++ { + yyh4627.ElemContainerState(yyj4627) + if r.TryDecodeAsNil() { + yyv4627[yyj4627] = HTTPHeader{} + } else { + yyv4628 := &yyv4627[yyj4627] + yyv4628.CodecDecodeSelf(d) + } + + } + if yyrt4627 { + for ; yyj4627 < yyl4627; yyj4627++ { + yyv4627 = append(yyv4627, HTTPHeader{}) + yyh4627.ElemContainerState(yyj4627) + if r.TryDecodeAsNil() { + yyv4627[yyj4627] = HTTPHeader{} + } else { + yyv4629 := &yyv4627[yyj4627] + yyv4629.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4627 := 0 + for ; !r.CheckBreak(); yyj4627++ { + + if yyj4627 >= len(yyv4627) { + yyv4627 = append(yyv4627, HTTPHeader{}) // var yyz4627 HTTPHeader + yyc4627 = true + } + yyh4627.ElemContainerState(yyj4627) + if yyj4627 < len(yyv4627) { + if r.TryDecodeAsNil() { + yyv4627[yyj4627] = HTTPHeader{} + } else { + yyv4630 := &yyv4627[yyj4627] + yyv4630.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4627 < len(yyv4627) { + yyv4627 = yyv4627[:yyj4627] + yyc4627 = true + } else if yyj4627 == 0 && yyv4627 == nil { + yyv4627 = []HTTPHeader{} + yyc4627 = true + } + } + yyh4627.End() + if yyc4627 { + *v = yyv4627 + } +} + +func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4631 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv4631.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4632 > 0 { + var yyrr4632, yyrl4632 int + var yyrt4632 bool + if yyl4632 > cap(yyv4632) { + + yyrl4632, yyrt4632 = z.DecInferLen(yyl4632, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4632 { + if yyrl4632 <= cap(yyv4632) { + yyv4632 = yyv4632[:yyrl4632] + } else { + yyv4632 = make([]Capability, yyrl4632) + } + } else { + yyv4632 = make([]Capability, yyrl4632) + } + yyc4632 = true + yyrr4632 = len(yyv4632) + } else if yyl4632 != len(yyv4632) { + yyv4632 = yyv4632[:yyl4632] + yyc4632 = true + } + yyj4632 := 0 + for ; yyj4632 < yyrr4632; yyj4632++ { + yyh4632.ElemContainerState(yyj4632) + if r.TryDecodeAsNil() { + yyv4632[yyj4632] = "" + } else { + yyv4632[yyj4632] = Capability(r.DecodeString()) + } + + } + if yyrt4632 { + for ; yyj4632 < yyl4632; yyj4632++ { + yyv4632 = append(yyv4632, "") + yyh4632.ElemContainerState(yyj4632) + if r.TryDecodeAsNil() { + yyv4632[yyj4632] = "" + } else { + yyv4632[yyj4632] = Capability(r.DecodeString()) + } + + } + } + + } else { + yyj4632 := 0 + for ; !r.CheckBreak(); yyj4632++ { + + if yyj4632 >= len(yyv4632) { + yyv4632 = append(yyv4632, "") // var yyz4632 Capability + yyc4632 = true + } + yyh4632.ElemContainerState(yyj4632) + if yyj4632 < len(yyv4632) { + if r.TryDecodeAsNil() { + yyv4632[yyj4632] = "" + } else { + yyv4632[yyj4632] = Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj4632 < len(yyv4632) { + yyv4632 = yyv4632[:yyj4632] + yyc4632 = true + } else if yyj4632 == 0 && yyv4632 == nil { + yyv4632 = []Capability{} + yyc4632 = true + } + } + yyh4632.End() + if yyc4632 { + *v = yyv4632 + } +} + +func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4636 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4637 := &yyv4636 + yy4637.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4638 > 0 { + var yyrr4638, yyrl4638 int + var yyrt4638 bool + if yyl4638 > cap(yyv4638) { + + yyrg4638 := len(yyv4638) > 0 + yyv24638 := yyv4638 + yyrl4638, yyrt4638 = z.DecInferLen(yyl4638, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4638 { + if yyrl4638 <= cap(yyv4638) { + yyv4638 = yyv4638[:yyrl4638] + } else { + yyv4638 = make([]ContainerPort, yyrl4638) + } + } else { + yyv4638 = make([]ContainerPort, yyrl4638) + } + yyc4638 = true + yyrr4638 = len(yyv4638) + if yyrg4638 { + copy(yyv4638, yyv24638) + } + } else if yyl4638 != len(yyv4638) { + yyv4638 = yyv4638[:yyl4638] + yyc4638 = true + } + yyj4638 := 0 + for ; yyj4638 < yyrr4638; yyj4638++ { + yyh4638.ElemContainerState(yyj4638) + if r.TryDecodeAsNil() { + yyv4638[yyj4638] = ContainerPort{} + } else { + yyv4639 := &yyv4638[yyj4638] + yyv4639.CodecDecodeSelf(d) + } + + } + if yyrt4638 { + for ; yyj4638 < yyl4638; yyj4638++ { + yyv4638 = append(yyv4638, ContainerPort{}) + yyh4638.ElemContainerState(yyj4638) + if r.TryDecodeAsNil() { + yyv4638[yyj4638] = ContainerPort{} + } else { + yyv4640 := &yyv4638[yyj4638] + yyv4640.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4638 := 0 + for ; !r.CheckBreak(); yyj4638++ { + + if yyj4638 >= len(yyv4638) { + yyv4638 = append(yyv4638, ContainerPort{}) // var yyz4638 ContainerPort + yyc4638 = true + } + yyh4638.ElemContainerState(yyj4638) + if yyj4638 < len(yyv4638) { + if r.TryDecodeAsNil() { + yyv4638[yyj4638] = ContainerPort{} + } else { + yyv4641 := &yyv4638[yyj4638] + yyv4641.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4638 < len(yyv4638) { + yyv4638 = yyv4638[:yyj4638] + yyc4638 = true + } else if yyj4638 == 0 && yyv4638 == nil { + yyv4638 = []ContainerPort{} + yyc4638 = true + } + } + yyh4638.End() + if yyc4638 { + *v = yyv4638 + } +} + +func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4642 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4643 := &yyv4642 + yy4643.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4644 > 0 { + var yyrr4644, yyrl4644 int + var yyrt4644 bool + if yyl4644 > cap(yyv4644) { + + yyrg4644 := len(yyv4644) > 0 + yyv24644 := yyv4644 + yyrl4644, yyrt4644 = z.DecInferLen(yyl4644, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4644 { + if yyrl4644 <= cap(yyv4644) { + yyv4644 = yyv4644[:yyrl4644] + } else { + yyv4644 = make([]EnvVar, yyrl4644) + } + } else { + yyv4644 = make([]EnvVar, yyrl4644) + } + yyc4644 = true + yyrr4644 = len(yyv4644) + if yyrg4644 { + copy(yyv4644, yyv24644) + } + } else if yyl4644 != len(yyv4644) { + yyv4644 = yyv4644[:yyl4644] + yyc4644 = true + } + yyj4644 := 0 + for ; yyj4644 < yyrr4644; yyj4644++ { + yyh4644.ElemContainerState(yyj4644) + if r.TryDecodeAsNil() { + yyv4644[yyj4644] = EnvVar{} + } else { + yyv4645 := &yyv4644[yyj4644] + yyv4645.CodecDecodeSelf(d) + } + + } + if yyrt4644 { + for ; yyj4644 < yyl4644; yyj4644++ { + yyv4644 = append(yyv4644, EnvVar{}) + yyh4644.ElemContainerState(yyj4644) + if r.TryDecodeAsNil() { + yyv4644[yyj4644] = EnvVar{} + } else { + yyv4646 := &yyv4644[yyj4644] + yyv4646.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4644 := 0 + for ; !r.CheckBreak(); yyj4644++ { + + if yyj4644 >= len(yyv4644) { + yyv4644 = append(yyv4644, EnvVar{}) // var yyz4644 EnvVar + yyc4644 = true + } + yyh4644.ElemContainerState(yyj4644) + if yyj4644 < len(yyv4644) { + if r.TryDecodeAsNil() { + yyv4644[yyj4644] = EnvVar{} + } else { + yyv4647 := &yyv4644[yyj4644] + yyv4647.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4644 < len(yyv4644) { + yyv4644 = yyv4644[:yyj4644] + yyc4644 = true + } else if yyj4644 == 0 && yyv4644 == nil { + yyv4644 = []EnvVar{} + yyc4644 = true + } + } + yyh4644.End() + if yyc4644 { + *v = yyv4644 + } +} + +func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4648 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4649 := &yyv4648 + yy4649.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4650 > 0 { + var yyrr4650, yyrl4650 int + var yyrt4650 bool + if yyl4650 > cap(yyv4650) { + + yyrg4650 := len(yyv4650) > 0 + yyv24650 := yyv4650 + yyrl4650, yyrt4650 = z.DecInferLen(yyl4650, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4650 { + if yyrl4650 <= cap(yyv4650) { + yyv4650 = yyv4650[:yyrl4650] + } else { + yyv4650 = make([]VolumeMount, yyrl4650) + } + } else { + yyv4650 = make([]VolumeMount, yyrl4650) + } + yyc4650 = true + yyrr4650 = len(yyv4650) + if yyrg4650 { + copy(yyv4650, yyv24650) + } + } else if yyl4650 != len(yyv4650) { + yyv4650 = yyv4650[:yyl4650] + yyc4650 = true + } + yyj4650 := 0 + for ; yyj4650 < yyrr4650; yyj4650++ { + yyh4650.ElemContainerState(yyj4650) + if r.TryDecodeAsNil() { + yyv4650[yyj4650] = VolumeMount{} + } else { + yyv4651 := &yyv4650[yyj4650] + yyv4651.CodecDecodeSelf(d) + } + + } + if yyrt4650 { + for ; yyj4650 < yyl4650; yyj4650++ { + yyv4650 = append(yyv4650, VolumeMount{}) + yyh4650.ElemContainerState(yyj4650) + if r.TryDecodeAsNil() { + yyv4650[yyj4650] = VolumeMount{} + } else { + yyv4652 := &yyv4650[yyj4650] + yyv4652.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4650 := 0 + for ; !r.CheckBreak(); yyj4650++ { + + if yyj4650 >= len(yyv4650) { + yyv4650 = append(yyv4650, VolumeMount{}) // var yyz4650 VolumeMount + yyc4650 = true + } + yyh4650.ElemContainerState(yyj4650) + if yyj4650 < len(yyv4650) { + if r.TryDecodeAsNil() { + yyv4650[yyj4650] = VolumeMount{} + } else { + yyv4653 := &yyv4650[yyj4650] + yyv4653.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4650 < len(yyv4650) { + yyv4650 = yyv4650[:yyj4650] + yyc4650 = true + } else if yyj4650 == 0 && yyv4650 == nil { + yyv4650 = []VolumeMount{} + yyc4650 = true + } + } + yyh4650.End() + if yyc4650 { + *v = yyv4650 + } +} + +func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4654 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4655 := &yyv4654 + yy4655.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4656 > 0 { + var yyrr4656, yyrl4656 int + var yyrt4656 bool + if yyl4656 > cap(yyv4656) { + + yyrg4656 := len(yyv4656) > 0 + yyv24656 := yyv4656 + yyrl4656, yyrt4656 = z.DecInferLen(yyl4656, z.DecBasicHandle().MaxInitLen, 640) + if yyrt4656 { + if yyrl4656 <= cap(yyv4656) { + yyv4656 = yyv4656[:yyrl4656] + } else { + yyv4656 = make([]Pod, yyrl4656) + } + } else { + yyv4656 = make([]Pod, yyrl4656) + } + yyc4656 = true + yyrr4656 = len(yyv4656) + if yyrg4656 { + copy(yyv4656, yyv24656) + } + } else if yyl4656 != len(yyv4656) { + yyv4656 = yyv4656[:yyl4656] + yyc4656 = true + } + yyj4656 := 0 + for ; yyj4656 < yyrr4656; yyj4656++ { + yyh4656.ElemContainerState(yyj4656) + if r.TryDecodeAsNil() { + yyv4656[yyj4656] = Pod{} + } else { + yyv4657 := &yyv4656[yyj4656] + yyv4657.CodecDecodeSelf(d) + } + + } + if yyrt4656 { + for ; yyj4656 < yyl4656; yyj4656++ { + yyv4656 = append(yyv4656, Pod{}) + yyh4656.ElemContainerState(yyj4656) + if r.TryDecodeAsNil() { + yyv4656[yyj4656] = Pod{} + } else { + yyv4658 := &yyv4656[yyj4656] + yyv4658.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4656 := 0 + for ; !r.CheckBreak(); yyj4656++ { + + if yyj4656 >= len(yyv4656) { + yyv4656 = append(yyv4656, Pod{}) // var yyz4656 Pod + yyc4656 = true + } + yyh4656.ElemContainerState(yyj4656) + if yyj4656 < len(yyv4656) { + if r.TryDecodeAsNil() { + yyv4656[yyj4656] = Pod{} + } else { + yyv4659 := &yyv4656[yyj4656] + yyv4659.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4656 < len(yyv4656) { + yyv4656 = yyv4656[:yyj4656] + yyc4656 = true + } else if yyj4656 == 0 && yyv4656 == nil { + yyv4656 = []Pod{} + yyc4656 = true + } + } + yyh4656.End() + if yyc4656 { + *v = yyv4656 + } +} + +func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4660 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4661 := &yyv4660 + yy4661.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57580,83 +58268,83 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4598 := *v - yyh4598, yyl4598 := z.DecSliceHelperStart() - var yyc4598 bool - if yyl4598 == 0 { - if yyv4598 == nil { - yyv4598 = []NodeSelectorTerm{} - yyc4598 = true - } else if len(yyv4598) != 0 { - yyv4598 = yyv4598[:0] - yyc4598 = true + 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 } - } else if yyl4598 > 0 { - var yyrr4598, yyrl4598 int - var yyrt4598 bool - if yyl4598 > cap(yyv4598) { + } else if yyl4662 > 0 { + var yyrr4662, yyrl4662 int + var yyrt4662 bool + if yyl4662 > cap(yyv4662) { - yyrg4598 := len(yyv4598) > 0 - yyv24598 := yyv4598 - yyrl4598, yyrt4598 = z.DecInferLen(yyl4598, z.DecBasicHandle().MaxInitLen, 24) - if yyrt4598 { - if yyrl4598 <= cap(yyv4598) { - yyv4598 = yyv4598[:yyrl4598] + yyrg4662 := len(yyv4662) > 0 + yyv24662 := yyv4662 + yyrl4662, yyrt4662 = z.DecInferLen(yyl4662, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4662 { + if yyrl4662 <= cap(yyv4662) { + yyv4662 = yyv4662[:yyrl4662] } else { - yyv4598 = make([]NodeSelectorTerm, yyrl4598) + yyv4662 = make([]NodeSelectorTerm, yyrl4662) } } else { - yyv4598 = make([]NodeSelectorTerm, yyrl4598) + yyv4662 = make([]NodeSelectorTerm, yyrl4662) } - yyc4598 = true - yyrr4598 = len(yyv4598) - if yyrg4598 { - copy(yyv4598, yyv24598) + yyc4662 = true + yyrr4662 = len(yyv4662) + if yyrg4662 { + copy(yyv4662, yyv24662) } - } else if yyl4598 != len(yyv4598) { - yyv4598 = yyv4598[:yyl4598] - yyc4598 = true + } else if yyl4662 != len(yyv4662) { + yyv4662 = yyv4662[:yyl4662] + yyc4662 = true } - yyj4598 := 0 - for ; yyj4598 < yyrr4598; yyj4598++ { - yyh4598.ElemContainerState(yyj4598) + yyj4662 := 0 + for ; yyj4662 < yyrr4662; yyj4662++ { + yyh4662.ElemContainerState(yyj4662) if r.TryDecodeAsNil() { - yyv4598[yyj4598] = NodeSelectorTerm{} + yyv4662[yyj4662] = NodeSelectorTerm{} } else { - yyv4599 := &yyv4598[yyj4598] - yyv4599.CodecDecodeSelf(d) + yyv4663 := &yyv4662[yyj4662] + yyv4663.CodecDecodeSelf(d) } } - if yyrt4598 { - for ; yyj4598 < yyl4598; yyj4598++ { - yyv4598 = append(yyv4598, NodeSelectorTerm{}) - yyh4598.ElemContainerState(yyj4598) + if yyrt4662 { + for ; yyj4662 < yyl4662; yyj4662++ { + yyv4662 = append(yyv4662, NodeSelectorTerm{}) + yyh4662.ElemContainerState(yyj4662) if r.TryDecodeAsNil() { - yyv4598[yyj4598] = NodeSelectorTerm{} + yyv4662[yyj4662] = NodeSelectorTerm{} } else { - yyv4600 := &yyv4598[yyj4598] - yyv4600.CodecDecodeSelf(d) + yyv4664 := &yyv4662[yyj4662] + yyv4664.CodecDecodeSelf(d) } } } } else { - yyj4598 := 0 - for ; !r.CheckBreak(); yyj4598++ { + yyj4662 := 0 + for ; !r.CheckBreak(); yyj4662++ { - if yyj4598 >= len(yyv4598) { - yyv4598 = append(yyv4598, NodeSelectorTerm{}) // var yyz4598 NodeSelectorTerm - yyc4598 = true + if yyj4662 >= len(yyv4662) { + yyv4662 = append(yyv4662, NodeSelectorTerm{}) // var yyz4662 NodeSelectorTerm + yyc4662 = true } - yyh4598.ElemContainerState(yyj4598) - if yyj4598 < len(yyv4598) { + yyh4662.ElemContainerState(yyj4662) + if yyj4662 < len(yyv4662) { if r.TryDecodeAsNil() { - yyv4598[yyj4598] = NodeSelectorTerm{} + yyv4662[yyj4662] = NodeSelectorTerm{} } else { - yyv4601 := &yyv4598[yyj4598] - yyv4601.CodecDecodeSelf(d) + yyv4665 := &yyv4662[yyj4662] + yyv4665.CodecDecodeSelf(d) } } else { @@ -57664,17 +58352,17 @@ func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *code } } - if yyj4598 < len(yyv4598) { - yyv4598 = yyv4598[:yyj4598] - yyc4598 = true - } else if yyj4598 == 0 && yyv4598 == nil { - yyv4598 = []NodeSelectorTerm{} - yyc4598 = true + if yyj4662 < len(yyv4662) { + yyv4662 = yyv4662[:yyj4662] + yyc4662 = true + } else if yyj4662 == 0 && yyv4662 == nil { + yyv4662 = []NodeSelectorTerm{} + yyc4662 = true } } - yyh4598.End() - if yyc4598 { - *v = yyv4598 + yyh4662.End() + if yyc4662 { + *v = yyv4662 } } @@ -57683,10 +58371,10 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4602 := range v { + for _, yyv4666 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4603 := &yyv4602 - yy4603.CodecEncodeSelf(e) + yy4667 := &yyv4666 + yy4667.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57696,83 +58384,83 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4604 := *v - yyh4604, yyl4604 := z.DecSliceHelperStart() - var yyc4604 bool - if yyl4604 == 0 { - if yyv4604 == nil { - yyv4604 = []NodeSelectorRequirement{} - yyc4604 = true - } else if len(yyv4604) != 0 { - yyv4604 = yyv4604[:0] - yyc4604 = true + 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 } - } else if yyl4604 > 0 { - var yyrr4604, yyrl4604 int - var yyrt4604 bool - if yyl4604 > cap(yyv4604) { + } else if yyl4668 > 0 { + var yyrr4668, yyrl4668 int + var yyrt4668 bool + if yyl4668 > cap(yyv4668) { - yyrg4604 := len(yyv4604) > 0 - yyv24604 := yyv4604 - yyrl4604, yyrt4604 = z.DecInferLen(yyl4604, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4604 { - if yyrl4604 <= cap(yyv4604) { - yyv4604 = yyv4604[:yyrl4604] + yyrg4668 := len(yyv4668) > 0 + yyv24668 := yyv4668 + yyrl4668, yyrt4668 = z.DecInferLen(yyl4668, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4668 { + if yyrl4668 <= cap(yyv4668) { + yyv4668 = yyv4668[:yyrl4668] } else { - yyv4604 = make([]NodeSelectorRequirement, yyrl4604) + yyv4668 = make([]NodeSelectorRequirement, yyrl4668) } } else { - yyv4604 = make([]NodeSelectorRequirement, yyrl4604) + yyv4668 = make([]NodeSelectorRequirement, yyrl4668) } - yyc4604 = true - yyrr4604 = len(yyv4604) - if yyrg4604 { - copy(yyv4604, yyv24604) + yyc4668 = true + yyrr4668 = len(yyv4668) + if yyrg4668 { + copy(yyv4668, yyv24668) } - } else if yyl4604 != len(yyv4604) { - yyv4604 = yyv4604[:yyl4604] - yyc4604 = true + } else if yyl4668 != len(yyv4668) { + yyv4668 = yyv4668[:yyl4668] + yyc4668 = true } - yyj4604 := 0 - for ; yyj4604 < yyrr4604; yyj4604++ { - yyh4604.ElemContainerState(yyj4604) + yyj4668 := 0 + for ; yyj4668 < yyrr4668; yyj4668++ { + yyh4668.ElemContainerState(yyj4668) if r.TryDecodeAsNil() { - yyv4604[yyj4604] = NodeSelectorRequirement{} + yyv4668[yyj4668] = NodeSelectorRequirement{} } else { - yyv4605 := &yyv4604[yyj4604] - yyv4605.CodecDecodeSelf(d) + yyv4669 := &yyv4668[yyj4668] + yyv4669.CodecDecodeSelf(d) } } - if yyrt4604 { - for ; yyj4604 < yyl4604; yyj4604++ { - yyv4604 = append(yyv4604, NodeSelectorRequirement{}) - yyh4604.ElemContainerState(yyj4604) + if yyrt4668 { + for ; yyj4668 < yyl4668; yyj4668++ { + yyv4668 = append(yyv4668, NodeSelectorRequirement{}) + yyh4668.ElemContainerState(yyj4668) if r.TryDecodeAsNil() { - yyv4604[yyj4604] = NodeSelectorRequirement{} + yyv4668[yyj4668] = NodeSelectorRequirement{} } else { - yyv4606 := &yyv4604[yyj4604] - yyv4606.CodecDecodeSelf(d) + yyv4670 := &yyv4668[yyj4668] + yyv4670.CodecDecodeSelf(d) } } } } else { - yyj4604 := 0 - for ; !r.CheckBreak(); yyj4604++ { + yyj4668 := 0 + for ; !r.CheckBreak(); yyj4668++ { - if yyj4604 >= len(yyv4604) { - yyv4604 = append(yyv4604, NodeSelectorRequirement{}) // var yyz4604 NodeSelectorRequirement - yyc4604 = true + if yyj4668 >= len(yyv4668) { + yyv4668 = append(yyv4668, NodeSelectorRequirement{}) // var yyz4668 NodeSelectorRequirement + yyc4668 = true } - yyh4604.ElemContainerState(yyj4604) - if yyj4604 < len(yyv4604) { + yyh4668.ElemContainerState(yyj4668) + if yyj4668 < len(yyv4668) { if r.TryDecodeAsNil() { - yyv4604[yyj4604] = NodeSelectorRequirement{} + yyv4668[yyj4668] = NodeSelectorRequirement{} } else { - yyv4607 := &yyv4604[yyj4604] - yyv4607.CodecDecodeSelf(d) + yyv4671 := &yyv4668[yyj4668] + yyv4671.CodecDecodeSelf(d) } } else { @@ -57780,17 +58468,17 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } - if yyj4604 < len(yyv4604) { - yyv4604 = yyv4604[:yyj4604] - yyc4604 = true - } else if yyj4604 == 0 && yyv4604 == nil { - yyv4604 = []NodeSelectorRequirement{} - yyc4604 = true + if yyj4668 < len(yyv4668) { + yyv4668 = yyv4668[:yyj4668] + yyc4668 = true + } else if yyj4668 == 0 && yyv4668 == nil { + yyv4668 = []NodeSelectorRequirement{} + yyc4668 = true } } - yyh4604.End() - if yyc4604 { - *v = yyv4604 + yyh4668.End() + if yyc4668 { + *v = yyv4668 } } @@ -57799,10 +58487,10 @@ func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4608 := range v { + for _, yyv4672 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4609 := &yyv4608 - yy4609.CodecEncodeSelf(e) + yy4673 := &yyv4672 + yy4673.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57812,83 +58500,83 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4610 := *v - yyh4610, yyl4610 := z.DecSliceHelperStart() - var yyc4610 bool - if yyl4610 == 0 { - if yyv4610 == nil { - yyv4610 = []PodAffinityTerm{} - yyc4610 = true - } else if len(yyv4610) != 0 { - yyv4610 = yyv4610[:0] - yyc4610 = true + 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 } - } else if yyl4610 > 0 { - var yyrr4610, yyrl4610 int - var yyrt4610 bool - if yyl4610 > cap(yyv4610) { + } else if yyl4674 > 0 { + var yyrr4674, yyrl4674 int + var yyrt4674 bool + if yyl4674 > cap(yyv4674) { - yyrg4610 := len(yyv4610) > 0 - yyv24610 := yyv4610 - yyrl4610, yyrt4610 = z.DecInferLen(yyl4610, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4610 { - if yyrl4610 <= cap(yyv4610) { - yyv4610 = yyv4610[:yyrl4610] + yyrg4674 := len(yyv4674) > 0 + yyv24674 := yyv4674 + yyrl4674, yyrt4674 = z.DecInferLen(yyl4674, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4674 { + if yyrl4674 <= cap(yyv4674) { + yyv4674 = yyv4674[:yyrl4674] } else { - yyv4610 = make([]PodAffinityTerm, yyrl4610) + yyv4674 = make([]PodAffinityTerm, yyrl4674) } } else { - yyv4610 = make([]PodAffinityTerm, yyrl4610) + yyv4674 = make([]PodAffinityTerm, yyrl4674) } - yyc4610 = true - yyrr4610 = len(yyv4610) - if yyrg4610 { - copy(yyv4610, yyv24610) + yyc4674 = true + yyrr4674 = len(yyv4674) + if yyrg4674 { + copy(yyv4674, yyv24674) } - } else if yyl4610 != len(yyv4610) { - yyv4610 = yyv4610[:yyl4610] - yyc4610 = true + } else if yyl4674 != len(yyv4674) { + yyv4674 = yyv4674[:yyl4674] + yyc4674 = true } - yyj4610 := 0 - for ; yyj4610 < yyrr4610; yyj4610++ { - yyh4610.ElemContainerState(yyj4610) + yyj4674 := 0 + for ; yyj4674 < yyrr4674; yyj4674++ { + yyh4674.ElemContainerState(yyj4674) if r.TryDecodeAsNil() { - yyv4610[yyj4610] = PodAffinityTerm{} + yyv4674[yyj4674] = PodAffinityTerm{} } else { - yyv4611 := &yyv4610[yyj4610] - yyv4611.CodecDecodeSelf(d) + yyv4675 := &yyv4674[yyj4674] + yyv4675.CodecDecodeSelf(d) } } - if yyrt4610 { - for ; yyj4610 < yyl4610; yyj4610++ { - yyv4610 = append(yyv4610, PodAffinityTerm{}) - yyh4610.ElemContainerState(yyj4610) + if yyrt4674 { + for ; yyj4674 < yyl4674; yyj4674++ { + yyv4674 = append(yyv4674, PodAffinityTerm{}) + yyh4674.ElemContainerState(yyj4674) if r.TryDecodeAsNil() { - yyv4610[yyj4610] = PodAffinityTerm{} + yyv4674[yyj4674] = PodAffinityTerm{} } else { - yyv4612 := &yyv4610[yyj4610] - yyv4612.CodecDecodeSelf(d) + yyv4676 := &yyv4674[yyj4674] + yyv4676.CodecDecodeSelf(d) } } } } else { - yyj4610 := 0 - for ; !r.CheckBreak(); yyj4610++ { + yyj4674 := 0 + for ; !r.CheckBreak(); yyj4674++ { - if yyj4610 >= len(yyv4610) { - yyv4610 = append(yyv4610, PodAffinityTerm{}) // var yyz4610 PodAffinityTerm - yyc4610 = true + if yyj4674 >= len(yyv4674) { + yyv4674 = append(yyv4674, PodAffinityTerm{}) // var yyz4674 PodAffinityTerm + yyc4674 = true } - yyh4610.ElemContainerState(yyj4610) - if yyj4610 < len(yyv4610) { + yyh4674.ElemContainerState(yyj4674) + if yyj4674 < len(yyv4674) { if r.TryDecodeAsNil() { - yyv4610[yyj4610] = PodAffinityTerm{} + yyv4674[yyj4674] = PodAffinityTerm{} } else { - yyv4613 := &yyv4610[yyj4610] - yyv4613.CodecDecodeSelf(d) + yyv4677 := &yyv4674[yyj4674] + yyv4677.CodecDecodeSelf(d) } } else { @@ -57896,17 +58584,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj4610 < len(yyv4610) { - yyv4610 = yyv4610[:yyj4610] - yyc4610 = true - } else if yyj4610 == 0 && yyv4610 == nil { - yyv4610 = []PodAffinityTerm{} - yyc4610 = true + if yyj4674 < len(yyv4674) { + yyv4674 = yyv4674[:yyj4674] + yyc4674 = true + } else if yyj4674 == 0 && yyv4674 == nil { + yyv4674 = []PodAffinityTerm{} + yyc4674 = true } } - yyh4610.End() - if yyc4610 { - *v = yyv4610 + yyh4674.End() + if yyc4674 { + *v = yyv4674 } } @@ -57915,10 +58603,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4614 := range v { + for _, yyv4678 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4615 := &yyv4614 - yy4615.CodecEncodeSelf(e) + yy4679 := &yyv4678 + yy4679.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57928,83 +58616,83 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4616 := *v - yyh4616, yyl4616 := z.DecSliceHelperStart() - var yyc4616 bool - if yyl4616 == 0 { - if yyv4616 == nil { - yyv4616 = []WeightedPodAffinityTerm{} - yyc4616 = true - } else if len(yyv4616) != 0 { - yyv4616 = yyv4616[:0] - yyc4616 = true + 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 } - } else if yyl4616 > 0 { - var yyrr4616, yyrl4616 int - var yyrt4616 bool - if yyl4616 > cap(yyv4616) { + } else if yyl4680 > 0 { + var yyrr4680, yyrl4680 int + var yyrt4680 bool + if yyl4680 > cap(yyv4680) { - yyrg4616 := len(yyv4616) > 0 - yyv24616 := yyv4616 - yyrl4616, yyrt4616 = z.DecInferLen(yyl4616, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4616 { - if yyrl4616 <= cap(yyv4616) { - yyv4616 = yyv4616[:yyrl4616] + yyrg4680 := len(yyv4680) > 0 + yyv24680 := yyv4680 + yyrl4680, yyrt4680 = z.DecInferLen(yyl4680, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4680 { + if yyrl4680 <= cap(yyv4680) { + yyv4680 = yyv4680[:yyrl4680] } else { - yyv4616 = make([]WeightedPodAffinityTerm, yyrl4616) + yyv4680 = make([]WeightedPodAffinityTerm, yyrl4680) } } else { - yyv4616 = make([]WeightedPodAffinityTerm, yyrl4616) + yyv4680 = make([]WeightedPodAffinityTerm, yyrl4680) } - yyc4616 = true - yyrr4616 = len(yyv4616) - if yyrg4616 { - copy(yyv4616, yyv24616) + yyc4680 = true + yyrr4680 = len(yyv4680) + if yyrg4680 { + copy(yyv4680, yyv24680) } - } else if yyl4616 != len(yyv4616) { - yyv4616 = yyv4616[:yyl4616] - yyc4616 = true + } else if yyl4680 != len(yyv4680) { + yyv4680 = yyv4680[:yyl4680] + yyc4680 = true } - yyj4616 := 0 - for ; yyj4616 < yyrr4616; yyj4616++ { - yyh4616.ElemContainerState(yyj4616) + yyj4680 := 0 + for ; yyj4680 < yyrr4680; yyj4680++ { + yyh4680.ElemContainerState(yyj4680) if r.TryDecodeAsNil() { - yyv4616[yyj4616] = WeightedPodAffinityTerm{} + yyv4680[yyj4680] = WeightedPodAffinityTerm{} } else { - yyv4617 := &yyv4616[yyj4616] - yyv4617.CodecDecodeSelf(d) + yyv4681 := &yyv4680[yyj4680] + yyv4681.CodecDecodeSelf(d) } } - if yyrt4616 { - for ; yyj4616 < yyl4616; yyj4616++ { - yyv4616 = append(yyv4616, WeightedPodAffinityTerm{}) - yyh4616.ElemContainerState(yyj4616) + if yyrt4680 { + for ; yyj4680 < yyl4680; yyj4680++ { + yyv4680 = append(yyv4680, WeightedPodAffinityTerm{}) + yyh4680.ElemContainerState(yyj4680) if r.TryDecodeAsNil() { - yyv4616[yyj4616] = WeightedPodAffinityTerm{} + yyv4680[yyj4680] = WeightedPodAffinityTerm{} } else { - yyv4618 := &yyv4616[yyj4616] - yyv4618.CodecDecodeSelf(d) + yyv4682 := &yyv4680[yyj4680] + yyv4682.CodecDecodeSelf(d) } } } } else { - yyj4616 := 0 - for ; !r.CheckBreak(); yyj4616++ { + yyj4680 := 0 + for ; !r.CheckBreak(); yyj4680++ { - if yyj4616 >= len(yyv4616) { - yyv4616 = append(yyv4616, WeightedPodAffinityTerm{}) // var yyz4616 WeightedPodAffinityTerm - yyc4616 = true + if yyj4680 >= len(yyv4680) { + yyv4680 = append(yyv4680, WeightedPodAffinityTerm{}) // var yyz4680 WeightedPodAffinityTerm + yyc4680 = true } - yyh4616.ElemContainerState(yyj4616) - if yyj4616 < len(yyv4616) { + yyh4680.ElemContainerState(yyj4680) + if yyj4680 < len(yyv4680) { if r.TryDecodeAsNil() { - yyv4616[yyj4616] = WeightedPodAffinityTerm{} + yyv4680[yyj4680] = WeightedPodAffinityTerm{} } else { - yyv4619 := &yyv4616[yyj4616] - yyv4619.CodecDecodeSelf(d) + yyv4683 := &yyv4680[yyj4680] + yyv4683.CodecDecodeSelf(d) } } else { @@ -58012,17 +58700,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj4616 < len(yyv4616) { - yyv4616 = yyv4616[:yyj4616] - yyc4616 = true - } else if yyj4616 == 0 && yyv4616 == nil { - yyv4616 = []WeightedPodAffinityTerm{} - yyc4616 = true + if yyj4680 < len(yyv4680) { + yyv4680 = yyv4680[:yyj4680] + yyc4680 = true + } else if yyj4680 == 0 && yyv4680 == nil { + yyv4680 = []WeightedPodAffinityTerm{} + yyc4680 = true } } - yyh4616.End() - if yyc4616 { - *v = yyv4616 + yyh4680.End() + if yyc4680 { + *v = yyv4680 } } @@ -58031,10 +58719,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4620 := range v { + for _, yyv4684 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4621 := &yyv4620 - yy4621.CodecEncodeSelf(e) + yy4685 := &yyv4684 + yy4685.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58044,83 +58732,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4622 := *v - yyh4622, yyl4622 := z.DecSliceHelperStart() - var yyc4622 bool - if yyl4622 == 0 { - if yyv4622 == nil { - yyv4622 = []PreferredSchedulingTerm{} - yyc4622 = true - } else if len(yyv4622) != 0 { - yyv4622 = yyv4622[:0] - yyc4622 = true + 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 } - } else if yyl4622 > 0 { - var yyrr4622, yyrl4622 int - var yyrt4622 bool - if yyl4622 > cap(yyv4622) { + } else if yyl4686 > 0 { + var yyrr4686, yyrl4686 int + var yyrt4686 bool + if yyl4686 > cap(yyv4686) { - yyrg4622 := len(yyv4622) > 0 - yyv24622 := yyv4622 - yyrl4622, yyrt4622 = z.DecInferLen(yyl4622, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4622 { - if yyrl4622 <= cap(yyv4622) { - yyv4622 = yyv4622[:yyrl4622] + yyrg4686 := len(yyv4686) > 0 + yyv24686 := yyv4686 + yyrl4686, yyrt4686 = z.DecInferLen(yyl4686, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4686 { + if yyrl4686 <= cap(yyv4686) { + yyv4686 = yyv4686[:yyrl4686] } else { - yyv4622 = make([]PreferredSchedulingTerm, yyrl4622) + yyv4686 = make([]PreferredSchedulingTerm, yyrl4686) } } else { - yyv4622 = make([]PreferredSchedulingTerm, yyrl4622) + yyv4686 = make([]PreferredSchedulingTerm, yyrl4686) } - yyc4622 = true - yyrr4622 = len(yyv4622) - if yyrg4622 { - copy(yyv4622, yyv24622) + yyc4686 = true + yyrr4686 = len(yyv4686) + if yyrg4686 { + copy(yyv4686, yyv24686) } - } else if yyl4622 != len(yyv4622) { - yyv4622 = yyv4622[:yyl4622] - yyc4622 = true + } else if yyl4686 != len(yyv4686) { + yyv4686 = yyv4686[:yyl4686] + yyc4686 = true } - yyj4622 := 0 - for ; yyj4622 < yyrr4622; yyj4622++ { - yyh4622.ElemContainerState(yyj4622) + yyj4686 := 0 + for ; yyj4686 < yyrr4686; yyj4686++ { + yyh4686.ElemContainerState(yyj4686) if r.TryDecodeAsNil() { - yyv4622[yyj4622] = PreferredSchedulingTerm{} + yyv4686[yyj4686] = PreferredSchedulingTerm{} } else { - yyv4623 := &yyv4622[yyj4622] - yyv4623.CodecDecodeSelf(d) + yyv4687 := &yyv4686[yyj4686] + yyv4687.CodecDecodeSelf(d) } } - if yyrt4622 { - for ; yyj4622 < yyl4622; yyj4622++ { - yyv4622 = append(yyv4622, PreferredSchedulingTerm{}) - yyh4622.ElemContainerState(yyj4622) + if yyrt4686 { + for ; yyj4686 < yyl4686; yyj4686++ { + yyv4686 = append(yyv4686, PreferredSchedulingTerm{}) + yyh4686.ElemContainerState(yyj4686) if r.TryDecodeAsNil() { - yyv4622[yyj4622] = PreferredSchedulingTerm{} + yyv4686[yyj4686] = PreferredSchedulingTerm{} } else { - yyv4624 := &yyv4622[yyj4622] - yyv4624.CodecDecodeSelf(d) + yyv4688 := &yyv4686[yyj4686] + yyv4688.CodecDecodeSelf(d) } } } } else { - yyj4622 := 0 - for ; !r.CheckBreak(); yyj4622++ { + yyj4686 := 0 + for ; !r.CheckBreak(); yyj4686++ { - if yyj4622 >= len(yyv4622) { - yyv4622 = append(yyv4622, PreferredSchedulingTerm{}) // var yyz4622 PreferredSchedulingTerm - yyc4622 = true + if yyj4686 >= len(yyv4686) { + yyv4686 = append(yyv4686, PreferredSchedulingTerm{}) // var yyz4686 PreferredSchedulingTerm + yyc4686 = true } - yyh4622.ElemContainerState(yyj4622) - if yyj4622 < len(yyv4622) { + yyh4686.ElemContainerState(yyj4686) + if yyj4686 < len(yyv4686) { if r.TryDecodeAsNil() { - yyv4622[yyj4622] = PreferredSchedulingTerm{} + yyv4686[yyj4686] = PreferredSchedulingTerm{} } else { - yyv4625 := &yyv4622[yyj4622] - yyv4625.CodecDecodeSelf(d) + yyv4689 := &yyv4686[yyj4686] + yyv4689.CodecDecodeSelf(d) } } else { @@ -58128,17 +58816,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj4622 < len(yyv4622) { - yyv4622 = yyv4622[:yyj4622] - yyc4622 = true - } else if yyj4622 == 0 && yyv4622 == nil { - yyv4622 = []PreferredSchedulingTerm{} - yyc4622 = true + if yyj4686 < len(yyv4686) { + yyv4686 = yyv4686[:yyj4686] + yyc4686 = true + } else if yyj4686 == 0 && yyv4686 == nil { + yyv4686 = []PreferredSchedulingTerm{} + yyc4686 = true } } - yyh4622.End() - if yyc4622 { - *v = yyv4622 + yyh4686.End() + if yyc4686 { + *v = yyv4686 } } @@ -58147,10 +58835,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4626 := range v { + for _, yyv4690 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4627 := &yyv4626 - yy4627.CodecEncodeSelf(e) + yy4691 := &yyv4690 + yy4691.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58160,83 +58848,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4628 := *v - yyh4628, yyl4628 := z.DecSliceHelperStart() - var yyc4628 bool - if yyl4628 == 0 { - if yyv4628 == nil { - yyv4628 = []Volume{} - yyc4628 = true - } else if len(yyv4628) != 0 { - yyv4628 = yyv4628[:0] - yyc4628 = true + 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 } - } else if yyl4628 > 0 { - var yyrr4628, yyrl4628 int - var yyrt4628 bool - if yyl4628 > cap(yyv4628) { + } else if yyl4692 > 0 { + var yyrr4692, yyrl4692 int + var yyrt4692 bool + if yyl4692 > cap(yyv4692) { - yyrg4628 := len(yyv4628) > 0 - yyv24628 := yyv4628 - yyrl4628, yyrt4628 = z.DecInferLen(yyl4628, z.DecBasicHandle().MaxInitLen, 192) - if yyrt4628 { - if yyrl4628 <= cap(yyv4628) { - yyv4628 = yyv4628[:yyrl4628] + yyrg4692 := len(yyv4692) > 0 + yyv24692 := yyv4692 + yyrl4692, yyrt4692 = z.DecInferLen(yyl4692, z.DecBasicHandle().MaxInitLen, 192) + if yyrt4692 { + if yyrl4692 <= cap(yyv4692) { + yyv4692 = yyv4692[:yyrl4692] } else { - yyv4628 = make([]Volume, yyrl4628) + yyv4692 = make([]Volume, yyrl4692) } } else { - yyv4628 = make([]Volume, yyrl4628) + yyv4692 = make([]Volume, yyrl4692) } - yyc4628 = true - yyrr4628 = len(yyv4628) - if yyrg4628 { - copy(yyv4628, yyv24628) + yyc4692 = true + yyrr4692 = len(yyv4692) + if yyrg4692 { + copy(yyv4692, yyv24692) } - } else if yyl4628 != len(yyv4628) { - yyv4628 = yyv4628[:yyl4628] - yyc4628 = true + } else if yyl4692 != len(yyv4692) { + yyv4692 = yyv4692[:yyl4692] + yyc4692 = true } - yyj4628 := 0 - for ; yyj4628 < yyrr4628; yyj4628++ { - yyh4628.ElemContainerState(yyj4628) + yyj4692 := 0 + for ; yyj4692 < yyrr4692; yyj4692++ { + yyh4692.ElemContainerState(yyj4692) if r.TryDecodeAsNil() { - yyv4628[yyj4628] = Volume{} + yyv4692[yyj4692] = Volume{} } else { - yyv4629 := &yyv4628[yyj4628] - yyv4629.CodecDecodeSelf(d) + yyv4693 := &yyv4692[yyj4692] + yyv4693.CodecDecodeSelf(d) } } - if yyrt4628 { - for ; yyj4628 < yyl4628; yyj4628++ { - yyv4628 = append(yyv4628, Volume{}) - yyh4628.ElemContainerState(yyj4628) + if yyrt4692 { + for ; yyj4692 < yyl4692; yyj4692++ { + yyv4692 = append(yyv4692, Volume{}) + yyh4692.ElemContainerState(yyj4692) if r.TryDecodeAsNil() { - yyv4628[yyj4628] = Volume{} + yyv4692[yyj4692] = Volume{} } else { - yyv4630 := &yyv4628[yyj4628] - yyv4630.CodecDecodeSelf(d) + yyv4694 := &yyv4692[yyj4692] + yyv4694.CodecDecodeSelf(d) } } } } else { - yyj4628 := 0 - for ; !r.CheckBreak(); yyj4628++ { + yyj4692 := 0 + for ; !r.CheckBreak(); yyj4692++ { - if yyj4628 >= len(yyv4628) { - yyv4628 = append(yyv4628, Volume{}) // var yyz4628 Volume - yyc4628 = true + if yyj4692 >= len(yyv4692) { + yyv4692 = append(yyv4692, Volume{}) // var yyz4692 Volume + yyc4692 = true } - yyh4628.ElemContainerState(yyj4628) - if yyj4628 < len(yyv4628) { + yyh4692.ElemContainerState(yyj4692) + if yyj4692 < len(yyv4692) { if r.TryDecodeAsNil() { - yyv4628[yyj4628] = Volume{} + yyv4692[yyj4692] = Volume{} } else { - yyv4631 := &yyv4628[yyj4628] - yyv4631.CodecDecodeSelf(d) + yyv4695 := &yyv4692[yyj4692] + yyv4695.CodecDecodeSelf(d) } } else { @@ -58244,17 +58932,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj4628 < len(yyv4628) { - yyv4628 = yyv4628[:yyj4628] - yyc4628 = true - } else if yyj4628 == 0 && yyv4628 == nil { - yyv4628 = []Volume{} - yyc4628 = true + if yyj4692 < len(yyv4692) { + yyv4692 = yyv4692[:yyj4692] + yyc4692 = true + } else if yyj4692 == 0 && yyv4692 == nil { + yyv4692 = []Volume{} + yyc4692 = true } } - yyh4628.End() - if yyc4628 { - *v = yyv4628 + yyh4692.End() + if yyc4692 { + *v = yyv4692 } } @@ -58263,10 +58951,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4632 := range v { + for _, yyv4696 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4633 := &yyv4632 - yy4633.CodecEncodeSelf(e) + yy4697 := &yyv4696 + yy4697.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58276,83 +58964,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4634 := *v - yyh4634, yyl4634 := z.DecSliceHelperStart() - var yyc4634 bool - if yyl4634 == 0 { - if yyv4634 == nil { - yyv4634 = []Container{} - yyc4634 = true - } else if len(yyv4634) != 0 { - yyv4634 = yyv4634[:0] - yyc4634 = true + 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 } - } else if yyl4634 > 0 { - var yyrr4634, yyrl4634 int - var yyrt4634 bool - if yyl4634 > cap(yyv4634) { + } else if yyl4698 > 0 { + var yyrr4698, yyrl4698 int + var yyrt4698 bool + if yyl4698 > cap(yyv4698) { - yyrg4634 := len(yyv4634) > 0 - yyv24634 := yyv4634 - yyrl4634, yyrt4634 = z.DecInferLen(yyl4634, z.DecBasicHandle().MaxInitLen, 256) - if yyrt4634 { - if yyrl4634 <= cap(yyv4634) { - yyv4634 = yyv4634[:yyrl4634] + yyrg4698 := len(yyv4698) > 0 + yyv24698 := yyv4698 + yyrl4698, yyrt4698 = z.DecInferLen(yyl4698, z.DecBasicHandle().MaxInitLen, 256) + if yyrt4698 { + if yyrl4698 <= cap(yyv4698) { + yyv4698 = yyv4698[:yyrl4698] } else { - yyv4634 = make([]Container, yyrl4634) + yyv4698 = make([]Container, yyrl4698) } } else { - yyv4634 = make([]Container, yyrl4634) + yyv4698 = make([]Container, yyrl4698) } - yyc4634 = true - yyrr4634 = len(yyv4634) - if yyrg4634 { - copy(yyv4634, yyv24634) + yyc4698 = true + yyrr4698 = len(yyv4698) + if yyrg4698 { + copy(yyv4698, yyv24698) } - } else if yyl4634 != len(yyv4634) { - yyv4634 = yyv4634[:yyl4634] - yyc4634 = true + } else if yyl4698 != len(yyv4698) { + yyv4698 = yyv4698[:yyl4698] + yyc4698 = true } - yyj4634 := 0 - for ; yyj4634 < yyrr4634; yyj4634++ { - yyh4634.ElemContainerState(yyj4634) + yyj4698 := 0 + for ; yyj4698 < yyrr4698; yyj4698++ { + yyh4698.ElemContainerState(yyj4698) if r.TryDecodeAsNil() { - yyv4634[yyj4634] = Container{} + yyv4698[yyj4698] = Container{} } else { - yyv4635 := &yyv4634[yyj4634] - yyv4635.CodecDecodeSelf(d) + yyv4699 := &yyv4698[yyj4698] + yyv4699.CodecDecodeSelf(d) } } - if yyrt4634 { - for ; yyj4634 < yyl4634; yyj4634++ { - yyv4634 = append(yyv4634, Container{}) - yyh4634.ElemContainerState(yyj4634) + if yyrt4698 { + for ; yyj4698 < yyl4698; yyj4698++ { + yyv4698 = append(yyv4698, Container{}) + yyh4698.ElemContainerState(yyj4698) if r.TryDecodeAsNil() { - yyv4634[yyj4634] = Container{} + yyv4698[yyj4698] = Container{} } else { - yyv4636 := &yyv4634[yyj4634] - yyv4636.CodecDecodeSelf(d) + yyv4700 := &yyv4698[yyj4698] + yyv4700.CodecDecodeSelf(d) } } } } else { - yyj4634 := 0 - for ; !r.CheckBreak(); yyj4634++ { + yyj4698 := 0 + for ; !r.CheckBreak(); yyj4698++ { - if yyj4634 >= len(yyv4634) { - yyv4634 = append(yyv4634, Container{}) // var yyz4634 Container - yyc4634 = true + if yyj4698 >= len(yyv4698) { + yyv4698 = append(yyv4698, Container{}) // var yyz4698 Container + yyc4698 = true } - yyh4634.ElemContainerState(yyj4634) - if yyj4634 < len(yyv4634) { + yyh4698.ElemContainerState(yyj4698) + if yyj4698 < len(yyv4698) { if r.TryDecodeAsNil() { - yyv4634[yyj4634] = Container{} + yyv4698[yyj4698] = Container{} } else { - yyv4637 := &yyv4634[yyj4634] - yyv4637.CodecDecodeSelf(d) + yyv4701 := &yyv4698[yyj4698] + yyv4701.CodecDecodeSelf(d) } } else { @@ -58360,17 +59048,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj4634 < len(yyv4634) { - yyv4634 = yyv4634[:yyj4634] - yyc4634 = true - } else if yyj4634 == 0 && yyv4634 == nil { - yyv4634 = []Container{} - yyc4634 = true + if yyj4698 < len(yyv4698) { + yyv4698 = yyv4698[:yyj4698] + yyc4698 = true + } else if yyj4698 == 0 && yyv4698 == nil { + yyv4698 = []Container{} + yyc4698 = true } } - yyh4634.End() - if yyc4634 { - *v = yyv4634 + yyh4698.End() + if yyc4698 { + *v = yyv4698 } } @@ -58379,10 +59067,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4638 := range v { + for _, yyv4702 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4639 := &yyv4638 - yy4639.CodecEncodeSelf(e) + yy4703 := &yyv4702 + yy4703.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58392,83 +59080,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4640 := *v - yyh4640, yyl4640 := z.DecSliceHelperStart() - var yyc4640 bool - if yyl4640 == 0 { - if yyv4640 == nil { - yyv4640 = []LocalObjectReference{} - yyc4640 = true - } else if len(yyv4640) != 0 { - yyv4640 = yyv4640[:0] - yyc4640 = true + 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 } - } else if yyl4640 > 0 { - var yyrr4640, yyrl4640 int - var yyrt4640 bool - if yyl4640 > cap(yyv4640) { + } else if yyl4704 > 0 { + var yyrr4704, yyrl4704 int + var yyrt4704 bool + if yyl4704 > cap(yyv4704) { - yyrg4640 := len(yyv4640) > 0 - yyv24640 := yyv4640 - yyrl4640, yyrt4640 = z.DecInferLen(yyl4640, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4640 { - if yyrl4640 <= cap(yyv4640) { - yyv4640 = yyv4640[:yyrl4640] + yyrg4704 := len(yyv4704) > 0 + yyv24704 := yyv4704 + yyrl4704, yyrt4704 = z.DecInferLen(yyl4704, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4704 { + if yyrl4704 <= cap(yyv4704) { + yyv4704 = yyv4704[:yyrl4704] } else { - yyv4640 = make([]LocalObjectReference, yyrl4640) + yyv4704 = make([]LocalObjectReference, yyrl4704) } } else { - yyv4640 = make([]LocalObjectReference, yyrl4640) + yyv4704 = make([]LocalObjectReference, yyrl4704) } - yyc4640 = true - yyrr4640 = len(yyv4640) - if yyrg4640 { - copy(yyv4640, yyv24640) + yyc4704 = true + yyrr4704 = len(yyv4704) + if yyrg4704 { + copy(yyv4704, yyv24704) } - } else if yyl4640 != len(yyv4640) { - yyv4640 = yyv4640[:yyl4640] - yyc4640 = true + } else if yyl4704 != len(yyv4704) { + yyv4704 = yyv4704[:yyl4704] + yyc4704 = true } - yyj4640 := 0 - for ; yyj4640 < yyrr4640; yyj4640++ { - yyh4640.ElemContainerState(yyj4640) + yyj4704 := 0 + for ; yyj4704 < yyrr4704; yyj4704++ { + yyh4704.ElemContainerState(yyj4704) if r.TryDecodeAsNil() { - yyv4640[yyj4640] = LocalObjectReference{} + yyv4704[yyj4704] = LocalObjectReference{} } else { - yyv4641 := &yyv4640[yyj4640] - yyv4641.CodecDecodeSelf(d) + yyv4705 := &yyv4704[yyj4704] + yyv4705.CodecDecodeSelf(d) } } - if yyrt4640 { - for ; yyj4640 < yyl4640; yyj4640++ { - yyv4640 = append(yyv4640, LocalObjectReference{}) - yyh4640.ElemContainerState(yyj4640) + if yyrt4704 { + for ; yyj4704 < yyl4704; yyj4704++ { + yyv4704 = append(yyv4704, LocalObjectReference{}) + yyh4704.ElemContainerState(yyj4704) if r.TryDecodeAsNil() { - yyv4640[yyj4640] = LocalObjectReference{} + yyv4704[yyj4704] = LocalObjectReference{} } else { - yyv4642 := &yyv4640[yyj4640] - yyv4642.CodecDecodeSelf(d) + yyv4706 := &yyv4704[yyj4704] + yyv4706.CodecDecodeSelf(d) } } } } else { - yyj4640 := 0 - for ; !r.CheckBreak(); yyj4640++ { + yyj4704 := 0 + for ; !r.CheckBreak(); yyj4704++ { - if yyj4640 >= len(yyv4640) { - yyv4640 = append(yyv4640, LocalObjectReference{}) // var yyz4640 LocalObjectReference - yyc4640 = true + if yyj4704 >= len(yyv4704) { + yyv4704 = append(yyv4704, LocalObjectReference{}) // var yyz4704 LocalObjectReference + yyc4704 = true } - yyh4640.ElemContainerState(yyj4640) - if yyj4640 < len(yyv4640) { + yyh4704.ElemContainerState(yyj4704) + if yyj4704 < len(yyv4704) { if r.TryDecodeAsNil() { - yyv4640[yyj4640] = LocalObjectReference{} + yyv4704[yyj4704] = LocalObjectReference{} } else { - yyv4643 := &yyv4640[yyj4640] - yyv4643.CodecDecodeSelf(d) + yyv4707 := &yyv4704[yyj4704] + yyv4707.CodecDecodeSelf(d) } } else { @@ -58476,17 +59164,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj4640 < len(yyv4640) { - yyv4640 = yyv4640[:yyj4640] - yyc4640 = true - } else if yyj4640 == 0 && yyv4640 == nil { - yyv4640 = []LocalObjectReference{} - yyc4640 = true + if yyj4704 < len(yyv4704) { + yyv4704 = yyv4704[:yyj4704] + yyc4704 = true + } else if yyj4704 == 0 && yyv4704 == nil { + yyv4704 = []LocalObjectReference{} + yyc4704 = true } } - yyh4640.End() - if yyc4640 { - *v = yyv4640 + yyh4704.End() + if yyc4704 { + *v = yyv4704 } } @@ -58495,10 +59183,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4644 := range v { + for _, yyv4708 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4645 := &yyv4644 - yy4645.CodecEncodeSelf(e) + yy4709 := &yyv4708 + yy4709.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58508,83 +59196,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4646 := *v - yyh4646, yyl4646 := z.DecSliceHelperStart() - var yyc4646 bool - if yyl4646 == 0 { - if yyv4646 == nil { - yyv4646 = []PodCondition{} - yyc4646 = true - } else if len(yyv4646) != 0 { - yyv4646 = yyv4646[:0] - yyc4646 = true + 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 } - } else if yyl4646 > 0 { - var yyrr4646, yyrl4646 int - var yyrt4646 bool - if yyl4646 > cap(yyv4646) { + } else if yyl4710 > 0 { + var yyrr4710, yyrl4710 int + var yyrt4710 bool + if yyl4710 > cap(yyv4710) { - yyrg4646 := len(yyv4646) > 0 - yyv24646 := yyv4646 - yyrl4646, yyrt4646 = z.DecInferLen(yyl4646, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4646 { - if yyrl4646 <= cap(yyv4646) { - yyv4646 = yyv4646[:yyrl4646] + yyrg4710 := len(yyv4710) > 0 + yyv24710 := yyv4710 + yyrl4710, yyrt4710 = z.DecInferLen(yyl4710, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4710 { + if yyrl4710 <= cap(yyv4710) { + yyv4710 = yyv4710[:yyrl4710] } else { - yyv4646 = make([]PodCondition, yyrl4646) + yyv4710 = make([]PodCondition, yyrl4710) } } else { - yyv4646 = make([]PodCondition, yyrl4646) + yyv4710 = make([]PodCondition, yyrl4710) } - yyc4646 = true - yyrr4646 = len(yyv4646) - if yyrg4646 { - copy(yyv4646, yyv24646) + yyc4710 = true + yyrr4710 = len(yyv4710) + if yyrg4710 { + copy(yyv4710, yyv24710) } - } else if yyl4646 != len(yyv4646) { - yyv4646 = yyv4646[:yyl4646] - yyc4646 = true + } else if yyl4710 != len(yyv4710) { + yyv4710 = yyv4710[:yyl4710] + yyc4710 = true } - yyj4646 := 0 - for ; yyj4646 < yyrr4646; yyj4646++ { - yyh4646.ElemContainerState(yyj4646) + yyj4710 := 0 + for ; yyj4710 < yyrr4710; yyj4710++ { + yyh4710.ElemContainerState(yyj4710) if r.TryDecodeAsNil() { - yyv4646[yyj4646] = PodCondition{} + yyv4710[yyj4710] = PodCondition{} } else { - yyv4647 := &yyv4646[yyj4646] - yyv4647.CodecDecodeSelf(d) + yyv4711 := &yyv4710[yyj4710] + yyv4711.CodecDecodeSelf(d) } } - if yyrt4646 { - for ; yyj4646 < yyl4646; yyj4646++ { - yyv4646 = append(yyv4646, PodCondition{}) - yyh4646.ElemContainerState(yyj4646) + if yyrt4710 { + for ; yyj4710 < yyl4710; yyj4710++ { + yyv4710 = append(yyv4710, PodCondition{}) + yyh4710.ElemContainerState(yyj4710) if r.TryDecodeAsNil() { - yyv4646[yyj4646] = PodCondition{} + yyv4710[yyj4710] = PodCondition{} } else { - yyv4648 := &yyv4646[yyj4646] - yyv4648.CodecDecodeSelf(d) + yyv4712 := &yyv4710[yyj4710] + yyv4712.CodecDecodeSelf(d) } } } } else { - yyj4646 := 0 - for ; !r.CheckBreak(); yyj4646++ { + yyj4710 := 0 + for ; !r.CheckBreak(); yyj4710++ { - if yyj4646 >= len(yyv4646) { - yyv4646 = append(yyv4646, PodCondition{}) // var yyz4646 PodCondition - yyc4646 = true + if yyj4710 >= len(yyv4710) { + yyv4710 = append(yyv4710, PodCondition{}) // var yyz4710 PodCondition + yyc4710 = true } - yyh4646.ElemContainerState(yyj4646) - if yyj4646 < len(yyv4646) { + yyh4710.ElemContainerState(yyj4710) + if yyj4710 < len(yyv4710) { if r.TryDecodeAsNil() { - yyv4646[yyj4646] = PodCondition{} + yyv4710[yyj4710] = PodCondition{} } else { - yyv4649 := &yyv4646[yyj4646] - yyv4649.CodecDecodeSelf(d) + yyv4713 := &yyv4710[yyj4710] + yyv4713.CodecDecodeSelf(d) } } else { @@ -58592,17 +59280,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj4646 < len(yyv4646) { - yyv4646 = yyv4646[:yyj4646] - yyc4646 = true - } else if yyj4646 == 0 && yyv4646 == nil { - yyv4646 = []PodCondition{} - yyc4646 = true + if yyj4710 < len(yyv4710) { + yyv4710 = yyv4710[:yyj4710] + yyc4710 = true + } else if yyj4710 == 0 && yyv4710 == nil { + yyv4710 = []PodCondition{} + yyc4710 = true } } - yyh4646.End() - if yyc4646 { - *v = yyv4646 + yyh4710.End() + if yyc4710 { + *v = yyv4710 } } @@ -58611,10 +59299,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4650 := range v { + for _, yyv4714 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4651 := &yyv4650 - yy4651.CodecEncodeSelf(e) + yy4715 := &yyv4714 + yy4715.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58624,83 +59312,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4652 := *v - yyh4652, yyl4652 := z.DecSliceHelperStart() - var yyc4652 bool - if yyl4652 == 0 { - if yyv4652 == nil { - yyv4652 = []ContainerStatus{} - yyc4652 = true - } else if len(yyv4652) != 0 { - yyv4652 = yyv4652[:0] - yyc4652 = true + 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 } - } else if yyl4652 > 0 { - var yyrr4652, yyrl4652 int - var yyrt4652 bool - if yyl4652 > cap(yyv4652) { + } else if yyl4716 > 0 { + var yyrr4716, yyrl4716 int + var yyrt4716 bool + if yyl4716 > cap(yyv4716) { - yyrg4652 := len(yyv4652) > 0 - yyv24652 := yyv4652 - yyrl4652, yyrt4652 = z.DecInferLen(yyl4652, z.DecBasicHandle().MaxInitLen, 120) - if yyrt4652 { - if yyrl4652 <= cap(yyv4652) { - yyv4652 = yyv4652[:yyrl4652] + yyrg4716 := len(yyv4716) > 0 + yyv24716 := yyv4716 + yyrl4716, yyrt4716 = z.DecInferLen(yyl4716, z.DecBasicHandle().MaxInitLen, 120) + if yyrt4716 { + if yyrl4716 <= cap(yyv4716) { + yyv4716 = yyv4716[:yyrl4716] } else { - yyv4652 = make([]ContainerStatus, yyrl4652) + yyv4716 = make([]ContainerStatus, yyrl4716) } } else { - yyv4652 = make([]ContainerStatus, yyrl4652) + yyv4716 = make([]ContainerStatus, yyrl4716) } - yyc4652 = true - yyrr4652 = len(yyv4652) - if yyrg4652 { - copy(yyv4652, yyv24652) + yyc4716 = true + yyrr4716 = len(yyv4716) + if yyrg4716 { + copy(yyv4716, yyv24716) } - } else if yyl4652 != len(yyv4652) { - yyv4652 = yyv4652[:yyl4652] - yyc4652 = true + } else if yyl4716 != len(yyv4716) { + yyv4716 = yyv4716[:yyl4716] + yyc4716 = true } - yyj4652 := 0 - for ; yyj4652 < yyrr4652; yyj4652++ { - yyh4652.ElemContainerState(yyj4652) + yyj4716 := 0 + for ; yyj4716 < yyrr4716; yyj4716++ { + yyh4716.ElemContainerState(yyj4716) if r.TryDecodeAsNil() { - yyv4652[yyj4652] = ContainerStatus{} + yyv4716[yyj4716] = ContainerStatus{} } else { - yyv4653 := &yyv4652[yyj4652] - yyv4653.CodecDecodeSelf(d) + yyv4717 := &yyv4716[yyj4716] + yyv4717.CodecDecodeSelf(d) } } - if yyrt4652 { - for ; yyj4652 < yyl4652; yyj4652++ { - yyv4652 = append(yyv4652, ContainerStatus{}) - yyh4652.ElemContainerState(yyj4652) + if yyrt4716 { + for ; yyj4716 < yyl4716; yyj4716++ { + yyv4716 = append(yyv4716, ContainerStatus{}) + yyh4716.ElemContainerState(yyj4716) if r.TryDecodeAsNil() { - yyv4652[yyj4652] = ContainerStatus{} + yyv4716[yyj4716] = ContainerStatus{} } else { - yyv4654 := &yyv4652[yyj4652] - yyv4654.CodecDecodeSelf(d) + yyv4718 := &yyv4716[yyj4716] + yyv4718.CodecDecodeSelf(d) } } } } else { - yyj4652 := 0 - for ; !r.CheckBreak(); yyj4652++ { + yyj4716 := 0 + for ; !r.CheckBreak(); yyj4716++ { - if yyj4652 >= len(yyv4652) { - yyv4652 = append(yyv4652, ContainerStatus{}) // var yyz4652 ContainerStatus - yyc4652 = true + if yyj4716 >= len(yyv4716) { + yyv4716 = append(yyv4716, ContainerStatus{}) // var yyz4716 ContainerStatus + yyc4716 = true } - yyh4652.ElemContainerState(yyj4652) - if yyj4652 < len(yyv4652) { + yyh4716.ElemContainerState(yyj4716) + if yyj4716 < len(yyv4716) { if r.TryDecodeAsNil() { - yyv4652[yyj4652] = ContainerStatus{} + yyv4716[yyj4716] = ContainerStatus{} } else { - yyv4655 := &yyv4652[yyj4652] - yyv4655.CodecDecodeSelf(d) + yyv4719 := &yyv4716[yyj4716] + yyv4719.CodecDecodeSelf(d) } } else { @@ -58708,17 +59396,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj4652 < len(yyv4652) { - yyv4652 = yyv4652[:yyj4652] - yyc4652 = true - } else if yyj4652 == 0 && yyv4652 == nil { - yyv4652 = []ContainerStatus{} - yyc4652 = true + if yyj4716 < len(yyv4716) { + yyv4716 = yyv4716[:yyj4716] + yyc4716 = true + } else if yyj4716 == 0 && yyv4716 == nil { + yyv4716 = []ContainerStatus{} + yyc4716 = true } } - yyh4652.End() - if yyc4652 { - *v = yyv4652 + yyh4716.End() + if yyc4716 { + *v = yyv4716 } } @@ -58727,10 +59415,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4656 := range v { + for _, yyv4720 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4657 := &yyv4656 - yy4657.CodecEncodeSelf(e) + yy4721 := &yyv4720 + yy4721.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58740,83 +59428,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4658 := *v - yyh4658, yyl4658 := z.DecSliceHelperStart() - var yyc4658 bool - if yyl4658 == 0 { - if yyv4658 == nil { - yyv4658 = []PodTemplate{} - yyc4658 = true - } else if len(yyv4658) != 0 { - yyv4658 = yyv4658[:0] - yyc4658 = true + 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 } - } else if yyl4658 > 0 { - var yyrr4658, yyrl4658 int - var yyrt4658 bool - if yyl4658 > cap(yyv4658) { + } else if yyl4722 > 0 { + var yyrr4722, yyrl4722 int + var yyrt4722 bool + if yyl4722 > cap(yyv4722) { - yyrg4658 := len(yyv4658) > 0 - yyv24658 := yyv4658 - yyrl4658, yyrt4658 = z.DecInferLen(yyl4658, z.DecBasicHandle().MaxInitLen, 704) - if yyrt4658 { - if yyrl4658 <= cap(yyv4658) { - yyv4658 = yyv4658[:yyrl4658] + yyrg4722 := len(yyv4722) > 0 + yyv24722 := yyv4722 + yyrl4722, yyrt4722 = z.DecInferLen(yyl4722, z.DecBasicHandle().MaxInitLen, 704) + if yyrt4722 { + if yyrl4722 <= cap(yyv4722) { + yyv4722 = yyv4722[:yyrl4722] } else { - yyv4658 = make([]PodTemplate, yyrl4658) + yyv4722 = make([]PodTemplate, yyrl4722) } } else { - yyv4658 = make([]PodTemplate, yyrl4658) + yyv4722 = make([]PodTemplate, yyrl4722) } - yyc4658 = true - yyrr4658 = len(yyv4658) - if yyrg4658 { - copy(yyv4658, yyv24658) + yyc4722 = true + yyrr4722 = len(yyv4722) + if yyrg4722 { + copy(yyv4722, yyv24722) } - } else if yyl4658 != len(yyv4658) { - yyv4658 = yyv4658[:yyl4658] - yyc4658 = true + } else if yyl4722 != len(yyv4722) { + yyv4722 = yyv4722[:yyl4722] + yyc4722 = true } - yyj4658 := 0 - for ; yyj4658 < yyrr4658; yyj4658++ { - yyh4658.ElemContainerState(yyj4658) + yyj4722 := 0 + for ; yyj4722 < yyrr4722; yyj4722++ { + yyh4722.ElemContainerState(yyj4722) if r.TryDecodeAsNil() { - yyv4658[yyj4658] = PodTemplate{} + yyv4722[yyj4722] = PodTemplate{} } else { - yyv4659 := &yyv4658[yyj4658] - yyv4659.CodecDecodeSelf(d) + yyv4723 := &yyv4722[yyj4722] + yyv4723.CodecDecodeSelf(d) } } - if yyrt4658 { - for ; yyj4658 < yyl4658; yyj4658++ { - yyv4658 = append(yyv4658, PodTemplate{}) - yyh4658.ElemContainerState(yyj4658) + if yyrt4722 { + for ; yyj4722 < yyl4722; yyj4722++ { + yyv4722 = append(yyv4722, PodTemplate{}) + yyh4722.ElemContainerState(yyj4722) if r.TryDecodeAsNil() { - yyv4658[yyj4658] = PodTemplate{} + yyv4722[yyj4722] = PodTemplate{} } else { - yyv4660 := &yyv4658[yyj4658] - yyv4660.CodecDecodeSelf(d) + yyv4724 := &yyv4722[yyj4722] + yyv4724.CodecDecodeSelf(d) } } } } else { - yyj4658 := 0 - for ; !r.CheckBreak(); yyj4658++ { + yyj4722 := 0 + for ; !r.CheckBreak(); yyj4722++ { - if yyj4658 >= len(yyv4658) { - yyv4658 = append(yyv4658, PodTemplate{}) // var yyz4658 PodTemplate - yyc4658 = true + if yyj4722 >= len(yyv4722) { + yyv4722 = append(yyv4722, PodTemplate{}) // var yyz4722 PodTemplate + yyc4722 = true } - yyh4658.ElemContainerState(yyj4658) - if yyj4658 < len(yyv4658) { + yyh4722.ElemContainerState(yyj4722) + if yyj4722 < len(yyv4722) { if r.TryDecodeAsNil() { - yyv4658[yyj4658] = PodTemplate{} + yyv4722[yyj4722] = PodTemplate{} } else { - yyv4661 := &yyv4658[yyj4658] - yyv4661.CodecDecodeSelf(d) + yyv4725 := &yyv4722[yyj4722] + yyv4725.CodecDecodeSelf(d) } } else { @@ -58824,17 +59512,133 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj4658 < len(yyv4658) { - yyv4658 = yyv4658[:yyj4658] - yyc4658 = true - } else if yyj4658 == 0 && yyv4658 == nil { - yyv4658 = []PodTemplate{} - yyc4658 = true + if yyj4722 < len(yyv4722) { + yyv4722 = yyv4722[:yyj4722] + yyc4722 = true + } else if yyj4722 == 0 && yyv4722 == nil { + yyv4722 = []PodTemplate{} + yyc4722 = true } } - yyh4658.End() - if yyc4658 { - *v = yyv4658 + yyh4722.End() + if yyc4722 { + *v = yyv4722 + } +} + +func (x codecSelfer1234) encSliceReplicationControllerCondition(v []ReplicationControllerCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4726 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4727 := &yyv4726 + yy4727.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]ReplicationControllerCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4728 > 0 { + var yyrr4728, yyrl4728 int + var yyrt4728 bool + if yyl4728 > cap(yyv4728) { + + yyrg4728 := len(yyv4728) > 0 + yyv24728 := yyv4728 + yyrl4728, yyrt4728 = z.DecInferLen(yyl4728, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4728 { + if yyrl4728 <= cap(yyv4728) { + yyv4728 = yyv4728[:yyrl4728] + } else { + yyv4728 = make([]ReplicationControllerCondition, yyrl4728) + } + } else { + yyv4728 = make([]ReplicationControllerCondition, yyrl4728) + } + yyc4728 = true + yyrr4728 = len(yyv4728) + if yyrg4728 { + copy(yyv4728, yyv24728) + } + } else if yyl4728 != len(yyv4728) { + yyv4728 = yyv4728[:yyl4728] + yyc4728 = true + } + yyj4728 := 0 + for ; yyj4728 < yyrr4728; yyj4728++ { + yyh4728.ElemContainerState(yyj4728) + if r.TryDecodeAsNil() { + yyv4728[yyj4728] = ReplicationControllerCondition{} + } else { + yyv4729 := &yyv4728[yyj4728] + yyv4729.CodecDecodeSelf(d) + } + + } + if yyrt4728 { + for ; yyj4728 < yyl4728; yyj4728++ { + yyv4728 = append(yyv4728, ReplicationControllerCondition{}) + yyh4728.ElemContainerState(yyj4728) + if r.TryDecodeAsNil() { + yyv4728[yyj4728] = ReplicationControllerCondition{} + } else { + yyv4730 := &yyv4728[yyj4728] + yyv4730.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4728 := 0 + for ; !r.CheckBreak(); yyj4728++ { + + if yyj4728 >= len(yyv4728) { + yyv4728 = append(yyv4728, ReplicationControllerCondition{}) // var yyz4728 ReplicationControllerCondition + yyc4728 = true + } + yyh4728.ElemContainerState(yyj4728) + if yyj4728 < len(yyv4728) { + if r.TryDecodeAsNil() { + yyv4728[yyj4728] = ReplicationControllerCondition{} + } else { + yyv4731 := &yyv4728[yyj4728] + yyv4731.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4728 < len(yyv4728) { + yyv4728 = yyv4728[:yyj4728] + yyc4728 = true + } else if yyj4728 == 0 && yyv4728 == nil { + yyv4728 = []ReplicationControllerCondition{} + yyc4728 = true + } + } + yyh4728.End() + if yyc4728 { + *v = yyv4728 } } @@ -58843,10 +59647,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4662 := range v { + for _, yyv4732 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4663 := &yyv4662 - yy4663.CodecEncodeSelf(e) + yy4733 := &yyv4732 + yy4733.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58856,83 +59660,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4664 := *v - yyh4664, yyl4664 := z.DecSliceHelperStart() - var yyc4664 bool - if yyl4664 == 0 { - if yyv4664 == nil { - yyv4664 = []ReplicationController{} - yyc4664 = true - } else if len(yyv4664) != 0 { - yyv4664 = yyv4664[:0] - yyc4664 = true + 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 } - } else if yyl4664 > 0 { - var yyrr4664, yyrl4664 int - var yyrt4664 bool - if yyl4664 > cap(yyv4664) { + } else if yyl4734 > 0 { + var yyrr4734, yyrl4734 int + var yyrt4734 bool + if yyl4734 > cap(yyv4734) { - yyrg4664 := len(yyv4664) > 0 - yyv24664 := yyv4664 - yyrl4664, yyrt4664 = z.DecInferLen(yyl4664, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4664 { - if yyrl4664 <= cap(yyv4664) { - yyv4664 = yyv4664[:yyrl4664] + yyrg4734 := len(yyv4734) > 0 + yyv24734 := yyv4734 + yyrl4734, yyrt4734 = z.DecInferLen(yyl4734, z.DecBasicHandle().MaxInitLen, 328) + if yyrt4734 { + if yyrl4734 <= cap(yyv4734) { + yyv4734 = yyv4734[:yyrl4734] } else { - yyv4664 = make([]ReplicationController, yyrl4664) + yyv4734 = make([]ReplicationController, yyrl4734) } } else { - yyv4664 = make([]ReplicationController, yyrl4664) + yyv4734 = make([]ReplicationController, yyrl4734) } - yyc4664 = true - yyrr4664 = len(yyv4664) - if yyrg4664 { - copy(yyv4664, yyv24664) + yyc4734 = true + yyrr4734 = len(yyv4734) + if yyrg4734 { + copy(yyv4734, yyv24734) } - } else if yyl4664 != len(yyv4664) { - yyv4664 = yyv4664[:yyl4664] - yyc4664 = true + } else if yyl4734 != len(yyv4734) { + yyv4734 = yyv4734[:yyl4734] + yyc4734 = true } - yyj4664 := 0 - for ; yyj4664 < yyrr4664; yyj4664++ { - yyh4664.ElemContainerState(yyj4664) + yyj4734 := 0 + for ; yyj4734 < yyrr4734; yyj4734++ { + yyh4734.ElemContainerState(yyj4734) if r.TryDecodeAsNil() { - yyv4664[yyj4664] = ReplicationController{} + yyv4734[yyj4734] = ReplicationController{} } else { - yyv4665 := &yyv4664[yyj4664] - yyv4665.CodecDecodeSelf(d) + yyv4735 := &yyv4734[yyj4734] + yyv4735.CodecDecodeSelf(d) } } - if yyrt4664 { - for ; yyj4664 < yyl4664; yyj4664++ { - yyv4664 = append(yyv4664, ReplicationController{}) - yyh4664.ElemContainerState(yyj4664) + if yyrt4734 { + for ; yyj4734 < yyl4734; yyj4734++ { + yyv4734 = append(yyv4734, ReplicationController{}) + yyh4734.ElemContainerState(yyj4734) if r.TryDecodeAsNil() { - yyv4664[yyj4664] = ReplicationController{} + yyv4734[yyj4734] = ReplicationController{} } else { - yyv4666 := &yyv4664[yyj4664] - yyv4666.CodecDecodeSelf(d) + yyv4736 := &yyv4734[yyj4734] + yyv4736.CodecDecodeSelf(d) } } } } else { - yyj4664 := 0 - for ; !r.CheckBreak(); yyj4664++ { + yyj4734 := 0 + for ; !r.CheckBreak(); yyj4734++ { - if yyj4664 >= len(yyv4664) { - yyv4664 = append(yyv4664, ReplicationController{}) // var yyz4664 ReplicationController - yyc4664 = true + if yyj4734 >= len(yyv4734) { + yyv4734 = append(yyv4734, ReplicationController{}) // var yyz4734 ReplicationController + yyc4734 = true } - yyh4664.ElemContainerState(yyj4664) - if yyj4664 < len(yyv4664) { + yyh4734.ElemContainerState(yyj4734) + if yyj4734 < len(yyv4734) { if r.TryDecodeAsNil() { - yyv4664[yyj4664] = ReplicationController{} + yyv4734[yyj4734] = ReplicationController{} } else { - yyv4667 := &yyv4664[yyj4664] - yyv4667.CodecDecodeSelf(d) + yyv4737 := &yyv4734[yyj4734] + yyv4737.CodecDecodeSelf(d) } } else { @@ -58940,17 +59744,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj4664 < len(yyv4664) { - yyv4664 = yyv4664[:yyj4664] - yyc4664 = true - } else if yyj4664 == 0 && yyv4664 == nil { - yyv4664 = []ReplicationController{} - yyc4664 = true + if yyj4734 < len(yyv4734) { + yyv4734 = yyv4734[:yyj4734] + yyc4734 = true + } else if yyj4734 == 0 && yyv4734 == nil { + yyv4734 = []ReplicationController{} + yyc4734 = true } } - yyh4664.End() - if yyc4664 { - *v = yyv4664 + yyh4734.End() + if yyc4734 { + *v = yyv4734 } } @@ -58959,10 +59763,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4668 := range v { + for _, yyv4738 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4669 := &yyv4668 - yy4669.CodecEncodeSelf(e) + yy4739 := &yyv4738 + yy4739.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58972,83 +59776,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4670 := *v - yyh4670, yyl4670 := z.DecSliceHelperStart() - var yyc4670 bool - if yyl4670 == 0 { - if yyv4670 == nil { - yyv4670 = []Service{} - yyc4670 = true - } else if len(yyv4670) != 0 { - yyv4670 = yyv4670[:0] - yyc4670 = true + 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 } - } else if yyl4670 > 0 { - var yyrr4670, yyrl4670 int - var yyrt4670 bool - if yyl4670 > cap(yyv4670) { + } else if yyl4740 > 0 { + var yyrr4740, yyrl4740 int + var yyrt4740 bool + if yyl4740 > cap(yyv4740) { - yyrg4670 := len(yyv4670) > 0 - yyv24670 := yyv4670 - yyrl4670, yyrt4670 = z.DecInferLen(yyl4670, z.DecBasicHandle().MaxInitLen, 440) - if yyrt4670 { - if yyrl4670 <= cap(yyv4670) { - yyv4670 = yyv4670[:yyrl4670] + yyrg4740 := len(yyv4740) > 0 + yyv24740 := yyv4740 + yyrl4740, yyrt4740 = z.DecInferLen(yyl4740, z.DecBasicHandle().MaxInitLen, 440) + if yyrt4740 { + if yyrl4740 <= cap(yyv4740) { + yyv4740 = yyv4740[:yyrl4740] } else { - yyv4670 = make([]Service, yyrl4670) + yyv4740 = make([]Service, yyrl4740) } } else { - yyv4670 = make([]Service, yyrl4670) + yyv4740 = make([]Service, yyrl4740) } - yyc4670 = true - yyrr4670 = len(yyv4670) - if yyrg4670 { - copy(yyv4670, yyv24670) + yyc4740 = true + yyrr4740 = len(yyv4740) + if yyrg4740 { + copy(yyv4740, yyv24740) } - } else if yyl4670 != len(yyv4670) { - yyv4670 = yyv4670[:yyl4670] - yyc4670 = true + } else if yyl4740 != len(yyv4740) { + yyv4740 = yyv4740[:yyl4740] + yyc4740 = true } - yyj4670 := 0 - for ; yyj4670 < yyrr4670; yyj4670++ { - yyh4670.ElemContainerState(yyj4670) + yyj4740 := 0 + for ; yyj4740 < yyrr4740; yyj4740++ { + yyh4740.ElemContainerState(yyj4740) if r.TryDecodeAsNil() { - yyv4670[yyj4670] = Service{} + yyv4740[yyj4740] = Service{} } else { - yyv4671 := &yyv4670[yyj4670] - yyv4671.CodecDecodeSelf(d) + yyv4741 := &yyv4740[yyj4740] + yyv4741.CodecDecodeSelf(d) } } - if yyrt4670 { - for ; yyj4670 < yyl4670; yyj4670++ { - yyv4670 = append(yyv4670, Service{}) - yyh4670.ElemContainerState(yyj4670) + if yyrt4740 { + for ; yyj4740 < yyl4740; yyj4740++ { + yyv4740 = append(yyv4740, Service{}) + yyh4740.ElemContainerState(yyj4740) if r.TryDecodeAsNil() { - yyv4670[yyj4670] = Service{} + yyv4740[yyj4740] = Service{} } else { - yyv4672 := &yyv4670[yyj4670] - yyv4672.CodecDecodeSelf(d) + yyv4742 := &yyv4740[yyj4740] + yyv4742.CodecDecodeSelf(d) } } } } else { - yyj4670 := 0 - for ; !r.CheckBreak(); yyj4670++ { + yyj4740 := 0 + for ; !r.CheckBreak(); yyj4740++ { - if yyj4670 >= len(yyv4670) { - yyv4670 = append(yyv4670, Service{}) // var yyz4670 Service - yyc4670 = true + if yyj4740 >= len(yyv4740) { + yyv4740 = append(yyv4740, Service{}) // var yyz4740 Service + yyc4740 = true } - yyh4670.ElemContainerState(yyj4670) - if yyj4670 < len(yyv4670) { + yyh4740.ElemContainerState(yyj4740) + if yyj4740 < len(yyv4740) { if r.TryDecodeAsNil() { - yyv4670[yyj4670] = Service{} + yyv4740[yyj4740] = Service{} } else { - yyv4673 := &yyv4670[yyj4670] - yyv4673.CodecDecodeSelf(d) + yyv4743 := &yyv4740[yyj4740] + yyv4743.CodecDecodeSelf(d) } } else { @@ -59056,17 +59860,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj4670 < len(yyv4670) { - yyv4670 = yyv4670[:yyj4670] - yyc4670 = true - } else if yyj4670 == 0 && yyv4670 == nil { - yyv4670 = []Service{} - yyc4670 = true + if yyj4740 < len(yyv4740) { + yyv4740 = yyv4740[:yyj4740] + yyc4740 = true + } else if yyj4740 == 0 && yyv4740 == nil { + yyv4740 = []Service{} + yyc4740 = true } } - yyh4670.End() - if yyc4670 { - *v = yyv4670 + yyh4740.End() + if yyc4740 { + *v = yyv4740 } } @@ -59075,10 +59879,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4674 := range v { + for _, yyv4744 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4675 := &yyv4674 - yy4675.CodecEncodeSelf(e) + yy4745 := &yyv4744 + yy4745.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59088,83 +59892,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4676 := *v - yyh4676, yyl4676 := z.DecSliceHelperStart() - var yyc4676 bool - if yyl4676 == 0 { - if yyv4676 == nil { - yyv4676 = []LoadBalancerIngress{} - yyc4676 = true - } else if len(yyv4676) != 0 { - yyv4676 = yyv4676[:0] - yyc4676 = true + 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 } - } else if yyl4676 > 0 { - var yyrr4676, yyrl4676 int - var yyrt4676 bool - if yyl4676 > cap(yyv4676) { + } else if yyl4746 > 0 { + var yyrr4746, yyrl4746 int + var yyrt4746 bool + if yyl4746 > cap(yyv4746) { - yyrg4676 := len(yyv4676) > 0 - yyv24676 := yyv4676 - yyrl4676, yyrt4676 = z.DecInferLen(yyl4676, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4676 { - if yyrl4676 <= cap(yyv4676) { - yyv4676 = yyv4676[:yyrl4676] + yyrg4746 := len(yyv4746) > 0 + yyv24746 := yyv4746 + yyrl4746, yyrt4746 = z.DecInferLen(yyl4746, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4746 { + if yyrl4746 <= cap(yyv4746) { + yyv4746 = yyv4746[:yyrl4746] } else { - yyv4676 = make([]LoadBalancerIngress, yyrl4676) + yyv4746 = make([]LoadBalancerIngress, yyrl4746) } } else { - yyv4676 = make([]LoadBalancerIngress, yyrl4676) + yyv4746 = make([]LoadBalancerIngress, yyrl4746) } - yyc4676 = true - yyrr4676 = len(yyv4676) - if yyrg4676 { - copy(yyv4676, yyv24676) + yyc4746 = true + yyrr4746 = len(yyv4746) + if yyrg4746 { + copy(yyv4746, yyv24746) } - } else if yyl4676 != len(yyv4676) { - yyv4676 = yyv4676[:yyl4676] - yyc4676 = true + } else if yyl4746 != len(yyv4746) { + yyv4746 = yyv4746[:yyl4746] + yyc4746 = true } - yyj4676 := 0 - for ; yyj4676 < yyrr4676; yyj4676++ { - yyh4676.ElemContainerState(yyj4676) + yyj4746 := 0 + for ; yyj4746 < yyrr4746; yyj4746++ { + yyh4746.ElemContainerState(yyj4746) if r.TryDecodeAsNil() { - yyv4676[yyj4676] = LoadBalancerIngress{} + yyv4746[yyj4746] = LoadBalancerIngress{} } else { - yyv4677 := &yyv4676[yyj4676] - yyv4677.CodecDecodeSelf(d) + yyv4747 := &yyv4746[yyj4746] + yyv4747.CodecDecodeSelf(d) } } - if yyrt4676 { - for ; yyj4676 < yyl4676; yyj4676++ { - yyv4676 = append(yyv4676, LoadBalancerIngress{}) - yyh4676.ElemContainerState(yyj4676) + if yyrt4746 { + for ; yyj4746 < yyl4746; yyj4746++ { + yyv4746 = append(yyv4746, LoadBalancerIngress{}) + yyh4746.ElemContainerState(yyj4746) if r.TryDecodeAsNil() { - yyv4676[yyj4676] = LoadBalancerIngress{} + yyv4746[yyj4746] = LoadBalancerIngress{} } else { - yyv4678 := &yyv4676[yyj4676] - yyv4678.CodecDecodeSelf(d) + yyv4748 := &yyv4746[yyj4746] + yyv4748.CodecDecodeSelf(d) } } } } else { - yyj4676 := 0 - for ; !r.CheckBreak(); yyj4676++ { + yyj4746 := 0 + for ; !r.CheckBreak(); yyj4746++ { - if yyj4676 >= len(yyv4676) { - yyv4676 = append(yyv4676, LoadBalancerIngress{}) // var yyz4676 LoadBalancerIngress - yyc4676 = true + if yyj4746 >= len(yyv4746) { + yyv4746 = append(yyv4746, LoadBalancerIngress{}) // var yyz4746 LoadBalancerIngress + yyc4746 = true } - yyh4676.ElemContainerState(yyj4676) - if yyj4676 < len(yyv4676) { + yyh4746.ElemContainerState(yyj4746) + if yyj4746 < len(yyv4746) { if r.TryDecodeAsNil() { - yyv4676[yyj4676] = LoadBalancerIngress{} + yyv4746[yyj4746] = LoadBalancerIngress{} } else { - yyv4679 := &yyv4676[yyj4676] - yyv4679.CodecDecodeSelf(d) + yyv4749 := &yyv4746[yyj4746] + yyv4749.CodecDecodeSelf(d) } } else { @@ -59172,17 +59976,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj4676 < len(yyv4676) { - yyv4676 = yyv4676[:yyj4676] - yyc4676 = true - } else if yyj4676 == 0 && yyv4676 == nil { - yyv4676 = []LoadBalancerIngress{} - yyc4676 = true + if yyj4746 < len(yyv4746) { + yyv4746 = yyv4746[:yyj4746] + yyc4746 = true + } else if yyj4746 == 0 && yyv4746 == nil { + yyv4746 = []LoadBalancerIngress{} + yyc4746 = true } } - yyh4676.End() - if yyc4676 { - *v = yyv4676 + yyh4746.End() + if yyc4746 { + *v = yyv4746 } } @@ -59191,10 +59995,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4680 := range v { + for _, yyv4750 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4681 := &yyv4680 - yy4681.CodecEncodeSelf(e) + yy4751 := &yyv4750 + yy4751.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59204,83 +60008,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4682 := *v - yyh4682, yyl4682 := z.DecSliceHelperStart() - var yyc4682 bool - if yyl4682 == 0 { - if yyv4682 == nil { - yyv4682 = []ServicePort{} - yyc4682 = true - } else if len(yyv4682) != 0 { - yyv4682 = yyv4682[:0] - yyc4682 = true + 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 } - } else if yyl4682 > 0 { - var yyrr4682, yyrl4682 int - var yyrt4682 bool - if yyl4682 > cap(yyv4682) { + } else if yyl4752 > 0 { + var yyrr4752, yyrl4752 int + var yyrt4752 bool + if yyl4752 > cap(yyv4752) { - yyrg4682 := len(yyv4682) > 0 - yyv24682 := yyv4682 - yyrl4682, yyrt4682 = z.DecInferLen(yyl4682, z.DecBasicHandle().MaxInitLen, 80) - if yyrt4682 { - if yyrl4682 <= cap(yyv4682) { - yyv4682 = yyv4682[:yyrl4682] + yyrg4752 := len(yyv4752) > 0 + yyv24752 := yyv4752 + yyrl4752, yyrt4752 = z.DecInferLen(yyl4752, z.DecBasicHandle().MaxInitLen, 80) + if yyrt4752 { + if yyrl4752 <= cap(yyv4752) { + yyv4752 = yyv4752[:yyrl4752] } else { - yyv4682 = make([]ServicePort, yyrl4682) + yyv4752 = make([]ServicePort, yyrl4752) } } else { - yyv4682 = make([]ServicePort, yyrl4682) + yyv4752 = make([]ServicePort, yyrl4752) } - yyc4682 = true - yyrr4682 = len(yyv4682) - if yyrg4682 { - copy(yyv4682, yyv24682) + yyc4752 = true + yyrr4752 = len(yyv4752) + if yyrg4752 { + copy(yyv4752, yyv24752) } - } else if yyl4682 != len(yyv4682) { - yyv4682 = yyv4682[:yyl4682] - yyc4682 = true + } else if yyl4752 != len(yyv4752) { + yyv4752 = yyv4752[:yyl4752] + yyc4752 = true } - yyj4682 := 0 - for ; yyj4682 < yyrr4682; yyj4682++ { - yyh4682.ElemContainerState(yyj4682) + yyj4752 := 0 + for ; yyj4752 < yyrr4752; yyj4752++ { + yyh4752.ElemContainerState(yyj4752) if r.TryDecodeAsNil() { - yyv4682[yyj4682] = ServicePort{} + yyv4752[yyj4752] = ServicePort{} } else { - yyv4683 := &yyv4682[yyj4682] - yyv4683.CodecDecodeSelf(d) + yyv4753 := &yyv4752[yyj4752] + yyv4753.CodecDecodeSelf(d) } } - if yyrt4682 { - for ; yyj4682 < yyl4682; yyj4682++ { - yyv4682 = append(yyv4682, ServicePort{}) - yyh4682.ElemContainerState(yyj4682) + if yyrt4752 { + for ; yyj4752 < yyl4752; yyj4752++ { + yyv4752 = append(yyv4752, ServicePort{}) + yyh4752.ElemContainerState(yyj4752) if r.TryDecodeAsNil() { - yyv4682[yyj4682] = ServicePort{} + yyv4752[yyj4752] = ServicePort{} } else { - yyv4684 := &yyv4682[yyj4682] - yyv4684.CodecDecodeSelf(d) + yyv4754 := &yyv4752[yyj4752] + yyv4754.CodecDecodeSelf(d) } } } } else { - yyj4682 := 0 - for ; !r.CheckBreak(); yyj4682++ { + yyj4752 := 0 + for ; !r.CheckBreak(); yyj4752++ { - if yyj4682 >= len(yyv4682) { - yyv4682 = append(yyv4682, ServicePort{}) // var yyz4682 ServicePort - yyc4682 = true + if yyj4752 >= len(yyv4752) { + yyv4752 = append(yyv4752, ServicePort{}) // var yyz4752 ServicePort + yyc4752 = true } - yyh4682.ElemContainerState(yyj4682) - if yyj4682 < len(yyv4682) { + yyh4752.ElemContainerState(yyj4752) + if yyj4752 < len(yyv4752) { if r.TryDecodeAsNil() { - yyv4682[yyj4682] = ServicePort{} + yyv4752[yyj4752] = ServicePort{} } else { - yyv4685 := &yyv4682[yyj4682] - yyv4685.CodecDecodeSelf(d) + yyv4755 := &yyv4752[yyj4752] + yyv4755.CodecDecodeSelf(d) } } else { @@ -59288,17 +60092,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj4682 < len(yyv4682) { - yyv4682 = yyv4682[:yyj4682] - yyc4682 = true - } else if yyj4682 == 0 && yyv4682 == nil { - yyv4682 = []ServicePort{} - yyc4682 = true + if yyj4752 < len(yyv4752) { + yyv4752 = yyv4752[:yyj4752] + yyc4752 = true + } else if yyj4752 == 0 && yyv4752 == nil { + yyv4752 = []ServicePort{} + yyc4752 = true } } - yyh4682.End() - if yyc4682 { - *v = yyv4682 + yyh4752.End() + if yyc4752 { + *v = yyv4752 } } @@ -59307,10 +60111,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4686 := range v { + for _, yyv4756 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4687 := &yyv4686 - yy4687.CodecEncodeSelf(e) + yy4757 := &yyv4756 + yy4757.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59320,83 +60124,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4688 := *v - yyh4688, yyl4688 := z.DecSliceHelperStart() - var yyc4688 bool - if yyl4688 == 0 { - if yyv4688 == nil { - yyv4688 = []ObjectReference{} - yyc4688 = true - } else if len(yyv4688) != 0 { - yyv4688 = yyv4688[:0] - yyc4688 = true + 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 } - } else if yyl4688 > 0 { - var yyrr4688, yyrl4688 int - var yyrt4688 bool - if yyl4688 > cap(yyv4688) { + } else if yyl4758 > 0 { + var yyrr4758, yyrl4758 int + var yyrt4758 bool + if yyl4758 > cap(yyv4758) { - yyrg4688 := len(yyv4688) > 0 - yyv24688 := yyv4688 - yyrl4688, yyrt4688 = z.DecInferLen(yyl4688, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4688 { - if yyrl4688 <= cap(yyv4688) { - yyv4688 = yyv4688[:yyrl4688] + yyrg4758 := len(yyv4758) > 0 + yyv24758 := yyv4758 + yyrl4758, yyrt4758 = z.DecInferLen(yyl4758, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4758 { + if yyrl4758 <= cap(yyv4758) { + yyv4758 = yyv4758[:yyrl4758] } else { - yyv4688 = make([]ObjectReference, yyrl4688) + yyv4758 = make([]ObjectReference, yyrl4758) } } else { - yyv4688 = make([]ObjectReference, yyrl4688) + yyv4758 = make([]ObjectReference, yyrl4758) } - yyc4688 = true - yyrr4688 = len(yyv4688) - if yyrg4688 { - copy(yyv4688, yyv24688) + yyc4758 = true + yyrr4758 = len(yyv4758) + if yyrg4758 { + copy(yyv4758, yyv24758) } - } else if yyl4688 != len(yyv4688) { - yyv4688 = yyv4688[:yyl4688] - yyc4688 = true + } else if yyl4758 != len(yyv4758) { + yyv4758 = yyv4758[:yyl4758] + yyc4758 = true } - yyj4688 := 0 - for ; yyj4688 < yyrr4688; yyj4688++ { - yyh4688.ElemContainerState(yyj4688) + yyj4758 := 0 + for ; yyj4758 < yyrr4758; yyj4758++ { + yyh4758.ElemContainerState(yyj4758) if r.TryDecodeAsNil() { - yyv4688[yyj4688] = ObjectReference{} + yyv4758[yyj4758] = ObjectReference{} } else { - yyv4689 := &yyv4688[yyj4688] - yyv4689.CodecDecodeSelf(d) + yyv4759 := &yyv4758[yyj4758] + yyv4759.CodecDecodeSelf(d) } } - if yyrt4688 { - for ; yyj4688 < yyl4688; yyj4688++ { - yyv4688 = append(yyv4688, ObjectReference{}) - yyh4688.ElemContainerState(yyj4688) + if yyrt4758 { + for ; yyj4758 < yyl4758; yyj4758++ { + yyv4758 = append(yyv4758, ObjectReference{}) + yyh4758.ElemContainerState(yyj4758) if r.TryDecodeAsNil() { - yyv4688[yyj4688] = ObjectReference{} + yyv4758[yyj4758] = ObjectReference{} } else { - yyv4690 := &yyv4688[yyj4688] - yyv4690.CodecDecodeSelf(d) + yyv4760 := &yyv4758[yyj4758] + yyv4760.CodecDecodeSelf(d) } } } } else { - yyj4688 := 0 - for ; !r.CheckBreak(); yyj4688++ { + yyj4758 := 0 + for ; !r.CheckBreak(); yyj4758++ { - if yyj4688 >= len(yyv4688) { - yyv4688 = append(yyv4688, ObjectReference{}) // var yyz4688 ObjectReference - yyc4688 = true + if yyj4758 >= len(yyv4758) { + yyv4758 = append(yyv4758, ObjectReference{}) // var yyz4758 ObjectReference + yyc4758 = true } - yyh4688.ElemContainerState(yyj4688) - if yyj4688 < len(yyv4688) { + yyh4758.ElemContainerState(yyj4758) + if yyj4758 < len(yyv4758) { if r.TryDecodeAsNil() { - yyv4688[yyj4688] = ObjectReference{} + yyv4758[yyj4758] = ObjectReference{} } else { - yyv4691 := &yyv4688[yyj4688] - yyv4691.CodecDecodeSelf(d) + yyv4761 := &yyv4758[yyj4758] + yyv4761.CodecDecodeSelf(d) } } else { @@ -59404,17 +60208,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj4688 < len(yyv4688) { - yyv4688 = yyv4688[:yyj4688] - yyc4688 = true - } else if yyj4688 == 0 && yyv4688 == nil { - yyv4688 = []ObjectReference{} - yyc4688 = true + if yyj4758 < len(yyv4758) { + yyv4758 = yyv4758[:yyj4758] + yyc4758 = true + } else if yyj4758 == 0 && yyv4758 == nil { + yyv4758 = []ObjectReference{} + yyc4758 = true } } - yyh4688.End() - if yyc4688 { - *v = yyv4688 + yyh4758.End() + if yyc4758 { + *v = yyv4758 } } @@ -59423,10 +60227,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4692 := range v { + for _, yyv4762 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4693 := &yyv4692 - yy4693.CodecEncodeSelf(e) + yy4763 := &yyv4762 + yy4763.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59436,83 +60240,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4694 := *v - yyh4694, yyl4694 := z.DecSliceHelperStart() - var yyc4694 bool - if yyl4694 == 0 { - if yyv4694 == nil { - yyv4694 = []ServiceAccount{} - yyc4694 = true - } else if len(yyv4694) != 0 { - yyv4694 = yyv4694[:0] - yyc4694 = true + 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 } - } else if yyl4694 > 0 { - var yyrr4694, yyrl4694 int - var yyrt4694 bool - if yyl4694 > cap(yyv4694) { + } else if yyl4764 > 0 { + var yyrr4764, yyrl4764 int + var yyrt4764 bool + if yyl4764 > cap(yyv4764) { - yyrg4694 := len(yyv4694) > 0 - yyv24694 := yyv4694 - yyrl4694, yyrt4694 = z.DecInferLen(yyl4694, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4694 { - if yyrl4694 <= cap(yyv4694) { - yyv4694 = yyv4694[:yyrl4694] + yyrg4764 := len(yyv4764) > 0 + yyv24764 := yyv4764 + yyrl4764, yyrt4764 = z.DecInferLen(yyl4764, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4764 { + if yyrl4764 <= cap(yyv4764) { + yyv4764 = yyv4764[:yyrl4764] } else { - yyv4694 = make([]ServiceAccount, yyrl4694) + yyv4764 = make([]ServiceAccount, yyrl4764) } } else { - yyv4694 = make([]ServiceAccount, yyrl4694) + yyv4764 = make([]ServiceAccount, yyrl4764) } - yyc4694 = true - yyrr4694 = len(yyv4694) - if yyrg4694 { - copy(yyv4694, yyv24694) + yyc4764 = true + yyrr4764 = len(yyv4764) + if yyrg4764 { + copy(yyv4764, yyv24764) } - } else if yyl4694 != len(yyv4694) { - yyv4694 = yyv4694[:yyl4694] - yyc4694 = true + } else if yyl4764 != len(yyv4764) { + yyv4764 = yyv4764[:yyl4764] + yyc4764 = true } - yyj4694 := 0 - for ; yyj4694 < yyrr4694; yyj4694++ { - yyh4694.ElemContainerState(yyj4694) + yyj4764 := 0 + for ; yyj4764 < yyrr4764; yyj4764++ { + yyh4764.ElemContainerState(yyj4764) if r.TryDecodeAsNil() { - yyv4694[yyj4694] = ServiceAccount{} + yyv4764[yyj4764] = ServiceAccount{} } else { - yyv4695 := &yyv4694[yyj4694] - yyv4695.CodecDecodeSelf(d) + yyv4765 := &yyv4764[yyj4764] + yyv4765.CodecDecodeSelf(d) } } - if yyrt4694 { - for ; yyj4694 < yyl4694; yyj4694++ { - yyv4694 = append(yyv4694, ServiceAccount{}) - yyh4694.ElemContainerState(yyj4694) + if yyrt4764 { + for ; yyj4764 < yyl4764; yyj4764++ { + yyv4764 = append(yyv4764, ServiceAccount{}) + yyh4764.ElemContainerState(yyj4764) if r.TryDecodeAsNil() { - yyv4694[yyj4694] = ServiceAccount{} + yyv4764[yyj4764] = ServiceAccount{} } else { - yyv4696 := &yyv4694[yyj4694] - yyv4696.CodecDecodeSelf(d) + yyv4766 := &yyv4764[yyj4764] + yyv4766.CodecDecodeSelf(d) } } } } else { - yyj4694 := 0 - for ; !r.CheckBreak(); yyj4694++ { + yyj4764 := 0 + for ; !r.CheckBreak(); yyj4764++ { - if yyj4694 >= len(yyv4694) { - yyv4694 = append(yyv4694, ServiceAccount{}) // var yyz4694 ServiceAccount - yyc4694 = true + if yyj4764 >= len(yyv4764) { + yyv4764 = append(yyv4764, ServiceAccount{}) // var yyz4764 ServiceAccount + yyc4764 = true } - yyh4694.ElemContainerState(yyj4694) - if yyj4694 < len(yyv4694) { + yyh4764.ElemContainerState(yyj4764) + if yyj4764 < len(yyv4764) { if r.TryDecodeAsNil() { - yyv4694[yyj4694] = ServiceAccount{} + yyv4764[yyj4764] = ServiceAccount{} } else { - yyv4697 := &yyv4694[yyj4694] - yyv4697.CodecDecodeSelf(d) + yyv4767 := &yyv4764[yyj4764] + yyv4767.CodecDecodeSelf(d) } } else { @@ -59520,17 +60324,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj4694 < len(yyv4694) { - yyv4694 = yyv4694[:yyj4694] - yyc4694 = true - } else if yyj4694 == 0 && yyv4694 == nil { - yyv4694 = []ServiceAccount{} - yyc4694 = true + if yyj4764 < len(yyv4764) { + yyv4764 = yyv4764[:yyj4764] + yyc4764 = true + } else if yyj4764 == 0 && yyv4764 == nil { + yyv4764 = []ServiceAccount{} + yyc4764 = true } } - yyh4694.End() - if yyc4694 { - *v = yyv4694 + yyh4764.End() + if yyc4764 { + *v = yyv4764 } } @@ -59539,10 +60343,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4698 := range v { + for _, yyv4768 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4699 := &yyv4698 - yy4699.CodecEncodeSelf(e) + yy4769 := &yyv4768 + yy4769.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59552,83 +60356,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4700 := *v - yyh4700, yyl4700 := z.DecSliceHelperStart() - var yyc4700 bool - if yyl4700 == 0 { - if yyv4700 == nil { - yyv4700 = []EndpointSubset{} - yyc4700 = true - } else if len(yyv4700) != 0 { - yyv4700 = yyv4700[:0] - yyc4700 = true + 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 } - } else if yyl4700 > 0 { - var yyrr4700, yyrl4700 int - var yyrt4700 bool - if yyl4700 > cap(yyv4700) { + } else if yyl4770 > 0 { + var yyrr4770, yyrl4770 int + var yyrt4770 bool + if yyl4770 > cap(yyv4770) { - yyrg4700 := len(yyv4700) > 0 - yyv24700 := yyv4700 - yyrl4700, yyrt4700 = z.DecInferLen(yyl4700, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4700 { - if yyrl4700 <= cap(yyv4700) { - yyv4700 = yyv4700[:yyrl4700] + yyrg4770 := len(yyv4770) > 0 + yyv24770 := yyv4770 + yyrl4770, yyrt4770 = z.DecInferLen(yyl4770, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4770 { + if yyrl4770 <= cap(yyv4770) { + yyv4770 = yyv4770[:yyrl4770] } else { - yyv4700 = make([]EndpointSubset, yyrl4700) + yyv4770 = make([]EndpointSubset, yyrl4770) } } else { - yyv4700 = make([]EndpointSubset, yyrl4700) + yyv4770 = make([]EndpointSubset, yyrl4770) } - yyc4700 = true - yyrr4700 = len(yyv4700) - if yyrg4700 { - copy(yyv4700, yyv24700) + yyc4770 = true + yyrr4770 = len(yyv4770) + if yyrg4770 { + copy(yyv4770, yyv24770) } - } else if yyl4700 != len(yyv4700) { - yyv4700 = yyv4700[:yyl4700] - yyc4700 = true + } else if yyl4770 != len(yyv4770) { + yyv4770 = yyv4770[:yyl4770] + yyc4770 = true } - yyj4700 := 0 - for ; yyj4700 < yyrr4700; yyj4700++ { - yyh4700.ElemContainerState(yyj4700) + yyj4770 := 0 + for ; yyj4770 < yyrr4770; yyj4770++ { + yyh4770.ElemContainerState(yyj4770) if r.TryDecodeAsNil() { - yyv4700[yyj4700] = EndpointSubset{} + yyv4770[yyj4770] = EndpointSubset{} } else { - yyv4701 := &yyv4700[yyj4700] - yyv4701.CodecDecodeSelf(d) + yyv4771 := &yyv4770[yyj4770] + yyv4771.CodecDecodeSelf(d) } } - if yyrt4700 { - for ; yyj4700 < yyl4700; yyj4700++ { - yyv4700 = append(yyv4700, EndpointSubset{}) - yyh4700.ElemContainerState(yyj4700) + if yyrt4770 { + for ; yyj4770 < yyl4770; yyj4770++ { + yyv4770 = append(yyv4770, EndpointSubset{}) + yyh4770.ElemContainerState(yyj4770) if r.TryDecodeAsNil() { - yyv4700[yyj4700] = EndpointSubset{} + yyv4770[yyj4770] = EndpointSubset{} } else { - yyv4702 := &yyv4700[yyj4700] - yyv4702.CodecDecodeSelf(d) + yyv4772 := &yyv4770[yyj4770] + yyv4772.CodecDecodeSelf(d) } } } } else { - yyj4700 := 0 - for ; !r.CheckBreak(); yyj4700++ { + yyj4770 := 0 + for ; !r.CheckBreak(); yyj4770++ { - if yyj4700 >= len(yyv4700) { - yyv4700 = append(yyv4700, EndpointSubset{}) // var yyz4700 EndpointSubset - yyc4700 = true + if yyj4770 >= len(yyv4770) { + yyv4770 = append(yyv4770, EndpointSubset{}) // var yyz4770 EndpointSubset + yyc4770 = true } - yyh4700.ElemContainerState(yyj4700) - if yyj4700 < len(yyv4700) { + yyh4770.ElemContainerState(yyj4770) + if yyj4770 < len(yyv4770) { if r.TryDecodeAsNil() { - yyv4700[yyj4700] = EndpointSubset{} + yyv4770[yyj4770] = EndpointSubset{} } else { - yyv4703 := &yyv4700[yyj4700] - yyv4703.CodecDecodeSelf(d) + yyv4773 := &yyv4770[yyj4770] + yyv4773.CodecDecodeSelf(d) } } else { @@ -59636,17 +60440,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj4700 < len(yyv4700) { - yyv4700 = yyv4700[:yyj4700] - yyc4700 = true - } else if yyj4700 == 0 && yyv4700 == nil { - yyv4700 = []EndpointSubset{} - yyc4700 = true + if yyj4770 < len(yyv4770) { + yyv4770 = yyv4770[:yyj4770] + yyc4770 = true + } else if yyj4770 == 0 && yyv4770 == nil { + yyv4770 = []EndpointSubset{} + yyc4770 = true } } - yyh4700.End() - if yyc4700 { - *v = yyv4700 + yyh4770.End() + if yyc4770 { + *v = yyv4770 } } @@ -59655,10 +60459,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4704 := range v { + for _, yyv4774 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4705 := &yyv4704 - yy4705.CodecEncodeSelf(e) + yy4775 := &yyv4774 + yy4775.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59668,83 +60472,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4706 := *v - yyh4706, yyl4706 := z.DecSliceHelperStart() - var yyc4706 bool - if yyl4706 == 0 { - if yyv4706 == nil { - yyv4706 = []EndpointAddress{} - yyc4706 = true - } else if len(yyv4706) != 0 { - yyv4706 = yyv4706[:0] - yyc4706 = true + 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 } - } else if yyl4706 > 0 { - var yyrr4706, yyrl4706 int - var yyrt4706 bool - if yyl4706 > cap(yyv4706) { + } else if yyl4776 > 0 { + var yyrr4776, yyrl4776 int + var yyrt4776 bool + if yyl4776 > cap(yyv4776) { - yyrg4706 := len(yyv4706) > 0 - yyv24706 := yyv4706 - yyrl4706, yyrt4706 = z.DecInferLen(yyl4706, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4706 { - if yyrl4706 <= cap(yyv4706) { - yyv4706 = yyv4706[:yyrl4706] + yyrg4776 := len(yyv4776) > 0 + yyv24776 := yyv4776 + yyrl4776, yyrt4776 = z.DecInferLen(yyl4776, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4776 { + if yyrl4776 <= cap(yyv4776) { + yyv4776 = yyv4776[:yyrl4776] } else { - yyv4706 = make([]EndpointAddress, yyrl4706) + yyv4776 = make([]EndpointAddress, yyrl4776) } } else { - yyv4706 = make([]EndpointAddress, yyrl4706) + yyv4776 = make([]EndpointAddress, yyrl4776) } - yyc4706 = true - yyrr4706 = len(yyv4706) - if yyrg4706 { - copy(yyv4706, yyv24706) + yyc4776 = true + yyrr4776 = len(yyv4776) + if yyrg4776 { + copy(yyv4776, yyv24776) } - } else if yyl4706 != len(yyv4706) { - yyv4706 = yyv4706[:yyl4706] - yyc4706 = true + } else if yyl4776 != len(yyv4776) { + yyv4776 = yyv4776[:yyl4776] + yyc4776 = true } - yyj4706 := 0 - for ; yyj4706 < yyrr4706; yyj4706++ { - yyh4706.ElemContainerState(yyj4706) + yyj4776 := 0 + for ; yyj4776 < yyrr4776; yyj4776++ { + yyh4776.ElemContainerState(yyj4776) if r.TryDecodeAsNil() { - yyv4706[yyj4706] = EndpointAddress{} + yyv4776[yyj4776] = EndpointAddress{} } else { - yyv4707 := &yyv4706[yyj4706] - yyv4707.CodecDecodeSelf(d) + yyv4777 := &yyv4776[yyj4776] + yyv4777.CodecDecodeSelf(d) } } - if yyrt4706 { - for ; yyj4706 < yyl4706; yyj4706++ { - yyv4706 = append(yyv4706, EndpointAddress{}) - yyh4706.ElemContainerState(yyj4706) + if yyrt4776 { + for ; yyj4776 < yyl4776; yyj4776++ { + yyv4776 = append(yyv4776, EndpointAddress{}) + yyh4776.ElemContainerState(yyj4776) if r.TryDecodeAsNil() { - yyv4706[yyj4706] = EndpointAddress{} + yyv4776[yyj4776] = EndpointAddress{} } else { - yyv4708 := &yyv4706[yyj4706] - yyv4708.CodecDecodeSelf(d) + yyv4778 := &yyv4776[yyj4776] + yyv4778.CodecDecodeSelf(d) } } } } else { - yyj4706 := 0 - for ; !r.CheckBreak(); yyj4706++ { + yyj4776 := 0 + for ; !r.CheckBreak(); yyj4776++ { - if yyj4706 >= len(yyv4706) { - yyv4706 = append(yyv4706, EndpointAddress{}) // var yyz4706 EndpointAddress - yyc4706 = true + if yyj4776 >= len(yyv4776) { + yyv4776 = append(yyv4776, EndpointAddress{}) // var yyz4776 EndpointAddress + yyc4776 = true } - yyh4706.ElemContainerState(yyj4706) - if yyj4706 < len(yyv4706) { + yyh4776.ElemContainerState(yyj4776) + if yyj4776 < len(yyv4776) { if r.TryDecodeAsNil() { - yyv4706[yyj4706] = EndpointAddress{} + yyv4776[yyj4776] = EndpointAddress{} } else { - yyv4709 := &yyv4706[yyj4706] - yyv4709.CodecDecodeSelf(d) + yyv4779 := &yyv4776[yyj4776] + yyv4779.CodecDecodeSelf(d) } } else { @@ -59752,17 +60556,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj4706 < len(yyv4706) { - yyv4706 = yyv4706[:yyj4706] - yyc4706 = true - } else if yyj4706 == 0 && yyv4706 == nil { - yyv4706 = []EndpointAddress{} - yyc4706 = true + if yyj4776 < len(yyv4776) { + yyv4776 = yyv4776[:yyj4776] + yyc4776 = true + } else if yyj4776 == 0 && yyv4776 == nil { + yyv4776 = []EndpointAddress{} + yyc4776 = true } } - yyh4706.End() - if yyc4706 { - *v = yyv4706 + yyh4776.End() + if yyc4776 { + *v = yyv4776 } } @@ -59771,10 +60575,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4710 := range v { + for _, yyv4780 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4711 := &yyv4710 - yy4711.CodecEncodeSelf(e) + yy4781 := &yyv4780 + yy4781.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59784,83 +60588,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4712 := *v - yyh4712, yyl4712 := z.DecSliceHelperStart() - var yyc4712 bool - if yyl4712 == 0 { - if yyv4712 == nil { - yyv4712 = []EndpointPort{} - yyc4712 = true - } else if len(yyv4712) != 0 { - yyv4712 = yyv4712[:0] - yyc4712 = true + 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 } - } else if yyl4712 > 0 { - var yyrr4712, yyrl4712 int - var yyrt4712 bool - if yyl4712 > cap(yyv4712) { + } else if yyl4782 > 0 { + var yyrr4782, yyrl4782 int + var yyrt4782 bool + if yyl4782 > cap(yyv4782) { - yyrg4712 := len(yyv4712) > 0 - yyv24712 := yyv4712 - yyrl4712, yyrt4712 = z.DecInferLen(yyl4712, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4712 { - if yyrl4712 <= cap(yyv4712) { - yyv4712 = yyv4712[:yyrl4712] + yyrg4782 := len(yyv4782) > 0 + yyv24782 := yyv4782 + yyrl4782, yyrt4782 = z.DecInferLen(yyl4782, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4782 { + if yyrl4782 <= cap(yyv4782) { + yyv4782 = yyv4782[:yyrl4782] } else { - yyv4712 = make([]EndpointPort, yyrl4712) + yyv4782 = make([]EndpointPort, yyrl4782) } } else { - yyv4712 = make([]EndpointPort, yyrl4712) + yyv4782 = make([]EndpointPort, yyrl4782) } - yyc4712 = true - yyrr4712 = len(yyv4712) - if yyrg4712 { - copy(yyv4712, yyv24712) + yyc4782 = true + yyrr4782 = len(yyv4782) + if yyrg4782 { + copy(yyv4782, yyv24782) } - } else if yyl4712 != len(yyv4712) { - yyv4712 = yyv4712[:yyl4712] - yyc4712 = true + } else if yyl4782 != len(yyv4782) { + yyv4782 = yyv4782[:yyl4782] + yyc4782 = true } - yyj4712 := 0 - for ; yyj4712 < yyrr4712; yyj4712++ { - yyh4712.ElemContainerState(yyj4712) + yyj4782 := 0 + for ; yyj4782 < yyrr4782; yyj4782++ { + yyh4782.ElemContainerState(yyj4782) if r.TryDecodeAsNil() { - yyv4712[yyj4712] = EndpointPort{} + yyv4782[yyj4782] = EndpointPort{} } else { - yyv4713 := &yyv4712[yyj4712] - yyv4713.CodecDecodeSelf(d) + yyv4783 := &yyv4782[yyj4782] + yyv4783.CodecDecodeSelf(d) } } - if yyrt4712 { - for ; yyj4712 < yyl4712; yyj4712++ { - yyv4712 = append(yyv4712, EndpointPort{}) - yyh4712.ElemContainerState(yyj4712) + if yyrt4782 { + for ; yyj4782 < yyl4782; yyj4782++ { + yyv4782 = append(yyv4782, EndpointPort{}) + yyh4782.ElemContainerState(yyj4782) if r.TryDecodeAsNil() { - yyv4712[yyj4712] = EndpointPort{} + yyv4782[yyj4782] = EndpointPort{} } else { - yyv4714 := &yyv4712[yyj4712] - yyv4714.CodecDecodeSelf(d) + yyv4784 := &yyv4782[yyj4782] + yyv4784.CodecDecodeSelf(d) } } } } else { - yyj4712 := 0 - for ; !r.CheckBreak(); yyj4712++ { + yyj4782 := 0 + for ; !r.CheckBreak(); yyj4782++ { - if yyj4712 >= len(yyv4712) { - yyv4712 = append(yyv4712, EndpointPort{}) // var yyz4712 EndpointPort - yyc4712 = true + if yyj4782 >= len(yyv4782) { + yyv4782 = append(yyv4782, EndpointPort{}) // var yyz4782 EndpointPort + yyc4782 = true } - yyh4712.ElemContainerState(yyj4712) - if yyj4712 < len(yyv4712) { + yyh4782.ElemContainerState(yyj4782) + if yyj4782 < len(yyv4782) { if r.TryDecodeAsNil() { - yyv4712[yyj4712] = EndpointPort{} + yyv4782[yyj4782] = EndpointPort{} } else { - yyv4715 := &yyv4712[yyj4712] - yyv4715.CodecDecodeSelf(d) + yyv4785 := &yyv4782[yyj4782] + yyv4785.CodecDecodeSelf(d) } } else { @@ -59868,17 +60672,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj4712 < len(yyv4712) { - yyv4712 = yyv4712[:yyj4712] - yyc4712 = true - } else if yyj4712 == 0 && yyv4712 == nil { - yyv4712 = []EndpointPort{} - yyc4712 = true + if yyj4782 < len(yyv4782) { + yyv4782 = yyv4782[:yyj4782] + yyc4782 = true + } else if yyj4782 == 0 && yyv4782 == nil { + yyv4782 = []EndpointPort{} + yyc4782 = true } } - yyh4712.End() - if yyc4712 { - *v = yyv4712 + yyh4782.End() + if yyc4782 { + *v = yyv4782 } } @@ -59887,10 +60691,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4716 := range v { + for _, yyv4786 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4717 := &yyv4716 - yy4717.CodecEncodeSelf(e) + yy4787 := &yyv4786 + yy4787.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59900,83 +60704,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4718 := *v - yyh4718, yyl4718 := z.DecSliceHelperStart() - var yyc4718 bool - if yyl4718 == 0 { - if yyv4718 == nil { - yyv4718 = []Endpoints{} - yyc4718 = true - } else if len(yyv4718) != 0 { - yyv4718 = yyv4718[:0] - yyc4718 = true + 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 } - } else if yyl4718 > 0 { - var yyrr4718, yyrl4718 int - var yyrt4718 bool - if yyl4718 > cap(yyv4718) { + } else if yyl4788 > 0 { + var yyrr4788, yyrl4788 int + var yyrt4788 bool + if yyl4788 > cap(yyv4788) { - yyrg4718 := len(yyv4718) > 0 - yyv24718 := yyv4718 - yyrl4718, yyrt4718 = z.DecInferLen(yyl4718, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4718 { - if yyrl4718 <= cap(yyv4718) { - yyv4718 = yyv4718[:yyrl4718] + yyrg4788 := len(yyv4788) > 0 + yyv24788 := yyv4788 + yyrl4788, yyrt4788 = z.DecInferLen(yyl4788, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4788 { + if yyrl4788 <= cap(yyv4788) { + yyv4788 = yyv4788[:yyrl4788] } else { - yyv4718 = make([]Endpoints, yyrl4718) + yyv4788 = make([]Endpoints, yyrl4788) } } else { - yyv4718 = make([]Endpoints, yyrl4718) + yyv4788 = make([]Endpoints, yyrl4788) } - yyc4718 = true - yyrr4718 = len(yyv4718) - if yyrg4718 { - copy(yyv4718, yyv24718) + yyc4788 = true + yyrr4788 = len(yyv4788) + if yyrg4788 { + copy(yyv4788, yyv24788) } - } else if yyl4718 != len(yyv4718) { - yyv4718 = yyv4718[:yyl4718] - yyc4718 = true + } else if yyl4788 != len(yyv4788) { + yyv4788 = yyv4788[:yyl4788] + yyc4788 = true } - yyj4718 := 0 - for ; yyj4718 < yyrr4718; yyj4718++ { - yyh4718.ElemContainerState(yyj4718) + yyj4788 := 0 + for ; yyj4788 < yyrr4788; yyj4788++ { + yyh4788.ElemContainerState(yyj4788) if r.TryDecodeAsNil() { - yyv4718[yyj4718] = Endpoints{} + yyv4788[yyj4788] = Endpoints{} } else { - yyv4719 := &yyv4718[yyj4718] - yyv4719.CodecDecodeSelf(d) + yyv4789 := &yyv4788[yyj4788] + yyv4789.CodecDecodeSelf(d) } } - if yyrt4718 { - for ; yyj4718 < yyl4718; yyj4718++ { - yyv4718 = append(yyv4718, Endpoints{}) - yyh4718.ElemContainerState(yyj4718) + if yyrt4788 { + for ; yyj4788 < yyl4788; yyj4788++ { + yyv4788 = append(yyv4788, Endpoints{}) + yyh4788.ElemContainerState(yyj4788) if r.TryDecodeAsNil() { - yyv4718[yyj4718] = Endpoints{} + yyv4788[yyj4788] = Endpoints{} } else { - yyv4720 := &yyv4718[yyj4718] - yyv4720.CodecDecodeSelf(d) + yyv4790 := &yyv4788[yyj4788] + yyv4790.CodecDecodeSelf(d) } } } } else { - yyj4718 := 0 - for ; !r.CheckBreak(); yyj4718++ { + yyj4788 := 0 + for ; !r.CheckBreak(); yyj4788++ { - if yyj4718 >= len(yyv4718) { - yyv4718 = append(yyv4718, Endpoints{}) // var yyz4718 Endpoints - yyc4718 = true + if yyj4788 >= len(yyv4788) { + yyv4788 = append(yyv4788, Endpoints{}) // var yyz4788 Endpoints + yyc4788 = true } - yyh4718.ElemContainerState(yyj4718) - if yyj4718 < len(yyv4718) { + yyh4788.ElemContainerState(yyj4788) + if yyj4788 < len(yyv4788) { if r.TryDecodeAsNil() { - yyv4718[yyj4718] = Endpoints{} + yyv4788[yyj4788] = Endpoints{} } else { - yyv4721 := &yyv4718[yyj4718] - yyv4721.CodecDecodeSelf(d) + yyv4791 := &yyv4788[yyj4788] + yyv4791.CodecDecodeSelf(d) } } else { @@ -59984,17 +60788,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj4718 < len(yyv4718) { - yyv4718 = yyv4718[:yyj4718] - yyc4718 = true - } else if yyj4718 == 0 && yyv4718 == nil { - yyv4718 = []Endpoints{} - yyc4718 = true + if yyj4788 < len(yyv4788) { + yyv4788 = yyv4788[:yyj4788] + yyc4788 = true + } else if yyj4788 == 0 && yyv4788 == nil { + yyv4788 = []Endpoints{} + yyc4788 = true } } - yyh4718.End() - if yyc4718 { - *v = yyv4718 + yyh4788.End() + if yyc4788 { + *v = yyv4788 } } @@ -60003,10 +60807,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4722 := range v { + for _, yyv4792 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4723 := &yyv4722 - yy4723.CodecEncodeSelf(e) + yy4793 := &yyv4792 + yy4793.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60016,83 +60820,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4724 := *v - yyh4724, yyl4724 := z.DecSliceHelperStart() - var yyc4724 bool - if yyl4724 == 0 { - if yyv4724 == nil { - yyv4724 = []NodeCondition{} - yyc4724 = true - } else if len(yyv4724) != 0 { - yyv4724 = yyv4724[:0] - yyc4724 = true + 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 } - } else if yyl4724 > 0 { - var yyrr4724, yyrl4724 int - var yyrt4724 bool - if yyl4724 > cap(yyv4724) { + } else if yyl4794 > 0 { + var yyrr4794, yyrl4794 int + var yyrt4794 bool + if yyl4794 > cap(yyv4794) { - yyrg4724 := len(yyv4724) > 0 - yyv24724 := yyv4724 - yyrl4724, yyrt4724 = z.DecInferLen(yyl4724, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4724 { - if yyrl4724 <= cap(yyv4724) { - yyv4724 = yyv4724[:yyrl4724] + yyrg4794 := len(yyv4794) > 0 + yyv24794 := yyv4794 + yyrl4794, yyrt4794 = z.DecInferLen(yyl4794, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4794 { + if yyrl4794 <= cap(yyv4794) { + yyv4794 = yyv4794[:yyrl4794] } else { - yyv4724 = make([]NodeCondition, yyrl4724) + yyv4794 = make([]NodeCondition, yyrl4794) } } else { - yyv4724 = make([]NodeCondition, yyrl4724) + yyv4794 = make([]NodeCondition, yyrl4794) } - yyc4724 = true - yyrr4724 = len(yyv4724) - if yyrg4724 { - copy(yyv4724, yyv24724) + yyc4794 = true + yyrr4794 = len(yyv4794) + if yyrg4794 { + copy(yyv4794, yyv24794) } - } else if yyl4724 != len(yyv4724) { - yyv4724 = yyv4724[:yyl4724] - yyc4724 = true + } else if yyl4794 != len(yyv4794) { + yyv4794 = yyv4794[:yyl4794] + yyc4794 = true } - yyj4724 := 0 - for ; yyj4724 < yyrr4724; yyj4724++ { - yyh4724.ElemContainerState(yyj4724) + yyj4794 := 0 + for ; yyj4794 < yyrr4794; yyj4794++ { + yyh4794.ElemContainerState(yyj4794) if r.TryDecodeAsNil() { - yyv4724[yyj4724] = NodeCondition{} + yyv4794[yyj4794] = NodeCondition{} } else { - yyv4725 := &yyv4724[yyj4724] - yyv4725.CodecDecodeSelf(d) + yyv4795 := &yyv4794[yyj4794] + yyv4795.CodecDecodeSelf(d) } } - if yyrt4724 { - for ; yyj4724 < yyl4724; yyj4724++ { - yyv4724 = append(yyv4724, NodeCondition{}) - yyh4724.ElemContainerState(yyj4724) + if yyrt4794 { + for ; yyj4794 < yyl4794; yyj4794++ { + yyv4794 = append(yyv4794, NodeCondition{}) + yyh4794.ElemContainerState(yyj4794) if r.TryDecodeAsNil() { - yyv4724[yyj4724] = NodeCondition{} + yyv4794[yyj4794] = NodeCondition{} } else { - yyv4726 := &yyv4724[yyj4724] - yyv4726.CodecDecodeSelf(d) + yyv4796 := &yyv4794[yyj4794] + yyv4796.CodecDecodeSelf(d) } } } } else { - yyj4724 := 0 - for ; !r.CheckBreak(); yyj4724++ { + yyj4794 := 0 + for ; !r.CheckBreak(); yyj4794++ { - if yyj4724 >= len(yyv4724) { - yyv4724 = append(yyv4724, NodeCondition{}) // var yyz4724 NodeCondition - yyc4724 = true + if yyj4794 >= len(yyv4794) { + yyv4794 = append(yyv4794, NodeCondition{}) // var yyz4794 NodeCondition + yyc4794 = true } - yyh4724.ElemContainerState(yyj4724) - if yyj4724 < len(yyv4724) { + yyh4794.ElemContainerState(yyj4794) + if yyj4794 < len(yyv4794) { if r.TryDecodeAsNil() { - yyv4724[yyj4724] = NodeCondition{} + yyv4794[yyj4794] = NodeCondition{} } else { - yyv4727 := &yyv4724[yyj4724] - yyv4727.CodecDecodeSelf(d) + yyv4797 := &yyv4794[yyj4794] + yyv4797.CodecDecodeSelf(d) } } else { @@ -60100,17 +60904,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj4724 < len(yyv4724) { - yyv4724 = yyv4724[:yyj4724] - yyc4724 = true - } else if yyj4724 == 0 && yyv4724 == nil { - yyv4724 = []NodeCondition{} - yyc4724 = true + if yyj4794 < len(yyv4794) { + yyv4794 = yyv4794[:yyj4794] + yyc4794 = true + } else if yyj4794 == 0 && yyv4794 == nil { + yyv4794 = []NodeCondition{} + yyc4794 = true } } - yyh4724.End() - if yyc4724 { - *v = yyv4724 + yyh4794.End() + if yyc4794 { + *v = yyv4794 } } @@ -60119,10 +60923,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4728 := range v { + for _, yyv4798 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4729 := &yyv4728 - yy4729.CodecEncodeSelf(e) + yy4799 := &yyv4798 + yy4799.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60132,83 +60936,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4730 := *v - yyh4730, yyl4730 := z.DecSliceHelperStart() - var yyc4730 bool - if yyl4730 == 0 { - if yyv4730 == nil { - yyv4730 = []NodeAddress{} - yyc4730 = true - } else if len(yyv4730) != 0 { - yyv4730 = yyv4730[:0] - yyc4730 = true + 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 } - } else if yyl4730 > 0 { - var yyrr4730, yyrl4730 int - var yyrt4730 bool - if yyl4730 > cap(yyv4730) { + } else if yyl4800 > 0 { + var yyrr4800, yyrl4800 int + var yyrt4800 bool + if yyl4800 > cap(yyv4800) { - yyrg4730 := len(yyv4730) > 0 - yyv24730 := yyv4730 - yyrl4730, yyrt4730 = z.DecInferLen(yyl4730, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4730 { - if yyrl4730 <= cap(yyv4730) { - yyv4730 = yyv4730[:yyrl4730] + yyrg4800 := len(yyv4800) > 0 + yyv24800 := yyv4800 + yyrl4800, yyrt4800 = z.DecInferLen(yyl4800, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4800 { + if yyrl4800 <= cap(yyv4800) { + yyv4800 = yyv4800[:yyrl4800] } else { - yyv4730 = make([]NodeAddress, yyrl4730) + yyv4800 = make([]NodeAddress, yyrl4800) } } else { - yyv4730 = make([]NodeAddress, yyrl4730) + yyv4800 = make([]NodeAddress, yyrl4800) } - yyc4730 = true - yyrr4730 = len(yyv4730) - if yyrg4730 { - copy(yyv4730, yyv24730) + yyc4800 = true + yyrr4800 = len(yyv4800) + if yyrg4800 { + copy(yyv4800, yyv24800) } - } else if yyl4730 != len(yyv4730) { - yyv4730 = yyv4730[:yyl4730] - yyc4730 = true + } else if yyl4800 != len(yyv4800) { + yyv4800 = yyv4800[:yyl4800] + yyc4800 = true } - yyj4730 := 0 - for ; yyj4730 < yyrr4730; yyj4730++ { - yyh4730.ElemContainerState(yyj4730) + yyj4800 := 0 + for ; yyj4800 < yyrr4800; yyj4800++ { + yyh4800.ElemContainerState(yyj4800) if r.TryDecodeAsNil() { - yyv4730[yyj4730] = NodeAddress{} + yyv4800[yyj4800] = NodeAddress{} } else { - yyv4731 := &yyv4730[yyj4730] - yyv4731.CodecDecodeSelf(d) + yyv4801 := &yyv4800[yyj4800] + yyv4801.CodecDecodeSelf(d) } } - if yyrt4730 { - for ; yyj4730 < yyl4730; yyj4730++ { - yyv4730 = append(yyv4730, NodeAddress{}) - yyh4730.ElemContainerState(yyj4730) + if yyrt4800 { + for ; yyj4800 < yyl4800; yyj4800++ { + yyv4800 = append(yyv4800, NodeAddress{}) + yyh4800.ElemContainerState(yyj4800) if r.TryDecodeAsNil() { - yyv4730[yyj4730] = NodeAddress{} + yyv4800[yyj4800] = NodeAddress{} } else { - yyv4732 := &yyv4730[yyj4730] - yyv4732.CodecDecodeSelf(d) + yyv4802 := &yyv4800[yyj4800] + yyv4802.CodecDecodeSelf(d) } } } } else { - yyj4730 := 0 - for ; !r.CheckBreak(); yyj4730++ { + yyj4800 := 0 + for ; !r.CheckBreak(); yyj4800++ { - if yyj4730 >= len(yyv4730) { - yyv4730 = append(yyv4730, NodeAddress{}) // var yyz4730 NodeAddress - yyc4730 = true + if yyj4800 >= len(yyv4800) { + yyv4800 = append(yyv4800, NodeAddress{}) // var yyz4800 NodeAddress + yyc4800 = true } - yyh4730.ElemContainerState(yyj4730) - if yyj4730 < len(yyv4730) { + yyh4800.ElemContainerState(yyj4800) + if yyj4800 < len(yyv4800) { if r.TryDecodeAsNil() { - yyv4730[yyj4730] = NodeAddress{} + yyv4800[yyj4800] = NodeAddress{} } else { - yyv4733 := &yyv4730[yyj4730] - yyv4733.CodecDecodeSelf(d) + yyv4803 := &yyv4800[yyj4800] + yyv4803.CodecDecodeSelf(d) } } else { @@ -60216,17 +61020,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj4730 < len(yyv4730) { - yyv4730 = yyv4730[:yyj4730] - yyc4730 = true - } else if yyj4730 == 0 && yyv4730 == nil { - yyv4730 = []NodeAddress{} - yyc4730 = true + if yyj4800 < len(yyv4800) { + yyv4800 = yyv4800[:yyj4800] + yyc4800 = true + } else if yyj4800 == 0 && yyv4800 == nil { + yyv4800 = []NodeAddress{} + yyc4800 = true } } - yyh4730.End() - if yyc4730 { - *v = yyv4730 + yyh4800.End() + if yyc4800 { + *v = yyv4800 } } @@ -60235,10 +61039,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4734 := range v { + for _, yyv4804 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4735 := &yyv4734 - yy4735.CodecEncodeSelf(e) + yy4805 := &yyv4804 + yy4805.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60248,83 +61052,83 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4736 := *v - yyh4736, yyl4736 := z.DecSliceHelperStart() - var yyc4736 bool - if yyl4736 == 0 { - if yyv4736 == nil { - yyv4736 = []ContainerImage{} - yyc4736 = true - } else if len(yyv4736) != 0 { - yyv4736 = yyv4736[:0] - yyc4736 = true + 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 } - } else if yyl4736 > 0 { - var yyrr4736, yyrl4736 int - var yyrt4736 bool - if yyl4736 > cap(yyv4736) { + } else if yyl4806 > 0 { + var yyrr4806, yyrl4806 int + var yyrt4806 bool + if yyl4806 > cap(yyv4806) { - yyrg4736 := len(yyv4736) > 0 - yyv24736 := yyv4736 - yyrl4736, yyrt4736 = z.DecInferLen(yyl4736, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4736 { - if yyrl4736 <= cap(yyv4736) { - yyv4736 = yyv4736[:yyrl4736] + yyrg4806 := len(yyv4806) > 0 + yyv24806 := yyv4806 + yyrl4806, yyrt4806 = z.DecInferLen(yyl4806, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4806 { + if yyrl4806 <= cap(yyv4806) { + yyv4806 = yyv4806[:yyrl4806] } else { - yyv4736 = make([]ContainerImage, yyrl4736) + yyv4806 = make([]ContainerImage, yyrl4806) } } else { - yyv4736 = make([]ContainerImage, yyrl4736) + yyv4806 = make([]ContainerImage, yyrl4806) } - yyc4736 = true - yyrr4736 = len(yyv4736) - if yyrg4736 { - copy(yyv4736, yyv24736) + yyc4806 = true + yyrr4806 = len(yyv4806) + if yyrg4806 { + copy(yyv4806, yyv24806) } - } else if yyl4736 != len(yyv4736) { - yyv4736 = yyv4736[:yyl4736] - yyc4736 = true + } else if yyl4806 != len(yyv4806) { + yyv4806 = yyv4806[:yyl4806] + yyc4806 = true } - yyj4736 := 0 - for ; yyj4736 < yyrr4736; yyj4736++ { - yyh4736.ElemContainerState(yyj4736) + yyj4806 := 0 + for ; yyj4806 < yyrr4806; yyj4806++ { + yyh4806.ElemContainerState(yyj4806) if r.TryDecodeAsNil() { - yyv4736[yyj4736] = ContainerImage{} + yyv4806[yyj4806] = ContainerImage{} } else { - yyv4737 := &yyv4736[yyj4736] - yyv4737.CodecDecodeSelf(d) + yyv4807 := &yyv4806[yyj4806] + yyv4807.CodecDecodeSelf(d) } } - if yyrt4736 { - for ; yyj4736 < yyl4736; yyj4736++ { - yyv4736 = append(yyv4736, ContainerImage{}) - yyh4736.ElemContainerState(yyj4736) + if yyrt4806 { + for ; yyj4806 < yyl4806; yyj4806++ { + yyv4806 = append(yyv4806, ContainerImage{}) + yyh4806.ElemContainerState(yyj4806) if r.TryDecodeAsNil() { - yyv4736[yyj4736] = ContainerImage{} + yyv4806[yyj4806] = ContainerImage{} } else { - yyv4738 := &yyv4736[yyj4736] - yyv4738.CodecDecodeSelf(d) + yyv4808 := &yyv4806[yyj4806] + yyv4808.CodecDecodeSelf(d) } } } } else { - yyj4736 := 0 - for ; !r.CheckBreak(); yyj4736++ { + yyj4806 := 0 + for ; !r.CheckBreak(); yyj4806++ { - if yyj4736 >= len(yyv4736) { - yyv4736 = append(yyv4736, ContainerImage{}) // var yyz4736 ContainerImage - yyc4736 = true + if yyj4806 >= len(yyv4806) { + yyv4806 = append(yyv4806, ContainerImage{}) // var yyz4806 ContainerImage + yyc4806 = true } - yyh4736.ElemContainerState(yyj4736) - if yyj4736 < len(yyv4736) { + yyh4806.ElemContainerState(yyj4806) + if yyj4806 < len(yyv4806) { if r.TryDecodeAsNil() { - yyv4736[yyj4736] = ContainerImage{} + yyv4806[yyj4806] = ContainerImage{} } else { - yyv4739 := &yyv4736[yyj4736] - yyv4739.CodecDecodeSelf(d) + yyv4809 := &yyv4806[yyj4806] + yyv4809.CodecDecodeSelf(d) } } else { @@ -60332,17 +61136,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj4736 < len(yyv4736) { - yyv4736 = yyv4736[:yyj4736] - yyc4736 = true - } else if yyj4736 == 0 && yyv4736 == nil { - yyv4736 = []ContainerImage{} - yyc4736 = true + if yyj4806 < len(yyv4806) { + yyv4806 = yyv4806[:yyj4806] + yyc4806 = true + } else if yyj4806 == 0 && yyv4806 == nil { + yyv4806 = []ContainerImage{} + yyc4806 = true } } - yyh4736.End() - if yyc4736 { - *v = yyv4736 + yyh4806.End() + if yyc4806 { + *v = yyv4806 } } @@ -60351,9 +61155,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4740 := range v { + for _, yyv4810 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4740.CodecEncodeSelf(e) + yyv4810.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60363,75 +61167,75 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4741 := *v - yyh4741, yyl4741 := z.DecSliceHelperStart() - var yyc4741 bool - if yyl4741 == 0 { - if yyv4741 == nil { - yyv4741 = []UniqueVolumeName{} - yyc4741 = true - } else if len(yyv4741) != 0 { - yyv4741 = yyv4741[:0] - yyc4741 = true + 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 } - } else if yyl4741 > 0 { - var yyrr4741, yyrl4741 int - var yyrt4741 bool - if yyl4741 > cap(yyv4741) { + } else if yyl4811 > 0 { + var yyrr4811, yyrl4811 int + var yyrt4811 bool + if yyl4811 > cap(yyv4811) { - yyrl4741, yyrt4741 = z.DecInferLen(yyl4741, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4741 { - if yyrl4741 <= cap(yyv4741) { - yyv4741 = yyv4741[:yyrl4741] + yyrl4811, yyrt4811 = z.DecInferLen(yyl4811, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4811 { + if yyrl4811 <= cap(yyv4811) { + yyv4811 = yyv4811[:yyrl4811] } else { - yyv4741 = make([]UniqueVolumeName, yyrl4741) + yyv4811 = make([]UniqueVolumeName, yyrl4811) } } else { - yyv4741 = make([]UniqueVolumeName, yyrl4741) + yyv4811 = make([]UniqueVolumeName, yyrl4811) } - yyc4741 = true - yyrr4741 = len(yyv4741) - } else if yyl4741 != len(yyv4741) { - yyv4741 = yyv4741[:yyl4741] - yyc4741 = true + yyc4811 = true + yyrr4811 = len(yyv4811) + } else if yyl4811 != len(yyv4811) { + yyv4811 = yyv4811[:yyl4811] + yyc4811 = true } - yyj4741 := 0 - for ; yyj4741 < yyrr4741; yyj4741++ { - yyh4741.ElemContainerState(yyj4741) + yyj4811 := 0 + for ; yyj4811 < yyrr4811; yyj4811++ { + yyh4811.ElemContainerState(yyj4811) if r.TryDecodeAsNil() { - yyv4741[yyj4741] = "" + yyv4811[yyj4811] = "" } else { - yyv4741[yyj4741] = UniqueVolumeName(r.DecodeString()) + yyv4811[yyj4811] = UniqueVolumeName(r.DecodeString()) } } - if yyrt4741 { - for ; yyj4741 < yyl4741; yyj4741++ { - yyv4741 = append(yyv4741, "") - yyh4741.ElemContainerState(yyj4741) + if yyrt4811 { + for ; yyj4811 < yyl4811; yyj4811++ { + yyv4811 = append(yyv4811, "") + yyh4811.ElemContainerState(yyj4811) if r.TryDecodeAsNil() { - yyv4741[yyj4741] = "" + yyv4811[yyj4811] = "" } else { - yyv4741[yyj4741] = UniqueVolumeName(r.DecodeString()) + yyv4811[yyj4811] = UniqueVolumeName(r.DecodeString()) } } } } else { - yyj4741 := 0 - for ; !r.CheckBreak(); yyj4741++ { + yyj4811 := 0 + for ; !r.CheckBreak(); yyj4811++ { - if yyj4741 >= len(yyv4741) { - yyv4741 = append(yyv4741, "") // var yyz4741 UniqueVolumeName - yyc4741 = true + if yyj4811 >= len(yyv4811) { + yyv4811 = append(yyv4811, "") // var yyz4811 UniqueVolumeName + yyc4811 = true } - yyh4741.ElemContainerState(yyj4741) - if yyj4741 < len(yyv4741) { + yyh4811.ElemContainerState(yyj4811) + if yyj4811 < len(yyv4811) { if r.TryDecodeAsNil() { - yyv4741[yyj4741] = "" + yyv4811[yyj4811] = "" } else { - yyv4741[yyj4741] = UniqueVolumeName(r.DecodeString()) + yyv4811[yyj4811] = UniqueVolumeName(r.DecodeString()) } } else { @@ -60439,17 +61243,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj4741 < len(yyv4741) { - yyv4741 = yyv4741[:yyj4741] - yyc4741 = true - } else if yyj4741 == 0 && yyv4741 == nil { - yyv4741 = []UniqueVolumeName{} - yyc4741 = true + if yyj4811 < len(yyv4811) { + yyv4811 = yyv4811[:yyj4811] + yyc4811 = true + } else if yyj4811 == 0 && yyv4811 == nil { + yyv4811 = []UniqueVolumeName{} + yyc4811 = true } } - yyh4741.End() - if yyc4741 { - *v = yyv4741 + yyh4811.End() + if yyc4811 { + *v = yyv4811 } } @@ -60458,10 +61262,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4745 := range v { + for _, yyv4815 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4746 := &yyv4745 - yy4746.CodecEncodeSelf(e) + yy4816 := &yyv4815 + yy4816.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60471,83 +61275,83 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4747 := *v - yyh4747, yyl4747 := z.DecSliceHelperStart() - var yyc4747 bool - if yyl4747 == 0 { - if yyv4747 == nil { - yyv4747 = []AttachedVolume{} - yyc4747 = true - } else if len(yyv4747) != 0 { - yyv4747 = yyv4747[:0] - yyc4747 = true + 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 } - } else if yyl4747 > 0 { - var yyrr4747, yyrl4747 int - var yyrt4747 bool - if yyl4747 > cap(yyv4747) { + } else if yyl4817 > 0 { + var yyrr4817, yyrl4817 int + var yyrt4817 bool + if yyl4817 > cap(yyv4817) { - yyrg4747 := len(yyv4747) > 0 - yyv24747 := yyv4747 - yyrl4747, yyrt4747 = z.DecInferLen(yyl4747, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4747 { - if yyrl4747 <= cap(yyv4747) { - yyv4747 = yyv4747[:yyrl4747] + yyrg4817 := len(yyv4817) > 0 + yyv24817 := yyv4817 + yyrl4817, yyrt4817 = z.DecInferLen(yyl4817, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4817 { + if yyrl4817 <= cap(yyv4817) { + yyv4817 = yyv4817[:yyrl4817] } else { - yyv4747 = make([]AttachedVolume, yyrl4747) + yyv4817 = make([]AttachedVolume, yyrl4817) } } else { - yyv4747 = make([]AttachedVolume, yyrl4747) + yyv4817 = make([]AttachedVolume, yyrl4817) } - yyc4747 = true - yyrr4747 = len(yyv4747) - if yyrg4747 { - copy(yyv4747, yyv24747) + yyc4817 = true + yyrr4817 = len(yyv4817) + if yyrg4817 { + copy(yyv4817, yyv24817) } - } else if yyl4747 != len(yyv4747) { - yyv4747 = yyv4747[:yyl4747] - yyc4747 = true + } else if yyl4817 != len(yyv4817) { + yyv4817 = yyv4817[:yyl4817] + yyc4817 = true } - yyj4747 := 0 - for ; yyj4747 < yyrr4747; yyj4747++ { - yyh4747.ElemContainerState(yyj4747) + yyj4817 := 0 + for ; yyj4817 < yyrr4817; yyj4817++ { + yyh4817.ElemContainerState(yyj4817) if r.TryDecodeAsNil() { - yyv4747[yyj4747] = AttachedVolume{} + yyv4817[yyj4817] = AttachedVolume{} } else { - yyv4748 := &yyv4747[yyj4747] - yyv4748.CodecDecodeSelf(d) + yyv4818 := &yyv4817[yyj4817] + yyv4818.CodecDecodeSelf(d) } } - if yyrt4747 { - for ; yyj4747 < yyl4747; yyj4747++ { - yyv4747 = append(yyv4747, AttachedVolume{}) - yyh4747.ElemContainerState(yyj4747) + if yyrt4817 { + for ; yyj4817 < yyl4817; yyj4817++ { + yyv4817 = append(yyv4817, AttachedVolume{}) + yyh4817.ElemContainerState(yyj4817) if r.TryDecodeAsNil() { - yyv4747[yyj4747] = AttachedVolume{} + yyv4817[yyj4817] = AttachedVolume{} } else { - yyv4749 := &yyv4747[yyj4747] - yyv4749.CodecDecodeSelf(d) + yyv4819 := &yyv4817[yyj4817] + yyv4819.CodecDecodeSelf(d) } } } } else { - yyj4747 := 0 - for ; !r.CheckBreak(); yyj4747++ { + yyj4817 := 0 + for ; !r.CheckBreak(); yyj4817++ { - if yyj4747 >= len(yyv4747) { - yyv4747 = append(yyv4747, AttachedVolume{}) // var yyz4747 AttachedVolume - yyc4747 = true + if yyj4817 >= len(yyv4817) { + yyv4817 = append(yyv4817, AttachedVolume{}) // var yyz4817 AttachedVolume + yyc4817 = true } - yyh4747.ElemContainerState(yyj4747) - if yyj4747 < len(yyv4747) { + yyh4817.ElemContainerState(yyj4817) + if yyj4817 < len(yyv4817) { if r.TryDecodeAsNil() { - yyv4747[yyj4747] = AttachedVolume{} + yyv4817[yyj4817] = AttachedVolume{} } else { - yyv4750 := &yyv4747[yyj4747] - yyv4750.CodecDecodeSelf(d) + yyv4820 := &yyv4817[yyj4817] + yyv4820.CodecDecodeSelf(d) } } else { @@ -60555,17 +61359,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj4747 < len(yyv4747) { - yyv4747 = yyv4747[:yyj4747] - yyc4747 = true - } else if yyj4747 == 0 && yyv4747 == nil { - yyv4747 = []AttachedVolume{} - yyc4747 = true + if yyj4817 < len(yyv4817) { + yyv4817 = yyv4817[:yyj4817] + yyc4817 = true + } else if yyj4817 == 0 && yyv4817 == nil { + yyv4817 = []AttachedVolume{} + yyc4817 = true } } - yyh4747.End() - if yyc4747 { - *v = yyv4747 + yyh4817.End() + if yyc4817 { + *v = yyv4817 } } @@ -60574,10 +61378,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4751 := range v { + for _, yyv4821 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4752 := &yyv4751 - yy4752.CodecEncodeSelf(e) + yy4822 := &yyv4821 + yy4822.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60587,83 +61391,83 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4753 := *v - yyh4753, yyl4753 := z.DecSliceHelperStart() - var yyc4753 bool - if yyl4753 == 0 { - if yyv4753 == nil { - yyv4753 = []PreferAvoidPodsEntry{} - yyc4753 = true - } else if len(yyv4753) != 0 { - yyv4753 = yyv4753[:0] - yyc4753 = true + 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 } - } else if yyl4753 > 0 { - var yyrr4753, yyrl4753 int - var yyrt4753 bool - if yyl4753 > cap(yyv4753) { + } else if yyl4823 > 0 { + var yyrr4823, yyrl4823 int + var yyrt4823 bool + if yyl4823 > cap(yyv4823) { - yyrg4753 := len(yyv4753) > 0 - yyv24753 := yyv4753 - yyrl4753, yyrt4753 = z.DecInferLen(yyl4753, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4753 { - if yyrl4753 <= cap(yyv4753) { - yyv4753 = yyv4753[:yyrl4753] + yyrg4823 := len(yyv4823) > 0 + yyv24823 := yyv4823 + yyrl4823, yyrt4823 = z.DecInferLen(yyl4823, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4823 { + if yyrl4823 <= cap(yyv4823) { + yyv4823 = yyv4823[:yyrl4823] } else { - yyv4753 = make([]PreferAvoidPodsEntry, yyrl4753) + yyv4823 = make([]PreferAvoidPodsEntry, yyrl4823) } } else { - yyv4753 = make([]PreferAvoidPodsEntry, yyrl4753) + yyv4823 = make([]PreferAvoidPodsEntry, yyrl4823) } - yyc4753 = true - yyrr4753 = len(yyv4753) - if yyrg4753 { - copy(yyv4753, yyv24753) + yyc4823 = true + yyrr4823 = len(yyv4823) + if yyrg4823 { + copy(yyv4823, yyv24823) } - } else if yyl4753 != len(yyv4753) { - yyv4753 = yyv4753[:yyl4753] - yyc4753 = true + } else if yyl4823 != len(yyv4823) { + yyv4823 = yyv4823[:yyl4823] + yyc4823 = true } - yyj4753 := 0 - for ; yyj4753 < yyrr4753; yyj4753++ { - yyh4753.ElemContainerState(yyj4753) + yyj4823 := 0 + for ; yyj4823 < yyrr4823; yyj4823++ { + yyh4823.ElemContainerState(yyj4823) if r.TryDecodeAsNil() { - yyv4753[yyj4753] = PreferAvoidPodsEntry{} + yyv4823[yyj4823] = PreferAvoidPodsEntry{} } else { - yyv4754 := &yyv4753[yyj4753] - yyv4754.CodecDecodeSelf(d) + yyv4824 := &yyv4823[yyj4823] + yyv4824.CodecDecodeSelf(d) } } - if yyrt4753 { - for ; yyj4753 < yyl4753; yyj4753++ { - yyv4753 = append(yyv4753, PreferAvoidPodsEntry{}) - yyh4753.ElemContainerState(yyj4753) + if yyrt4823 { + for ; yyj4823 < yyl4823; yyj4823++ { + yyv4823 = append(yyv4823, PreferAvoidPodsEntry{}) + yyh4823.ElemContainerState(yyj4823) if r.TryDecodeAsNil() { - yyv4753[yyj4753] = PreferAvoidPodsEntry{} + yyv4823[yyj4823] = PreferAvoidPodsEntry{} } else { - yyv4755 := &yyv4753[yyj4753] - yyv4755.CodecDecodeSelf(d) + yyv4825 := &yyv4823[yyj4823] + yyv4825.CodecDecodeSelf(d) } } } } else { - yyj4753 := 0 - for ; !r.CheckBreak(); yyj4753++ { + yyj4823 := 0 + for ; !r.CheckBreak(); yyj4823++ { - if yyj4753 >= len(yyv4753) { - yyv4753 = append(yyv4753, PreferAvoidPodsEntry{}) // var yyz4753 PreferAvoidPodsEntry - yyc4753 = true + if yyj4823 >= len(yyv4823) { + yyv4823 = append(yyv4823, PreferAvoidPodsEntry{}) // var yyz4823 PreferAvoidPodsEntry + yyc4823 = true } - yyh4753.ElemContainerState(yyj4753) - if yyj4753 < len(yyv4753) { + yyh4823.ElemContainerState(yyj4823) + if yyj4823 < len(yyv4823) { if r.TryDecodeAsNil() { - yyv4753[yyj4753] = PreferAvoidPodsEntry{} + yyv4823[yyj4823] = PreferAvoidPodsEntry{} } else { - yyv4756 := &yyv4753[yyj4753] - yyv4756.CodecDecodeSelf(d) + yyv4826 := &yyv4823[yyj4823] + yyv4826.CodecDecodeSelf(d) } } else { @@ -60671,17 +61475,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj4753 < len(yyv4753) { - yyv4753 = yyv4753[:yyj4753] - yyc4753 = true - } else if yyj4753 == 0 && yyv4753 == nil { - yyv4753 = []PreferAvoidPodsEntry{} - yyc4753 = true + if yyj4823 < len(yyv4823) { + yyv4823 = yyv4823[:yyj4823] + yyc4823 = true + } else if yyj4823 == 0 && yyv4823 == nil { + yyv4823 = []PreferAvoidPodsEntry{} + yyc4823 = true } } - yyh4753.End() - if yyc4753 { - *v = yyv4753 + yyh4823.End() + if yyc4823 { + *v = yyv4823 } } @@ -60690,19 +61494,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4757, yyv4757 := range v { + for yyk4827, yyv4827 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk4757.CodecEncodeSelf(e) + yyk4827.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4758 := &yyv4757 - yym4759 := z.EncBinary() - _ = yym4759 + yy4828 := &yyv4827 + yym4829 := z.EncBinary() + _ = yym4829 if false { - } else if z.HasExtensions() && z.EncExt(yy4758) { - } else if !yym4759 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4758) + } else if z.HasExtensions() && z.EncExt(yy4828) { + } else if !yym4829 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4828) } else { - z.EncFallback(yy4758) + z.EncFallback(yy4828) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -60713,86 +61517,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4760 := *v - yyl4760 := r.ReadMapStart() - yybh4760 := z.DecBasicHandle() - if yyv4760 == nil { - yyrl4760, _ := z.DecInferLen(yyl4760, yybh4760.MaxInitLen, 72) - yyv4760 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4760) - *v = yyv4760 + 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 } - var yymk4760 ResourceName - var yymv4760 pkg3_resource.Quantity - var yymg4760 bool - if yybh4760.MapValueReset { - yymg4760 = true + var yymk4830 ResourceName + var yymv4830 pkg3_resource.Quantity + var yymg4830 bool + if yybh4830.MapValueReset { + yymg4830 = true } - if yyl4760 > 0 { - for yyj4760 := 0; yyj4760 < yyl4760; yyj4760++ { + if yyl4830 > 0 { + for yyj4830 := 0; yyj4830 < yyl4830; yyj4830++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4760 = "" + yymk4830 = "" } else { - yymk4760 = ResourceName(r.DecodeString()) + yymk4830 = ResourceName(r.DecodeString()) } - if yymg4760 { - yymv4760 = yyv4760[yymk4760] + if yymg4830 { + yymv4830 = yyv4830[yymk4830] } else { - yymv4760 = pkg3_resource.Quantity{} + yymv4830 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4760 = pkg3_resource.Quantity{} + yymv4830 = pkg3_resource.Quantity{} } else { - yyv4762 := &yymv4760 - yym4763 := z.DecBinary() - _ = yym4763 + yyv4832 := &yymv4830 + yym4833 := z.DecBinary() + _ = yym4833 if false { - } else if z.HasExtensions() && z.DecExt(yyv4762) { - } else if !yym4763 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4762) + } else if z.HasExtensions() && z.DecExt(yyv4832) { + } else if !yym4833 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4832) } else { - z.DecFallback(yyv4762, false) + z.DecFallback(yyv4832, false) } } - if yyv4760 != nil { - yyv4760[yymk4760] = yymv4760 + if yyv4830 != nil { + yyv4830[yymk4830] = yymv4830 } } - } else if yyl4760 < 0 { - for yyj4760 := 0; !r.CheckBreak(); yyj4760++ { + } else if yyl4830 < 0 { + for yyj4830 := 0; !r.CheckBreak(); yyj4830++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4760 = "" + yymk4830 = "" } else { - yymk4760 = ResourceName(r.DecodeString()) + yymk4830 = ResourceName(r.DecodeString()) } - if yymg4760 { - yymv4760 = yyv4760[yymk4760] + if yymg4830 { + yymv4830 = yyv4830[yymk4830] } else { - yymv4760 = pkg3_resource.Quantity{} + yymv4830 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4760 = pkg3_resource.Quantity{} + yymv4830 = pkg3_resource.Quantity{} } else { - yyv4765 := &yymv4760 - yym4766 := z.DecBinary() - _ = yym4766 + yyv4835 := &yymv4830 + yym4836 := z.DecBinary() + _ = yym4836 if false { - } else if z.HasExtensions() && z.DecExt(yyv4765) { - } else if !yym4766 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4765) + } else if z.HasExtensions() && z.DecExt(yyv4835) { + } else if !yym4836 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4835) } else { - z.DecFallback(yyv4765, false) + z.DecFallback(yyv4835, false) } } - if yyv4760 != nil { - yyv4760[yymk4760] = yymv4760 + if yyv4830 != nil { + yyv4830[yymk4830] = yymv4830 } } } // else len==0: TODO: Should we clear map entries? @@ -60804,10 +61608,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4767 := range v { + for _, yyv4837 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4768 := &yyv4767 - yy4768.CodecEncodeSelf(e) + yy4838 := &yyv4837 + yy4838.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60817,83 +61621,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4769 := *v - yyh4769, yyl4769 := z.DecSliceHelperStart() - var yyc4769 bool - if yyl4769 == 0 { - if yyv4769 == nil { - yyv4769 = []Node{} - yyc4769 = true - } else if len(yyv4769) != 0 { - yyv4769 = yyv4769[:0] - yyc4769 = true + 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 } - } else if yyl4769 > 0 { - var yyrr4769, yyrl4769 int - var yyrt4769 bool - if yyl4769 > cap(yyv4769) { + } else if yyl4839 > 0 { + var yyrr4839, yyrl4839 int + var yyrt4839 bool + if yyl4839 > cap(yyv4839) { - yyrg4769 := len(yyv4769) > 0 - yyv24769 := yyv4769 - yyrl4769, yyrt4769 = z.DecInferLen(yyl4769, z.DecBasicHandle().MaxInitLen, 632) - if yyrt4769 { - if yyrl4769 <= cap(yyv4769) { - yyv4769 = yyv4769[:yyrl4769] + yyrg4839 := len(yyv4839) > 0 + yyv24839 := yyv4839 + yyrl4839, yyrt4839 = z.DecInferLen(yyl4839, z.DecBasicHandle().MaxInitLen, 632) + if yyrt4839 { + if yyrl4839 <= cap(yyv4839) { + yyv4839 = yyv4839[:yyrl4839] } else { - yyv4769 = make([]Node, yyrl4769) + yyv4839 = make([]Node, yyrl4839) } } else { - yyv4769 = make([]Node, yyrl4769) + yyv4839 = make([]Node, yyrl4839) } - yyc4769 = true - yyrr4769 = len(yyv4769) - if yyrg4769 { - copy(yyv4769, yyv24769) + yyc4839 = true + yyrr4839 = len(yyv4839) + if yyrg4839 { + copy(yyv4839, yyv24839) } - } else if yyl4769 != len(yyv4769) { - yyv4769 = yyv4769[:yyl4769] - yyc4769 = true + } else if yyl4839 != len(yyv4839) { + yyv4839 = yyv4839[:yyl4839] + yyc4839 = true } - yyj4769 := 0 - for ; yyj4769 < yyrr4769; yyj4769++ { - yyh4769.ElemContainerState(yyj4769) + yyj4839 := 0 + for ; yyj4839 < yyrr4839; yyj4839++ { + yyh4839.ElemContainerState(yyj4839) if r.TryDecodeAsNil() { - yyv4769[yyj4769] = Node{} + yyv4839[yyj4839] = Node{} } else { - yyv4770 := &yyv4769[yyj4769] - yyv4770.CodecDecodeSelf(d) + yyv4840 := &yyv4839[yyj4839] + yyv4840.CodecDecodeSelf(d) } } - if yyrt4769 { - for ; yyj4769 < yyl4769; yyj4769++ { - yyv4769 = append(yyv4769, Node{}) - yyh4769.ElemContainerState(yyj4769) + if yyrt4839 { + for ; yyj4839 < yyl4839; yyj4839++ { + yyv4839 = append(yyv4839, Node{}) + yyh4839.ElemContainerState(yyj4839) if r.TryDecodeAsNil() { - yyv4769[yyj4769] = Node{} + yyv4839[yyj4839] = Node{} } else { - yyv4771 := &yyv4769[yyj4769] - yyv4771.CodecDecodeSelf(d) + yyv4841 := &yyv4839[yyj4839] + yyv4841.CodecDecodeSelf(d) } } } } else { - yyj4769 := 0 - for ; !r.CheckBreak(); yyj4769++ { + yyj4839 := 0 + for ; !r.CheckBreak(); yyj4839++ { - if yyj4769 >= len(yyv4769) { - yyv4769 = append(yyv4769, Node{}) // var yyz4769 Node - yyc4769 = true + if yyj4839 >= len(yyv4839) { + yyv4839 = append(yyv4839, Node{}) // var yyz4839 Node + yyc4839 = true } - yyh4769.ElemContainerState(yyj4769) - if yyj4769 < len(yyv4769) { + yyh4839.ElemContainerState(yyj4839) + if yyj4839 < len(yyv4839) { if r.TryDecodeAsNil() { - yyv4769[yyj4769] = Node{} + yyv4839[yyj4839] = Node{} } else { - yyv4772 := &yyv4769[yyj4769] - yyv4772.CodecDecodeSelf(d) + yyv4842 := &yyv4839[yyj4839] + yyv4842.CodecDecodeSelf(d) } } else { @@ -60901,17 +61705,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj4769 < len(yyv4769) { - yyv4769 = yyv4769[:yyj4769] - yyc4769 = true - } else if yyj4769 == 0 && yyv4769 == nil { - yyv4769 = []Node{} - yyc4769 = true + if yyj4839 < len(yyv4839) { + yyv4839 = yyv4839[:yyj4839] + yyc4839 = true + } else if yyj4839 == 0 && yyv4839 == nil { + yyv4839 = []Node{} + yyc4839 = true } } - yyh4769.End() - if yyc4769 { - *v = yyv4769 + yyh4839.End() + if yyc4839 { + *v = yyv4839 } } @@ -60920,9 +61724,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4773 := range v { + for _, yyv4843 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4773.CodecEncodeSelf(e) + yyv4843.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60932,75 +61736,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4774 := *v - yyh4774, yyl4774 := z.DecSliceHelperStart() - var yyc4774 bool - if yyl4774 == 0 { - if yyv4774 == nil { - yyv4774 = []FinalizerName{} - yyc4774 = true - } else if len(yyv4774) != 0 { - yyv4774 = yyv4774[:0] - yyc4774 = true + 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 } - } else if yyl4774 > 0 { - var yyrr4774, yyrl4774 int - var yyrt4774 bool - if yyl4774 > cap(yyv4774) { + } else if yyl4844 > 0 { + var yyrr4844, yyrl4844 int + var yyrt4844 bool + if yyl4844 > cap(yyv4844) { - yyrl4774, yyrt4774 = z.DecInferLen(yyl4774, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4774 { - if yyrl4774 <= cap(yyv4774) { - yyv4774 = yyv4774[:yyrl4774] + yyrl4844, yyrt4844 = z.DecInferLen(yyl4844, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4844 { + if yyrl4844 <= cap(yyv4844) { + yyv4844 = yyv4844[:yyrl4844] } else { - yyv4774 = make([]FinalizerName, yyrl4774) + yyv4844 = make([]FinalizerName, yyrl4844) } } else { - yyv4774 = make([]FinalizerName, yyrl4774) + yyv4844 = make([]FinalizerName, yyrl4844) } - yyc4774 = true - yyrr4774 = len(yyv4774) - } else if yyl4774 != len(yyv4774) { - yyv4774 = yyv4774[:yyl4774] - yyc4774 = true + yyc4844 = true + yyrr4844 = len(yyv4844) + } else if yyl4844 != len(yyv4844) { + yyv4844 = yyv4844[:yyl4844] + yyc4844 = true } - yyj4774 := 0 - for ; yyj4774 < yyrr4774; yyj4774++ { - yyh4774.ElemContainerState(yyj4774) + yyj4844 := 0 + for ; yyj4844 < yyrr4844; yyj4844++ { + yyh4844.ElemContainerState(yyj4844) if r.TryDecodeAsNil() { - yyv4774[yyj4774] = "" + yyv4844[yyj4844] = "" } else { - yyv4774[yyj4774] = FinalizerName(r.DecodeString()) + yyv4844[yyj4844] = FinalizerName(r.DecodeString()) } } - if yyrt4774 { - for ; yyj4774 < yyl4774; yyj4774++ { - yyv4774 = append(yyv4774, "") - yyh4774.ElemContainerState(yyj4774) + if yyrt4844 { + for ; yyj4844 < yyl4844; yyj4844++ { + yyv4844 = append(yyv4844, "") + yyh4844.ElemContainerState(yyj4844) if r.TryDecodeAsNil() { - yyv4774[yyj4774] = "" + yyv4844[yyj4844] = "" } else { - yyv4774[yyj4774] = FinalizerName(r.DecodeString()) + yyv4844[yyj4844] = FinalizerName(r.DecodeString()) } } } } else { - yyj4774 := 0 - for ; !r.CheckBreak(); yyj4774++ { + yyj4844 := 0 + for ; !r.CheckBreak(); yyj4844++ { - if yyj4774 >= len(yyv4774) { - yyv4774 = append(yyv4774, "") // var yyz4774 FinalizerName - yyc4774 = true + if yyj4844 >= len(yyv4844) { + yyv4844 = append(yyv4844, "") // var yyz4844 FinalizerName + yyc4844 = true } - yyh4774.ElemContainerState(yyj4774) - if yyj4774 < len(yyv4774) { + yyh4844.ElemContainerState(yyj4844) + if yyj4844 < len(yyv4844) { if r.TryDecodeAsNil() { - yyv4774[yyj4774] = "" + yyv4844[yyj4844] = "" } else { - yyv4774[yyj4774] = FinalizerName(r.DecodeString()) + yyv4844[yyj4844] = FinalizerName(r.DecodeString()) } } else { @@ -61008,17 +61812,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj4774 < len(yyv4774) { - yyv4774 = yyv4774[:yyj4774] - yyc4774 = true - } else if yyj4774 == 0 && yyv4774 == nil { - yyv4774 = []FinalizerName{} - yyc4774 = true + if yyj4844 < len(yyv4844) { + yyv4844 = yyv4844[:yyj4844] + yyc4844 = true + } else if yyj4844 == 0 && yyv4844 == nil { + yyv4844 = []FinalizerName{} + yyc4844 = true } } - yyh4774.End() - if yyc4774 { - *v = yyv4774 + yyh4844.End() + if yyc4844 { + *v = yyv4844 } } @@ -61027,10 +61831,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4778 := range v { + for _, yyv4848 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4779 := &yyv4778 - yy4779.CodecEncodeSelf(e) + yy4849 := &yyv4848 + yy4849.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61040,83 +61844,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4780 := *v - yyh4780, yyl4780 := z.DecSliceHelperStart() - var yyc4780 bool - if yyl4780 == 0 { - if yyv4780 == nil { - yyv4780 = []Namespace{} - yyc4780 = true - } else if len(yyv4780) != 0 { - yyv4780 = yyv4780[:0] - yyc4780 = true + 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 } - } else if yyl4780 > 0 { - var yyrr4780, yyrl4780 int - var yyrt4780 bool - if yyl4780 > cap(yyv4780) { + } else if yyl4850 > 0 { + var yyrr4850, yyrl4850 int + var yyrt4850 bool + if yyl4850 > cap(yyv4850) { - yyrg4780 := len(yyv4780) > 0 - yyv24780 := yyv4780 - yyrl4780, yyrt4780 = z.DecInferLen(yyl4780, z.DecBasicHandle().MaxInitLen, 296) - if yyrt4780 { - if yyrl4780 <= cap(yyv4780) { - yyv4780 = yyv4780[:yyrl4780] + yyrg4850 := len(yyv4850) > 0 + yyv24850 := yyv4850 + yyrl4850, yyrt4850 = z.DecInferLen(yyl4850, z.DecBasicHandle().MaxInitLen, 296) + if yyrt4850 { + if yyrl4850 <= cap(yyv4850) { + yyv4850 = yyv4850[:yyrl4850] } else { - yyv4780 = make([]Namespace, yyrl4780) + yyv4850 = make([]Namespace, yyrl4850) } } else { - yyv4780 = make([]Namespace, yyrl4780) + yyv4850 = make([]Namespace, yyrl4850) } - yyc4780 = true - yyrr4780 = len(yyv4780) - if yyrg4780 { - copy(yyv4780, yyv24780) + yyc4850 = true + yyrr4850 = len(yyv4850) + if yyrg4850 { + copy(yyv4850, yyv24850) } - } else if yyl4780 != len(yyv4780) { - yyv4780 = yyv4780[:yyl4780] - yyc4780 = true + } else if yyl4850 != len(yyv4850) { + yyv4850 = yyv4850[:yyl4850] + yyc4850 = true } - yyj4780 := 0 - for ; yyj4780 < yyrr4780; yyj4780++ { - yyh4780.ElemContainerState(yyj4780) + yyj4850 := 0 + for ; yyj4850 < yyrr4850; yyj4850++ { + yyh4850.ElemContainerState(yyj4850) if r.TryDecodeAsNil() { - yyv4780[yyj4780] = Namespace{} + yyv4850[yyj4850] = Namespace{} } else { - yyv4781 := &yyv4780[yyj4780] - yyv4781.CodecDecodeSelf(d) + yyv4851 := &yyv4850[yyj4850] + yyv4851.CodecDecodeSelf(d) } } - if yyrt4780 { - for ; yyj4780 < yyl4780; yyj4780++ { - yyv4780 = append(yyv4780, Namespace{}) - yyh4780.ElemContainerState(yyj4780) + if yyrt4850 { + for ; yyj4850 < yyl4850; yyj4850++ { + yyv4850 = append(yyv4850, Namespace{}) + yyh4850.ElemContainerState(yyj4850) if r.TryDecodeAsNil() { - yyv4780[yyj4780] = Namespace{} + yyv4850[yyj4850] = Namespace{} } else { - yyv4782 := &yyv4780[yyj4780] - yyv4782.CodecDecodeSelf(d) + yyv4852 := &yyv4850[yyj4850] + yyv4852.CodecDecodeSelf(d) } } } } else { - yyj4780 := 0 - for ; !r.CheckBreak(); yyj4780++ { + yyj4850 := 0 + for ; !r.CheckBreak(); yyj4850++ { - if yyj4780 >= len(yyv4780) { - yyv4780 = append(yyv4780, Namespace{}) // var yyz4780 Namespace - yyc4780 = true + if yyj4850 >= len(yyv4850) { + yyv4850 = append(yyv4850, Namespace{}) // var yyz4850 Namespace + yyc4850 = true } - yyh4780.ElemContainerState(yyj4780) - if yyj4780 < len(yyv4780) { + yyh4850.ElemContainerState(yyj4850) + if yyj4850 < len(yyv4850) { if r.TryDecodeAsNil() { - yyv4780[yyj4780] = Namespace{} + yyv4850[yyj4850] = Namespace{} } else { - yyv4783 := &yyv4780[yyj4780] - yyv4783.CodecDecodeSelf(d) + yyv4853 := &yyv4850[yyj4850] + yyv4853.CodecDecodeSelf(d) } } else { @@ -61124,17 +61928,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj4780 < len(yyv4780) { - yyv4780 = yyv4780[:yyj4780] - yyc4780 = true - } else if yyj4780 == 0 && yyv4780 == nil { - yyv4780 = []Namespace{} - yyc4780 = true + if yyj4850 < len(yyv4850) { + yyv4850 = yyv4850[:yyj4850] + yyc4850 = true + } else if yyj4850 == 0 && yyv4850 == nil { + yyv4850 = []Namespace{} + yyc4850 = true } } - yyh4780.End() - if yyc4780 { - *v = yyv4780 + yyh4850.End() + if yyc4850 { + *v = yyv4850 } } @@ -61143,10 +61947,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4784 := range v { + for _, yyv4854 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4785 := &yyv4784 - yy4785.CodecEncodeSelf(e) + yy4855 := &yyv4854 + yy4855.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61156,83 +61960,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4786 := *v - yyh4786, yyl4786 := z.DecSliceHelperStart() - var yyc4786 bool - if yyl4786 == 0 { - if yyv4786 == nil { - yyv4786 = []Event{} - yyc4786 = true - } else if len(yyv4786) != 0 { - yyv4786 = yyv4786[:0] - yyc4786 = true + 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 } - } else if yyl4786 > 0 { - var yyrr4786, yyrl4786 int - var yyrt4786 bool - if yyl4786 > cap(yyv4786) { + } else if yyl4856 > 0 { + var yyrr4856, yyrl4856 int + var yyrt4856 bool + if yyl4856 > cap(yyv4856) { - yyrg4786 := len(yyv4786) > 0 - yyv24786 := yyv4786 - yyrl4786, yyrt4786 = z.DecInferLen(yyl4786, z.DecBasicHandle().MaxInitLen, 504) - if yyrt4786 { - if yyrl4786 <= cap(yyv4786) { - yyv4786 = yyv4786[:yyrl4786] + yyrg4856 := len(yyv4856) > 0 + yyv24856 := yyv4856 + yyrl4856, yyrt4856 = z.DecInferLen(yyl4856, z.DecBasicHandle().MaxInitLen, 504) + if yyrt4856 { + if yyrl4856 <= cap(yyv4856) { + yyv4856 = yyv4856[:yyrl4856] } else { - yyv4786 = make([]Event, yyrl4786) + yyv4856 = make([]Event, yyrl4856) } } else { - yyv4786 = make([]Event, yyrl4786) + yyv4856 = make([]Event, yyrl4856) } - yyc4786 = true - yyrr4786 = len(yyv4786) - if yyrg4786 { - copy(yyv4786, yyv24786) + yyc4856 = true + yyrr4856 = len(yyv4856) + if yyrg4856 { + copy(yyv4856, yyv24856) } - } else if yyl4786 != len(yyv4786) { - yyv4786 = yyv4786[:yyl4786] - yyc4786 = true + } else if yyl4856 != len(yyv4856) { + yyv4856 = yyv4856[:yyl4856] + yyc4856 = true } - yyj4786 := 0 - for ; yyj4786 < yyrr4786; yyj4786++ { - yyh4786.ElemContainerState(yyj4786) + yyj4856 := 0 + for ; yyj4856 < yyrr4856; yyj4856++ { + yyh4856.ElemContainerState(yyj4856) if r.TryDecodeAsNil() { - yyv4786[yyj4786] = Event{} + yyv4856[yyj4856] = Event{} } else { - yyv4787 := &yyv4786[yyj4786] - yyv4787.CodecDecodeSelf(d) + yyv4857 := &yyv4856[yyj4856] + yyv4857.CodecDecodeSelf(d) } } - if yyrt4786 { - for ; yyj4786 < yyl4786; yyj4786++ { - yyv4786 = append(yyv4786, Event{}) - yyh4786.ElemContainerState(yyj4786) + if yyrt4856 { + for ; yyj4856 < yyl4856; yyj4856++ { + yyv4856 = append(yyv4856, Event{}) + yyh4856.ElemContainerState(yyj4856) if r.TryDecodeAsNil() { - yyv4786[yyj4786] = Event{} + yyv4856[yyj4856] = Event{} } else { - yyv4788 := &yyv4786[yyj4786] - yyv4788.CodecDecodeSelf(d) + yyv4858 := &yyv4856[yyj4856] + yyv4858.CodecDecodeSelf(d) } } } } else { - yyj4786 := 0 - for ; !r.CheckBreak(); yyj4786++ { + yyj4856 := 0 + for ; !r.CheckBreak(); yyj4856++ { - if yyj4786 >= len(yyv4786) { - yyv4786 = append(yyv4786, Event{}) // var yyz4786 Event - yyc4786 = true + if yyj4856 >= len(yyv4856) { + yyv4856 = append(yyv4856, Event{}) // var yyz4856 Event + yyc4856 = true } - yyh4786.ElemContainerState(yyj4786) - if yyj4786 < len(yyv4786) { + yyh4856.ElemContainerState(yyj4856) + if yyj4856 < len(yyv4856) { if r.TryDecodeAsNil() { - yyv4786[yyj4786] = Event{} + yyv4856[yyj4856] = Event{} } else { - yyv4789 := &yyv4786[yyj4786] - yyv4789.CodecDecodeSelf(d) + yyv4859 := &yyv4856[yyj4856] + yyv4859.CodecDecodeSelf(d) } } else { @@ -61240,17 +62044,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj4786 < len(yyv4786) { - yyv4786 = yyv4786[:yyj4786] - yyc4786 = true - } else if yyj4786 == 0 && yyv4786 == nil { - yyv4786 = []Event{} - yyc4786 = true + if yyj4856 < len(yyv4856) { + yyv4856 = yyv4856[:yyj4856] + yyc4856 = true + } else if yyj4856 == 0 && yyv4856 == nil { + yyv4856 = []Event{} + yyc4856 = true } } - yyh4786.End() - if yyc4786 { - *v = yyv4786 + yyh4856.End() + if yyc4856 { + *v = yyv4856 } } @@ -61259,17 +62063,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 _, yyv4790 := range v { + for _, yyv4860 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyv4790 == nil { + if yyv4860 == nil { r.EncodeNil() } else { - yym4791 := z.EncBinary() - _ = yym4791 + yym4861 := z.EncBinary() + _ = yym4861 if false { - } else if z.HasExtensions() && z.EncExt(yyv4790) { + } else if z.HasExtensions() && z.EncExt(yyv4860) { } else { - z.EncFallback(yyv4790) + z.EncFallback(yyv4860) } } } @@ -61281,74 +62085,74 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4792 := *v - yyh4792, yyl4792 := z.DecSliceHelperStart() - var yyc4792 bool - if yyl4792 == 0 { - if yyv4792 == nil { - yyv4792 = []pkg7_runtime.Object{} - yyc4792 = true - } else if len(yyv4792) != 0 { - yyv4792 = yyv4792[:0] - yyc4792 = true + yyv4862 := *v + yyh4862, yyl4862 := z.DecSliceHelperStart() + var yyc4862 bool + if yyl4862 == 0 { + if yyv4862 == nil { + yyv4862 = []pkg7_runtime.Object{} + yyc4862 = true + } else if len(yyv4862) != 0 { + yyv4862 = yyv4862[:0] + yyc4862 = true } - } else if yyl4792 > 0 { - var yyrr4792, yyrl4792 int - var yyrt4792 bool - if yyl4792 > cap(yyv4792) { + } else if yyl4862 > 0 { + var yyrr4862, yyrl4862 int + var yyrt4862 bool + if yyl4862 > cap(yyv4862) { - yyrg4792 := len(yyv4792) > 0 - yyv24792 := yyv4792 - yyrl4792, yyrt4792 = z.DecInferLen(yyl4792, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4792 { - if yyrl4792 <= cap(yyv4792) { - yyv4792 = yyv4792[:yyrl4792] + yyrg4862 := len(yyv4862) > 0 + yyv24862 := yyv4862 + yyrl4862, yyrt4862 = z.DecInferLen(yyl4862, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4862 { + if yyrl4862 <= cap(yyv4862) { + yyv4862 = yyv4862[:yyrl4862] } else { - yyv4792 = make([]pkg7_runtime.Object, yyrl4792) + yyv4862 = make([]pkg7_runtime.Object, yyrl4862) } } else { - yyv4792 = make([]pkg7_runtime.Object, yyrl4792) + yyv4862 = make([]pkg7_runtime.Object, yyrl4862) } - yyc4792 = true - yyrr4792 = len(yyv4792) - if yyrg4792 { - copy(yyv4792, yyv24792) + yyc4862 = true + yyrr4862 = len(yyv4862) + if yyrg4862 { + copy(yyv4862, yyv24862) } - } else if yyl4792 != len(yyv4792) { - yyv4792 = yyv4792[:yyl4792] - yyc4792 = true + } else if yyl4862 != len(yyv4862) { + yyv4862 = yyv4862[:yyl4862] + yyc4862 = true } - yyj4792 := 0 - for ; yyj4792 < yyrr4792; yyj4792++ { - yyh4792.ElemContainerState(yyj4792) + yyj4862 := 0 + for ; yyj4862 < yyrr4862; yyj4862++ { + yyh4862.ElemContainerState(yyj4862) if r.TryDecodeAsNil() { - yyv4792[yyj4792] = nil + yyv4862[yyj4862] = nil } else { - yyv4793 := &yyv4792[yyj4792] - yym4794 := z.DecBinary() - _ = yym4794 + yyv4863 := &yyv4862[yyj4862] + yym4864 := z.DecBinary() + _ = yym4864 if false { - } else if z.HasExtensions() && z.DecExt(yyv4793) { + } else if z.HasExtensions() && z.DecExt(yyv4863) { } else { - z.DecFallback(yyv4793, true) + z.DecFallback(yyv4863, true) } } } - if yyrt4792 { - for ; yyj4792 < yyl4792; yyj4792++ { - yyv4792 = append(yyv4792, nil) - yyh4792.ElemContainerState(yyj4792) + if yyrt4862 { + for ; yyj4862 < yyl4862; yyj4862++ { + yyv4862 = append(yyv4862, nil) + yyh4862.ElemContainerState(yyj4862) if r.TryDecodeAsNil() { - yyv4792[yyj4792] = nil + yyv4862[yyj4862] = nil } else { - yyv4795 := &yyv4792[yyj4792] - yym4796 := z.DecBinary() - _ = yym4796 + yyv4865 := &yyv4862[yyj4862] + yym4866 := z.DecBinary() + _ = yym4866 if false { - } else if z.HasExtensions() && z.DecExt(yyv4795) { + } else if z.HasExtensions() && z.DecExt(yyv4865) { } else { - z.DecFallback(yyv4795, true) + z.DecFallback(yyv4865, true) } } @@ -61356,25 +62160,25 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod } } else { - yyj4792 := 0 - for ; !r.CheckBreak(); yyj4792++ { + yyj4862 := 0 + for ; !r.CheckBreak(); yyj4862++ { - if yyj4792 >= len(yyv4792) { - yyv4792 = append(yyv4792, nil) // var yyz4792 pkg7_runtime.Object - yyc4792 = true + if yyj4862 >= len(yyv4862) { + yyv4862 = append(yyv4862, nil) // var yyz4862 pkg7_runtime.Object + yyc4862 = true } - yyh4792.ElemContainerState(yyj4792) - if yyj4792 < len(yyv4792) { + yyh4862.ElemContainerState(yyj4862) + if yyj4862 < len(yyv4862) { if r.TryDecodeAsNil() { - yyv4792[yyj4792] = nil + yyv4862[yyj4862] = nil } else { - yyv4797 := &yyv4792[yyj4792] - yym4798 := z.DecBinary() - _ = yym4798 + yyv4867 := &yyv4862[yyj4862] + yym4868 := z.DecBinary() + _ = yym4868 if false { - } else if z.HasExtensions() && z.DecExt(yyv4797) { + } else if z.HasExtensions() && z.DecExt(yyv4867) { } else { - z.DecFallback(yyv4797, true) + z.DecFallback(yyv4867, true) } } @@ -61383,17 +62187,17 @@ func (x codecSelfer1234) decSliceruntime_Object(v *[]pkg7_runtime.Object, d *cod } } - if yyj4792 < len(yyv4792) { - yyv4792 = yyv4792[:yyj4792] - yyc4792 = true - } else if yyj4792 == 0 && yyv4792 == nil { - yyv4792 = []pkg7_runtime.Object{} - yyc4792 = true + if yyj4862 < len(yyv4862) { + yyv4862 = yyv4862[:yyj4862] + yyc4862 = true + } else if yyj4862 == 0 && yyv4862 == nil { + yyv4862 = []pkg7_runtime.Object{} + yyc4862 = true } } - yyh4792.End() - if yyc4792 { - *v = yyv4792 + yyh4862.End() + if yyc4862 { + *v = yyv4862 } } @@ -61402,10 +62206,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4799 := range v { + for _, yyv4869 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4800 := &yyv4799 - yy4800.CodecEncodeSelf(e) + yy4870 := &yyv4869 + yy4870.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61415,83 +62219,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4801 := *v - yyh4801, yyl4801 := z.DecSliceHelperStart() - var yyc4801 bool - if yyl4801 == 0 { - if yyv4801 == nil { - yyv4801 = []LimitRangeItem{} - yyc4801 = true - } else if len(yyv4801) != 0 { - yyv4801 = yyv4801[:0] - yyc4801 = true + 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 yyl4801 > 0 { - var yyrr4801, yyrl4801 int - var yyrt4801 bool - if yyl4801 > cap(yyv4801) { + } else if yyl4871 > 0 { + var yyrr4871, yyrl4871 int + var yyrt4871 bool + if yyl4871 > cap(yyv4871) { - yyrg4801 := len(yyv4801) > 0 - yyv24801 := yyv4801 - yyrl4801, yyrt4801 = z.DecInferLen(yyl4801, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4801 { - if yyrl4801 <= cap(yyv4801) { - yyv4801 = yyv4801[:yyrl4801] + 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 { - yyv4801 = make([]LimitRangeItem, yyrl4801) + yyv4871 = make([]LimitRangeItem, yyrl4871) } } else { - yyv4801 = make([]LimitRangeItem, yyrl4801) + yyv4871 = make([]LimitRangeItem, yyrl4871) } - yyc4801 = true - yyrr4801 = len(yyv4801) - if yyrg4801 { - copy(yyv4801, yyv24801) + yyc4871 = true + yyrr4871 = len(yyv4871) + if yyrg4871 { + copy(yyv4871, yyv24871) } - } else if yyl4801 != len(yyv4801) { - yyv4801 = yyv4801[:yyl4801] - yyc4801 = true + } else if yyl4871 != len(yyv4871) { + yyv4871 = yyv4871[:yyl4871] + yyc4871 = true } - yyj4801 := 0 - for ; yyj4801 < yyrr4801; yyj4801++ { - yyh4801.ElemContainerState(yyj4801) + yyj4871 := 0 + for ; yyj4871 < yyrr4871; yyj4871++ { + yyh4871.ElemContainerState(yyj4871) if r.TryDecodeAsNil() { - yyv4801[yyj4801] = LimitRangeItem{} + yyv4871[yyj4871] = LimitRangeItem{} } else { - yyv4802 := &yyv4801[yyj4801] - yyv4802.CodecDecodeSelf(d) + yyv4872 := &yyv4871[yyj4871] + yyv4872.CodecDecodeSelf(d) } } - if yyrt4801 { - for ; yyj4801 < yyl4801; yyj4801++ { - yyv4801 = append(yyv4801, LimitRangeItem{}) - yyh4801.ElemContainerState(yyj4801) + if yyrt4871 { + for ; yyj4871 < yyl4871; yyj4871++ { + yyv4871 = append(yyv4871, LimitRangeItem{}) + yyh4871.ElemContainerState(yyj4871) if r.TryDecodeAsNil() { - yyv4801[yyj4801] = LimitRangeItem{} + yyv4871[yyj4871] = LimitRangeItem{} } else { - yyv4803 := &yyv4801[yyj4801] - yyv4803.CodecDecodeSelf(d) + yyv4873 := &yyv4871[yyj4871] + yyv4873.CodecDecodeSelf(d) } } } } else { - yyj4801 := 0 - for ; !r.CheckBreak(); yyj4801++ { + yyj4871 := 0 + for ; !r.CheckBreak(); yyj4871++ { - if yyj4801 >= len(yyv4801) { - yyv4801 = append(yyv4801, LimitRangeItem{}) // var yyz4801 LimitRangeItem - yyc4801 = true + if yyj4871 >= len(yyv4871) { + yyv4871 = append(yyv4871, LimitRangeItem{}) // var yyz4871 LimitRangeItem + yyc4871 = true } - yyh4801.ElemContainerState(yyj4801) - if yyj4801 < len(yyv4801) { + yyh4871.ElemContainerState(yyj4871) + if yyj4871 < len(yyv4871) { if r.TryDecodeAsNil() { - yyv4801[yyj4801] = LimitRangeItem{} + yyv4871[yyj4871] = LimitRangeItem{} } else { - yyv4804 := &yyv4801[yyj4801] - yyv4804.CodecDecodeSelf(d) + yyv4874 := &yyv4871[yyj4871] + yyv4874.CodecDecodeSelf(d) } } else { @@ -61499,17 +62303,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj4801 < len(yyv4801) { - yyv4801 = yyv4801[:yyj4801] - yyc4801 = true - } else if yyj4801 == 0 && yyv4801 == nil { - yyv4801 = []LimitRangeItem{} - yyc4801 = true + if yyj4871 < len(yyv4871) { + yyv4871 = yyv4871[:yyj4871] + yyc4871 = true + } else if yyj4871 == 0 && yyv4871 == nil { + yyv4871 = []LimitRangeItem{} + yyc4871 = true } } - yyh4801.End() - if yyc4801 { - *v = yyv4801 + yyh4871.End() + if yyc4871 { + *v = yyv4871 } } @@ -61518,10 +62322,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4805 := range v { + for _, yyv4875 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4806 := &yyv4805 - yy4806.CodecEncodeSelf(e) + yy4876 := &yyv4875 + yy4876.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61531,83 +62335,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4807 := *v - yyh4807, yyl4807 := z.DecSliceHelperStart() - var yyc4807 bool - if yyl4807 == 0 { - if yyv4807 == nil { - yyv4807 = []LimitRange{} - yyc4807 = true - } else if len(yyv4807) != 0 { - yyv4807 = yyv4807[:0] - yyc4807 = true + 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 } - } else if yyl4807 > 0 { - var yyrr4807, yyrl4807 int - var yyrt4807 bool - if yyl4807 > cap(yyv4807) { + } else if yyl4877 > 0 { + var yyrr4877, yyrl4877 int + var yyrt4877 bool + if yyl4877 > cap(yyv4877) { - yyrg4807 := len(yyv4807) > 0 - yyv24807 := yyv4807 - yyrl4807, yyrt4807 = z.DecInferLen(yyl4807, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4807 { - if yyrl4807 <= cap(yyv4807) { - yyv4807 = yyv4807[:yyrl4807] + yyrg4877 := len(yyv4877) > 0 + yyv24877 := yyv4877 + yyrl4877, yyrt4877 = z.DecInferLen(yyl4877, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4877 { + if yyrl4877 <= cap(yyv4877) { + yyv4877 = yyv4877[:yyrl4877] } else { - yyv4807 = make([]LimitRange, yyrl4807) + yyv4877 = make([]LimitRange, yyrl4877) } } else { - yyv4807 = make([]LimitRange, yyrl4807) + yyv4877 = make([]LimitRange, yyrl4877) } - yyc4807 = true - yyrr4807 = len(yyv4807) - if yyrg4807 { - copy(yyv4807, yyv24807) + yyc4877 = true + yyrr4877 = len(yyv4877) + if yyrg4877 { + copy(yyv4877, yyv24877) } - } else if yyl4807 != len(yyv4807) { - yyv4807 = yyv4807[:yyl4807] - yyc4807 = true + } else if yyl4877 != len(yyv4877) { + yyv4877 = yyv4877[:yyl4877] + yyc4877 = true } - yyj4807 := 0 - for ; yyj4807 < yyrr4807; yyj4807++ { - yyh4807.ElemContainerState(yyj4807) + yyj4877 := 0 + for ; yyj4877 < yyrr4877; yyj4877++ { + yyh4877.ElemContainerState(yyj4877) if r.TryDecodeAsNil() { - yyv4807[yyj4807] = LimitRange{} + yyv4877[yyj4877] = LimitRange{} } else { - yyv4808 := &yyv4807[yyj4807] - yyv4808.CodecDecodeSelf(d) + yyv4878 := &yyv4877[yyj4877] + yyv4878.CodecDecodeSelf(d) } } - if yyrt4807 { - for ; yyj4807 < yyl4807; yyj4807++ { - yyv4807 = append(yyv4807, LimitRange{}) - yyh4807.ElemContainerState(yyj4807) + if yyrt4877 { + for ; yyj4877 < yyl4877; yyj4877++ { + yyv4877 = append(yyv4877, LimitRange{}) + yyh4877.ElemContainerState(yyj4877) if r.TryDecodeAsNil() { - yyv4807[yyj4807] = LimitRange{} + yyv4877[yyj4877] = LimitRange{} } else { - yyv4809 := &yyv4807[yyj4807] - yyv4809.CodecDecodeSelf(d) + yyv4879 := &yyv4877[yyj4877] + yyv4879.CodecDecodeSelf(d) } } } } else { - yyj4807 := 0 - for ; !r.CheckBreak(); yyj4807++ { + yyj4877 := 0 + for ; !r.CheckBreak(); yyj4877++ { - if yyj4807 >= len(yyv4807) { - yyv4807 = append(yyv4807, LimitRange{}) // var yyz4807 LimitRange - yyc4807 = true + if yyj4877 >= len(yyv4877) { + yyv4877 = append(yyv4877, LimitRange{}) // var yyz4877 LimitRange + yyc4877 = true } - yyh4807.ElemContainerState(yyj4807) - if yyj4807 < len(yyv4807) { + yyh4877.ElemContainerState(yyj4877) + if yyj4877 < len(yyv4877) { if r.TryDecodeAsNil() { - yyv4807[yyj4807] = LimitRange{} + yyv4877[yyj4877] = LimitRange{} } else { - yyv4810 := &yyv4807[yyj4807] - yyv4810.CodecDecodeSelf(d) + yyv4880 := &yyv4877[yyj4877] + yyv4880.CodecDecodeSelf(d) } } else { @@ -61615,17 +62419,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj4807 < len(yyv4807) { - yyv4807 = yyv4807[:yyj4807] - yyc4807 = true - } else if yyj4807 == 0 && yyv4807 == nil { - yyv4807 = []LimitRange{} - yyc4807 = true + if yyj4877 < len(yyv4877) { + yyv4877 = yyv4877[:yyj4877] + yyc4877 = true + } else if yyj4877 == 0 && yyv4877 == nil { + yyv4877 = []LimitRange{} + yyc4877 = true } } - yyh4807.End() - if yyc4807 { - *v = yyv4807 + yyh4877.End() + if yyc4877 { + *v = yyv4877 } } @@ -61634,9 +62438,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4811 := range v { + for _, yyv4881 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4811.CodecEncodeSelf(e) + yyv4881.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61646,75 +62450,75 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4812 := *v - yyh4812, yyl4812 := z.DecSliceHelperStart() - var yyc4812 bool - if yyl4812 == 0 { - if yyv4812 == nil { - yyv4812 = []ResourceQuotaScope{} - yyc4812 = true - } else if len(yyv4812) != 0 { - yyv4812 = yyv4812[:0] - yyc4812 = true + 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 } - } else if yyl4812 > 0 { - var yyrr4812, yyrl4812 int - var yyrt4812 bool - if yyl4812 > cap(yyv4812) { + } else if yyl4882 > 0 { + var yyrr4882, yyrl4882 int + var yyrt4882 bool + if yyl4882 > cap(yyv4882) { - yyrl4812, yyrt4812 = z.DecInferLen(yyl4812, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4812 { - if yyrl4812 <= cap(yyv4812) { - yyv4812 = yyv4812[:yyrl4812] + yyrl4882, yyrt4882 = z.DecInferLen(yyl4882, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4882 { + if yyrl4882 <= cap(yyv4882) { + yyv4882 = yyv4882[:yyrl4882] } else { - yyv4812 = make([]ResourceQuotaScope, yyrl4812) + yyv4882 = make([]ResourceQuotaScope, yyrl4882) } } else { - yyv4812 = make([]ResourceQuotaScope, yyrl4812) + yyv4882 = make([]ResourceQuotaScope, yyrl4882) } - yyc4812 = true - yyrr4812 = len(yyv4812) - } else if yyl4812 != len(yyv4812) { - yyv4812 = yyv4812[:yyl4812] - yyc4812 = true + yyc4882 = true + yyrr4882 = len(yyv4882) + } else if yyl4882 != len(yyv4882) { + yyv4882 = yyv4882[:yyl4882] + yyc4882 = true } - yyj4812 := 0 - for ; yyj4812 < yyrr4812; yyj4812++ { - yyh4812.ElemContainerState(yyj4812) + yyj4882 := 0 + for ; yyj4882 < yyrr4882; yyj4882++ { + yyh4882.ElemContainerState(yyj4882) if r.TryDecodeAsNil() { - yyv4812[yyj4812] = "" + yyv4882[yyj4882] = "" } else { - yyv4812[yyj4812] = ResourceQuotaScope(r.DecodeString()) + yyv4882[yyj4882] = ResourceQuotaScope(r.DecodeString()) } } - if yyrt4812 { - for ; yyj4812 < yyl4812; yyj4812++ { - yyv4812 = append(yyv4812, "") - yyh4812.ElemContainerState(yyj4812) + if yyrt4882 { + for ; yyj4882 < yyl4882; yyj4882++ { + yyv4882 = append(yyv4882, "") + yyh4882.ElemContainerState(yyj4882) if r.TryDecodeAsNil() { - yyv4812[yyj4812] = "" + yyv4882[yyj4882] = "" } else { - yyv4812[yyj4812] = ResourceQuotaScope(r.DecodeString()) + yyv4882[yyj4882] = ResourceQuotaScope(r.DecodeString()) } } } } else { - yyj4812 := 0 - for ; !r.CheckBreak(); yyj4812++ { + yyj4882 := 0 + for ; !r.CheckBreak(); yyj4882++ { - if yyj4812 >= len(yyv4812) { - yyv4812 = append(yyv4812, "") // var yyz4812 ResourceQuotaScope - yyc4812 = true + if yyj4882 >= len(yyv4882) { + yyv4882 = append(yyv4882, "") // var yyz4882 ResourceQuotaScope + yyc4882 = true } - yyh4812.ElemContainerState(yyj4812) - if yyj4812 < len(yyv4812) { + yyh4882.ElemContainerState(yyj4882) + if yyj4882 < len(yyv4882) { if r.TryDecodeAsNil() { - yyv4812[yyj4812] = "" + yyv4882[yyj4882] = "" } else { - yyv4812[yyj4812] = ResourceQuotaScope(r.DecodeString()) + yyv4882[yyj4882] = ResourceQuotaScope(r.DecodeString()) } } else { @@ -61722,17 +62526,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj4812 < len(yyv4812) { - yyv4812 = yyv4812[:yyj4812] - yyc4812 = true - } else if yyj4812 == 0 && yyv4812 == nil { - yyv4812 = []ResourceQuotaScope{} - yyc4812 = true + if yyj4882 < len(yyv4882) { + yyv4882 = yyv4882[:yyj4882] + yyc4882 = true + } else if yyj4882 == 0 && yyv4882 == nil { + yyv4882 = []ResourceQuotaScope{} + yyc4882 = true } } - yyh4812.End() - if yyc4812 { - *v = yyv4812 + yyh4882.End() + if yyc4882 { + *v = yyv4882 } } @@ -61741,10 +62545,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4816 := range v { + for _, yyv4886 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4817 := &yyv4816 - yy4817.CodecEncodeSelf(e) + yy4887 := &yyv4886 + yy4887.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61754,83 +62558,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4818 := *v - yyh4818, yyl4818 := z.DecSliceHelperStart() - var yyc4818 bool - if yyl4818 == 0 { - if yyv4818 == nil { - yyv4818 = []ResourceQuota{} - yyc4818 = true - } else if len(yyv4818) != 0 { - yyv4818 = yyv4818[:0] - yyc4818 = true + 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 } - } else if yyl4818 > 0 { - var yyrr4818, yyrl4818 int - var yyrt4818 bool - if yyl4818 > cap(yyv4818) { + } else if yyl4888 > 0 { + var yyrr4888, yyrl4888 int + var yyrt4888 bool + if yyl4888 > cap(yyv4888) { - yyrg4818 := len(yyv4818) > 0 - yyv24818 := yyv4818 - yyrl4818, yyrt4818 = z.DecInferLen(yyl4818, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4818 { - if yyrl4818 <= cap(yyv4818) { - yyv4818 = yyv4818[:yyrl4818] + yyrg4888 := len(yyv4888) > 0 + yyv24888 := yyv4888 + yyrl4888, yyrt4888 = z.DecInferLen(yyl4888, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4888 { + if yyrl4888 <= cap(yyv4888) { + yyv4888 = yyv4888[:yyrl4888] } else { - yyv4818 = make([]ResourceQuota, yyrl4818) + yyv4888 = make([]ResourceQuota, yyrl4888) } } else { - yyv4818 = make([]ResourceQuota, yyrl4818) + yyv4888 = make([]ResourceQuota, yyrl4888) } - yyc4818 = true - yyrr4818 = len(yyv4818) - if yyrg4818 { - copy(yyv4818, yyv24818) + yyc4888 = true + yyrr4888 = len(yyv4888) + if yyrg4888 { + copy(yyv4888, yyv24888) } - } else if yyl4818 != len(yyv4818) { - yyv4818 = yyv4818[:yyl4818] - yyc4818 = true + } else if yyl4888 != len(yyv4888) { + yyv4888 = yyv4888[:yyl4888] + yyc4888 = true } - yyj4818 := 0 - for ; yyj4818 < yyrr4818; yyj4818++ { - yyh4818.ElemContainerState(yyj4818) + yyj4888 := 0 + for ; yyj4888 < yyrr4888; yyj4888++ { + yyh4888.ElemContainerState(yyj4888) if r.TryDecodeAsNil() { - yyv4818[yyj4818] = ResourceQuota{} + yyv4888[yyj4888] = ResourceQuota{} } else { - yyv4819 := &yyv4818[yyj4818] - yyv4819.CodecDecodeSelf(d) + yyv4889 := &yyv4888[yyj4888] + yyv4889.CodecDecodeSelf(d) } } - if yyrt4818 { - for ; yyj4818 < yyl4818; yyj4818++ { - yyv4818 = append(yyv4818, ResourceQuota{}) - yyh4818.ElemContainerState(yyj4818) + if yyrt4888 { + for ; yyj4888 < yyl4888; yyj4888++ { + yyv4888 = append(yyv4888, ResourceQuota{}) + yyh4888.ElemContainerState(yyj4888) if r.TryDecodeAsNil() { - yyv4818[yyj4818] = ResourceQuota{} + yyv4888[yyj4888] = ResourceQuota{} } else { - yyv4820 := &yyv4818[yyj4818] - yyv4820.CodecDecodeSelf(d) + yyv4890 := &yyv4888[yyj4888] + yyv4890.CodecDecodeSelf(d) } } } } else { - yyj4818 := 0 - for ; !r.CheckBreak(); yyj4818++ { + yyj4888 := 0 + for ; !r.CheckBreak(); yyj4888++ { - if yyj4818 >= len(yyv4818) { - yyv4818 = append(yyv4818, ResourceQuota{}) // var yyz4818 ResourceQuota - yyc4818 = true + if yyj4888 >= len(yyv4888) { + yyv4888 = append(yyv4888, ResourceQuota{}) // var yyz4888 ResourceQuota + yyc4888 = true } - yyh4818.ElemContainerState(yyj4818) - if yyj4818 < len(yyv4818) { + yyh4888.ElemContainerState(yyj4888) + if yyj4888 < len(yyv4888) { if r.TryDecodeAsNil() { - yyv4818[yyj4818] = ResourceQuota{} + yyv4888[yyj4888] = ResourceQuota{} } else { - yyv4821 := &yyv4818[yyj4818] - yyv4821.CodecDecodeSelf(d) + yyv4891 := &yyv4888[yyj4888] + yyv4891.CodecDecodeSelf(d) } } else { @@ -61838,17 +62642,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj4818 < len(yyv4818) { - yyv4818 = yyv4818[:yyj4818] - yyc4818 = true - } else if yyj4818 == 0 && yyv4818 == nil { - yyv4818 = []ResourceQuota{} - yyc4818 = true + if yyj4888 < len(yyv4888) { + yyv4888 = yyv4888[:yyj4888] + yyc4888 = true + } else if yyj4888 == 0 && yyv4888 == nil { + yyv4888 = []ResourceQuota{} + yyc4888 = true } } - yyh4818.End() - if yyc4818 { - *v = yyv4818 + yyh4888.End() + if yyc4888 { + *v = yyv4888 } } @@ -61857,23 +62661,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4822, yyv4822 := range v { + for yyk4892, yyv4892 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4823 := z.EncBinary() - _ = yym4823 + yym4893 := z.EncBinary() + _ = yym4893 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4822)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4892)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4822 == nil { + if yyv4892 == nil { r.EncodeNil() } else { - yym4824 := z.EncBinary() - _ = yym4824 + yym4894 := z.EncBinary() + _ = yym4894 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4822)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4892)) } } } @@ -61885,80 +62689,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4825 := *v - yyl4825 := r.ReadMapStart() - yybh4825 := z.DecBasicHandle() - if yyv4825 == nil { - yyrl4825, _ := z.DecInferLen(yyl4825, yybh4825.MaxInitLen, 40) - yyv4825 = make(map[string][]uint8, yyrl4825) - *v = yyv4825 + 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 } - var yymk4825 string - var yymv4825 []uint8 - var yymg4825 bool - if yybh4825.MapValueReset { - yymg4825 = true + var yymk4895 string + var yymv4895 []uint8 + var yymg4895 bool + if yybh4895.MapValueReset { + yymg4895 = true } - if yyl4825 > 0 { - for yyj4825 := 0; yyj4825 < yyl4825; yyj4825++ { + if yyl4895 > 0 { + for yyj4895 := 0; yyj4895 < yyl4895; yyj4895++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4825 = "" + yymk4895 = "" } else { - yymk4825 = string(r.DecodeString()) + yymk4895 = string(r.DecodeString()) } - if yymg4825 { - yymv4825 = yyv4825[yymk4825] + if yymg4895 { + yymv4895 = yyv4895[yymk4895] } else { - yymv4825 = nil + yymv4895 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4825 = nil + yymv4895 = nil } else { - yyv4827 := &yymv4825 - yym4828 := z.DecBinary() - _ = yym4828 + yyv4897 := &yymv4895 + yym4898 := z.DecBinary() + _ = yym4898 if false { } else { - *yyv4827 = r.DecodeBytes(*(*[]byte)(yyv4827), false, false) + *yyv4897 = r.DecodeBytes(*(*[]byte)(yyv4897), false, false) } } - if yyv4825 != nil { - yyv4825[yymk4825] = yymv4825 + if yyv4895 != nil { + yyv4895[yymk4895] = yymv4895 } } - } else if yyl4825 < 0 { - for yyj4825 := 0; !r.CheckBreak(); yyj4825++ { + } else if yyl4895 < 0 { + for yyj4895 := 0; !r.CheckBreak(); yyj4895++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4825 = "" + yymk4895 = "" } else { - yymk4825 = string(r.DecodeString()) + yymk4895 = string(r.DecodeString()) } - if yymg4825 { - yymv4825 = yyv4825[yymk4825] + if yymg4895 { + yymv4895 = yyv4895[yymk4895] } else { - yymv4825 = nil + yymv4895 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4825 = nil + yymv4895 = nil } else { - yyv4830 := &yymv4825 - yym4831 := z.DecBinary() - _ = yym4831 + yyv4900 := &yymv4895 + yym4901 := z.DecBinary() + _ = yym4901 if false { } else { - *yyv4830 = r.DecodeBytes(*(*[]byte)(yyv4830), false, false) + *yyv4900 = r.DecodeBytes(*(*[]byte)(yyv4900), false, false) } } - if yyv4825 != nil { - yyv4825[yymk4825] = yymv4825 + if yyv4895 != nil { + yyv4895[yymk4895] = yymv4895 } } } // else len==0: TODO: Should we clear map entries? @@ -61970,10 +62774,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4832 := range v { + for _, yyv4902 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4833 := &yyv4832 - yy4833.CodecEncodeSelf(e) + yy4903 := &yyv4902 + yy4903.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61983,83 +62787,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4834 := *v - yyh4834, yyl4834 := z.DecSliceHelperStart() - var yyc4834 bool - if yyl4834 == 0 { - if yyv4834 == nil { - yyv4834 = []Secret{} - yyc4834 = true - } else if len(yyv4834) != 0 { - yyv4834 = yyv4834[:0] - yyc4834 = true + 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 } - } else if yyl4834 > 0 { - var yyrr4834, yyrl4834 int - var yyrt4834 bool - if yyl4834 > cap(yyv4834) { + } else if yyl4904 > 0 { + var yyrr4904, yyrl4904 int + var yyrt4904 bool + if yyl4904 > cap(yyv4904) { - yyrg4834 := len(yyv4834) > 0 - yyv24834 := yyv4834 - yyrl4834, yyrt4834 = z.DecInferLen(yyl4834, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4834 { - if yyrl4834 <= cap(yyv4834) { - yyv4834 = yyv4834[:yyrl4834] + yyrg4904 := len(yyv4904) > 0 + yyv24904 := yyv4904 + yyrl4904, yyrt4904 = z.DecInferLen(yyl4904, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4904 { + if yyrl4904 <= cap(yyv4904) { + yyv4904 = yyv4904[:yyrl4904] } else { - yyv4834 = make([]Secret, yyrl4834) + yyv4904 = make([]Secret, yyrl4904) } } else { - yyv4834 = make([]Secret, yyrl4834) + yyv4904 = make([]Secret, yyrl4904) } - yyc4834 = true - yyrr4834 = len(yyv4834) - if yyrg4834 { - copy(yyv4834, yyv24834) + yyc4904 = true + yyrr4904 = len(yyv4904) + if yyrg4904 { + copy(yyv4904, yyv24904) } - } else if yyl4834 != len(yyv4834) { - yyv4834 = yyv4834[:yyl4834] - yyc4834 = true + } else if yyl4904 != len(yyv4904) { + yyv4904 = yyv4904[:yyl4904] + yyc4904 = true } - yyj4834 := 0 - for ; yyj4834 < yyrr4834; yyj4834++ { - yyh4834.ElemContainerState(yyj4834) + yyj4904 := 0 + for ; yyj4904 < yyrr4904; yyj4904++ { + yyh4904.ElemContainerState(yyj4904) if r.TryDecodeAsNil() { - yyv4834[yyj4834] = Secret{} + yyv4904[yyj4904] = Secret{} } else { - yyv4835 := &yyv4834[yyj4834] - yyv4835.CodecDecodeSelf(d) + yyv4905 := &yyv4904[yyj4904] + yyv4905.CodecDecodeSelf(d) } } - if yyrt4834 { - for ; yyj4834 < yyl4834; yyj4834++ { - yyv4834 = append(yyv4834, Secret{}) - yyh4834.ElemContainerState(yyj4834) + if yyrt4904 { + for ; yyj4904 < yyl4904; yyj4904++ { + yyv4904 = append(yyv4904, Secret{}) + yyh4904.ElemContainerState(yyj4904) if r.TryDecodeAsNil() { - yyv4834[yyj4834] = Secret{} + yyv4904[yyj4904] = Secret{} } else { - yyv4836 := &yyv4834[yyj4834] - yyv4836.CodecDecodeSelf(d) + yyv4906 := &yyv4904[yyj4904] + yyv4906.CodecDecodeSelf(d) } } } } else { - yyj4834 := 0 - for ; !r.CheckBreak(); yyj4834++ { + yyj4904 := 0 + for ; !r.CheckBreak(); yyj4904++ { - if yyj4834 >= len(yyv4834) { - yyv4834 = append(yyv4834, Secret{}) // var yyz4834 Secret - yyc4834 = true + if yyj4904 >= len(yyv4904) { + yyv4904 = append(yyv4904, Secret{}) // var yyz4904 Secret + yyc4904 = true } - yyh4834.ElemContainerState(yyj4834) - if yyj4834 < len(yyv4834) { + yyh4904.ElemContainerState(yyj4904) + if yyj4904 < len(yyv4904) { if r.TryDecodeAsNil() { - yyv4834[yyj4834] = Secret{} + yyv4904[yyj4904] = Secret{} } else { - yyv4837 := &yyv4834[yyj4834] - yyv4837.CodecDecodeSelf(d) + yyv4907 := &yyv4904[yyj4904] + yyv4907.CodecDecodeSelf(d) } } else { @@ -62067,17 +62871,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4834 < len(yyv4834) { - yyv4834 = yyv4834[:yyj4834] - yyc4834 = true - } else if yyj4834 == 0 && yyv4834 == nil { - yyv4834 = []Secret{} - yyc4834 = true + if yyj4904 < len(yyv4904) { + yyv4904 = yyv4904[:yyj4904] + yyc4904 = true + } else if yyj4904 == 0 && yyv4904 == nil { + yyv4904 = []Secret{} + yyc4904 = true } } - yyh4834.End() - if yyc4834 { - *v = yyv4834 + yyh4904.End() + if yyc4904 { + *v = yyv4904 } } @@ -62086,10 +62890,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4838 := range v { + for _, yyv4908 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4839 := &yyv4838 - yy4839.CodecEncodeSelf(e) + yy4909 := &yyv4908 + yy4909.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62099,83 +62903,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4840 := *v - yyh4840, yyl4840 := z.DecSliceHelperStart() - var yyc4840 bool - if yyl4840 == 0 { - if yyv4840 == nil { - yyv4840 = []ConfigMap{} - yyc4840 = true - } else if len(yyv4840) != 0 { - yyv4840 = yyv4840[:0] - yyc4840 = true + 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 } - } else if yyl4840 > 0 { - var yyrr4840, yyrl4840 int - var yyrt4840 bool - if yyl4840 > cap(yyv4840) { + } else if yyl4910 > 0 { + var yyrr4910, yyrl4910 int + var yyrt4910 bool + if yyl4910 > cap(yyv4910) { - yyrg4840 := len(yyv4840) > 0 - yyv24840 := yyv4840 - yyrl4840, yyrt4840 = z.DecInferLen(yyl4840, z.DecBasicHandle().MaxInitLen, 264) - if yyrt4840 { - if yyrl4840 <= cap(yyv4840) { - yyv4840 = yyv4840[:yyrl4840] + yyrg4910 := len(yyv4910) > 0 + yyv24910 := yyv4910 + yyrl4910, yyrt4910 = z.DecInferLen(yyl4910, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4910 { + if yyrl4910 <= cap(yyv4910) { + yyv4910 = yyv4910[:yyrl4910] } else { - yyv4840 = make([]ConfigMap, yyrl4840) + yyv4910 = make([]ConfigMap, yyrl4910) } } else { - yyv4840 = make([]ConfigMap, yyrl4840) + yyv4910 = make([]ConfigMap, yyrl4910) } - yyc4840 = true - yyrr4840 = len(yyv4840) - if yyrg4840 { - copy(yyv4840, yyv24840) + yyc4910 = true + yyrr4910 = len(yyv4910) + if yyrg4910 { + copy(yyv4910, yyv24910) } - } else if yyl4840 != len(yyv4840) { - yyv4840 = yyv4840[:yyl4840] - yyc4840 = true + } else if yyl4910 != len(yyv4910) { + yyv4910 = yyv4910[:yyl4910] + yyc4910 = true } - yyj4840 := 0 - for ; yyj4840 < yyrr4840; yyj4840++ { - yyh4840.ElemContainerState(yyj4840) + yyj4910 := 0 + for ; yyj4910 < yyrr4910; yyj4910++ { + yyh4910.ElemContainerState(yyj4910) if r.TryDecodeAsNil() { - yyv4840[yyj4840] = ConfigMap{} + yyv4910[yyj4910] = ConfigMap{} } else { - yyv4841 := &yyv4840[yyj4840] - yyv4841.CodecDecodeSelf(d) + yyv4911 := &yyv4910[yyj4910] + yyv4911.CodecDecodeSelf(d) } } - if yyrt4840 { - for ; yyj4840 < yyl4840; yyj4840++ { - yyv4840 = append(yyv4840, ConfigMap{}) - yyh4840.ElemContainerState(yyj4840) + if yyrt4910 { + for ; yyj4910 < yyl4910; yyj4910++ { + yyv4910 = append(yyv4910, ConfigMap{}) + yyh4910.ElemContainerState(yyj4910) if r.TryDecodeAsNil() { - yyv4840[yyj4840] = ConfigMap{} + yyv4910[yyj4910] = ConfigMap{} } else { - yyv4842 := &yyv4840[yyj4840] - yyv4842.CodecDecodeSelf(d) + yyv4912 := &yyv4910[yyj4910] + yyv4912.CodecDecodeSelf(d) } } } } else { - yyj4840 := 0 - for ; !r.CheckBreak(); yyj4840++ { + yyj4910 := 0 + for ; !r.CheckBreak(); yyj4910++ { - if yyj4840 >= len(yyv4840) { - yyv4840 = append(yyv4840, ConfigMap{}) // var yyz4840 ConfigMap - yyc4840 = true + if yyj4910 >= len(yyv4910) { + yyv4910 = append(yyv4910, ConfigMap{}) // var yyz4910 ConfigMap + yyc4910 = true } - yyh4840.ElemContainerState(yyj4840) - if yyj4840 < len(yyv4840) { + yyh4910.ElemContainerState(yyj4910) + if yyj4910 < len(yyv4910) { if r.TryDecodeAsNil() { - yyv4840[yyj4840] = ConfigMap{} + yyv4910[yyj4910] = ConfigMap{} } else { - yyv4843 := &yyv4840[yyj4840] - yyv4843.CodecDecodeSelf(d) + yyv4913 := &yyv4910[yyj4910] + yyv4913.CodecDecodeSelf(d) } } else { @@ -62183,17 +62987,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4840 < len(yyv4840) { - yyv4840 = yyv4840[:yyj4840] - yyc4840 = true - } else if yyj4840 == 0 && yyv4840 == nil { - yyv4840 = []ConfigMap{} - yyc4840 = true + if yyj4910 < len(yyv4910) { + yyv4910 = yyv4910[:yyj4910] + yyc4910 = true + } else if yyj4910 == 0 && yyv4910 == nil { + yyv4910 = []ConfigMap{} + yyc4910 = true } } - yyh4840.End() - if yyc4840 { - *v = yyv4840 + yyh4910.End() + if yyc4910 { + *v = yyv4910 } } @@ -62202,10 +63006,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4844 := range v { + for _, yyv4914 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4845 := &yyv4844 - yy4845.CodecEncodeSelf(e) + yy4915 := &yyv4914 + yy4915.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62215,83 +63019,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4846 := *v - yyh4846, yyl4846 := z.DecSliceHelperStart() - var yyc4846 bool - if yyl4846 == 0 { - if yyv4846 == nil { - yyv4846 = []ComponentCondition{} - yyc4846 = true - } else if len(yyv4846) != 0 { - yyv4846 = yyv4846[:0] - yyc4846 = true + 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 } - } else if yyl4846 > 0 { - var yyrr4846, yyrl4846 int - var yyrt4846 bool - if yyl4846 > cap(yyv4846) { + } else if yyl4916 > 0 { + var yyrr4916, yyrl4916 int + var yyrt4916 bool + if yyl4916 > cap(yyv4916) { - yyrg4846 := len(yyv4846) > 0 - yyv24846 := yyv4846 - yyrl4846, yyrt4846 = z.DecInferLen(yyl4846, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4846 { - if yyrl4846 <= cap(yyv4846) { - yyv4846 = yyv4846[:yyrl4846] + yyrg4916 := len(yyv4916) > 0 + yyv24916 := yyv4916 + yyrl4916, yyrt4916 = z.DecInferLen(yyl4916, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4916 { + if yyrl4916 <= cap(yyv4916) { + yyv4916 = yyv4916[:yyrl4916] } else { - yyv4846 = make([]ComponentCondition, yyrl4846) + yyv4916 = make([]ComponentCondition, yyrl4916) } } else { - yyv4846 = make([]ComponentCondition, yyrl4846) + yyv4916 = make([]ComponentCondition, yyrl4916) } - yyc4846 = true - yyrr4846 = len(yyv4846) - if yyrg4846 { - copy(yyv4846, yyv24846) + yyc4916 = true + yyrr4916 = len(yyv4916) + if yyrg4916 { + copy(yyv4916, yyv24916) } - } else if yyl4846 != len(yyv4846) { - yyv4846 = yyv4846[:yyl4846] - yyc4846 = true + } else if yyl4916 != len(yyv4916) { + yyv4916 = yyv4916[:yyl4916] + yyc4916 = true } - yyj4846 := 0 - for ; yyj4846 < yyrr4846; yyj4846++ { - yyh4846.ElemContainerState(yyj4846) + yyj4916 := 0 + for ; yyj4916 < yyrr4916; yyj4916++ { + yyh4916.ElemContainerState(yyj4916) if r.TryDecodeAsNil() { - yyv4846[yyj4846] = ComponentCondition{} + yyv4916[yyj4916] = ComponentCondition{} } else { - yyv4847 := &yyv4846[yyj4846] - yyv4847.CodecDecodeSelf(d) + yyv4917 := &yyv4916[yyj4916] + yyv4917.CodecDecodeSelf(d) } } - if yyrt4846 { - for ; yyj4846 < yyl4846; yyj4846++ { - yyv4846 = append(yyv4846, ComponentCondition{}) - yyh4846.ElemContainerState(yyj4846) + if yyrt4916 { + for ; yyj4916 < yyl4916; yyj4916++ { + yyv4916 = append(yyv4916, ComponentCondition{}) + yyh4916.ElemContainerState(yyj4916) if r.TryDecodeAsNil() { - yyv4846[yyj4846] = ComponentCondition{} + yyv4916[yyj4916] = ComponentCondition{} } else { - yyv4848 := &yyv4846[yyj4846] - yyv4848.CodecDecodeSelf(d) + yyv4918 := &yyv4916[yyj4916] + yyv4918.CodecDecodeSelf(d) } } } } else { - yyj4846 := 0 - for ; !r.CheckBreak(); yyj4846++ { + yyj4916 := 0 + for ; !r.CheckBreak(); yyj4916++ { - if yyj4846 >= len(yyv4846) { - yyv4846 = append(yyv4846, ComponentCondition{}) // var yyz4846 ComponentCondition - yyc4846 = true + if yyj4916 >= len(yyv4916) { + yyv4916 = append(yyv4916, ComponentCondition{}) // var yyz4916 ComponentCondition + yyc4916 = true } - yyh4846.ElemContainerState(yyj4846) - if yyj4846 < len(yyv4846) { + yyh4916.ElemContainerState(yyj4916) + if yyj4916 < len(yyv4916) { if r.TryDecodeAsNil() { - yyv4846[yyj4846] = ComponentCondition{} + yyv4916[yyj4916] = ComponentCondition{} } else { - yyv4849 := &yyv4846[yyj4846] - yyv4849.CodecDecodeSelf(d) + yyv4919 := &yyv4916[yyj4916] + yyv4919.CodecDecodeSelf(d) } } else { @@ -62299,17 +63103,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4846 < len(yyv4846) { - yyv4846 = yyv4846[:yyj4846] - yyc4846 = true - } else if yyj4846 == 0 && yyv4846 == nil { - yyv4846 = []ComponentCondition{} - yyc4846 = true + if yyj4916 < len(yyv4916) { + yyv4916 = yyv4916[:yyj4916] + yyc4916 = true + } else if yyj4916 == 0 && yyv4916 == nil { + yyv4916 = []ComponentCondition{} + yyc4916 = true } } - yyh4846.End() - if yyc4846 { - *v = yyv4846 + yyh4916.End() + if yyc4916 { + *v = yyv4916 } } @@ -62318,10 +63122,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4850 := range v { + for _, yyv4920 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4851 := &yyv4850 - yy4851.CodecEncodeSelf(e) + yy4921 := &yyv4920 + yy4921.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62331,83 +63135,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4852 := *v - yyh4852, yyl4852 := z.DecSliceHelperStart() - var yyc4852 bool - if yyl4852 == 0 { - if yyv4852 == nil { - yyv4852 = []ComponentStatus{} - yyc4852 = true - } else if len(yyv4852) != 0 { - yyv4852 = yyv4852[:0] - yyc4852 = true + 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 } - } else if yyl4852 > 0 { - var yyrr4852, yyrl4852 int - var yyrt4852 bool - if yyl4852 > cap(yyv4852) { + } else if yyl4922 > 0 { + var yyrr4922, yyrl4922 int + var yyrt4922 bool + if yyl4922 > cap(yyv4922) { - yyrg4852 := len(yyv4852) > 0 - yyv24852 := yyv4852 - yyrl4852, yyrt4852 = z.DecInferLen(yyl4852, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4852 { - if yyrl4852 <= cap(yyv4852) { - yyv4852 = yyv4852[:yyrl4852] + yyrg4922 := len(yyv4922) > 0 + yyv24922 := yyv4922 + yyrl4922, yyrt4922 = z.DecInferLen(yyl4922, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4922 { + if yyrl4922 <= cap(yyv4922) { + yyv4922 = yyv4922[:yyrl4922] } else { - yyv4852 = make([]ComponentStatus, yyrl4852) + yyv4922 = make([]ComponentStatus, yyrl4922) } } else { - yyv4852 = make([]ComponentStatus, yyrl4852) + yyv4922 = make([]ComponentStatus, yyrl4922) } - yyc4852 = true - yyrr4852 = len(yyv4852) - if yyrg4852 { - copy(yyv4852, yyv24852) + yyc4922 = true + yyrr4922 = len(yyv4922) + if yyrg4922 { + copy(yyv4922, yyv24922) } - } else if yyl4852 != len(yyv4852) { - yyv4852 = yyv4852[:yyl4852] - yyc4852 = true + } else if yyl4922 != len(yyv4922) { + yyv4922 = yyv4922[:yyl4922] + yyc4922 = true } - yyj4852 := 0 - for ; yyj4852 < yyrr4852; yyj4852++ { - yyh4852.ElemContainerState(yyj4852) + yyj4922 := 0 + for ; yyj4922 < yyrr4922; yyj4922++ { + yyh4922.ElemContainerState(yyj4922) if r.TryDecodeAsNil() { - yyv4852[yyj4852] = ComponentStatus{} + yyv4922[yyj4922] = ComponentStatus{} } else { - yyv4853 := &yyv4852[yyj4852] - yyv4853.CodecDecodeSelf(d) + yyv4923 := &yyv4922[yyj4922] + yyv4923.CodecDecodeSelf(d) } } - if yyrt4852 { - for ; yyj4852 < yyl4852; yyj4852++ { - yyv4852 = append(yyv4852, ComponentStatus{}) - yyh4852.ElemContainerState(yyj4852) + if yyrt4922 { + for ; yyj4922 < yyl4922; yyj4922++ { + yyv4922 = append(yyv4922, ComponentStatus{}) + yyh4922.ElemContainerState(yyj4922) if r.TryDecodeAsNil() { - yyv4852[yyj4852] = ComponentStatus{} + yyv4922[yyj4922] = ComponentStatus{} } else { - yyv4854 := &yyv4852[yyj4852] - yyv4854.CodecDecodeSelf(d) + yyv4924 := &yyv4922[yyj4922] + yyv4924.CodecDecodeSelf(d) } } } } else { - yyj4852 := 0 - for ; !r.CheckBreak(); yyj4852++ { + yyj4922 := 0 + for ; !r.CheckBreak(); yyj4922++ { - if yyj4852 >= len(yyv4852) { - yyv4852 = append(yyv4852, ComponentStatus{}) // var yyz4852 ComponentStatus - yyc4852 = true + if yyj4922 >= len(yyv4922) { + yyv4922 = append(yyv4922, ComponentStatus{}) // var yyz4922 ComponentStatus + yyc4922 = true } - yyh4852.ElemContainerState(yyj4852) - if yyj4852 < len(yyv4852) { + yyh4922.ElemContainerState(yyj4922) + if yyj4922 < len(yyv4922) { if r.TryDecodeAsNil() { - yyv4852[yyj4852] = ComponentStatus{} + yyv4922[yyj4922] = ComponentStatus{} } else { - yyv4855 := &yyv4852[yyj4852] - yyv4855.CodecDecodeSelf(d) + yyv4925 := &yyv4922[yyj4922] + yyv4925.CodecDecodeSelf(d) } } else { @@ -62415,16 +63219,16 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4852 < len(yyv4852) { - yyv4852 = yyv4852[:yyj4852] - yyc4852 = true - } else if yyj4852 == 0 && yyv4852 == nil { - yyv4852 = []ComponentStatus{} - yyc4852 = true + if yyj4922 < len(yyv4922) { + yyv4922 = yyv4922[:yyj4922] + yyc4922 = true + } else if yyj4922 == 0 && yyv4922 == nil { + yyv4922 = []ComponentStatus{} + yyc4922 = true } } - yyh4852.End() - if yyc4852 { - *v = yyv4852 + yyh4922.End() + if yyc4922 { + *v = yyv4922 } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/types.go b/staging/src/k8s.io/client-go/pkg/api/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/api/types.go rename to staging/src/k8s.io/client-go/pkg/api/types.go index 94ae87d76cd..a8148da5250 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/types.go +++ b/staging/src/k8s.io/client-go/pkg/api/types.go @@ -17,13 +17,13 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/types" - "k8s.io/client-go/1.5/pkg/util/intstr" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/types" + "k8s.io/client-go/pkg/util/intstr" ) // Common string formats @@ -741,10 +741,14 @@ type CephFSVolumeSource struct { } // Represents a Flocker volume mounted by the Flocker agent. +// One and only one of datasetName and datasetUUID should be set. // Flocker volumes do not support ownership management or SELinux relabeling. type FlockerVolumeSource struct { - // Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker - DatasetName string `json:"datasetName"` + // Name of the dataset stored as metadata -> name on the dataset for Flocker + // should be considered as deprecated + DatasetName string `json:"datasetName,omitempty"` + // UUID of the dataset. This is unique identifier of a Flocker dataset + DatasetUUID string `json:"datasetUUID,omitempty"` } // Represents a volume containing downward API info. @@ -1644,7 +1648,7 @@ type PodStatus struct { // The list has one entry per init container in the manifest. The most recent successful // init container will have ready = true, the most recently started container will have // startTime set. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-statuses + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses InitContainerStatuses []ContainerStatus `json:"-"` // The list has one entry per container in the manifest. Each entry is // currently the output of `docker inspect`. This output format is *not* @@ -1713,6 +1717,11 @@ type ReplicationControllerSpec struct { // Replicas is the number of desired replicas. Replicas int32 `json:"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) + MinReadySeconds int32 `json:"minReadySeconds,omitempty"` + // Selector is a label query over pods that should match the Replicas count. Selector map[string]string `json:"selector"` @@ -1739,8 +1748,40 @@ type ReplicationControllerStatus struct { // The number of ready replicas for this replication controller. ReadyReplicas int32 `json:"readyReplicas,omitempty"` + // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + AvailableReplicas int32 `json:"availableReplicas,omitempty"` + // ObservedGeneration is the most recent generation observed by the controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` + + // Represents the latest available observations of a replication controller's current state. + Conditions []ReplicationControllerCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` +} + +type ReplicationControllerConditionType string + +// These are valid conditions of a replication controller. +const ( + // ReplicationControllerReplicaFailure is added in a replication controller when one of its pods + // fails to be created due to insufficient quota, limit ranges, pod security policy, node selectors, + // etc. or deleted due to kubelet being down or finalizers are failing. + ReplicationControllerReplicaFailure ReplicationControllerConditionType = "ReplicaFailure" +) + +// ReplicationControllerCondition describes the state of a replication controller at a certain point. +type ReplicationControllerCondition struct { + // Type of replication controller condition. + 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. + 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"` } // +genclient=true @@ -1855,7 +1896,7 @@ type ServiceSpec struct { // "LoadBalancer" builds on NodePort and creates an // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview + // More info: http://kubernetes.io/docs/user-guide/services#overview Type ServiceType `json:"type,omitempty"` // Required: The list of ports that are exposed by this service. @@ -1866,7 +1907,7 @@ type ServiceSpec struct { // external process managing its endpoints, which Kubernetes will not // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. // Ignored if type is ExternalName. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview + // More info: http://kubernetes.io/docs/user-guide/services#overview Selector map[string]string `json:"selector"` // ClusterIP is the IP address of the service and is usually assigned @@ -1877,7 +1918,7 @@ type ServiceSpec struct { // can be specified for headless services when proxying is not required. // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies ClusterIP string `json:"clusterIP,omitempty"` // ExternalName is the external reference that kubedns or equivalent will @@ -2212,6 +2253,8 @@ const ( NodeDiskPressure NodeConditionType = "DiskPressure" // NodeNetworkUnavailable means that network for the node is not correctly configured. NodeNetworkUnavailable NodeConditionType = "NetworkUnavailable" + // NodeInodePressure means the kublet is under pressure due to insufficient available inodes. + NodeInodePressure NodeConditionType = "InodePressure" ) type NodeCondition struct { @@ -2525,10 +2568,10 @@ type OwnerReference struct { // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds Kind string `json:"kind"` // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name"` // UID of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // More info: http://kubernetes.io/docs/user-guide/identifiers#uids UID types.UID `json:"uid"` // If true, this reference points to the managing controller. Controller *bool `json:"controller,omitempty"` @@ -2641,6 +2684,8 @@ const ( LimitTypePod LimitType = "Pod" // Limit that applies to all containers in a namespace LimitTypeContainer LimitType = "Container" + // Limit that applies to all persistent volume claims in a namespace + LimitTypePersistentVolumeClaim LimitType = "PersistentVolumeClaim" ) // LimitRangeItem defines a min/max usage limit for any resource that matches on kind diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/doc.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/doc.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/duration.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/duration.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/duration.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/duration.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/generated.pb.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/generated.pb.go index a119204bc10..ac4f623340c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/api/unversioned/generated.pb.go @@ -176,30 +176,30 @@ func (*TypeMeta) ProtoMessage() {} func (*TypeMeta) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{23} } func init() { - proto.RegisterType((*APIGroup)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.APIGroup") - proto.RegisterType((*APIGroupList)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.APIGroupList") - proto.RegisterType((*APIResource)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.APIResource") - proto.RegisterType((*APIResourceList)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.APIResourceList") - proto.RegisterType((*APIVersions)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.APIVersions") - proto.RegisterType((*Duration)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.Duration") - proto.RegisterType((*ExportOptions)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.ExportOptions") - proto.RegisterType((*GroupKind)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.GroupKind") - proto.RegisterType((*GroupResource)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.GroupResource") - proto.RegisterType((*GroupVersion)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.GroupVersion") - proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.GroupVersionForDiscovery") - proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.GroupVersionKind") - proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.GroupVersionResource") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.LabelSelectorRequirement") - proto.RegisterType((*ListMeta)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.ListMeta") - proto.RegisterType((*RootPaths)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.RootPaths") - proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.ServerAddressByClientCIDR") - proto.RegisterType((*Status)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.Status") - proto.RegisterType((*StatusCause)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.StatusCause") - proto.RegisterType((*StatusDetails)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.StatusDetails") - proto.RegisterType((*Time)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.Time") - proto.RegisterType((*Timestamp)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.Timestamp") - proto.RegisterType((*TypeMeta)(nil), "k8s.io.client-go.1.5.pkg.api.unversioned.TypeMeta") + proto.RegisterType((*APIGroup)(nil), "k8s.io.client-go.pkg.api.unversioned.APIGroup") + proto.RegisterType((*APIGroupList)(nil), "k8s.io.client-go.pkg.api.unversioned.APIGroupList") + proto.RegisterType((*APIResource)(nil), "k8s.io.client-go.pkg.api.unversioned.APIResource") + proto.RegisterType((*APIResourceList)(nil), "k8s.io.client-go.pkg.api.unversioned.APIResourceList") + proto.RegisterType((*APIVersions)(nil), "k8s.io.client-go.pkg.api.unversioned.APIVersions") + proto.RegisterType((*Duration)(nil), "k8s.io.client-go.pkg.api.unversioned.Duration") + proto.RegisterType((*ExportOptions)(nil), "k8s.io.client-go.pkg.api.unversioned.ExportOptions") + proto.RegisterType((*GroupKind)(nil), "k8s.io.client-go.pkg.api.unversioned.GroupKind") + proto.RegisterType((*GroupResource)(nil), "k8s.io.client-go.pkg.api.unversioned.GroupResource") + proto.RegisterType((*GroupVersion)(nil), "k8s.io.client-go.pkg.api.unversioned.GroupVersion") + proto.RegisterType((*GroupVersionForDiscovery)(nil), "k8s.io.client-go.pkg.api.unversioned.GroupVersionForDiscovery") + proto.RegisterType((*GroupVersionKind)(nil), "k8s.io.client-go.pkg.api.unversioned.GroupVersionKind") + proto.RegisterType((*GroupVersionResource)(nil), "k8s.io.client-go.pkg.api.unversioned.GroupVersionResource") + proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.pkg.api.unversioned.LabelSelector") + proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.pkg.api.unversioned.LabelSelectorRequirement") + proto.RegisterType((*ListMeta)(nil), "k8s.io.client-go.pkg.api.unversioned.ListMeta") + proto.RegisterType((*RootPaths)(nil), "k8s.io.client-go.pkg.api.unversioned.RootPaths") + proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.client-go.pkg.api.unversioned.ServerAddressByClientCIDR") + proto.RegisterType((*Status)(nil), "k8s.io.client-go.pkg.api.unversioned.Status") + proto.RegisterType((*StatusCause)(nil), "k8s.io.client-go.pkg.api.unversioned.StatusCause") + proto.RegisterType((*StatusDetails)(nil), "k8s.io.client-go.pkg.api.unversioned.StatusDetails") + proto.RegisterType((*Time)(nil), "k8s.io.client-go.pkg.api.unversioned.Time") + proto.RegisterType((*Timestamp)(nil), "k8s.io.client-go.pkg.api.unversioned.Timestamp") + proto.RegisterType((*TypeMeta)(nil), "k8s.io.client-go.pkg.api.unversioned.TypeMeta") } func (m *APIGroup) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/generated.proto b/staging/src/k8s.io/client-go/pkg/api/unversioned/generated.proto similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/generated.proto rename to staging/src/k8s.io/client-go/pkg/api/unversioned/generated.proto index cab7058aac1..ce817c9af48 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/api/unversioned/generated.proto @@ -21,8 +21,8 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.unversioned; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; +import "k8s.io/client-go/pkg/runtime/generated.proto"; +import "k8s.io/client-go/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "unversioned"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/group_version.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/group_version.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/group_version.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/group_version.go index dfbfe3a32ac..db842affe60 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/group_version.go +++ b/staging/src/k8s.io/client-go/pkg/api/unversioned/group_version.go @@ -268,17 +268,37 @@ type GroupVersions []GroupVersion // KindForGroupVersionKinds identifies the preferred GroupVersionKind out of a list. It returns ok false // if none of the options match the group. -func (gvs GroupVersions) KindForGroupVersionKinds(kinds []GroupVersionKind) (target GroupVersionKind, ok bool) { +func (gvs GroupVersions) KindForGroupVersionKinds(kinds []GroupVersionKind) (GroupVersionKind, bool) { + var targets []GroupVersionKind for _, gv := range gvs { target, ok := gv.KindForGroupVersionKinds(kinds) if !ok { continue } - return target, true + targets = append(targets, target) + } + if len(targets) == 1 { + return targets[0], true + } + if len(targets) > 1 { + return bestMatch(kinds, targets), true } return GroupVersionKind{}, false } +// bestMatch tries to pick best matching GroupVersionKind and falls back to the first +// found if no exact match exists. +func bestMatch(kinds []GroupVersionKind, targets []GroupVersionKind) GroupVersionKind { + for _, gvk := range targets { + for _, k := range kinds { + if k == gvk { + return k + } + } + } + return targets[0] +} + // ToAPIVersionAndKind is a convenience method for satisfying runtime.Object on types that // do not use TypeMeta. func (gvk *GroupVersionKind) ToAPIVersionAndKind() (string, string) { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/helpers.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/helpers.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/helpers.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/helpers.go index 22f98f17408..8ba2b7a339c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/helpers.go +++ b/staging/src/k8s.io/client-go/pkg/api/unversioned/helpers.go @@ -19,9 +19,9 @@ package unversioned import ( "fmt" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/selection" - "k8s.io/client-go/1.5/pkg/util/sets" + "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 diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/meta.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/meta.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/meta.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/meta.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/register.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/register.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/register.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/register.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/time.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/time.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/time.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/time.go index aedc119d274..d490f3bb9a4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/time.go +++ b/staging/src/k8s.io/client-go/pkg/api/unversioned/time.go @@ -20,7 +20,7 @@ import ( "encoding/json" "time" - "k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common" + "k8s.io/client-go/pkg/genericapiserver/openapi/common" "github.com/go-openapi/spec" "github.com/google/gofuzz" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/time_proto.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/time_proto.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/time_proto.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/time_proto.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/types.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/types.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/types.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/types.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/well_known_labels.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/well_known_labels.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/well_known_labels.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/well_known_labels.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/api/unversioned/zz_generated.deepcopy.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/api/unversioned/zz_generated.deepcopy.go index dc98d2a3211..d70b91c7fbe 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/unversioned/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/api/unversioned/zz_generated.deepcopy.go @@ -21,7 +21,7 @@ limitations under the License. package unversioned import ( - conversion "k8s.io/client-go/1.5/pkg/conversion" + conversion "k8s.io/client-go/pkg/conversion" time "time" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/conversion.go b/staging/src/k8s.io/client-go/pkg/api/v1/conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/conversion.go rename to staging/src/k8s.io/client-go/pkg/api/v1/conversion.go index 2ba5c32b23c..a05bf07c859 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/conversion.go @@ -21,12 +21,12 @@ import ( "fmt" "reflect" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/apis/extensions" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/validation/field" - "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/apis/extensions" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/validation/field" + "k8s.io/client-go/pkg/watch/versioned" ) const ( @@ -309,6 +309,8 @@ func Convert_v1_ReplicationControllerStatus_to_extensions_ReplicaSetStatus(in *R } out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas + out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration return nil } @@ -345,6 +347,7 @@ func Convert_extensions_ReplicaSetSpec_to_v1_ReplicationControllerSpec(in *exten } out.Replicas = new(int32) *out.Replicas = in.Replicas + out.MinReadySeconds = in.MinReadySeconds var invalidErr error if in.Selector != nil { invalidErr = api.Convert_unversioned_LabelSelector_to_map(in.Selector, &out.Selector, s) @@ -362,12 +365,15 @@ func Convert_extensions_ReplicaSetStatus_to_v1_ReplicationControllerStatus(in *e } out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas + out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration return nil } func Convert_api_ReplicationControllerSpec_To_v1_ReplicationControllerSpec(in *api.ReplicationControllerSpec, out *ReplicationControllerSpec, s conversion.Scope) error { out.Replicas = &in.Replicas + out.MinReadySeconds = in.MinReadySeconds out.Selector = in.Selector if in.Template != nil { out.Template = new(PodTemplateSpec) @@ -382,6 +388,7 @@ 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 + out.MinReadySeconds = in.MinReadySeconds out.Selector = in.Selector if in.Template != nil { out.Template = new(api.PodTemplateSpec) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/defaults.go b/staging/src/k8s.io/client-go/pkg/api/v1/defaults.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/defaults.go rename to staging/src/k8s.io/client-go/pkg/api/v1/defaults.go index 3864516ff6d..75700775dfd 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/defaults.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util" - "k8s.io/client-go/1.5/pkg/util/intstr" - "k8s.io/client-go/1.5/pkg/util/parsers" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util" + "k8s.io/client-go/pkg/util/intstr" + "k8s.io/client-go/pkg/util/parsers" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/doc.go b/staging/src/k8s.io/client-go/pkg/api/v1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/doc.go rename to staging/src/k8s.io/client-go/pkg/api/v1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/api/v1/generated.pb.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/api/v1/generated.pb.go index 44c55edd4ce..39aab94c789 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/generated.pb.go @@ -147,6 +147,7 @@ limitations under the License. RBDVolumeSource RangeAllocation ReplicationController + ReplicationControllerCondition ReplicationControllerList ReplicationControllerSpec ReplicationControllerStatus @@ -186,11 +187,11 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_resource "k8s.io/client-go/1.5/pkg/api/resource" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" -import k8s_io_kubernetes_pkg_runtime "k8s.io/client-go/1.5/pkg/runtime" +import k8s_io_kubernetes_pkg_api_resource "k8s.io/client-go/pkg/api/resource" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_runtime "k8s.io/client-go/pkg/runtime" -import k8s_io_kubernetes_pkg_types "k8s.io/client-go/1.5/pkg/types" +import k8s_io_kubernetes_pkg_types "k8s.io/client-go/pkg/types" import strings "strings" import reflect "reflect" @@ -715,299 +716,306 @@ func (m *ReplicationController) Reset() { *m = ReplicationCon func (*ReplicationController) ProtoMessage() {} func (*ReplicationController) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{121} } +func (m *ReplicationControllerCondition) Reset() { *m = ReplicationControllerCondition{} } +func (*ReplicationControllerCondition) ProtoMessage() {} +func (*ReplicationControllerCondition) Descriptor() ([]byte, []int) { + return fileDescriptorGenerated, []int{122} +} + func (m *ReplicationControllerList) Reset() { *m = ReplicationControllerList{} } func (*ReplicationControllerList) ProtoMessage() {} func (*ReplicationControllerList) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{122} + return fileDescriptorGenerated, []int{123} } func (m *ReplicationControllerSpec) Reset() { *m = ReplicationControllerSpec{} } func (*ReplicationControllerSpec) ProtoMessage() {} func (*ReplicationControllerSpec) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{123} + return fileDescriptorGenerated, []int{124} } func (m *ReplicationControllerStatus) Reset() { *m = ReplicationControllerStatus{} } func (*ReplicationControllerStatus) ProtoMessage() {} func (*ReplicationControllerStatus) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{124} + return fileDescriptorGenerated, []int{125} } func (m *ResourceFieldSelector) Reset() { *m = ResourceFieldSelector{} } func (*ResourceFieldSelector) ProtoMessage() {} -func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{125} } +func (*ResourceFieldSelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} } func (m *ResourceQuota) Reset() { *m = ResourceQuota{} } func (*ResourceQuota) ProtoMessage() {} -func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{126} } +func (*ResourceQuota) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} } func (m *ResourceQuotaList) Reset() { *m = ResourceQuotaList{} } func (*ResourceQuotaList) ProtoMessage() {} -func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{127} } +func (*ResourceQuotaList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} } func (m *ResourceQuotaSpec) Reset() { *m = ResourceQuotaSpec{} } func (*ResourceQuotaSpec) ProtoMessage() {} -func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{128} } +func (*ResourceQuotaSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} } func (m *ResourceQuotaStatus) Reset() { *m = ResourceQuotaStatus{} } func (*ResourceQuotaStatus) ProtoMessage() {} -func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{129} } +func (*ResourceQuotaStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} } func (m *ResourceRequirements) Reset() { *m = ResourceRequirements{} } func (*ResourceRequirements) ProtoMessage() {} -func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{130} } +func (*ResourceRequirements) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} } func (m *SELinuxOptions) Reset() { *m = SELinuxOptions{} } func (*SELinuxOptions) ProtoMessage() {} -func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{131} } +func (*SELinuxOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} } func (m *Secret) Reset() { *m = Secret{} } func (*Secret) ProtoMessage() {} -func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{132} } +func (*Secret) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} } func (m *SecretKeySelector) Reset() { *m = SecretKeySelector{} } func (*SecretKeySelector) ProtoMessage() {} -func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{133} } +func (*SecretKeySelector) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} } func (m *SecretList) Reset() { *m = SecretList{} } func (*SecretList) ProtoMessage() {} -func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{134} } +func (*SecretList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} } func (m *SecretVolumeSource) Reset() { *m = SecretVolumeSource{} } func (*SecretVolumeSource) ProtoMessage() {} -func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{135} } +func (*SecretVolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} } func (m *SecurityContext) Reset() { *m = SecurityContext{} } func (*SecurityContext) ProtoMessage() {} -func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{136} } +func (*SecurityContext) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} } func (m *SerializedReference) Reset() { *m = SerializedReference{} } func (*SerializedReference) ProtoMessage() {} -func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{137} } +func (*SerializedReference) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} } func (m *Service) Reset() { *m = Service{} } func (*Service) ProtoMessage() {} -func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{138} } +func (*Service) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} } func (m *ServiceAccount) Reset() { *m = ServiceAccount{} } func (*ServiceAccount) ProtoMessage() {} -func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{139} } +func (*ServiceAccount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} } func (m *ServiceAccountList) Reset() { *m = ServiceAccountList{} } func (*ServiceAccountList) ProtoMessage() {} -func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{140} } +func (*ServiceAccountList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} } func (m *ServiceList) Reset() { *m = ServiceList{} } func (*ServiceList) ProtoMessage() {} -func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{141} } +func (*ServiceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} } func (m *ServicePort) Reset() { *m = ServicePort{} } func (*ServicePort) ProtoMessage() {} -func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{142} } +func (*ServicePort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} } func (m *ServiceProxyOptions) Reset() { *m = ServiceProxyOptions{} } func (*ServiceProxyOptions) ProtoMessage() {} -func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{143} } +func (*ServiceProxyOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} } func (m *ServiceSpec) Reset() { *m = ServiceSpec{} } func (*ServiceSpec) ProtoMessage() {} -func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{144} } +func (*ServiceSpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} } func (m *ServiceStatus) Reset() { *m = ServiceStatus{} } func (*ServiceStatus) ProtoMessage() {} -func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{145} } +func (*ServiceStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} } func (m *TCPSocketAction) Reset() { *m = TCPSocketAction{} } func (*TCPSocketAction) ProtoMessage() {} -func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{146} } +func (*TCPSocketAction) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} } func (m *Taint) Reset() { *m = Taint{} } func (*Taint) ProtoMessage() {} -func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{147} } +func (*Taint) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} } func (m *Toleration) Reset() { *m = Toleration{} } func (*Toleration) ProtoMessage() {} -func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{148} } +func (*Toleration) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} } func (m *Volume) Reset() { *m = Volume{} } func (*Volume) ProtoMessage() {} -func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{149} } +func (*Volume) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} } func (m *VolumeMount) Reset() { *m = VolumeMount{} } func (*VolumeMount) ProtoMessage() {} -func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{150} } +func (*VolumeMount) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} } func (m *VolumeSource) Reset() { *m = VolumeSource{} } func (*VolumeSource) ProtoMessage() {} -func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{151} } +func (*VolumeSource) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{152} } func (m *VsphereVirtualDiskVolumeSource) Reset() { *m = VsphereVirtualDiskVolumeSource{} } func (*VsphereVirtualDiskVolumeSource) ProtoMessage() {} func (*VsphereVirtualDiskVolumeSource) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{152} + return fileDescriptorGenerated, []int{153} } func (m *WeightedPodAffinityTerm) Reset() { *m = WeightedPodAffinityTerm{} } func (*WeightedPodAffinityTerm) ProtoMessage() {} func (*WeightedPodAffinityTerm) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{153} + return fileDescriptorGenerated, []int{154} } func init() { - proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.AWSElasticBlockStoreVolumeSource") - proto.RegisterType((*Affinity)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Affinity") - proto.RegisterType((*AttachedVolume)(nil), "k8s.io.client-go.1.5.pkg.api.v1.AttachedVolume") - proto.RegisterType((*AvoidPods)(nil), "k8s.io.client-go.1.5.pkg.api.v1.AvoidPods") - proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.AzureDiskVolumeSource") - proto.RegisterType((*AzureFileVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.AzureFileVolumeSource") - proto.RegisterType((*Binding)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Binding") - proto.RegisterType((*Capabilities)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Capabilities") - proto.RegisterType((*CephFSVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.CephFSVolumeSource") - proto.RegisterType((*CinderVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.CinderVolumeSource") - proto.RegisterType((*ComponentCondition)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ComponentCondition") - proto.RegisterType((*ComponentStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ComponentStatus") - proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ComponentStatusList") - proto.RegisterType((*ConfigMap)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ConfigMap") - proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ConfigMapKeySelector") - proto.RegisterType((*ConfigMapList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ConfigMapList") - proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ConfigMapVolumeSource") - proto.RegisterType((*Container)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Container") - proto.RegisterType((*ContainerImage)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerImage") - proto.RegisterType((*ContainerPort)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerPort") - proto.RegisterType((*ContainerState)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerState") - proto.RegisterType((*ContainerStateRunning)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerStateRunning") - proto.RegisterType((*ContainerStateTerminated)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerStateTerminated") - proto.RegisterType((*ContainerStateWaiting)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerStateWaiting") - proto.RegisterType((*ContainerStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ContainerStatus") - proto.RegisterType((*DaemonEndpoint)(nil), "k8s.io.client-go.1.5.pkg.api.v1.DaemonEndpoint") - proto.RegisterType((*DeleteOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.DeleteOptions") - proto.RegisterType((*DownwardAPIVolumeFile)(nil), "k8s.io.client-go.1.5.pkg.api.v1.DownwardAPIVolumeFile") - proto.RegisterType((*DownwardAPIVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.DownwardAPIVolumeSource") - proto.RegisterType((*EmptyDirVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EmptyDirVolumeSource") - proto.RegisterType((*EndpointAddress)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EndpointAddress") - proto.RegisterType((*EndpointPort)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EndpointPort") - proto.RegisterType((*EndpointSubset)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EndpointSubset") - proto.RegisterType((*Endpoints)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Endpoints") - proto.RegisterType((*EndpointsList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EndpointsList") - proto.RegisterType((*EnvVar)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EnvVar") - proto.RegisterType((*EnvVarSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EnvVarSource") - proto.RegisterType((*Event)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Event") - proto.RegisterType((*EventList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EventList") - proto.RegisterType((*EventSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.EventSource") - proto.RegisterType((*ExecAction)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ExecAction") - proto.RegisterType((*ExportOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ExportOptions") - proto.RegisterType((*FCVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.FCVolumeSource") - proto.RegisterType((*FlexVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.FlexVolumeSource") - proto.RegisterType((*FlockerVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.FlockerVolumeSource") - proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.GCEPersistentDiskVolumeSource") - proto.RegisterType((*GitRepoVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.GitRepoVolumeSource") - proto.RegisterType((*GlusterfsVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.GlusterfsVolumeSource") - proto.RegisterType((*HTTPGetAction)(nil), "k8s.io.client-go.1.5.pkg.api.v1.HTTPGetAction") - proto.RegisterType((*HTTPHeader)(nil), "k8s.io.client-go.1.5.pkg.api.v1.HTTPHeader") - proto.RegisterType((*Handler)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Handler") - proto.RegisterType((*HostPathVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.HostPathVolumeSource") - proto.RegisterType((*ISCSIVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ISCSIVolumeSource") - proto.RegisterType((*KeyToPath)(nil), "k8s.io.client-go.1.5.pkg.api.v1.KeyToPath") - proto.RegisterType((*Lifecycle)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Lifecycle") - proto.RegisterType((*LimitRange)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LimitRange") - proto.RegisterType((*LimitRangeItem)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LimitRangeItem") - proto.RegisterType((*LimitRangeList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LimitRangeList") - proto.RegisterType((*LimitRangeSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LimitRangeSpec") - proto.RegisterType((*List)(nil), "k8s.io.client-go.1.5.pkg.api.v1.List") - proto.RegisterType((*ListOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ListOptions") - proto.RegisterType((*LoadBalancerIngress)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LoadBalancerIngress") - proto.RegisterType((*LoadBalancerStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LoadBalancerStatus") - proto.RegisterType((*LocalObjectReference)(nil), "k8s.io.client-go.1.5.pkg.api.v1.LocalObjectReference") - proto.RegisterType((*NFSVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NFSVolumeSource") - proto.RegisterType((*Namespace)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Namespace") - proto.RegisterType((*NamespaceList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NamespaceList") - proto.RegisterType((*NamespaceSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NamespaceSpec") - proto.RegisterType((*NamespaceStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NamespaceStatus") - proto.RegisterType((*Node)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Node") - proto.RegisterType((*NodeAddress)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeAddress") - proto.RegisterType((*NodeAffinity)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeAffinity") - proto.RegisterType((*NodeCondition)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeCondition") - proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeDaemonEndpoints") - proto.RegisterType((*NodeList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeList") - proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeProxyOptions") - proto.RegisterType((*NodeSelector)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeSelector") - proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeSelectorRequirement") - proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeSelectorTerm") - proto.RegisterType((*NodeSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeSpec") - proto.RegisterType((*NodeStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeStatus") - proto.RegisterType((*NodeSystemInfo)(nil), "k8s.io.client-go.1.5.pkg.api.v1.NodeSystemInfo") - proto.RegisterType((*ObjectFieldSelector)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ObjectFieldSelector") - proto.RegisterType((*ObjectMeta)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ObjectMeta") - proto.RegisterType((*ObjectReference)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ObjectReference") - proto.RegisterType((*OwnerReference)(nil), "k8s.io.client-go.1.5.pkg.api.v1.OwnerReference") - proto.RegisterType((*PersistentVolume)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolume") - proto.RegisterType((*PersistentVolumeClaim)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeClaim") - proto.RegisterType((*PersistentVolumeClaimList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeClaimList") - proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeClaimSpec") - proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeClaimStatus") - proto.RegisterType((*PersistentVolumeClaimVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeClaimVolumeSource") - proto.RegisterType((*PersistentVolumeList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeList") - proto.RegisterType((*PersistentVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeSource") - proto.RegisterType((*PersistentVolumeSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeSpec") - proto.RegisterType((*PersistentVolumeStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PersistentVolumeStatus") - proto.RegisterType((*Pod)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Pod") - proto.RegisterType((*PodAffinity)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodAffinity") - proto.RegisterType((*PodAffinityTerm)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodAffinityTerm") - proto.RegisterType((*PodAntiAffinity)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodAntiAffinity") - proto.RegisterType((*PodAttachOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodAttachOptions") - proto.RegisterType((*PodCondition)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodCondition") - proto.RegisterType((*PodExecOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodExecOptions") - proto.RegisterType((*PodList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodList") - proto.RegisterType((*PodLogOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodLogOptions") - proto.RegisterType((*PodProxyOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodProxyOptions") - proto.RegisterType((*PodSecurityContext)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodSecurityContext") - proto.RegisterType((*PodSignature)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodSignature") - proto.RegisterType((*PodSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodSpec") - proto.RegisterType((*PodStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodStatus") - proto.RegisterType((*PodStatusResult)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodStatusResult") - proto.RegisterType((*PodTemplate)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodTemplate") - proto.RegisterType((*PodTemplateList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodTemplateList") - proto.RegisterType((*PodTemplateSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PodTemplateSpec") - proto.RegisterType((*Preconditions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Preconditions") - proto.RegisterType((*PreferAvoidPodsEntry)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PreferAvoidPodsEntry") - proto.RegisterType((*PreferredSchedulingTerm)(nil), "k8s.io.client-go.1.5.pkg.api.v1.PreferredSchedulingTerm") - proto.RegisterType((*Probe)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Probe") - proto.RegisterType((*QuobyteVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.QuobyteVolumeSource") - proto.RegisterType((*RBDVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.RBDVolumeSource") - proto.RegisterType((*RangeAllocation)(nil), "k8s.io.client-go.1.5.pkg.api.v1.RangeAllocation") - proto.RegisterType((*ReplicationController)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ReplicationController") - proto.RegisterType((*ReplicationControllerList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ReplicationControllerList") - proto.RegisterType((*ReplicationControllerSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ReplicationControllerSpec") - proto.RegisterType((*ReplicationControllerStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ReplicationControllerStatus") - proto.RegisterType((*ResourceFieldSelector)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ResourceFieldSelector") - proto.RegisterType((*ResourceQuota)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ResourceQuota") - proto.RegisterType((*ResourceQuotaList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ResourceQuotaList") - proto.RegisterType((*ResourceQuotaSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ResourceQuotaSpec") - proto.RegisterType((*ResourceQuotaStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ResourceQuotaStatus") - proto.RegisterType((*ResourceRequirements)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ResourceRequirements") - proto.RegisterType((*SELinuxOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.SELinuxOptions") - proto.RegisterType((*Secret)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Secret") - proto.RegisterType((*SecretKeySelector)(nil), "k8s.io.client-go.1.5.pkg.api.v1.SecretKeySelector") - proto.RegisterType((*SecretList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.SecretList") - proto.RegisterType((*SecretVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.SecretVolumeSource") - proto.RegisterType((*SecurityContext)(nil), "k8s.io.client-go.1.5.pkg.api.v1.SecurityContext") - proto.RegisterType((*SerializedReference)(nil), "k8s.io.client-go.1.5.pkg.api.v1.SerializedReference") - proto.RegisterType((*Service)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Service") - proto.RegisterType((*ServiceAccount)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServiceAccount") - proto.RegisterType((*ServiceAccountList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServiceAccountList") - proto.RegisterType((*ServiceList)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServiceList") - proto.RegisterType((*ServicePort)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServicePort") - proto.RegisterType((*ServiceProxyOptions)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServiceProxyOptions") - proto.RegisterType((*ServiceSpec)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServiceSpec") - proto.RegisterType((*ServiceStatus)(nil), "k8s.io.client-go.1.5.pkg.api.v1.ServiceStatus") - proto.RegisterType((*TCPSocketAction)(nil), "k8s.io.client-go.1.5.pkg.api.v1.TCPSocketAction") - proto.RegisterType((*Taint)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Taint") - proto.RegisterType((*Toleration)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Toleration") - proto.RegisterType((*Volume)(nil), "k8s.io.client-go.1.5.pkg.api.v1.Volume") - proto.RegisterType((*VolumeMount)(nil), "k8s.io.client-go.1.5.pkg.api.v1.VolumeMount") - proto.RegisterType((*VolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.VolumeSource") - proto.RegisterType((*VsphereVirtualDiskVolumeSource)(nil), "k8s.io.client-go.1.5.pkg.api.v1.VsphereVirtualDiskVolumeSource") - proto.RegisterType((*WeightedPodAffinityTerm)(nil), "k8s.io.client-go.1.5.pkg.api.v1.WeightedPodAffinityTerm") + proto.RegisterType((*AWSElasticBlockStoreVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.AWSElasticBlockStoreVolumeSource") + proto.RegisterType((*Affinity)(nil), "k8s.io.client-go.pkg.api.v1.Affinity") + proto.RegisterType((*AttachedVolume)(nil), "k8s.io.client-go.pkg.api.v1.AttachedVolume") + proto.RegisterType((*AvoidPods)(nil), "k8s.io.client-go.pkg.api.v1.AvoidPods") + proto.RegisterType((*AzureDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.AzureDiskVolumeSource") + proto.RegisterType((*AzureFileVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.AzureFileVolumeSource") + proto.RegisterType((*Binding)(nil), "k8s.io.client-go.pkg.api.v1.Binding") + proto.RegisterType((*Capabilities)(nil), "k8s.io.client-go.pkg.api.v1.Capabilities") + proto.RegisterType((*CephFSVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.CephFSVolumeSource") + proto.RegisterType((*CinderVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.CinderVolumeSource") + proto.RegisterType((*ComponentCondition)(nil), "k8s.io.client-go.pkg.api.v1.ComponentCondition") + proto.RegisterType((*ComponentStatus)(nil), "k8s.io.client-go.pkg.api.v1.ComponentStatus") + proto.RegisterType((*ComponentStatusList)(nil), "k8s.io.client-go.pkg.api.v1.ComponentStatusList") + proto.RegisterType((*ConfigMap)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMap") + proto.RegisterType((*ConfigMapKeySelector)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapKeySelector") + proto.RegisterType((*ConfigMapList)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapList") + proto.RegisterType((*ConfigMapVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ConfigMapVolumeSource") + proto.RegisterType((*Container)(nil), "k8s.io.client-go.pkg.api.v1.Container") + proto.RegisterType((*ContainerImage)(nil), "k8s.io.client-go.pkg.api.v1.ContainerImage") + proto.RegisterType((*ContainerPort)(nil), "k8s.io.client-go.pkg.api.v1.ContainerPort") + proto.RegisterType((*ContainerState)(nil), "k8s.io.client-go.pkg.api.v1.ContainerState") + proto.RegisterType((*ContainerStateRunning)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStateRunning") + proto.RegisterType((*ContainerStateTerminated)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStateTerminated") + proto.RegisterType((*ContainerStateWaiting)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStateWaiting") + proto.RegisterType((*ContainerStatus)(nil), "k8s.io.client-go.pkg.api.v1.ContainerStatus") + proto.RegisterType((*DaemonEndpoint)(nil), "k8s.io.client-go.pkg.api.v1.DaemonEndpoint") + proto.RegisterType((*DeleteOptions)(nil), "k8s.io.client-go.pkg.api.v1.DeleteOptions") + proto.RegisterType((*DownwardAPIVolumeFile)(nil), "k8s.io.client-go.pkg.api.v1.DownwardAPIVolumeFile") + proto.RegisterType((*DownwardAPIVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.DownwardAPIVolumeSource") + proto.RegisterType((*EmptyDirVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.EmptyDirVolumeSource") + proto.RegisterType((*EndpointAddress)(nil), "k8s.io.client-go.pkg.api.v1.EndpointAddress") + proto.RegisterType((*EndpointPort)(nil), "k8s.io.client-go.pkg.api.v1.EndpointPort") + proto.RegisterType((*EndpointSubset)(nil), "k8s.io.client-go.pkg.api.v1.EndpointSubset") + proto.RegisterType((*Endpoints)(nil), "k8s.io.client-go.pkg.api.v1.Endpoints") + proto.RegisterType((*EndpointsList)(nil), "k8s.io.client-go.pkg.api.v1.EndpointsList") + proto.RegisterType((*EnvVar)(nil), "k8s.io.client-go.pkg.api.v1.EnvVar") + proto.RegisterType((*EnvVarSource)(nil), "k8s.io.client-go.pkg.api.v1.EnvVarSource") + proto.RegisterType((*Event)(nil), "k8s.io.client-go.pkg.api.v1.Event") + proto.RegisterType((*EventList)(nil), "k8s.io.client-go.pkg.api.v1.EventList") + proto.RegisterType((*EventSource)(nil), "k8s.io.client-go.pkg.api.v1.EventSource") + proto.RegisterType((*ExecAction)(nil), "k8s.io.client-go.pkg.api.v1.ExecAction") + proto.RegisterType((*ExportOptions)(nil), "k8s.io.client-go.pkg.api.v1.ExportOptions") + proto.RegisterType((*FCVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.FCVolumeSource") + proto.RegisterType((*FlexVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.FlexVolumeSource") + proto.RegisterType((*FlockerVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.FlockerVolumeSource") + proto.RegisterType((*GCEPersistentDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.GCEPersistentDiskVolumeSource") + proto.RegisterType((*GitRepoVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.GitRepoVolumeSource") + proto.RegisterType((*GlusterfsVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.GlusterfsVolumeSource") + proto.RegisterType((*HTTPGetAction)(nil), "k8s.io.client-go.pkg.api.v1.HTTPGetAction") + proto.RegisterType((*HTTPHeader)(nil), "k8s.io.client-go.pkg.api.v1.HTTPHeader") + proto.RegisterType((*Handler)(nil), "k8s.io.client-go.pkg.api.v1.Handler") + proto.RegisterType((*HostPathVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.HostPathVolumeSource") + proto.RegisterType((*ISCSIVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.ISCSIVolumeSource") + proto.RegisterType((*KeyToPath)(nil), "k8s.io.client-go.pkg.api.v1.KeyToPath") + proto.RegisterType((*Lifecycle)(nil), "k8s.io.client-go.pkg.api.v1.Lifecycle") + proto.RegisterType((*LimitRange)(nil), "k8s.io.client-go.pkg.api.v1.LimitRange") + proto.RegisterType((*LimitRangeItem)(nil), "k8s.io.client-go.pkg.api.v1.LimitRangeItem") + proto.RegisterType((*LimitRangeList)(nil), "k8s.io.client-go.pkg.api.v1.LimitRangeList") + proto.RegisterType((*LimitRangeSpec)(nil), "k8s.io.client-go.pkg.api.v1.LimitRangeSpec") + proto.RegisterType((*List)(nil), "k8s.io.client-go.pkg.api.v1.List") + proto.RegisterType((*ListOptions)(nil), "k8s.io.client-go.pkg.api.v1.ListOptions") + proto.RegisterType((*LoadBalancerIngress)(nil), "k8s.io.client-go.pkg.api.v1.LoadBalancerIngress") + proto.RegisterType((*LoadBalancerStatus)(nil), "k8s.io.client-go.pkg.api.v1.LoadBalancerStatus") + proto.RegisterType((*LocalObjectReference)(nil), "k8s.io.client-go.pkg.api.v1.LocalObjectReference") + proto.RegisterType((*NFSVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.NFSVolumeSource") + proto.RegisterType((*Namespace)(nil), "k8s.io.client-go.pkg.api.v1.Namespace") + proto.RegisterType((*NamespaceList)(nil), "k8s.io.client-go.pkg.api.v1.NamespaceList") + proto.RegisterType((*NamespaceSpec)(nil), "k8s.io.client-go.pkg.api.v1.NamespaceSpec") + proto.RegisterType((*NamespaceStatus)(nil), "k8s.io.client-go.pkg.api.v1.NamespaceStatus") + proto.RegisterType((*Node)(nil), "k8s.io.client-go.pkg.api.v1.Node") + proto.RegisterType((*NodeAddress)(nil), "k8s.io.client-go.pkg.api.v1.NodeAddress") + proto.RegisterType((*NodeAffinity)(nil), "k8s.io.client-go.pkg.api.v1.NodeAffinity") + proto.RegisterType((*NodeCondition)(nil), "k8s.io.client-go.pkg.api.v1.NodeCondition") + proto.RegisterType((*NodeDaemonEndpoints)(nil), "k8s.io.client-go.pkg.api.v1.NodeDaemonEndpoints") + proto.RegisterType((*NodeList)(nil), "k8s.io.client-go.pkg.api.v1.NodeList") + proto.RegisterType((*NodeProxyOptions)(nil), "k8s.io.client-go.pkg.api.v1.NodeProxyOptions") + proto.RegisterType((*NodeSelector)(nil), "k8s.io.client-go.pkg.api.v1.NodeSelector") + proto.RegisterType((*NodeSelectorRequirement)(nil), "k8s.io.client-go.pkg.api.v1.NodeSelectorRequirement") + proto.RegisterType((*NodeSelectorTerm)(nil), "k8s.io.client-go.pkg.api.v1.NodeSelectorTerm") + proto.RegisterType((*NodeSpec)(nil), "k8s.io.client-go.pkg.api.v1.NodeSpec") + proto.RegisterType((*NodeStatus)(nil), "k8s.io.client-go.pkg.api.v1.NodeStatus") + proto.RegisterType((*NodeSystemInfo)(nil), "k8s.io.client-go.pkg.api.v1.NodeSystemInfo") + proto.RegisterType((*ObjectFieldSelector)(nil), "k8s.io.client-go.pkg.api.v1.ObjectFieldSelector") + proto.RegisterType((*ObjectMeta)(nil), "k8s.io.client-go.pkg.api.v1.ObjectMeta") + proto.RegisterType((*ObjectReference)(nil), "k8s.io.client-go.pkg.api.v1.ObjectReference") + proto.RegisterType((*OwnerReference)(nil), "k8s.io.client-go.pkg.api.v1.OwnerReference") + proto.RegisterType((*PersistentVolume)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolume") + proto.RegisterType((*PersistentVolumeClaim)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaim") + proto.RegisterType((*PersistentVolumeClaimList)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimList") + proto.RegisterType((*PersistentVolumeClaimSpec)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimSpec") + proto.RegisterType((*PersistentVolumeClaimStatus)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimStatus") + proto.RegisterType((*PersistentVolumeClaimVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeClaimVolumeSource") + proto.RegisterType((*PersistentVolumeList)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeList") + proto.RegisterType((*PersistentVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeSource") + proto.RegisterType((*PersistentVolumeSpec)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeSpec") + proto.RegisterType((*PersistentVolumeStatus)(nil), "k8s.io.client-go.pkg.api.v1.PersistentVolumeStatus") + proto.RegisterType((*Pod)(nil), "k8s.io.client-go.pkg.api.v1.Pod") + proto.RegisterType((*PodAffinity)(nil), "k8s.io.client-go.pkg.api.v1.PodAffinity") + proto.RegisterType((*PodAffinityTerm)(nil), "k8s.io.client-go.pkg.api.v1.PodAffinityTerm") + proto.RegisterType((*PodAntiAffinity)(nil), "k8s.io.client-go.pkg.api.v1.PodAntiAffinity") + proto.RegisterType((*PodAttachOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodAttachOptions") + proto.RegisterType((*PodCondition)(nil), "k8s.io.client-go.pkg.api.v1.PodCondition") + proto.RegisterType((*PodExecOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodExecOptions") + proto.RegisterType((*PodList)(nil), "k8s.io.client-go.pkg.api.v1.PodList") + proto.RegisterType((*PodLogOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodLogOptions") + proto.RegisterType((*PodProxyOptions)(nil), "k8s.io.client-go.pkg.api.v1.PodProxyOptions") + proto.RegisterType((*PodSecurityContext)(nil), "k8s.io.client-go.pkg.api.v1.PodSecurityContext") + proto.RegisterType((*PodSignature)(nil), "k8s.io.client-go.pkg.api.v1.PodSignature") + proto.RegisterType((*PodSpec)(nil), "k8s.io.client-go.pkg.api.v1.PodSpec") + proto.RegisterType((*PodStatus)(nil), "k8s.io.client-go.pkg.api.v1.PodStatus") + proto.RegisterType((*PodStatusResult)(nil), "k8s.io.client-go.pkg.api.v1.PodStatusResult") + proto.RegisterType((*PodTemplate)(nil), "k8s.io.client-go.pkg.api.v1.PodTemplate") + proto.RegisterType((*PodTemplateList)(nil), "k8s.io.client-go.pkg.api.v1.PodTemplateList") + proto.RegisterType((*PodTemplateSpec)(nil), "k8s.io.client-go.pkg.api.v1.PodTemplateSpec") + proto.RegisterType((*Preconditions)(nil), "k8s.io.client-go.pkg.api.v1.Preconditions") + proto.RegisterType((*PreferAvoidPodsEntry)(nil), "k8s.io.client-go.pkg.api.v1.PreferAvoidPodsEntry") + proto.RegisterType((*PreferredSchedulingTerm)(nil), "k8s.io.client-go.pkg.api.v1.PreferredSchedulingTerm") + proto.RegisterType((*Probe)(nil), "k8s.io.client-go.pkg.api.v1.Probe") + proto.RegisterType((*QuobyteVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.QuobyteVolumeSource") + proto.RegisterType((*RBDVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.RBDVolumeSource") + proto.RegisterType((*RangeAllocation)(nil), "k8s.io.client-go.pkg.api.v1.RangeAllocation") + proto.RegisterType((*ReplicationController)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationController") + proto.RegisterType((*ReplicationControllerCondition)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerCondition") + proto.RegisterType((*ReplicationControllerList)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerList") + proto.RegisterType((*ReplicationControllerSpec)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerSpec") + proto.RegisterType((*ReplicationControllerStatus)(nil), "k8s.io.client-go.pkg.api.v1.ReplicationControllerStatus") + proto.RegisterType((*ResourceFieldSelector)(nil), "k8s.io.client-go.pkg.api.v1.ResourceFieldSelector") + proto.RegisterType((*ResourceQuota)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuota") + proto.RegisterType((*ResourceQuotaList)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuotaList") + proto.RegisterType((*ResourceQuotaSpec)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuotaSpec") + proto.RegisterType((*ResourceQuotaStatus)(nil), "k8s.io.client-go.pkg.api.v1.ResourceQuotaStatus") + proto.RegisterType((*ResourceRequirements)(nil), "k8s.io.client-go.pkg.api.v1.ResourceRequirements") + proto.RegisterType((*SELinuxOptions)(nil), "k8s.io.client-go.pkg.api.v1.SELinuxOptions") + proto.RegisterType((*Secret)(nil), "k8s.io.client-go.pkg.api.v1.Secret") + proto.RegisterType((*SecretKeySelector)(nil), "k8s.io.client-go.pkg.api.v1.SecretKeySelector") + proto.RegisterType((*SecretList)(nil), "k8s.io.client-go.pkg.api.v1.SecretList") + proto.RegisterType((*SecretVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.SecretVolumeSource") + proto.RegisterType((*SecurityContext)(nil), "k8s.io.client-go.pkg.api.v1.SecurityContext") + proto.RegisterType((*SerializedReference)(nil), "k8s.io.client-go.pkg.api.v1.SerializedReference") + proto.RegisterType((*Service)(nil), "k8s.io.client-go.pkg.api.v1.Service") + proto.RegisterType((*ServiceAccount)(nil), "k8s.io.client-go.pkg.api.v1.ServiceAccount") + proto.RegisterType((*ServiceAccountList)(nil), "k8s.io.client-go.pkg.api.v1.ServiceAccountList") + proto.RegisterType((*ServiceList)(nil), "k8s.io.client-go.pkg.api.v1.ServiceList") + proto.RegisterType((*ServicePort)(nil), "k8s.io.client-go.pkg.api.v1.ServicePort") + proto.RegisterType((*ServiceProxyOptions)(nil), "k8s.io.client-go.pkg.api.v1.ServiceProxyOptions") + proto.RegisterType((*ServiceSpec)(nil), "k8s.io.client-go.pkg.api.v1.ServiceSpec") + proto.RegisterType((*ServiceStatus)(nil), "k8s.io.client-go.pkg.api.v1.ServiceStatus") + proto.RegisterType((*TCPSocketAction)(nil), "k8s.io.client-go.pkg.api.v1.TCPSocketAction") + proto.RegisterType((*Taint)(nil), "k8s.io.client-go.pkg.api.v1.Taint") + proto.RegisterType((*Toleration)(nil), "k8s.io.client-go.pkg.api.v1.Toleration") + proto.RegisterType((*Volume)(nil), "k8s.io.client-go.pkg.api.v1.Volume") + proto.RegisterType((*VolumeMount)(nil), "k8s.io.client-go.pkg.api.v1.VolumeMount") + proto.RegisterType((*VolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.VolumeSource") + proto.RegisterType((*VsphereVirtualDiskVolumeSource)(nil), "k8s.io.client-go.pkg.api.v1.VsphereVirtualDiskVolumeSource") + proto.RegisterType((*WeightedPodAffinityTerm)(nil), "k8s.io.client-go.pkg.api.v1.WeightedPodAffinityTerm") } func (m *AWSElasticBlockStoreVolumeSource) Marshal() (data []byte, err error) { size := m.Size() @@ -2939,6 +2947,10 @@ func (m *FlockerVolumeSource) MarshalTo(data []byte) (int, error) { i++ i = encodeVarintGenerated(data, i, uint64(len(m.DatasetName))) i += copy(data[i:], m.DatasetName) + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.DatasetUUID))) + i += copy(data[i:], m.DatasetUUID) return i, nil } @@ -6537,6 +6549,56 @@ func (m *ReplicationController) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *ReplicationControllerCondition) 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 *ReplicationControllerCondition) 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] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.LastProbeTime.Size())) + n135, err := m.LastProbeTime.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 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Message))) + i += copy(data[i:], m.Message) + return i, nil +} + func (m *ReplicationControllerList) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -6555,11 +6617,11 @@ func (m *ReplicationControllerList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n135, err := m.ListMeta.MarshalTo(data[i:]) + n137, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n135 + i += n137 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6616,12 +6678,15 @@ func (m *ReplicationControllerSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n136, err := m.Template.MarshalTo(data[i:]) + n138, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n136 + i += n138 } + data[i] = 0x20 + i++ + i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) return i, nil } @@ -6652,6 +6717,21 @@ func (m *ReplicationControllerStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x20 i++ i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas)) + data[i] = 0x28 + i++ + i = encodeVarintGenerated(data, i, uint64(m.AvailableReplicas)) + 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 } @@ -6681,11 +6761,11 @@ func (m *ResourceFieldSelector) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Divisor.Size())) - n137, err := m.Divisor.MarshalTo(data[i:]) + n139, err := m.Divisor.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n137 + i += n139 return i, nil } @@ -6707,27 +6787,27 @@ func (m *ResourceQuota) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n138, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n138 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n139, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n139 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n140, err := m.Status.MarshalTo(data[i:]) + n140, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n140 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n141, err := m.Spec.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 } @@ -6749,11 +6829,11 @@ func (m *ResourceQuotaList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n141, err := m.ListMeta.MarshalTo(data[i:]) + n143, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n141 + i += n143 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -6799,11 +6879,11 @@ func (m *ResourceQuotaSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n142, err := (&v).MarshalTo(data[i:]) + n144, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n142 + i += n144 } } if len(m.Scopes) > 0 { @@ -6854,11 +6934,11 @@ func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n143, err := (&v).MarshalTo(data[i:]) + n145, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n143 + i += n145 } } if len(m.Used) > 0 { @@ -6876,11 +6956,11 @@ func (m *ResourceQuotaStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n144, err := (&v).MarshalTo(data[i:]) + n146, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n144 + i += n146 } } return i, nil @@ -6916,11 +6996,11 @@ func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n145, err := (&v).MarshalTo(data[i:]) + n147, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n145 + i += n147 } } if len(m.Requests) > 0 { @@ -6938,11 +7018,11 @@ func (m *ResourceRequirements) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64((&v).Size())) - n146, err := (&v).MarshalTo(data[i:]) + n148, err := (&v).MarshalTo(data[i:]) if err != nil { return 0, err } - i += n146 + i += n148 } } return i, nil @@ -7000,11 +7080,11 @@ func (m *Secret) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n147, err := m.ObjectMeta.MarshalTo(data[i:]) + n149, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n147 + i += n149 if len(m.Data) > 0 { for k := range m.Data { data[i] = 0x12 @@ -7064,11 +7144,11 @@ func (m *SecretKeySelector) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LocalObjectReference.Size())) - n148, err := m.LocalObjectReference.MarshalTo(data[i:]) + n150, err := m.LocalObjectReference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n148 + i += n150 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Key))) @@ -7094,11 +7174,11 @@ func (m *SecretList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n149, err := m.ListMeta.MarshalTo(data[i:]) + n151, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n149 + i += n151 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7172,11 +7252,11 @@ func (m *SecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Capabilities.Size())) - n150, err := m.Capabilities.MarshalTo(data[i:]) + n152, err := m.Capabilities.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n150 + i += n152 } if m.Privileged != nil { data[i] = 0x10 @@ -7192,11 +7272,11 @@ func (m *SecurityContext) MarshalTo(data []byte) (int, error) { data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n151, err := m.SELinuxOptions.MarshalTo(data[i:]) + n153, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n151 + i += n153 } if m.RunAsUser != nil { data[i] = 0x20 @@ -7244,11 +7324,11 @@ func (m *SerializedReference) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Reference.Size())) - n152, err := m.Reference.MarshalTo(data[i:]) + n154, err := m.Reference.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n152 + i += n154 return i, nil } @@ -7270,27 +7350,27 @@ func (m *Service) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n153, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n153 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n154, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n154 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n155, err := m.Status.MarshalTo(data[i:]) + n155, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } i += n155 + data[i] = 0x12 + i++ + i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) + n156, err := m.Spec.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 } @@ -7312,11 +7392,11 @@ func (m *ServiceAccount) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n156, err := m.ObjectMeta.MarshalTo(data[i:]) + n158, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n156 + i += n158 if len(m.Secrets) > 0 { for _, msg := range m.Secrets { data[i] = 0x12 @@ -7362,11 +7442,11 @@ func (m *ServiceAccountList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n157, err := m.ListMeta.MarshalTo(data[i:]) + n159, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n157 + i += n159 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7400,11 +7480,11 @@ func (m *ServiceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n158, err := m.ListMeta.MarshalTo(data[i:]) + n160, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n158 + i += n160 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -7449,11 +7529,11 @@ func (m *ServicePort) MarshalTo(data []byte) (int, error) { data[i] = 0x22 i++ i = encodeVarintGenerated(data, i, uint64(m.TargetPort.Size())) - n159, err := m.TargetPort.MarshalTo(data[i:]) + n161, err := m.TargetPort.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n159 + i += n161 data[i] = 0x28 i++ i = encodeVarintGenerated(data, i, uint64(m.NodePort)) @@ -7612,11 +7692,11 @@ func (m *ServiceStatus) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.LoadBalancer.Size())) - n160, err := m.LoadBalancer.MarshalTo(data[i:]) + n162, err := m.LoadBalancer.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n160 + i += n162 return i, nil } @@ -7638,11 +7718,11 @@ func (m *TCPSocketAction) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.Port.Size())) - n161, err := m.Port.MarshalTo(data[i:]) + n163, err := m.Port.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n161 + i += n163 return i, nil } @@ -7732,11 +7812,11 @@ func (m *Volume) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.VolumeSource.Size())) - n162, err := m.VolumeSource.MarshalTo(data[i:]) + n164, err := m.VolumeSource.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n162 + i += n164 return i, nil } @@ -7797,163 +7877,163 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.HostPath.Size())) - n163, err := m.HostPath.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n163 - } - if m.EmptyDir != nil { - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.EmptyDir.Size())) - n164, err := m.EmptyDir.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n164 - } - if m.GCEPersistentDisk != nil { - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size())) - n165, err := m.GCEPersistentDisk.MarshalTo(data[i:]) + n165, err := m.HostPath.MarshalTo(data[i:]) if err != nil { return 0, err } i += n165 } - if m.AWSElasticBlockStore != nil { - data[i] = 0x22 + if m.EmptyDir != nil { + data[i] = 0x12 i++ - i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size())) - n166, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.EmptyDir.Size())) + n166, err := m.EmptyDir.MarshalTo(data[i:]) if err != nil { return 0, err } i += n166 } - if m.GitRepo != nil { - data[i] = 0x2a + if m.GCEPersistentDisk != nil { + data[i] = 0x1a i++ - i = encodeVarintGenerated(data, i, uint64(m.GitRepo.Size())) - n167, err := m.GitRepo.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.GCEPersistentDisk.Size())) + n167, err := m.GCEPersistentDisk.MarshalTo(data[i:]) if err != nil { return 0, err } i += n167 } - if m.Secret != nil { - data[i] = 0x32 + if m.AWSElasticBlockStore != nil { + data[i] = 0x22 i++ - i = encodeVarintGenerated(data, i, uint64(m.Secret.Size())) - n168, err := m.Secret.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.AWSElasticBlockStore.Size())) + n168, err := m.AWSElasticBlockStore.MarshalTo(data[i:]) if err != nil { return 0, err } i += n168 } - if m.NFS != nil { - data[i] = 0x3a + if m.GitRepo != nil { + data[i] = 0x2a i++ - i = encodeVarintGenerated(data, i, uint64(m.NFS.Size())) - n169, err := m.NFS.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.GitRepo.Size())) + n169, err := m.GitRepo.MarshalTo(data[i:]) if err != nil { return 0, err } i += n169 } - if m.ISCSI != nil { - data[i] = 0x42 + if m.Secret != nil { + data[i] = 0x32 i++ - i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size())) - n170, err := m.ISCSI.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Secret.Size())) + n170, err := m.Secret.MarshalTo(data[i:]) if err != nil { return 0, err } i += n170 } - if m.Glusterfs != nil { - data[i] = 0x4a + if m.NFS != nil { + data[i] = 0x3a i++ - i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size())) - n171, err := m.Glusterfs.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.NFS.Size())) + n171, err := m.NFS.MarshalTo(data[i:]) if err != nil { return 0, err } i += n171 } - if m.PersistentVolumeClaim != nil { - data[i] = 0x52 + if m.ISCSI != nil { + data[i] = 0x42 i++ - i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeClaim.Size())) - n172, err := m.PersistentVolumeClaim.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.ISCSI.Size())) + n172, err := m.ISCSI.MarshalTo(data[i:]) if err != nil { return 0, err } i += n172 } - if m.RBD != nil { - data[i] = 0x5a + if m.Glusterfs != nil { + data[i] = 0x4a i++ - i = encodeVarintGenerated(data, i, uint64(m.RBD.Size())) - n173, err := m.RBD.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Glusterfs.Size())) + n173, err := m.Glusterfs.MarshalTo(data[i:]) if err != nil { return 0, err } i += n173 } - if m.FlexVolume != nil { - data[i] = 0x62 + if m.PersistentVolumeClaim != nil { + data[i] = 0x52 i++ - i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size())) - n174, err := m.FlexVolume.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.PersistentVolumeClaim.Size())) + n174, err := m.PersistentVolumeClaim.MarshalTo(data[i:]) if err != nil { return 0, err } i += n174 } - if m.Cinder != nil { - data[i] = 0x6a + if m.RBD != nil { + data[i] = 0x5a i++ - i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size())) - n175, err := m.Cinder.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.RBD.Size())) + n175, err := m.RBD.MarshalTo(data[i:]) if err != nil { return 0, err } i += n175 } - if m.CephFS != nil { - data[i] = 0x72 + if m.FlexVolume != nil { + data[i] = 0x62 i++ - i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size())) - n176, err := m.CephFS.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.FlexVolume.Size())) + n176, err := m.FlexVolume.MarshalTo(data[i:]) if err != nil { return 0, err } i += n176 } - if m.Flocker != nil { - data[i] = 0x7a + if m.Cinder != nil { + data[i] = 0x6a i++ - i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size())) - n177, err := m.Flocker.MarshalTo(data[i:]) + i = encodeVarintGenerated(data, i, uint64(m.Cinder.Size())) + n177, err := m.Cinder.MarshalTo(data[i:]) if err != nil { return 0, err } i += n177 } + if m.CephFS != nil { + data[i] = 0x72 + i++ + i = encodeVarintGenerated(data, i, uint64(m.CephFS.Size())) + n178, err := m.CephFS.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n178 + } + if m.Flocker != nil { + data[i] = 0x7a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Flocker.Size())) + n179, err := m.Flocker.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n179 + } if m.DownwardAPI != nil { data[i] = 0x82 i++ data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.DownwardAPI.Size())) - n178, err := m.DownwardAPI.MarshalTo(data[i:]) + n180, err := m.DownwardAPI.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n178 + i += n180 } if m.FC != nil { data[i] = 0x8a @@ -7961,11 +8041,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.FC.Size())) - n179, err := m.FC.MarshalTo(data[i:]) + n181, err := m.FC.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n179 + i += n181 } if m.AzureFile != nil { data[i] = 0x92 @@ -7973,11 +8053,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureFile.Size())) - n180, err := m.AzureFile.MarshalTo(data[i:]) + n182, err := m.AzureFile.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n180 + i += n182 } if m.ConfigMap != nil { data[i] = 0x9a @@ -7985,11 +8065,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.ConfigMap.Size())) - n181, err := m.ConfigMap.MarshalTo(data[i:]) + n183, err := m.ConfigMap.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n181 + i += n183 } if m.VsphereVolume != nil { data[i] = 0xa2 @@ -7997,11 +8077,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.VsphereVolume.Size())) - n182, err := m.VsphereVolume.MarshalTo(data[i:]) + n184, err := m.VsphereVolume.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n182 + i += n184 } if m.Quobyte != nil { data[i] = 0xaa @@ -8009,11 +8089,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.Quobyte.Size())) - n183, err := m.Quobyte.MarshalTo(data[i:]) + n185, err := m.Quobyte.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n183 + i += n185 } if m.AzureDisk != nil { data[i] = 0xb2 @@ -8021,11 +8101,11 @@ func (m *VolumeSource) MarshalTo(data []byte) (int, error) { data[i] = 0x1 i++ i = encodeVarintGenerated(data, i, uint64(m.AzureDisk.Size())) - n184, err := m.AzureDisk.MarshalTo(data[i:]) + n186, err := m.AzureDisk.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n184 + i += n186 } return i, nil } @@ -8077,11 +8157,11 @@ func (m *WeightedPodAffinityTerm) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.PodAffinityTerm.Size())) - n185, err := m.PodAffinityTerm.MarshalTo(data[i:]) + n187, err := m.PodAffinityTerm.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n185 + i += n187 return i, nil } @@ -8820,6 +8900,8 @@ func (m *FlockerVolumeSource) Size() (n int) { _ = l l = len(m.DatasetName) n += 1 + l + sovGenerated(uint64(l)) + l = len(m.DatasetUUID) + n += 1 + l + sovGenerated(uint64(l)) return n } @@ -10151,6 +10233,24 @@ func (m *ReplicationController) Size() (n int) { return n } +func (m *ReplicationControllerCondition) 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 = m.LastProbeTime.Size() + n += 1 + l + sovGenerated(uint64(l)) + l = m.LastTransitionTime.Size() + 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)) + return n +} + func (m *ReplicationControllerList) Size() (n int) { var l int _ = l @@ -10183,6 +10283,7 @@ func (m *ReplicationControllerSpec) Size() (n int) { l = m.Template.Size() n += 1 + l + sovGenerated(uint64(l)) } + n += 1 + sovGenerated(uint64(m.MinReadySeconds)) return n } @@ -10193,6 +10294,13 @@ func (m *ReplicationControllerStatus) Size() (n int) { n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas)) n += 1 + sovGenerated(uint64(m.ObservedGeneration)) n += 1 + sovGenerated(uint64(m.ReadyReplicas)) + n += 1 + sovGenerated(uint64(m.AvailableReplicas)) + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } return n } @@ -11312,6 +11420,7 @@ func (this *FlockerVolumeSource) String() string { } s := strings.Join([]string{`&FlockerVolumeSource{`, `DatasetName:` + fmt.Sprintf("%v", this.DatasetName) + `,`, + `DatasetUUID:` + fmt.Sprintf("%v", this.DatasetUUID) + `,`, `}`, }, "") return s @@ -12420,6 +12529,21 @@ func (this *ReplicationController) String() string { }, "") return s } +func (this *ReplicationControllerCondition) String() string { + if this == nil { + return "nil" + } + 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) + `,`, + `}`, + }, "") + return s +} func (this *ReplicationControllerList) String() string { if this == nil { return "nil" @@ -12449,6 +12573,7 @@ func (this *ReplicationControllerSpec) String() string { `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, `Selector:` + mapStringForSelector + `,`, `Template:` + strings.Replace(fmt.Sprintf("%v", this.Template), "PodTemplateSpec", "PodTemplateSpec", 1) + `,`, + `MinReadySeconds:` + fmt.Sprintf("%v", this.MinReadySeconds) + `,`, `}`, }, "") return s @@ -12462,6 +12587,8 @@ func (this *ReplicationControllerStatus) String() string { `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`, `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, + `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, + `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicationControllerCondition", "ReplicationControllerCondition", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -19589,6 +19716,35 @@ func (m *FlockerVolumeSource) Unmarshal(data []byte) error { } m.DatasetName = string(data[iNdEx:postIndex]) iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DatasetUUID", 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.DatasetUUID = string(data[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -32753,6 +32909,232 @@ func (m *ReplicationController) Unmarshal(data []byte) error { } return nil } +func (m *ReplicationControllerCondition) 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: ReplicationControllerCondition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicationControllerCondition: 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 = ReplicationControllerConditionType(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 = 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) + } + 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 + case 5: + 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 6: + 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 + 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 *ReplicationControllerList) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -33057,6 +33439,25 @@ func (m *ReplicationControllerSpec) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) + } + m.MinReadySeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.MinReadySeconds |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -33183,6 +33584,56 @@ func (m *ReplicationControllerStatus) Unmarshal(data []byte) error { break } } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) + } + m.AvailableReplicas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.AvailableReplicas |= (int32(b) & 0x7F) << shift + if b < 0x80 { + 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, ReplicationControllerCondition{}) + 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:]) @@ -38480,615 +38931,623 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 9750 bytes of a gzipped FileDescriptorProto + // 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, 0x50, 0x8b, - 0xa4, 0xc8, 0x23, 0x6f, 0x8f, 0x77, 0x24, 0x4d, 0x52, 0x52, 0x24, 0xee, 0xee, 0xec, 0xde, 0xad, - 0x6f, 0xef, 0x6e, 0xf8, 0x66, 0xef, 0x4e, 0xb2, 0x18, 0x99, 0xbd, 0x33, 0xbd, 0xbb, 0xad, 0x9b, - 0x9d, 0x1e, 0x76, 0xf7, 0xec, 0xdd, 0x52, 0x31, 0xe0, 0x18, 0x8e, 0x83, 0xc0, 0x86, 0x23, 0x03, - 0x31, 0x12, 0x20, 0x09, 0xe2, 0x04, 0x88, 0x91, 0xc4, 0x88, 0x63, 0x39, 0x8a, 0x2d, 0x25, 0x86, - 0x11, 0x20, 0x8e, 0xa0, 0x7c, 0x38, 0x90, 0x81, 0x20, 0x36, 0x6c, 0x40, 0xb1, 0x6c, 0x04, 0xf9, - 0x91, 0x3f, 0x01, 0x92, 0x3f, 0x21, 0x8c, 0x24, 0xf5, 0xea, 0xbb, 0x7a, 0x7a, 0xb6, 0x7b, 0x96, - 0x37, 0x9b, 0xb3, 0x91, 0x1f, 0x0b, 0xec, 0xbc, 0xf7, 0xea, 0xd5, 0x47, 0x57, 0xbd, 0x7a, 0xef, - 0xd5, 0xab, 0x57, 0xe4, 0xe5, 0x7b, 0x6f, 0xc6, 0xcb, 0x41, 0x78, 0xe9, 0x5e, 0x6f, 0xc7, 0x8f, - 0x3a, 0x7e, 0xe2, 0xc7, 0x97, 0xba, 0xf7, 0xf6, 0x2e, 0x79, 0xdd, 0xe0, 0xd2, 0xe1, 0xe5, 0x4b, - 0x7b, 0x7e, 0xc7, 0x8f, 0xbc, 0xc4, 0x6f, 0x2d, 0x77, 0xa3, 0x30, 0x09, 0x9d, 0x4f, 0x70, 0xea, - 0x65, 0x4d, 0xbd, 0x4c, 0xa9, 0x97, 0x29, 0xf5, 0xf2, 0xe1, 0xe5, 0xa5, 0x8b, 0x7b, 0x41, 0xb2, - 0xdf, 0xdb, 0x59, 0x6e, 0x86, 0x07, 0x97, 0xf6, 0xc2, 0xbd, 0xf0, 0x12, 0x2b, 0xb4, 0xd3, 0xdb, - 0x65, 0xbf, 0xd8, 0x0f, 0xf6, 0x1f, 0x67, 0xb6, 0x74, 0x65, 0x70, 0xd5, 0x91, 0x1f, 0x87, 0xbd, - 0xa8, 0xe9, 0xa7, 0x1b, 0xb0, 0xf4, 0xfa, 0xe0, 0x32, 0xbd, 0xce, 0xa1, 0x1f, 0xc5, 0x41, 0xd8, - 0xf1, 0x5b, 0x7d, 0xc5, 0x2e, 0x66, 0x17, 0x8b, 0x7a, 0x9d, 0x24, 0x38, 0xe8, 0xaf, 0xe5, 0x72, - 0x36, 0x79, 0x2f, 0x09, 0xda, 0x97, 0x82, 0x4e, 0x12, 0x27, 0x51, 0xba, 0x88, 0xfb, 0xbb, 0x25, - 0xf2, 0xcc, 0xca, 0xdd, 0xc6, 0x7a, 0xdb, 0x8b, 0x93, 0xa0, 0xb9, 0xda, 0x0e, 0x9b, 0xf7, 0x1a, - 0x49, 0x18, 0xf9, 0x77, 0xc2, 0x76, 0xef, 0xc0, 0x6f, 0xb0, 0xde, 0x38, 0x2f, 0x93, 0xa9, 0x43, - 0xf6, 0x7b, 0xb3, 0xb6, 0x58, 0x7a, 0xa6, 0xf4, 0x42, 0x75, 0x75, 0xe1, 0xbb, 0xdf, 0x7f, 0xfa, - 0x63, 0x7f, 0xf4, 0xfd, 0xa7, 0xa7, 0xee, 0x08, 0x38, 0x28, 0x0a, 0xe7, 0x79, 0x32, 0xb1, 0x1b, - 0x6f, 0x1f, 0x75, 0xfd, 0xc5, 0x32, 0xa3, 0x9d, 0x13, 0xb4, 0x13, 0x1b, 0x0d, 0x84, 0x82, 0xc0, - 0x3a, 0x97, 0x48, 0xb5, 0xeb, 0x45, 0x49, 0x90, 0xd0, 0xbe, 0x2f, 0x56, 0x28, 0xe9, 0xf8, 0xea, - 0x19, 0x41, 0x5a, 0xad, 0x4b, 0x04, 0x68, 0x1a, 0x6c, 0x46, 0xe4, 0x7b, 0xad, 0x5b, 0x9d, 0xf6, - 0xd1, 0xe2, 0x18, 0xa5, 0x9f, 0xd2, 0xcd, 0x00, 0x01, 0x07, 0x45, 0xe1, 0x7e, 0xab, 0x4c, 0xa6, - 0x56, 0x76, 0x77, 0x83, 0x4e, 0x90, 0x1c, 0x39, 0xef, 0x91, 0x99, 0x4e, 0xd8, 0xf2, 0xe5, 0x6f, - 0xd6, 0x8b, 0xe9, 0x2b, 0x17, 0x96, 0x8f, 0x9b, 0x17, 0xcb, 0x37, 0x8d, 0x12, 0xab, 0x0b, 0xb4, - 0x9a, 0x19, 0x13, 0x02, 0x16, 0x47, 0xe7, 0x5d, 0x32, 0xdd, 0x0d, 0x5b, 0xaa, 0x82, 0x32, 0xab, - 0xe0, 0xc5, 0xe3, 0x2b, 0xa8, 0xeb, 0x02, 0xab, 0xf3, 0x94, 0xff, 0xb4, 0x01, 0x00, 0x93, 0x9d, - 0xd3, 0x26, 0xf3, 0xf8, 0x93, 0x7e, 0x76, 0x55, 0x43, 0x85, 0xd5, 0x70, 0x31, 0xbf, 0x06, 0xa3, - 0xd0, 0xea, 0x59, 0x5a, 0xcb, 0x7c, 0x0a, 0x08, 0x69, 0xd6, 0xee, 0x07, 0x64, 0x6e, 0x25, 0x49, - 0xbc, 0xe6, 0xbe, 0xdf, 0xe2, 0xdf, 0xd7, 0x79, 0x8d, 0x8c, 0x75, 0xbc, 0x03, 0x5f, 0x7c, 0xfd, - 0x67, 0xc4, 0xb0, 0x8f, 0xdd, 0xa4, 0xb0, 0x0f, 0xbf, 0xff, 0xf4, 0xc2, 0xed, 0x4e, 0xf0, 0x7e, - 0x4f, 0xcc, 0x19, 0x84, 0x01, 0xa3, 0x76, 0xae, 0x10, 0xd2, 0xf2, 0x0f, 0x83, 0xa6, 0x5f, 0xf7, - 0x92, 0x7d, 0x31, 0x1b, 0x1c, 0x51, 0x96, 0xd4, 0x14, 0x06, 0x0c, 0x2a, 0xf7, 0x27, 0x4a, 0xa4, - 0xba, 0x72, 0x18, 0x06, 0x2d, 0xda, 0xca, 0xd8, 0xe9, 0xd1, 0x7e, 0x47, 0xfe, 0xae, 0x1f, 0x29, - 0x10, 0x6d, 0x42, 0x85, 0xf6, 0xfb, 0x4a, 0x4e, 0xbf, 0xed, 0x42, 0xeb, 0x9d, 0x24, 0x3a, 0x5a, - 0x7d, 0x5c, 0x54, 0x3d, 0x9f, 0xc2, 0x42, 0xba, 0x0e, 0xf7, 0xe7, 0xca, 0xe4, 0xb1, 0x95, 0x0f, - 0x7a, 0x91, 0x5f, 0x0b, 0xe2, 0x7b, 0xe9, 0xa5, 0xd0, 0xa2, 0xb0, 0x9b, 0x7a, 0x30, 0xd4, 0x1c, - 0xac, 0x09, 0x38, 0x28, 0x0a, 0xe7, 0x22, 0x99, 0xc4, 0xff, 0x6f, 0xc3, 0xa6, 0xe8, 0xfd, 0x59, - 0x41, 0x3c, 0x5d, 0xf3, 0x12, 0xaf, 0xc6, 0x51, 0x20, 0x69, 0x9c, 0x1b, 0x64, 0xba, 0x49, 0x47, - 0x3d, 0xe8, 0xec, 0xdd, 0xa0, 0x53, 0x8b, 0x7d, 0xe1, 0xea, 0xea, 0x4b, 0x48, 0xbe, 0xa6, 0xc1, - 0x74, 0xbc, 0x17, 0x79, 0xdb, 0x04, 0x0b, 0x03, 0x07, 0x66, 0x79, 0xc7, 0x55, 0x0b, 0x71, 0x8c, - 0x71, 0x22, 0x19, 0x8b, 0xf0, 0x05, 0x63, 0x4d, 0x8d, 0xb3, 0x35, 0x35, 0x33, 0x60, 0x3d, 0xfd, - 0xa3, 0x92, 0x18, 0x93, 0x8d, 0xa0, 0x6d, 0x8b, 0x07, 0xfa, 0x99, 0x63, 0xbf, 0x19, 0xf9, 0x89, - 0x31, 0x2a, 0xea, 0x33, 0x37, 0x14, 0x06, 0x0c, 0x2a, 0x5c, 0xfc, 0xf1, 0xbe, 0x17, 0xb1, 0xd9, - 0x22, 0xc6, 0x46, 0x2d, 0xfe, 0x86, 0x44, 0x80, 0xa6, 0xb1, 0x16, 0x7f, 0x25, 0x77, 0xf1, 0xff, - 0xf3, 0x12, 0x99, 0x5c, 0x0d, 0x3a, 0x2d, 0x3a, 0x14, 0xce, 0x17, 0xc9, 0xd4, 0x81, 0x9f, 0x78, - 0x2d, 0x3a, 0x5c, 0x62, 0xdd, 0xbf, 0x70, 0xfc, 0xe4, 0xb9, 0xb5, 0xf3, 0x55, 0xbf, 0x99, 0xdc, - 0xa0, 0x65, 0x74, 0x37, 0x34, 0x0c, 0x14, 0x37, 0xe7, 0x36, 0x99, 0x48, 0xbc, 0x68, 0xcf, 0x4f, - 0xc4, 0x72, 0xbf, 0x58, 0x84, 0x2f, 0xe0, 0x54, 0xf3, 0x3b, 0x4d, 0x5f, 0x0b, 0xc6, 0x6d, 0xc6, - 0x04, 0x04, 0x33, 0xb7, 0x49, 0x66, 0xd6, 0xbc, 0xae, 0xb7, 0x13, 0xb4, 0xa9, 0xdc, 0xf3, 0x63, - 0xe7, 0xd3, 0xa4, 0xe2, 0xb5, 0x5a, 0x6c, 0xe2, 0x57, 0x57, 0x1f, 0xa3, 0x05, 0x2a, 0x2b, 0xad, - 0x16, 0x9d, 0x06, 0x44, 0x51, 0x1d, 0x01, 0x52, 0x38, 0x17, 0xc8, 0x58, 0x2b, 0x0a, 0xbb, 0xb4, - 0x35, 0x48, 0x79, 0x1e, 0x57, 0x68, 0x8d, 0xfe, 0x4e, 0x91, 0x32, 0x1a, 0xf7, 0x5f, 0x97, 0x89, - 0xb3, 0xe6, 0x77, 0xf7, 0x37, 0x1a, 0xd6, 0xb7, 0xa4, 0xf3, 0xe1, 0x20, 0xa4, 0x42, 0x20, 0x8c, - 0x62, 0x51, 0x21, 0x9b, 0x0f, 0x37, 0x04, 0x0c, 0x14, 0xd6, 0x79, 0x86, 0x8c, 0x75, 0xf5, 0xb2, - 0x9e, 0x91, 0x22, 0x81, 0x2d, 0x68, 0x86, 0x41, 0x8a, 0x5e, 0xec, 0x47, 0x62, 0x1e, 0x2b, 0x8a, - 0xdb, 0x14, 0x06, 0x0c, 0xa3, 0x67, 0x0e, 0xce, 0x29, 0x31, 0x4b, 0x53, 0x33, 0x07, 0x31, 0x60, - 0x50, 0x39, 0x3f, 0x4a, 0x67, 0x0e, 0xfb, 0x45, 0x07, 0x92, 0x4d, 0xd9, 0x5c, 0x61, 0xb0, 0x15, - 0x36, 0xbd, 0x76, 0x7a, 0xf0, 0x67, 0xd9, 0x4c, 0x93, 0x8c, 0x40, 0xf3, 0xb4, 0x66, 0xda, 0x44, - 0xee, 0x4c, 0xfb, 0x1b, 0x25, 0x3a, 0x8e, 0x74, 0xa6, 0xf9, 0xd1, 0x29, 0x6c, 0x99, 0xc3, 0x2d, - 0x82, 0x3f, 0xc0, 0xa6, 0x85, 0x07, 0x5d, 0xaa, 0x5a, 0x74, 0x92, 0xb5, 0x90, 0xae, 0x06, 0xb6, - 0x8d, 0x7e, 0x86, 0x8c, 0x25, 0x58, 0x15, 0x6f, 0xd6, 0xf3, 0xf2, 0xb3, 0x60, 0x05, 0x74, 0xa6, - 0x9c, 0xef, 0x2f, 0xc1, 0x9a, 0xc0, 0xca, 0x38, 0x6f, 0x91, 0x89, 0x38, 0xf1, 0x92, 0x5e, 0x2c, - 0x1a, 0xfa, 0x49, 0xd9, 0xd0, 0x06, 0x83, 0xd2, 0xf2, 0xf3, 0xaa, 0x18, 0x07, 0x81, 0x28, 0xe0, - 0xbc, 0x48, 0x26, 0x0f, 0xfc, 0x38, 0xf6, 0xf6, 0xa4, 0x60, 0x9b, 0x17, 0x65, 0x27, 0x6f, 0x70, - 0x30, 0x48, 0xbc, 0xf3, 0x29, 0x32, 0xee, 0x47, 0x51, 0x18, 0x89, 0x19, 0x31, 0x2b, 0x08, 0xc7, - 0xd7, 0x11, 0x08, 0x1c, 0xe7, 0xfe, 0x4e, 0x89, 0xcc, 0xab, 0xb6, 0xf2, 0xba, 0x46, 0xb8, 0xd4, - 0x5b, 0x84, 0x34, 0x65, 0xc7, 0x62, 0xb6, 0xc0, 0xa6, 0xaf, 0xbc, 0x72, 0x3c, 0xef, 0xfe, 0x81, - 0xd4, 0x75, 0x28, 0x50, 0x0c, 0x06, 0x5f, 0xf7, 0xbb, 0x25, 0x72, 0x36, 0xd5, 0xa7, 0xad, 0x20, - 0x4e, 0x9c, 0x3f, 0xdf, 0xd7, 0xaf, 0x4b, 0xc7, 0xd4, 0x6d, 0x68, 0x94, 0xcb, 0x58, 0x9c, 0x75, - 0x4f, 0x4d, 0x14, 0x09, 0x31, 0x3a, 0x07, 0x64, 0x3c, 0x48, 0xfc, 0x03, 0xd9, 0xaf, 0x8b, 0x05, - 0xfb, 0xc5, 0x1b, 0xa8, 0x3f, 0xcf, 0x26, 0xf2, 0x00, 0xce, 0xca, 0xfd, 0x1f, 0x74, 0x1f, 0xa7, - 0xbd, 0xdc, 0x0d, 0xf6, 0x6e, 0x78, 0xdd, 0x11, 0x7e, 0x98, 0x06, 0x95, 0x79, 0xc8, 0x95, 0x37, - 0xfd, 0x72, 0x5e, 0xd3, 0x45, 0x83, 0x96, 0x71, 0xf3, 0xe4, 0x5a, 0x81, 0x92, 0x4b, 0x08, 0x02, - 0xc6, 0x6c, 0xe9, 0x0d, 0x52, 0x55, 0x04, 0xce, 0x02, 0xa9, 0xdc, 0xf3, 0xb9, 0xca, 0x58, 0x05, - 0xfc, 0xd7, 0x39, 0x47, 0xc6, 0x0f, 0xbd, 0x76, 0x4f, 0xac, 0x56, 0xe0, 0x3f, 0x3e, 0x53, 0x7e, - 0xb3, 0xe4, 0xfe, 0x46, 0x89, 0x9c, 0x53, 0x95, 0x5c, 0xf7, 0x8f, 0x1a, 0x7e, 0x9b, 0x36, 0x39, - 0x8c, 0x9c, 0x9f, 0xa4, 0x88, 0x76, 0x86, 0x1c, 0x12, 0xa3, 0x71, 0x12, 0x09, 0xf6, 0x09, 0xd1, - 0xf0, 0x73, 0x59, 0x58, 0xc8, 0xac, 0xcd, 0x79, 0x92, 0xf7, 0x85, 0x2f, 0xde, 0x69, 0xc1, 0xa0, - 0x42, 0x1b, 0xca, 0x3a, 0x86, 0xcd, 0x9f, 0x55, 0xcd, 0x3f, 0x8d, 0x99, 0xb7, 0x65, 0xcf, 0xbc, - 0x4f, 0x17, 0xfc, 0x7c, 0x03, 0xe6, 0xdc, 0xdf, 0xa1, 0x6a, 0x9b, 0xa2, 0xb1, 0xc4, 0xf1, 0x23, - 0x32, 0xfc, 0xc3, 0x75, 0x97, 0x7e, 0x96, 0xed, 0x10, 0xf7, 0xd3, 0xec, 0xee, 0x3a, 0x97, 0xc9, - 0x74, 0xcb, 0xdf, 0xf5, 0x7a, 0xed, 0x44, 0xa9, 0x8b, 0xe3, 0xdc, 0x8e, 0xa8, 0x69, 0x30, 0x98, - 0x34, 0xee, 0x6f, 0x57, 0xd9, 0xaa, 0x4c, 0xbc, 0x80, 0x9a, 0x81, 0xb8, 0x41, 0x1b, 0x5a, 0xfd, - 0x8c, 0xa9, 0xd5, 0x0b, 0x0d, 0x9e, 0x4a, 0xe2, 0xe0, 0x00, 0x45, 0x76, 0xd9, 0x96, 0xc4, 0x9b, - 0x08, 0x04, 0x8e, 0x73, 0x9e, 0x23, 0x93, 0xd4, 0x74, 0x3e, 0xf0, 0x3a, 0x2d, 0xda, 0x06, 0x54, - 0x19, 0xa6, 0x51, 0xaa, 0xaf, 0x71, 0x10, 0x48, 0x9c, 0xf3, 0x09, 0x32, 0x46, 0xf5, 0x9b, 0x98, - 0x0a, 0x75, 0xa4, 0x99, 0xc2, 0x9a, 0x56, 0xe8, 0x6f, 0x60, 0x50, 0x54, 0x05, 0xee, 0x87, 0xd1, - 0x3d, 0xaa, 0xb0, 0xd5, 0x82, 0x88, 0xed, 0xeb, 0x86, 0x2a, 0x70, 0x57, 0x61, 0xc0, 0xa0, 0x72, - 0xea, 0x64, 0xbc, 0x1b, 0x46, 0x49, 0x4c, 0xb7, 0x69, 0x1c, 0xce, 0x97, 0x72, 0x67, 0x0f, 0xef, - 0x77, 0x9d, 0x96, 0xd1, 0x5d, 0xc1, 0x5f, 0x74, 0x48, 0x19, 0x23, 0x67, 0x8d, 0x54, 0xfc, 0xce, - 0xe1, 0xe2, 0x24, 0xe3, 0xf7, 0xec, 0xf1, 0xfc, 0xd6, 0x3b, 0x87, 0x77, 0xbc, 0x48, 0xaf, 0x22, - 0xfa, 0x1b, 0xb0, 0xb4, 0xd3, 0x24, 0x55, 0xe9, 0x08, 0x88, 0x17, 0xa7, 0x8a, 0x4c, 0x30, 0x10, - 0xe4, 0xe0, 0xbf, 0xdf, 0x0b, 0x22, 0xff, 0x80, 0x0a, 0xd7, 0x58, 0xeb, 0xc3, 0x12, 0x1b, 0x83, - 0xe6, 0x4b, 0x2b, 0x99, 0xe1, 0xea, 0xc3, 0x8d, 0xb0, 0x47, 0xa9, 0x17, 0xab, 0xac, 0xc9, 0x39, - 0x06, 0xe7, 0x1d, 0x5d, 0x62, 0xf5, 0x9c, 0x60, 0x3f, 0x63, 0x00, 0x63, 0xb0, 0x98, 0x52, 0xa3, - 0x76, 0xb6, 0x1d, 0x1c, 0xfa, 0x1d, 0xba, 0x2f, 0xd7, 0xa3, 0x70, 0xc7, 0x5f, 0x24, 0xac, 0x37, - 0x9f, 0xca, 0x33, 0xbe, 0x28, 0xe9, 0xea, 0x19, 0xca, 0x7b, 0x76, 0xcb, 0x2c, 0x0d, 0x36, 0x33, - 0xaa, 0xc9, 0xcd, 0xa1, 0xae, 0x12, 0x68, 0xf6, 0xd3, 0xc5, 0xd9, 0x3b, 0x94, 0xfd, 0x1c, 0x58, - 0xc5, 0x21, 0xc5, 0xce, 0xd9, 0x26, 0xd5, 0x76, 0xb0, 0xeb, 0x37, 0x8f, 0x9a, 0x54, 0xbb, 0x9c, - 0x61, 0xbc, 0x73, 0x96, 0xdc, 0x96, 0x24, 0xe7, 0xfa, 0xa1, 0xfa, 0x09, 0x9a, 0x91, 0x73, 0x87, - 0x9c, 0x4f, 0xfc, 0xe8, 0x20, 0xe8, 0x78, 0xb8, 0x69, 0x0b, 0xe5, 0x85, 0x59, 0xb8, 0xb3, 0x6c, - 0xd6, 0x3e, 0x25, 0x06, 0xf6, 0xfc, 0x76, 0x26, 0x15, 0x0c, 0x28, 0xed, 0xdc, 0x22, 0xf3, 0x6c, - 0x3d, 0xd5, 0x7b, 0xed, 0x76, 0x3d, 0x6c, 0x07, 0xcd, 0xa3, 0xc5, 0x39, 0xc6, 0xf0, 0x39, 0x69, - 0xb7, 0x6e, 0xda, 0x68, 0xd4, 0xeb, 0xf5, 0x2f, 0x48, 0x97, 0x46, 0xa7, 0x01, 0xd5, 0x6a, 0x7b, - 0x11, 0x55, 0xfa, 0x71, 0xee, 0xfb, 0x0f, 0x92, 0xc5, 0xf9, 0x22, 0x76, 0x4a, 0xc3, 0x2e, 0xc4, - 0x9d, 0x06, 0x29, 0x20, 0xa4, 0x59, 0xa3, 0xa8, 0x88, 0x13, 0x3a, 0xfa, 0x8b, 0x0b, 0x4c, 0x31, - 0x55, 0xeb, 0xab, 0x81, 0x40, 0xe0, 0x38, 0x66, 0xf6, 0xe1, 0x3f, 0xb7, 0x50, 0xf6, 0x9e, 0x61, - 0x84, 0xda, 0xec, 0x93, 0x08, 0xd0, 0x34, 0xb8, 0x61, 0x25, 0xc9, 0xd1, 0xa2, 0xc3, 0x48, 0xd5, - 0x52, 0xdb, 0xde, 0xfe, 0x12, 0x20, 0xdc, 0xdd, 0x21, 0x73, 0x6a, 0x59, 0xb3, 0xd1, 0x71, 0x9e, - 0x26, 0xe3, 0x28, 0xb9, 0xa4, 0xf5, 0x52, 0xc5, 0x26, 0xa0, 0x40, 0xa3, 0x4b, 0x9c, 0xc1, 0x59, - 0x13, 0x82, 0x0f, 0xfc, 0xd5, 0x23, 0xda, 0x6b, 0x26, 0xd6, 0x2a, 0x46, 0x13, 0x24, 0x02, 0x34, - 0x8d, 0xfb, 0xbf, 0xf9, 0xa6, 0xa8, 0x65, 0x47, 0x01, 0xb9, 0x49, 0x15, 0xf5, 0xfd, 0x30, 0x4e, - 0x90, 0x9a, 0xd5, 0x31, 0xae, 0x77, 0xc1, 0x6b, 0x02, 0x0e, 0x8a, 0xc2, 0xf9, 0x2c, 0x99, 0x6d, - 0x9a, 0x15, 0x08, 0x51, 0xfe, 0x98, 0x28, 0x62, 0xd7, 0x0e, 0x36, 0xad, 0xf3, 0x26, 0x99, 0x62, - 0xae, 0xbc, 0x66, 0xd8, 0x16, 0xfa, 0xb2, 0xdc, 0x99, 0xa6, 0xea, 0x02, 0xfe, 0xa1, 0xf1, 0x3f, - 0x28, 0x6a, 0xb4, 0x3a, 0xb0, 0x09, 0x9b, 0x75, 0x21, 0x6e, 0x95, 0xd5, 0x71, 0x8d, 0x41, 0x41, - 0x60, 0xdd, 0x5f, 0x29, 0x1b, 0xa3, 0x8c, 0x4a, 0x9f, 0xef, 0xfc, 0x08, 0x99, 0xbc, 0xef, 0x51, - 0xa5, 0xb5, 0xb3, 0x27, 0x76, 0xd0, 0x57, 0x0b, 0xca, 0x5e, 0x56, 0xfc, 0x2e, 0x2f, 0xca, 0xf7, - 0x09, 0xf1, 0x03, 0x24, 0x43, 0xe4, 0x1d, 0xf5, 0x3a, 0x1d, 0xe4, 0x5d, 0x1e, 0x9e, 0x37, 0xf0, - 0xa2, 0x9c, 0xb7, 0xf8, 0x01, 0x92, 0xa1, 0xb3, 0x4b, 0x88, 0x5c, 0x7d, 0x7e, 0x4b, 0xb8, 0xd0, - 0x7e, 0x68, 0x18, 0xf6, 0xdb, 0xaa, 0xf4, 0xea, 0x1c, 0xee, 0x4c, 0xfa, 0x37, 0x18, 0x9c, 0xdd, - 0x1e, 0x53, 0x44, 0xfa, 0x9b, 0x45, 0x25, 0x2a, 0x9d, 0xdc, 0x5e, 0x44, 0x69, 0x56, 0x12, 0x31, - 0x74, 0x2f, 0x15, 0x54, 0xa8, 0xb6, 0x83, 0x03, 0xdf, 0x5c, 0x2d, 0x82, 0x0b, 0x68, 0x86, 0xee, - 0xb7, 0x2b, 0x64, 0x71, 0x50, 0x7b, 0x71, 0x4e, 0xfa, 0x0f, 0x02, 0x6a, 0x8d, 0xb4, 0xf8, 0xcc, - 0x35, 0xe6, 0xe4, 0xba, 0x80, 0x83, 0xa2, 0xc0, 0xc9, 0x11, 0x07, 0x7b, 0x1d, 0xaf, 0x2d, 0xe6, - 0xaf, 0x9a, 0x1c, 0x0d, 0x06, 0x05, 0x81, 0x45, 0x3a, 0x2a, 0x75, 0x63, 0xe1, 0xc2, 0x35, 0x26, - 0x11, 0x30, 0x28, 0x08, 0xac, 0x69, 0xfe, 0x8d, 0xe5, 0x98, 0x7f, 0xd6, 0x18, 0x8d, 0x3f, 0xe4, - 0x31, 0xa2, 0xbb, 0x0e, 0x41, 0x37, 0x67, 0xbc, 0xcf, 0xd8, 0x4f, 0x0c, 0xcf, 0x5e, 0x69, 0x25, - 0x1b, 0x8a, 0x0d, 0x18, 0x2c, 0x9d, 0xd7, 0xc9, 0xb4, 0x5a, 0xa1, 0xd4, 0xfa, 0x9f, 0xb4, 0x1d, - 0x7f, 0x5a, 0x5c, 0xd5, 0xc0, 0xa4, 0x73, 0xbf, 0x9a, 0x9e, 0x32, 0x62, 0x61, 0x18, 0x23, 0x5c, - 0x2a, 0x3a, 0xc2, 0xe5, 0xe3, 0x47, 0xd8, 0xfd, 0x4f, 0x15, 0xb4, 0x9d, 0x8d, 0xca, 0x7a, 0x71, - 0x01, 0xa1, 0xf6, 0x0e, 0x4a, 0x78, 0xda, 0x30, 0xb1, 0x2c, 0x5f, 0x1e, 0x66, 0xdd, 0x98, 0xfb, - 0x01, 0x2e, 0x07, 0xce, 0xc9, 0xd9, 0xa7, 0x3b, 0xb4, 0x17, 0x33, 0x4b, 0xd2, 0x17, 0xcb, 0x71, - 0x38, 0xb6, 0x5a, 0x0b, 0xa7, 0x6c, 0x8c, 0x0d, 0x97, 0xd7, 0xa2, 0x99, 0xe3, 0xf6, 0x84, 0xda, - 0x81, 0x3c, 0x39, 0x50, 0xcd, 0x41, 0x15, 0xe2, 0x08, 0x38, 0x8e, 0xca, 0xd2, 0x19, 0xaa, 0x61, - 0xe1, 0x54, 0x59, 0x43, 0x05, 0x88, 0x4d, 0xbe, 0x71, 0xad, 0x29, 0x81, 0x81, 0x03, 0x8b, 0x52, - 0x2b, 0xca, 0x13, 0xc7, 0x28, 0xca, 0xf4, 0x0b, 0xb1, 0x7f, 0xd4, 0xac, 0x50, 0x5f, 0x68, 0x93, - 0x83, 0x41, 0xe2, 0xd3, 0x93, 0x68, 0xaa, 0xe0, 0x24, 0xba, 0x40, 0xe6, 0x6a, 0x9e, 0x7f, 0x10, - 0x76, 0xd6, 0x3b, 0xad, 0x6e, 0x18, 0xd0, 0x86, 0x2d, 0x92, 0x31, 0xb6, 0xa5, 0xf0, 0x15, 0x3f, - 0x86, 0x1c, 0x60, 0x0c, 0x95, 0x5d, 0xf7, 0xff, 0xd0, 0x7d, 0xad, 0x46, 0xed, 0xd3, 0xc4, 0xbf, - 0xd5, 0x65, 0xee, 0x07, 0x67, 0x83, 0x38, 0x7b, 0x91, 0xd7, 0xf4, 0xeb, 0x7e, 0x14, 0x84, 0x2d, - 0xba, 0xe3, 0x87, 0x1d, 0xe6, 0x70, 0xc7, 0x3d, 0x12, 0xbd, 0x89, 0xce, 0xd5, 0x3e, 0x2c, 0x64, - 0x94, 0x70, 0x5a, 0x64, 0xb6, 0x1b, 0xf9, 0x96, 0xbf, 0xa4, 0x94, 0xaf, 0x9f, 0xd7, 0xcd, 0x22, - 0x5c, 0x7d, 0xb4, 0x40, 0x60, 0x33, 0x75, 0xde, 0x26, 0x0b, 0x61, 0xd4, 0xdd, 0xf7, 0x3a, 0x35, - 0xbf, 0xeb, 0x77, 0x5a, 0xa8, 0x33, 0x0b, 0xa7, 0xd8, 0x39, 0x5a, 0x76, 0xe1, 0x56, 0x0a, 0x07, - 0x7d, 0xd4, 0xee, 0x2f, 0x51, 0x7b, 0xb1, 0x16, 0xde, 0xef, 0xdc, 0xf7, 0xa2, 0xd6, 0x4a, 0x7d, - 0x93, 0x2b, 0xc2, 0xcc, 0xc9, 0x28, 0x9d, 0x9b, 0xa5, 0x81, 0xce, 0xcd, 0x2f, 0x93, 0xa9, 0xdd, - 0xc0, 0x6f, 0xb7, 0xd0, 0x0b, 0xc9, 0xbb, 0x77, 0xb9, 0x88, 0x47, 0x63, 0x03, 0xcb, 0x48, 0xaf, - 0x00, 0xf7, 0xad, 0x6e, 0x08, 0x36, 0xa0, 0x18, 0x3a, 0x3d, 0xb2, 0x20, 0x35, 0x7d, 0x89, 0x15, - 0xab, 0xe3, 0xd5, 0x62, 0x86, 0x84, 0x5d, 0x0d, 0x1b, 0x0f, 0x48, 0x31, 0x84, 0xbe, 0x2a, 0xd0, - 0x42, 0x3b, 0xc0, 0xdd, 0x61, 0x8c, 0xcd, 0x15, 0x66, 0xa1, 0x31, 0x13, 0x92, 0x41, 0xdd, 0x5f, - 0x2c, 0x91, 0xc7, 0xfb, 0x46, 0x4b, 0xd8, 0xd7, 0x5f, 0x94, 0x86, 0x2d, 0x3f, 0x9d, 0xc9, 0x69, - 0x65, 0xe6, 0x98, 0x17, 0x33, 0x72, 0xcb, 0x05, 0x8c, 0xdc, 0x5b, 0xe4, 0xdc, 0xfa, 0x41, 0x37, - 0x39, 0xa2, 0x26, 0xa2, 0xd5, 0xc8, 0x37, 0xc8, 0xc4, 0x81, 0xdf, 0x0a, 0x7a, 0x07, 0xe2, 0xb3, - 0x3e, 0x2d, 0x05, 0xe9, 0x0d, 0x06, 0xa5, 0x5a, 0xd2, 0x2c, 0x9e, 0x7d, 0xd2, 0x05, 0xc8, 0x01, - 0x20, 0xc8, 0xdd, 0x1f, 0x94, 0xc8, 0xbc, 0x5c, 0x50, 0x2b, 0xad, 0x16, 0x1d, 0xb7, 0xd8, 0x59, - 0x22, 0xe5, 0xa0, 0x2b, 0x18, 0x11, 0xc1, 0xa8, 0x4c, 0x95, 0x26, 0x0a, 0xa5, 0x1a, 0x4c, 0x95, - 0xbb, 0xf2, 0xf5, 0xe4, 0x18, 0xf2, 0x68, 0x80, 0x59, 0x1f, 0xdb, 0x92, 0x07, 0x68, 0x76, 0x52, - 0xb3, 0x64, 0xa2, 0xba, 0x62, 0x3b, 0x96, 0xaf, 0x09, 0x38, 0x28, 0x0a, 0x74, 0xe7, 0xe3, 0x29, - 0x25, 0x3b, 0x65, 0xe1, 0xdb, 0x2e, 0x9b, 0x72, 0x37, 0x05, 0x0c, 0x14, 0xd6, 0xfd, 0x99, 0x12, - 0x99, 0x91, 0x7d, 0x2c, 0xa8, 0xe4, 0xe2, 0x22, 0xd1, 0x0a, 0xae, 0x5e, 0x24, 0xa8, 0xa4, 0x32, - 0x8c, 0xa5, 0x9b, 0x56, 0x86, 0xd1, 0x4d, 0xdd, 0x6f, 0x53, 0x9d, 0x53, 0x36, 0xa7, 0xd1, 0xdb, - 0x89, 0xfd, 0xc4, 0xf9, 0x0a, 0xa9, 0x7a, 0x7c, 0xf0, 0x7d, 0x39, 0xcf, 0x2e, 0xe6, 0x59, 0xe8, - 0xd6, 0x37, 0xd3, 0x8a, 0xc1, 0x8a, 0xe4, 0x03, 0x9a, 0xa5, 0x73, 0x48, 0xce, 0x74, 0xc2, 0x84, - 0xed, 0x07, 0x0a, 0x5f, 0xcc, 0x23, 0x9a, 0xae, 0xe7, 0x09, 0x51, 0xcf, 0x99, 0x9b, 0x69, 0x7e, - 0xd0, 0x5f, 0x05, 0xb5, 0xfb, 0x84, 0x17, 0xa3, 0xc2, 0xea, 0xba, 0x50, 0xac, 0xae, 0xc1, 0x4e, - 0x0c, 0xf7, 0x37, 0x4b, 0xa4, 0x2a, 0xc9, 0x46, 0xe9, 0x13, 0xbf, 0x4b, 0x26, 0x63, 0xf6, 0x69, - 0xe4, 0x30, 0xbd, 0x5c, 0xac, 0xe9, 0xfc, 0x7b, 0xea, 0xcd, 0x8f, 0xff, 0x8e, 0x41, 0x72, 0x63, - 0x6e, 0x48, 0xd5, 0x81, 0x47, 0xcf, 0x0d, 0xa9, 0x9a, 0x36, 0xc0, 0x0d, 0xf9, 0x0f, 0x4a, 0x64, - 0x82, 0x3b, 0x87, 0x8a, 0x79, 0xd8, 0x0c, 0x5f, 0xb2, 0xe6, 0x78, 0x07, 0x81, 0xc2, 0xb5, 0x4c, - 0x47, 0xba, 0xca, 0xfe, 0xd9, 0x88, 0xc2, 0x03, 0xb1, 0x11, 0x5c, 0x28, 0xe2, 0x9c, 0xe2, 0x82, - 0x8f, 0x4b, 0x93, 0x3b, 0x92, 0x01, 0x68, 0x5e, 0xee, 0x6f, 0x54, 0x70, 0xd5, 0x6b, 0x52, 0x6b, - 0x5b, 0x2b, 0x9d, 0xc6, 0xb6, 0x56, 0x1e, 0xfd, 0xb6, 0xf6, 0x3e, 0x99, 0x6f, 0x1a, 0x3e, 0x79, - 0xbd, 0x99, 0x5e, 0x29, 0xe8, 0x6e, 0x36, 0x1c, 0xf9, 0xdc, 0x19, 0xb2, 0x66, 0xb3, 0x83, 0x34, - 0x7f, 0xc7, 0x27, 0x33, 0xfc, 0x40, 0x51, 0xd4, 0x37, 0x96, 0x3b, 0x67, 0xb9, 0xdf, 0x85, 0x97, - 0x50, 0x95, 0xb1, 0xa0, 0x93, 0x86, 0xc1, 0x08, 0x2c, 0xb6, 0xee, 0x5f, 0x1b, 0x27, 0xe3, 0xeb, - 0x87, 0x54, 0x97, 0x19, 0xe1, 0x2a, 0x3f, 0x20, 0x73, 0x41, 0xe7, 0x30, 0x6c, 0x1f, 0xfa, 0x2d, - 0x8e, 0x3f, 0xd9, 0x8e, 0x76, 0x5e, 0x54, 0x32, 0xb7, 0x69, 0x31, 0x83, 0x14, 0xf3, 0x51, 0xd8, - 0x93, 0xef, 0x50, 0x53, 0x96, 0xcd, 0x08, 0x61, 0x4c, 0xe6, 0x38, 0x49, 0xd9, 0x80, 0x8a, 0x95, - 0xa3, 0xad, 0x5e, 0xee, 0x9f, 0x15, 0x8c, 0x9c, 0x7b, 0x64, 0x6e, 0x37, 0x88, 0xa8, 0xc5, 0x41, - 0x0d, 0x42, 0x6a, 0x05, 0x1c, 0x74, 0x4f, 0x62, 0x48, 0xaa, 0x21, 0xd9, 0xb0, 0x58, 0x41, 0x8a, - 0x35, 0x35, 0x92, 0x66, 0xd1, 0x8e, 0xd1, 0x75, 0x4d, 0x0e, 0x5f, 0x97, 0xf2, 0x25, 0x6d, 0x99, - 0x9c, 0xc0, 0x66, 0x8c, 0xc2, 0xa8, 0xc9, 0x0c, 0x9f, 0x29, 0xb6, 0xa5, 0x2b, 0x61, 0xc4, 0x2d, - 0x1e, 0x8e, 0x43, 0x99, 0xc6, 0xce, 0x8f, 0xab, 0xb6, 0x4c, 0xd3, 0xa7, 0xc4, 0xee, 0x37, 0x71, - 0x03, 0xc2, 0x51, 0x3c, 0x0d, 0xd9, 0x7d, 0xcd, 0x96, 0xdd, 0x9f, 0x2a, 0xf0, 0x71, 0x07, 0xc8, - 0xed, 0xf7, 0xc8, 0xb4, 0xf1, 0xed, 0xd1, 0x51, 0xd8, 0x94, 0x47, 0x9d, 0x42, 0x80, 0x2b, 0x05, - 0x42, 0x9d, 0x81, 0x82, 0xa6, 0xc1, 0x81, 0x41, 0xc5, 0x2b, 0x1d, 0x11, 0x81, 0x6a, 0x19, 0x30, - 0x8c, 0xfb, 0x2a, 0x21, 0xeb, 0x0f, 0xfc, 0xe6, 0x4a, 0x93, 0x1d, 0xc4, 0x1b, 0xe7, 0x26, 0xa5, - 0xc1, 0xe7, 0x26, 0xee, 0xbb, 0x74, 0x33, 0x7c, 0x80, 0x3b, 0xbb, 0x34, 0xd3, 0xe8, 0x12, 0xf1, - 0x19, 0x80, 0xb5, 0x6a, 0x4a, 0x4f, 0x52, 0x4e, 0x06, 0x02, 0xcb, 0x8e, 0xd1, 0x1f, 0x78, 0x62, - 0xc1, 0x1a, 0x26, 0xef, 0x3a, 0x02, 0x81, 0xe3, 0xdc, 0x6f, 0x94, 0xc8, 0xdc, 0xc6, 0x9a, 0xa5, - 0x27, 0x2f, 0x13, 0xc2, 0xf5, 0xcd, 0xbb, 0x77, 0x6f, 0x4a, 0x3f, 0x2a, 0x77, 0x76, 0x29, 0x28, - 0x18, 0x14, 0xce, 0x13, 0xa4, 0xd2, 0xee, 0x75, 0x84, 0x1a, 0x38, 0x89, 0xfe, 0xd9, 0xad, 0x5e, - 0x07, 0x10, 0x66, 0x04, 0x36, 0x54, 0x0a, 0x07, 0x36, 0xe4, 0x87, 0xf6, 0xfd, 0x7c, 0x85, 0x2c, - 0x6c, 0xb4, 0xfd, 0x07, 0x56, 0xab, 0x69, 0x55, 0xad, 0x28, 0xa0, 0x93, 0x27, 0xed, 0x26, 0xa9, - 0x31, 0x28, 0x08, 0x6c, 0xe1, 0x58, 0x0b, 0x2b, 0xce, 0xa4, 0x32, 0xe2, 0x38, 0x93, 0xdc, 0x3e, - 0x3b, 0xbb, 0x64, 0x32, 0xe4, 0xdf, 0x9f, 0x4a, 0x31, 0x9c, 0xe8, 0x9f, 0x3d, 0xbe, 0x31, 0xe9, - 0xf1, 0x59, 0x16, 0xb3, 0x87, 0x1f, 0x7a, 0x2b, 0x61, 0x29, 0xa0, 0x20, 0x99, 0x2f, 0x7d, 0x86, - 0xcc, 0x98, 0x94, 0x43, 0x9d, 0x7e, 0x6f, 0x91, 0xb3, 0x1b, 0x18, 0x41, 0x9a, 0x8a, 0x85, 0x79, - 0x9d, 0x9a, 0x70, 0x74, 0xa5, 0xc6, 0x56, 0x80, 0x98, 0x15, 0x09, 0x27, 0x50, 0x60, 0xd2, 0xb9, - 0xff, 0xa1, 0x44, 0x9e, 0xbc, 0xba, 0xb6, 0x5e, 0x47, 0x71, 0x10, 0x27, 0x74, 0x81, 0xf5, 0x05, - 0xe3, 0xd1, 0x4f, 0xd9, 0x6d, 0x19, 0x3c, 0xd5, 0xa7, 0xac, 0xd7, 0x18, 0x3b, 0x81, 0x7d, 0x54, - 0x22, 0x52, 0xa9, 0x5e, 0x78, 0xf6, 0x6a, 0x40, 0xbf, 0x7d, 0x37, 0x4c, 0xc7, 0xcf, 0x45, 0x14, - 0x16, 0x63, 0x5c, 0xd5, 0x51, 0x3a, 0x7e, 0x0e, 0x14, 0x06, 0x0c, 0x2a, 0x5e, 0xf3, 0x61, 0x80, - 0x82, 0x52, 0x74, 0xca, 0xa8, 0x99, 0xc3, 0x41, 0x51, 0x60, 0xc7, 0x5a, 0x41, 0xc4, 0x74, 0x8a, - 0x23, 0xb1, 0x12, 0x55, 0xc7, 0x6a, 0x12, 0x01, 0x9a, 0xc6, 0xfd, 0x5b, 0x25, 0xf2, 0xd8, 0xd5, - 0x76, 0x8f, 0x0e, 0x7b, 0xb4, 0x1b, 0x5b, 0x8d, 0x7d, 0x95, 0x54, 0x7d, 0xa9, 0xff, 0x8a, 0xb6, - 0xaa, 0xbd, 0x45, 0x29, 0xc6, 0x3c, 0x78, 0x4f, 0xd1, 0x15, 0x88, 0x15, 0x1b, 0x2e, 0xb2, 0xe9, - 0x5f, 0x94, 0xc9, 0xec, 0xb5, 0xed, 0xed, 0xfa, 0x55, 0x3f, 0x11, 0xb2, 0x34, 0xdf, 0x61, 0x53, - 0x37, 0xac, 0xd5, 0xe9, 0x2b, 0xcb, 0x03, 0x56, 0x0f, 0xc6, 0x4a, 0x2f, 0xf3, 0x58, 0xe9, 0xe5, - 0xcd, 0x4e, 0x72, 0x2b, 0x6a, 0x24, 0x11, 0x1e, 0x27, 0x64, 0x59, 0xb7, 0x52, 0xde, 0x57, 0x06, - 0xc9, 0x7b, 0x3a, 0x58, 0x13, 0x71, 0x73, 0xdf, 0x57, 0xc6, 0xf7, 0xc7, 0x95, 0x3a, 0xc1, 0xa0, - 0xd4, 0xf6, 0xad, 0xde, 0x86, 0x4d, 0xfe, 0x03, 0x04, 0x29, 0x15, 0x3c, 0xd3, 0xfb, 0x49, 0xd2, - 0xbd, 0x46, 0x3b, 0x4b, 0xa7, 0xbe, 0x58, 0xed, 0x39, 0xda, 0x1c, 0x0e, 0x06, 0x2f, 0xa0, 0x17, - 0x96, 0x86, 0xc5, 0x60, 0x72, 0x74, 0x1b, 0x84, 0x68, 0xdc, 0x43, 0x32, 0x51, 0xdc, 0xbf, 0x58, - 0x26, 0x93, 0xd7, 0xe8, 0x76, 0xd5, 0xa6, 0x2c, 0x37, 0xc8, 0x98, 0x4f, 0xb7, 0xb9, 0x62, 0x8a, - 0xa8, 0xde, 0x10, 0xb9, 0xc7, 0x09, 0x7f, 0x03, 0x2b, 0xef, 0x00, 0x99, 0xc4, 0x76, 0x5f, 0x55, - 0x01, 0x96, 0x2f, 0xe5, 0x8f, 0x82, 0x9a, 0x12, 0x7c, 0x37, 0x15, 0x20, 0x90, 0x8c, 0x98, 0x6f, - 0xa6, 0xd9, 0x6d, 0xa0, 0x94, 0x4a, 0x8a, 0xc5, 0x50, 0x6f, 0xaf, 0xd5, 0x39, 0xb9, 0xe0, 0xcb, - 0x7d, 0x33, 0x12, 0x08, 0x9a, 0x9d, 0xfb, 0x26, 0x39, 0xc7, 0x4e, 0xf7, 0xe8, 0x74, 0xb3, 0xd6, - 0x4c, 0xee, 0xe4, 0x74, 0xff, 0x6e, 0x99, 0x9c, 0xd9, 0x6c, 0xac, 0x35, 0x6c, 0xaf, 0xda, 0x9b, - 0x64, 0x86, 0x6f, 0xb3, 0x38, 0xe9, 0xbc, 0xb6, 0x28, 0xaf, 0xdc, 0xd1, 0xdb, 0x06, 0x0e, 0x2c, - 0x4a, 0x3c, 0x36, 0x0d, 0xde, 0xef, 0xa4, 0xe3, 0x7c, 0x36, 0xdf, 0xb9, 0x09, 0x08, 0x47, 0x34, - 0xee, 0xd8, 0x5c, 0xc4, 0x29, 0xb4, 0xda, 0xb5, 0x3f, 0x4f, 0x55, 0xfe, 0xb8, 0x19, 0x07, 0x74, - 0x01, 0xd0, 0xf5, 0xef, 0x35, 0xe5, 0xf4, 0xd5, 0x3a, 0x3c, 0x36, 0x55, 0x61, 0x21, 0x45, 0x6d, - 0xc8, 0xdb, 0xf1, 0xc2, 0xbb, 0x7e, 0x7e, 0xa4, 0xe5, 0x57, 0x49, 0x55, 0x45, 0xc4, 0xc8, 0x40, - 0xa6, 0x52, 0x76, 0x20, 0x53, 0x01, 0x81, 0x23, 0x7d, 0x9d, 0x95, 0x4c, 0x5f, 0xe7, 0x3f, 0xa6, - 0x1a, 0xac, 0x3a, 0xfc, 0xa7, 0xf3, 0xb0, 0x4a, 0x05, 0x6f, 0xc2, 0x8e, 0x93, 0xc4, 0xa4, 0x7e, - 0x2e, 0x67, 0x26, 0xf2, 0x95, 0xc0, 0xe7, 0x4a, 0x5d, 0x96, 0x05, 0xcd, 0xc6, 0xd9, 0x22, 0x93, - 0xdd, 0xc8, 0x6f, 0x24, 0x2c, 0x5c, 0x77, 0x08, 0x8e, 0x6c, 0x56, 0xd7, 0x79, 0x49, 0x90, 0x2c, - 0xdc, 0x5f, 0x2b, 0x11, 0xb2, 0x15, 0x1c, 0xd0, 0xcd, 0xc5, 0xeb, 0xec, 0xf9, 0x23, 0xb4, 0x06, - 0x6f, 0x92, 0xb1, 0xb8, 0x4b, 0x97, 0x76, 0xa1, 0x23, 0x20, 0xdd, 0xa2, 0x06, 0x2d, 0xa3, 0x3f, - 0x03, 0xfe, 0x02, 0xc6, 0xc7, 0xfd, 0x65, 0x42, 0xe6, 0x34, 0x19, 0xaa, 0xe3, 0xce, 0x45, 0x2b, - 0x3e, 0xf5, 0x89, 0x54, 0x7c, 0x6a, 0x95, 0x51, 0x1b, 0x21, 0xa9, 0x09, 0xa9, 0x1c, 0x78, 0x0f, - 0x84, 0xf6, 0xff, 0x7a, 0xd1, 0x06, 0x61, 0x4d, 0xcb, 0x37, 0xbc, 0x07, 0x5c, 0x1d, 0x7a, 0x49, - 0x4e, 0x20, 0x0a, 0xf9, 0x90, 0x1f, 0xf4, 0xb0, 0x15, 0x88, 0xe6, 0xc6, 0x4f, 0xfc, 0x67, 0xfd, - 0x9b, 0x09, 0x45, 0xac, 0x8e, 0xd5, 0x1a, 0x74, 0x84, 0xcb, 0x6e, 0xc8, 0x5a, 0x83, 0x4e, 0xba, - 0xd6, 0xa0, 0x53, 0xa0, 0xd6, 0xa0, 0x83, 0x61, 0x6c, 0x93, 0xc2, 0xd3, 0xcd, 0xc2, 0xa8, 0xa6, - 0xaf, 0xbc, 0x35, 0x54, 0xd5, 0xc2, 0x65, 0xce, 0xab, 0xbf, 0x24, 0x75, 0x40, 0x01, 0xcd, 0x6d, - 0x82, 0xac, 0xda, 0xf9, 0x05, 0x6a, 0x33, 0x88, 0xff, 0x31, 0x62, 0x89, 0x1a, 0x8f, 0x62, 0x97, - 0x7a, 0xfb, 0x24, 0xad, 0x11, 0x2c, 0x78, 0xa3, 0x7e, 0x48, 0x8a, 0x18, 0x1b, 0x99, 0xdb, 0xb6, - 0x54, 0x7b, 0x9c, 0x6f, 0x95, 0xc8, 0x39, 0xfa, 0x9d, 0x78, 0x8d, 0x1c, 0x06, 0x78, 0x30, 0x28, - 0x42, 0xc5, 0x36, 0x86, 0x9d, 0x27, 0x7d, 0x8c, 0x78, 0x73, 0x3f, 0x27, 0x8f, 0x1f, 0xb3, 0x48, - 0x72, 0x1b, 0x9d, 0xd9, 0xc2, 0xa5, 0x16, 0x99, 0x92, 0x13, 0x33, 0x43, 0xfb, 0x5e, 0x35, 0x37, - 0xe3, 0xe3, 0x57, 0xa0, 0x74, 0x84, 0x2d, 0xbf, 0xd3, 0xf3, 0x3a, 0x09, 0x86, 0xfe, 0x6b, 0x5d, - 0x9d, 0xd5, 0x22, 0x26, 0xe2, 0x08, 0x6b, 0xd9, 0x27, 0x33, 0xe6, 0x9c, 0x1b, 0x61, 0x4d, 0x21, - 0x39, 0x9b, 0x31, 0x9f, 0x46, 0x58, 0x61, 0x8f, 0x3c, 0x31, 0x70, 0x5e, 0x8c, 0xae, 0x5a, 0x74, - 0xee, 0x1b, 0x02, 0xf3, 0x34, 0x1c, 0x2c, 0x37, 0x6c, 0x07, 0xcb, 0x0b, 0x45, 0x97, 0xce, 0x00, - 0x2f, 0xcb, 0xae, 0xd9, 0x7e, 0xdc, 0x09, 0x9c, 0x6d, 0x32, 0xd1, 0x46, 0x88, 0x3c, 0xd5, 0x79, - 0x79, 0x98, 0xc5, 0xa9, 0x95, 0x0b, 0x06, 0x8f, 0x41, 0xf0, 0x72, 0x7f, 0xbd, 0x44, 0xc6, 0x4e, - 0x63, 0x78, 0xea, 0xf6, 0xf0, 0x0c, 0x52, 0x51, 0xc5, 0x9d, 0xcd, 0x65, 0xf0, 0xee, 0xaf, 0x3f, - 0xa0, 0xd6, 0x6c, 0xcc, 0x54, 0xc9, 0xcc, 0x11, 0xfa, 0xa5, 0x32, 0x99, 0xc6, 0x8a, 0xa4, 0xbf, - 0xe7, 0xb3, 0xe8, 0xff, 0xdb, 0xf1, 0xdb, 0xd2, 0x2d, 0x9c, 0x36, 0xbb, 0xb6, 0x4c, 0x24, 0xd8, - 0xb4, 0x58, 0x78, 0xd7, 0xf4, 0x9a, 0x0b, 0x95, 0x48, 0x15, 0xb6, 0x5c, 0xea, 0x60, 0xd3, 0xa2, - 0xe6, 0x7f, 0xdf, 0x4b, 0x9a, 0xfb, 0xc2, 0x24, 0x53, 0xcd, 0xbd, 0x8b, 0x40, 0xe0, 0x38, 0x67, - 0x85, 0xcc, 0xcb, 0x19, 0x7b, 0x87, 0x0f, 0x9d, 0x50, 0x17, 0xd5, 0x7d, 0x3b, 0xb0, 0xd1, 0x90, - 0xa6, 0x77, 0x3e, 0x43, 0xe6, 0x70, 0x70, 0xc2, 0x5e, 0x22, 0x83, 0x0e, 0xc6, 0x59, 0xd0, 0x01, - 0x0b, 0xf2, 0xdc, 0xb6, 0x30, 0x90, 0xa2, 0x74, 0x7f, 0x94, 0x9c, 0xdd, 0x0a, 0xbd, 0xd6, 0xaa, - 0xd7, 0xf6, 0x3a, 0x4d, 0x3f, 0xda, 0xec, 0xec, 0xe5, 0x9e, 0xcf, 0x9a, 0x67, 0xa8, 0xe5, 0xbc, - 0x33, 0x54, 0x37, 0x22, 0x8e, 0x59, 0x81, 0x08, 0x97, 0x79, 0x97, 0x4c, 0x06, 0xbc, 0x2a, 0x31, - 0x6b, 0x2f, 0xe7, 0x39, 0x87, 0xfa, 0xda, 0x68, 0x84, 0x7f, 0x70, 0x00, 0x48, 0x96, 0x68, 0x49, - 0x64, 0x79, 0x93, 0xf2, 0x8d, 0x35, 0xf7, 0xaf, 0x94, 0xc8, 0xfc, 0xcd, 0xd4, 0xa5, 0x2e, 0x8c, - 0xe5, 0xf2, 0xa3, 0x0c, 0xd7, 0x58, 0x83, 0x41, 0x41, 0x60, 0x1f, 0xba, 0x99, 0xfe, 0xd3, 0x65, - 0x52, 0x65, 0xb1, 0x97, 0x5d, 0xaf, 0x39, 0x4a, 0xa5, 0xf4, 0x86, 0xa5, 0x94, 0xe6, 0x18, 0x89, - 0xaa, 0x41, 0x83, 0x74, 0x52, 0xbc, 0xd6, 0x27, 0x2e, 0x39, 0x15, 0xb2, 0x0f, 0x35, 0x43, 0x7e, - 0x1f, 0x66, 0xce, 0xbe, 0x13, 0x25, 0x2f, 0x40, 0xb1, 0x53, 0x4d, 0x45, 0xfb, 0xe8, 0x9d, 0x6a, - 0xaa, 0xa6, 0x0d, 0x90, 0x4a, 0x75, 0xa3, 0xf5, 0x4c, 0x6c, 0x7f, 0x81, 0x05, 0xd2, 0x79, 0xed, - 0xe0, 0x03, 0x5f, 0x5d, 0x16, 0x7c, 0x5a, 0xc4, 0xc5, 0x09, 0xe8, 0x87, 0x4c, 0xc0, 0x88, 0x5f, - 0xfc, 0x0e, 0xa8, 0x2e, 0xe2, 0x5e, 0xa3, 0x33, 0xd5, 0x1e, 0x3b, 0xe7, 0x75, 0x32, 0xde, 0xdd, - 0xf7, 0x62, 0x3f, 0x15, 0xa1, 0x31, 0x5e, 0x47, 0x20, 0xe5, 0x36, 0xa7, 0x0a, 0x30, 0x08, 0x70, - 0x6a, 0xf7, 0x4f, 0xa8, 0xac, 0xc7, 0x98, 0x86, 0x11, 0xce, 0xb1, 0x6b, 0xd6, 0x1c, 0x7b, 0x3e, - 0xff, 0xe6, 0xf8, 0xc0, 0xe9, 0x55, 0x4f, 0x4d, 0xaf, 0x17, 0x0a, 0xf0, 0x3a, 0x7e, 0x66, 0x1d, - 0x90, 0x69, 0x76, 0x33, 0x5d, 0x84, 0xa6, 0xbc, 0x6a, 0x19, 0x50, 0x4f, 0xa7, 0x0c, 0xa8, 0x79, - 0x83, 0xd4, 0x30, 0xa3, 0x5e, 0x24, 0x93, 0x22, 0x14, 0x22, 0x1d, 0x3d, 0x28, 0x68, 0x41, 0xe2, - 0xdd, 0x5f, 0xad, 0x10, 0xeb, 0x26, 0xbc, 0xf3, 0x9d, 0x12, 0xa1, 0x4a, 0x0b, 0xbb, 0xba, 0xd0, - 0xaa, 0xf5, 0xd0, 0x5f, 0x86, 0x2e, 0xad, 0x56, 0xaf, 0x4d, 0xff, 0xdb, 0xdc, 0xeb, 0x84, 0x0a, - 0x8c, 0xbe, 0x9d, 0x1e, 0xf3, 0xae, 0x16, 0xbe, 0x80, 0xaf, 0xce, 0x42, 0xaf, 0xd0, 0xb6, 0x2c, - 0xc3, 0x50, 0xb5, 0xc0, 0x90, 0xad, 0x72, 0x7e, 0xaf, 0x44, 0x2e, 0xf1, 0xbb, 0xe0, 0xc5, 0x7b, - 0x52, 0xc8, 0xf0, 0xac, 0x4b, 0xa6, 0x9a, 0x1d, 0x06, 0x2b, 0xae, 0xbe, 0x21, 0x06, 0xf9, 0x52, - 0x7d, 0xb8, 0x5a, 0x61, 0xd8, 0x66, 0xba, 0xff, 0xaa, 0x42, 0xd7, 0x2f, 0x1d, 0x4f, 0x7d, 0x0f, - 0xf4, 0x75, 0x6b, 0x9a, 0x7c, 0x32, 0x35, 0x4d, 0xce, 0x58, 0xc4, 0x0f, 0xe7, 0x0a, 0x68, 0x42, - 0xce, 0xe0, 0x79, 0xe3, 0x35, 0xdf, 0x8b, 0x92, 0x1d, 0xdf, 0x63, 0x07, 0x8f, 0x62, 0x11, 0x0c, - 0x75, 0x98, 0xa9, 0xe2, 0x6b, 0xb6, 0xd2, 0xdc, 0xa0, 0xbf, 0x02, 0xe7, 0x3e, 0x71, 0xd8, 0x29, - 0x67, 0xe4, 0x51, 0xa5, 0x8b, 0x75, 0x26, 0x10, 0x0e, 0xd9, 0x21, 0xab, 0x5d, 0x12, 0xd5, 0x3a, - 0x5b, 0x7d, 0xec, 0x20, 0xa3, 0x0a, 0xe3, 0x28, 0x7b, 0xbc, 0xe8, 0x51, 0xf6, 0x44, 0x4e, 0xe0, - 0xee, 0x4f, 0x95, 0xc8, 0x59, 0xfc, 0x30, 0x76, 0x90, 0x67, 0xec, 0x84, 0x64, 0x1e, 0x7b, 0xd0, - 0xf6, 0x13, 0x09, 0x13, 0x2b, 0x2c, 0x47, 0x97, 0xb6, 0xf9, 0x68, 0x8d, 0xed, 0xba, 0xcd, 0x0c, - 0xd2, 0xdc, 0xdd, 0x5f, 0x2d, 0x11, 0x16, 0x45, 0x76, 0x1a, 0xfb, 0xd8, 0x55, 0x7b, 0x1f, 0x73, - 0xf3, 0x85, 0xc6, 0x80, 0x2d, 0xec, 0x35, 0xb2, 0x80, 0xd8, 0x7a, 0x14, 0x3e, 0x38, 0x92, 0xca, - 0x75, 0xbe, 0x6f, 0xf6, 0x2f, 0x97, 0xb8, 0xb8, 0x53, 0x5a, 0xf1, 0x7d, 0x0c, 0x14, 0xd3, 0xbf, - 0x71, 0x21, 0x4b, 0x25, 0x70, 0xb9, 0xb8, 0x40, 0x63, 0xeb, 0xdf, 0x88, 0x14, 0x4b, 0x31, 0x84, - 0xfe, 0x3a, 0xdc, 0xbf, 0x57, 0x22, 0x8f, 0x9b, 0x84, 0xc6, 0x75, 0xb1, 0x3c, 0x87, 0x68, 0x8d, - 0x4c, 0x85, 0x5d, 0xcc, 0xfc, 0xa2, 0x2c, 0x80, 0x17, 0xe4, 0x88, 0xdf, 0x12, 0x70, 0xba, 0x72, - 0xcf, 0x99, 0xdc, 0x25, 0x1c, 0x54, 0x49, 0xcc, 0x28, 0xc1, 0x2c, 0xd1, 0x58, 0x5c, 0xf4, 0x63, - 0x19, 0x25, 0xd8, 0x31, 0x00, 0x5d, 0xe4, 0x1c, 0xe3, 0xfe, 0xd5, 0x12, 0x1f, 0x65, 0xb3, 0xe9, - 0xce, 0xd7, 0xc8, 0xc2, 0x01, 0x1a, 0x0b, 0xeb, 0x0f, 0xba, 0xb8, 0x85, 0xb0, 0x63, 0xcc, 0x52, - 0x11, 0xc1, 0x39, 0xa0, 0xbb, 0xab, 0x8b, 0xa2, 0xf5, 0x0b, 0x37, 0x52, 0x6c, 0xa1, 0xaf, 0x22, - 0xf7, 0xf7, 0xc5, 0x5c, 0x65, 0x5a, 0x0b, 0x5d, 0x6c, 0xdd, 0xb0, 0xb5, 0xb6, 0x59, 0x03, 0x31, - 0x56, 0x6a, 0xb1, 0xd5, 0x39, 0x18, 0x24, 0x1e, 0xcf, 0xe5, 0x7c, 0x6a, 0xaa, 0x45, 0x54, 0x61, - 0xd9, 0xac, 0xa5, 0xd3, 0x97, 0xac, 0x2b, 0x0c, 0x18, 0x54, 0x58, 0xa6, 0x1b, 0x85, 0x87, 0x41, - 0x8b, 0x85, 0x6d, 0x57, 0xec, 0x32, 0x75, 0x85, 0x01, 0x83, 0x0a, 0x4d, 0xb4, 0x5e, 0x27, 0xe6, - 0x02, 0xdc, 0xdb, 0x11, 0x89, 0x10, 0xa6, 0xb4, 0x89, 0x76, 0xdb, 0x44, 0x82, 0x4d, 0xeb, 0xfe, - 0x4e, 0x95, 0x10, 0xad, 0x22, 0xa0, 0x87, 0x70, 0xaa, 0xe9, 0x51, 0x05, 0x89, 0x67, 0xb9, 0xa9, - 0xe4, 0xdf, 0x6f, 0xd1, 0x85, 0x97, 0xd7, 0x44, 0x41, 0xee, 0xdb, 0x7a, 0x45, 0x4e, 0x10, 0x09, - 0xce, 0xf5, 0x67, 0xa9, 0x9a, 0x9d, 0xaf, 0x97, 0xc8, 0xb4, 0xd7, 0xc6, 0x3b, 0xb0, 0x09, 0xeb, - 0x51, 0xb9, 0x88, 0xb3, 0xd2, 0x68, 0xc9, 0x8a, 0x2e, 0xcb, 0x1b, 0xf3, 0xaa, 0x3c, 0xd5, 0x32, - 0x30, 0xb9, 0xed, 0x31, 0x9b, 0xe0, 0xbc, 0x22, 0x55, 0x4b, 0xfe, 0x51, 0x96, 0xd2, 0xaa, 0x65, - 0x95, 0x89, 0x06, 0x43, 0xab, 0xc4, 0x9b, 0x22, 0x46, 0x0c, 0xfb, 0x58, 0x91, 0x3b, 0xa6, 0xd6, - 0xa6, 0x99, 0x77, 0xdd, 0x1f, 0xcf, 0xa2, 0x74, 0x44, 0xeb, 0x78, 0x91, 0x0b, 0x9c, 0x86, 0xee, - 0x96, 0x13, 0xcd, 0x9a, 0x90, 0xf9, 0x96, 0xbd, 0x49, 0x88, 0x10, 0xa5, 0xcb, 0xf9, 0x35, 0xa4, - 0x76, 0x17, 0xbd, 0x2d, 0xa4, 0x10, 0x90, 0xae, 0x82, 0xf6, 0x88, 0x45, 0x14, 0x6f, 0x76, 0x76, - 0x43, 0x11, 0xa5, 0xf4, 0x72, 0x81, 0x6f, 0x7e, 0x14, 0x53, 0xf1, 0x8c, 0x65, 0xf4, 0x36, 0x70, - 0x53, 0x70, 0x01, 0xc5, 0x0f, 0xdd, 0x44, 0xec, 0x76, 0x04, 0xde, 0xa9, 0xad, 0x0c, 0x71, 0x51, - 0x84, 0xdd, 0xad, 0xd0, 0x9b, 0x2f, 0xfb, 0x49, 0xc5, 0x15, 0xe7, 0x45, 0xf5, 0x7a, 0x71, 0xe5, - 0x35, 0xde, 0xec, 0xdc, 0x8e, 0x7d, 0x76, 0x8f, 0xb6, 0xba, 0xfa, 0xac, 0xbe, 0x18, 0xcb, 0xe1, - 0x99, 0x59, 0x8e, 0xac, 0x92, 0xb8, 0x07, 0x8b, 0xdf, 0x32, 0x79, 0xd2, 0x22, 0x29, 0xd2, 0x50, - 0x3b, 0xd5, 0x92, 0x1e, 0xec, 0x3b, 0x36, 0x33, 0x48, 0x73, 0x5f, 0x0a, 0xc8, 0xac, 0xb5, 0x62, - 0x47, 0xe8, 0xec, 0x6c, 0x93, 0x85, 0xf4, 0x92, 0x1c, 0xa1, 0x8f, 0xf3, 0x8f, 0xc7, 0xc8, 0x9c, - 0x3d, 0x31, 0x30, 0x82, 0xe1, 0x80, 0xa5, 0x36, 0xd2, 0x09, 0x55, 0xd4, 0xfc, 0xbf, 0x21, 0x11, - 0xa0, 0x69, 0x58, 0x6a, 0x19, 0x56, 0xfc, 0xf6, 0xed, 0x7e, 0xe1, 0xdd, 0x50, 0x18, 0x30, 0xa8, - 0x50, 0x61, 0xdb, 0x09, 0xc3, 0x44, 0x09, 0x6e, 0x35, 0x67, 0x56, 0x19, 0x14, 0x04, 0x16, 0x05, - 0xf6, 0x3d, 0xec, 0x50, 0xdb, 0xf6, 0x77, 0x29, 0x81, 0x7d, 0xdd, 0x44, 0x82, 0x4d, 0x8b, 0x1b, - 0x50, 0x18, 0xb3, 0x49, 0x28, 0xd4, 0x42, 0x1d, 0x8b, 0xd3, 0xe0, 0xb7, 0x85, 0x24, 0xde, 0xf9, - 0x12, 0x79, 0x5c, 0x5d, 0xee, 0x01, 0xee, 0x3f, 0x94, 0x35, 0x4e, 0x58, 0xb6, 0xdd, 0xe3, 0x6b, - 0xd9, 0x64, 0x30, 0xa8, 0x3c, 0x1e, 0xf1, 0x0a, 0x95, 0x4e, 0x72, 0x9c, 0xb4, 0x8f, 0x78, 0xaf, - 0x5b, 0x58, 0x48, 0x51, 0x53, 0x7d, 0x62, 0x01, 0x21, 0x4c, 0x95, 0x92, 0x1c, 0xf8, 0x25, 0x25, - 0xb5, 0x33, 0x5f, 0x4f, 0xe1, 0xa1, 0xaf, 0x04, 0xba, 0x0e, 0xb9, 0x6e, 0x81, 0x16, 0x0c, 0xfb, - 0x0e, 0x22, 0xaa, 0x50, 0x2d, 0x82, 0x5b, 0x36, 0x1a, 0xd2, 0xf4, 0x78, 0x46, 0xee, 0x45, 0xf4, - 0xa3, 0x27, 0x54, 0x45, 0xe8, 0x45, 0xfc, 0x86, 0xba, 0x71, 0x46, 0xbe, 0x62, 0xe0, 0xc0, 0xa2, - 0x74, 0x3f, 0x20, 0x67, 0x33, 0x82, 0x97, 0x71, 0xe2, 0xd0, 0x09, 0x2a, 0xfb, 0x94, 0x8a, 0xc6, - 0xc1, 0x1b, 0x2b, 0xa2, 0x37, 0x06, 0x15, 0xce, 0x4e, 0xe6, 0x38, 0x35, 0xf2, 0x9c, 0xa9, 0xd9, - 0xb9, 0x21, 0x11, 0xa0, 0x69, 0xdc, 0xff, 0x46, 0x77, 0x6d, 0xed, 0x66, 0x28, 0x10, 0x83, 0x41, - 0xbb, 0x29, 0x53, 0xf7, 0x19, 0x29, 0xb3, 0x54, 0x37, 0xaf, 0x1a, 0x38, 0xb0, 0x28, 0xb1, 0x6d, - 0x1d, 0xe9, 0x34, 0x49, 0xc7, 0xfe, 0x28, 0x6f, 0x0a, 0x68, 0x1a, 0xf4, 0xf1, 0xc5, 0x7e, 0x7b, - 0x77, 0x2b, 0xe8, 0xdc, 0x13, 0x13, 0x5b, 0x49, 0xe5, 0x86, 0x80, 0x83, 0xa2, 0x70, 0xde, 0x26, - 0x95, 0x5e, 0xd0, 0x12, 0x53, 0x79, 0x59, 0xea, 0x9d, 0x74, 0x35, 0x51, 0x89, 0xf9, 0x74, 0x76, - 0x3e, 0x42, 0x34, 0x23, 0xe3, 0x65, 0x5c, 0x7c, 0x58, 0x34, 0xcb, 0x7f, 0x3c, 0x31, 0xa4, 0xff, - 0x98, 0x7e, 0x33, 0xd1, 0x67, 0x39, 0x93, 0x2b, 0xfa, 0x9b, 0x5d, 0x55, 0x18, 0x30, 0xa8, 0xd0, - 0x18, 0x6d, 0x52, 0x03, 0x4c, 0x5a, 0x6b, 0x3c, 0xb2, 0x76, 0xea, 0x23, 0x18, 0xa3, 0x6b, 0x69, - 0x6e, 0xd0, 0x5f, 0x81, 0xd3, 0x25, 0x67, 0x5a, 0xb8, 0x8e, 0xac, 0x5a, 0xab, 0x27, 0x88, 0xe7, - 0xc5, 0x1a, 0x6b, 0x69, 0x4e, 0xd0, 0xcf, 0xdc, 0xf9, 0x0a, 0x59, 0x92, 0xc0, 0xfe, 0xeb, 0x7b, - 0x6c, 0xb9, 0x54, 0x56, 0x9f, 0xa2, 0xdc, 0x96, 0x6a, 0x03, 0xa9, 0xe0, 0x18, 0x0e, 0xce, 0xbb, - 0x64, 0x82, 0x9d, 0x38, 0xc4, 0x8b, 0xd3, 0x6c, 0xb7, 0x7b, 0xad, 0xa8, 0xc3, 0x6d, 0x99, 0x9d, - 0x5b, 0x88, 0x80, 0x44, 0x7d, 0x8a, 0xc3, 0x80, 0x20, 0x78, 0xd2, 0xf1, 0x9a, 0xf6, 0x3a, 0x9d, - 0x30, 0xf1, 0xb8, 0x12, 0x36, 0x53, 0x44, 0x8f, 0x34, 0xaa, 0x58, 0xd1, 0x65, 0x79, 0x3d, 0x2a, - 0x3a, 0xca, 0xc0, 0x80, 0x59, 0x05, 0x6e, 0xe3, 0xe1, 0x7d, 0x14, 0x98, 0xd2, 0xe9, 0x1e, 0x2f, - 0xce, 0x16, 0xd9, 0xc6, 0x6f, 0x59, 0x85, 0x0c, 0x09, 0x66, 0x33, 0x83, 0x34, 0x77, 0x0c, 0xb7, - 0x35, 0xfc, 0xa8, 0x73, 0x3a, 0xdc, 0x56, 0xfb, 0x51, 0x4d, 0xb7, 0x29, 0xbb, 0x1a, 0xca, 0x43, - 0xf3, 0x98, 0x24, 0x98, 0x4f, 0x5d, 0x0d, 0xd5, 0x28, 0x30, 0xe9, 0x96, 0xde, 0x22, 0xd3, 0xc6, - 0x80, 0x0f, 0x13, 0xd7, 0xb9, 0xf4, 0x79, 0xba, 0xfb, 0xa7, 0x06, 0x72, 0xa8, 0xb8, 0xd0, 0xff, - 0x5e, 0x26, 0xf3, 0x19, 0x27, 0x19, 0xf7, 0x02, 0x16, 0xf9, 0x6c, 0x89, 0xbc, 0xeb, 0x14, 0x06, - 0x0c, 0x63, 0x0b, 0xae, 0x72, 0x01, 0xc1, 0x25, 0xa5, 0x68, 0x65, 0xa0, 0x14, 0x15, 0xc2, 0x6a, - 0xec, 0xe4, 0xc2, 0xca, 0xde, 0x1d, 0xc6, 0x0b, 0xed, 0x0e, 0x0f, 0x41, 0xc0, 0x59, 0x1b, 0xcc, - 0x64, 0x81, 0x0d, 0xe6, 0xc3, 0x12, 0x99, 0xb3, 0x67, 0x5e, 0x81, 0x11, 0x7f, 0x54, 0x07, 0x70, - 0x99, 0x19, 0x62, 0x49, 0x14, 0xb6, 0xdb, 0x7e, 0x24, 0x22, 0xc5, 0xe6, 0x84, 0x5d, 0x25, 0xa0, - 0x60, 0x50, 0xb8, 0xbf, 0x50, 0x26, 0x0b, 0x3a, 0x6c, 0x58, 0xa4, 0x30, 0x1d, 0xdd, 0xd1, 0xc0, - 0xb6, 0x75, 0x34, 0x90, 0x97, 0x99, 0x34, 0xd5, 0xae, 0x81, 0xc7, 0x04, 0xef, 0xa6, 0x8e, 0x09, - 0x5e, 0x1b, 0x92, 0xef, 0xf1, 0x47, 0x06, 0xff, 0xa4, 0x4c, 0x1e, 0x4b, 0x17, 0x59, 0x6b, 0x7b, - 0xc1, 0xc1, 0x08, 0xc7, 0xe9, 0x4b, 0xd6, 0x38, 0xbd, 0x31, 0x5c, 0x7f, 0x58, 0xe3, 0x06, 0x0e, - 0x96, 0x97, 0x1a, 0xac, 0xb7, 0x4e, 0xc2, 0xfc, 0xf8, 0x11, 0xfb, 0x8f, 0x25, 0xf2, 0x44, 0x66, - 0xb9, 0xd3, 0x70, 0x81, 0x7e, 0xd1, 0x76, 0x81, 0xbe, 0x7a, 0x82, 0xee, 0x0d, 0xf0, 0x89, 0xfe, - 0x97, 0xf2, 0x80, 0x6e, 0x31, 0x6f, 0xd9, 0x2d, 0xba, 0xfd, 0x36, 0xe9, 0x26, 0x15, 0x63, 0x6c, - 0xa4, 0x3c, 0xe4, 0xbb, 0xc8, 0xf6, 0x4f, 0x0d, 0xa6, 0x6b, 0x7f, 0x29, 0xcd, 0x42, 0xa3, 0xc1, - 0xe4, 0x60, 0xe7, 0xc6, 0x2a, 0x8f, 0x28, 0x37, 0x16, 0x95, 0x31, 0x87, 0xca, 0x4a, 0x4f, 0x3b, - 0xe1, 0x0c, 0xfb, 0xdd, 0xa0, 0xa2, 0x6a, 0x12, 0xea, 0xb4, 0x3c, 0x44, 0x62, 0x2c, 0x77, 0xc1, - 0x59, 0x1f, 0xd0, 0x8c, 0xb7, 0xe0, 0x77, 0x1f, 0x95, 0xc7, 0x52, 0xf1, 0x74, 0xbf, 0x59, 0x21, - 0x1f, 0x3f, 0x66, 0xda, 0xd1, 0x4d, 0xc2, 0x3a, 0xf9, 0x7c, 0x29, 0xed, 0x9e, 0x5a, 0xca, 0x2c, - 0x6c, 0xf9, 0xab, 0x52, 0x1f, 0xab, 0xfc, 0x91, 0x3f, 0xd6, 0xcf, 0x9b, 0xce, 0x44, 0x1e, 0xea, - 0x78, 0xf5, 0xc4, 0x0b, 0xeb, 0xe1, 0x79, 0x17, 0x4f, 0xd1, 0xf1, 0x81, 0xe9, 0xa8, 0x3f, 0x99, - 0xd9, 0x29, 0x2b, 0xc0, 0x02, 0xaf, 0x8a, 0x21, 0xd0, 0xb8, 0x8b, 0xa2, 0xaf, 0x8a, 0x49, 0x04, - 0x68, 0x1a, 0x2b, 0x8e, 0xa2, 0x9c, 0x1b, 0x47, 0xf1, 0x6f, 0x4b, 0xe4, 0x5c, 0xba, 0x11, 0xa7, - 0x21, 0x75, 0x1a, 0xb6, 0xd4, 0x59, 0x1e, 0xee, 0xdb, 0x0f, 0x10, 0x38, 0x3f, 0x37, 0x43, 0xce, - 0xf7, 0x6d, 0x56, 0x7c, 0x18, 0x7f, 0xbc, 0x44, 0xce, 0xec, 0x31, 0xfb, 0xc2, 0xb8, 0xf1, 0x23, - 0x3a, 0x96, 0x73, 0xdd, 0xe9, 0xd8, 0x8b, 0x42, 0xdc, 0x5a, 0xea, 0x23, 0x81, 0xfe, 0xca, 0x9c, - 0x9f, 0xa1, 0x43, 0xed, 0xdd, 0x8f, 0xfb, 0xf2, 0xe1, 0x8b, 0x79, 0xf4, 0xf9, 0x1c, 0x57, 0x5e, - 0x4e, 0x26, 0xfd, 0xd5, 0x45, 0x8c, 0x15, 0xcd, 0xa2, 0x82, 0xcc, 0x5a, 0xa9, 0x12, 0xc0, 0xb3, - 0x84, 0xa1, 0xda, 0x57, 0xe8, 0x0e, 0x5a, 0xd6, 0xfd, 0x03, 0x2e, 0x93, 0x24, 0x06, 0x14, 0x47, - 0xe7, 0x3d, 0x52, 0xdd, 0x93, 0x97, 0x7c, 0x84, 0xd0, 0xcb, 0xd9, 0x59, 0x32, 0xef, 0x04, 0xf1, - 0x28, 0x77, 0x85, 0x02, 0xcd, 0xd4, 0xb9, 0x46, 0x2a, 0x9d, 0xdd, 0x58, 0xdc, 0xbb, 0xcd, 0x8b, - 0xa3, 0xb1, 0xa3, 0x96, 0xf8, 0x4d, 0x42, 0x0a, 0x04, 0x64, 0x81, 0x9c, 0xa2, 0x9d, 0x96, 0xf0, - 0x61, 0xe7, 0x70, 0x82, 0xd5, 0x5a, 0x3f, 0x27, 0x0a, 0x04, 0x64, 0xc1, 0x02, 0xf6, 0xf0, 0xbe, - 0x82, 0x70, 0x50, 0xe7, 0x5c, 0xca, 0xee, 0xbb, 0x95, 0xc1, 0x53, 0xca, 0x31, 0x30, 0x70, 0x46, - 0xe8, 0x99, 0x6e, 0xb2, 0x14, 0xd0, 0xc2, 0x7f, 0x90, 0x97, 0x18, 0xb8, 0x2f, 0x5d, 0x34, 0x3f, - 0x48, 0xe3, 0x70, 0x10, 0xbc, 0x18, 0x57, 0xbf, 0xbb, 0xbf, 0x1b, 0x0b, 0xff, 0x40, 0x1e, 0xd7, - 0xbe, 0x64, 0xde, 0x82, 0x2b, 0x83, 0x83, 0xe0, 0xe5, 0xd4, 0x48, 0x79, 0xb7, 0x29, 0xf2, 0x38, - 0xe6, 0x58, 0xb4, 0xf6, 0xb5, 0xd0, 0xd5, 0x09, 0x8c, 0xa0, 0xdb, 0x58, 0x03, 0x5a, 0x9e, 0xea, - 0x23, 0x93, 0xbb, 0xfc, 0xa6, 0x9f, 0xc8, 0xd9, 0x78, 0x39, 0xef, 0x36, 0x62, 0xdf, 0xb5, 0x40, - 0x7e, 0x93, 0x41, 0x20, 0x40, 0xb2, 0xa3, 0xfb, 0x30, 0xd9, 0x55, 0x57, 0x17, 0x45, 0xd2, 0xc6, - 0xe5, 0xe1, 0xae, 0x3a, 0x0a, 0xeb, 0x59, 0x41, 0xc1, 0xe0, 0x88, 0x73, 0xde, 0x93, 0x59, 0xec, - 0x59, 0xc2, 0xc6, 0xdc, 0x39, 0x9f, 0x99, 0xf4, 0x9e, 0xcf, 0x79, 0x85, 0x02, 0xcd, 0xd4, 0xe9, - 0x91, 0xd9, 0xc3, 0xb8, 0xbb, 0xef, 0xcb, 0xa5, 0xcf, 0xb2, 0x38, 0x4e, 0x5f, 0xf9, 0x5c, 0x4e, - 0x6a, 0x4e, 0x51, 0x24, 0x88, 0x92, 0x9e, 0xd7, 0xee, 0x93, 0x60, 0x2c, 0x1d, 0xd2, 0x1d, 0x93, - 0x2d, 0xd8, 0xb5, 0xe0, 0x27, 0x79, 0xbf, 0x17, 0xee, 0x1c, 0x25, 0xbe, 0xc8, 0xf2, 0x98, 0xf3, - 0x49, 0xde, 0xe1, 0xc4, 0xfd, 0x9f, 0x44, 0x20, 0x40, 0xb2, 0x53, 0x43, 0xc6, 0xa4, 0xf1, 0x42, - 0xe1, 0x21, 0xeb, 0xeb, 0x83, 0x1e, 0x32, 0x26, 0x7d, 0x35, 0x53, 0xf7, 0xf7, 0xc7, 0xfb, 0x37, - 0x38, 0xa6, 0x7f, 0xfe, 0x6c, 0xff, 0x71, 0xe6, 0xdb, 0xc3, 0xdb, 0x57, 0x0f, 0xf1, 0x60, 0x93, - 0xee, 0x0f, 0xe7, 0xbb, 0x99, 0xbb, 0x97, 0xd8, 0x21, 0x86, 0x35, 0xd3, 0xf8, 0xd0, 0xa8, 0x9c, - 0xa1, 0xd9, 0x78, 0x18, 0x50, 0x67, 0x5a, 0xe5, 0xab, 0x7c, 0x64, 0x95, 0xef, 0x2e, 0x1d, 0x6f, - 0xd4, 0x52, 0x74, 0xd2, 0x8a, 0x21, 0xf3, 0x3c, 0xb0, 0xbd, 0x66, 0x4d, 0xb0, 0x00, 0xc5, 0x0c, - 0x07, 0xee, 0xc9, 0x74, 0x27, 0xc0, 0x67, 0x68, 0x91, 0xec, 0x94, 0xfb, 0x02, 0x36, 0xc4, 0x48, - 0x3c, 0x59, 0x3f, 0x8e, 0xf8, 0xc3, 0x3c, 0x02, 0x38, 0xbe, 0xb2, 0xd3, 0x54, 0x21, 0xff, 0x61, - 0x29, 0x43, 0xe1, 0xe1, 0x4a, 0xff, 0xe7, 0x6c, 0xa5, 0xff, 0xf9, 0xb4, 0xd2, 0xdf, 0x67, 0xa2, - 0x5b, 0xfa, 0x7e, 0xf1, 0x84, 0x7f, 0x45, 0xb3, 0x6a, 0xb8, 0xff, 0xab, 0x44, 0x2a, 0xf5, 0xb0, - 0x35, 0x42, 0x27, 0xc0, 0x55, 0xcb, 0x09, 0xf0, 0x5c, 0xee, 0xf3, 0x35, 0x03, 0x4d, 0xfe, 0x5b, - 0x29, 0x93, 0xff, 0xd3, 0xf9, 0xac, 0x8e, 0x37, 0xf0, 0xbf, 0x55, 0x21, 0xe6, 0x03, 0x3c, 0xce, - 0x6f, 0x9f, 0x24, 0xaa, 0xb1, 0x52, 0xec, 0x4d, 0x1e, 0x51, 0x07, 0x8b, 0x01, 0x92, 0x57, 0x9e, - 0xfe, 0xd4, 0x06, 0x37, 0xde, 0xf5, 0x83, 0xbd, 0xfd, 0xc4, 0x6f, 0xa5, 0x3b, 0x76, 0x7a, 0xc1, - 0x8d, 0xff, 0xb5, 0x44, 0xe6, 0x53, 0xb5, 0x3b, 0x07, 0x59, 0xb7, 0x26, 0x4e, 0x6a, 0xd5, 0x9f, - 0xc9, 0xbd, 0x67, 0xb1, 0x4c, 0x88, 0xf2, 0x44, 0x4b, 0xdb, 0x9b, 0xe9, 0x21, 0xca, 0x55, 0x1d, - 0x83, 0x41, 0x81, 0x5e, 0xfc, 0x24, 0xec, 0x86, 0xed, 0x70, 0xef, 0xe8, 0xba, 0x2f, 0x2f, 0xe5, - 0x2b, 0x2f, 0xfe, 0xb6, 0x46, 0x81, 0x49, 0x87, 0x09, 0x9b, 0xd2, 0xef, 0x37, 0xfd, 0xff, 0x89, - 0xfa, 0xa7, 0x67, 0xa2, 0xfe, 0x6e, 0x89, 0x2c, 0x60, 0xed, 0x2c, 0x84, 0x43, 0x86, 0x20, 0xaa, - 0xcc, 0xd9, 0xa5, 0x63, 0x32, 0x67, 0xe3, 0x1d, 0x8e, 0xa4, 0x15, 0xf6, 0x64, 0x36, 0x17, 0x43, - 0x8a, 0x21, 0x14, 0x04, 0x56, 0xd0, 0xd1, 0x36, 0x89, 0xfb, 0x19, 0x26, 0x1d, 0x85, 0x82, 0xc0, - 0xca, 0xc4, 0xda, 0x63, 0xd9, 0x89, 0xb5, 0x79, 0xf2, 0x1b, 0x11, 0x3a, 0x20, 0x76, 0x66, 0x23, - 0xf9, 0x8d, 0x8c, 0x29, 0xd0, 0x34, 0xee, 0x3f, 0xab, 0x90, 0x19, 0x8c, 0xa0, 0x53, 0xe1, 0xc5, - 0xaf, 0x59, 0xe1, 0xc5, 0xcf, 0xa4, 0xc2, 0x8b, 0x17, 0x4c, 0xda, 0x87, 0x13, 0x5d, 0x2c, 0xd2, - 0x24, 0xb1, 0xd4, 0xef, 0x27, 0x8d, 0x2c, 0xb6, 0xd2, 0x24, 0x29, 0x4e, 0x60, 0x33, 0xfe, 0x33, - 0x15, 0x51, 0xfc, 0x27, 0x25, 0x32, 0x47, 0xbf, 0x05, 0x4e, 0xd1, 0x3f, 0x4b, 0xf3, 0xd1, 0x4c, - 0xae, 0x34, 0x71, 0x4c, 0x72, 0xa5, 0x5f, 0x29, 0x11, 0x0c, 0xfc, 0x3c, 0x0d, 0x6f, 0xda, 0x86, - 0xed, 0x4d, 0xfb, 0x64, 0xae, 0xf0, 0x1d, 0xe0, 0x40, 0xfb, 0xf5, 0x0a, 0x99, 0xc5, 0x26, 0x87, - 0x7b, 0xf2, 0x83, 0x59, 0x83, 0x53, 0x2a, 0x30, 0x38, 0x98, 0xa0, 0x21, 0x6c, 0xb7, 0xc3, 0xfb, - 0xe9, 0x8f, 0xb7, 0xc1, 0xa0, 0x20, 0xb0, 0xe8, 0xa6, 0xec, 0x62, 0x12, 0x99, 0xb0, 0x17, 0xa7, - 0xaf, 0x7b, 0xd5, 0x05, 0x1c, 0x14, 0x05, 0x5d, 0xf1, 0x33, 0x71, 0x40, 0x6d, 0x00, 0x19, 0x5b, - 0x30, 0xc6, 0x62, 0x0b, 0x78, 0x0e, 0x3b, 0x03, 0x0e, 0x16, 0x15, 0x55, 0x35, 0xab, 0xec, 0x37, - 0x5b, 0x43, 0x27, 0xc8, 0xf6, 0xcd, 0x13, 0x2c, 0x49, 0x0e, 0xa0, 0x99, 0xe1, 0x31, 0x40, 0x22, - 0xc3, 0x20, 0x62, 0x71, 0x6c, 0xa8, 0x94, 0x53, 0x15, 0x20, 0x81, 0xb9, 0xac, 0xd4, 0xff, 0xce, - 0x4b, 0x98, 0xba, 0x35, 0x68, 0x6f, 0xe1, 0x2b, 0x12, 0x22, 0x90, 0x44, 0xe4, 0x62, 0x15, 0x40, - 0xd0, 0x78, 0xdc, 0xf3, 0xd9, 0x65, 0x53, 0xfe, 0x96, 0xc0, 0x14, 0xa3, 0x66, 0x7b, 0xfe, 0x96, - 0x82, 0x82, 0x41, 0xe1, 0xbe, 0xca, 0xf6, 0xee, 0x21, 0xc3, 0xcf, 0xbf, 0x57, 0x26, 0x4e, 0x9d, - 0x85, 0x5b, 0x58, 0xcf, 0x2d, 0xec, 0x93, 0xb9, 0x98, 0x1a, 0xab, 0x9d, 0xde, 0x03, 0xc1, 0xaa, - 0x58, 0xc0, 0x7f, 0x63, 0xdd, 0x2c, 0xc3, 0x2f, 0x58, 0xda, 0x30, 0x48, 0xf1, 0xc5, 0x21, 0x89, - 0x7a, 0x9d, 0x95, 0x18, 0xdf, 0x6d, 0x13, 0x0f, 0x26, 0xb0, 0x21, 0x01, 0x09, 0x04, 0x8d, 0xc7, - 0x39, 0xc0, 0x7e, 0xdc, 0xa4, 0xd2, 0x28, 0x0c, 0x13, 0x39, 0x6b, 0x58, 0xf6, 0x6c, 0x03, 0x0e, - 0x16, 0x15, 0x26, 0x9e, 0x8e, 0x7b, 0xdd, 0x6e, 0x9b, 0x9d, 0xee, 0x78, 0xed, 0xab, 0x51, 0xd8, - 0xeb, 0xf2, 0x88, 0x5b, 0x91, 0x78, 0xba, 0xd1, 0x87, 0x85, 0x8c, 0x12, 0xb8, 0xe8, 0x77, 0x63, - 0xf6, 0xbf, 0xb8, 0x40, 0xca, 0x7d, 0x4c, 0x0d, 0x06, 0x02, 0x89, 0x73, 0x7b, 0x6c, 0xab, 0x62, - 0x89, 0xec, 0x31, 0x12, 0xcc, 0xf1, 0xc9, 0x6c, 0x97, 0x6d, 0x47, 0xf2, 0x88, 0xb9, 0xd0, 0x50, - 0xa6, 0x02, 0x3e, 0x78, 0xc2, 0x6a, 0x93, 0x0d, 0xd8, 0x5c, 0xdd, 0x7f, 0x4f, 0x98, 0xac, 0x11, - 0x07, 0x6b, 0x93, 0x22, 0x9c, 0x53, 0xe8, 0x62, 0xcf, 0x16, 0x79, 0xb9, 0x45, 0xcb, 0x71, 0x11, - 0x1c, 0x0a, 0x92, 0x8b, 0xf3, 0x65, 0x7e, 0x46, 0xce, 0xd6, 0x77, 0xf1, 0xe7, 0x94, 0x38, 0xbd, - 0x15, 0xa8, 0x2c, 0x58, 0x80, 0xc1, 0xce, 0xd9, 0x22, 0xb3, 0x22, 0xdb, 0xb9, 0xb0, 0xd5, 0x2b, - 0x96, 0xbd, 0x3a, 0x0b, 0x26, 0xf2, 0xc3, 0x34, 0x00, 0xec, 0xc2, 0xce, 0x1e, 0x79, 0xd2, 0x78, - 0x02, 0x25, 0x23, 0x28, 0x89, 0x0b, 0x8e, 0x4f, 0xa2, 0x17, 0x60, 0xfb, 0x38, 0x42, 0x38, 0x9e, - 0x0f, 0x1d, 0xe4, 0xc7, 0xbc, 0x66, 0x12, 0x1c, 0xfa, 0x35, 0xdf, 0x6b, 0x51, 0xad, 0xcc, 0xb7, - 0x6f, 0x17, 0x3f, 0x41, 0x2b, 0x78, 0x6c, 0x25, 0x8b, 0x00, 0xb2, 0xcb, 0x51, 0x7b, 0xbd, 0xda, - 0xea, 0xc4, 0x62, 0x0c, 0x26, 0xac, 0xd7, 0x5e, 0xaa, 0xb5, 0x9b, 0x0d, 0xd5, 0x7f, 0xfd, 0x03, - 0x74, 0x01, 0xe7, 0x7d, 0xfe, 0x08, 0xad, 0x32, 0x48, 0xf8, 0x2b, 0x43, 0x6f, 0x14, 0x32, 0x81, - 0xad, 0x8b, 0x10, 0xdc, 0x8d, 0xa5, 0x82, 0xff, 0xac, 0x3b, 0x12, 0x56, 0x15, 0xce, 0x0f, 0xd3, - 0x85, 0xe5, 0x47, 0xf8, 0xb8, 0xea, 0x4a, 0x93, 0x65, 0x6f, 0x64, 0x27, 0x54, 0x53, 0x56, 0x04, - 0xbc, 0xd3, 0xe8, 0xa3, 0x80, 0x8c, 0x52, 0xce, 0x35, 0x94, 0x38, 0x26, 0x54, 0xc4, 0x6a, 0x4a, - 0xd5, 0x6e, 0xb1, 0xe6, 0x63, 0x82, 0x76, 0x7c, 0x6b, 0xc2, 0xe6, 0x08, 0xa9, 0x72, 0xb8, 0xad, - 0xa8, 0xac, 0xd4, 0xc4, 0x8e, 0x30, 0xec, 0xcf, 0x4c, 0x8d, 0x96, 0x12, 0x9e, 0x58, 0xdc, 0xf4, - 0x13, 0x7c, 0xfa, 0x89, 0xf9, 0x9b, 0xa7, 0x8c, 0x2c, 0x57, 0x1a, 0x05, 0x26, 0x1d, 0xea, 0x40, - 0xec, 0xa0, 0x63, 0xb3, 0xc6, 0xbc, 0xc8, 0x53, 0x7a, 0xed, 0x5c, 0xe3, 0x60, 0x90, 0x78, 0x49, - 0xba, 0x59, 0x5f, 0x63, 0x1e, 0xe1, 0x14, 0x29, 0x05, 0x83, 0xc4, 0x63, 0x74, 0x58, 0xfa, 0x4d, - 0x9d, 0xb9, 0x22, 0xde, 0xf9, 0x7e, 0x09, 0x5e, 0xf0, 0x59, 0x9d, 0x07, 0x64, 0x41, 0xbd, 0xeb, - 0xc3, 0xd3, 0x08, 0xc6, 0x8b, 0xf3, 0x45, 0x9e, 0xc0, 0xcd, 0xcc, 0x46, 0xa8, 0x82, 0x73, 0x37, - 0x53, 0x3c, 0xa1, 0xaf, 0x16, 0xeb, 0x96, 0xfc, 0x42, 0x6e, 0xa6, 0x71, 0x7c, 0x56, 0xa7, 0xb7, - 0xd3, 0x0a, 0x0f, 0xa8, 0xc8, 0x60, 0x2f, 0xfb, 0x98, 0x0f, 0xba, 0x4a, 0x04, 0x68, 0x9a, 0xa5, - 0x2f, 0x90, 0x33, 0x7d, 0x73, 0x7a, 0xa8, 0xa8, 0xb2, 0x9f, 0x1d, 0x23, 0x55, 0xe5, 0xd5, 0xa1, - 0xf5, 0x5b, 0xae, 0xb4, 0x27, 0xd2, 0xae, 0xb4, 0x29, 0xdc, 0x79, 0x4d, 0xef, 0xd9, 0x57, 0x32, - 0x5e, 0x74, 0xbc, 0x90, 0xfb, 0x11, 0x8b, 0x5f, 0xee, 0x18, 0xe2, 0xbd, 0x4b, 0xad, 0xd6, 0x8f, - 0x1d, 0xab, 0xd6, 0x17, 0x7c, 0xb0, 0x07, 0x15, 0x78, 0xba, 0xf3, 0x50, 0xb2, 0xd4, 0x63, 0x14, - 0x75, 0x04, 0x02, 0xc7, 0x31, 0xbd, 0x0b, 0x85, 0x32, 0xd3, 0xbb, 0x26, 0x4f, 0xaa, 0x77, 0x49, - 0x0e, 0xa0, 0x99, 0x61, 0x22, 0xf5, 0xa6, 0xfd, 0xb8, 0x88, 0xba, 0xb3, 0x71, 0x71, 0x88, 0xc7, - 0x3d, 0x7a, 0x46, 0x22, 0xf5, 0xb5, 0x34, 0x3f, 0xe8, 0xaf, 0x02, 0x2f, 0xd8, 0xcf, 0xab, 0x09, - 0x41, 0x77, 0x20, 0x4c, 0x55, 0x34, 0x3a, 0x47, 0xe6, 0x2d, 0xcb, 0x52, 0x7d, 0x08, 0xfe, 0xc7, - 0xdf, 0x2a, 0x31, 0xff, 0xe3, 0xb6, 0x7f, 0xd0, 0x6d, 0xe3, 0x8b, 0x25, 0xa3, 0x6b, 0xfa, 0x97, - 0xc9, 0x54, 0x22, 0x6a, 0x29, 0x96, 0xcc, 0xd9, 0x68, 0x16, 0xf3, 0xc7, 0x2a, 0x41, 0x20, 0xa1, - 0xa0, 0x18, 0xba, 0xff, 0x92, 0x7f, 0x05, 0x89, 0x39, 0x0d, 0xcb, 0xea, 0xa6, 0x6d, 0x59, 0xbd, - 0x58, 0xb8, 0x33, 0x03, 0x2c, 0xac, 0x6f, 0xda, 0x5d, 0x60, 0x0a, 0xdb, 0xa3, 0xef, 0x11, 0x77, - 0x6f, 0x10, 0xfb, 0xc1, 0x14, 0xaa, 0xae, 0xb0, 0x68, 0x4d, 0x2e, 0x11, 0x2f, 0x0c, 0x19, 0xa9, - 0xe9, 0xfe, 0x5a, 0x99, 0x9c, 0xcb, 0x7a, 0x47, 0xdd, 0x69, 0x91, 0x99, 0xae, 0xa1, 0x3e, 0x17, - 0xbb, 0xcb, 0x6f, 0x2a, 0xdc, 0x5a, 0x75, 0x31, 0xa1, 0x60, 0x71, 0xc5, 0x14, 0xea, 0xf8, 0x2a, - 0xbc, 0x72, 0xaf, 0x94, 0x87, 0x17, 0x51, 0xaa, 0x9a, 0x75, 0x83, 0x11, 0x58, 0x6c, 0x47, 0x90, - 0x6f, 0xdc, 0xfd, 0xfb, 0x25, 0xf2, 0xf8, 0x80, 0x0b, 0xff, 0x58, 0xdd, 0x7d, 0xe6, 0x85, 0x14, - 0x0f, 0xf2, 0xa8, 0xea, 0xb8, 0x6f, 0x12, 0x04, 0xd6, 0xd9, 0xc1, 0x7b, 0xa4, 0xea, 0x95, 0xd2, - 0x72, 0x91, 0x63, 0xf0, 0xbe, 0xcb, 0xc5, 0xc6, 0xbd, 0x53, 0xf5, 0x2e, 0xa9, 0xc1, 0xd5, 0xfd, - 0x46, 0x85, 0x8c, 0xf3, 0x87, 0x12, 0xeb, 0x54, 0x01, 0xe2, 0xf9, 0x05, 0x87, 0x4b, 0x6f, 0xa8, - 0xf5, 0x24, 0x0e, 0x00, 0xc9, 0xc6, 0xb9, 0x41, 0xce, 0xa2, 0x7f, 0x35, 0xf0, 0xda, 0x35, 0xbf, - 0xed, 0x1d, 0x49, 0xc5, 0x9b, 0xe7, 0x88, 0x96, 0x69, 0x50, 0xcf, 0x6e, 0xf6, 0x93, 0x40, 0x56, - 0x39, 0xbc, 0xae, 0x94, 0x4a, 0x10, 0xc4, 0xf3, 0x36, 0xaa, 0xeb, 0x4a, 0xc7, 0x27, 0x09, 0xc2, - 0x1b, 0x5b, 0xdd, 0x3e, 0x13, 0xc3, 0x78, 0x61, 0xcf, 0x36, 0x2b, 0x6c, 0x5a, 0xbc, 0xeb, 0x14, - 0xf7, 0xd8, 0x19, 0xe9, 0xf6, 0x3e, 0xb5, 0x64, 0xf6, 0xc3, 0x76, 0x4b, 0xbc, 0x0c, 0xa5, 0xd4, - 0xa9, 0x46, 0x0a, 0x0f, 0x7d, 0x25, 0x90, 0xcb, 0xae, 0x17, 0xb4, 0xe9, 0xd4, 0xd6, 0x5c, 0x26, - 0x6c, 0x2e, 0x1b, 0x29, 0x3c, 0xf4, 0x95, 0x70, 0xff, 0xb0, 0x44, 0xce, 0x66, 0x9c, 0xdc, 0xf3, - 0x80, 0xb2, 0x3d, 0x2a, 0x1a, 0x55, 0x06, 0x61, 0x23, 0xa0, 0x8c, 0xc3, 0x41, 0x51, 0xe0, 0x2c, - 0xe4, 0x76, 0x63, 0x3a, 0x21, 0xb2, 0x38, 0x2a, 0x15, 0xd8, 0xe1, 0xd2, 0xfd, 0xa8, 0xf7, 0xde, - 0xc7, 0x06, 0xbe, 0xf7, 0x4e, 0x15, 0x93, 0x3d, 0x65, 0x9d, 0x1b, 0x8a, 0x09, 0xb7, 0xcf, 0x39, - 0x0e, 0xb3, 0x7b, 0xcf, 0xa7, 0x22, 0x78, 0xb0, 0x21, 0xa9, 0x67, 0xe9, 0x99, 0x4b, 0x01, 0x63, - 0x5b, 0x32, 0x9e, 0xa6, 0x7f, 0xde, 0x7e, 0xb5, 0x56, 0xb7, 0x79, 0xb5, 0x66, 0xbd, 0xc7, 0x55, - 0x34, 0x3b, 0xf9, 0xa7, 0x30, 0x75, 0xb0, 0x7a, 0x5e, 0x51, 0x4d, 0x7a, 0xca, 0xae, 0x4e, 0xc1, - 0xc0, 0x90, 0xce, 0x73, 0xa2, 0xf7, 0x29, 0xe7, 0x24, 0x78, 0xad, 0x30, 0x36, 0x86, 0x80, 0xca, - 0x11, 0xaa, 0xd6, 0xe2, 0xa9, 0x40, 0xda, 0x35, 0x7b, 0x9d, 0x83, 0x41, 0xe2, 0xed, 0x0c, 0xe4, - 0x93, 0x23, 0xce, 0x40, 0x3e, 0x95, 0x1b, 0x85, 0xf8, 0xcb, 0x74, 0x57, 0x64, 0x69, 0xd7, 0xc4, - 0x4d, 0x50, 0x74, 0xf2, 0x8f, 0x6e, 0x57, 0xc4, 0xf7, 0xda, 0xb0, 0xb2, 0x74, 0xd2, 0x61, 0xd6, - 0x02, 0xe0, 0x38, 0x4c, 0xe2, 0xca, 0xaa, 0xc6, 0xcf, 0x37, 0xc3, 0x93, 0xb8, 0xea, 0x57, 0xbc, - 0x59, 0x8c, 0x3b, 0xf8, 0x5d, 0x6a, 0x7b, 0xb3, 0xc6, 0x6a, 0x4f, 0xcc, 0xa3, 0x12, 0xe3, 0x9e, - 0xd9, 0xb8, 0x87, 0x15, 0xe3, 0x9e, 0xcd, 0x3c, 0x3f, 0xc6, 0x3d, 0xb3, 0xdc, 0xa3, 0x17, 0xe3, - 0x9e, 0xd9, 0xcc, 0x01, 0xfa, 0xdc, 0xf7, 0xca, 0x03, 0xba, 0xc5, 0x34, 0xbb, 0x17, 0x70, 0x15, - 0x30, 0x64, 0x2c, 0x36, 0xe5, 0x19, 0xbe, 0x02, 0x38, 0x0c, 0x14, 0xd6, 0x89, 0x8d, 0x18, 0x71, - 0xde, 0xc8, 0xf5, 0x13, 0x7e, 0xe0, 0x65, 0xdb, 0x95, 0x63, 0x5e, 0xb0, 0x4c, 0x05, 0x8e, 0x63, - 0x44, 0x8e, 0x52, 0xd6, 0x2b, 0x27, 0x51, 0xd6, 0x67, 0xb2, 0x15, 0xf5, 0x25, 0xba, 0x27, 0x9e, - 0xdc, 0xf8, 0xfe, 0xc5, 0x32, 0xf9, 0xf8, 0x31, 0x33, 0x8c, 0x8b, 0x16, 0x6b, 0x50, 0x0d, 0xd1, - 0xd2, 0x37, 0xb0, 0x75, 0x72, 0x6e, 0xb7, 0xd7, 0x6e, 0x1f, 0xb1, 0x13, 0x76, 0xbf, 0x25, 0x29, - 0x84, 0xba, 0xa0, 0xde, 0x78, 0xdc, 0xc8, 0xa0, 0x81, 0xcc, 0x92, 0xe8, 0xf8, 0x0a, 0x77, 0x58, - 0x5a, 0xbb, 0x96, 0xbe, 0xff, 0xc9, 0xc6, 0xaf, 0xa2, 0x1d, 0x5f, 0xb7, 0xfa, 0x28, 0x20, 0xa3, - 0x14, 0x2a, 0x0f, 0xec, 0x79, 0x48, 0xd5, 0xac, 0x94, 0xf2, 0x00, 0x26, 0x12, 0x6c, 0x5a, 0xf7, - 0x0f, 0x4a, 0x28, 0x84, 0x32, 0x9e, 0x2f, 0xb2, 0x5e, 0xfd, 0x35, 0x02, 0xc7, 0xfb, 0x5f, 0xfd, - 0x65, 0xfe, 0x30, 0x9b, 0x96, 0x8f, 0x6f, 0xac, 0x03, 0xcf, 0xac, 0xfd, 0x5e, 0x5c, 0x98, 0x50, - 0x14, 0xf8, 0x52, 0x57, 0x2b, 0x38, 0x0c, 0xe2, 0x30, 0x2a, 0xf0, 0xc8, 0x66, 0x5f, 0x30, 0x93, - 0xde, 0xa2, 0x6a, 0x9c, 0x09, 0x48, 0x6e, 0xee, 0x5f, 0x2f, 0x93, 0x59, 0x59, 0x1f, 0x55, 0x4b, - 0xd8, 0x2a, 0x1e, 0x95, 0x68, 0x7d, 0xc7, 0x12, 0xad, 0x97, 0x8a, 0xdd, 0x1a, 0x61, 0x8d, 0x1a, - 0x28, 0x52, 0xbf, 0x94, 0x12, 0xa9, 0x97, 0x87, 0x61, 0x9a, 0x6b, 0xcd, 0x9f, 0xb1, 0xe8, 0x1f, - 0xa1, 0x5c, 0xa4, 0x59, 0xdd, 0x19, 0x20, 0x3a, 0xbf, 0x51, 0x4e, 0x75, 0x83, 0x89, 0xcc, 0xaf, - 0x91, 0xb1, 0x7d, 0x2f, 0x6a, 0x89, 0xa3, 0x8b, 0xb7, 0x86, 0xfc, 0x14, 0xd4, 0x7c, 0x88, 0x5a, - 0x5c, 0xf0, 0xbd, 0xac, 0x1e, 0x4d, 0xa0, 0xa0, 0xdc, 0x30, 0x4c, 0x56, 0xa9, 0xf3, 0x26, 0x3e, - 0xaa, 0x10, 0x76, 0x55, 0x94, 0xcd, 0x33, 0xfc, 0x41, 0x05, 0x84, 0x50, 0x0e, 0x8e, 0x5d, 0x1d, - 0x82, 0x41, 0xd0, 0x2f, 0xf9, 0xa4, 0xaa, 0xaa, 0x1e, 0x61, 0xc0, 0xdf, 0x0f, 0x2a, 0xe4, 0x6c, - 0xc6, 0x54, 0x71, 0x7e, 0xcc, 0x1a, 0xb5, 0xcf, 0x0e, 0x3d, 0xd7, 0x3e, 0xe2, 0xb8, 0xfd, 0x18, - 0x53, 0x50, 0x5b, 0x62, 0x6e, 0x9c, 0xa0, 0x7a, 0xaa, 0xc5, 0xa6, 0xab, 0x47, 0x50, 0x7e, 0xf5, - 0x58, 0xed, 0x29, 0x0d, 0x3e, 0x56, 0xa3, 0xda, 0x39, 0xc2, 0x6f, 0xfc, 0x93, 0x63, 0xe4, 0x5c, - 0xd6, 0xcd, 0x34, 0xe7, 0xa7, 0x4a, 0xa9, 0x6c, 0xc6, 0x9f, 0x1f, 0xfe, 0x7a, 0x1b, 0x4f, 0x71, - 0x2c, 0x6e, 0xac, 0x2f, 0xdb, 0xf9, 0x8d, 0x73, 0x47, 0x5b, 0xd4, 0xce, 0x42, 0xa7, 0x23, 0x9e, - 0x98, 0x5a, 0xca, 0x83, 0xb7, 0x4f, 0xd0, 0x14, 0x91, 0xdb, 0x3a, 0x4e, 0x85, 0x4e, 0x4b, 0x70, - 0x7e, 0xe8, 0xb4, 0x6c, 0xc3, 0xd2, 0x1e, 0x66, 0x35, 0x56, 0xfd, 0x1a, 0xe1, 0x14, 0x08, 0x70, - 0x4f, 0x32, 0x5a, 0x3d, 0xc2, 0x69, 0xf0, 0x37, 0x4b, 0x24, 0x75, 0x7c, 0xae, 0xac, 0xe0, 0xd2, - 0x40, 0x2b, 0x98, 0x52, 0x50, 0x5d, 0xc9, 0x4f, 0xa7, 0xd9, 0x05, 0x0a, 0x03, 0x86, 0x51, 0x4f, - 0xac, 0x55, 0x06, 0x3d, 0xb1, 0x86, 0xe6, 0x51, 0xdb, 0x3f, 0xf4, 0xa5, 0x4d, 0xaa, 0x84, 0xf7, - 0x16, 0x02, 0x81, 0xe3, 0xdc, 0xef, 0x54, 0xc8, 0x04, 0x37, 0xfc, 0x46, 0xb8, 0x2d, 0xd7, 0x85, - 0x0d, 0x56, 0xe8, 0x8e, 0x18, 0x6f, 0xcd, 0x32, 0x1a, 0x69, 0x7c, 0x42, 0xa9, 0xbe, 0x69, 0xbb, - 0xcd, 0x59, 0xb6, 0x7a, 0xbf, 0x94, 0x8a, 0x1c, 0x23, 0x9c, 0x87, 0x31, 0x16, 0xfb, 0x84, 0xc4, - 0xec, 0x95, 0x1e, 0xe4, 0x21, 0xf2, 0x74, 0xbd, 0x56, 0xa8, 0x1d, 0x0d, 0x55, 0x8c, 0xb7, 0x46, - 0x27, 0x08, 0x52, 0x08, 0x30, 0x78, 0x2f, 0xbd, 0x41, 0xaa, 0x8a, 0x38, 0x4f, 0x5d, 0x9e, 0x31, - 0xa7, 0xe4, 0x9f, 0x23, 0xf3, 0xa9, 0xba, 0x86, 0xd2, 0xb6, 0xbf, 0x4d, 0x95, 0x89, 0xbe, 0xd7, - 0x21, 0x31, 0xd7, 0xdb, 0xb9, 0x76, 0x86, 0xc5, 0x2f, 0x3e, 0xf0, 0x49, 0x7c, 0x05, 0xfa, 0x39, - 0xf5, 0x0c, 0x2c, 0x64, 0xd6, 0x26, 0x33, 0x0f, 0x96, 0xb3, 0x33, 0x0f, 0xb2, 0xa7, 0x49, 0x78, - 0xdb, 0x4f, 0x43, 0x03, 0xda, 0xb4, 0x35, 0xa0, 0x67, 0x8b, 0x4c, 0x83, 0x01, 0xaa, 0xcf, 0xbf, - 0x29, 0x11, 0x87, 0x13, 0xa4, 0x5f, 0xeb, 0xe2, 0x1e, 0x14, 0x43, 0x67, 0xd7, 0xf3, 0x46, 0x61, - 0xc0, 0xa0, 0x1a, 0x32, 0x13, 0xb3, 0x7a, 0xe5, 0xa6, 0xd8, 0x93, 0xd8, 0x95, 0x02, 0x4f, 0x62, - 0xff, 0x56, 0x85, 0xa4, 0x8f, 0x9a, 0x9d, 0xf7, 0xc8, 0x0c, 0x5e, 0x6b, 0xd9, 0x09, 0xda, 0x41, - 0x12, 0xf8, 0x71, 0x31, 0x37, 0xfe, 0x9a, 0x51, 0x42, 0xf8, 0xe0, 0x0c, 0x08, 0x58, 0x1c, 0x31, - 0x3e, 0xaa, 0x1b, 0x51, 0x4b, 0xa1, 0xed, 0xef, 0x31, 0xbd, 0x43, 0xe5, 0x6d, 0xa8, 0x2b, 0x28, - 0x18, 0x14, 0x19, 0x31, 0x4d, 0x95, 0xd3, 0x88, 0x69, 0x1a, 0x1b, 0x32, 0xa6, 0x69, 0xbc, 0x50, - 0x4c, 0x13, 0x90, 0xf3, 0xd2, 0x75, 0x86, 0xbf, 0xf1, 0x6a, 0x18, 0x4f, 0x35, 0x26, 0x22, 0xd1, - 0x96, 0xf0, 0xba, 0x0f, 0x64, 0x52, 0xc0, 0x80, 0x92, 0x6e, 0x8f, 0x9c, 0x6d, 0xf8, 0x51, 0xc0, - 0x32, 0xc1, 0xb4, 0xf4, 0x0a, 0xfc, 0x0a, 0x5e, 0xaa, 0xb7, 0x17, 0xff, 0x90, 0xb7, 0x76, 0x8c, - 0xfb, 0xf4, 0x72, 0xb1, 0x6b, 0x96, 0xee, 0x5f, 0x2a, 0x93, 0x49, 0x11, 0xd2, 0x31, 0xc2, 0x8d, - 0xe4, 0xba, 0x65, 0xdf, 0xbd, 0x98, 0xb7, 0x72, 0x59, 0x73, 0x06, 0x5a, 0x76, 0x8d, 0x94, 0x65, - 0xf7, 0x52, 0x31, 0x76, 0xc7, 0xdb, 0x74, 0xbf, 0x59, 0xa6, 0xbb, 0xbd, 0x1d, 0xca, 0x32, 0xba, - 0xe1, 0xf8, 0x22, 0x99, 0x8c, 0x45, 0xbc, 0x47, 0xa1, 0x47, 0xc8, 0xd3, 0x9f, 0x54, 0x3f, 0xaf, - 0x2d, 0x22, 0x3c, 0x24, 0xbb, 0xcc, 0x90, 0x92, 0xca, 0x69, 0x84, 0x94, 0xb8, 0xdf, 0x61, 0x22, - 0xd5, 0x1c, 0xc0, 0xd3, 0xd8, 0x13, 0xde, 0xb1, 0xa5, 0xef, 0xcb, 0x85, 0xa6, 0x82, 0x68, 0xdf, - 0x80, 0xbd, 0xe1, 0x5b, 0x25, 0x32, 0x2d, 0x08, 0x4f, 0xa3, 0x07, 0x3f, 0x6c, 0xf7, 0xe0, 0xb9, - 0x42, 0x3d, 0x18, 0xd0, 0xf4, 0xbf, 0x5d, 0x56, 0x4d, 0x2f, 0xf8, 0xce, 0xbf, 0xf9, 0x8a, 0x7f, - 0x79, 0x98, 0x57, 0xfc, 0x59, 0x74, 0x2b, 0xbe, 0xb9, 0xc8, 0xb7, 0xa8, 0xac, 0x37, 0x14, 0x77, - 0xe4, 0x5b, 0xb3, 0x08, 0x13, 0x21, 0xf4, 0xc3, 0xbe, 0xcd, 0xa8, 0x63, 0x7a, 0x15, 0x27, 0x30, - 0xb8, 0xca, 0x70, 0x33, 0x56, 0xc3, 0xb8, 0xed, 0x8b, 0xbc, 0x29, 0xe0, 0xa0, 0x28, 0xdc, 0x37, - 0x98, 0x8c, 0x65, 0xc3, 0x33, 0x5c, 0xa0, 0xee, 0x4f, 0x4f, 0xa8, 0x81, 0x65, 0x4e, 0x92, 0x9b, - 0xf2, 0x5d, 0xff, 0x52, 0x91, 0xa8, 0x04, 0xe3, 0x93, 0x64, 0x3f, 0xeb, 0xef, 0xf8, 0x7d, 0xde, - 0xe7, 0x37, 0x0a, 0xcb, 0xc8, 0x21, 0xfc, 0xcd, 0x2c, 0x97, 0x05, 0xbb, 0xbf, 0xbf, 0x59, 0x4f, - 0xe7, 0x0b, 0x5c, 0x93, 0x08, 0xd0, 0x34, 0xb4, 0x00, 0x57, 0xd7, 0xed, 0x27, 0x2e, 0xa5, 0xba, - 0x2e, 0x87, 0xc4, 0xd0, 0xd7, 0xa9, 0xfe, 0xa2, 0x32, 0x26, 0xd7, 0x79, 0xe2, 0xdb, 0x2a, 0xd7, - 0x5f, 0xd6, 0x35, 0x18, 0x4c, 0x1a, 0xaa, 0xd6, 0x9d, 0x6d, 0xa9, 0xe8, 0xc2, 0x7a, 0x6f, 0xa7, - 0x1d, 0x34, 0xb1, 0x28, 0x8f, 0xec, 0x7f, 0x1c, 0x8f, 0x92, 0x6b, 0xfd, 0x68, 0xc8, 0x2a, 0xe3, - 0x6c, 0x63, 0x04, 0x1f, 0xcb, 0x0c, 0x2d, 0xef, 0x00, 0x89, 0x84, 0x5a, 0x17, 0x64, 0x36, 0xae, - 0x86, 0x8d, 0xfe, 0x90, 0x81, 0xb8, 0x50, 0x10, 0x20, 0x48, 0xb3, 0xc0, 0x03, 0xea, 0xb6, 0xf9, - 0xc2, 0x4b, 0x5d, 0x04, 0x59, 0xaa, 0x03, 0x6a, 0xeb, 0xfd, 0x97, 0x3a, 0xa4, 0xa8, 0xa9, 0xb4, - 0x5f, 0x34, 0x21, 0xe2, 0xda, 0x2f, 0x1e, 0x72, 0xc5, 0x22, 0x25, 0xed, 0x27, 0x30, 0xc4, 0x72, - 0x6b, 0x00, 0x0d, 0x0c, 0x2c, 0x8d, 0x99, 0x23, 0xe5, 0x48, 0x1a, 0x01, 0x97, 0x3a, 0x34, 0xc2, - 0xc0, 0x81, 0x45, 0xf9, 0xd1, 0x0e, 0x08, 0xbe, 0x86, 0x85, 0x8d, 0x4d, 0xd5, 0xf9, 0x2a, 0x99, - 0x31, 0xdb, 0x28, 0xc4, 0xe4, 0x2b, 0xc5, 0x5f, 0xcd, 0x11, 0x9b, 0xb3, 0x6a, 0xb9, 0x89, 0x03, - 0x8b, 0xb7, 0xdb, 0x24, 0xf3, 0xa9, 0x57, 0x3b, 0xd5, 0xf3, 0xaf, 0xa5, 0x87, 0xf5, 0xfc, 0x2b, - 0xa6, 0x86, 0x19, 0xdf, 0xf6, 0x82, 0xfc, 0xdc, 0xeb, 0x45, 0xde, 0x4f, 0x75, 0x5e, 0x27, 0x13, - 0xfe, 0xee, 0x2e, 0x3e, 0xaf, 0xcf, 0xd7, 0xdc, 0x93, 0xea, 0x51, 0x6f, 0x06, 0xc5, 0x95, 0xc4, - 0x2a, 0xe3, 0x3f, 0x41, 0x10, 0xbb, 0xff, 0x8e, 0x5a, 0x57, 0xdb, 0x61, 0x5b, 0x1e, 0x55, 0xe4, - 0xb4, 0x64, 0xb5, 0x2f, 0x0b, 0xfc, 0xf3, 0x19, 0x59, 0xe0, 0x1d, 0xcd, 0x30, 0x23, 0x07, 0xbc, - 0xea, 0x4d, 0xa5, 0x50, 0x6f, 0xc6, 0x86, 0xe9, 0xcd, 0xd7, 0x4b, 0x44, 0x84, 0x20, 0x14, 0xd8, - 0x96, 0x5a, 0x32, 0x73, 0xb3, 0x75, 0xff, 0xfe, 0x42, 0x91, 0x38, 0x7a, 0x71, 0xeb, 0x5e, 0x4d, - 0x25, 0xeb, 0xae, 0xbd, 0xc5, 0x15, 0x4d, 0xef, 0x69, 0x8e, 0xbe, 0x21, 0x5f, 0xbf, 0xcf, 0x69, - 0xd7, 0x50, 0xb9, 0x7d, 0x58, 0x62, 0x63, 0x64, 0xac, 0x52, 0xbc, 0x98, 0x89, 0x8d, 0x25, 0x02, - 0x34, 0x0d, 0x06, 0x10, 0xc4, 0xbd, 0x1d, 0x46, 0x9e, 0x8a, 0x47, 0x68, 0x70, 0x30, 0x48, 0xbc, - 0xfb, 0x3f, 0x17, 0x88, 0xd5, 0x35, 0x2b, 0x9d, 0x4c, 0xe9, 0xa1, 0xa7, 0x93, 0xa1, 0xdc, 0xfd, - 0x83, 0x6e, 0x72, 0x54, 0x0b, 0xa2, 0x62, 0xa9, 0xbd, 0xd6, 0x05, 0x75, 0x3f, 0x77, 0x89, 0x01, - 0xc5, 0x71, 0x40, 0x72, 0xa0, 0xca, 0x23, 0x91, 0x1c, 0x68, 0xec, 0xff, 0x49, 0x72, 0x20, 0x6a, - 0x21, 0xec, 0xf1, 0xe7, 0xc4, 0xc5, 0xbd, 0xa9, 0x9c, 0xe3, 0xab, 0x8c, 0xb7, 0xc7, 0xf9, 0x05, - 0x19, 0x81, 0x00, 0xc9, 0x0e, 0x53, 0xcf, 0x70, 0x63, 0x41, 0xe4, 0xdb, 0x79, 0xa5, 0x88, 0x1b, - 0xa5, 0x3f, 0xf5, 0x8c, 0x08, 0x3a, 0x11, 0xbc, 0x64, 0x32, 0xa0, 0xc9, 0x8f, 0x9e, 0x0c, 0x48, - 0xa5, 0xf0, 0x99, 0x7a, 0x58, 0x29, 0x7c, 0xac, 0x54, 0x48, 0xd5, 0x51, 0xa4, 0x42, 0xa2, 0xb2, - 0xed, 0xb1, 0x6e, 0x56, 0x26, 0x31, 0x91, 0x8c, 0xe7, 0x0b, 0x27, 0xc8, 0xac, 0x66, 0x55, 0xcd, - 0xae, 0xb3, 0x64, 0x92, 0x41, 0x76, 0xc5, 0x32, 0xa7, 0xd2, 0xf4, 0x47, 0xcf, 0xa9, 0x34, 0xea, - 0xac, 0x3d, 0x3a, 0xc3, 0xd2, 0xec, 0x48, 0x32, 0x2c, 0xcd, 0x3d, 0xc4, 0x0c, 0x4b, 0x46, 0x6e, - 0xa4, 0xf9, 0x87, 0x9b, 0x1b, 0x69, 0x9f, 0x4c, 0xb7, 0xc2, 0xfb, 0x9d, 0xfb, 0x5e, 0xd4, 0x5a, - 0xa9, 0x6f, 0x8a, 0x54, 0x3c, 0x39, 0x77, 0xde, 0x6b, 0xba, 0x80, 0x55, 0x03, 0xf7, 0x17, 0x6a, - 0x24, 0x98, 0xac, 0x45, 0x96, 0xa8, 0x33, 0x1f, 0x31, 0x4b, 0x94, 0x95, 0x6b, 0xc9, 0x19, 0x45, - 0xae, 0xa5, 0xf7, 0xd8, 0xcd, 0xd7, 0xdd, 0x60, 0xef, 0x86, 0xd7, 0x5d, 0x3c, 0x5b, 0xa4, 0x86, - 0x35, 0x49, 0xde, 0x5f, 0x83, 0x42, 0x81, 0x66, 0xda, 0x9f, 0xcd, 0xe9, 0xdc, 0x69, 0x67, 0x73, - 0x7a, 0x6c, 0x84, 0xd9, 0x9c, 0xce, 0x8f, 0x22, 0x9b, 0xd3, 0x5f, 0x20, 0x4f, 0x1d, 0xdf, 0x7f, - 0x9d, 0xa0, 0xb3, 0xae, 0x4d, 0xea, 0x54, 0x82, 0x4e, 0xa6, 0x5b, 0x18, 0x54, 0x46, 0xb0, 0x66, - 0xf9, 0xb8, 0x60, 0x4d, 0xf7, 0x9f, 0x96, 0xc8, 0xe3, 0x03, 0x12, 0x3d, 0x14, 0x8e, 0xbe, 0xee, - 0x92, 0xf9, 0xae, 0x5d, 0xb4, 0xf0, 0x3d, 0x09, 0x2b, 0xb1, 0x84, 0x4a, 0xf0, 0x9c, 0x42, 0x40, - 0x9a, 0xfd, 0xea, 0xb3, 0xdf, 0xfd, 0xc1, 0x53, 0x1f, 0xfb, 0x1e, 0xfd, 0xfb, 0x3d, 0xfa, 0xf7, - 0xe3, 0x7f, 0xf4, 0x54, 0xe9, 0xbb, 0xf4, 0xef, 0x7b, 0xf4, 0xef, 0x0f, 0xe9, 0xdf, 0xd7, 0xff, - 0xf8, 0xa9, 0x8f, 0xfd, 0x48, 0xf9, 0xf0, 0xf2, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xf4, 0x77, - 0x02, 0x29, 0xf6, 0xb0, 0x00, 0x00, + 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, } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/generated.proto b/staging/src/k8s.io/client-go/pkg/api/v1/generated.proto similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/generated.proto rename to staging/src/k8s.io/client-go/pkg/api/v1/generated.proto index e4c85c8c9cf..f2d63bfeb22 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/api/v1/generated.proto @@ -21,10 +21,10 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.api.v1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1"; @@ -37,13 +37,13 @@ option go_package = "v1"; // ownership management and SELinux relabeling. message AWSElasticBlockStoreVolumeSource { // Unique ID of the persistent disk resource in AWS (Amazon EBS volume). - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore optional string volumeID = 1; // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore // TODO: how do we prevent errors in the filesystem from compromising the machine optional string fsType = 2; @@ -55,7 +55,7 @@ message AWSElasticBlockStoreVolumeSource { // Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". // If omitted, the default is "false". - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore optional bool readOnly = 4; } @@ -294,7 +294,7 @@ message Container { optional string name = 1; // Docker image name. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md + // More info: http://kubernetes.io/docs/user-guide/images optional string image = 2; // Entrypoint array. Not executed within a shell. @@ -304,7 +304,7 @@ message Container { // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands + // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands repeated string command = 3; // Arguments to the entrypoint. @@ -314,7 +314,7 @@ message Container { // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands + // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands repeated string args = 4; // Container's working directory. @@ -338,7 +338,7 @@ message Container { // Compute Resources required by this container. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources optional ResourceRequirements resources = 8; // Pod volumes to mount into the container's filesystem. @@ -348,13 +348,13 @@ message Container { // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes 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://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes optional Probe readinessProbe = 11; // Actions that the management system should take in response to container lifecycle events. @@ -372,7 +372,7 @@ message Container { // One of Always, Never, IfNotPresent. // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md#updating-images + // More info: http://kubernetes.io/docs/user-guide/images#updating-images optional string imagePullPolicy = 14; // Security options the pod should run with. @@ -508,7 +508,7 @@ message ContainerStatus { optional int32 restartCount = 5; // The image the container is running. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md + // More info: http://kubernetes.io/docs/user-guide/images // TODO(dchen1107): Which image the container is running with? optional string image = 6; @@ -516,7 +516,7 @@ message ContainerStatus { optional string imageID = 7; // Container's ID in the format 'docker://'. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#container-information + // More info: http://kubernetes.io/docs/user-guide/container-environment#container-information optional string containerID = 8; } @@ -582,7 +582,7 @@ message EmptyDirVolumeSource { // What type of storage medium should back this directory. // The default is "" which means to use the node's default medium. // Must be an empty string (default) or Memory. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir + // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir optional string medium = 1; } @@ -840,10 +840,15 @@ message FlexVolumeSource { } // Represents a Flocker volume mounted by the Flocker agent. +// One and only one of datasetName and datasetUUID should be set. // Flocker volumes do not support ownership management or SELinux relabeling. message FlockerVolumeSource { - // Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker + // Name of the dataset stored as metadata -> name on the dataset for Flocker + // should be considered as deprecated optional string datasetName = 1; + + // UUID of the dataset. This is unique identifier of a Flocker dataset + optional string datasetUUID = 2; } // Represents a Persistent Disk resource in Google Compute Engine. @@ -854,13 +859,13 @@ message FlockerVolumeSource { // PDs support ownership management and SELinux relabeling. message GCEPersistentDiskVolumeSource { // Unique name of the PD resource in GCE. Used to identify the disk in GCE. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk optional string pdName = 1; // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk // TODO: how do we prevent errors in the filesystem from compromising the machine optional string fsType = 2; @@ -868,12 +873,12 @@ message GCEPersistentDiskVolumeSource { // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk optional int32 partition = 3; // ReadOnly here will force the ReadOnly setting in VolumeMounts. // Defaults to false. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk optional bool readOnly = 4; } @@ -962,7 +967,7 @@ message Handler { // Host path volumes do not support ownership management or SELinux relabeling. message HostPathVolumeSource { // Path of the directory on the host. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath + // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath optional string path = 1; } @@ -986,7 +991,7 @@ message ISCSIVolumeSource { // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#iscsi + // More info: http://kubernetes.io/docs/user-guide/volumes#iscsi // TODO: how do we prevent errors in the filesystem from compromising the machine optional string fsType = 5; @@ -1020,7 +1025,7 @@ message Lifecycle { // PostStart is called immediately after a container is created. If the handler fails, // the container is terminated and restarted according to its restart policy. // Other management of the container blocks until the hook completes. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details + // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details optional Handler postStart = 1; // PreStop is called immediately before a container is terminated. @@ -1028,7 +1033,7 @@ message Lifecycle { // The reason for termination is passed to the handler. // 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://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details + // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details optional Handler preStop = 2; } @@ -1136,7 +1141,7 @@ message LoadBalancerStatus { // referenced object inside the same namespace. message LocalObjectReference { // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names // TODO: Add other useful fields. apiVersion, kind, uid? optional string name = 1; } @@ -1145,17 +1150,17 @@ message LocalObjectReference { // NFS volumes do not support ownership management or SELinux relabeling. message NFSVolumeSource { // Server is the hostname or IP address of the NFS server. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs optional string server = 1; // Path that is exported by the NFS server. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs optional string path = 2; // ReadOnly here will force // the NFS export to be mounted with read-only permissions. // Defaults to false. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs optional bool readOnly = 3; } @@ -1182,7 +1187,7 @@ message NamespaceList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is the list of Namespace objects in the list. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md + // More info: http://kubernetes.io/docs/user-guide/namespaces repeated Namespace items = 2; } @@ -1343,7 +1348,7 @@ message NodeSpec { // NodeStatus is information about the current status of a node. message NodeStatus { // Capacity represents the total resources of a node. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity for more details. + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. map capacity = 1; // Allocatable represents the resources of a node that are available for scheduling. @@ -1435,7 +1440,7 @@ message ObjectMeta { // automatically. Name is primarily intended for creation idempotence and configuration // definition. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names optional string name = 1; // GenerateName is an optional prefix, used by the server, to generate a unique @@ -1462,7 +1467,7 @@ message ObjectMeta { // // Must be a DNS_LABEL. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md + // More info: http://kubernetes.io/docs/user-guide/namespaces optional string namespace = 3; // SelfLink is a URL representing this object. @@ -1476,7 +1481,7 @@ message ObjectMeta { // // Populated by the system. // Read-only. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // More info: http://kubernetes.io/docs/user-guide/identifiers#uids optional string uid = 5; // An opaque value that represents the internal version of this object that can @@ -1530,13 +1535,13 @@ message ObjectMeta { // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md + // More info: http://kubernetes.io/docs/user-guide/labels 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://releases.k8s.io/HEAD/docs/user-guide/annotations.md + // More info: http://kubernetes.io/docs/user-guide/annotations map annotations = 12; // List of objects depended by this object. If ALL objects in the list have @@ -1564,15 +1569,15 @@ message ObjectReference { optional string kind = 1; // Namespace of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md + // More info: http://kubernetes.io/docs/user-guide/namespaces optional string namespace = 2; // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names optional string name = 3; // UID of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // More info: http://kubernetes.io/docs/user-guide/identifiers#uids optional string uid = 4; // API version of the referent. @@ -1605,11 +1610,11 @@ message OwnerReference { optional string kind = 1; // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names optional string name = 3; // UID of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // More info: http://kubernetes.io/docs/user-guide/identifiers#uids optional string uid = 4; // If true, this reference points to the managing controller. @@ -1618,7 +1623,7 @@ message OwnerReference { // PersistentVolume (PV) is a storage resource provisioned by an administrator. // It is analogous to a node. -// More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md +// More info: http://kubernetes.io/docs/user-guide/persistent-volumes message PersistentVolume { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata @@ -1626,13 +1631,13 @@ message PersistentVolume { // Spec defines a specification of a persistent volume owned by the cluster. // Provisioned by an administrator. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistent-volumes + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes optional PersistentVolumeSpec spec = 2; // Status represents the current information/status for the persistent volume. // Populated by the system. // Read-only. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistent-volumes + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes optional PersistentVolumeStatus status = 3; } @@ -1643,12 +1648,12 @@ message PersistentVolumeClaim { optional ObjectMeta metadata = 1; // Spec defines the desired characteristics of a volume requested by a pod author. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims optional PersistentVolumeClaimSpec spec = 2; // Status represents the current information/status of a persistent volume claim. // Read-only. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims optional PersistentVolumeClaimStatus status = 3; } @@ -1659,7 +1664,7 @@ message PersistentVolumeClaimList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // A list of persistent volume claims. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims repeated PersistentVolumeClaim items = 2; } @@ -1667,14 +1672,14 @@ message PersistentVolumeClaimList { // and allows a Source for provider-specific attributes message PersistentVolumeClaimSpec { // AccessModes contains the desired access modes the volume should have. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes-1 + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 repeated string accessModes = 1; // A label query over volumes to consider for binding. optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 4; // Resources represents the minimum resources the volume should have. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources optional ResourceRequirements resources = 2; // VolumeName is the binding reference to the PersistentVolume backing this claim. @@ -1687,7 +1692,7 @@ message PersistentVolumeClaimStatus { optional string phase = 1; // AccessModes contains the actual access modes the volume backing the PVC has. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes-1 + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 repeated string accessModes = 2; // Represents the actual resources of the underlying volume. @@ -1700,7 +1705,7 @@ message PersistentVolumeClaimStatus { // type of volume that is owned by someone else (the system). message PersistentVolumeClaimVolumeSource { // ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims optional string claimName = 1; // Will force the ReadOnly setting in VolumeMounts. @@ -1715,7 +1720,7 @@ message PersistentVolumeList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of persistent volumes. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes repeated PersistentVolume items = 2; } @@ -1724,19 +1729,19 @@ message PersistentVolumeList { 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 2; // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath + // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath optional HostPathVolumeSource hostPath = 3; // Glusterfs represents a Glusterfs volume that is attached to a host and @@ -1745,7 +1750,7 @@ message PersistentVolumeSource { optional GlusterfsVolumeSource glusterfs = 4; // NFS represents an NFS mount on the host. Provisioned by an admin. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs optional NFSVolumeSource nfs = 5; // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. @@ -1790,33 +1795,33 @@ message PersistentVolumeSource { // PersistentVolumeSpec is the specification of a persistent volume. message PersistentVolumeSpec { // A description of the persistent volume's resources and capacity. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity map capacity = 1; // The actual volume backing the persistent volume. optional PersistentVolumeSource persistentVolumeSource = 2; // AccessModes contains all ways the volume can be mounted. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#binding + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#recycling-policy + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy optional string persistentVolumeReclaimPolicy = 5; } // PersistentVolumeStatus is the current status of a persistent volume. message PersistentVolumeStatus { // Phase indicates if a volume is available, bound to a claim, or released by a claim. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#phase + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase optional string phase = 1; // A human-readable message indicating details about why the volume is in this state. @@ -1968,12 +1973,12 @@ message PodAttachOptions { message PodCondition { // Type is the type of the condition. // Currently only Ready. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions optional string type = 1; // Status is the status of the condition. // Can be True, False, Unknown. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions optional string status = 2; // Last time we probed the condition. @@ -2025,7 +2030,7 @@ message PodList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of pods. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pods.md + // More info: http://kubernetes.io/docs/user-guide/pods repeated Pod items = 2; } @@ -2125,20 +2130,20 @@ message PodSignature { // PodSpec is a description of a pod. message PodSpec { // List of volumes that can be mounted by containers belonging to the pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md + // More info: http://kubernetes.io/docs/user-guide/volumes repeated Volume volumes = 1; // List of containers belonging to the pod. // Containers cannot currently be added or removed. // There must be at least one container in a Pod. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md + // More info: http://kubernetes.io/docs/user-guide/containers repeated Container containers = 2; // Restart policy for all containers within the pod. // One of Always, OnFailure, Never. // Default to Always. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#restartpolicy + // More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy optional string restartPolicy = 3; // Optional duration in seconds the pod needs to terminate gracefully. May be decreased in delete request. @@ -2162,7 +2167,7 @@ message PodSpec { // 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://releases.k8s.io/HEAD/docs/user-guide/node-selection/README.md + // More info: http://kubernetes.io/docs/user-guide/node-selection/README map nodeSelector = 7; // ServiceAccountName is the name of the ServiceAccount to use to run this pod. @@ -2202,7 +2207,7 @@ message PodSpec { // 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://releases.k8s.io/HEAD/docs/user-guide/images.md#specifying-imagepullsecrets-on-a-pod + // More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod repeated LocalObjectReference imagePullSecrets = 15; // Specifies the hostname of the Pod @@ -2218,11 +2223,11 @@ message PodSpec { // state of a system. message PodStatus { // Current condition of the pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-phase + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase optional string phase = 1; // Current service state of pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions repeated PodCondition conditions = 2; // A human readable message indicating details about why the pod is in this condition. @@ -2245,7 +2250,7 @@ message PodStatus { // The list has one entry per container in the manifest. Each entry is currently the output // of `docker inspect`. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-statuses + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses repeated ContainerStatus containerStatuses = 8; } @@ -2333,12 +2338,12 @@ message Probe { optional Handler handler = 1; // Number of seconds after the container has started before liveness probes are initiated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes optional int32 initialDelaySeconds = 2; // Number of seconds after which the probe times out. // Defaults to 1 second. Minimum value is 1. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes optional int32 timeoutSeconds = 3; // How often (in seconds) to perform the probe. @@ -2392,7 +2397,7 @@ message RBDVolumeSource { // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#rbd + // More info: http://kubernetes.io/docs/user-guide/volumes#rbd // TODO: how do we prevent errors in the filesystem from compromising the machine optional string fsType = 3; @@ -2455,6 +2460,27 @@ message ReplicationController { optional ReplicationControllerStatus status = 3; } +// ReplicationControllerCondition describes the state of a replication controller at a certain point. +message ReplicationControllerCondition { + // Type of replication controller condition. + optional string type = 1; + + // 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; + + // The reason for the condition's last transition. + optional string reason = 5; + + // A human readable message indicating details about the transition. + optional string message = 6; +} + // ReplicationControllerList is a collection of replication controllers. message ReplicationControllerList { // Standard list metadata. @@ -2462,7 +2488,7 @@ message ReplicationControllerList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of replication controllers. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md + // More info: http://kubernetes.io/docs/user-guide/replication-controller repeated ReplicationController items = 2; } @@ -2471,19 +2497,24 @@ message ReplicationControllerSpec { // Replicas is the number of desired replicas. // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller 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 int32 minReadySeconds = 4; + // Selector is a label query over pods that should match the Replicas count. // If 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 replication // controller, if empty defaulted to labels on Pod template. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors 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://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template optional PodTemplateSpec template = 3; } @@ -2491,7 +2522,7 @@ message ReplicationControllerSpec { // controller. message ReplicationControllerStatus { // Replicas is the most recently oberved number of replicas. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller optional int32 replicas = 1; // The number of pods that have labels matching the labels of the pod template of the replication controller. @@ -2500,8 +2531,14 @@ message ReplicationControllerStatus { // The number of ready replicas for this replication controller. optional int32 readyReplicas = 4; + // The number of available replicas (ready for at least minReadySeconds) for this replication controller. + optional int32 availableReplicas = 5; + // ObservedGeneration reflects the generation of the most recently observed replication controller. optional int64 observedGeneration = 3; + + // Represents the latest available observations of a replication controller's current state. + repeated ReplicationControllerCondition conditions = 6; } // ResourceFieldSelector represents container resources (cpu, memory) and their output format @@ -2632,7 +2669,7 @@ message SecretList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // Items is a list of secret objects. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/secrets.md + // More info: http://kubernetes.io/docs/user-guide/secrets repeated Secret items = 2; } @@ -2643,7 +2680,7 @@ message SecretList { // Secret volumes support ownership management and SELinux relabeling. message SecretVolumeSource { // Name of the secret in the pod's namespace to use. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets + // More info: http://kubernetes.io/docs/user-guide/volumes#secrets optional string secretName = 1; // If unspecified, each key-value pair in the Data field of the referenced @@ -2736,13 +2773,13 @@ message ServiceAccount { optional ObjectMeta metadata = 1; // Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/secrets.md + // More info: http://kubernetes.io/docs/user-guide/secrets 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://releases.k8s.io/HEAD/docs/user-guide/secrets.md#manually-specifying-an-imagepullsecret + // More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret repeated LocalObjectReference imagePullSecrets = 3; } @@ -2789,14 +2826,14 @@ message ServicePort { // of the 'port' field is used (an identity map). // This field is ignored for services with clusterIP=None, and should be // omitted or set equal to the 'port' field. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#defining-a-service + // More info: http://kubernetes.io/docs/user-guide/services#defining-a-service 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. // Usually assigned by the system. If specified, it will be allocated to the service // 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://releases.k8s.io/HEAD/docs/user-guide/services.md#type--nodeport + // More info: http://kubernetes.io/docs/user-guide/services#type--nodeport optional int32 nodePort = 5; } @@ -2813,7 +2850,7 @@ message ServiceProxyOptions { // ServiceSpec describes the attributes that a user creates on a service. message ServiceSpec { // The list of ports that are exposed by this service. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies repeated ServicePort ports = 1; // Route service traffic to pods with label keys and values matching this @@ -2821,7 +2858,7 @@ message ServiceSpec { // external process managing its endpoints, which Kubernetes will not // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. // Ignored if type is ExternalName. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview + // More info: http://kubernetes.io/docs/user-guide/services#overview map selector = 2; // clusterIP is the IP address of the service and is usually assigned @@ -2832,7 +2869,7 @@ message ServiceSpec { // can be specified for headless services when proxying is not required. // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies optional string clusterIP = 3; // type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -2848,7 +2885,7 @@ message ServiceSpec { // "LoadBalancer" builds on NodePort and creates an // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview + // More info: http://kubernetes.io/docs/user-guide/services#overview optional string type = 4; // externalIPs is a list of IP addresses for which nodes in the cluster @@ -2872,7 +2909,7 @@ message ServiceSpec { // Enable client IP based session affinity. // Must be ClientIP or None. // Defaults to None. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies optional string sessionAffinity = 7; // Only applies to Service Type: LoadBalancer @@ -2885,7 +2922,7 @@ message ServiceSpec { // 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://releases.k8s.io/HEAD/docs/user-guide/services-firewalls.md + // More info: http://kubernetes.io/docs/user-guide/services-firewalls repeated string loadBalancerSourceRanges = 9; // externalName is the external reference that kubedns or equivalent will @@ -2949,7 +2986,7 @@ message Toleration { message Volume { // Volume's name. // Must be a DNS_LABEL and unique within the pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names optional string name = 1; // VolumeSource represents the location and type of the mounted volume. @@ -2983,35 +3020,35 @@ message VolumeSource { // machine that is directly exposed to the container. This is generally // used for system agents or other privileged things that are allowed // to see the host machine. Most containers will NOT need this. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath + // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath // --- // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not // mount host directories as read/write. optional HostPathVolumeSource hostPath = 1; // EmptyDir represents a temporary directory that shares a pod's lifetime. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir + // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore optional AWSElasticBlockStoreVolumeSource awsElasticBlockStore = 4; // GitRepo represents a git repository at a particular revision. optional GitRepoVolumeSource gitRepo = 5; // Secret represents a secret that should populate this volume. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets + // More info: http://kubernetes.io/docs/user-guide/volumes#secrets optional SecretVolumeSource secret = 6; // NFS represents an NFS mount on the host that shares a pod's lifetime - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs optional NFSVolumeSource nfs = 7; // ISCSI represents an ISCSI Disk resource that is attached to a @@ -3025,7 +3062,7 @@ message VolumeSource { // PersistentVolumeClaimVolumeSource represents a reference to a // PersistentVolumeClaim in the same namespace. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims optional PersistentVolumeClaimVolumeSource persistentVolumeClaim = 10; // RBD represents a Rados Block Device mount on the host that shares a pod's lifetime. diff --git a/staging/src/k8s.io/client-go/pkg/api/v1/helpers.go b/staging/src/k8s.io/client-go/pkg/api/v1/helpers.go new file mode 100644 index 00000000000..d33a79c724f --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/api/v1/helpers.go @@ -0,0 +1,33 @@ +/* +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 v1 + +import "k8s.io/client-go/pkg/types" + +// NewDeleteOptions returns a DeleteOptions indicating the resource should +// be deleted within the specified grace period. Use zero to indicate +// immediate deletion. If you would prefer to use the default grace period, +// use &v1.DeleteOptions{} directly. +func NewDeleteOptions(grace int64) *DeleteOptions { + return &DeleteOptions{GracePeriodSeconds: &grace} +} + +// NewUIDPreconditions returns a Preconditions with UID set. +func NewUIDPreconditions(uid string) *Preconditions { + u := types.UID(uid) + return &Preconditions{UID: &u} +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/meta.go b/staging/src/k8s.io/client-go/pkg/api/v1/meta.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/meta.go rename to staging/src/k8s.io/client-go/pkg/api/v1/meta.go index 3bde633b59c..a641eb2b53c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/meta.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/meta.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/meta/metatypes" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/types" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/meta/metatypes" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/types" ) func (obj *ObjectMeta) GetObjectMeta() meta.Object { return obj } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/ref.go b/staging/src/k8s.io/client-go/pkg/api/v1/ref.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/ref.go rename to staging/src/k8s.io/client-go/pkg/api/v1/ref.go index 93007e8cab3..69bed2fa8cf 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/ref.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/ref.go @@ -19,13 +19,13 @@ package v1 import ( "errors" "fmt" - "k8s.io/client-go/1.5/pkg/api" + "k8s.io/client-go/pkg/api" "net/url" "strings" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/register.go b/staging/src/k8s.io/client-go/pkg/api/v1/register.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/register.go rename to staging/src/k8s.io/client-go/pkg/api/v1/register.go index 67a23345d41..7f31222fbf5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/register.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/register.go @@ -17,9 +17,9 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/types.generated.go b/staging/src/k8s.io/client-go/pkg/api/v1/types.generated.go similarity index 71% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/api/v1/types.generated.go index cf9b7126184..10abaaaa34b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg3_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg5_runtime "k8s.io/client-go/1.5/pkg/runtime" - pkg1_types "k8s.io/client-go/1.5/pkg/types" - pkg4_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg3_resource "k8s.io/client-go/pkg/api/resource" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg5_runtime "k8s.io/client-go/pkg/runtime" + pkg1_types "k8s.io/client-go/pkg/types" + pkg4_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" @@ -11231,14 +11231,16 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep736 := !z.EncBinary() yy2arr736 := z.EncBasicHandle().StructToArray - var yyq736 [1]bool + var yyq736 [2]bool _, _, _ = yysep736, yyq736, yy2arr736 const yyr736 bool = false + yyq736[0] = x.DatasetName != "" + yyq736[1] = x.DatasetUUID != "" var yynn736 int if yyr736 || yy2arr736 { - r.EncodeArrayStart(1) + r.EncodeArrayStart(2) } else { - yynn736 = 1 + yynn736 = 0 for _, b := range yyq736 { if b { yynn736++ @@ -11249,21 +11251,52 @@ func (x *FlockerVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr736 || yy2arr736 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym738 := z.EncBinary() - _ = yym738 - if false { + if yyq736[0] { + yym738 := z.EncBinary() + _ = yym738 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + r.EncodeString(codecSelferC_UTF81234, "") } } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("datasetName")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym739 := z.EncBinary() - _ = yym739 - if false { + if yyq736[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("datasetName")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym739 := z.EncBinary() + _ = yym739 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + } + } + } + if yyr736 || yy2arr736 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq736[1] { + yym741 := z.EncBinary() + _ = yym741 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetUUID)) + } } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DatasetName)) + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq736[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("datasetUUID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym742 := z.EncBinary() + _ = yym742 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DatasetUUID)) + } } } if yyr736 || yy2arr736 { @@ -11279,25 +11312,25 @@ func (x *FlockerVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym740 := z.DecBinary() - _ = yym740 + yym743 := z.DecBinary() + _ = yym743 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct741 := r.ContainerType() - if yyct741 == codecSelferValueTypeMap1234 { - yyl741 := r.ReadMapStart() - if yyl741 == 0 { + yyct744 := r.ContainerType() + if yyct744 == codecSelferValueTypeMap1234 { + yyl744 := r.ReadMapStart() + if yyl744 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl741, d) + x.codecDecodeSelfFromMap(yyl744, d) } - } else if yyct741 == codecSelferValueTypeArray1234 { - yyl741 := r.ReadArrayStart() - if yyl741 == 0 { + } else if yyct744 == codecSelferValueTypeArray1234 { + yyl744 := r.ReadArrayStart() + if yyl744 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl741, d) + x.codecDecodeSelfFromArray(yyl744, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11309,12 +11342,12 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys742Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys742Slc - var yyhl742 bool = l >= 0 - for yyj742 := 0; ; yyj742++ { - if yyhl742 { - if yyj742 >= l { + var yys745Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys745Slc + var yyhl745 bool = l >= 0 + for yyj745 := 0; ; yyj745++ { + if yyhl745 { + if yyj745 >= l { break } } else { @@ -11323,20 +11356,26 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys742Slc = r.DecodeBytes(yys742Slc, true, true) - yys742 := string(yys742Slc) + yys745Slc = r.DecodeBytes(yys745Slc, true, true) + yys745 := string(yys745Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys742 { + switch yys745 { case "datasetName": if r.TryDecodeAsNil() { x.DatasetName = "" } else { x.DatasetName = string(r.DecodeString()) } + case "datasetUUID": + if r.TryDecodeAsNil() { + x.DatasetUUID = "" + } else { + x.DatasetUUID = string(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys742) - } // end switch yys742 - } // end for yyj742 + z.DecStructFieldNotFound(-1, yys745) + } // end switch yys745 + } // end for yyj745 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11344,16 +11383,16 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj744 int - var yyb744 bool - var yyhl744 bool = l >= 0 - yyj744++ - if yyhl744 { - yyb744 = yyj744 > l + var yyj748 int + var yyb748 bool + var yyhl748 bool = l >= 0 + yyj748++ + if yyhl748 { + yyb748 = yyj748 > l } else { - yyb744 = r.CheckBreak() + yyb748 = r.CheckBreak() } - if yyb744 { + if yyb748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11363,18 +11402,34 @@ func (x *FlockerVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.DatasetName = string(r.DecodeString()) } + yyj748++ + if yyhl748 { + yyb748 = yyj748 > l + } else { + yyb748 = r.CheckBreak() + } + if yyb748 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.DatasetUUID = "" + } else { + x.DatasetUUID = string(r.DecodeString()) + } for { - yyj744++ - if yyhl744 { - yyb744 = yyj744 > l + yyj748++ + if yyhl748 { + yyb748 = yyj748 > l } else { - yyb744 = r.CheckBreak() + yyb748 = r.CheckBreak() } - if yyb744 { + if yyb748 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj744-1, "") + z.DecStructFieldNotFound(yyj748-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11383,8 +11438,8 @@ func (x StorageMedium) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym746 := z.EncBinary() - _ = yym746 + yym751 := z.EncBinary() + _ = yym751 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11396,8 +11451,8 @@ func (x *StorageMedium) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym747 := z.DecBinary() - _ = yym747 + yym752 := z.DecBinary() + _ = yym752 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11409,8 +11464,8 @@ func (x Protocol) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym748 := z.EncBinary() - _ = yym748 + yym753 := z.EncBinary() + _ = yym753 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -11422,8 +11477,8 @@ func (x *Protocol) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym749 := z.DecBinary() - _ = yym749 + yym754 := z.DecBinary() + _ = yym754 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11438,36 +11493,36 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym750 := z.EncBinary() - _ = yym750 + yym755 := z.EncBinary() + _ = yym755 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep751 := !z.EncBinary() - yy2arr751 := z.EncBasicHandle().StructToArray - var yyq751 [4]bool - _, _, _ = yysep751, yyq751, yy2arr751 - const yyr751 bool = false - yyq751[1] = x.FSType != "" - yyq751[2] = x.Partition != 0 - yyq751[3] = x.ReadOnly != false - var yynn751 int - if yyr751 || yy2arr751 { + yysep756 := !z.EncBinary() + yy2arr756 := z.EncBasicHandle().StructToArray + var yyq756 [4]bool + _, _, _ = yysep756, yyq756, yy2arr756 + const yyr756 bool = false + yyq756[1] = x.FSType != "" + yyq756[2] = x.Partition != 0 + yyq756[3] = x.ReadOnly != false + var yynn756 int + if yyr756 || yy2arr756 { r.EncodeArrayStart(4) } else { - yynn751 = 1 - for _, b := range yyq751 { + yynn756 = 1 + for _, b := range yyq756 { if b { - yynn751++ + yynn756++ } } - r.EncodeMapStart(yynn751) - yynn751 = 0 + r.EncodeMapStart(yynn756) + yynn756 = 0 } - if yyr751 || yy2arr751 { + if yyr756 || yy2arr756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym753 := z.EncBinary() - _ = yym753 + yym758 := z.EncBinary() + _ = yym758 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) @@ -11476,18 +11531,18 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("pdName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym754 := z.EncBinary() - _ = yym754 + yym759 := z.EncBinary() + _ = yym759 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PDName)) } } - if yyr751 || yy2arr751 { + if yyr756 || yy2arr756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq751[1] { - yym756 := z.EncBinary() - _ = yym756 + if yyq756[1] { + yym761 := z.EncBinary() + _ = yym761 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -11496,23 +11551,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq751[1] { + if yyq756[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym757 := z.EncBinary() - _ = yym757 + yym762 := z.EncBinary() + _ = yym762 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr751 || yy2arr751 { + if yyr756 || yy2arr756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq751[2] { - yym759 := z.EncBinary() - _ = yym759 + if yyq756[2] { + yym764 := z.EncBinary() + _ = yym764 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -11521,23 +11576,23 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq751[2] { + if yyq756[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym760 := z.EncBinary() - _ = yym760 + yym765 := z.EncBinary() + _ = yym765 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr751 || yy2arr751 { + if yyr756 || yy2arr756 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq751[3] { - yym762 := z.EncBinary() - _ = yym762 + if yyq756[3] { + yym767 := z.EncBinary() + _ = yym767 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11546,19 +11601,19 @@ func (x *GCEPersistentDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq751[3] { + if yyq756[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym763 := z.EncBinary() - _ = yym763 + yym768 := z.EncBinary() + _ = yym768 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr751 || yy2arr751 { + if yyr756 || yy2arr756 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11571,25 +11626,25 @@ func (x *GCEPersistentDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym764 := z.DecBinary() - _ = yym764 + yym769 := z.DecBinary() + _ = yym769 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct765 := r.ContainerType() - if yyct765 == codecSelferValueTypeMap1234 { - yyl765 := r.ReadMapStart() - if yyl765 == 0 { + yyct770 := r.ContainerType() + if yyct770 == codecSelferValueTypeMap1234 { + yyl770 := r.ReadMapStart() + if yyl770 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl765, d) + x.codecDecodeSelfFromMap(yyl770, d) } - } else if yyct765 == codecSelferValueTypeArray1234 { - yyl765 := r.ReadArrayStart() - if yyl765 == 0 { + } else if yyct770 == codecSelferValueTypeArray1234 { + yyl770 := r.ReadArrayStart() + if yyl770 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl765, d) + x.codecDecodeSelfFromArray(yyl770, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11601,12 +11656,12 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys766Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys766Slc - var yyhl766 bool = l >= 0 - for yyj766 := 0; ; yyj766++ { - if yyhl766 { - if yyj766 >= l { + var yys771Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys771Slc + var yyhl771 bool = l >= 0 + for yyj771 := 0; ; yyj771++ { + if yyhl771 { + if yyj771 >= l { break } } else { @@ -11615,10 +11670,10 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys766Slc = r.DecodeBytes(yys766Slc, true, true) - yys766 := string(yys766Slc) + yys771Slc = r.DecodeBytes(yys771Slc, true, true) + yys771 := string(yys771Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys766 { + switch yys771 { case "pdName": if r.TryDecodeAsNil() { x.PDName = "" @@ -11644,9 +11699,9 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec19 x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys766) - } // end switch yys766 - } // end for yyj766 + z.DecStructFieldNotFound(-1, yys771) + } // end switch yys771 + } // end for yyj771 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11654,16 +11709,16 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec 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 yyj776 int + var yyb776 bool + var yyhl776 bool = l >= 0 + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11673,13 +11728,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.PDName = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11689,13 +11744,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.FSType = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11705,13 +11760,13 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec } else { x.Partition = int32(r.DecodeInt(32)) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11722,17 +11777,17 @@ func (x *GCEPersistentDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj771-1, "") + z.DecStructFieldNotFound(yyj776-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11744,36 +11799,36 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym776 := z.EncBinary() - _ = yym776 + yym781 := z.EncBinary() + _ = yym781 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep777 := !z.EncBinary() - yy2arr777 := z.EncBasicHandle().StructToArray - var yyq777 [5]bool - _, _, _ = yysep777, yyq777, yy2arr777 - const yyr777 bool = false - yyq777[2] = x.ReadOnly != false - yyq777[3] = x.User != "" - yyq777[4] = x.Group != "" - var yynn777 int - if yyr777 || yy2arr777 { + yysep782 := !z.EncBinary() + yy2arr782 := z.EncBasicHandle().StructToArray + var yyq782 [5]bool + _, _, _ = yysep782, yyq782, yy2arr782 + const yyr782 bool = false + yyq782[2] = x.ReadOnly != false + yyq782[3] = x.User != "" + yyq782[4] = x.Group != "" + var yynn782 int + if yyr782 || yy2arr782 { r.EncodeArrayStart(5) } else { - yynn777 = 2 - for _, b := range yyq777 { + yynn782 = 2 + for _, b := range yyq782 { if b { - yynn777++ + yynn782++ } } - r.EncodeMapStart(yynn777) - yynn777 = 0 + r.EncodeMapStart(yynn782) + yynn782 = 0 } - if yyr777 || yy2arr777 { + if yyr782 || yy2arr782 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym779 := z.EncBinary() - _ = yym779 + yym784 := z.EncBinary() + _ = yym784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Registry)) @@ -11782,17 +11837,17 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("registry")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym780 := z.EncBinary() - _ = yym780 + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Registry)) } } - if yyr777 || yy2arr777 { + if yyr782 || yy2arr782 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym782 := z.EncBinary() - _ = yym782 + yym787 := z.EncBinary() + _ = yym787 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Volume)) @@ -11801,18 +11856,18 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volume")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym783 := z.EncBinary() - _ = yym783 + yym788 := z.EncBinary() + _ = yym788 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Volume)) } } - if yyr777 || yy2arr777 { + if yyr782 || yy2arr782 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq777[2] { - yym785 := z.EncBinary() - _ = yym785 + if yyq782[2] { + yym790 := z.EncBinary() + _ = yym790 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -11821,23 +11876,23 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq777[2] { + if yyq782[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym786 := z.EncBinary() - _ = yym786 + yym791 := z.EncBinary() + _ = yym791 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr777 || yy2arr777 { + if yyr782 || yy2arr782 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq777[3] { - yym788 := z.EncBinary() - _ = yym788 + if yyq782[3] { + yym793 := z.EncBinary() + _ = yym793 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -11846,23 +11901,23 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq777[3] { + if yyq782[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym789 := z.EncBinary() - _ = yym789 + yym794 := z.EncBinary() + _ = yym794 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr777 || yy2arr777 { + if yyr782 || yy2arr782 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq777[4] { - yym791 := z.EncBinary() - _ = yym791 + if yyq782[4] { + yym796 := z.EncBinary() + _ = yym796 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) @@ -11871,19 +11926,19 @@ func (x *QuobyteVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq777[4] { + if yyq782[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("group")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym792 := z.EncBinary() - _ = yym792 + yym797 := z.EncBinary() + _ = yym797 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Group)) } } } - if yyr777 || yy2arr777 { + if yyr782 || yy2arr782 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11896,25 +11951,25 @@ func (x *QuobyteVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym793 := z.DecBinary() - _ = yym793 + yym798 := z.DecBinary() + _ = yym798 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct794 := r.ContainerType() - if yyct794 == codecSelferValueTypeMap1234 { - yyl794 := r.ReadMapStart() - if yyl794 == 0 { + yyct799 := r.ContainerType() + if yyct799 == codecSelferValueTypeMap1234 { + yyl799 := r.ReadMapStart() + if yyl799 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl794, d) + x.codecDecodeSelfFromMap(yyl799, d) } - } else if yyct794 == codecSelferValueTypeArray1234 { - yyl794 := r.ReadArrayStart() - if yyl794 == 0 { + } else if yyct799 == codecSelferValueTypeArray1234 { + yyl799 := r.ReadArrayStart() + if yyl799 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl794, d) + x.codecDecodeSelfFromArray(yyl799, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11926,12 +11981,12 @@ func (x *QuobyteVolumeSource) 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 { + 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 { @@ -11940,10 +11995,10 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys795Slc = r.DecodeBytes(yys795Slc, true, true) - yys795 := string(yys795Slc) + yys800Slc = r.DecodeBytes(yys800Slc, true, true) + yys800 := string(yys800Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys795 { + switch yys800 { case "registry": if r.TryDecodeAsNil() { x.Registry = "" @@ -11975,9 +12030,9 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Group = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys795) - } // end switch yys795 - } // end for yyj795 + z.DecStructFieldNotFound(-1, yys800) + } // end switch yys800 + } // end for yyj800 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11985,16 +12040,16 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj801 int - var yyb801 bool - var yyhl801 bool = l >= 0 - yyj801++ - if yyhl801 { - yyb801 = yyj801 > l + var yyj806 int + var yyb806 bool + var yyhl806 bool = l >= 0 + yyj806++ + if yyhl806 { + yyb806 = yyj806 > l } else { - yyb801 = r.CheckBreak() + yyb806 = r.CheckBreak() } - if yyb801 { + if yyb806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12004,13 +12059,13 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Registry = string(r.DecodeString()) } - yyj801++ - if yyhl801 { - yyb801 = yyj801 > l + yyj806++ + if yyhl806 { + yyb806 = yyj806 > l } else { - yyb801 = r.CheckBreak() + yyb806 = r.CheckBreak() } - if yyb801 { + if yyb806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12020,13 +12075,13 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Volume = string(r.DecodeString()) } - yyj801++ - if yyhl801 { - yyb801 = yyj801 > l + yyj806++ + if yyhl806 { + yyb806 = yyj806 > l } else { - yyb801 = r.CheckBreak() + yyb806 = r.CheckBreak() } - if yyb801 { + if yyb806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12036,13 +12091,13 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj801++ - if yyhl801 { - yyb801 = yyj801 > l + yyj806++ + if yyhl806 { + yyb806 = yyj806 > l } else { - yyb801 = r.CheckBreak() + yyb806 = r.CheckBreak() } - if yyb801 { + if yyb806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12052,13 +12107,13 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.User = string(r.DecodeString()) } - yyj801++ - if yyhl801 { - yyb801 = yyj801 > l + yyj806++ + if yyhl806 { + yyb806 = yyj806 > l } else { - yyb801 = r.CheckBreak() + yyb806 = r.CheckBreak() } - if yyb801 { + if yyb806 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12069,17 +12124,17 @@ func (x *QuobyteVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Group = string(r.DecodeString()) } for { - yyj801++ - if yyhl801 { - yyb801 = yyj801 > l + yyj806++ + if yyhl806 { + yyb806 = yyj806 > l } else { - yyb801 = r.CheckBreak() + yyb806 = r.CheckBreak() } - if yyb801 { + if yyb806 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj801-1, "") + z.DecStructFieldNotFound(yyj806-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12091,37 +12146,37 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym807 := z.EncBinary() - _ = yym807 + yym812 := z.EncBinary() + _ = yym812 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep808 := !z.EncBinary() - yy2arr808 := z.EncBasicHandle().StructToArray - var yyq808 [5]bool - _, _, _ = yysep808, yyq808, yy2arr808 - const yyr808 bool = false - yyq808[1] = x.FSType != "" - yyq808[2] = x.SecretRef != nil - yyq808[3] = x.ReadOnly != false - yyq808[4] = len(x.Options) != 0 - var yynn808 int - if yyr808 || yy2arr808 { + yysep813 := !z.EncBinary() + yy2arr813 := z.EncBasicHandle().StructToArray + var yyq813 [5]bool + _, _, _ = yysep813, yyq813, yy2arr813 + const yyr813 bool = false + yyq813[1] = x.FSType != "" + yyq813[2] = x.SecretRef != nil + yyq813[3] = x.ReadOnly != false + yyq813[4] = len(x.Options) != 0 + var yynn813 int + if yyr813 || yy2arr813 { r.EncodeArrayStart(5) } else { - yynn808 = 1 - for _, b := range yyq808 { + yynn813 = 1 + for _, b := range yyq813 { if b { - yynn808++ + yynn813++ } } - r.EncodeMapStart(yynn808) - yynn808 = 0 + r.EncodeMapStart(yynn813) + yynn813 = 0 } - if yyr808 || yy2arr808 { + if yyr813 || yy2arr813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym810 := z.EncBinary() - _ = yym810 + yym815 := z.EncBinary() + _ = yym815 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) @@ -12130,18 +12185,18 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("driver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym811 := z.EncBinary() - _ = yym811 + yym816 := z.EncBinary() + _ = yym816 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Driver)) } } - if yyr808 || yy2arr808 { + if yyr813 || yy2arr813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq808[1] { - yym813 := z.EncBinary() - _ = yym813 + if yyq813[1] { + yym818 := z.EncBinary() + _ = yym818 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12150,21 +12205,21 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq808[1] { + if yyq813[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym814 := z.EncBinary() - _ = yym814 + yym819 := z.EncBinary() + _ = yym819 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr808 || yy2arr808 { + if yyr813 || yy2arr813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq808[2] { + if yyq813[2] { if x.SecretRef == nil { r.EncodeNil() } else { @@ -12174,7 +12229,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq808[2] { + if yyq813[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12185,11 +12240,11 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr808 || yy2arr808 { + if yyr813 || yy2arr813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq808[3] { - yym817 := z.EncBinary() - _ = yym817 + if yyq813[3] { + yym822 := z.EncBinary() + _ = yym822 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12198,26 +12253,26 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq808[3] { + if yyq813[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym818 := z.EncBinary() - _ = yym818 + yym823 := z.EncBinary() + _ = yym823 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr808 || yy2arr808 { + if yyr813 || yy2arr813 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq808[4] { + if yyq813[4] { if x.Options == nil { r.EncodeNil() } else { - yym820 := z.EncBinary() - _ = yym820 + yym825 := z.EncBinary() + _ = yym825 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -12227,15 +12282,15 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq808[4] { + if yyq813[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("options")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Options == nil { r.EncodeNil() } else { - yym821 := z.EncBinary() - _ = yym821 + yym826 := z.EncBinary() + _ = yym826 if false { } else { z.F.EncMapStringStringV(x.Options, false, e) @@ -12243,7 +12298,7 @@ func (x *FlexVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr808 || yy2arr808 { + if yyr813 || yy2arr813 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12256,25 +12311,25 @@ func (x *FlexVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym822 := z.DecBinary() - _ = yym822 + yym827 := z.DecBinary() + _ = yym827 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct823 := r.ContainerType() - if yyct823 == codecSelferValueTypeMap1234 { - yyl823 := r.ReadMapStart() - if yyl823 == 0 { + yyct828 := r.ContainerType() + if yyct828 == codecSelferValueTypeMap1234 { + yyl828 := r.ReadMapStart() + if yyl828 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl823, d) + x.codecDecodeSelfFromMap(yyl828, d) } - } else if yyct823 == codecSelferValueTypeArray1234 { - yyl823 := r.ReadArrayStart() - if yyl823 == 0 { + } else if yyct828 == codecSelferValueTypeArray1234 { + yyl828 := r.ReadArrayStart() + if yyl828 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl823, d) + x.codecDecodeSelfFromArray(yyl828, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12286,12 +12341,12 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys824Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys824Slc - var yyhl824 bool = l >= 0 - for yyj824 := 0; ; yyj824++ { - if yyhl824 { - if yyj824 >= l { + var yys829Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys829Slc + var yyhl829 bool = l >= 0 + for yyj829 := 0; ; yyj829++ { + if yyhl829 { + if yyj829 >= l { break } } else { @@ -12300,10 +12355,10 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys824Slc = r.DecodeBytes(yys824Slc, true, true) - yys824 := string(yys824Slc) + yys829Slc = r.DecodeBytes(yys829Slc, true, true) + yys829 := string(yys829Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys824 { + switch yys829 { case "driver": if r.TryDecodeAsNil() { x.Driver = "" @@ -12337,18 +12392,18 @@ func (x *FlexVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Options = nil } else { - yyv829 := &x.Options - yym830 := z.DecBinary() - _ = yym830 + yyv834 := &x.Options + yym835 := z.DecBinary() + _ = yym835 if false { } else { - z.F.DecMapStringStringX(yyv829, false, d) + z.F.DecMapStringStringX(yyv834, false, d) } } default: - z.DecStructFieldNotFound(-1, yys824) - } // end switch yys824 - } // end for yyj824 + z.DecStructFieldNotFound(-1, yys829) + } // end switch yys829 + } // end for yyj829 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12356,16 +12411,16 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj831 int - var yyb831 bool - var yyhl831 bool = l >= 0 - yyj831++ - if yyhl831 { - yyb831 = yyj831 > l + var yyj836 int + var yyb836 bool + var yyhl836 bool = l >= 0 + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb831 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb831 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12375,13 +12430,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Driver = string(r.DecodeString()) } - yyj831++ - if yyhl831 { - yyb831 = yyj831 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb831 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb831 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12391,13 +12446,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FSType = string(r.DecodeString()) } - yyj831++ - if yyhl831 { - yyb831 = yyj831 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb831 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb831 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12412,13 +12467,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SecretRef.CodecDecodeSelf(d) } - yyj831++ - if yyhl831 { - yyb831 = yyj831 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb831 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb831 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12428,13 +12483,13 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj831++ - if yyhl831 { - yyb831 = yyj831 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb831 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb831 { + if yyb836 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12442,26 +12497,26 @@ func (x *FlexVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Options = nil } else { - yyv836 := &x.Options - yym837 := z.DecBinary() - _ = yym837 + yyv841 := &x.Options + yym842 := z.DecBinary() + _ = yym842 if false { } else { - z.F.DecMapStringStringX(yyv836, false, d) + z.F.DecMapStringStringX(yyv841, false, d) } } for { - yyj831++ - if yyhl831 { - yyb831 = yyj831 > l + yyj836++ + if yyhl836 { + yyb836 = yyj836 > l } else { - yyb831 = r.CheckBreak() + yyb836 = r.CheckBreak() } - if yyb831 { + if yyb836 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj831-1, "") + z.DecStructFieldNotFound(yyj836-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12473,36 +12528,36 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) if x == nil { r.EncodeNil() } else { - yym838 := z.EncBinary() - _ = yym838 + yym843 := z.EncBinary() + _ = yym843 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep839 := !z.EncBinary() - yy2arr839 := z.EncBasicHandle().StructToArray - var yyq839 [4]bool - _, _, _ = yysep839, yyq839, yy2arr839 - const yyr839 bool = false - yyq839[1] = x.FSType != "" - yyq839[2] = x.Partition != 0 - yyq839[3] = x.ReadOnly != false - var yynn839 int - if yyr839 || yy2arr839 { + yysep844 := !z.EncBinary() + yy2arr844 := z.EncBasicHandle().StructToArray + var yyq844 [4]bool + _, _, _ = yysep844, yyq844, yy2arr844 + const yyr844 bool = false + yyq844[1] = x.FSType != "" + yyq844[2] = x.Partition != 0 + yyq844[3] = x.ReadOnly != false + var yynn844 int + if yyr844 || yy2arr844 { r.EncodeArrayStart(4) } else { - yynn839 = 1 - for _, b := range yyq839 { + yynn844 = 1 + for _, b := range yyq844 { if b { - yynn839++ + yynn844++ } } - r.EncodeMapStart(yynn839) - yynn839 = 0 + r.EncodeMapStart(yynn844) + yynn844 = 0 } - if yyr839 || yy2arr839 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym841 := z.EncBinary() - _ = yym841 + yym846 := z.EncBinary() + _ = yym846 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) @@ -12511,18 +12566,18 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym842 := z.EncBinary() - _ = yym842 + yym847 := z.EncBinary() + _ = yym847 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumeID)) } } - if yyr839 || yy2arr839 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq839[1] { - yym844 := z.EncBinary() - _ = yym844 + if yyq844[1] { + yym849 := z.EncBinary() + _ = yym849 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -12531,23 +12586,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq839[1] { + if yyq844[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym845 := z.EncBinary() - _ = yym845 + yym850 := z.EncBinary() + _ = yym850 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr839 || yy2arr839 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq839[2] { - yym847 := z.EncBinary() - _ = yym847 + if yyq844[2] { + yym852 := z.EncBinary() + _ = yym852 if false { } else { r.EncodeInt(int64(x.Partition)) @@ -12556,23 +12611,23 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeInt(0) } } else { - if yyq839[2] { + if yyq844[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("partition")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym848 := z.EncBinary() - _ = yym848 + yym853 := z.EncBinary() + _ = yym853 if false { } else { r.EncodeInt(int64(x.Partition)) } } } - if yyr839 || yy2arr839 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq839[3] { - yym850 := z.EncBinary() - _ = yym850 + if yyq844[3] { + yym855 := z.EncBinary() + _ = yym855 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -12581,19 +12636,19 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) r.EncodeBool(false) } } else { - if yyq839[3] { + if yyq844[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym851 := z.EncBinary() - _ = yym851 + yym856 := z.EncBinary() + _ = yym856 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr839 || yy2arr839 { + if yyr844 || yy2arr844 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12606,25 +12661,25 @@ func (x *AWSElasticBlockStoreVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym852 := z.DecBinary() - _ = yym852 + yym857 := z.DecBinary() + _ = yym857 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct853 := r.ContainerType() - if yyct853 == codecSelferValueTypeMap1234 { - yyl853 := r.ReadMapStart() - if yyl853 == 0 { + yyct858 := r.ContainerType() + if yyct858 == codecSelferValueTypeMap1234 { + yyl858 := r.ReadMapStart() + if yyl858 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl853, d) + x.codecDecodeSelfFromMap(yyl858, d) } - } else if yyct853 == codecSelferValueTypeArray1234 { - yyl853 := r.ReadArrayStart() - if yyl853 == 0 { + } else if yyct858 == codecSelferValueTypeArray1234 { + yyl858 := r.ReadArrayStart() + if yyl858 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl853, d) + x.codecDecodeSelfFromArray(yyl858, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12636,12 +12691,12 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys854Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys854Slc - var yyhl854 bool = l >= 0 - for yyj854 := 0; ; yyj854++ { - if yyhl854 { - if yyj854 >= l { + var yys859Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys859Slc + var yyhl859 bool = l >= 0 + for yyj859 := 0; ; yyj859++ { + if yyhl859 { + if yyj859 >= l { break } } else { @@ -12650,10 +12705,10 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys854Slc = r.DecodeBytes(yys854Slc, true, true) - yys854 := string(yys854Slc) + yys859Slc = r.DecodeBytes(yys859Slc, true, true) + yys859 := string(yys859Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys854 { + switch yys859 { case "volumeID": if r.TryDecodeAsNil() { x.VolumeID = "" @@ -12679,9 +12734,9 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromMap(l int, d *code x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys854) - } // end switch yys854 - } // end for yyj854 + z.DecStructFieldNotFound(-1, yys859) + } // end switch yys859 + } // end for yyj859 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12689,16 +12744,16 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj859 int - var yyb859 bool - var yyhl859 bool = l >= 0 - yyj859++ - if yyhl859 { - yyb859 = yyj859 > l + var yyj864 int + var yyb864 bool + var yyhl864 bool = l >= 0 + yyj864++ + if yyhl864 { + yyb864 = yyj864 > l } else { - yyb859 = r.CheckBreak() + yyb864 = r.CheckBreak() } - if yyb859 { + if yyb864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12708,13 +12763,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.VolumeID = string(r.DecodeString()) } - yyj859++ - if yyhl859 { - yyb859 = yyj859 > l + yyj864++ + if yyhl864 { + yyb864 = yyj864 > l } else { - yyb859 = r.CheckBreak() + yyb864 = r.CheckBreak() } - if yyb859 { + if yyb864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12724,13 +12779,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.FSType = string(r.DecodeString()) } - yyj859++ - if yyhl859 { - yyb859 = yyj859 > l + yyj864++ + if yyhl864 { + yyb864 = yyj864 > l } else { - yyb859 = r.CheckBreak() + yyb864 = r.CheckBreak() } - if yyb859 { + if yyb864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12740,13 +12795,13 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co } else { x.Partition = int32(r.DecodeInt(32)) } - yyj859++ - if yyhl859 { - yyb859 = yyj859 > l + yyj864++ + if yyhl864 { + yyb864 = yyj864 > l } else { - yyb859 = r.CheckBreak() + yyb864 = r.CheckBreak() } - if yyb859 { + if yyb864 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12757,17 +12812,17 @@ func (x *AWSElasticBlockStoreVolumeSource) codecDecodeSelfFromArray(l int, d *co x.ReadOnly = bool(r.DecodeBool()) } for { - yyj859++ - if yyhl859 { - yyb859 = yyj859 > l + yyj864++ + if yyhl864 { + yyb864 = yyj864 > l } else { - yyb859 = r.CheckBreak() + yyb864 = r.CheckBreak() } - if yyb859 { + if yyb864 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj859-1, "") + z.DecStructFieldNotFound(yyj864-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12779,35 +12834,35 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym864 := z.EncBinary() - _ = yym864 + yym869 := z.EncBinary() + _ = yym869 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep865 := !z.EncBinary() - yy2arr865 := z.EncBasicHandle().StructToArray - var yyq865 [3]bool - _, _, _ = yysep865, yyq865, yy2arr865 - const yyr865 bool = false - yyq865[1] = x.Revision != "" - yyq865[2] = x.Directory != "" - var yynn865 int - if yyr865 || yy2arr865 { + yysep870 := !z.EncBinary() + yy2arr870 := z.EncBasicHandle().StructToArray + var yyq870 [3]bool + _, _, _ = yysep870, yyq870, yy2arr870 + const yyr870 bool = false + yyq870[1] = x.Revision != "" + yyq870[2] = x.Directory != "" + var yynn870 int + if yyr870 || yy2arr870 { r.EncodeArrayStart(3) } else { - yynn865 = 1 - for _, b := range yyq865 { + yynn870 = 1 + for _, b := range yyq870 { if b { - yynn865++ + yynn870++ } } - r.EncodeMapStart(yynn865) - yynn865 = 0 + r.EncodeMapStart(yynn870) + yynn870 = 0 } - if yyr865 || yy2arr865 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym867 := z.EncBinary() - _ = yym867 + yym872 := z.EncBinary() + _ = yym872 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) @@ -12816,18 +12871,18 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("repository")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym868 := z.EncBinary() - _ = yym868 + yym873 := z.EncBinary() + _ = yym873 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Repository)) } } - if yyr865 || yy2arr865 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq865[1] { - yym870 := z.EncBinary() - _ = yym870 + if yyq870[1] { + yym875 := z.EncBinary() + _ = yym875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) @@ -12836,23 +12891,23 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq865[1] { + if yyq870[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("revision")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym871 := z.EncBinary() - _ = yym871 + yym876 := z.EncBinary() + _ = yym876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Revision)) } } } - if yyr865 || yy2arr865 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq865[2] { - yym873 := z.EncBinary() - _ = yym873 + if yyq870[2] { + yym878 := z.EncBinary() + _ = yym878 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) @@ -12861,19 +12916,19 @@ func (x *GitRepoVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq865[2] { + if yyq870[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("directory")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym874 := z.EncBinary() - _ = yym874 + yym879 := z.EncBinary() + _ = yym879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Directory)) } } } - if yyr865 || yy2arr865 { + if yyr870 || yy2arr870 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12886,25 +12941,25 @@ func (x *GitRepoVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym875 := z.DecBinary() - _ = yym875 + yym880 := z.DecBinary() + _ = yym880 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct876 := r.ContainerType() - if yyct876 == codecSelferValueTypeMap1234 { - yyl876 := r.ReadMapStart() - if yyl876 == 0 { + yyct881 := r.ContainerType() + if yyct881 == codecSelferValueTypeMap1234 { + yyl881 := r.ReadMapStart() + if yyl881 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl876, d) + x.codecDecodeSelfFromMap(yyl881, d) } - } else if yyct876 == codecSelferValueTypeArray1234 { - yyl876 := r.ReadArrayStart() - if yyl876 == 0 { + } else if yyct881 == codecSelferValueTypeArray1234 { + yyl881 := r.ReadArrayStart() + if yyl881 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl876, d) + x.codecDecodeSelfFromArray(yyl881, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12916,12 +12971,12 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys877Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys877Slc - var yyhl877 bool = l >= 0 - for yyj877 := 0; ; yyj877++ { - if yyhl877 { - if yyj877 >= l { + var yys882Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys882Slc + var yyhl882 bool = l >= 0 + for yyj882 := 0; ; yyj882++ { + if yyhl882 { + if yyj882 >= l { break } } else { @@ -12930,10 +12985,10 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys877Slc = r.DecodeBytes(yys877Slc, true, true) - yys877 := string(yys877Slc) + yys882Slc = r.DecodeBytes(yys882Slc, true, true) + yys882 := string(yys882Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys877 { + switch yys882 { case "repository": if r.TryDecodeAsNil() { x.Repository = "" @@ -12953,9 +13008,9 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Directory = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys877) - } // end switch yys877 - } // end for yyj877 + z.DecStructFieldNotFound(-1, yys882) + } // end switch yys882 + } // end for yyj882 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12963,16 +13018,16 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj881 int - var yyb881 bool - var yyhl881 bool = l >= 0 - yyj881++ - if yyhl881 { - yyb881 = yyj881 > l + var yyj886 int + var yyb886 bool + var yyhl886 bool = l >= 0 + yyj886++ + if yyhl886 { + yyb886 = yyj886 > l } else { - yyb881 = r.CheckBreak() + yyb886 = r.CheckBreak() } - if yyb881 { + if yyb886 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12982,13 +13037,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Repository = string(r.DecodeString()) } - yyj881++ - if yyhl881 { - yyb881 = yyj881 > l + yyj886++ + if yyhl886 { + yyb886 = yyj886 > l } else { - yyb881 = r.CheckBreak() + yyb886 = r.CheckBreak() } - if yyb881 { + if yyb886 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12998,13 +13053,13 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Revision = string(r.DecodeString()) } - yyj881++ - if yyhl881 { - yyb881 = yyj881 > l + yyj886++ + if yyhl886 { + yyb886 = yyj886 > l } else { - yyb881 = r.CheckBreak() + yyb886 = r.CheckBreak() } - if yyb881 { + if yyb886 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13015,17 +13070,17 @@ func (x *GitRepoVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Directory = string(r.DecodeString()) } for { - yyj881++ - if yyhl881 { - yyb881 = yyj881 > l + yyj886++ + if yyhl886 { + yyb886 = yyj886 > l } else { - yyb881 = r.CheckBreak() + yyb886 = r.CheckBreak() } - if yyb881 { + if yyb886 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj881-1, "") + z.DecStructFieldNotFound(yyj886-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13037,37 +13092,37 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym885 := z.EncBinary() - _ = yym885 + yym890 := z.EncBinary() + _ = yym890 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep886 := !z.EncBinary() - yy2arr886 := z.EncBasicHandle().StructToArray - var yyq886 [3]bool - _, _, _ = yysep886, yyq886, yy2arr886 - const yyr886 bool = false - yyq886[0] = x.SecretName != "" - yyq886[1] = len(x.Items) != 0 - yyq886[2] = x.DefaultMode != nil - var yynn886 int - if yyr886 || yy2arr886 { + yysep891 := !z.EncBinary() + yy2arr891 := z.EncBasicHandle().StructToArray + var yyq891 [3]bool + _, _, _ = yysep891, yyq891, yy2arr891 + const yyr891 bool = false + yyq891[0] = x.SecretName != "" + yyq891[1] = len(x.Items) != 0 + yyq891[2] = x.DefaultMode != nil + var yynn891 int + if yyr891 || yy2arr891 { r.EncodeArrayStart(3) } else { - yynn886 = 0 - for _, b := range yyq886 { + yynn891 = 0 + for _, b := range yyq891 { if b { - yynn886++ + yynn891++ } } - r.EncodeMapStart(yynn886) - yynn886 = 0 + r.EncodeMapStart(yynn891) + yynn891 = 0 } - if yyr886 || yy2arr886 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq886[0] { - yym888 := z.EncBinary() - _ = yym888 + if yyq891[0] { + yym893 := z.EncBinary() + _ = yym893 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -13076,26 +13131,26 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq886[0] { + if yyq891[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym889 := z.EncBinary() - _ = yym889 + yym894 := z.EncBinary() + _ = yym894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr886 || yy2arr886 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq886[1] { + if yyq891[1] { if x.Items == nil { r.EncodeNil() } else { - yym891 := z.EncBinary() - _ = yym891 + yym896 := z.EncBinary() + _ = yym896 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -13105,15 +13160,15 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq886[1] { + if yyq891[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym892 := z.EncBinary() - _ = yym892 + yym897 := z.EncBinary() + _ = yym897 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -13121,42 +13176,42 @@ func (x *SecretVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr886 || yy2arr886 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq886[2] { + if yyq891[2] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy894 := *x.DefaultMode - yym895 := z.EncBinary() - _ = yym895 + yy899 := *x.DefaultMode + yym900 := z.EncBinary() + _ = yym900 if false { } else { - r.EncodeInt(int64(yy894)) + r.EncodeInt(int64(yy899)) } } } else { r.EncodeNil() } } else { - if yyq886[2] { + if yyq891[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy896 := *x.DefaultMode - yym897 := z.EncBinary() - _ = yym897 + yy901 := *x.DefaultMode + yym902 := z.EncBinary() + _ = yym902 if false { } else { - r.EncodeInt(int64(yy896)) + r.EncodeInt(int64(yy901)) } } } } - if yyr886 || yy2arr886 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13169,25 +13224,25 @@ func (x *SecretVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym898 := z.DecBinary() - _ = yym898 + yym903 := z.DecBinary() + _ = yym903 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct899 := r.ContainerType() - if yyct899 == codecSelferValueTypeMap1234 { - yyl899 := r.ReadMapStart() - if yyl899 == 0 { + yyct904 := r.ContainerType() + if yyct904 == codecSelferValueTypeMap1234 { + yyl904 := r.ReadMapStart() + if yyl904 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl899, d) + x.codecDecodeSelfFromMap(yyl904, d) } - } else if yyct899 == codecSelferValueTypeArray1234 { - yyl899 := r.ReadArrayStart() - if yyl899 == 0 { + } else if yyct904 == codecSelferValueTypeArray1234 { + yyl904 := r.ReadArrayStart() + if yyl904 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl899, d) + x.codecDecodeSelfFromArray(yyl904, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13199,12 +13254,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys900Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys900Slc - var yyhl900 bool = l >= 0 - for yyj900 := 0; ; yyj900++ { - if yyhl900 { - if yyj900 >= l { + var yys905Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys905Slc + var yyhl905 bool = l >= 0 + for yyj905 := 0; ; yyj905++ { + if yyhl905 { + if yyj905 >= l { break } } else { @@ -13213,10 +13268,10 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys900Slc = r.DecodeBytes(yys900Slc, true, true) - yys900 := string(yys900Slc) + yys905Slc = r.DecodeBytes(yys905Slc, true, true) + yys905 := string(yys905Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys900 { + switch yys905 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -13227,12 +13282,12 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv902 := &x.Items - yym903 := z.DecBinary() - _ = yym903 + yyv907 := &x.Items + yym908 := z.DecBinary() + _ = yym908 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv902), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv907), d) } } case "defaultMode": @@ -13244,17 +13299,17 @@ func (x *SecretVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym905 := z.DecBinary() - _ = yym905 + yym910 := z.DecBinary() + _ = yym910 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys900) - } // end switch yys900 - } // end for yyj900 + z.DecStructFieldNotFound(-1, yys905) + } // end switch yys905 + } // end for yyj905 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13262,16 +13317,16 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj906 int - var yyb906 bool - var yyhl906 bool = l >= 0 - yyj906++ - if yyhl906 { - yyb906 = yyj906 > l + var yyj911 int + var yyb911 bool + var yyhl911 bool = l >= 0 + yyj911++ + if yyhl911 { + yyb911 = yyj911 > l } else { - yyb906 = r.CheckBreak() + yyb911 = r.CheckBreak() } - if yyb906 { + if yyb911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13281,13 +13336,13 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.SecretName = string(r.DecodeString()) } - yyj906++ - if yyhl906 { - yyb906 = yyj906 > l + yyj911++ + if yyhl911 { + yyb911 = yyj911 > l } else { - yyb906 = r.CheckBreak() + yyb911 = r.CheckBreak() } - if yyb906 { + if yyb911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13295,21 +13350,21 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Items = nil } else { - yyv908 := &x.Items - yym909 := z.DecBinary() - _ = yym909 + yyv913 := &x.Items + yym914 := z.DecBinary() + _ = yym914 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv908), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv913), d) } } - yyj906++ - if yyhl906 { - yyb906 = yyj906 > l + yyj911++ + if yyhl911 { + yyb911 = yyj911 > l } else { - yyb906 = r.CheckBreak() + yyb911 = r.CheckBreak() } - if yyb906 { + if yyb911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13322,25 +13377,25 @@ func (x *SecretVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym911 := z.DecBinary() - _ = yym911 + yym916 := z.DecBinary() + _ = yym916 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj906++ - if yyhl906 { - yyb906 = yyj906 > l + yyj911++ + if yyhl911 { + yyb911 = yyj911 > l } else { - yyb906 = r.CheckBreak() + yyb911 = r.CheckBreak() } - if yyb906 { + if yyb911 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj906-1, "") + z.DecStructFieldNotFound(yyj911-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13352,34 +13407,34 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym912 := z.EncBinary() - _ = yym912 + yym917 := z.EncBinary() + _ = yym917 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep913 := !z.EncBinary() - yy2arr913 := z.EncBasicHandle().StructToArray - var yyq913 [3]bool - _, _, _ = yysep913, yyq913, yy2arr913 - const yyr913 bool = false - yyq913[2] = x.ReadOnly != false - var yynn913 int - if yyr913 || yy2arr913 { + yysep918 := !z.EncBinary() + yy2arr918 := z.EncBasicHandle().StructToArray + var yyq918 [3]bool + _, _, _ = yysep918, yyq918, yy2arr918 + const yyr918 bool = false + yyq918[2] = x.ReadOnly != false + var yynn918 int + if yyr918 || yy2arr918 { r.EncodeArrayStart(3) } else { - yynn913 = 2 - for _, b := range yyq913 { + yynn918 = 2 + for _, b := range yyq918 { if b { - yynn913++ + yynn918++ } } - r.EncodeMapStart(yynn913) - yynn913 = 0 + r.EncodeMapStart(yynn918) + yynn918 = 0 } - if yyr913 || yy2arr913 { + if yyr918 || yy2arr918 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym915 := z.EncBinary() - _ = yym915 + yym920 := z.EncBinary() + _ = yym920 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) @@ -13388,17 +13443,17 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("server")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym916 := z.EncBinary() - _ = yym916 + yym921 := z.EncBinary() + _ = yym921 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Server)) } } - if yyr913 || yy2arr913 { + if yyr918 || yy2arr918 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym918 := z.EncBinary() - _ = yym918 + yym923 := z.EncBinary() + _ = yym923 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13407,18 +13462,18 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym919 := z.EncBinary() - _ = yym919 + yym924 := z.EncBinary() + _ = yym924 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr913 || yy2arr913 { + if yyr918 || yy2arr918 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq913[2] { - yym921 := z.EncBinary() - _ = yym921 + if yyq918[2] { + yym926 := z.EncBinary() + _ = yym926 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13427,19 +13482,19 @@ func (x *NFSVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq913[2] { + if yyq918[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym922 := z.EncBinary() - _ = yym922 + yym927 := z.EncBinary() + _ = yym927 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr913 || yy2arr913 { + if yyr918 || yy2arr918 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13452,25 +13507,25 @@ func (x *NFSVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym923 := z.DecBinary() - _ = yym923 + yym928 := z.DecBinary() + _ = yym928 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct924 := r.ContainerType() - if yyct924 == codecSelferValueTypeMap1234 { - yyl924 := r.ReadMapStart() - if yyl924 == 0 { + yyct929 := r.ContainerType() + if yyct929 == codecSelferValueTypeMap1234 { + yyl929 := r.ReadMapStart() + if yyl929 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl924, d) + x.codecDecodeSelfFromMap(yyl929, d) } - } else if yyct924 == codecSelferValueTypeArray1234 { - yyl924 := r.ReadArrayStart() - if yyl924 == 0 { + } else if yyct929 == codecSelferValueTypeArray1234 { + yyl929 := r.ReadArrayStart() + if yyl929 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl924, d) + x.codecDecodeSelfFromArray(yyl929, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13482,12 +13537,12 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys925Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys925Slc - var yyhl925 bool = l >= 0 - for yyj925 := 0; ; yyj925++ { - if yyhl925 { - if yyj925 >= l { + var yys930Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys930Slc + var yyhl930 bool = l >= 0 + for yyj930 := 0; ; yyj930++ { + if yyhl930 { + if yyj930 >= l { break } } else { @@ -13496,10 +13551,10 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys925Slc = r.DecodeBytes(yys925Slc, true, true) - yys925 := string(yys925Slc) + yys930Slc = r.DecodeBytes(yys930Slc, true, true) + yys930 := string(yys930Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys925 { + switch yys930 { case "server": if r.TryDecodeAsNil() { x.Server = "" @@ -13519,9 +13574,9 @@ func (x *NFSVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys925) - } // end switch yys925 - } // end for yyj925 + z.DecStructFieldNotFound(-1, yys930) + } // end switch yys930 + } // end for yyj930 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13529,16 +13584,16 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj929 int - var yyb929 bool - var yyhl929 bool = l >= 0 - yyj929++ - if yyhl929 { - yyb929 = yyj929 > l + var yyj934 int + var yyb934 bool + var yyhl934 bool = l >= 0 + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb929 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb929 { + if yyb934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13548,13 +13603,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Server = string(r.DecodeString()) } - yyj929++ - if yyhl929 { - yyb929 = yyj929 > l + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb929 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb929 { + if yyb934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13564,13 +13619,13 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj929++ - if yyhl929 { - yyb929 = yyj929 > l + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb929 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb929 { + if yyb934 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13581,17 +13636,17 @@ func (x *NFSVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } for { - yyj929++ - if yyhl929 { - yyb929 = yyj929 > l + yyj934++ + if yyhl934 { + yyb934 = yyj934 > l } else { - yyb929 = r.CheckBreak() + yyb934 = r.CheckBreak() } - if yyb929 { + if yyb934 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj929-1, "") + z.DecStructFieldNotFound(yyj934-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13603,36 +13658,36 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym933 := z.EncBinary() - _ = yym933 + yym938 := z.EncBinary() + _ = yym938 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep934 := !z.EncBinary() - yy2arr934 := z.EncBasicHandle().StructToArray - var yyq934 [6]bool - _, _, _ = yysep934, yyq934, yy2arr934 - const yyr934 bool = false - yyq934[3] = x.ISCSIInterface != "" - yyq934[4] = x.FSType != "" - yyq934[5] = x.ReadOnly != false - var yynn934 int - if yyr934 || yy2arr934 { + yysep939 := !z.EncBinary() + yy2arr939 := z.EncBasicHandle().StructToArray + var yyq939 [6]bool + _, _, _ = yysep939, yyq939, yy2arr939 + const yyr939 bool = false + yyq939[3] = x.ISCSIInterface != "" + yyq939[4] = x.FSType != "" + yyq939[5] = x.ReadOnly != false + var yynn939 int + if yyr939 || yy2arr939 { r.EncodeArrayStart(6) } else { - yynn934 = 3 - for _, b := range yyq934 { + yynn939 = 3 + for _, b := range yyq939 { if b { - yynn934++ + yynn939++ } } - r.EncodeMapStart(yynn934) - yynn934 = 0 + r.EncodeMapStart(yynn939) + yynn939 = 0 } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym936 := z.EncBinary() - _ = yym936 + yym941 := z.EncBinary() + _ = yym941 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) @@ -13641,17 +13696,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPortal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym937 := z.EncBinary() - _ = yym937 + yym942 := z.EncBinary() + _ = yym942 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TargetPortal)) } } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym939 := z.EncBinary() - _ = yym939 + yym944 := z.EncBinary() + _ = yym944 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) @@ -13660,17 +13715,17 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iqn")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym940 := z.EncBinary() - _ = yym940 + yym945 := z.EncBinary() + _ = yym945 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IQN)) } } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym942 := z.EncBinary() - _ = yym942 + yym947 := z.EncBinary() + _ = yym947 if false { } else { r.EncodeInt(int64(x.Lun)) @@ -13679,18 +13734,18 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lun")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym943 := z.EncBinary() - _ = yym943 + yym948 := z.EncBinary() + _ = yym948 if false { } else { r.EncodeInt(int64(x.Lun)) } } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq934[3] { - yym945 := z.EncBinary() - _ = yym945 + if yyq939[3] { + yym950 := z.EncBinary() + _ = yym950 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) @@ -13699,23 +13754,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq934[3] { + if yyq939[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("iscsiInterface")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym946 := z.EncBinary() - _ = yym946 + yym951 := z.EncBinary() + _ = yym951 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ISCSIInterface)) } } } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq934[4] { - yym948 := z.EncBinary() - _ = yym948 + if yyq939[4] { + yym953 := z.EncBinary() + _ = yym953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -13724,23 +13779,23 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq934[4] { + if yyq939[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym949 := z.EncBinary() - _ = yym949 + yym954 := z.EncBinary() + _ = yym954 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq934[5] { - yym951 := z.EncBinary() - _ = yym951 + if yyq939[5] { + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -13749,19 +13804,19 @@ func (x *ISCSIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq934[5] { + if yyq939[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym952 := z.EncBinary() - _ = yym952 + yym957 := z.EncBinary() + _ = yym957 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr934 || yy2arr934 { + if yyr939 || yy2arr939 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13774,25 +13829,25 @@ func (x *ISCSIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym953 := z.DecBinary() - _ = yym953 + yym958 := z.DecBinary() + _ = yym958 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct954 := r.ContainerType() - if yyct954 == codecSelferValueTypeMap1234 { - yyl954 := r.ReadMapStart() - if yyl954 == 0 { + yyct959 := r.ContainerType() + if yyct959 == codecSelferValueTypeMap1234 { + yyl959 := r.ReadMapStart() + if yyl959 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl954, d) + x.codecDecodeSelfFromMap(yyl959, d) } - } else if yyct954 == codecSelferValueTypeArray1234 { - yyl954 := r.ReadArrayStart() - if yyl954 == 0 { + } else if yyct959 == codecSelferValueTypeArray1234 { + yyl959 := r.ReadArrayStart() + if yyl959 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl954, d) + x.codecDecodeSelfFromArray(yyl959, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13804,12 +13859,12 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys955Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys955Slc - var yyhl955 bool = l >= 0 - for yyj955 := 0; ; yyj955++ { - if yyhl955 { - if yyj955 >= l { + var yys960Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys960Slc + var yyhl960 bool = l >= 0 + for yyj960 := 0; ; yyj960++ { + if yyhl960 { + if yyj960 >= l { break } } else { @@ -13818,10 +13873,10 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys955Slc = r.DecodeBytes(yys955Slc, true, true) - yys955 := string(yys955Slc) + yys960Slc = r.DecodeBytes(yys960Slc, true, true) + yys960 := string(yys960Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys955 { + switch yys960 { case "targetPortal": if r.TryDecodeAsNil() { x.TargetPortal = "" @@ -13859,9 +13914,9 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys955) - } // end switch yys955 - } // end for yyj955 + z.DecStructFieldNotFound(-1, yys960) + } // end switch yys960 + } // end for yyj960 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13869,16 +13924,16 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj962 int - var yyb962 bool - var yyhl962 bool = l >= 0 - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + var yyj967 int + var yyb967 bool + var yyhl967 bool = l >= 0 + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13888,13 +13943,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.TargetPortal = string(r.DecodeString()) } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13904,13 +13959,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.IQN = string(r.DecodeString()) } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13920,13 +13975,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Lun = int32(r.DecodeInt(32)) } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13936,13 +13991,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.ISCSIInterface = string(r.DecodeString()) } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13952,13 +14007,13 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.FSType = string(r.DecodeString()) } - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13969,17 +14024,17 @@ func (x *ISCSIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.ReadOnly = bool(r.DecodeBool()) } for { - yyj962++ - if yyhl962 { - yyb962 = yyj962 > l + yyj967++ + if yyhl967 { + yyb967 = yyj967 > l } else { - yyb962 = r.CheckBreak() + yyb967 = r.CheckBreak() } - if yyb962 { + if yyb967 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj962-1, "") + z.DecStructFieldNotFound(yyj967-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13991,38 +14046,38 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym969 := z.EncBinary() - _ = yym969 + yym974 := z.EncBinary() + _ = yym974 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep970 := !z.EncBinary() - yy2arr970 := z.EncBasicHandle().StructToArray - var yyq970 [4]bool - _, _, _ = yysep970, yyq970, yy2arr970 - const yyr970 bool = false - yyq970[2] = x.FSType != "" - yyq970[3] = x.ReadOnly != false - var yynn970 int - if yyr970 || yy2arr970 { + yysep975 := !z.EncBinary() + yy2arr975 := z.EncBasicHandle().StructToArray + var yyq975 [4]bool + _, _, _ = yysep975, yyq975, yy2arr975 + const yyr975 bool = false + yyq975[2] = x.FSType != "" + yyq975[3] = x.ReadOnly != false + var yynn975 int + if yyr975 || yy2arr975 { r.EncodeArrayStart(4) } else { - yynn970 = 2 - for _, b := range yyq970 { + yynn975 = 2 + for _, b := range yyq975 { if b { - yynn970++ + yynn975++ } } - r.EncodeMapStart(yynn970) - yynn970 = 0 + r.EncodeMapStart(yynn975) + yynn975 = 0 } - if yyr970 || yy2arr970 { + if yyr975 || yy2arr975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.TargetWWNs == nil { r.EncodeNil() } else { - yym972 := z.EncBinary() - _ = yym972 + yym977 := z.EncBinary() + _ = yym977 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) @@ -14035,25 +14090,25 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.TargetWWNs == nil { r.EncodeNil() } else { - yym973 := z.EncBinary() - _ = yym973 + yym978 := z.EncBinary() + _ = yym978 if false { } else { z.F.EncSliceStringV(x.TargetWWNs, false, e) } } } - if yyr970 || yy2arr970 { + if yyr975 || yy2arr975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Lun == nil { r.EncodeNil() } else { - yy975 := *x.Lun - yym976 := z.EncBinary() - _ = yym976 + yy980 := *x.Lun + yym981 := z.EncBinary() + _ = yym981 if false { } else { - r.EncodeInt(int64(yy975)) + r.EncodeInt(int64(yy980)) } } } else { @@ -14063,20 +14118,20 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x.Lun == nil { r.EncodeNil() } else { - yy977 := *x.Lun - yym978 := z.EncBinary() - _ = yym978 + yy982 := *x.Lun + yym983 := z.EncBinary() + _ = yym983 if false { } else { - r.EncodeInt(int64(yy977)) + r.EncodeInt(int64(yy982)) } } } - if yyr970 || yy2arr970 { + if yyr975 || yy2arr975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq970[2] { - yym980 := z.EncBinary() - _ = yym980 + if yyq975[2] { + yym985 := z.EncBinary() + _ = yym985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -14085,23 +14140,23 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq970[2] { + if yyq975[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym981 := z.EncBinary() - _ = yym981 + yym986 := z.EncBinary() + _ = yym986 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr970 || yy2arr970 { + if yyr975 || yy2arr975 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq970[3] { - yym983 := z.EncBinary() - _ = yym983 + if yyq975[3] { + yym988 := z.EncBinary() + _ = yym988 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -14110,19 +14165,19 @@ func (x *FCVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq970[3] { + if yyq975[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym984 := z.EncBinary() - _ = yym984 + yym989 := z.EncBinary() + _ = yym989 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr970 || yy2arr970 { + if yyr975 || yy2arr975 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14135,25 +14190,25 @@ func (x *FCVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym985 := z.DecBinary() - _ = yym985 + yym990 := z.DecBinary() + _ = yym990 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct986 := r.ContainerType() - if yyct986 == codecSelferValueTypeMap1234 { - yyl986 := r.ReadMapStart() - if yyl986 == 0 { + yyct991 := r.ContainerType() + if yyct991 == codecSelferValueTypeMap1234 { + yyl991 := r.ReadMapStart() + if yyl991 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl986, d) + x.codecDecodeSelfFromMap(yyl991, d) } - } else if yyct986 == codecSelferValueTypeArray1234 { - yyl986 := r.ReadArrayStart() - if yyl986 == 0 { + } else if yyct991 == codecSelferValueTypeArray1234 { + yyl991 := r.ReadArrayStart() + if yyl991 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl986, d) + x.codecDecodeSelfFromArray(yyl991, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14165,12 +14220,12 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys987Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys987Slc - var yyhl987 bool = l >= 0 - for yyj987 := 0; ; yyj987++ { - if yyhl987 { - if yyj987 >= l { + var yys992Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys992Slc + var yyhl992 bool = l >= 0 + for yyj992 := 0; ; yyj992++ { + if yyhl992 { + if yyj992 >= l { break } } else { @@ -14179,20 +14234,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys987Slc = r.DecodeBytes(yys987Slc, true, true) - yys987 := string(yys987Slc) + yys992Slc = r.DecodeBytes(yys992Slc, true, true) + yys992 := string(yys992Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys987 { + switch yys992 { case "targetWWNs": if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv988 := &x.TargetWWNs - yym989 := z.DecBinary() - _ = yym989 + yyv993 := &x.TargetWWNs + yym994 := z.DecBinary() + _ = yym994 if false { } else { - z.F.DecSliceStringX(yyv988, false, d) + z.F.DecSliceStringX(yyv993, false, d) } } case "lun": @@ -14204,8 +14259,8 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym991 := z.DecBinary() - _ = yym991 + yym996 := z.DecBinary() + _ = yym996 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) @@ -14224,9 +14279,9 @@ func (x *FCVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys987) - } // end switch yys987 - } // end for yyj987 + z.DecStructFieldNotFound(-1, yys992) + } // end switch yys992 + } // end for yyj992 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14234,16 +14289,16 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj994 int - var yyb994 bool - var yyhl994 bool = l >= 0 - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + var yyj999 int + var yyb999 bool + var yyhl999 bool = l >= 0 + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l } else { - yyb994 = r.CheckBreak() + yyb999 = r.CheckBreak() } - if yyb994 { + if yyb999 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14251,21 +14306,21 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetWWNs = nil } else { - yyv995 := &x.TargetWWNs - yym996 := z.DecBinary() - _ = yym996 + yyv1000 := &x.TargetWWNs + yym1001 := z.DecBinary() + _ = yym1001 if false { } else { - z.F.DecSliceStringX(yyv995, false, d) + z.F.DecSliceStringX(yyv1000, false, d) } } - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l } else { - yyb994 = r.CheckBreak() + yyb999 = r.CheckBreak() } - if yyb994 { + if yyb999 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14278,20 +14333,20 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Lun == nil { x.Lun = new(int32) } - yym998 := z.DecBinary() - _ = yym998 + yym1003 := z.DecBinary() + _ = yym1003 if false { } else { *((*int32)(x.Lun)) = int32(r.DecodeInt(32)) } } - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l } else { - yyb994 = r.CheckBreak() + yyb999 = r.CheckBreak() } - if yyb994 { + if yyb999 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14301,13 +14356,13 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.FSType = string(r.DecodeString()) } - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l } else { - yyb994 = r.CheckBreak() + yyb999 = r.CheckBreak() } - if yyb994 { + if yyb999 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14318,17 +14373,17 @@ func (x *FCVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ReadOnly = bool(r.DecodeBool()) } for { - yyj994++ - if yyhl994 { - yyb994 = yyj994 > l + yyj999++ + if yyhl999 { + yyb999 = yyj999 > l } else { - yyb994 = r.CheckBreak() + yyb999 = r.CheckBreak() } - if yyb994 { + if yyb999 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj994-1, "") + z.DecStructFieldNotFound(yyj999-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14340,34 +14395,34 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1001 := z.EncBinary() - _ = yym1001 + yym1006 := z.EncBinary() + _ = yym1006 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1002 := !z.EncBinary() - yy2arr1002 := z.EncBasicHandle().StructToArray - var yyq1002 [3]bool - _, _, _ = yysep1002, yyq1002, yy2arr1002 - const yyr1002 bool = false - yyq1002[2] = x.ReadOnly != false - var yynn1002 int - if yyr1002 || yy2arr1002 { + yysep1007 := !z.EncBinary() + yy2arr1007 := z.EncBasicHandle().StructToArray + var yyq1007 [3]bool + _, _, _ = yysep1007, yyq1007, yy2arr1007 + const yyr1007 bool = false + yyq1007[2] = x.ReadOnly != false + var yynn1007 int + if yyr1007 || yy2arr1007 { r.EncodeArrayStart(3) } else { - yynn1002 = 2 - for _, b := range yyq1002 { + yynn1007 = 2 + for _, b := range yyq1007 { if b { - yynn1002++ + yynn1007++ } } - r.EncodeMapStart(yynn1002) - yynn1002 = 0 + r.EncodeMapStart(yynn1007) + yynn1007 = 0 } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1004 := z.EncBinary() - _ = yym1004 + yym1009 := z.EncBinary() + _ = yym1009 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -14376,17 +14431,17 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1005 := z.EncBinary() - _ = yym1005 + yym1010 := z.EncBinary() + _ = yym1010 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1007 := z.EncBinary() - _ = yym1007 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) @@ -14395,18 +14450,18 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("shareName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1008 := z.EncBinary() - _ = yym1008 + yym1013 := z.EncBinary() + _ = yym1013 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ShareName)) } } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1002[2] { - yym1010 := z.EncBinary() - _ = yym1010 + if yyq1007[2] { + yym1015 := z.EncBinary() + _ = yym1015 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -14415,19 +14470,19 @@ func (x *AzureFileVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1002[2] { + if yyq1007[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1011 := z.EncBinary() - _ = yym1011 + yym1016 := z.EncBinary() + _ = yym1016 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr1002 || yy2arr1002 { + if yyr1007 || yy2arr1007 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14440,25 +14495,25 @@ func (x *AzureFileVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1012 := z.DecBinary() - _ = yym1012 + yym1017 := z.DecBinary() + _ = yym1017 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1013 := r.ContainerType() - if yyct1013 == codecSelferValueTypeMap1234 { - yyl1013 := r.ReadMapStart() - if yyl1013 == 0 { + yyct1018 := r.ContainerType() + if yyct1018 == codecSelferValueTypeMap1234 { + yyl1018 := r.ReadMapStart() + if yyl1018 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1013, d) + x.codecDecodeSelfFromMap(yyl1018, d) } - } else if yyct1013 == codecSelferValueTypeArray1234 { - yyl1013 := r.ReadArrayStart() - if yyl1013 == 0 { + } else if yyct1018 == codecSelferValueTypeArray1234 { + yyl1018 := r.ReadArrayStart() + if yyl1018 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1013, d) + x.codecDecodeSelfFromArray(yyl1018, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14470,12 +14525,12 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1014Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1014Slc - var yyhl1014 bool = l >= 0 - for yyj1014 := 0; ; yyj1014++ { - if yyhl1014 { - if yyj1014 >= l { + var yys1019Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1019Slc + var yyhl1019 bool = l >= 0 + for yyj1019 := 0; ; yyj1019++ { + if yyhl1019 { + if yyj1019 >= l { break } } else { @@ -14484,10 +14539,10 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1014Slc = r.DecodeBytes(yys1014Slc, true, true) - yys1014 := string(yys1014Slc) + yys1019Slc = r.DecodeBytes(yys1019Slc, true, true) + yys1019 := string(yys1019Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1014 { + switch yys1019 { case "secretName": if r.TryDecodeAsNil() { x.SecretName = "" @@ -14507,9 +14562,9 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnly = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1014) - } // end switch yys1014 - } // end for yyj1014 + z.DecStructFieldNotFound(-1, yys1019) + } // end switch yys1019 + } // end for yyj1019 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14517,16 +14572,16 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1018 int - var yyb1018 bool - var yyhl1018 bool = l >= 0 - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + var yyj1023 int + var yyb1023 bool + var yyhl1023 bool = l >= 0 + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14536,13 +14591,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.SecretName = string(r.DecodeString()) } - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14552,13 +14607,13 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ShareName = string(r.DecodeString()) } - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14569,17 +14624,17 @@ func (x *AzureFileVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnly = bool(r.DecodeBool()) } for { - yyj1018++ - if yyhl1018 { - yyb1018 = yyj1018 > l + yyj1023++ + if yyhl1023 { + yyb1023 = yyj1023 > l } else { - yyb1018 = r.CheckBreak() + yyb1023 = r.CheckBreak() } - if yyb1018 { + if yyb1023 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1018-1, "") + z.DecStructFieldNotFound(yyj1023-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14591,34 +14646,34 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1022 := z.EncBinary() - _ = yym1022 + yym1027 := z.EncBinary() + _ = yym1027 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1023 := !z.EncBinary() - yy2arr1023 := z.EncBasicHandle().StructToArray - var yyq1023 [2]bool - _, _, _ = yysep1023, yyq1023, yy2arr1023 - const yyr1023 bool = false - yyq1023[1] = x.FSType != "" - var yynn1023 int - if yyr1023 || yy2arr1023 { + yysep1028 := !z.EncBinary() + yy2arr1028 := z.EncBasicHandle().StructToArray + var yyq1028 [2]bool + _, _, _ = yysep1028, yyq1028, yy2arr1028 + const yyr1028 bool = false + yyq1028[1] = x.FSType != "" + var yynn1028 int + if yyr1028 || yy2arr1028 { r.EncodeArrayStart(2) } else { - yynn1023 = 1 - for _, b := range yyq1023 { + yynn1028 = 1 + for _, b := range yyq1028 { if b { - yynn1023++ + yynn1028++ } } - r.EncodeMapStart(yynn1023) - yynn1023 = 0 + r.EncodeMapStart(yynn1028) + yynn1028 = 0 } - if yyr1023 || yy2arr1023 { + if yyr1028 || yy2arr1028 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1025 := z.EncBinary() - _ = yym1025 + yym1030 := z.EncBinary() + _ = yym1030 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) @@ -14627,18 +14682,18 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1026 := z.EncBinary() - _ = yym1026 + yym1031 := z.EncBinary() + _ = yym1031 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.VolumePath)) } } - if yyr1023 || yy2arr1023 { + if yyr1028 || yy2arr1028 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1023[1] { - yym1028 := z.EncBinary() - _ = yym1028 + if yyq1028[1] { + yym1033 := z.EncBinary() + _ = yym1033 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) @@ -14647,19 +14702,19 @@ func (x *VsphereVirtualDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1023[1] { + if yyq1028[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1029 := z.EncBinary() - _ = yym1029 + yym1034 := z.EncBinary() + _ = yym1034 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FSType)) } } } - if yyr1023 || yy2arr1023 { + if yyr1028 || yy2arr1028 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14672,25 +14727,25 @@ func (x *VsphereVirtualDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1030 := z.DecBinary() - _ = yym1030 + yym1035 := z.DecBinary() + _ = yym1035 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1031 := r.ContainerType() - if yyct1031 == codecSelferValueTypeMap1234 { - yyl1031 := r.ReadMapStart() - if yyl1031 == 0 { + yyct1036 := r.ContainerType() + if yyct1036 == codecSelferValueTypeMap1234 { + yyl1036 := r.ReadMapStart() + if yyl1036 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1031, d) + x.codecDecodeSelfFromMap(yyl1036, d) } - } else if yyct1031 == codecSelferValueTypeArray1234 { - yyl1031 := r.ReadArrayStart() - if yyl1031 == 0 { + } else if yyct1036 == codecSelferValueTypeArray1234 { + yyl1036 := r.ReadArrayStart() + if yyl1036 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1031, d) + x.codecDecodeSelfFromArray(yyl1036, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14702,12 +14757,12 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1032Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1032Slc - var yyhl1032 bool = l >= 0 - for yyj1032 := 0; ; yyj1032++ { - if yyhl1032 { - if yyj1032 >= l { + var yys1037Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1037Slc + var yyhl1037 bool = l >= 0 + for yyj1037 := 0; ; yyj1037++ { + if yyhl1037 { + if yyj1037 >= l { break } } else { @@ -14716,10 +14771,10 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1032Slc = r.DecodeBytes(yys1032Slc, true, true) - yys1032 := string(yys1032Slc) + yys1037Slc = r.DecodeBytes(yys1037Slc, true, true) + yys1037 := string(yys1037Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1032 { + switch yys1037 { case "volumePath": if r.TryDecodeAsNil() { x.VolumePath = "" @@ -14733,9 +14788,9 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1 x.FSType = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1032) - } // end switch yys1032 - } // end for yyj1032 + z.DecStructFieldNotFound(-1, yys1037) + } // end switch yys1037 + } // end for yyj1037 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14743,16 +14798,16 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1035 int - var yyb1035 bool - var yyhl1035 bool = l >= 0 - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + var yyj1040 int + var yyb1040 bool + var yyhl1040 bool = l >= 0 + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb1035 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb1035 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14762,13 +14817,13 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code } else { x.VolumePath = string(r.DecodeString()) } - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb1035 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb1035 { + if yyb1040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14779,17 +14834,17 @@ func (x *VsphereVirtualDiskVolumeSource) codecDecodeSelfFromArray(l int, d *code x.FSType = string(r.DecodeString()) } for { - yyj1035++ - if yyhl1035 { - yyb1035 = yyj1035 > l + yyj1040++ + if yyhl1040 { + yyb1040 = yyj1040 > l } else { - yyb1035 = r.CheckBreak() + yyb1040 = r.CheckBreak() } - if yyb1035 { + if yyb1040 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1035-1, "") + z.DecStructFieldNotFound(yyj1040-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14798,8 +14853,8 @@ func (x AzureDataDiskCachingMode) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1038 := z.EncBinary() - _ = yym1038 + yym1043 := z.EncBinary() + _ = yym1043 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -14811,8 +14866,8 @@ func (x *AzureDataDiskCachingMode) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1039 := z.DecBinary() - _ = yym1039 + yym1044 := z.DecBinary() + _ = yym1044 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -14827,36 +14882,36 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1040 := z.EncBinary() - _ = yym1040 + yym1045 := z.EncBinary() + _ = yym1045 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1041 := !z.EncBinary() - yy2arr1041 := z.EncBasicHandle().StructToArray - var yyq1041 [5]bool - _, _, _ = yysep1041, yyq1041, yy2arr1041 - const yyr1041 bool = false - yyq1041[2] = x.CachingMode != nil - yyq1041[3] = x.FSType != nil - yyq1041[4] = x.ReadOnly != nil - var yynn1041 int - if yyr1041 || yy2arr1041 { + yysep1046 := !z.EncBinary() + yy2arr1046 := z.EncBasicHandle().StructToArray + var yyq1046 [5]bool + _, _, _ = yysep1046, yyq1046, yy2arr1046 + const yyr1046 bool = false + yyq1046[2] = x.CachingMode != nil + yyq1046[3] = x.FSType != nil + yyq1046[4] = x.ReadOnly != nil + var yynn1046 int + if yyr1046 || yy2arr1046 { r.EncodeArrayStart(5) } else { - yynn1041 = 2 - for _, b := range yyq1041 { + yynn1046 = 2 + for _, b := range yyq1046 { if b { - yynn1041++ + yynn1046++ } } - r.EncodeMapStart(yynn1041) - yynn1041 = 0 + r.EncodeMapStart(yynn1046) + yynn1046 = 0 } - if yyr1041 || yy2arr1041 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1043 := z.EncBinary() - _ = yym1043 + yym1048 := z.EncBinary() + _ = yym1048 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DiskName)) @@ -14865,17 +14920,17 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("diskName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1044 := z.EncBinary() - _ = yym1044 + yym1049 := z.EncBinary() + _ = yym1049 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DiskName)) } } - if yyr1041 || yy2arr1041 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1046 := z.EncBinary() - _ = yym1046 + yym1051 := z.EncBinary() + _ = yym1051 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DataDiskURI)) @@ -14884,109 +14939,109 @@ func (x *AzureDiskVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("diskURI")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1047 := z.EncBinary() - _ = yym1047 + yym1052 := z.EncBinary() + _ = yym1052 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DataDiskURI)) } } - if yyr1041 || yy2arr1041 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[2] { + if yyq1046[2] { if x.CachingMode == nil { r.EncodeNil() } else { - yy1049 := *x.CachingMode - yy1049.CodecEncodeSelf(e) + yy1054 := *x.CachingMode + yy1054.CodecEncodeSelf(e) } } else { r.EncodeNil() } } else { - if yyq1041[2] { + if yyq1046[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("cachingMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CachingMode == nil { r.EncodeNil() } else { - yy1050 := *x.CachingMode - yy1050.CodecEncodeSelf(e) + yy1055 := *x.CachingMode + yy1055.CodecEncodeSelf(e) } } } - if yyr1041 || yy2arr1041 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[3] { + if yyq1046[3] { if x.FSType == nil { r.EncodeNil() } else { - yy1052 := *x.FSType - yym1053 := z.EncBinary() - _ = yym1053 + yy1057 := *x.FSType + yym1058 := z.EncBinary() + _ = yym1058 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1052)) + r.EncodeString(codecSelferC_UTF81234, string(yy1057)) } } } else { r.EncodeNil() } } else { - if yyq1041[3] { + if yyq1046[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSType == nil { r.EncodeNil() } else { - yy1054 := *x.FSType - yym1055 := z.EncBinary() - _ = yym1055 + yy1059 := *x.FSType + yym1060 := z.EncBinary() + _ = yym1060 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1054)) + r.EncodeString(codecSelferC_UTF81234, string(yy1059)) } } } } - if yyr1041 || yy2arr1041 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1041[4] { + if yyq1046[4] { if x.ReadOnly == nil { r.EncodeNil() } else { - yy1057 := *x.ReadOnly - yym1058 := z.EncBinary() - _ = yym1058 + yy1062 := *x.ReadOnly + yym1063 := z.EncBinary() + _ = yym1063 if false { } else { - r.EncodeBool(bool(yy1057)) + r.EncodeBool(bool(yy1062)) } } } else { r.EncodeNil() } } else { - if yyq1041[4] { + if yyq1046[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnly == nil { r.EncodeNil() } else { - yy1059 := *x.ReadOnly - yym1060 := z.EncBinary() - _ = yym1060 + yy1064 := *x.ReadOnly + yym1065 := z.EncBinary() + _ = yym1065 if false { } else { - r.EncodeBool(bool(yy1059)) + r.EncodeBool(bool(yy1064)) } } } } - if yyr1041 || yy2arr1041 { + if yyr1046 || yy2arr1046 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14999,25 +15054,25 @@ func (x *AzureDiskVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1061 := z.DecBinary() - _ = yym1061 + yym1066 := z.DecBinary() + _ = yym1066 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1062 := r.ContainerType() - if yyct1062 == codecSelferValueTypeMap1234 { - yyl1062 := r.ReadMapStart() - if yyl1062 == 0 { + yyct1067 := r.ContainerType() + if yyct1067 == codecSelferValueTypeMap1234 { + yyl1067 := r.ReadMapStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1062, d) + x.codecDecodeSelfFromMap(yyl1067, d) } - } else if yyct1062 == codecSelferValueTypeArray1234 { - yyl1062 := r.ReadArrayStart() - if yyl1062 == 0 { + } else if yyct1067 == codecSelferValueTypeArray1234 { + yyl1067 := r.ReadArrayStart() + if yyl1067 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1062, d) + x.codecDecodeSelfFromArray(yyl1067, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15029,12 +15084,12 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1063Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1063Slc - var yyhl1063 bool = l >= 0 - for yyj1063 := 0; ; yyj1063++ { - if yyhl1063 { - if yyj1063 >= 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 { @@ -15043,10 +15098,10 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1063Slc = r.DecodeBytes(yys1063Slc, true, true) - yys1063 := string(yys1063Slc) + yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) + yys1068 := string(yys1068Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1063 { + switch yys1068 { case "diskName": if r.TryDecodeAsNil() { x.DiskName = "" @@ -15079,8 +15134,8 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.FSType == nil { x.FSType = new(string) } - yym1068 := z.DecBinary() - _ = yym1068 + yym1073 := z.DecBinary() + _ = yym1073 if false { } else { *((*string)(x.FSType)) = r.DecodeString() @@ -15095,17 +15150,17 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.ReadOnly == nil { x.ReadOnly = new(bool) } - yym1070 := z.DecBinary() - _ = yym1070 + yym1075 := z.DecBinary() + _ = yym1075 if false { } else { *((*bool)(x.ReadOnly)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys1063) - } // end switch yys1063 - } // end for yyj1063 + z.DecStructFieldNotFound(-1, yys1068) + } // end switch yys1068 + } // end for yyj1068 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15113,16 +15168,16 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1071 int - var yyb1071 bool - var yyhl1071 bool = l >= 0 - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + var yyj1076 int + var yyb1076 bool + var yyhl1076 bool = l >= 0 + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l } else { - yyb1071 = r.CheckBreak() + yyb1076 = r.CheckBreak() } - if yyb1071 { + if yyb1076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15132,13 +15187,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.DiskName = string(r.DecodeString()) } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l } else { - yyb1071 = r.CheckBreak() + yyb1076 = r.CheckBreak() } - if yyb1071 { + if yyb1076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15148,13 +15203,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.DataDiskURI = string(r.DecodeString()) } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l } else { - yyb1071 = r.CheckBreak() + yyb1076 = r.CheckBreak() } - if yyb1071 { + if yyb1076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15169,13 +15224,13 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.CachingMode.CodecDecodeSelf(d) } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l } else { - yyb1071 = r.CheckBreak() + yyb1076 = r.CheckBreak() } - if yyb1071 { + if yyb1076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15188,20 +15243,20 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.FSType == nil { x.FSType = new(string) } - yym1076 := z.DecBinary() - _ = yym1076 + yym1081 := z.DecBinary() + _ = yym1081 if false { } else { *((*string)(x.FSType)) = r.DecodeString() } } - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l } else { - yyb1071 = r.CheckBreak() + yyb1076 = r.CheckBreak() } - if yyb1071 { + if yyb1076 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15214,25 +15269,25 @@ func (x *AzureDiskVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.ReadOnly == nil { x.ReadOnly = new(bool) } - yym1078 := z.DecBinary() - _ = yym1078 + yym1083 := z.DecBinary() + _ = yym1083 if false { } else { *((*bool)(x.ReadOnly)) = r.DecodeBool() } } for { - yyj1071++ - if yyhl1071 { - yyb1071 = yyj1071 > l + yyj1076++ + if yyhl1076 { + yyb1076 = yyj1076 > l } else { - yyb1071 = r.CheckBreak() + yyb1076 = r.CheckBreak() } - if yyb1071 { + if yyb1076 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1071-1, "") + z.DecStructFieldNotFound(yyj1076-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15244,37 +15299,37 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1079 := z.EncBinary() - _ = yym1079 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1080 := !z.EncBinary() - yy2arr1080 := z.EncBasicHandle().StructToArray - var yyq1080 [3]bool - _, _, _ = yysep1080, yyq1080, yy2arr1080 - const yyr1080 bool = false - yyq1080[0] = x.Name != "" - yyq1080[1] = len(x.Items) != 0 - yyq1080[2] = x.DefaultMode != nil - var yynn1080 int - if yyr1080 || yy2arr1080 { + yysep1085 := !z.EncBinary() + yy2arr1085 := z.EncBasicHandle().StructToArray + var yyq1085 [3]bool + _, _, _ = yysep1085, yyq1085, yy2arr1085 + const yyr1085 bool = false + yyq1085[0] = x.Name != "" + yyq1085[1] = len(x.Items) != 0 + yyq1085[2] = x.DefaultMode != nil + var yynn1085 int + if yyr1085 || yy2arr1085 { r.EncodeArrayStart(3) } else { - yynn1080 = 0 - for _, b := range yyq1080 { + yynn1085 = 0 + for _, b := range yyq1085 { if b { - yynn1080++ + yynn1085++ } } - r.EncodeMapStart(yynn1080) - yynn1080 = 0 + r.EncodeMapStart(yynn1085) + yynn1085 = 0 } - if yyr1080 || yy2arr1080 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1080[0] { - yym1082 := z.EncBinary() - _ = yym1082 + if yyq1085[0] { + yym1087 := z.EncBinary() + _ = yym1087 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15283,26 +15338,26 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1080[0] { + if yyq1085[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1083 := z.EncBinary() - _ = yym1083 + yym1088 := z.EncBinary() + _ = yym1088 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1080 || yy2arr1080 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1080[1] { + if yyq1085[1] { if x.Items == nil { r.EncodeNil() } else { - yym1085 := z.EncBinary() - _ = yym1085 + yym1090 := z.EncBinary() + _ = yym1090 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -15312,15 +15367,15 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1080[1] { + if yyq1085[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym1086 := z.EncBinary() - _ = yym1086 + yym1091 := z.EncBinary() + _ = yym1091 if false { } else { h.encSliceKeyToPath(([]KeyToPath)(x.Items), e) @@ -15328,42 +15383,42 @@ func (x *ConfigMapVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1080 || yy2arr1080 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1080[2] { + if yyq1085[2] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy1088 := *x.DefaultMode - yym1089 := z.EncBinary() - _ = yym1089 + yy1093 := *x.DefaultMode + yym1094 := z.EncBinary() + _ = yym1094 if false { } else { - r.EncodeInt(int64(yy1088)) + r.EncodeInt(int64(yy1093)) } } } else { r.EncodeNil() } } else { - if yyq1080[2] { + if yyq1085[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy1090 := *x.DefaultMode - yym1091 := z.EncBinary() - _ = yym1091 + yy1095 := *x.DefaultMode + yym1096 := z.EncBinary() + _ = yym1096 if false { } else { - r.EncodeInt(int64(yy1090)) + r.EncodeInt(int64(yy1095)) } } } } - if yyr1080 || yy2arr1080 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15376,25 +15431,25 @@ func (x *ConfigMapVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1092 := z.DecBinary() - _ = yym1092 + yym1097 := z.DecBinary() + _ = yym1097 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1093 := r.ContainerType() - if yyct1093 == codecSelferValueTypeMap1234 { - yyl1093 := r.ReadMapStart() - if yyl1093 == 0 { + yyct1098 := r.ContainerType() + if yyct1098 == codecSelferValueTypeMap1234 { + yyl1098 := r.ReadMapStart() + if yyl1098 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1093, d) + x.codecDecodeSelfFromMap(yyl1098, d) } - } else if yyct1093 == codecSelferValueTypeArray1234 { - yyl1093 := r.ReadArrayStart() - if yyl1093 == 0 { + } else if yyct1098 == codecSelferValueTypeArray1234 { + yyl1098 := r.ReadArrayStart() + if yyl1098 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1093, d) + x.codecDecodeSelfFromArray(yyl1098, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15406,12 +15461,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod 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 yys1099Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1099Slc + var yyhl1099 bool = l >= 0 + for yyj1099 := 0; ; yyj1099++ { + if yyhl1099 { + if yyj1099 >= l { break } } else { @@ -15420,10 +15475,10 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1094Slc = r.DecodeBytes(yys1094Slc, true, true) - yys1094 := string(yys1094Slc) + yys1099Slc = r.DecodeBytes(yys1099Slc, true, true) + yys1099 := string(yys1099Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1094 { + switch yys1099 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -15434,12 +15489,12 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1096 := &x.Items - yym1097 := z.DecBinary() - _ = yym1097 + yyv1101 := &x.Items + yym1102 := z.DecBinary() + _ = yym1102 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv1096), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv1101), d) } } case "defaultMode": @@ -15451,17 +15506,17 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1099 := z.DecBinary() - _ = yym1099 + yym1104 := z.DecBinary() + _ = yym1104 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1094) - } // end switch yys1094 - } // end for yyj1094 + z.DecStructFieldNotFound(-1, yys1099) + } // end switch yys1099 + } // end for yyj1099 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15469,16 +15524,16 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1100 int - var yyb1100 bool - var yyhl1100 bool = l >= 0 - yyj1100++ - if yyhl1100 { - yyb1100 = yyj1100 > l + var yyj1105 int + var yyb1105 bool + var yyhl1105 bool = l >= 0 + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1100 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1100 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15488,13 +15543,13 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Name = string(r.DecodeString()) } - yyj1100++ - if yyhl1100 { - yyb1100 = yyj1100 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1100 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1100 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15502,21 +15557,21 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1102 := &x.Items - yym1103 := z.DecBinary() - _ = yym1103 + yyv1107 := &x.Items + yym1108 := z.DecBinary() + _ = yym1108 if false { } else { - h.decSliceKeyToPath((*[]KeyToPath)(yyv1102), d) + h.decSliceKeyToPath((*[]KeyToPath)(yyv1107), d) } } - yyj1100++ - if yyhl1100 { - yyb1100 = yyj1100 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1100 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1100 { + if yyb1105 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15529,25 +15584,25 @@ func (x *ConfigMapVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym1105 := z.DecBinary() - _ = yym1105 + yym1110 := z.DecBinary() + _ = yym1110 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj1100++ - if yyhl1100 { - yyb1100 = yyj1100 > l + yyj1105++ + if yyhl1105 { + yyb1105 = yyj1105 > l } else { - yyb1100 = r.CheckBreak() + yyb1105 = r.CheckBreak() } - if yyb1100 { + if yyb1105 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1100-1, "") + z.DecStructFieldNotFound(yyj1105-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15559,34 +15614,34 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1106 := z.EncBinary() - _ = yym1106 + yym1111 := z.EncBinary() + _ = yym1111 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1107 := !z.EncBinary() - yy2arr1107 := z.EncBasicHandle().StructToArray - var yyq1107 [3]bool - _, _, _ = yysep1107, yyq1107, yy2arr1107 - const yyr1107 bool = false - yyq1107[2] = x.Mode != nil - var yynn1107 int - if yyr1107 || yy2arr1107 { + yysep1112 := !z.EncBinary() + yy2arr1112 := z.EncBasicHandle().StructToArray + var yyq1112 [3]bool + _, _, _ = yysep1112, yyq1112, yy2arr1112 + const yyr1112 bool = false + yyq1112[2] = x.Mode != nil + var yynn1112 int + if yyr1112 || yy2arr1112 { r.EncodeArrayStart(3) } else { - yynn1107 = 2 - for _, b := range yyq1107 { + yynn1112 = 2 + for _, b := range yyq1112 { if b { - yynn1107++ + yynn1112++ } } - r.EncodeMapStart(yynn1107) - yynn1107 = 0 + r.EncodeMapStart(yynn1112) + yynn1112 = 0 } - if yyr1107 || yy2arr1107 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1109 := z.EncBinary() - _ = yym1109 + yym1114 := z.EncBinary() + _ = yym1114 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -15595,17 +15650,17 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1110 := z.EncBinary() - _ = yym1110 + yym1115 := z.EncBinary() + _ = yym1115 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1107 || yy2arr1107 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1112 := z.EncBinary() - _ = yym1112 + yym1117 := z.EncBinary() + _ = yym1117 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -15614,49 +15669,49 @@ func (x *KeyToPath) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1113 := z.EncBinary() - _ = yym1113 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr1107 || yy2arr1107 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1107[2] { + if yyq1112[2] { if x.Mode == nil { r.EncodeNil() } else { - yy1115 := *x.Mode - yym1116 := z.EncBinary() - _ = yym1116 + yy1120 := *x.Mode + yym1121 := z.EncBinary() + _ = yym1121 if false { } else { - r.EncodeInt(int64(yy1115)) + r.EncodeInt(int64(yy1120)) } } } else { r.EncodeNil() } } else { - if yyq1107[2] { + if yyq1112[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy1117 := *x.Mode - yym1118 := z.EncBinary() - _ = yym1118 + yy1122 := *x.Mode + yym1123 := z.EncBinary() + _ = yym1123 if false { } else { - r.EncodeInt(int64(yy1117)) + r.EncodeInt(int64(yy1122)) } } } } - if yyr1107 || yy2arr1107 { + if yyr1112 || yy2arr1112 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15669,25 +15724,25 @@ func (x *KeyToPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1119 := z.DecBinary() - _ = yym1119 + yym1124 := z.DecBinary() + _ = yym1124 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1120 := r.ContainerType() - if yyct1120 == codecSelferValueTypeMap1234 { - yyl1120 := r.ReadMapStart() - if yyl1120 == 0 { + yyct1125 := r.ContainerType() + if yyct1125 == codecSelferValueTypeMap1234 { + yyl1125 := r.ReadMapStart() + if yyl1125 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1120, d) + x.codecDecodeSelfFromMap(yyl1125, d) } - } else if yyct1120 == codecSelferValueTypeArray1234 { - yyl1120 := r.ReadArrayStart() - if yyl1120 == 0 { + } else if yyct1125 == codecSelferValueTypeArray1234 { + yyl1125 := r.ReadArrayStart() + if yyl1125 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1120, d) + x.codecDecodeSelfFromArray(yyl1125, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15699,12 +15754,12 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1121Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1121Slc - var yyhl1121 bool = l >= 0 - for yyj1121 := 0; ; yyj1121++ { - if yyhl1121 { - if yyj1121 >= l { + var yys1126Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1126Slc + var yyhl1126 bool = l >= 0 + for yyj1126 := 0; ; yyj1126++ { + if yyhl1126 { + if yyj1126 >= l { break } } else { @@ -15713,10 +15768,10 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1121Slc = r.DecodeBytes(yys1121Slc, true, true) - yys1121 := string(yys1121Slc) + yys1126Slc = r.DecodeBytes(yys1126Slc, true, true) + yys1126 := string(yys1126Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1121 { + switch yys1126 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -15738,17 +15793,17 @@ func (x *KeyToPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Mode == nil { x.Mode = new(int32) } - yym1125 := z.DecBinary() - _ = yym1125 + yym1130 := z.DecBinary() + _ = yym1130 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys1121) - } // end switch yys1121 - } // end for yyj1121 + z.DecStructFieldNotFound(-1, yys1126) + } // end switch yys1126 + } // end for yyj1126 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15756,16 +15811,16 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1126 int - var yyb1126 bool - var yyhl1126 bool = l >= 0 - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + var yyj1131 int + var yyb1131 bool + var yyhl1131 bool = l >= 0 + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb1126 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb1126 { + if yyb1131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15775,13 +15830,13 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb1126 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb1126 { + if yyb1131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15791,13 +15846,13 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb1126 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb1126 { + if yyb1131 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15810,25 +15865,25 @@ func (x *KeyToPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Mode == nil { x.Mode = new(int32) } - yym1130 := z.DecBinary() - _ = yym1130 + yym1135 := z.DecBinary() + _ = yym1135 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj1126++ - if yyhl1126 { - yyb1126 = yyj1126 > l + yyj1131++ + if yyhl1131 { + yyb1131 = yyj1131 > l } else { - yyb1126 = r.CheckBreak() + yyb1131 = r.CheckBreak() } - if yyb1126 { + if yyb1131 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1126-1, "") + z.DecStructFieldNotFound(yyj1131-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15840,38 +15895,38 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1131 := z.EncBinary() - _ = yym1131 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1132 := !z.EncBinary() - yy2arr1132 := z.EncBasicHandle().StructToArray - var yyq1132 [5]bool - _, _, _ = yysep1132, yyq1132, yy2arr1132 - const yyr1132 bool = false - yyq1132[0] = x.Name != "" - yyq1132[1] = x.HostPort != 0 - yyq1132[3] = x.Protocol != "" - yyq1132[4] = x.HostIP != "" - var yynn1132 int - if yyr1132 || yy2arr1132 { + yysep1137 := !z.EncBinary() + yy2arr1137 := z.EncBasicHandle().StructToArray + var yyq1137 [5]bool + _, _, _ = yysep1137, yyq1137, yy2arr1137 + const yyr1137 bool = false + yyq1137[0] = x.Name != "" + yyq1137[1] = x.HostPort != 0 + yyq1137[3] = x.Protocol != "" + yyq1137[4] = x.HostIP != "" + var yynn1137 int + if yyr1137 || yy2arr1137 { r.EncodeArrayStart(5) } else { - yynn1132 = 1 - for _, b := range yyq1132 { + yynn1137 = 1 + for _, b := range yyq1137 { if b { - yynn1132++ + yynn1137++ } } - r.EncodeMapStart(yynn1132) - yynn1132 = 0 + r.EncodeMapStart(yynn1137) + yynn1137 = 0 } - if yyr1132 || yy2arr1132 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1132[0] { - yym1134 := z.EncBinary() - _ = yym1134 + if yyq1137[0] { + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -15880,23 +15935,23 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1132[0] { + if yyq1137[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1135 := z.EncBinary() - _ = yym1135 + yym1140 := z.EncBinary() + _ = yym1140 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1132 || yy2arr1132 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1132[1] { - yym1137 := z.EncBinary() - _ = yym1137 + if yyq1137[1] { + yym1142 := z.EncBinary() + _ = yym1142 if false { } else { r.EncodeInt(int64(x.HostPort)) @@ -15905,22 +15960,22 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1132[1] { + if yyq1137[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1138 := z.EncBinary() - _ = yym1138 + yym1143 := z.EncBinary() + _ = yym1143 if false { } else { r.EncodeInt(int64(x.HostPort)) } } } - if yyr1132 || yy2arr1132 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1140 := z.EncBinary() - _ = yym1140 + yym1145 := z.EncBinary() + _ = yym1145 if false { } else { r.EncodeInt(int64(x.ContainerPort)) @@ -15929,33 +15984,33 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1141 := z.EncBinary() - _ = yym1141 + yym1146 := z.EncBinary() + _ = yym1146 if false { } else { r.EncodeInt(int64(x.ContainerPort)) } } - if yyr1132 || yy2arr1132 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1132[3] { + if yyq1137[3] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1132[3] { + if yyq1137[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr1132 || yy2arr1132 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1132[4] { - yym1144 := z.EncBinary() - _ = yym1144 + if yyq1137[4] { + yym1149 := z.EncBinary() + _ = yym1149 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) @@ -15964,19 +16019,19 @@ func (x *ContainerPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1132[4] { + if yyq1137[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1145 := z.EncBinary() - _ = yym1145 + yym1150 := z.EncBinary() + _ = yym1150 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) } } } - if yyr1132 || yy2arr1132 { + if yyr1137 || yy2arr1137 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15989,25 +16044,25 @@ func (x *ContainerPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1146 := z.DecBinary() - _ = yym1146 + yym1151 := z.DecBinary() + _ = yym1151 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1147 := r.ContainerType() - if yyct1147 == codecSelferValueTypeMap1234 { - yyl1147 := r.ReadMapStart() - if yyl1147 == 0 { + yyct1152 := r.ContainerType() + if yyct1152 == codecSelferValueTypeMap1234 { + yyl1152 := r.ReadMapStart() + if yyl1152 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1147, d) + x.codecDecodeSelfFromMap(yyl1152, d) } - } else if yyct1147 == codecSelferValueTypeArray1234 { - yyl1147 := r.ReadArrayStart() - if yyl1147 == 0 { + } else if yyct1152 == codecSelferValueTypeArray1234 { + yyl1152 := r.ReadArrayStart() + if yyl1152 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1147, d) + x.codecDecodeSelfFromArray(yyl1152, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16019,12 +16074,12 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1148Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1148Slc - var yyhl1148 bool = l >= 0 - for yyj1148 := 0; ; yyj1148++ { - if yyhl1148 { - if yyj1148 >= l { + var yys1153Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1153Slc + var yyhl1153 bool = l >= 0 + for yyj1153 := 0; ; yyj1153++ { + if yyhl1153 { + if yyj1153 >= l { break } } else { @@ -16033,10 +16088,10 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1148Slc = r.DecodeBytes(yys1148Slc, true, true) - yys1148 := string(yys1148Slc) + yys1153Slc = r.DecodeBytes(yys1153Slc, true, true) + yys1153 := string(yys1153Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1148 { + switch yys1153 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16068,9 +16123,9 @@ func (x *ContainerPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1148) - } // end switch yys1148 - } // end for yyj1148 + z.DecStructFieldNotFound(-1, yys1153) + } // end switch yys1153 + } // end for yyj1153 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16078,16 +16133,16 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1154 int - var yyb1154 bool - var yyhl1154 bool = l >= 0 - yyj1154++ - if yyhl1154 { - yyb1154 = yyj1154 > l + var yyj1159 int + var yyb1159 bool + var yyhl1159 bool = l >= 0 + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1154 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1154 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16097,13 +16152,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1154++ - if yyhl1154 { - yyb1154 = yyj1154 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1154 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1154 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16113,13 +16168,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPort = int32(r.DecodeInt(32)) } - yyj1154++ - if yyhl1154 { - yyb1154 = yyj1154 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1154 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1154 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16129,13 +16184,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerPort = int32(r.DecodeInt(32)) } - yyj1154++ - if yyhl1154 { - yyb1154 = yyj1154 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1154 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1154 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16145,13 +16200,13 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj1154++ - if yyhl1154 { - yyb1154 = yyj1154 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1154 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1154 { + if yyb1159 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16162,17 +16217,17 @@ func (x *ContainerPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HostIP = string(r.DecodeString()) } for { - yyj1154++ - if yyhl1154 { - yyb1154 = yyj1154 > l + yyj1159++ + if yyhl1159 { + yyb1159 = yyj1159 > l } else { - yyb1154 = r.CheckBreak() + yyb1159 = r.CheckBreak() } - if yyb1154 { + if yyb1159 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1154-1, "") + z.DecStructFieldNotFound(yyj1159-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16184,35 +16239,35 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1160 := z.EncBinary() - _ = yym1160 + yym1165 := z.EncBinary() + _ = yym1165 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1161 := !z.EncBinary() - yy2arr1161 := z.EncBasicHandle().StructToArray - var yyq1161 [4]bool - _, _, _ = yysep1161, yyq1161, yy2arr1161 - const yyr1161 bool = false - yyq1161[1] = x.ReadOnly != false - yyq1161[3] = x.SubPath != "" - var yynn1161 int - if yyr1161 || yy2arr1161 { + yysep1166 := !z.EncBinary() + yy2arr1166 := z.EncBasicHandle().StructToArray + var yyq1166 [4]bool + _, _, _ = yysep1166, yyq1166, yy2arr1166 + const yyr1166 bool = false + yyq1166[1] = x.ReadOnly != false + yyq1166[3] = x.SubPath != "" + var yynn1166 int + if yyr1166 || yy2arr1166 { r.EncodeArrayStart(4) } else { - yynn1161 = 2 - for _, b := range yyq1161 { + yynn1166 = 2 + for _, b := range yyq1166 { if b { - yynn1161++ + yynn1166++ } } - r.EncodeMapStart(yynn1161) - yynn1161 = 0 + r.EncodeMapStart(yynn1166) + yynn1166 = 0 } - if yyr1161 || yy2arr1161 { + if yyr1166 || yy2arr1166 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1163 := z.EncBinary() - _ = yym1163 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16221,18 +16276,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1164 := z.EncBinary() - _ = yym1164 + yym1169 := z.EncBinary() + _ = yym1169 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1161 || yy2arr1161 { + if yyr1166 || yy2arr1166 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1161[1] { - yym1166 := z.EncBinary() - _ = yym1166 + if yyq1166[1] { + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeBool(bool(x.ReadOnly)) @@ -16241,22 +16296,22 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1161[1] { + if yyq1166[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnly")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1167 := z.EncBinary() - _ = yym1167 + yym1172 := z.EncBinary() + _ = yym1172 if false { } else { r.EncodeBool(bool(x.ReadOnly)) } } } - if yyr1161 || yy2arr1161 { + if yyr1166 || yy2arr1166 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1169 := z.EncBinary() - _ = yym1169 + yym1174 := z.EncBinary() + _ = yym1174 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) @@ -16265,18 +16320,18 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mountPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1170 := z.EncBinary() - _ = yym1170 + yym1175 := z.EncBinary() + _ = yym1175 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MountPath)) } } - if yyr1161 || yy2arr1161 { + if yyr1166 || yy2arr1166 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1161[3] { - yym1172 := z.EncBinary() - _ = yym1172 + if yyq1166[3] { + yym1177 := z.EncBinary() + _ = yym1177 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) @@ -16285,19 +16340,19 @@ func (x *VolumeMount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1161[3] { + if yyq1166[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1173 := z.EncBinary() - _ = yym1173 + yym1178 := z.EncBinary() + _ = yym1178 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SubPath)) } } } - if yyr1161 || yy2arr1161 { + if yyr1166 || yy2arr1166 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16310,25 +16365,25 @@ func (x *VolumeMount) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1174 := z.DecBinary() - _ = yym1174 + yym1179 := z.DecBinary() + _ = yym1179 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1175 := r.ContainerType() - if yyct1175 == codecSelferValueTypeMap1234 { - yyl1175 := r.ReadMapStart() - if yyl1175 == 0 { + yyct1180 := r.ContainerType() + if yyct1180 == codecSelferValueTypeMap1234 { + yyl1180 := r.ReadMapStart() + if yyl1180 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1175, d) + x.codecDecodeSelfFromMap(yyl1180, d) } - } else if yyct1175 == codecSelferValueTypeArray1234 { - yyl1175 := r.ReadArrayStart() - if yyl1175 == 0 { + } else if yyct1180 == codecSelferValueTypeArray1234 { + yyl1180 := r.ReadArrayStart() + if yyl1180 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1175, d) + x.codecDecodeSelfFromArray(yyl1180, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16340,12 +16395,12 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { 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 yys1181Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1181Slc + var yyhl1181 bool = l >= 0 + for yyj1181 := 0; ; yyj1181++ { + if yyhl1181 { + if yyj1181 >= l { break } } else { @@ -16354,10 +16409,10 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1176Slc = r.DecodeBytes(yys1176Slc, true, true) - yys1176 := string(yys1176Slc) + yys1181Slc = r.DecodeBytes(yys1181Slc, true, true) + yys1181 := string(yys1181Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1176 { + switch yys1181 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16383,9 +16438,9 @@ func (x *VolumeMount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1176) - } // end switch yys1176 - } // end for yyj1176 + z.DecStructFieldNotFound(-1, yys1181) + } // end switch yys1181 + } // end for yyj1181 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16393,16 +16448,16 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1181 int - var yyb1181 bool - var yyhl1181 bool = l >= 0 - yyj1181++ - if yyhl1181 { - yyb1181 = yyj1181 > l + var yyj1186 int + var yyb1186 bool + var yyhl1186 bool = l >= 0 + yyj1186++ + if yyhl1186 { + yyb1186 = yyj1186 > l } else { - yyb1181 = r.CheckBreak() + yyb1186 = r.CheckBreak() } - if yyb1181 { + if yyb1186 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16412,13 +16467,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1181++ - if yyhl1181 { - yyb1181 = yyj1181 > l + yyj1186++ + if yyhl1186 { + yyb1186 = yyj1186 > l } else { - yyb1181 = r.CheckBreak() + yyb1186 = r.CheckBreak() } - if yyb1181 { + if yyb1186 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16428,13 +16483,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ReadOnly = bool(r.DecodeBool()) } - yyj1181++ - if yyhl1181 { - yyb1181 = yyj1181 > l + yyj1186++ + if yyhl1186 { + yyb1186 = yyj1186 > l } else { - yyb1181 = r.CheckBreak() + yyb1186 = r.CheckBreak() } - if yyb1181 { + if yyb1186 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16444,13 +16499,13 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MountPath = string(r.DecodeString()) } - yyj1181++ - if yyhl1181 { - yyb1181 = yyj1181 > l + yyj1186++ + if yyhl1186 { + yyb1186 = yyj1186 > l } else { - yyb1181 = r.CheckBreak() + yyb1186 = r.CheckBreak() } - if yyb1181 { + if yyb1186 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16461,17 +16516,17 @@ func (x *VolumeMount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SubPath = string(r.DecodeString()) } for { - yyj1181++ - if yyhl1181 { - yyb1181 = yyj1181 > l + yyj1186++ + if yyhl1186 { + yyb1186 = yyj1186 > l } else { - yyb1181 = r.CheckBreak() + yyb1186 = r.CheckBreak() } - if yyb1181 { + if yyb1186 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1181-1, "") + z.DecStructFieldNotFound(yyj1186-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16483,35 +16538,35 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1186 := z.EncBinary() - _ = yym1186 + yym1191 := z.EncBinary() + _ = yym1191 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1187 := !z.EncBinary() - yy2arr1187 := z.EncBasicHandle().StructToArray - var yyq1187 [3]bool - _, _, _ = yysep1187, yyq1187, yy2arr1187 - const yyr1187 bool = false - yyq1187[1] = x.Value != "" - yyq1187[2] = x.ValueFrom != nil - var yynn1187 int - if yyr1187 || yy2arr1187 { + yysep1192 := !z.EncBinary() + yy2arr1192 := z.EncBasicHandle().StructToArray + var yyq1192 [3]bool + _, _, _ = yysep1192, yyq1192, yy2arr1192 + const yyr1192 bool = false + yyq1192[1] = x.Value != "" + yyq1192[2] = x.ValueFrom != nil + var yynn1192 int + if yyr1192 || yy2arr1192 { r.EncodeArrayStart(3) } else { - yynn1187 = 1 - for _, b := range yyq1187 { + yynn1192 = 1 + for _, b := range yyq1192 { if b { - yynn1187++ + yynn1192++ } } - r.EncodeMapStart(yynn1187) - yynn1187 = 0 + r.EncodeMapStart(yynn1192) + yynn1192 = 0 } - if yyr1187 || yy2arr1187 { + if yyr1192 || yy2arr1192 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1189 := z.EncBinary() - _ = yym1189 + yym1194 := z.EncBinary() + _ = yym1194 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -16520,18 +16575,18 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1190 := z.EncBinary() - _ = yym1190 + yym1195 := z.EncBinary() + _ = yym1195 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1187 || yy2arr1187 { + if yyr1192 || yy2arr1192 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1187[1] { - yym1192 := z.EncBinary() - _ = yym1192 + if yyq1192[1] { + yym1197 := z.EncBinary() + _ = yym1197 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -16540,21 +16595,21 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1187[1] { + if yyq1192[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1193 := z.EncBinary() - _ = yym1193 + yym1198 := z.EncBinary() + _ = yym1198 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1187 || yy2arr1187 { + if yyr1192 || yy2arr1192 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1187[2] { + if yyq1192[2] { if x.ValueFrom == nil { r.EncodeNil() } else { @@ -16564,7 +16619,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1187[2] { + if yyq1192[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("valueFrom")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16575,7 +16630,7 @@ func (x *EnvVar) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1187 || yy2arr1187 { + if yyr1192 || yy2arr1192 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16588,25 +16643,25 @@ func (x *EnvVar) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1195 := z.DecBinary() - _ = yym1195 + yym1200 := z.DecBinary() + _ = yym1200 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1196 := r.ContainerType() - if yyct1196 == codecSelferValueTypeMap1234 { - yyl1196 := r.ReadMapStart() - if yyl1196 == 0 { + yyct1201 := r.ContainerType() + if yyct1201 == codecSelferValueTypeMap1234 { + yyl1201 := r.ReadMapStart() + if yyl1201 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1196, d) + x.codecDecodeSelfFromMap(yyl1201, d) } - } else if yyct1196 == codecSelferValueTypeArray1234 { - yyl1196 := r.ReadArrayStart() - if yyl1196 == 0 { + } else if yyct1201 == codecSelferValueTypeArray1234 { + yyl1201 := r.ReadArrayStart() + if yyl1201 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1196, d) + x.codecDecodeSelfFromArray(yyl1201, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16618,12 +16673,12 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1197Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1197Slc - var yyhl1197 bool = l >= 0 - for yyj1197 := 0; ; yyj1197++ { - if yyhl1197 { - if yyj1197 >= l { + var yys1202Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1202Slc + var yyhl1202 bool = l >= 0 + for yyj1202 := 0; ; yyj1202++ { + if yyhl1202 { + if yyj1202 >= l { break } } else { @@ -16632,10 +16687,10 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1197Slc = r.DecodeBytes(yys1197Slc, true, true) - yys1197 := string(yys1197Slc) + yys1202Slc = r.DecodeBytes(yys1202Slc, true, true) + yys1202 := string(yys1202Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1197 { + switch yys1202 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -16660,9 +16715,9 @@ func (x *EnvVar) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1197) - } // end switch yys1197 - } // end for yyj1197 + z.DecStructFieldNotFound(-1, yys1202) + } // end switch yys1202 + } // end for yyj1202 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16670,16 +16725,16 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1201 int - var yyb1201 bool - var yyhl1201 bool = l >= 0 - yyj1201++ - if yyhl1201 { - yyb1201 = yyj1201 > l + var yyj1206 int + var yyb1206 bool + var yyhl1206 bool = l >= 0 + yyj1206++ + if yyhl1206 { + yyb1206 = yyj1206 > l } else { - yyb1201 = r.CheckBreak() + yyb1206 = r.CheckBreak() } - if yyb1201 { + if yyb1206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16689,13 +16744,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1201++ - if yyhl1201 { - yyb1201 = yyj1201 > l + yyj1206++ + if yyhl1206 { + yyb1206 = yyj1206 > l } else { - yyb1201 = r.CheckBreak() + yyb1206 = r.CheckBreak() } - if yyb1201 { + if yyb1206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16705,13 +16760,13 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj1201++ - if yyhl1201 { - yyb1201 = yyj1201 > l + yyj1206++ + if yyhl1206 { + yyb1206 = yyj1206 > l } else { - yyb1201 = r.CheckBreak() + yyb1206 = r.CheckBreak() } - if yyb1201 { + if yyb1206 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16727,17 +16782,17 @@ func (x *EnvVar) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ValueFrom.CodecDecodeSelf(d) } for { - yyj1201++ - if yyhl1201 { - yyb1201 = yyj1201 > l + yyj1206++ + if yyhl1206 { + yyb1206 = yyj1206 > l } else { - yyb1201 = r.CheckBreak() + yyb1206 = r.CheckBreak() } - if yyb1201 { + if yyb1206 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1201-1, "") + z.DecStructFieldNotFound(yyj1206-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16749,36 +16804,36 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1205 := z.EncBinary() - _ = yym1205 + yym1210 := z.EncBinary() + _ = yym1210 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1206 := !z.EncBinary() - yy2arr1206 := z.EncBasicHandle().StructToArray - var yyq1206 [4]bool - _, _, _ = yysep1206, yyq1206, yy2arr1206 - const yyr1206 bool = false - yyq1206[0] = x.FieldRef != nil - yyq1206[1] = x.ResourceFieldRef != nil - yyq1206[2] = x.ConfigMapKeyRef != nil - yyq1206[3] = x.SecretKeyRef != nil - var yynn1206 int - if yyr1206 || yy2arr1206 { + yysep1211 := !z.EncBinary() + yy2arr1211 := z.EncBasicHandle().StructToArray + var yyq1211 [4]bool + _, _, _ = yysep1211, yyq1211, yy2arr1211 + const yyr1211 bool = false + yyq1211[0] = x.FieldRef != nil + yyq1211[1] = x.ResourceFieldRef != nil + yyq1211[2] = x.ConfigMapKeyRef != nil + yyq1211[3] = x.SecretKeyRef != nil + var yynn1211 int + if yyr1211 || yy2arr1211 { r.EncodeArrayStart(4) } else { - yynn1206 = 0 - for _, b := range yyq1206 { + yynn1211 = 0 + for _, b := range yyq1211 { if b { - yynn1206++ + yynn1211++ } } - r.EncodeMapStart(yynn1206) - yynn1206 = 0 + r.EncodeMapStart(yynn1211) + yynn1211 = 0 } - if yyr1206 || yy2arr1206 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1206[0] { + if yyq1211[0] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -16788,7 +16843,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1206[0] { + if yyq1211[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16799,9 +16854,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1206 || yy2arr1206 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1206[1] { + if yyq1211[1] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -16811,7 +16866,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1206[1] { + if yyq1211[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16822,9 +16877,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1206 || yy2arr1206 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1206[2] { + if yyq1211[2] { if x.ConfigMapKeyRef == nil { r.EncodeNil() } else { @@ -16834,7 +16889,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1206[2] { + if yyq1211[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("configMapKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16845,9 +16900,9 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1206 || yy2arr1206 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1206[3] { + if yyq1211[3] { if x.SecretKeyRef == nil { r.EncodeNil() } else { @@ -16857,7 +16912,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1206[3] { + if yyq1211[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretKeyRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -16868,7 +16923,7 @@ func (x *EnvVarSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1206 || yy2arr1206 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16881,25 +16936,25 @@ func (x *EnvVarSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1211 := z.DecBinary() - _ = yym1211 + yym1216 := z.DecBinary() + _ = yym1216 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1212 := r.ContainerType() - if yyct1212 == codecSelferValueTypeMap1234 { - yyl1212 := r.ReadMapStart() - if yyl1212 == 0 { + yyct1217 := r.ContainerType() + if yyct1217 == codecSelferValueTypeMap1234 { + yyl1217 := r.ReadMapStart() + if yyl1217 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1212, d) + x.codecDecodeSelfFromMap(yyl1217, d) } - } else if yyct1212 == codecSelferValueTypeArray1234 { - yyl1212 := r.ReadArrayStart() - if yyl1212 == 0 { + } else if yyct1217 == codecSelferValueTypeArray1234 { + yyl1217 := r.ReadArrayStart() + if yyl1217 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1212, d) + x.codecDecodeSelfFromArray(yyl1217, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16911,12 +16966,12 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1213Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1213Slc - var yyhl1213 bool = l >= 0 - for yyj1213 := 0; ; yyj1213++ { - if yyhl1213 { - if yyj1213 >= l { + var yys1218Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1218Slc + var yyhl1218 bool = l >= 0 + for yyj1218 := 0; ; yyj1218++ { + if yyhl1218 { + if yyj1218 >= l { break } } else { @@ -16925,10 +16980,10 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1213Slc = r.DecodeBytes(yys1213Slc, true, true) - yys1213 := string(yys1213Slc) + yys1218Slc = r.DecodeBytes(yys1218Slc, true, true) + yys1218 := string(yys1218Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1213 { + switch yys1218 { case "fieldRef": if r.TryDecodeAsNil() { if x.FieldRef != nil { @@ -16974,9 +17029,9 @@ func (x *EnvVarSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1213) - } // end switch yys1213 - } // end for yyj1213 + z.DecStructFieldNotFound(-1, yys1218) + } // end switch yys1218 + } // end for yyj1218 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16984,16 +17039,16 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1218 int - var yyb1218 bool - var yyhl1218 bool = l >= 0 - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + var yyj1223 int + var yyb1223 bool + var yyhl1223 bool = l >= 0 + yyj1223++ + if yyhl1223 { + yyb1223 = yyj1223 > l } else { - yyb1218 = r.CheckBreak() + yyb1223 = r.CheckBreak() } - if yyb1218 { + if yyb1223 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17008,13 +17063,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.FieldRef.CodecDecodeSelf(d) } - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1223++ + if yyhl1223 { + yyb1223 = yyj1223 > l } else { - yyb1218 = r.CheckBreak() + yyb1223 = r.CheckBreak() } - if yyb1218 { + if yyb1223 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17029,13 +17084,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1223++ + if yyhl1223 { + yyb1223 = yyj1223 > l } else { - yyb1218 = r.CheckBreak() + yyb1223 = r.CheckBreak() } - if yyb1218 { + if yyb1223 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17050,13 +17105,13 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ConfigMapKeyRef.CodecDecodeSelf(d) } - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1223++ + if yyhl1223 { + yyb1223 = yyj1223 > l } else { - yyb1218 = r.CheckBreak() + yyb1223 = r.CheckBreak() } - if yyb1218 { + if yyb1223 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17072,17 +17127,17 @@ func (x *EnvVarSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretKeyRef.CodecDecodeSelf(d) } for { - yyj1218++ - if yyhl1218 { - yyb1218 = yyj1218 > l + yyj1223++ + if yyhl1223 { + yyb1223 = yyj1223 > l } else { - yyb1218 = r.CheckBreak() + yyb1223 = r.CheckBreak() } - if yyb1218 { + if yyb1223 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1218-1, "") + z.DecStructFieldNotFound(yyj1223-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17094,35 +17149,35 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1223 := z.EncBinary() - _ = yym1223 + yym1228 := z.EncBinary() + _ = yym1228 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1224 := !z.EncBinary() - yy2arr1224 := z.EncBasicHandle().StructToArray - var yyq1224 [2]bool - _, _, _ = yysep1224, yyq1224, yy2arr1224 - const yyr1224 bool = false - yyq1224[0] = x.APIVersion != "" - var yynn1224 int - if yyr1224 || yy2arr1224 { + yysep1229 := !z.EncBinary() + yy2arr1229 := z.EncBasicHandle().StructToArray + var yyq1229 [2]bool + _, _, _ = yysep1229, yyq1229, yy2arr1229 + const yyr1229 bool = false + yyq1229[0] = x.APIVersion != "" + var yynn1229 int + if yyr1229 || yy2arr1229 { r.EncodeArrayStart(2) } else { - yynn1224 = 1 - for _, b := range yyq1224 { + yynn1229 = 1 + for _, b := range yyq1229 { if b { - yynn1224++ + yynn1229++ } } - r.EncodeMapStart(yynn1224) - yynn1224 = 0 + r.EncodeMapStart(yynn1229) + yynn1229 = 0 } - if yyr1224 || yy2arr1224 { + if yyr1229 || yy2arr1229 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1224[0] { - yym1226 := z.EncBinary() - _ = yym1226 + if yyq1229[0] { + yym1231 := z.EncBinary() + _ = yym1231 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -17131,22 +17186,22 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1224[0] { + if yyq1229[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1227 := z.EncBinary() - _ = yym1227 + yym1232 := z.EncBinary() + _ = yym1232 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1224 || yy2arr1224 { + if yyr1229 || yy2arr1229 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1229 := z.EncBinary() - _ = yym1229 + yym1234 := z.EncBinary() + _ = yym1234 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -17155,14 +17210,14 @@ func (x *ObjectFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1230 := z.EncBinary() - _ = yym1230 + yym1235 := z.EncBinary() + _ = yym1235 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } - if yyr1224 || yy2arr1224 { + if yyr1229 || yy2arr1229 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17175,25 +17230,25 @@ func (x *ObjectFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1231 := z.DecBinary() - _ = yym1231 + yym1236 := z.DecBinary() + _ = yym1236 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1232 := r.ContainerType() - if yyct1232 == codecSelferValueTypeMap1234 { - yyl1232 := r.ReadMapStart() - if yyl1232 == 0 { + yyct1237 := r.ContainerType() + if yyct1237 == codecSelferValueTypeMap1234 { + yyl1237 := r.ReadMapStart() + if yyl1237 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1232, d) + x.codecDecodeSelfFromMap(yyl1237, d) } - } else if yyct1232 == codecSelferValueTypeArray1234 { - yyl1232 := r.ReadArrayStart() - if yyl1232 == 0 { + } else if yyct1237 == codecSelferValueTypeArray1234 { + yyl1237 := r.ReadArrayStart() + if yyl1237 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1232, d) + x.codecDecodeSelfFromArray(yyl1237, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17205,12 +17260,12 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1233Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1233Slc - var yyhl1233 bool = l >= 0 - for yyj1233 := 0; ; yyj1233++ { - if yyhl1233 { - if yyj1233 >= l { + var yys1238Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1238Slc + var yyhl1238 bool = l >= 0 + for yyj1238 := 0; ; yyj1238++ { + if yyhl1238 { + if yyj1238 >= l { break } } else { @@ -17219,10 +17274,10 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1233Slc = r.DecodeBytes(yys1233Slc, true, true) - yys1233 := string(yys1233Slc) + yys1238Slc = r.DecodeBytes(yys1238Slc, true, true) + yys1238 := string(yys1238Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1233 { + switch yys1238 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -17236,9 +17291,9 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1233) - } // end switch yys1233 - } // end for yyj1233 + z.DecStructFieldNotFound(-1, yys1238) + } // end switch yys1238 + } // end for yyj1238 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17246,16 +17301,16 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1236 int - var yyb1236 bool - var yyhl1236 bool = l >= 0 - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + var yyj1241 int + var yyb1241 bool + var yyhl1241 bool = l >= 0 + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb1236 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb1236 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17265,13 +17320,13 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb1236 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb1236 { + if yyb1241 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17282,17 +17337,17 @@ func (x *ObjectFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.FieldPath = string(r.DecodeString()) } for { - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + yyj1241++ + if yyhl1241 { + yyb1241 = yyj1241 > l } else { - yyb1236 = r.CheckBreak() + yyb1241 = r.CheckBreak() } - if yyb1236 { + if yyb1241 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1236-1, "") + z.DecStructFieldNotFound(yyj1241-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17304,36 +17359,36 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1239 := z.EncBinary() - _ = yym1239 + yym1244 := z.EncBinary() + _ = yym1244 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1240 := !z.EncBinary() - yy2arr1240 := z.EncBasicHandle().StructToArray - var yyq1240 [3]bool - _, _, _ = yysep1240, yyq1240, yy2arr1240 - const yyr1240 bool = false - yyq1240[0] = x.ContainerName != "" - yyq1240[2] = true - var yynn1240 int - if yyr1240 || yy2arr1240 { + yysep1245 := !z.EncBinary() + yy2arr1245 := z.EncBasicHandle().StructToArray + var yyq1245 [3]bool + _, _, _ = yysep1245, yyq1245, yy2arr1245 + const yyr1245 bool = false + yyq1245[0] = x.ContainerName != "" + yyq1245[2] = true + var yynn1245 int + if yyr1245 || yy2arr1245 { r.EncodeArrayStart(3) } else { - yynn1240 = 1 - for _, b := range yyq1240 { + yynn1245 = 1 + for _, b := range yyq1245 { if b { - yynn1240++ + yynn1245++ } } - r.EncodeMapStart(yynn1240) - yynn1240 = 0 + r.EncodeMapStart(yynn1245) + yynn1245 = 0 } - if yyr1240 || yy2arr1240 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[0] { - yym1242 := z.EncBinary() - _ = yym1242 + if yyq1245[0] { + yym1247 := z.EncBinary() + _ = yym1247 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) @@ -17342,22 +17397,22 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1240[0] { + if yyq1245[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1243 := z.EncBinary() - _ = yym1243 + yym1248 := z.EncBinary() + _ = yym1248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerName)) } } } - if yyr1240 || yy2arr1240 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1245 := z.EncBinary() - _ = yym1245 + yym1250 := z.EncBinary() + _ = yym1250 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) @@ -17366,47 +17421,47 @@ func (x *ResourceFieldSelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resource")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1246 := z.EncBinary() - _ = yym1246 + yym1251 := z.EncBinary() + _ = yym1251 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Resource)) } } - if yyr1240 || yy2arr1240 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1240[2] { - yy1248 := &x.Divisor - yym1249 := z.EncBinary() - _ = yym1249 + if yyq1245[2] { + yy1253 := &x.Divisor + yym1254 := z.EncBinary() + _ = yym1254 if false { - } else if z.HasExtensions() && z.EncExt(yy1248) { - } else if !yym1249 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1248) + } else if z.HasExtensions() && z.EncExt(yy1253) { + } else if !yym1254 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1253) } else { - z.EncFallback(yy1248) + z.EncFallback(yy1253) } } else { r.EncodeNil() } } else { - if yyq1240[2] { + if yyq1245[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("divisor")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1250 := &x.Divisor - yym1251 := z.EncBinary() - _ = yym1251 + yy1255 := &x.Divisor + yym1256 := z.EncBinary() + _ = yym1256 if false { - } else if z.HasExtensions() && z.EncExt(yy1250) { - } else if !yym1251 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1250) + } else if z.HasExtensions() && z.EncExt(yy1255) { + } else if !yym1256 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1255) } else { - z.EncFallback(yy1250) + z.EncFallback(yy1255) } } } - if yyr1240 || yy2arr1240 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17419,25 +17474,25 @@ func (x *ResourceFieldSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1252 := z.DecBinary() - _ = yym1252 + yym1257 := z.DecBinary() + _ = yym1257 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1253 := r.ContainerType() - if yyct1253 == codecSelferValueTypeMap1234 { - yyl1253 := r.ReadMapStart() - if yyl1253 == 0 { + yyct1258 := r.ContainerType() + if yyct1258 == codecSelferValueTypeMap1234 { + yyl1258 := r.ReadMapStart() + if yyl1258 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1253, d) + x.codecDecodeSelfFromMap(yyl1258, d) } - } else if yyct1253 == codecSelferValueTypeArray1234 { - yyl1253 := r.ReadArrayStart() - if yyl1253 == 0 { + } else if yyct1258 == codecSelferValueTypeArray1234 { + yyl1258 := r.ReadArrayStart() + if yyl1258 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1253, d) + x.codecDecodeSelfFromArray(yyl1258, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17449,12 +17504,12 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1254Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1254Slc - var yyhl1254 bool = l >= 0 - for yyj1254 := 0; ; yyj1254++ { - if yyhl1254 { - if yyj1254 >= l { + var yys1259Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1259Slc + var yyhl1259 bool = l >= 0 + for yyj1259 := 0; ; yyj1259++ { + if yyhl1259 { + if yyj1259 >= l { break } } else { @@ -17463,10 +17518,10 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1254Slc = r.DecodeBytes(yys1254Slc, true, true) - yys1254 := string(yys1254Slc) + yys1259Slc = r.DecodeBytes(yys1259Slc, true, true) + yys1259 := string(yys1259Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1254 { + switch yys1259 { case "containerName": if r.TryDecodeAsNil() { x.ContainerName = "" @@ -17483,21 +17538,21 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv1257 := &x.Divisor - yym1258 := z.DecBinary() - _ = yym1258 + yyv1262 := &x.Divisor + yym1263 := z.DecBinary() + _ = yym1263 if false { - } else if z.HasExtensions() && z.DecExt(yyv1257) { - } else if !yym1258 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1257) + } else if z.HasExtensions() && z.DecExt(yyv1262) { + } else if !yym1263 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1262) } else { - z.DecFallback(yyv1257, false) + z.DecFallback(yyv1262, false) } } default: - z.DecStructFieldNotFound(-1, yys1254) - } // end switch yys1254 - } // end for yyj1254 + z.DecStructFieldNotFound(-1, yys1259) + } // end switch yys1259 + } // end for yyj1259 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17505,16 +17560,16 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1259 int - var yyb1259 bool - var yyhl1259 bool = l >= 0 - yyj1259++ - if yyhl1259 { - yyb1259 = yyj1259 > l + var yyj1264 int + var yyb1264 bool + var yyhl1264 bool = l >= 0 + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1259 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1259 { + if yyb1264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17524,13 +17579,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.ContainerName = string(r.DecodeString()) } - yyj1259++ - if yyhl1259 { - yyb1259 = yyj1259 > l + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1259 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1259 { + if yyb1264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17540,13 +17595,13 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Resource = string(r.DecodeString()) } - yyj1259++ - if yyhl1259 { - yyb1259 = yyj1259 > l + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1259 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1259 { + if yyb1264 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17554,29 +17609,29 @@ func (x *ResourceFieldSelector) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Divisor = pkg3_resource.Quantity{} } else { - yyv1262 := &x.Divisor - yym1263 := z.DecBinary() - _ = yym1263 + yyv1267 := &x.Divisor + yym1268 := z.DecBinary() + _ = yym1268 if false { - } else if z.HasExtensions() && z.DecExt(yyv1262) { - } else if !yym1263 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1262) + } else if z.HasExtensions() && z.DecExt(yyv1267) { + } else if !yym1268 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1267) } else { - z.DecFallback(yyv1262, false) + z.DecFallback(yyv1267, false) } } for { - yyj1259++ - if yyhl1259 { - yyb1259 = yyj1259 > l + yyj1264++ + if yyhl1264 { + yyb1264 = yyj1264 > l } else { - yyb1259 = r.CheckBreak() + yyb1264 = r.CheckBreak() } - if yyb1259 { + if yyb1264 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1259-1, "") + z.DecStructFieldNotFound(yyj1264-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17588,35 +17643,35 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1264 := z.EncBinary() - _ = yym1264 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1265 := !z.EncBinary() - yy2arr1265 := z.EncBasicHandle().StructToArray - var yyq1265 [2]bool - _, _, _ = yysep1265, yyq1265, yy2arr1265 - const yyr1265 bool = false - yyq1265[0] = x.Name != "" - var yynn1265 int - if yyr1265 || yy2arr1265 { + yysep1270 := !z.EncBinary() + yy2arr1270 := z.EncBasicHandle().StructToArray + var yyq1270 [2]bool + _, _, _ = yysep1270, yyq1270, yy2arr1270 + const yyr1270 bool = false + yyq1270[0] = x.Name != "" + var yynn1270 int + if yyr1270 || yy2arr1270 { r.EncodeArrayStart(2) } else { - yynn1265 = 1 - for _, b := range yyq1265 { + yynn1270 = 1 + for _, b := range yyq1270 { if b { - yynn1265++ + yynn1270++ } } - r.EncodeMapStart(yynn1265) - yynn1265 = 0 + r.EncodeMapStart(yynn1270) + yynn1270 = 0 } - if yyr1265 || yy2arr1265 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1265[0] { - yym1267 := z.EncBinary() - _ = yym1267 + if yyq1270[0] { + yym1272 := z.EncBinary() + _ = yym1272 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -17625,22 +17680,22 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1265[0] { + if yyq1270[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1268 := z.EncBinary() - _ = yym1268 + yym1273 := z.EncBinary() + _ = yym1273 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1265 || yy2arr1265 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1270 := z.EncBinary() - _ = yym1270 + yym1275 := z.EncBinary() + _ = yym1275 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -17649,14 +17704,14 @@ func (x *ConfigMapKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1271 := z.EncBinary() - _ = yym1271 + yym1276 := z.EncBinary() + _ = yym1276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1265 || yy2arr1265 { + if yyr1270 || yy2arr1270 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17669,25 +17724,25 @@ func (x *ConfigMapKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1272 := z.DecBinary() - _ = yym1272 + yym1277 := z.DecBinary() + _ = yym1277 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1273 := r.ContainerType() - if yyct1273 == codecSelferValueTypeMap1234 { - yyl1273 := r.ReadMapStart() - if yyl1273 == 0 { + yyct1278 := r.ContainerType() + if yyct1278 == codecSelferValueTypeMap1234 { + yyl1278 := r.ReadMapStart() + if yyl1278 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1273, d) + x.codecDecodeSelfFromMap(yyl1278, d) } - } else if yyct1273 == codecSelferValueTypeArray1234 { - yyl1273 := r.ReadArrayStart() - if yyl1273 == 0 { + } else if yyct1278 == codecSelferValueTypeArray1234 { + yyl1278 := r.ReadArrayStart() + if yyl1278 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1273, d) + x.codecDecodeSelfFromArray(yyl1278, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17699,12 +17754,12 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1274Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1274Slc - var yyhl1274 bool = l >= 0 - for yyj1274 := 0; ; yyj1274++ { - if yyhl1274 { - if yyj1274 >= l { + var yys1279Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1279Slc + var yyhl1279 bool = l >= 0 + for yyj1279 := 0; ; yyj1279++ { + if yyhl1279 { + if yyj1279 >= l { break } } else { @@ -17713,10 +17768,10 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1274Slc = r.DecodeBytes(yys1274Slc, true, true) - yys1274 := string(yys1274Slc) + yys1279Slc = r.DecodeBytes(yys1279Slc, true, true) + yys1279 := string(yys1279Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1274 { + switch yys1279 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -17730,9 +17785,9 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Key = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1274) - } // end switch yys1274 - } // end for yyj1274 + z.DecStructFieldNotFound(-1, yys1279) + } // end switch yys1279 + } // end for yyj1279 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17740,16 +17795,16 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1277 int - var yyb1277 bool - var yyhl1277 bool = l >= 0 - yyj1277++ - if yyhl1277 { - yyb1277 = yyj1277 > l + var yyj1282 int + var yyb1282 bool + var yyhl1282 bool = l >= 0 + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1277 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1277 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17759,13 +17814,13 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Name = string(r.DecodeString()) } - yyj1277++ - if yyhl1277 { - yyb1277 = yyj1277 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1277 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1277 { + if yyb1282 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17776,17 +17831,17 @@ func (x *ConfigMapKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Key = string(r.DecodeString()) } for { - yyj1277++ - if yyhl1277 { - yyb1277 = yyj1277 > l + yyj1282++ + if yyhl1282 { + yyb1282 = yyj1282 > l } else { - yyb1277 = r.CheckBreak() + yyb1282 = r.CheckBreak() } - if yyb1277 { + if yyb1282 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1277-1, "") + z.DecStructFieldNotFound(yyj1282-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17798,35 +17853,35 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1280 := z.EncBinary() - _ = yym1280 + yym1285 := z.EncBinary() + _ = yym1285 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1281 := !z.EncBinary() - yy2arr1281 := z.EncBasicHandle().StructToArray - var yyq1281 [2]bool - _, _, _ = yysep1281, yyq1281, yy2arr1281 - const yyr1281 bool = false - yyq1281[0] = x.Name != "" - var yynn1281 int - if yyr1281 || yy2arr1281 { + yysep1286 := !z.EncBinary() + yy2arr1286 := z.EncBasicHandle().StructToArray + var yyq1286 [2]bool + _, _, _ = yysep1286, yyq1286, yy2arr1286 + const yyr1286 bool = false + yyq1286[0] = x.Name != "" + var yynn1286 int + if yyr1286 || yy2arr1286 { r.EncodeArrayStart(2) } else { - yynn1281 = 1 - for _, b := range yyq1281 { + yynn1286 = 1 + for _, b := range yyq1286 { if b { - yynn1281++ + yynn1286++ } } - r.EncodeMapStart(yynn1281) - yynn1281 = 0 + r.EncodeMapStart(yynn1286) + yynn1286 = 0 } - if yyr1281 || yy2arr1281 { + if yyr1286 || yy2arr1286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1281[0] { - yym1283 := z.EncBinary() - _ = yym1283 + if yyq1286[0] { + yym1288 := z.EncBinary() + _ = yym1288 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -17835,22 +17890,22 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1281[0] { + if yyq1286[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1284 := z.EncBinary() - _ = yym1284 + yym1289 := z.EncBinary() + _ = yym1289 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr1281 || yy2arr1281 { + if yyr1286 || yy2arr1286 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1286 := z.EncBinary() - _ = yym1286 + yym1291 := z.EncBinary() + _ = yym1291 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -17859,14 +17914,14 @@ func (x *SecretKeySelector) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1287 := z.EncBinary() - _ = yym1287 + yym1292 := z.EncBinary() + _ = yym1292 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1281 || yy2arr1281 { + if yyr1286 || yy2arr1286 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17879,25 +17934,25 @@ func (x *SecretKeySelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1288 := z.DecBinary() - _ = yym1288 + yym1293 := z.DecBinary() + _ = yym1293 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1289 := r.ContainerType() - if yyct1289 == codecSelferValueTypeMap1234 { - yyl1289 := r.ReadMapStart() - if yyl1289 == 0 { + yyct1294 := r.ContainerType() + if yyct1294 == codecSelferValueTypeMap1234 { + yyl1294 := r.ReadMapStart() + if yyl1294 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1289, d) + x.codecDecodeSelfFromMap(yyl1294, d) } - } else if yyct1289 == codecSelferValueTypeArray1234 { - yyl1289 := r.ReadArrayStart() - if yyl1289 == 0 { + } else if yyct1294 == codecSelferValueTypeArray1234 { + yyl1294 := r.ReadArrayStart() + if yyl1294 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1289, d) + x.codecDecodeSelfFromArray(yyl1294, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17909,12 +17964,12 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1290Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1290Slc - var yyhl1290 bool = l >= 0 - for yyj1290 := 0; ; yyj1290++ { - if yyhl1290 { - if yyj1290 >= l { + var yys1295Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1295Slc + var yyhl1295 bool = l >= 0 + for yyj1295 := 0; ; yyj1295++ { + if yyhl1295 { + if yyj1295 >= l { break } } else { @@ -17923,10 +17978,10 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1290Slc = r.DecodeBytes(yys1290Slc, true, true) - yys1290 := string(yys1290Slc) + yys1295Slc = r.DecodeBytes(yys1295Slc, true, true) + yys1295 := string(yys1295Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1290 { + switch yys1295 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -17940,9 +17995,9 @@ func (x *SecretKeySelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Key = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1290) - } // end switch yys1290 - } // end for yyj1290 + z.DecStructFieldNotFound(-1, yys1295) + } // end switch yys1295 + } // end for yyj1295 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17950,16 +18005,16 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1293 int - var yyb1293 bool - var yyhl1293 bool = l >= 0 - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + var yyj1298 int + var yyb1298 bool + var yyhl1298 bool = l >= 0 + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l } else { - yyb1293 = r.CheckBreak() + yyb1298 = r.CheckBreak() } - if yyb1293 { + if yyb1298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17969,13 +18024,13 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Name = string(r.DecodeString()) } - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l } else { - yyb1293 = r.CheckBreak() + yyb1298 = r.CheckBreak() } - if yyb1293 { + if yyb1298 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17986,17 +18041,17 @@ func (x *SecretKeySelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.Key = string(r.DecodeString()) } for { - yyj1293++ - if yyhl1293 { - yyb1293 = yyj1293 > l + yyj1298++ + if yyhl1298 { + yyb1298 = yyj1298 > l } else { - yyb1293 = r.CheckBreak() + yyb1298 = r.CheckBreak() } - if yyb1293 { + if yyb1298 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1293-1, "") + z.DecStructFieldNotFound(yyj1298-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18008,33 +18063,33 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1296 := z.EncBinary() - _ = yym1296 + yym1301 := z.EncBinary() + _ = yym1301 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1297 := !z.EncBinary() - yy2arr1297 := z.EncBasicHandle().StructToArray - var yyq1297 [2]bool - _, _, _ = yysep1297, yyq1297, yy2arr1297 - const yyr1297 bool = false - var yynn1297 int - if yyr1297 || yy2arr1297 { + yysep1302 := !z.EncBinary() + yy2arr1302 := z.EncBasicHandle().StructToArray + var yyq1302 [2]bool + _, _, _ = yysep1302, yyq1302, yy2arr1302 + const yyr1302 bool = false + var yynn1302 int + if yyr1302 || yy2arr1302 { r.EncodeArrayStart(2) } else { - yynn1297 = 2 - for _, b := range yyq1297 { + yynn1302 = 2 + for _, b := range yyq1302 { if b { - yynn1297++ + yynn1302++ } } - r.EncodeMapStart(yynn1297) - yynn1297 = 0 + r.EncodeMapStart(yynn1302) + yynn1302 = 0 } - if yyr1297 || yy2arr1297 { + if yyr1302 || yy2arr1302 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1299 := z.EncBinary() - _ = yym1299 + yym1304 := z.EncBinary() + _ = yym1304 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -18043,17 +18098,17 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1300 := z.EncBinary() - _ = yym1300 + yym1305 := z.EncBinary() + _ = yym1305 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1297 || yy2arr1297 { + if yyr1302 || yy2arr1302 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1302 := z.EncBinary() - _ = yym1302 + yym1307 := z.EncBinary() + _ = yym1307 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -18062,14 +18117,14 @@ func (x *HTTPHeader) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1303 := z.EncBinary() - _ = yym1303 + yym1308 := z.EncBinary() + _ = yym1308 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } - if yyr1297 || yy2arr1297 { + if yyr1302 || yy2arr1302 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18082,25 +18137,25 @@ func (x *HTTPHeader) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1304 := z.DecBinary() - _ = yym1304 + yym1309 := z.DecBinary() + _ = yym1309 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1305 := r.ContainerType() - if yyct1305 == codecSelferValueTypeMap1234 { - yyl1305 := r.ReadMapStart() - if yyl1305 == 0 { + yyct1310 := r.ContainerType() + if yyct1310 == codecSelferValueTypeMap1234 { + yyl1310 := r.ReadMapStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1305, d) + x.codecDecodeSelfFromMap(yyl1310, d) } - } else if yyct1305 == codecSelferValueTypeArray1234 { - yyl1305 := r.ReadArrayStart() - if yyl1305 == 0 { + } else if yyct1310 == codecSelferValueTypeArray1234 { + yyl1310 := r.ReadArrayStart() + if yyl1310 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1305, d) + x.codecDecodeSelfFromArray(yyl1310, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18112,12 +18167,12 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1306Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1306Slc - var yyhl1306 bool = l >= 0 - for yyj1306 := 0; ; yyj1306++ { - if yyhl1306 { - if yyj1306 >= 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 { @@ -18126,10 +18181,10 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1306Slc = r.DecodeBytes(yys1306Slc, true, true) - yys1306 := string(yys1306Slc) + yys1311Slc = r.DecodeBytes(yys1311Slc, true, true) + yys1311 := string(yys1311Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1306 { + switch yys1311 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -18143,9 +18198,9 @@ func (x *HTTPHeader) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1306) - } // end switch yys1306 - } // end for yyj1306 + z.DecStructFieldNotFound(-1, yys1311) + } // end switch yys1311 + } // end for yyj1311 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18153,16 +18208,16 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1309 int - var yyb1309 bool - var yyhl1309 bool = l >= 0 - yyj1309++ - if yyhl1309 { - yyb1309 = yyj1309 > l + var yyj1314 int + var yyb1314 bool + var yyhl1314 bool = l >= 0 + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1309 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1309 { + if yyb1314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18172,13 +18227,13 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1309++ - if yyhl1309 { - yyb1309 = yyj1309 > l + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1309 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1309 { + if yyb1314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18189,17 +18244,17 @@ func (x *HTTPHeader) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Value = string(r.DecodeString()) } for { - yyj1309++ - if yyhl1309 { - yyb1309 = yyj1309 > l + yyj1314++ + if yyhl1314 { + yyb1314 = yyj1314 > l } else { - yyb1309 = r.CheckBreak() + yyb1314 = r.CheckBreak() } - if yyb1309 { + if yyb1314 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1309-1, "") + z.DecStructFieldNotFound(yyj1314-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18211,38 +18266,38 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1312 := z.EncBinary() - _ = yym1312 + yym1317 := z.EncBinary() + _ = yym1317 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1313 := !z.EncBinary() - yy2arr1313 := z.EncBasicHandle().StructToArray - var yyq1313 [5]bool - _, _, _ = yysep1313, yyq1313, yy2arr1313 - const yyr1313 bool = false - yyq1313[0] = x.Path != "" - yyq1313[2] = x.Host != "" - yyq1313[3] = x.Scheme != "" - yyq1313[4] = len(x.HTTPHeaders) != 0 - var yynn1313 int - if yyr1313 || yy2arr1313 { + yysep1318 := !z.EncBinary() + yy2arr1318 := z.EncBasicHandle().StructToArray + var yyq1318 [5]bool + _, _, _ = yysep1318, yyq1318, yy2arr1318 + const yyr1318 bool = false + yyq1318[0] = x.Path != "" + yyq1318[2] = x.Host != "" + yyq1318[3] = x.Scheme != "" + yyq1318[4] = len(x.HTTPHeaders) != 0 + var yynn1318 int + if yyr1318 || yy2arr1318 { r.EncodeArrayStart(5) } else { - yynn1313 = 1 - for _, b := range yyq1313 { + yynn1318 = 1 + for _, b := range yyq1318 { if b { - yynn1313++ + yynn1318++ } } - r.EncodeMapStart(yynn1313) - yynn1313 = 0 + r.EncodeMapStart(yynn1318) + yynn1318 = 0 } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1313[0] { - yym1315 := z.EncBinary() - _ = yym1315 + if yyq1318[0] { + yym1320 := z.EncBinary() + _ = yym1320 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -18251,50 +18306,50 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1313[0] { + if yyq1318[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1316 := z.EncBinary() - _ = yym1316 + yym1321 := z.EncBinary() + _ = yym1321 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1318 := &x.Port - yym1319 := z.EncBinary() - _ = yym1319 + yy1323 := &x.Port + yym1324 := z.EncBinary() + _ = yym1324 if false { - } else if z.HasExtensions() && z.EncExt(yy1318) { - } else if !yym1319 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1318) + } else if z.HasExtensions() && z.EncExt(yy1323) { + } else if !yym1324 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1323) } else { - z.EncFallback(yy1318) + z.EncFallback(yy1323) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1320 := &x.Port - yym1321 := z.EncBinary() - _ = yym1321 + yy1325 := &x.Port + yym1326 := z.EncBinary() + _ = yym1326 if false { - } else if z.HasExtensions() && z.EncExt(yy1320) { - } else if !yym1321 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1320) + } else if z.HasExtensions() && z.EncExt(yy1325) { + } else if !yym1326 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1325) } else { - z.EncFallback(yy1320) + z.EncFallback(yy1325) } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1313[2] { - yym1323 := z.EncBinary() - _ = yym1323 + if yyq1318[2] { + yym1328 := z.EncBinary() + _ = yym1328 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -18303,41 +18358,41 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1313[2] { + if yyq1318[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1324 := z.EncBinary() - _ = yym1324 + yym1329 := z.EncBinary() + _ = yym1329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1313[3] { + if yyq1318[3] { x.Scheme.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1313[3] { + if yyq1318[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("scheme")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Scheme.CodecEncodeSelf(e) } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1313[4] { + if yyq1318[4] { if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1327 := z.EncBinary() - _ = yym1327 + yym1332 := z.EncBinary() + _ = yym1332 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -18347,15 +18402,15 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1313[4] { + if yyq1318[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpHeaders")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HTTPHeaders == nil { r.EncodeNil() } else { - yym1328 := z.EncBinary() - _ = yym1328 + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { h.encSliceHTTPHeader(([]HTTPHeader)(x.HTTPHeaders), e) @@ -18363,7 +18418,7 @@ func (x *HTTPGetAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1313 || yy2arr1313 { + if yyr1318 || yy2arr1318 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18376,25 +18431,25 @@ func (x *HTTPGetAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1329 := z.DecBinary() - _ = yym1329 + yym1334 := z.DecBinary() + _ = yym1334 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1330 := r.ContainerType() - if yyct1330 == codecSelferValueTypeMap1234 { - yyl1330 := r.ReadMapStart() - if yyl1330 == 0 { + yyct1335 := r.ContainerType() + if yyct1335 == codecSelferValueTypeMap1234 { + yyl1335 := r.ReadMapStart() + if yyl1335 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1330, d) + x.codecDecodeSelfFromMap(yyl1335, d) } - } else if yyct1330 == codecSelferValueTypeArray1234 { - yyl1330 := r.ReadArrayStart() - if yyl1330 == 0 { + } else if yyct1335 == codecSelferValueTypeArray1234 { + yyl1335 := r.ReadArrayStart() + if yyl1335 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1330, d) + x.codecDecodeSelfFromArray(yyl1335, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18406,12 +18461,12 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1331Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1331Slc - var yyhl1331 bool = l >= 0 - for yyj1331 := 0; ; yyj1331++ { - if yyhl1331 { - if yyj1331 >= l { + var yys1336Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1336Slc + var yyhl1336 bool = l >= 0 + for yyj1336 := 0; ; yyj1336++ { + if yyhl1336 { + if yyj1336 >= l { break } } else { @@ -18420,10 +18475,10 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1331Slc = r.DecodeBytes(yys1331Slc, true, true) - yys1331 := string(yys1331Slc) + yys1336Slc = r.DecodeBytes(yys1336Slc, true, true) + yys1336 := string(yys1336Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1331 { + switch yys1336 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -18434,15 +18489,15 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1333 := &x.Port - yym1334 := z.DecBinary() - _ = yym1334 + yyv1338 := &x.Port + yym1339 := z.DecBinary() + _ = yym1339 if false { - } else if z.HasExtensions() && z.DecExt(yyv1333) { - } else if !yym1334 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1333) + } else if z.HasExtensions() && z.DecExt(yyv1338) { + } else if !yym1339 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1338) } else { - z.DecFallback(yyv1333, false) + z.DecFallback(yyv1338, false) } } case "host": @@ -18461,18 +18516,18 @@ func (x *HTTPGetAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1337 := &x.HTTPHeaders - yym1338 := z.DecBinary() - _ = yym1338 + yyv1342 := &x.HTTPHeaders + yym1343 := z.DecBinary() + _ = yym1343 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1337), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1342), d) } } default: - z.DecStructFieldNotFound(-1, yys1331) - } // end switch yys1331 - } // end for yyj1331 + z.DecStructFieldNotFound(-1, yys1336) + } // end switch yys1336 + } // end for yyj1336 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18480,16 +18535,16 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1339 int - var yyb1339 bool - var yyhl1339 bool = l >= 0 - yyj1339++ - if yyhl1339 { - yyb1339 = yyj1339 > l + var yyj1344 int + var yyb1344 bool + var yyhl1344 bool = l >= 0 + yyj1344++ + if yyhl1344 { + yyb1344 = yyj1344 > l } else { - yyb1339 = r.CheckBreak() + yyb1344 = r.CheckBreak() } - if yyb1339 { + if yyb1344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18499,13 +18554,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Path = string(r.DecodeString()) } - yyj1339++ - if yyhl1339 { - yyb1339 = yyj1339 > l + yyj1344++ + if yyhl1344 { + yyb1344 = yyj1344 > l } else { - yyb1339 = r.CheckBreak() + yyb1344 = r.CheckBreak() } - if yyb1339 { + if yyb1344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18513,24 +18568,24 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1341 := &x.Port - yym1342 := z.DecBinary() - _ = yym1342 + yyv1346 := &x.Port + yym1347 := z.DecBinary() + _ = yym1347 if false { - } else if z.HasExtensions() && z.DecExt(yyv1341) { - } else if !yym1342 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1341) + } else if z.HasExtensions() && z.DecExt(yyv1346) { + } else if !yym1347 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1346) } else { - z.DecFallback(yyv1341, false) + z.DecFallback(yyv1346, false) } } - yyj1339++ - if yyhl1339 { - yyb1339 = yyj1339 > l + yyj1344++ + if yyhl1344 { + yyb1344 = yyj1344 > l } else { - yyb1339 = r.CheckBreak() + yyb1344 = r.CheckBreak() } - if yyb1339 { + if yyb1344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18540,13 +18595,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Host = string(r.DecodeString()) } - yyj1339++ - if yyhl1339 { - yyb1339 = yyj1339 > l + yyj1344++ + if yyhl1344 { + yyb1344 = yyj1344 > l } else { - yyb1339 = r.CheckBreak() + yyb1344 = r.CheckBreak() } - if yyb1339 { + if yyb1344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18556,13 +18611,13 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Scheme = URIScheme(r.DecodeString()) } - yyj1339++ - if yyhl1339 { - yyb1339 = yyj1339 > l + yyj1344++ + if yyhl1344 { + yyb1344 = yyj1344 > l } else { - yyb1339 = r.CheckBreak() + yyb1344 = r.CheckBreak() } - if yyb1339 { + if yyb1344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18570,26 +18625,26 @@ func (x *HTTPGetAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.HTTPHeaders = nil } else { - yyv1345 := &x.HTTPHeaders - yym1346 := z.DecBinary() - _ = yym1346 + yyv1350 := &x.HTTPHeaders + yym1351 := z.DecBinary() + _ = yym1351 if false { } else { - h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1345), d) + h.decSliceHTTPHeader((*[]HTTPHeader)(yyv1350), d) } } for { - yyj1339++ - if yyhl1339 { - yyb1339 = yyj1339 > l + yyj1344++ + if yyhl1344 { + yyb1344 = yyj1344 > l } else { - yyb1339 = r.CheckBreak() + yyb1344 = r.CheckBreak() } - if yyb1339 { + if yyb1344 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1339-1, "") + z.DecStructFieldNotFound(yyj1344-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18598,8 +18653,8 @@ func (x URIScheme) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1347 := z.EncBinary() - _ = yym1347 + yym1352 := z.EncBinary() + _ = yym1352 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18611,8 +18666,8 @@ func (x *URIScheme) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1348 := z.DecBinary() - _ = yym1348 + yym1353 := z.DecBinary() + _ = yym1353 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18627,57 +18682,57 @@ func (x *TCPSocketAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1349 := z.EncBinary() - _ = yym1349 + yym1354 := z.EncBinary() + _ = yym1354 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1350 := !z.EncBinary() - yy2arr1350 := z.EncBasicHandle().StructToArray - var yyq1350 [1]bool - _, _, _ = yysep1350, yyq1350, yy2arr1350 - const yyr1350 bool = false - var yynn1350 int - if yyr1350 || yy2arr1350 { + yysep1355 := !z.EncBinary() + yy2arr1355 := z.EncBasicHandle().StructToArray + var yyq1355 [1]bool + _, _, _ = yysep1355, yyq1355, yy2arr1355 + const yyr1355 bool = false + var yynn1355 int + if yyr1355 || yy2arr1355 { r.EncodeArrayStart(1) } else { - yynn1350 = 1 - for _, b := range yyq1350 { + yynn1355 = 1 + for _, b := range yyq1355 { if b { - yynn1350++ + yynn1355++ } } - r.EncodeMapStart(yynn1350) - yynn1350 = 0 + r.EncodeMapStart(yynn1355) + yynn1355 = 0 } - if yyr1350 || yy2arr1350 { + if yyr1355 || yy2arr1355 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1352 := &x.Port - yym1353 := z.EncBinary() - _ = yym1353 + yy1357 := &x.Port + yym1358 := z.EncBinary() + _ = yym1358 if false { - } else if z.HasExtensions() && z.EncExt(yy1352) { - } else if !yym1353 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1352) + } else if z.HasExtensions() && z.EncExt(yy1357) { + } else if !yym1358 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1357) } else { - z.EncFallback(yy1352) + z.EncFallback(yy1357) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1354 := &x.Port - yym1355 := z.EncBinary() - _ = yym1355 + yy1359 := &x.Port + yym1360 := z.EncBinary() + _ = yym1360 if false { - } else if z.HasExtensions() && z.EncExt(yy1354) { - } else if !yym1355 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1354) + } else if z.HasExtensions() && z.EncExt(yy1359) { + } else if !yym1360 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1359) } else { - z.EncFallback(yy1354) + z.EncFallback(yy1359) } } - if yyr1350 || yy2arr1350 { + if yyr1355 || yy2arr1355 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18690,25 +18745,25 @@ func (x *TCPSocketAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1356 := z.DecBinary() - _ = yym1356 + yym1361 := z.DecBinary() + _ = yym1361 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1357 := r.ContainerType() - if yyct1357 == codecSelferValueTypeMap1234 { - yyl1357 := r.ReadMapStart() - if yyl1357 == 0 { + yyct1362 := r.ContainerType() + if yyct1362 == codecSelferValueTypeMap1234 { + yyl1362 := r.ReadMapStart() + if yyl1362 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1357, d) + x.codecDecodeSelfFromMap(yyl1362, d) } - } else if yyct1357 == codecSelferValueTypeArray1234 { - yyl1357 := r.ReadArrayStart() - if yyl1357 == 0 { + } else if yyct1362 == codecSelferValueTypeArray1234 { + yyl1362 := r.ReadArrayStart() + if yyl1362 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1357, d) + x.codecDecodeSelfFromArray(yyl1362, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18720,12 +18775,12 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1358Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1358Slc - var yyhl1358 bool = l >= 0 - for yyj1358 := 0; ; yyj1358++ { - if yyhl1358 { - if yyj1358 >= l { + var yys1363Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1363Slc + var yyhl1363 bool = l >= 0 + for yyj1363 := 0; ; yyj1363++ { + if yyhl1363 { + if yyj1363 >= l { break } } else { @@ -18734,29 +18789,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1358Slc = r.DecodeBytes(yys1358Slc, true, true) - yys1358 := string(yys1358Slc) + yys1363Slc = r.DecodeBytes(yys1363Slc, true, true) + yys1363 := string(yys1363Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1358 { + switch yys1363 { case "port": if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1359 := &x.Port - yym1360 := z.DecBinary() - _ = yym1360 + yyv1364 := &x.Port + yym1365 := z.DecBinary() + _ = yym1365 if false { - } else if z.HasExtensions() && z.DecExt(yyv1359) { - } else if !yym1360 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1359) + } else if z.HasExtensions() && z.DecExt(yyv1364) { + } else if !yym1365 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1364) } else { - z.DecFallback(yyv1359, false) + z.DecFallback(yyv1364, false) } } default: - z.DecStructFieldNotFound(-1, yys1358) - } // end switch yys1358 - } // end for yyj1358 + z.DecStructFieldNotFound(-1, yys1363) + } // end switch yys1363 + } // end for yyj1363 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18764,16 +18819,16 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1361 int - var yyb1361 bool - var yyhl1361 bool = l >= 0 - yyj1361++ - if yyhl1361 { - yyb1361 = yyj1361 > l + var yyj1366 int + var yyb1366 bool + var yyhl1366 bool = l >= 0 + yyj1366++ + if yyhl1366 { + yyb1366 = yyj1366 > l } else { - yyb1361 = r.CheckBreak() + yyb1366 = r.CheckBreak() } - if yyb1361 { + if yyb1366 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18781,29 +18836,29 @@ func (x *TCPSocketAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Port = pkg4_intstr.IntOrString{} } else { - yyv1362 := &x.Port - yym1363 := z.DecBinary() - _ = yym1363 + yyv1367 := &x.Port + yym1368 := z.DecBinary() + _ = yym1368 if false { - } else if z.HasExtensions() && z.DecExt(yyv1362) { - } else if !yym1363 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1362) + } else if z.HasExtensions() && z.DecExt(yyv1367) { + } else if !yym1368 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1367) } else { - z.DecFallback(yyv1362, false) + z.DecFallback(yyv1367, false) } } for { - yyj1361++ - if yyhl1361 { - yyb1361 = yyj1361 > l + yyj1366++ + if yyhl1366 { + yyb1366 = yyj1366 > l } else { - yyb1361 = r.CheckBreak() + yyb1366 = r.CheckBreak() } - if yyb1361 { + if yyb1366 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1361-1, "") + z.DecStructFieldNotFound(yyj1366-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18815,38 +18870,38 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1364 := z.EncBinary() - _ = yym1364 + yym1369 := z.EncBinary() + _ = yym1369 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1365 := !z.EncBinary() - yy2arr1365 := z.EncBasicHandle().StructToArray - var yyq1365 [1]bool - _, _, _ = yysep1365, yyq1365, yy2arr1365 - const yyr1365 bool = false - yyq1365[0] = len(x.Command) != 0 - var yynn1365 int - if yyr1365 || yy2arr1365 { + yysep1370 := !z.EncBinary() + yy2arr1370 := z.EncBasicHandle().StructToArray + var yyq1370 [1]bool + _, _, _ = yysep1370, yyq1370, yy2arr1370 + const yyr1370 bool = false + yyq1370[0] = len(x.Command) != 0 + var yynn1370 int + if yyr1370 || yy2arr1370 { r.EncodeArrayStart(1) } else { - yynn1365 = 0 - for _, b := range yyq1365 { + yynn1370 = 0 + for _, b := range yyq1370 { if b { - yynn1365++ + yynn1370++ } } - r.EncodeMapStart(yynn1365) - yynn1365 = 0 + r.EncodeMapStart(yynn1370) + yynn1370 = 0 } - if yyr1365 || yy2arr1365 { + if yyr1370 || yy2arr1370 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1365[0] { + if yyq1370[0] { if x.Command == nil { r.EncodeNil() } else { - yym1367 := z.EncBinary() - _ = yym1367 + yym1372 := z.EncBinary() + _ = yym1372 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -18856,15 +18911,15 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1365[0] { + if yyq1370[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1368 := z.EncBinary() - _ = yym1368 + yym1373 := z.EncBinary() + _ = yym1373 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -18872,7 +18927,7 @@ func (x *ExecAction) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1365 || yy2arr1365 { + if yyr1370 || yy2arr1370 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18885,25 +18940,25 @@ func (x *ExecAction) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1369 := z.DecBinary() - _ = yym1369 + yym1374 := z.DecBinary() + _ = yym1374 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1370 := r.ContainerType() - if yyct1370 == codecSelferValueTypeMap1234 { - yyl1370 := r.ReadMapStart() - if yyl1370 == 0 { + yyct1375 := r.ContainerType() + if yyct1375 == codecSelferValueTypeMap1234 { + yyl1375 := r.ReadMapStart() + if yyl1375 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1370, d) + x.codecDecodeSelfFromMap(yyl1375, d) } - } else if yyct1370 == codecSelferValueTypeArray1234 { - yyl1370 := r.ReadArrayStart() - if yyl1370 == 0 { + } else if yyct1375 == codecSelferValueTypeArray1234 { + yyl1375 := r.ReadArrayStart() + if yyl1375 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1370, d) + x.codecDecodeSelfFromArray(yyl1375, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18915,12 +18970,12 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1371Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1371Slc - var yyhl1371 bool = l >= 0 - for yyj1371 := 0; ; yyj1371++ { - if yyhl1371 { - if yyj1371 >= l { + var yys1376Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1376Slc + var yyhl1376 bool = l >= 0 + for yyj1376 := 0; ; yyj1376++ { + if yyhl1376 { + if yyj1376 >= l { break } } else { @@ -18929,26 +18984,26 @@ func (x *ExecAction) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1371Slc = r.DecodeBytes(yys1371Slc, true, true) - yys1371 := string(yys1371Slc) + yys1376Slc = r.DecodeBytes(yys1376Slc, true, true) + yys1376 := string(yys1376Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1371 { + switch yys1376 { case "command": if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1372 := &x.Command - yym1373 := z.DecBinary() - _ = yym1373 + yyv1377 := &x.Command + yym1378 := z.DecBinary() + _ = yym1378 if false { } else { - z.F.DecSliceStringX(yyv1372, false, d) + z.F.DecSliceStringX(yyv1377, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1371) - } // end switch yys1371 - } // end for yyj1371 + z.DecStructFieldNotFound(-1, yys1376) + } // end switch yys1376 + } // end for yyj1376 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18956,16 +19011,16 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1374 int - var yyb1374 bool - var yyhl1374 bool = l >= 0 - yyj1374++ - if yyhl1374 { - yyb1374 = yyj1374 > l + var yyj1379 int + var yyb1379 bool + var yyhl1379 bool = l >= 0 + yyj1379++ + if yyhl1379 { + yyb1379 = yyj1379 > l } else { - yyb1374 = r.CheckBreak() + yyb1379 = r.CheckBreak() } - if yyb1374 { + if yyb1379 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18973,26 +19028,26 @@ func (x *ExecAction) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1375 := &x.Command - yym1376 := z.DecBinary() - _ = yym1376 + yyv1380 := &x.Command + yym1381 := z.DecBinary() + _ = yym1381 if false { } else { - z.F.DecSliceStringX(yyv1375, false, d) + z.F.DecSliceStringX(yyv1380, false, d) } } for { - yyj1374++ - if yyhl1374 { - yyb1374 = yyj1374 > l + yyj1379++ + if yyhl1379 { + yyb1379 = yyj1379 > l } else { - yyb1374 = r.CheckBreak() + yyb1379 = r.CheckBreak() } - if yyb1374 { + if yyb1379 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1374-1, "") + z.DecStructFieldNotFound(yyj1379-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19004,49 +19059,49 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1377 := z.EncBinary() - _ = yym1377 + yym1382 := z.EncBinary() + _ = yym1382 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1378 := !z.EncBinary() - yy2arr1378 := z.EncBasicHandle().StructToArray - var yyq1378 [8]bool - _, _, _ = yysep1378, yyq1378, yy2arr1378 - const yyr1378 bool = false - yyq1378[0] = x.Handler.Exec != nil && x.Exec != nil - yyq1378[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil - yyq1378[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil - yyq1378[3] = x.InitialDelaySeconds != 0 - yyq1378[4] = x.TimeoutSeconds != 0 - yyq1378[5] = x.PeriodSeconds != 0 - yyq1378[6] = x.SuccessThreshold != 0 - yyq1378[7] = x.FailureThreshold != 0 - var yynn1378 int - if yyr1378 || yy2arr1378 { + yysep1383 := !z.EncBinary() + yy2arr1383 := z.EncBasicHandle().StructToArray + var yyq1383 [8]bool + _, _, _ = yysep1383, yyq1383, yy2arr1383 + const yyr1383 bool = false + yyq1383[0] = x.Handler.Exec != nil && x.Exec != nil + yyq1383[1] = x.Handler.HTTPGet != nil && x.HTTPGet != nil + yyq1383[2] = x.Handler.TCPSocket != nil && x.TCPSocket != nil + yyq1383[3] = x.InitialDelaySeconds != 0 + yyq1383[4] = x.TimeoutSeconds != 0 + yyq1383[5] = x.PeriodSeconds != 0 + yyq1383[6] = x.SuccessThreshold != 0 + yyq1383[7] = x.FailureThreshold != 0 + var yynn1383 int + if yyr1383 || yy2arr1383 { r.EncodeArrayStart(8) } else { - yynn1378 = 0 - for _, b := range yyq1378 { + yynn1383 = 0 + for _, b := range yyq1383 { if b { - yynn1378++ + yynn1383++ } } - r.EncodeMapStart(yynn1378) - yynn1378 = 0 + r.EncodeMapStart(yynn1383) + yynn1383 = 0 } - var yyn1379 bool + var yyn1384 bool if x.Handler.Exec == nil { - yyn1379 = true - goto LABEL1379 + yyn1384 = true + goto LABEL1384 } - LABEL1379: - if yyr1378 || yy2arr1378 { - if yyn1379 { + LABEL1384: + if yyr1383 || yy2arr1383 { + if yyn1384 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[0] { + if yyq1383[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -19057,11 +19112,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1378[0] { + if yyq1383[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1379 { + if yyn1384 { r.EncodeNil() } else { if x.Exec == nil { @@ -19072,18 +19127,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1380 bool + var yyn1385 bool if x.Handler.HTTPGet == nil { - yyn1380 = true - goto LABEL1380 + yyn1385 = true + goto LABEL1385 } - LABEL1380: - if yyr1378 || yy2arr1378 { - if yyn1380 { + LABEL1385: + if yyr1383 || yy2arr1383 { + if yyn1385 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[1] { + if yyq1383[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -19094,11 +19149,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1378[1] { + if yyq1383[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1380 { + if yyn1385 { r.EncodeNil() } else { if x.HTTPGet == nil { @@ -19109,18 +19164,18 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - var yyn1381 bool + var yyn1386 bool if x.Handler.TCPSocket == nil { - yyn1381 = true - goto LABEL1381 + yyn1386 = true + goto LABEL1386 } - LABEL1381: - if yyr1378 || yy2arr1378 { - if yyn1381 { + LABEL1386: + if yyr1383 || yy2arr1383 { + if yyn1386 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[2] { + if yyq1383[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -19131,11 +19186,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1378[2] { + if yyq1383[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1381 { + if yyn1386 { r.EncodeNil() } else { if x.TCPSocket == nil { @@ -19146,11 +19201,11 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1378 || yy2arr1378 { + if yyr1383 || yy2arr1383 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[3] { - yym1383 := z.EncBinary() - _ = yym1383 + if yyq1383[3] { + yym1388 := z.EncBinary() + _ = yym1388 if false { } else { r.EncodeInt(int64(x.InitialDelaySeconds)) @@ -19159,99 +19214,99 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1378[3] { + if yyq1383[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("initialDelaySeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1384 := z.EncBinary() - _ = yym1384 - if false { - } else { - r.EncodeInt(int64(x.InitialDelaySeconds)) - } - } - } - if yyr1378 || yy2arr1378 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[4] { - yym1386 := z.EncBinary() - _ = yym1386 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq1378[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1387 := z.EncBinary() - _ = yym1387 - if false { - } else { - r.EncodeInt(int64(x.TimeoutSeconds)) - } - } - } - if yyr1378 || yy2arr1378 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[5] { yym1389 := z.EncBinary() _ = yym1389 if false { } else { - r.EncodeInt(int64(x.PeriodSeconds)) + r.EncodeInt(int64(x.InitialDelaySeconds)) + } + } + } + if yyr1383 || yy2arr1383 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1383[4] { + yym1391 := z.EncBinary() + _ = yym1391 + if false { + } else { + r.EncodeInt(int64(x.TimeoutSeconds)) } } else { r.EncodeInt(0) } } else { - if yyq1378[5] { + if yyq1383[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) + r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1390 := z.EncBinary() - _ = yym1390 - if false { - } else { - r.EncodeInt(int64(x.PeriodSeconds)) - } - } - } - if yyr1378 || yy2arr1378 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[6] { yym1392 := z.EncBinary() _ = yym1392 if false { } else { - r.EncodeInt(int64(x.SuccessThreshold)) + r.EncodeInt(int64(x.TimeoutSeconds)) + } + } + } + if yyr1383 || yy2arr1383 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1383[5] { + yym1394 := z.EncBinary() + _ = yym1394 + if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) } } else { r.EncodeInt(0) } } else { - if yyq1378[6] { + if yyq1383[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) + r.EncodeString(codecSelferC_UTF81234, string("periodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1393 := z.EncBinary() - _ = yym1393 - if false { - } else { - r.EncodeInt(int64(x.SuccessThreshold)) - } - } - } - if yyr1378 || yy2arr1378 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1378[7] { yym1395 := z.EncBinary() _ = yym1395 if false { + } else { + r.EncodeInt(int64(x.PeriodSeconds)) + } + } + } + if yyr1383 || yy2arr1383 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1383[6] { + yym1397 := z.EncBinary() + _ = yym1397 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1383[6] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("successThreshold")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1398 := z.EncBinary() + _ = yym1398 + if false { + } else { + r.EncodeInt(int64(x.SuccessThreshold)) + } + } + } + if yyr1383 || yy2arr1383 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1383[7] { + yym1400 := z.EncBinary() + _ = yym1400 + if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } @@ -19259,19 +19314,19 @@ func (x *Probe) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1378[7] { + if yyq1383[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failureThreshold")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1396 := z.EncBinary() - _ = yym1396 + yym1401 := z.EncBinary() + _ = yym1401 if false { } else { r.EncodeInt(int64(x.FailureThreshold)) } } } - if yyr1378 || yy2arr1378 { + if yyr1383 || yy2arr1383 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19284,25 +19339,25 @@ func (x *Probe) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1397 := z.DecBinary() - _ = yym1397 + yym1402 := z.DecBinary() + _ = yym1402 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1398 := r.ContainerType() - if yyct1398 == codecSelferValueTypeMap1234 { - yyl1398 := r.ReadMapStart() - if yyl1398 == 0 { + yyct1403 := r.ContainerType() + if yyct1403 == codecSelferValueTypeMap1234 { + yyl1403 := r.ReadMapStart() + if yyl1403 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1398, d) + x.codecDecodeSelfFromMap(yyl1403, d) } - } else if yyct1398 == codecSelferValueTypeArray1234 { - yyl1398 := r.ReadArrayStart() - if yyl1398 == 0 { + } else if yyct1403 == codecSelferValueTypeArray1234 { + yyl1403 := r.ReadArrayStart() + if yyl1403 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1398, d) + x.codecDecodeSelfFromArray(yyl1403, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19314,12 +19369,12 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1399Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1399Slc - var yyhl1399 bool = l >= 0 - for yyj1399 := 0; ; yyj1399++ { - if yyhl1399 { - if yyj1399 >= l { + var yys1404Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1404Slc + var yyhl1404 bool = l >= 0 + for yyj1404 := 0; ; yyj1404++ { + if yyhl1404 { + if yyj1404 >= l { break } } else { @@ -19328,10 +19383,10 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1399Slc = r.DecodeBytes(yys1399Slc, true, true) - yys1399 := string(yys1399Slc) + yys1404Slc = r.DecodeBytes(yys1404Slc, true, true) + yys1404 := string(yys1404Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1399 { + switch yys1404 { case "exec": if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) @@ -19405,9 +19460,9 @@ func (x *Probe) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FailureThreshold = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1399) - } // end switch yys1399 - } // end for yyj1399 + z.DecStructFieldNotFound(-1, yys1404) + } // end switch yys1404 + } // end for yyj1404 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19415,19 +19470,19 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1408 int - var yyb1408 bool - var yyhl1408 bool = l >= 0 + var yyj1413 int + var yyb1413 bool + var yyhl1413 bool = l >= 0 if x.Handler.Exec == nil { x.Handler.Exec = new(ExecAction) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19445,13 +19500,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.HTTPGet == nil { x.Handler.HTTPGet = new(HTTPGetAction) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19469,13 +19524,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Handler.TCPSocket == nil { x.Handler.TCPSocket = new(TCPSocketAction) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19490,13 +19545,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.TCPSocket.CodecDecodeSelf(d) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19506,13 +19561,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.InitialDelaySeconds = int32(r.DecodeInt(32)) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19522,13 +19577,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TimeoutSeconds = int32(r.DecodeInt(32)) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19538,13 +19593,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PeriodSeconds = int32(r.DecodeInt(32)) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19554,13 +19609,13 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SuccessThreshold = int32(r.DecodeInt(32)) } - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19571,17 +19626,17 @@ func (x *Probe) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.FailureThreshold = int32(r.DecodeInt(32)) } for { - yyj1408++ - if yyhl1408 { - yyb1408 = yyj1408 > l + yyj1413++ + if yyhl1413 { + yyb1413 = yyj1413 > l } else { - yyb1408 = r.CheckBreak() + yyb1413 = r.CheckBreak() } - if yyb1408 { + if yyb1413 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1408-1, "") + z.DecStructFieldNotFound(yyj1413-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19590,8 +19645,8 @@ func (x PullPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1417 := z.EncBinary() - _ = yym1417 + yym1422 := z.EncBinary() + _ = yym1422 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19603,8 +19658,8 @@ func (x *PullPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1418 := z.DecBinary() - _ = yym1418 + yym1423 := z.DecBinary() + _ = yym1423 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19616,8 +19671,8 @@ func (x Capability) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1419 := z.EncBinary() - _ = yym1419 + yym1424 := z.EncBinary() + _ = yym1424 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19629,8 +19684,8 @@ func (x *Capability) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1420 := z.DecBinary() - _ = yym1420 + yym1425 := z.DecBinary() + _ = yym1425 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19645,39 +19700,39 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1421 := z.EncBinary() - _ = yym1421 + yym1426 := z.EncBinary() + _ = yym1426 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1422 := !z.EncBinary() - yy2arr1422 := z.EncBasicHandle().StructToArray - var yyq1422 [2]bool - _, _, _ = yysep1422, yyq1422, yy2arr1422 - const yyr1422 bool = false - yyq1422[0] = len(x.Add) != 0 - yyq1422[1] = len(x.Drop) != 0 - var yynn1422 int - if yyr1422 || yy2arr1422 { + yysep1427 := !z.EncBinary() + yy2arr1427 := z.EncBasicHandle().StructToArray + var yyq1427 [2]bool + _, _, _ = yysep1427, yyq1427, yy2arr1427 + const yyr1427 bool = false + yyq1427[0] = len(x.Add) != 0 + yyq1427[1] = len(x.Drop) != 0 + var yynn1427 int + if yyr1427 || yy2arr1427 { r.EncodeArrayStart(2) } else { - yynn1422 = 0 - for _, b := range yyq1422 { + yynn1427 = 0 + for _, b := range yyq1427 { if b { - yynn1422++ + yynn1427++ } } - r.EncodeMapStart(yynn1422) - yynn1422 = 0 + r.EncodeMapStart(yynn1427) + yynn1427 = 0 } - if yyr1422 || yy2arr1422 { + if yyr1427 || yy2arr1427 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1422[0] { + if yyq1427[0] { if x.Add == nil { r.EncodeNil() } else { - yym1424 := z.EncBinary() - _ = yym1424 + yym1429 := z.EncBinary() + _ = yym1429 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -19687,15 +19742,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1422[0] { + if yyq1427[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("add")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Add == nil { r.EncodeNil() } else { - yym1425 := z.EncBinary() - _ = yym1425 + yym1430 := z.EncBinary() + _ = yym1430 if false { } else { h.encSliceCapability(([]Capability)(x.Add), e) @@ -19703,14 +19758,14 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1422 || yy2arr1422 { + if yyr1427 || yy2arr1427 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1422[1] { + if yyq1427[1] { if x.Drop == nil { r.EncodeNil() } else { - yym1427 := z.EncBinary() - _ = yym1427 + yym1432 := z.EncBinary() + _ = yym1432 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -19720,15 +19775,15 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1422[1] { + if yyq1427[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("drop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Drop == nil { r.EncodeNil() } else { - yym1428 := z.EncBinary() - _ = yym1428 + yym1433 := z.EncBinary() + _ = yym1433 if false { } else { h.encSliceCapability(([]Capability)(x.Drop), e) @@ -19736,7 +19791,7 @@ func (x *Capabilities) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1422 || yy2arr1422 { + if yyr1427 || yy2arr1427 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19749,25 +19804,25 @@ func (x *Capabilities) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1429 := z.DecBinary() - _ = yym1429 + yym1434 := z.DecBinary() + _ = yym1434 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1430 := r.ContainerType() - if yyct1430 == codecSelferValueTypeMap1234 { - yyl1430 := r.ReadMapStart() - if yyl1430 == 0 { + yyct1435 := r.ContainerType() + if yyct1435 == codecSelferValueTypeMap1234 { + yyl1435 := r.ReadMapStart() + if yyl1435 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1430, d) + x.codecDecodeSelfFromMap(yyl1435, d) } - } else if yyct1430 == codecSelferValueTypeArray1234 { - yyl1430 := r.ReadArrayStart() - if yyl1430 == 0 { + } else if yyct1435 == codecSelferValueTypeArray1234 { + yyl1435 := r.ReadArrayStart() + if yyl1435 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1430, d) + x.codecDecodeSelfFromArray(yyl1435, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19779,12 +19834,12 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1431Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1431Slc - var yyhl1431 bool = l >= 0 - for yyj1431 := 0; ; yyj1431++ { - if yyhl1431 { - if yyj1431 >= l { + var yys1436Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1436Slc + var yyhl1436 bool = l >= 0 + for yyj1436 := 0; ; yyj1436++ { + if yyhl1436 { + if yyj1436 >= l { break } } else { @@ -19793,38 +19848,38 @@ func (x *Capabilities) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1431Slc = r.DecodeBytes(yys1431Slc, true, true) - yys1431 := string(yys1431Slc) + yys1436Slc = r.DecodeBytes(yys1436Slc, true, true) + yys1436 := string(yys1436Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1431 { + switch yys1436 { case "add": if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1432 := &x.Add - yym1433 := z.DecBinary() - _ = yym1433 + yyv1437 := &x.Add + yym1438 := z.DecBinary() + _ = yym1438 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1432), d) + h.decSliceCapability((*[]Capability)(yyv1437), d) } } case "drop": if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1434 := &x.Drop - yym1435 := z.DecBinary() - _ = yym1435 + yyv1439 := &x.Drop + yym1440 := z.DecBinary() + _ = yym1440 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1434), d) + h.decSliceCapability((*[]Capability)(yyv1439), d) } } default: - z.DecStructFieldNotFound(-1, yys1431) - } // end switch yys1431 - } // end for yyj1431 + z.DecStructFieldNotFound(-1, yys1436) + } // end switch yys1436 + } // end for yyj1436 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19832,16 +19887,16 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1436 int - var yyb1436 bool - var yyhl1436 bool = l >= 0 - yyj1436++ - if yyhl1436 { - yyb1436 = yyj1436 > l + var yyj1441 int + var yyb1441 bool + var yyhl1441 bool = l >= 0 + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1436 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1436 { + if yyb1441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19849,21 +19904,21 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Add = nil } else { - yyv1437 := &x.Add - yym1438 := z.DecBinary() - _ = yym1438 + yyv1442 := &x.Add + yym1443 := z.DecBinary() + _ = yym1443 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1437), d) + h.decSliceCapability((*[]Capability)(yyv1442), d) } } - yyj1436++ - if yyhl1436 { - yyb1436 = yyj1436 > l + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1436 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1436 { + if yyb1441 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19871,26 +19926,26 @@ func (x *Capabilities) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Drop = nil } else { - yyv1439 := &x.Drop - yym1440 := z.DecBinary() - _ = yym1440 + yyv1444 := &x.Drop + yym1445 := z.DecBinary() + _ = yym1445 if false { } else { - h.decSliceCapability((*[]Capability)(yyv1439), d) + h.decSliceCapability((*[]Capability)(yyv1444), d) } } for { - yyj1436++ - if yyhl1436 { - yyb1436 = yyj1436 > l + yyj1441++ + if yyhl1441 { + yyb1441 = yyj1441 > l } else { - yyb1436 = r.CheckBreak() + yyb1441 = r.CheckBreak() } - if yyb1436 { + if yyb1441 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1436-1, "") + z.DecStructFieldNotFound(yyj1441-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19902,34 +19957,34 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1441 := z.EncBinary() - _ = yym1441 + yym1446 := z.EncBinary() + _ = yym1446 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1442 := !z.EncBinary() - yy2arr1442 := z.EncBasicHandle().StructToArray - var yyq1442 [2]bool - _, _, _ = yysep1442, yyq1442, yy2arr1442 - const yyr1442 bool = false - yyq1442[0] = len(x.Limits) != 0 - yyq1442[1] = len(x.Requests) != 0 - var yynn1442 int - if yyr1442 || yy2arr1442 { + yysep1447 := !z.EncBinary() + yy2arr1447 := z.EncBasicHandle().StructToArray + var yyq1447 [2]bool + _, _, _ = yysep1447, yyq1447, yy2arr1447 + const yyr1447 bool = false + yyq1447[0] = len(x.Limits) != 0 + yyq1447[1] = len(x.Requests) != 0 + var yynn1447 int + if yyr1447 || yy2arr1447 { r.EncodeArrayStart(2) } else { - yynn1442 = 0 - for _, b := range yyq1442 { + yynn1447 = 0 + for _, b := range yyq1447 { if b { - yynn1442++ + yynn1447++ } } - r.EncodeMapStart(yynn1442) - yynn1442 = 0 + r.EncodeMapStart(yynn1447) + yynn1447 = 0 } - if yyr1442 || yy2arr1442 { + if yyr1447 || yy2arr1447 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1442[0] { + if yyq1447[0] { if x.Limits == nil { r.EncodeNil() } else { @@ -19939,7 +19994,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1442[0] { + if yyq1447[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("limits")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19950,9 +20005,9 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1442 || yy2arr1442 { + if yyr1447 || yy2arr1447 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1442[1] { + if yyq1447[1] { if x.Requests == nil { r.EncodeNil() } else { @@ -19962,7 +20017,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1442[1] { + if yyq1447[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requests")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -19973,7 +20028,7 @@ func (x *ResourceRequirements) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1442 || yy2arr1442 { + if yyr1447 || yy2arr1447 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19986,25 +20041,25 @@ func (x *ResourceRequirements) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1445 := z.DecBinary() - _ = yym1445 + yym1450 := z.DecBinary() + _ = yym1450 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1446 := r.ContainerType() - if yyct1446 == codecSelferValueTypeMap1234 { - yyl1446 := r.ReadMapStart() - if yyl1446 == 0 { + yyct1451 := r.ContainerType() + if yyct1451 == codecSelferValueTypeMap1234 { + yyl1451 := r.ReadMapStart() + if yyl1451 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1446, d) + x.codecDecodeSelfFromMap(yyl1451, d) } - } else if yyct1446 == codecSelferValueTypeArray1234 { - yyl1446 := r.ReadArrayStart() - if yyl1446 == 0 { + } else if yyct1451 == codecSelferValueTypeArray1234 { + yyl1451 := r.ReadArrayStart() + if yyl1451 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1446, d) + x.codecDecodeSelfFromArray(yyl1451, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20016,12 +20071,12 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1447Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1447Slc - var yyhl1447 bool = l >= 0 - for yyj1447 := 0; ; yyj1447++ { - if yyhl1447 { - if yyj1447 >= l { + var yys1452Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1452Slc + var yyhl1452 bool = l >= 0 + for yyj1452 := 0; ; yyj1452++ { + if yyhl1452 { + if yyj1452 >= l { break } } else { @@ -20030,28 +20085,28 @@ func (x *ResourceRequirements) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1447Slc = r.DecodeBytes(yys1447Slc, true, true) - yys1447 := string(yys1447Slc) + yys1452Slc = r.DecodeBytes(yys1452Slc, true, true) + yys1452 := string(yys1452Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1447 { + switch yys1452 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1448 := &x.Limits - yyv1448.CodecDecodeSelf(d) + yyv1453 := &x.Limits + yyv1453.CodecDecodeSelf(d) } case "requests": if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1449 := &x.Requests - yyv1449.CodecDecodeSelf(d) + yyv1454 := &x.Requests + yyv1454.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1447) - } // end switch yys1447 - } // end for yyj1447 + z.DecStructFieldNotFound(-1, yys1452) + } // end switch yys1452 + } // end for yyj1452 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20059,16 +20114,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1450 int - var yyb1450 bool - var yyhl1450 bool = l >= 0 - yyj1450++ - if yyhl1450 { - yyb1450 = yyj1450 > l + var yyj1455 int + var yyb1455 bool + var yyhl1455 bool = l >= 0 + yyj1455++ + if yyhl1455 { + yyb1455 = yyj1455 > l } else { - yyb1450 = r.CheckBreak() + yyb1455 = r.CheckBreak() } - if yyb1450 { + if yyb1455 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20076,16 +20131,16 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv1451 := &x.Limits - yyv1451.CodecDecodeSelf(d) + yyv1456 := &x.Limits + yyv1456.CodecDecodeSelf(d) } - yyj1450++ - if yyhl1450 { - yyb1450 = yyj1450 > l + yyj1455++ + if yyhl1455 { + yyb1455 = yyj1455 > l } else { - yyb1450 = r.CheckBreak() + yyb1455 = r.CheckBreak() } - if yyb1450 { + if yyb1455 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20093,21 +20148,21 @@ func (x *ResourceRequirements) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Requests = nil } else { - yyv1452 := &x.Requests - yyv1452.CodecDecodeSelf(d) + yyv1457 := &x.Requests + yyv1457.CodecDecodeSelf(d) } for { - yyj1450++ - if yyhl1450 { - yyb1450 = yyj1450 > l + yyj1455++ + if yyhl1455 { + yyb1455 = yyj1455 > l } else { - yyb1450 = r.CheckBreak() + yyb1455 = r.CheckBreak() } - if yyb1450 { + if yyb1455 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1450-1, "") + z.DecStructFieldNotFound(yyj1455-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20119,50 +20174,50 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1453 := z.EncBinary() - _ = yym1453 + yym1458 := z.EncBinary() + _ = yym1458 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1454 := !z.EncBinary() - yy2arr1454 := z.EncBasicHandle().StructToArray - var yyq1454 [18]bool - _, _, _ = yysep1454, yyq1454, yy2arr1454 - const yyr1454 bool = false - yyq1454[1] = x.Image != "" - yyq1454[2] = len(x.Command) != 0 - yyq1454[3] = len(x.Args) != 0 - yyq1454[4] = x.WorkingDir != "" - yyq1454[5] = len(x.Ports) != 0 - yyq1454[6] = len(x.Env) != 0 - yyq1454[7] = true - yyq1454[8] = len(x.VolumeMounts) != 0 - yyq1454[9] = x.LivenessProbe != nil - yyq1454[10] = x.ReadinessProbe != nil - yyq1454[11] = x.Lifecycle != nil - yyq1454[12] = x.TerminationMessagePath != "" - yyq1454[13] = x.ImagePullPolicy != "" - yyq1454[14] = x.SecurityContext != nil - yyq1454[15] = x.Stdin != false - yyq1454[16] = x.StdinOnce != false - yyq1454[17] = x.TTY != false - var yynn1454 int - if yyr1454 || yy2arr1454 { + yysep1459 := !z.EncBinary() + yy2arr1459 := z.EncBasicHandle().StructToArray + var yyq1459 [18]bool + _, _, _ = yysep1459, yyq1459, yy2arr1459 + const yyr1459 bool = false + yyq1459[1] = x.Image != "" + yyq1459[2] = len(x.Command) != 0 + yyq1459[3] = len(x.Args) != 0 + yyq1459[4] = x.WorkingDir != "" + yyq1459[5] = len(x.Ports) != 0 + yyq1459[6] = len(x.Env) != 0 + yyq1459[7] = true + yyq1459[8] = len(x.VolumeMounts) != 0 + yyq1459[9] = x.LivenessProbe != nil + yyq1459[10] = x.ReadinessProbe != nil + yyq1459[11] = x.Lifecycle != nil + yyq1459[12] = x.TerminationMessagePath != "" + yyq1459[13] = x.ImagePullPolicy != "" + yyq1459[14] = x.SecurityContext != nil + yyq1459[15] = x.Stdin != false + yyq1459[16] = x.StdinOnce != false + yyq1459[17] = x.TTY != false + var yynn1459 int + if yyr1459 || yy2arr1459 { r.EncodeArrayStart(18) } else { - yynn1454 = 1 - for _, b := range yyq1454 { + yynn1459 = 1 + for _, b := range yyq1459 { if b { - yynn1454++ + yynn1459++ } } - r.EncodeMapStart(yynn1454) - yynn1454 = 0 + r.EncodeMapStart(yynn1459) + yynn1459 = 0 } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1456 := z.EncBinary() - _ = yym1456 + yym1461 := z.EncBinary() + _ = yym1461 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -20171,18 +20226,18 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1457 := z.EncBinary() - _ = yym1457 + yym1462 := z.EncBinary() + _ = yym1462 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[1] { - yym1459 := z.EncBinary() - _ = yym1459 + if yyq1459[1] { + yym1464 := z.EncBinary() + _ = yym1464 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -20191,26 +20246,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1454[1] { + if yyq1459[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1460 := z.EncBinary() - _ = yym1460 + yym1465 := z.EncBinary() + _ = yym1465 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[2] { + if yyq1459[2] { if x.Command == nil { r.EncodeNil() } else { - yym1462 := z.EncBinary() - _ = yym1462 + yym1467 := z.EncBinary() + _ = yym1467 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -20220,15 +20275,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[2] { + if yyq1459[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("command")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Command == nil { r.EncodeNil() } else { - yym1463 := z.EncBinary() - _ = yym1463 + yym1468 := z.EncBinary() + _ = yym1468 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -20236,14 +20291,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[3] { + if yyq1459[3] { if x.Args == nil { r.EncodeNil() } else { - yym1465 := z.EncBinary() - _ = yym1465 + yym1470 := z.EncBinary() + _ = yym1470 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -20253,15 +20308,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[3] { + if yyq1459[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("args")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Args == nil { r.EncodeNil() } else { - yym1466 := z.EncBinary() - _ = yym1466 + yym1471 := z.EncBinary() + _ = yym1471 if false { } else { z.F.EncSliceStringV(x.Args, false, e) @@ -20269,11 +20324,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[4] { - yym1468 := z.EncBinary() - _ = yym1468 + if yyq1459[4] { + yym1473 := z.EncBinary() + _ = yym1473 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) @@ -20282,26 +20337,26 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1454[4] { + if yyq1459[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("workingDir")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1469 := z.EncBinary() - _ = yym1469 + yym1474 := z.EncBinary() + _ = yym1474 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.WorkingDir)) } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[5] { + if yyq1459[5] { if x.Ports == nil { r.EncodeNil() } else { - yym1471 := z.EncBinary() - _ = yym1471 + yym1476 := z.EncBinary() + _ = yym1476 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -20311,15 +20366,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[5] { + if yyq1459[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1472 := z.EncBinary() - _ = yym1472 + yym1477 := z.EncBinary() + _ = yym1477 if false { } else { h.encSliceContainerPort(([]ContainerPort)(x.Ports), e) @@ -20327,14 +20382,14 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[6] { + if yyq1459[6] { if x.Env == nil { r.EncodeNil() } else { - yym1474 := z.EncBinary() - _ = yym1474 + yym1479 := z.EncBinary() + _ = yym1479 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -20344,15 +20399,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[6] { + if yyq1459[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("env")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Env == nil { r.EncodeNil() } else { - yym1475 := z.EncBinary() - _ = yym1475 + yym1480 := z.EncBinary() + _ = yym1480 if false { } else { h.encSliceEnvVar(([]EnvVar)(x.Env), e) @@ -20360,31 +20415,31 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[7] { - yy1477 := &x.Resources - yy1477.CodecEncodeSelf(e) + if yyq1459[7] { + yy1482 := &x.Resources + yy1482.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1454[7] { + if yyq1459[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resources")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1478 := &x.Resources - yy1478.CodecEncodeSelf(e) + yy1483 := &x.Resources + yy1483.CodecEncodeSelf(e) } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[8] { + if yyq1459[8] { if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1480 := z.EncBinary() - _ = yym1480 + yym1485 := z.EncBinary() + _ = yym1485 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -20394,15 +20449,15 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[8] { + if yyq1459[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumeMounts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumeMounts == nil { r.EncodeNil() } else { - yym1481 := z.EncBinary() - _ = yym1481 + yym1486 := z.EncBinary() + _ = yym1486 if false { } else { h.encSliceVolumeMount(([]VolumeMount)(x.VolumeMounts), e) @@ -20410,9 +20465,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[9] { + if yyq1459[9] { if x.LivenessProbe == nil { r.EncodeNil() } else { @@ -20422,7 +20477,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[9] { + if yyq1459[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("livenessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20433,9 +20488,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[10] { + if yyq1459[10] { if x.ReadinessProbe == nil { r.EncodeNil() } else { @@ -20445,7 +20500,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[10] { + if yyq1459[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readinessProbe")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20456,9 +20511,9 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[11] { + if yyq1459[11] { if x.Lifecycle == nil { r.EncodeNil() } else { @@ -20468,7 +20523,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[11] { + if yyq1459[11] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lifecycle")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20479,11 +20534,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[12] { - yym1486 := z.EncBinary() - _ = yym1486 + if yyq1459[12] { + yym1491 := z.EncBinary() + _ = yym1491 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) @@ -20492,36 +20547,36 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1454[12] { + if yyq1459[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminationMessagePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1487 := z.EncBinary() - _ = yym1487 + yym1492 := z.EncBinary() + _ = yym1492 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TerminationMessagePath)) } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[13] { + if yyq1459[13] { x.ImagePullPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1454[13] { + if yyq1459[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.ImagePullPolicy.CodecEncodeSelf(e) } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[14] { + if yyq1459[14] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -20531,7 +20586,7 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1454[14] { + if yyq1459[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20542,11 +20597,11 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[15] { - yym1491 := z.EncBinary() - _ = yym1491 + if yyq1459[15] { + yym1496 := z.EncBinary() + _ = yym1496 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -20555,49 +20610,49 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1454[15] { + if yyq1459[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1492 := z.EncBinary() - _ = yym1492 - if false { - } else { - r.EncodeBool(bool(x.Stdin)) - } - } - } - if yyr1454 || yy2arr1454 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[16] { - yym1494 := z.EncBinary() - _ = yym1494 - if false { - } else { - r.EncodeBool(bool(x.StdinOnce)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq1454[16] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1495 := z.EncBinary() - _ = yym1495 - if false { - } else { - r.EncodeBool(bool(x.StdinOnce)) - } - } - } - if yyr1454 || yy2arr1454 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1454[17] { yym1497 := z.EncBinary() _ = yym1497 if false { + } else { + r.EncodeBool(bool(x.Stdin)) + } + } + } + if yyr1459 || yy2arr1459 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1459[16] { + yym1499 := z.EncBinary() + _ = yym1499 + if false { + } else { + r.EncodeBool(bool(x.StdinOnce)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq1459[16] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("stdinOnce")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1500 := z.EncBinary() + _ = yym1500 + if false { + } else { + r.EncodeBool(bool(x.StdinOnce)) + } + } + } + if yyr1459 || yy2arr1459 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1459[17] { + yym1502 := z.EncBinary() + _ = yym1502 + if false { } else { r.EncodeBool(bool(x.TTY)) } @@ -20605,19 +20660,19 @@ func (x *Container) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1454[17] { + if yyq1459[17] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1498 := z.EncBinary() - _ = yym1498 + yym1503 := z.EncBinary() + _ = yym1503 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr1454 || yy2arr1454 { + if yyr1459 || yy2arr1459 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20630,25 +20685,25 @@ func (x *Container) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1499 := z.DecBinary() - _ = yym1499 + yym1504 := z.DecBinary() + _ = yym1504 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1500 := r.ContainerType() - if yyct1500 == codecSelferValueTypeMap1234 { - yyl1500 := r.ReadMapStart() - if yyl1500 == 0 { + yyct1505 := r.ContainerType() + if yyct1505 == codecSelferValueTypeMap1234 { + yyl1505 := r.ReadMapStart() + if yyl1505 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1500, d) + x.codecDecodeSelfFromMap(yyl1505, d) } - } else if yyct1500 == codecSelferValueTypeArray1234 { - yyl1500 := r.ReadArrayStart() - if yyl1500 == 0 { + } else if yyct1505 == codecSelferValueTypeArray1234 { + yyl1505 := r.ReadArrayStart() + if yyl1505 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1500, d) + x.codecDecodeSelfFromArray(yyl1505, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20660,12 +20715,12 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1501Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1501Slc - var yyhl1501 bool = l >= 0 - for yyj1501 := 0; ; yyj1501++ { - if yyhl1501 { - if yyj1501 >= l { + var yys1506Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1506Slc + var yyhl1506 bool = l >= 0 + for yyj1506 := 0; ; yyj1506++ { + if yyhl1506 { + if yyj1506 >= l { break } } else { @@ -20674,10 +20729,10 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1501Slc = r.DecodeBytes(yys1501Slc, true, true) - yys1501 := string(yys1501Slc) + yys1506Slc = r.DecodeBytes(yys1506Slc, true, true) + yys1506 := string(yys1506Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1501 { + switch yys1506 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -20694,24 +20749,24 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1504 := &x.Command - yym1505 := z.DecBinary() - _ = yym1505 + yyv1509 := &x.Command + yym1510 := z.DecBinary() + _ = yym1510 if false { } else { - z.F.DecSliceStringX(yyv1504, false, d) + z.F.DecSliceStringX(yyv1509, false, d) } } case "args": if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1506 := &x.Args - yym1507 := z.DecBinary() - _ = yym1507 + yyv1511 := &x.Args + yym1512 := z.DecBinary() + _ = yym1512 if false { } else { - z.F.DecSliceStringX(yyv1506, false, d) + z.F.DecSliceStringX(yyv1511, false, d) } } case "workingDir": @@ -20724,43 +20779,43 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1509 := &x.Ports - yym1510 := z.DecBinary() - _ = yym1510 + yyv1514 := &x.Ports + yym1515 := z.DecBinary() + _ = yym1515 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1509), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1514), d) } } case "env": if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1511 := &x.Env - yym1512 := z.DecBinary() - _ = yym1512 + yyv1516 := &x.Env + yym1517 := z.DecBinary() + _ = yym1517 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1511), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1516), d) } } case "resources": if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1513 := &x.Resources - yyv1513.CodecDecodeSelf(d) + yyv1518 := &x.Resources + yyv1518.CodecDecodeSelf(d) } case "volumeMounts": if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1514 := &x.VolumeMounts - yym1515 := z.DecBinary() - _ = yym1515 + yyv1519 := &x.VolumeMounts + yym1520 := z.DecBinary() + _ = yym1520 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1514), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1519), d) } } case "livenessProbe": @@ -20838,9 +20893,9 @@ func (x *Container) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1501) - } // end switch yys1501 - } // end for yyj1501 + z.DecStructFieldNotFound(-1, yys1506) + } // end switch yys1506 + } // end for yyj1506 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20848,16 +20903,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1525 int - var yyb1525 bool - var yyhl1525 bool = l >= 0 - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + var yyj1530 int + var yyb1530 bool + var yyhl1530 bool = l >= 0 + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20867,13 +20922,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20883,13 +20938,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Image = string(r.DecodeString()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20897,21 +20952,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv1528 := &x.Command - yym1529 := z.DecBinary() - _ = yym1529 + yyv1533 := &x.Command + yym1534 := z.DecBinary() + _ = yym1534 if false { } else { - z.F.DecSliceStringX(yyv1528, false, d) + z.F.DecSliceStringX(yyv1533, false, d) } } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20919,21 +20974,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Args = nil } else { - yyv1530 := &x.Args - yym1531 := z.DecBinary() - _ = yym1531 + yyv1535 := &x.Args + yym1536 := z.DecBinary() + _ = yym1536 if false { } else { - z.F.DecSliceStringX(yyv1530, false, d) + z.F.DecSliceStringX(yyv1535, false, d) } } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20943,13 +20998,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.WorkingDir = string(r.DecodeString()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20957,21 +21012,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1533 := &x.Ports - yym1534 := z.DecBinary() - _ = yym1534 + yyv1538 := &x.Ports + yym1539 := z.DecBinary() + _ = yym1539 if false { } else { - h.decSliceContainerPort((*[]ContainerPort)(yyv1533), d) + h.decSliceContainerPort((*[]ContainerPort)(yyv1538), d) } } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20979,21 +21034,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Env = nil } else { - yyv1535 := &x.Env - yym1536 := z.DecBinary() - _ = yym1536 + yyv1540 := &x.Env + yym1541 := z.DecBinary() + _ = yym1541 if false { } else { - h.decSliceEnvVar((*[]EnvVar)(yyv1535), d) + h.decSliceEnvVar((*[]EnvVar)(yyv1540), d) } } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21001,16 +21056,16 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Resources = ResourceRequirements{} } else { - yyv1537 := &x.Resources - yyv1537.CodecDecodeSelf(d) + yyv1542 := &x.Resources + yyv1542.CodecDecodeSelf(d) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21018,21 +21073,21 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumeMounts = nil } else { - yyv1538 := &x.VolumeMounts - yym1539 := z.DecBinary() - _ = yym1539 + yyv1543 := &x.VolumeMounts + yym1544 := z.DecBinary() + _ = yym1544 if false { } else { - h.decSliceVolumeMount((*[]VolumeMount)(yyv1538), d) + h.decSliceVolumeMount((*[]VolumeMount)(yyv1543), d) } } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21047,13 +21102,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.LivenessProbe.CodecDecodeSelf(d) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21068,13 +21123,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.ReadinessProbe.CodecDecodeSelf(d) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21089,13 +21144,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Lifecycle.CodecDecodeSelf(d) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21105,13 +21160,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TerminationMessagePath = string(r.DecodeString()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21121,13 +21176,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ImagePullPolicy = PullPolicy(r.DecodeString()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21142,13 +21197,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21158,13 +21213,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21174,13 +21229,13 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.StdinOnce = bool(r.DecodeBool()) } - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21191,17 +21246,17 @@ func (x *Container) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TTY = bool(r.DecodeBool()) } for { - yyj1525++ - if yyhl1525 { - yyb1525 = yyj1525 > l + yyj1530++ + if yyhl1530 { + yyb1530 = yyj1530 > l } else { - yyb1525 = r.CheckBreak() + yyb1530 = r.CheckBreak() } - if yyb1525 { + if yyb1530 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1525-1, "") + z.DecStructFieldNotFound(yyj1530-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21213,35 +21268,35 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1549 := z.EncBinary() - _ = yym1549 + yym1554 := z.EncBinary() + _ = yym1554 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1550 := !z.EncBinary() - yy2arr1550 := z.EncBasicHandle().StructToArray - var yyq1550 [3]bool - _, _, _ = yysep1550, yyq1550, yy2arr1550 - const yyr1550 bool = false - yyq1550[0] = x.Exec != nil - yyq1550[1] = x.HTTPGet != nil - yyq1550[2] = x.TCPSocket != nil - var yynn1550 int - if yyr1550 || yy2arr1550 { + yysep1555 := !z.EncBinary() + yy2arr1555 := z.EncBasicHandle().StructToArray + var yyq1555 [3]bool + _, _, _ = yysep1555, yyq1555, yy2arr1555 + const yyr1555 bool = false + yyq1555[0] = x.Exec != nil + yyq1555[1] = x.HTTPGet != nil + yyq1555[2] = x.TCPSocket != nil + var yynn1555 int + if yyr1555 || yy2arr1555 { r.EncodeArrayStart(3) } else { - yynn1550 = 0 - for _, b := range yyq1550 { + yynn1555 = 0 + for _, b := range yyq1555 { if b { - yynn1550++ + yynn1555++ } } - r.EncodeMapStart(yynn1550) - yynn1550 = 0 + r.EncodeMapStart(yynn1555) + yynn1555 = 0 } - if yyr1550 || yy2arr1550 { + if yyr1555 || yy2arr1555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1550[0] { + if yyq1555[0] { if x.Exec == nil { r.EncodeNil() } else { @@ -21251,7 +21306,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1550[0] { + if yyq1555[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21262,9 +21317,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1550 || yy2arr1550 { + if yyr1555 || yy2arr1555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1550[1] { + if yyq1555[1] { if x.HTTPGet == nil { r.EncodeNil() } else { @@ -21274,7 +21329,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1550[1] { + if yyq1555[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("httpGet")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21285,9 +21340,9 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1550 || yy2arr1550 { + if yyr1555 || yy2arr1555 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1550[2] { + if yyq1555[2] { if x.TCPSocket == nil { r.EncodeNil() } else { @@ -21297,7 +21352,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1550[2] { + if yyq1555[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tcpSocket")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21308,7 +21363,7 @@ func (x *Handler) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1550 || yy2arr1550 { + if yyr1555 || yy2arr1555 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21321,25 +21376,25 @@ func (x *Handler) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1554 := z.DecBinary() - _ = yym1554 + yym1559 := z.DecBinary() + _ = yym1559 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1555 := r.ContainerType() - if yyct1555 == codecSelferValueTypeMap1234 { - yyl1555 := r.ReadMapStart() - if yyl1555 == 0 { + yyct1560 := r.ContainerType() + if yyct1560 == codecSelferValueTypeMap1234 { + yyl1560 := r.ReadMapStart() + if yyl1560 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1555, d) + x.codecDecodeSelfFromMap(yyl1560, d) } - } else if yyct1555 == codecSelferValueTypeArray1234 { - yyl1555 := r.ReadArrayStart() - if yyl1555 == 0 { + } else if yyct1560 == codecSelferValueTypeArray1234 { + yyl1560 := r.ReadArrayStart() + if yyl1560 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1555, d) + x.codecDecodeSelfFromArray(yyl1560, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21351,12 +21406,12 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1556Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1556Slc - var yyhl1556 bool = l >= 0 - for yyj1556 := 0; ; yyj1556++ { - if yyhl1556 { - if yyj1556 >= l { + var yys1561Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1561Slc + var yyhl1561 bool = l >= 0 + for yyj1561 := 0; ; yyj1561++ { + if yyhl1561 { + if yyj1561 >= l { break } } else { @@ -21365,10 +21420,10 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1556Slc = r.DecodeBytes(yys1556Slc, true, true) - yys1556 := string(yys1556Slc) + yys1561Slc = r.DecodeBytes(yys1561Slc, true, true) + yys1561 := string(yys1561Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1556 { + switch yys1561 { case "exec": if r.TryDecodeAsNil() { if x.Exec != nil { @@ -21403,9 +21458,9 @@ func (x *Handler) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1556) - } // end switch yys1556 - } // end for yyj1556 + z.DecStructFieldNotFound(-1, yys1561) + } // end switch yys1561 + } // end for yyj1561 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21413,16 +21468,16 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1560 int - var yyb1560 bool - var yyhl1560 bool = l >= 0 - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + var yyj1565 int + var yyb1565 bool + var yyhl1565 bool = l >= 0 + yyj1565++ + if yyhl1565 { + yyb1565 = yyj1565 > l } else { - yyb1560 = r.CheckBreak() + yyb1565 = r.CheckBreak() } - if yyb1560 { + if yyb1565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21437,13 +21492,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Exec.CodecDecodeSelf(d) } - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1565++ + if yyhl1565 { + yyb1565 = yyj1565 > l } else { - yyb1560 = r.CheckBreak() + yyb1565 = r.CheckBreak() } - if yyb1560 { + if yyb1565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21458,13 +21513,13 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.HTTPGet.CodecDecodeSelf(d) } - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1565++ + if yyhl1565 { + yyb1565 = yyj1565 > l } else { - yyb1560 = r.CheckBreak() + yyb1565 = r.CheckBreak() } - if yyb1560 { + if yyb1565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21480,17 +21535,17 @@ func (x *Handler) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.TCPSocket.CodecDecodeSelf(d) } for { - yyj1560++ - if yyhl1560 { - yyb1560 = yyj1560 > l + yyj1565++ + if yyhl1565 { + yyb1565 = yyj1565 > l } else { - yyb1560 = r.CheckBreak() + yyb1565 = r.CheckBreak() } - if yyb1560 { + if yyb1565 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1560-1, "") + z.DecStructFieldNotFound(yyj1565-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21502,34 +21557,34 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1564 := z.EncBinary() - _ = yym1564 + yym1569 := z.EncBinary() + _ = yym1569 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1565 := !z.EncBinary() - yy2arr1565 := z.EncBasicHandle().StructToArray - var yyq1565 [2]bool - _, _, _ = yysep1565, yyq1565, yy2arr1565 - const yyr1565 bool = false - yyq1565[0] = x.PostStart != nil - yyq1565[1] = x.PreStop != nil - var yynn1565 int - if yyr1565 || yy2arr1565 { + yysep1570 := !z.EncBinary() + yy2arr1570 := z.EncBasicHandle().StructToArray + var yyq1570 [2]bool + _, _, _ = yysep1570, yyq1570, yy2arr1570 + const yyr1570 bool = false + yyq1570[0] = x.PostStart != nil + yyq1570[1] = x.PreStop != nil + var yynn1570 int + if yyr1570 || yy2arr1570 { r.EncodeArrayStart(2) } else { - yynn1565 = 0 - for _, b := range yyq1565 { + yynn1570 = 0 + for _, b := range yyq1570 { if b { - yynn1565++ + yynn1570++ } } - r.EncodeMapStart(yynn1565) - yynn1565 = 0 + r.EncodeMapStart(yynn1570) + yynn1570 = 0 } - if yyr1565 || yy2arr1565 { + if yyr1570 || yy2arr1570 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1565[0] { + if yyq1570[0] { if x.PostStart == nil { r.EncodeNil() } else { @@ -21539,7 +21594,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1565[0] { + if yyq1570[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("postStart")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21550,9 +21605,9 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1565 || yy2arr1565 { + if yyr1570 || yy2arr1570 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1565[1] { + if yyq1570[1] { if x.PreStop == nil { r.EncodeNil() } else { @@ -21562,7 +21617,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1565[1] { + if yyq1570[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preStop")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -21573,7 +21628,7 @@ func (x *Lifecycle) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1565 || yy2arr1565 { + if yyr1570 || yy2arr1570 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21586,25 +21641,25 @@ func (x *Lifecycle) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1568 := z.DecBinary() - _ = yym1568 + yym1573 := z.DecBinary() + _ = yym1573 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1569 := r.ContainerType() - if yyct1569 == codecSelferValueTypeMap1234 { - yyl1569 := r.ReadMapStart() - if yyl1569 == 0 { + yyct1574 := r.ContainerType() + if yyct1574 == codecSelferValueTypeMap1234 { + yyl1574 := r.ReadMapStart() + if yyl1574 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1569, d) + x.codecDecodeSelfFromMap(yyl1574, d) } - } else if yyct1569 == codecSelferValueTypeArray1234 { - yyl1569 := r.ReadArrayStart() - if yyl1569 == 0 { + } else if yyct1574 == codecSelferValueTypeArray1234 { + yyl1574 := r.ReadArrayStart() + if yyl1574 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1569, d) + x.codecDecodeSelfFromArray(yyl1574, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21616,12 +21671,12 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1570Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1570Slc - var yyhl1570 bool = l >= 0 - for yyj1570 := 0; ; yyj1570++ { - if yyhl1570 { - if yyj1570 >= l { + var yys1575Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1575Slc + var yyhl1575 bool = l >= 0 + for yyj1575 := 0; ; yyj1575++ { + if yyhl1575 { + if yyj1575 >= l { break } } else { @@ -21630,10 +21685,10 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1570Slc = r.DecodeBytes(yys1570Slc, true, true) - yys1570 := string(yys1570Slc) + yys1575Slc = r.DecodeBytes(yys1575Slc, true, true) + yys1575 := string(yys1575Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1570 { + switch yys1575 { case "postStart": if r.TryDecodeAsNil() { if x.PostStart != nil { @@ -21657,9 +21712,9 @@ func (x *Lifecycle) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1570) - } // end switch yys1570 - } // end for yyj1570 + z.DecStructFieldNotFound(-1, yys1575) + } // end switch yys1575 + } // end for yyj1575 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21667,16 +21722,16 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1573 int - var yyb1573 bool - var yyhl1573 bool = l >= 0 - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + var yyj1578 int + var yyb1578 bool + var yyhl1578 bool = l >= 0 + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21691,13 +21746,13 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PostStart.CodecDecodeSelf(d) } - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21713,17 +21768,17 @@ func (x *Lifecycle) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PreStop.CodecDecodeSelf(d) } for { - yyj1573++ - if yyhl1573 { - yyb1573 = yyj1573 > l + yyj1578++ + if yyhl1578 { + yyb1578 = yyj1578 > l } else { - yyb1573 = r.CheckBreak() + yyb1578 = r.CheckBreak() } - if yyb1573 { + if yyb1578 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1573-1, "") + z.DecStructFieldNotFound(yyj1578-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21732,8 +21787,8 @@ func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1576 := z.EncBinary() - _ = yym1576 + yym1581 := z.EncBinary() + _ = yym1581 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -21745,8 +21800,8 @@ func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1577 := z.DecBinary() - _ = yym1577 + yym1582 := z.DecBinary() + _ = yym1582 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -21761,36 +21816,36 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1578 := z.EncBinary() - _ = yym1578 + yym1583 := z.EncBinary() + _ = yym1583 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1579 := !z.EncBinary() - yy2arr1579 := z.EncBasicHandle().StructToArray - var yyq1579 [2]bool - _, _, _ = yysep1579, yyq1579, yy2arr1579 - const yyr1579 bool = false - yyq1579[0] = x.Reason != "" - yyq1579[1] = x.Message != "" - var yynn1579 int - if yyr1579 || yy2arr1579 { + yysep1584 := !z.EncBinary() + yy2arr1584 := z.EncBasicHandle().StructToArray + var yyq1584 [2]bool + _, _, _ = yysep1584, yyq1584, yy2arr1584 + const yyr1584 bool = false + yyq1584[0] = x.Reason != "" + yyq1584[1] = x.Message != "" + var yynn1584 int + if yyr1584 || yy2arr1584 { r.EncodeArrayStart(2) } else { - yynn1579 = 0 - for _, b := range yyq1579 { + yynn1584 = 0 + for _, b := range yyq1584 { if b { - yynn1579++ + yynn1584++ } } - r.EncodeMapStart(yynn1579) - yynn1579 = 0 + r.EncodeMapStart(yynn1584) + yynn1584 = 0 } - if yyr1579 || yy2arr1579 { + if yyr1584 || yy2arr1584 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[0] { - yym1581 := z.EncBinary() - _ = yym1581 + if yyq1584[0] { + yym1586 := z.EncBinary() + _ = yym1586 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -21799,23 +21854,23 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1579[0] { + if yyq1584[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1582 := z.EncBinary() - _ = yym1582 + yym1587 := z.EncBinary() + _ = yym1587 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1579 || yy2arr1579 { + if yyr1584 || yy2arr1584 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1579[1] { - yym1584 := z.EncBinary() - _ = yym1584 + if yyq1584[1] { + yym1589 := z.EncBinary() + _ = yym1589 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -21824,19 +21879,19 @@ func (x *ContainerStateWaiting) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1579[1] { + if yyq1584[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1585 := z.EncBinary() - _ = yym1585 + yym1590 := z.EncBinary() + _ = yym1590 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1579 || yy2arr1579 { + if yyr1584 || yy2arr1584 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -21849,25 +21904,25 @@ func (x *ContainerStateWaiting) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1586 := z.DecBinary() - _ = yym1586 + yym1591 := z.DecBinary() + _ = yym1591 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1587 := r.ContainerType() - if yyct1587 == codecSelferValueTypeMap1234 { - yyl1587 := r.ReadMapStart() - if yyl1587 == 0 { + yyct1592 := r.ContainerType() + if yyct1592 == codecSelferValueTypeMap1234 { + yyl1592 := r.ReadMapStart() + if yyl1592 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1587, d) + x.codecDecodeSelfFromMap(yyl1592, d) } - } else if yyct1587 == codecSelferValueTypeArray1234 { - yyl1587 := r.ReadArrayStart() - if yyl1587 == 0 { + } else if yyct1592 == codecSelferValueTypeArray1234 { + yyl1592 := r.ReadArrayStart() + if yyl1592 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1587, d) + x.codecDecodeSelfFromArray(yyl1592, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -21879,12 +21934,12 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1588Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1588Slc - var yyhl1588 bool = l >= 0 - for yyj1588 := 0; ; yyj1588++ { - if yyhl1588 { - if yyj1588 >= l { + var yys1593Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1593Slc + var yyhl1593 bool = l >= 0 + for yyj1593 := 0; ; yyj1593++ { + if yyhl1593 { + if yyj1593 >= l { break } } else { @@ -21893,10 +21948,10 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1588Slc = r.DecodeBytes(yys1588Slc, true, true) - yys1588 := string(yys1588Slc) + yys1593Slc = r.DecodeBytes(yys1593Slc, true, true) + yys1593 := string(yys1593Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1588 { + switch yys1593 { case "reason": if r.TryDecodeAsNil() { x.Reason = "" @@ -21910,9 +21965,9 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1588) - } // end switch yys1588 - } // end for yyj1588 + z.DecStructFieldNotFound(-1, yys1593) + } // end switch yys1593 + } // end for yyj1593 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -21920,16 +21975,16 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1591 int - var yyb1591 bool - var yyhl1591 bool = l >= 0 - yyj1591++ - if yyhl1591 { - yyb1591 = yyj1591 > l + var yyj1596 int + var yyb1596 bool + var yyhl1596 bool = l >= 0 + yyj1596++ + if yyhl1596 { + yyb1596 = yyj1596 > l } else { - yyb1591 = r.CheckBreak() + yyb1596 = r.CheckBreak() } - if yyb1591 { + if yyb1596 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21939,13 +21994,13 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Reason = string(r.DecodeString()) } - yyj1591++ - if yyhl1591 { - yyb1591 = yyj1591 > l + yyj1596++ + if yyhl1596 { + yyb1596 = yyj1596 > l } else { - yyb1591 = r.CheckBreak() + yyb1596 = r.CheckBreak() } - if yyb1591 { + if yyb1596 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21956,17 +22011,17 @@ func (x *ContainerStateWaiting) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.Message = string(r.DecodeString()) } for { - yyj1591++ - if yyhl1591 { - yyb1591 = yyj1591 > l + yyj1596++ + if yyhl1596 { + yyb1596 = yyj1596 > l } else { - yyb1591 = r.CheckBreak() + yyb1596 = r.CheckBreak() } - if yyb1591 { + if yyb1596 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1591-1, "") + z.DecStructFieldNotFound(yyj1596-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21978,68 +22033,68 @@ func (x *ContainerStateRunning) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1594 := z.EncBinary() - _ = yym1594 + yym1599 := z.EncBinary() + _ = yym1599 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1595 := !z.EncBinary() - yy2arr1595 := z.EncBasicHandle().StructToArray - var yyq1595 [1]bool - _, _, _ = yysep1595, yyq1595, yy2arr1595 - const yyr1595 bool = false - yyq1595[0] = true - var yynn1595 int - if yyr1595 || yy2arr1595 { + yysep1600 := !z.EncBinary() + yy2arr1600 := z.EncBasicHandle().StructToArray + var yyq1600 [1]bool + _, _, _ = yysep1600, yyq1600, yy2arr1600 + const yyr1600 bool = false + yyq1600[0] = true + var yynn1600 int + if yyr1600 || yy2arr1600 { r.EncodeArrayStart(1) } else { - yynn1595 = 0 - for _, b := range yyq1595 { + yynn1600 = 0 + for _, b := range yyq1600 { if b { - yynn1595++ + yynn1600++ } } - r.EncodeMapStart(yynn1595) - yynn1595 = 0 + r.EncodeMapStart(yynn1600) + yynn1600 = 0 } - if yyr1595 || yy2arr1595 { + if yyr1600 || yy2arr1600 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1595[0] { - yy1597 := &x.StartedAt - yym1598 := z.EncBinary() - _ = yym1598 + if yyq1600[0] { + yy1602 := &x.StartedAt + yym1603 := z.EncBinary() + _ = yym1603 if false { - } else if z.HasExtensions() && z.EncExt(yy1597) { - } else if yym1598 { - z.EncBinaryMarshal(yy1597) - } else if !yym1598 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1597) + } else if z.HasExtensions() && z.EncExt(yy1602) { + } else if yym1603 { + z.EncBinaryMarshal(yy1602) + } else if !yym1603 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1602) } else { - z.EncFallback(yy1597) + z.EncFallback(yy1602) } } else { r.EncodeNil() } } else { - if yyq1595[0] { + if yyq1600[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1599 := &x.StartedAt - yym1600 := z.EncBinary() - _ = yym1600 + yy1604 := &x.StartedAt + yym1605 := z.EncBinary() + _ = yym1605 if false { - } else if z.HasExtensions() && z.EncExt(yy1599) { - } else if yym1600 { - z.EncBinaryMarshal(yy1599) - } else if !yym1600 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1599) + } else if z.HasExtensions() && z.EncExt(yy1604) { + } else if yym1605 { + z.EncBinaryMarshal(yy1604) + } else if !yym1605 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1604) } else { - z.EncFallback(yy1599) + z.EncFallback(yy1604) } } } - if yyr1595 || yy2arr1595 { + if yyr1600 || yy2arr1600 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22052,25 +22107,25 @@ func (x *ContainerStateRunning) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1601 := z.DecBinary() - _ = yym1601 + yym1606 := z.DecBinary() + _ = yym1606 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1602 := r.ContainerType() - if yyct1602 == codecSelferValueTypeMap1234 { - yyl1602 := r.ReadMapStart() - if yyl1602 == 0 { + yyct1607 := r.ContainerType() + if yyct1607 == codecSelferValueTypeMap1234 { + yyl1607 := r.ReadMapStart() + if yyl1607 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1602, d) + x.codecDecodeSelfFromMap(yyl1607, d) } - } else if yyct1602 == codecSelferValueTypeArray1234 { - yyl1602 := r.ReadArrayStart() - if yyl1602 == 0 { + } else if yyct1607 == codecSelferValueTypeArray1234 { + yyl1607 := r.ReadArrayStart() + if yyl1607 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1602, d) + x.codecDecodeSelfFromArray(yyl1607, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22082,12 +22137,12 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1603Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1603Slc - var yyhl1603 bool = l >= 0 - for yyj1603 := 0; ; yyj1603++ { - if yyhl1603 { - if yyj1603 >= l { + var yys1608Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1608Slc + var yyhl1608 bool = l >= 0 + for yyj1608 := 0; ; yyj1608++ { + if yyhl1608 { + if yyj1608 >= l { break } } else { @@ -22096,31 +22151,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1603Slc = r.DecodeBytes(yys1603Slc, true, true) - yys1603 := string(yys1603Slc) + yys1608Slc = r.DecodeBytes(yys1608Slc, true, true) + yys1608 := string(yys1608Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1603 { + switch yys1608 { case "startedAt": if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1604 := &x.StartedAt - yym1605 := z.DecBinary() - _ = yym1605 + yyv1609 := &x.StartedAt + yym1610 := z.DecBinary() + _ = yym1610 if false { - } else if z.HasExtensions() && z.DecExt(yyv1604) { - } else if yym1605 { - z.DecBinaryUnmarshal(yyv1604) - } else if !yym1605 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1604) + } else if z.HasExtensions() && z.DecExt(yyv1609) { + } else if yym1610 { + z.DecBinaryUnmarshal(yyv1609) + } else if !yym1610 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1609) } else { - z.DecFallback(yyv1604, false) + z.DecFallback(yyv1609, false) } } default: - z.DecStructFieldNotFound(-1, yys1603) - } // end switch yys1603 - } // end for yyj1603 + z.DecStructFieldNotFound(-1, yys1608) + } // end switch yys1608 + } // end for yyj1608 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22128,16 +22183,16 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1606 int - var yyb1606 bool - var yyhl1606 bool = l >= 0 - yyj1606++ - if yyhl1606 { - yyb1606 = yyj1606 > l + var yyj1611 int + var yyb1611 bool + var yyhl1611 bool = l >= 0 + yyj1611++ + if yyhl1611 { + yyb1611 = yyj1611 > l } else { - yyb1606 = r.CheckBreak() + yyb1611 = r.CheckBreak() } - if yyb1606 { + if yyb1611 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22145,31 +22200,31 @@ func (x *ContainerStateRunning) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1607 := &x.StartedAt - yym1608 := z.DecBinary() - _ = yym1608 + yyv1612 := &x.StartedAt + yym1613 := z.DecBinary() + _ = yym1613 if false { - } else if z.HasExtensions() && z.DecExt(yyv1607) { - } else if yym1608 { - z.DecBinaryUnmarshal(yyv1607) - } else if !yym1608 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1607) + } else if z.HasExtensions() && z.DecExt(yyv1612) { + } else if yym1613 { + z.DecBinaryUnmarshal(yyv1612) + } else if !yym1613 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1612) } else { - z.DecFallback(yyv1607, false) + z.DecFallback(yyv1612, false) } } for { - yyj1606++ - if yyhl1606 { - yyb1606 = yyj1606 > l + yyj1611++ + if yyhl1611 { + yyb1611 = yyj1611 > l } else { - yyb1606 = r.CheckBreak() + yyb1611 = r.CheckBreak() } - if yyb1606 { + if yyb1611 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1606-1, "") + z.DecStructFieldNotFound(yyj1611-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22181,39 +22236,39 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1609 := z.EncBinary() - _ = yym1609 + yym1614 := z.EncBinary() + _ = yym1614 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1610 := !z.EncBinary() - yy2arr1610 := z.EncBasicHandle().StructToArray - var yyq1610 [7]bool - _, _, _ = yysep1610, yyq1610, yy2arr1610 - const yyr1610 bool = false - yyq1610[1] = x.Signal != 0 - yyq1610[2] = x.Reason != "" - yyq1610[3] = x.Message != "" - yyq1610[4] = true - yyq1610[5] = true - yyq1610[6] = x.ContainerID != "" - var yynn1610 int - if yyr1610 || yy2arr1610 { + yysep1615 := !z.EncBinary() + yy2arr1615 := z.EncBasicHandle().StructToArray + var yyq1615 [7]bool + _, _, _ = yysep1615, yyq1615, yy2arr1615 + const yyr1615 bool = false + yyq1615[1] = x.Signal != 0 + yyq1615[2] = x.Reason != "" + yyq1615[3] = x.Message != "" + yyq1615[4] = true + yyq1615[5] = true + yyq1615[6] = x.ContainerID != "" + var yynn1615 int + if yyr1615 || yy2arr1615 { r.EncodeArrayStart(7) } else { - yynn1610 = 1 - for _, b := range yyq1610 { + yynn1615 = 1 + for _, b := range yyq1615 { if b { - yynn1610++ + yynn1615++ } } - r.EncodeMapStart(yynn1610) - yynn1610 = 0 + r.EncodeMapStart(yynn1615) + yynn1615 = 0 } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1612 := z.EncBinary() - _ = yym1612 + yym1617 := z.EncBinary() + _ = yym1617 if false { } else { r.EncodeInt(int64(x.ExitCode)) @@ -22222,18 +22277,18 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exitCode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1613 := z.EncBinary() - _ = yym1613 + yym1618 := z.EncBinary() + _ = yym1618 if false { } else { r.EncodeInt(int64(x.ExitCode)) } } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[1] { - yym1615 := z.EncBinary() - _ = yym1615 + if yyq1615[1] { + yym1620 := z.EncBinary() + _ = yym1620 if false { } else { r.EncodeInt(int64(x.Signal)) @@ -22242,23 +22297,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1610[1] { + if yyq1615[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("signal")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1616 := z.EncBinary() - _ = yym1616 + yym1621 := z.EncBinary() + _ = yym1621 if false { } else { r.EncodeInt(int64(x.Signal)) } } } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[2] { - yym1618 := z.EncBinary() - _ = yym1618 + if yyq1615[2] { + yym1623 := z.EncBinary() + _ = yym1623 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -22267,23 +22322,23 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1610[2] { + if yyq1615[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1619 := z.EncBinary() - _ = yym1619 + yym1624 := z.EncBinary() + _ = yym1624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[3] { - yym1621 := z.EncBinary() - _ = yym1621 + if yyq1615[3] { + yym1626 := z.EncBinary() + _ = yym1626 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -22292,59 +22347,22 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1610[3] { + if yyq1615[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1622 := z.EncBinary() - _ = yym1622 + yym1627 := z.EncBinary() + _ = yym1627 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[4] { - yy1624 := &x.StartedAt - yym1625 := z.EncBinary() - _ = yym1625 - if false { - } else if z.HasExtensions() && z.EncExt(yy1624) { - } else if yym1625 { - z.EncBinaryMarshal(yy1624) - } else if !yym1625 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1624) - } else { - z.EncFallback(yy1624) - } - } else { - r.EncodeNil() - } - } else { - if yyq1610[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("startedAt")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1626 := &x.StartedAt - yym1627 := z.EncBinary() - _ = yym1627 - if false { - } else if z.HasExtensions() && z.EncExt(yy1626) { - } else if yym1627 { - z.EncBinaryMarshal(yy1626) - } else if !yym1627 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1626) - } else { - z.EncFallback(yy1626) - } - } - } - if yyr1610 || yy2arr1610 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[5] { - yy1629 := &x.FinishedAt + if yyq1615[4] { + yy1629 := &x.StartedAt yym1630 := z.EncBinary() _ = yym1630 if false { @@ -22360,11 +22378,11 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1610[5] { + if yyq1615[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) + r.EncodeString(codecSelferC_UTF81234, string("startedAt")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1631 := &x.FinishedAt + yy1631 := &x.StartedAt yym1632 := z.EncBinary() _ = yym1632 if false { @@ -22378,11 +22396,48 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1610[6] { - yym1634 := z.EncBinary() - _ = yym1634 + if yyq1615[5] { + yy1634 := &x.FinishedAt + yym1635 := z.EncBinary() + _ = yym1635 + if false { + } else if z.HasExtensions() && z.EncExt(yy1634) { + } else if yym1635 { + z.EncBinaryMarshal(yy1634) + } else if !yym1635 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1634) + } else { + z.EncFallback(yy1634) + } + } else { + r.EncodeNil() + } + } else { + if yyq1615[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("finishedAt")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1636 := &x.FinishedAt + yym1637 := z.EncBinary() + _ = yym1637 + if false { + } else if z.HasExtensions() && z.EncExt(yy1636) { + } else if yym1637 { + z.EncBinaryMarshal(yy1636) + } else if !yym1637 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1636) + } else { + z.EncFallback(yy1636) + } + } + } + if yyr1615 || yy2arr1615 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1615[6] { + yym1639 := z.EncBinary() + _ = yym1639 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -22391,19 +22446,19 @@ func (x *ContainerStateTerminated) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1610[6] { + if yyq1615[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1635 := z.EncBinary() - _ = yym1635 + yym1640 := z.EncBinary() + _ = yym1640 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1610 || yy2arr1610 { + if yyr1615 || yy2arr1615 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22416,25 +22471,25 @@ func (x *ContainerStateTerminated) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1636 := z.DecBinary() - _ = yym1636 + yym1641 := z.DecBinary() + _ = yym1641 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1637 := r.ContainerType() - if yyct1637 == codecSelferValueTypeMap1234 { - yyl1637 := r.ReadMapStart() - if yyl1637 == 0 { + yyct1642 := r.ContainerType() + if yyct1642 == codecSelferValueTypeMap1234 { + yyl1642 := r.ReadMapStart() + if yyl1642 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1637, d) + x.codecDecodeSelfFromMap(yyl1642, d) } - } else if yyct1637 == codecSelferValueTypeArray1234 { - yyl1637 := r.ReadArrayStart() - if yyl1637 == 0 { + } else if yyct1642 == codecSelferValueTypeArray1234 { + yyl1642 := r.ReadArrayStart() + if yyl1642 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1637, d) + x.codecDecodeSelfFromArray(yyl1642, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22446,12 +22501,12 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De 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 yys1643Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1643Slc + var yyhl1643 bool = l >= 0 + for yyj1643 := 0; ; yyj1643++ { + if yyhl1643 { + if yyj1643 >= l { break } } else { @@ -22460,10 +22515,10 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1638Slc = r.DecodeBytes(yys1638Slc, true, true) - yys1638 := string(yys1638Slc) + yys1643Slc = r.DecodeBytes(yys1643Slc, true, true) + yys1643 := string(yys1643Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1638 { + switch yys1643 { case "exitCode": if r.TryDecodeAsNil() { x.ExitCode = 0 @@ -22492,34 +22547,34 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1643 := &x.StartedAt - yym1644 := z.DecBinary() - _ = yym1644 + yyv1648 := &x.StartedAt + yym1649 := z.DecBinary() + _ = yym1649 if false { - } else if z.HasExtensions() && z.DecExt(yyv1643) { - } else if yym1644 { - z.DecBinaryUnmarshal(yyv1643) - } else if !yym1644 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1643) + } else if z.HasExtensions() && z.DecExt(yyv1648) { + } else if yym1649 { + z.DecBinaryUnmarshal(yyv1648) + } else if !yym1649 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1648) } else { - z.DecFallback(yyv1643, false) + z.DecFallback(yyv1648, false) } } case "finishedAt": if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1645 := &x.FinishedAt - yym1646 := z.DecBinary() - _ = yym1646 + yyv1650 := &x.FinishedAt + yym1651 := z.DecBinary() + _ = yym1651 if false { - } else if z.HasExtensions() && z.DecExt(yyv1645) { - } else if yym1646 { - z.DecBinaryUnmarshal(yyv1645) - } else if !yym1646 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1645) + } else if z.HasExtensions() && z.DecExt(yyv1650) { + } else if yym1651 { + z.DecBinaryUnmarshal(yyv1650) + } else if !yym1651 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1650) } else { - z.DecFallback(yyv1645, false) + z.DecFallback(yyv1650, false) } } case "containerID": @@ -22529,9 +22584,9 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromMap(l int, d *codec1978.De x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1638) - } // end switch yys1638 - } // end for yyj1638 + z.DecStructFieldNotFound(-1, yys1643) + } // end switch yys1643 + } // end for yyj1643 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22539,16 +22594,16 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1648 int - var yyb1648 bool - var yyhl1648 bool = l >= 0 - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + var yyj1653 int + var yyb1653 bool + var yyhl1653 bool = l >= 0 + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22558,13 +22613,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.ExitCode = int32(r.DecodeInt(32)) } - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22574,13 +22629,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Signal = int32(r.DecodeInt(32)) } - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22590,13 +22645,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Reason = string(r.DecodeString()) } - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22606,13 +22661,13 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Message = string(r.DecodeString()) } - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22620,26 +22675,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.StartedAt = pkg2_unversioned.Time{} } else { - yyv1653 := &x.StartedAt - yym1654 := z.DecBinary() - _ = yym1654 + yyv1658 := &x.StartedAt + yym1659 := z.DecBinary() + _ = yym1659 if false { - } else if z.HasExtensions() && z.DecExt(yyv1653) { - } else if yym1654 { - z.DecBinaryUnmarshal(yyv1653) - } else if !yym1654 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1653) + } else if z.HasExtensions() && z.DecExt(yyv1658) { + } else if yym1659 { + z.DecBinaryUnmarshal(yyv1658) + } else if !yym1659 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1658) } else { - z.DecFallback(yyv1653, false) + z.DecFallback(yyv1658, false) } } - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22647,26 +22702,26 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.FinishedAt = pkg2_unversioned.Time{} } else { - yyv1655 := &x.FinishedAt - yym1656 := z.DecBinary() - _ = yym1656 + yyv1660 := &x.FinishedAt + yym1661 := z.DecBinary() + _ = yym1661 if false { - } else if z.HasExtensions() && z.DecExt(yyv1655) { - } else if yym1656 { - z.DecBinaryUnmarshal(yyv1655) - } else if !yym1656 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1655) + } else if z.HasExtensions() && z.DecExt(yyv1660) { + } else if yym1661 { + z.DecBinaryUnmarshal(yyv1660) + } else if !yym1661 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1660) } else { - z.DecFallback(yyv1655, false) + z.DecFallback(yyv1660, false) } } - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22677,17 +22732,17 @@ func (x *ContainerStateTerminated) codecDecodeSelfFromArray(l int, d *codec1978. x.ContainerID = string(r.DecodeString()) } for { - yyj1648++ - if yyhl1648 { - yyb1648 = yyj1648 > l + yyj1653++ + if yyhl1653 { + yyb1653 = yyj1653 > l } else { - yyb1648 = r.CheckBreak() + yyb1653 = r.CheckBreak() } - if yyb1648 { + if yyb1653 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1648-1, "") + z.DecStructFieldNotFound(yyj1653-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22699,35 +22754,35 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1658 := z.EncBinary() - _ = yym1658 + yym1663 := z.EncBinary() + _ = yym1663 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1659 := !z.EncBinary() - yy2arr1659 := z.EncBasicHandle().StructToArray - var yyq1659 [3]bool - _, _, _ = yysep1659, yyq1659, yy2arr1659 - const yyr1659 bool = false - yyq1659[0] = x.Waiting != nil - yyq1659[1] = x.Running != nil - yyq1659[2] = x.Terminated != nil - var yynn1659 int - if yyr1659 || yy2arr1659 { + yysep1664 := !z.EncBinary() + yy2arr1664 := z.EncBasicHandle().StructToArray + var yyq1664 [3]bool + _, _, _ = yysep1664, yyq1664, yy2arr1664 + const yyr1664 bool = false + yyq1664[0] = x.Waiting != nil + yyq1664[1] = x.Running != nil + yyq1664[2] = x.Terminated != nil + var yynn1664 int + if yyr1664 || yy2arr1664 { r.EncodeArrayStart(3) } else { - yynn1659 = 0 - for _, b := range yyq1659 { + yynn1664 = 0 + for _, b := range yyq1664 { if b { - yynn1659++ + yynn1664++ } } - r.EncodeMapStart(yynn1659) - yynn1659 = 0 + r.EncodeMapStart(yynn1664) + yynn1664 = 0 } - if yyr1659 || yy2arr1659 { + if yyr1664 || yy2arr1664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1659[0] { + if yyq1664[0] { if x.Waiting == nil { r.EncodeNil() } else { @@ -22737,7 +22792,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1659[0] { + if yyq1664[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("waiting")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22748,9 +22803,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1659 || yy2arr1659 { + if yyr1664 || yy2arr1664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1659[1] { + if yyq1664[1] { if x.Running == nil { r.EncodeNil() } else { @@ -22760,7 +22815,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1659[1] { + if yyq1664[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("running")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22771,9 +22826,9 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1659 || yy2arr1659 { + if yyr1664 || yy2arr1664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1659[2] { + if yyq1664[2] { if x.Terminated == nil { r.EncodeNil() } else { @@ -22783,7 +22838,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1659[2] { + if yyq1664[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("terminated")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -22794,7 +22849,7 @@ func (x *ContainerState) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1659 || yy2arr1659 { + if yyr1664 || yy2arr1664 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -22807,25 +22862,25 @@ func (x *ContainerState) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1663 := z.DecBinary() - _ = yym1663 + yym1668 := z.DecBinary() + _ = yym1668 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1664 := r.ContainerType() - if yyct1664 == codecSelferValueTypeMap1234 { - yyl1664 := r.ReadMapStart() - if yyl1664 == 0 { + yyct1669 := r.ContainerType() + if yyct1669 == codecSelferValueTypeMap1234 { + yyl1669 := r.ReadMapStart() + if yyl1669 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1664, d) + x.codecDecodeSelfFromMap(yyl1669, d) } - } else if yyct1664 == codecSelferValueTypeArray1234 { - yyl1664 := r.ReadArrayStart() - if yyl1664 == 0 { + } else if yyct1669 == codecSelferValueTypeArray1234 { + yyl1669 := r.ReadArrayStart() + if yyl1669 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1664, d) + x.codecDecodeSelfFromArray(yyl1669, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -22837,12 +22892,12 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1665Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1665Slc - var yyhl1665 bool = l >= 0 - for yyj1665 := 0; ; yyj1665++ { - if yyhl1665 { - if yyj1665 >= l { + var yys1670Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1670Slc + var yyhl1670 bool = l >= 0 + for yyj1670 := 0; ; yyj1670++ { + if yyhl1670 { + if yyj1670 >= l { break } } else { @@ -22851,10 +22906,10 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1665Slc = r.DecodeBytes(yys1665Slc, true, true) - yys1665 := string(yys1665Slc) + yys1670Slc = r.DecodeBytes(yys1670Slc, true, true) + yys1670 := string(yys1670Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1665 { + switch yys1670 { case "waiting": if r.TryDecodeAsNil() { if x.Waiting != nil { @@ -22889,9 +22944,9 @@ func (x *ContainerState) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1665) - } // end switch yys1665 - } // end for yyj1665 + z.DecStructFieldNotFound(-1, yys1670) + } // end switch yys1670 + } // end for yyj1670 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -22899,16 +22954,16 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1669 int - var yyb1669 bool - var yyhl1669 bool = l >= 0 - yyj1669++ - if yyhl1669 { - yyb1669 = yyj1669 > l + var yyj1674 int + var yyb1674 bool + var yyhl1674 bool = l >= 0 + yyj1674++ + if yyhl1674 { + yyb1674 = yyj1674 > l } else { - yyb1669 = r.CheckBreak() + yyb1674 = r.CheckBreak() } - if yyb1669 { + if yyb1674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22923,13 +22978,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Waiting.CodecDecodeSelf(d) } - yyj1669++ - if yyhl1669 { - yyb1669 = yyj1669 > l + yyj1674++ + if yyhl1674 { + yyb1674 = yyj1674 > l } else { - yyb1669 = r.CheckBreak() + yyb1674 = r.CheckBreak() } - if yyb1669 { + if yyb1674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22944,13 +22999,13 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Running.CodecDecodeSelf(d) } - yyj1669++ - if yyhl1669 { - yyb1669 = yyj1669 > l + yyj1674++ + if yyhl1674 { + yyb1674 = yyj1674 > l } else { - yyb1669 = r.CheckBreak() + yyb1674 = r.CheckBreak() } - if yyb1669 { + if yyb1674 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -22966,17 +23021,17 @@ func (x *ContainerState) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Terminated.CodecDecodeSelf(d) } for { - yyj1669++ - if yyhl1669 { - yyb1669 = yyj1669 > l + yyj1674++ + if yyhl1674 { + yyb1674 = yyj1674 > l } else { - yyb1669 = r.CheckBreak() + yyb1674 = r.CheckBreak() } - if yyb1669 { + if yyb1674 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1669-1, "") + z.DecStructFieldNotFound(yyj1674-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22988,36 +23043,36 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1673 := z.EncBinary() - _ = yym1673 + yym1678 := z.EncBinary() + _ = yym1678 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1674 := !z.EncBinary() - yy2arr1674 := z.EncBasicHandle().StructToArray - var yyq1674 [8]bool - _, _, _ = yysep1674, yyq1674, yy2arr1674 - const yyr1674 bool = false - yyq1674[1] = true - yyq1674[2] = true - yyq1674[7] = x.ContainerID != "" - var yynn1674 int - if yyr1674 || yy2arr1674 { + yysep1679 := !z.EncBinary() + yy2arr1679 := z.EncBasicHandle().StructToArray + var yyq1679 [8]bool + _, _, _ = yysep1679, yyq1679, yy2arr1679 + const yyr1679 bool = false + yyq1679[1] = true + yyq1679[2] = true + yyq1679[7] = x.ContainerID != "" + var yynn1679 int + if yyr1679 || yy2arr1679 { r.EncodeArrayStart(8) } else { - yynn1674 = 5 - for _, b := range yyq1674 { + yynn1679 = 5 + for _, b := range yyq1679 { if b { - yynn1674++ + yynn1679++ } } - r.EncodeMapStart(yynn1674) - yynn1674 = 0 + r.EncodeMapStart(yynn1679) + yynn1679 = 0 } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1676 := z.EncBinary() - _ = yym1676 + yym1681 := z.EncBinary() + _ = yym1681 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -23026,51 +23081,51 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1677 := z.EncBinary() - _ = yym1677 + yym1682 := z.EncBinary() + _ = yym1682 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1674[1] { - yy1679 := &x.State - yy1679.CodecEncodeSelf(e) + if yyq1679[1] { + yy1684 := &x.State + yy1684.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1674[1] { + if yyq1679[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("state")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1680 := &x.State - yy1680.CodecEncodeSelf(e) + yy1685 := &x.State + yy1685.CodecEncodeSelf(e) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1674[2] { - yy1682 := &x.LastTerminationState - yy1682.CodecEncodeSelf(e) + if yyq1679[2] { + yy1687 := &x.LastTerminationState + yy1687.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1674[2] { + if yyq1679[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastState")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1683 := &x.LastTerminationState - yy1683.CodecEncodeSelf(e) + yy1688 := &x.LastTerminationState + yy1688.CodecEncodeSelf(e) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1685 := z.EncBinary() - _ = yym1685 + yym1690 := z.EncBinary() + _ = yym1690 if false { } else { r.EncodeBool(bool(x.Ready)) @@ -23079,17 +23134,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ready")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1686 := z.EncBinary() - _ = yym1686 + yym1691 := z.EncBinary() + _ = yym1691 if false { } else { r.EncodeBool(bool(x.Ready)) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1688 := z.EncBinary() - _ = yym1688 + yym1693 := z.EncBinary() + _ = yym1693 if false { } else { r.EncodeInt(int64(x.RestartCount)) @@ -23098,17 +23153,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartCount")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1689 := z.EncBinary() - _ = yym1689 + yym1694 := z.EncBinary() + _ = yym1694 if false { } else { r.EncodeInt(int64(x.RestartCount)) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1691 := z.EncBinary() - _ = yym1691 + yym1696 := z.EncBinary() + _ = yym1696 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) @@ -23117,17 +23172,17 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("image")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1692 := z.EncBinary() - _ = yym1692 + yym1697 := z.EncBinary() + _ = yym1697 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Image)) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1694 := z.EncBinary() - _ = yym1694 + yym1699 := z.EncBinary() + _ = yym1699 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) @@ -23136,18 +23191,18 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imageID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1695 := z.EncBinary() - _ = yym1695 + yym1700 := z.EncBinary() + _ = yym1700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ImageID)) } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1674[7] { - yym1697 := z.EncBinary() - _ = yym1697 + if yyq1679[7] { + yym1702 := z.EncBinary() + _ = yym1702 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) @@ -23156,19 +23211,19 @@ func (x *ContainerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1674[7] { + if yyq1679[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1698 := z.EncBinary() - _ = yym1698 + yym1703 := z.EncBinary() + _ = yym1703 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerID)) } } } - if yyr1674 || yy2arr1674 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23181,25 +23236,25 @@ func (x *ContainerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1699 := z.DecBinary() - _ = yym1699 + yym1704 := z.DecBinary() + _ = yym1704 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1700 := r.ContainerType() - if yyct1700 == codecSelferValueTypeMap1234 { - yyl1700 := r.ReadMapStart() - if yyl1700 == 0 { + yyct1705 := r.ContainerType() + if yyct1705 == codecSelferValueTypeMap1234 { + yyl1705 := r.ReadMapStart() + if yyl1705 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1700, d) + x.codecDecodeSelfFromMap(yyl1705, d) } - } else if yyct1700 == codecSelferValueTypeArray1234 { - yyl1700 := r.ReadArrayStart() - if yyl1700 == 0 { + } else if yyct1705 == codecSelferValueTypeArray1234 { + yyl1705 := r.ReadArrayStart() + if yyl1705 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1700, d) + x.codecDecodeSelfFromArray(yyl1705, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23211,12 +23266,12 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1701Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1701Slc - var yyhl1701 bool = l >= 0 - for yyj1701 := 0; ; yyj1701++ { - if yyhl1701 { - if yyj1701 >= l { + var yys1706Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1706Slc + var yyhl1706 bool = l >= 0 + for yyj1706 := 0; ; yyj1706++ { + if yyhl1706 { + if yyj1706 >= l { break } } else { @@ -23225,10 +23280,10 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1701Slc = r.DecodeBytes(yys1701Slc, true, true) - yys1701 := string(yys1701Slc) + yys1706Slc = r.DecodeBytes(yys1706Slc, true, true) + yys1706 := string(yys1706Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1701 { + switch yys1706 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -23239,15 +23294,15 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1703 := &x.State - yyv1703.CodecDecodeSelf(d) + yyv1708 := &x.State + yyv1708.CodecDecodeSelf(d) } case "lastState": if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1704 := &x.LastTerminationState - yyv1704.CodecDecodeSelf(d) + yyv1709 := &x.LastTerminationState + yyv1709.CodecDecodeSelf(d) } case "ready": if r.TryDecodeAsNil() { @@ -23280,9 +23335,9 @@ func (x *ContainerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ContainerID = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1701) - } // end switch yys1701 - } // end for yyj1701 + z.DecStructFieldNotFound(-1, yys1706) + } // end switch yys1706 + } // end for yyj1706 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23290,16 +23345,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1710 int - var yyb1710 bool - var yyhl1710 bool = l >= 0 - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + var yyj1715 int + var yyb1715 bool + var yyhl1715 bool = l >= 0 + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23309,13 +23364,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23323,16 +23378,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.State = ContainerState{} } else { - yyv1712 := &x.State - yyv1712.CodecDecodeSelf(d) + yyv1717 := &x.State + yyv1717.CodecDecodeSelf(d) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23340,16 +23395,16 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.LastTerminationState = ContainerState{} } else { - yyv1713 := &x.LastTerminationState - yyv1713.CodecDecodeSelf(d) + yyv1718 := &x.LastTerminationState + yyv1718.CodecDecodeSelf(d) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23359,13 +23414,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Ready = bool(r.DecodeBool()) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23375,13 +23430,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.RestartCount = int32(r.DecodeInt(32)) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23391,13 +23446,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Image = string(r.DecodeString()) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23407,13 +23462,13 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ImageID = string(r.DecodeString()) } - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23424,17 +23479,17 @@ func (x *ContainerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.ContainerID = string(r.DecodeString()) } for { - yyj1710++ - if yyhl1710 { - yyb1710 = yyj1710 > l + yyj1715++ + if yyhl1715 { + yyb1715 = yyj1715 > l } else { - yyb1710 = r.CheckBreak() + yyb1715 = r.CheckBreak() } - if yyb1710 { + if yyb1715 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1710-1, "") + z.DecStructFieldNotFound(yyj1715-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23443,8 +23498,8 @@ func (x PodPhase) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1719 := z.EncBinary() - _ = yym1719 + yym1724 := z.EncBinary() + _ = yym1724 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23456,8 +23511,8 @@ func (x *PodPhase) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1720 := z.DecBinary() - _ = yym1720 + yym1725 := z.DecBinary() + _ = yym1725 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23469,8 +23524,8 @@ func (x PodConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1721 := z.EncBinary() - _ = yym1721 + yym1726 := z.EncBinary() + _ = yym1726 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23482,8 +23537,8 @@ func (x *PodConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1722 := z.DecBinary() - _ = yym1722 + yym1727 := z.DecBinary() + _ = yym1727 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23498,34 +23553,34 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1723 := z.EncBinary() - _ = yym1723 + yym1728 := z.EncBinary() + _ = yym1728 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1724 := !z.EncBinary() - yy2arr1724 := z.EncBasicHandle().StructToArray - var yyq1724 [6]bool - _, _, _ = yysep1724, yyq1724, yy2arr1724 - const yyr1724 bool = false - yyq1724[2] = true - yyq1724[3] = true - yyq1724[4] = x.Reason != "" - yyq1724[5] = x.Message != "" - var yynn1724 int - if yyr1724 || yy2arr1724 { + yysep1729 := !z.EncBinary() + yy2arr1729 := z.EncBasicHandle().StructToArray + var yyq1729 [6]bool + _, _, _ = yysep1729, yyq1729, yy2arr1729 + const yyr1729 bool = false + yyq1729[2] = true + yyq1729[3] = true + yyq1729[4] = x.Reason != "" + yyq1729[5] = x.Message != "" + var yynn1729 int + if yyr1729 || yy2arr1729 { r.EncodeArrayStart(6) } else { - yynn1724 = 2 - for _, b := range yyq1724 { + yynn1729 = 2 + for _, b := range yyq1729 { if b { - yynn1724++ + yynn1729++ } } - r.EncodeMapStart(yynn1724) - yynn1724 = 0 + r.EncodeMapStart(yynn1729) + yynn1729 = 0 } - if yyr1724 || yy2arr1724 { + if yyr1729 || yy2arr1729 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -23534,7 +23589,7 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr1724 || yy2arr1724 { + if yyr1729 || yy2arr1729 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -23543,47 +23598,10 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr1724 || yy2arr1724 { + if yyr1729 || yy2arr1729 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1724[2] { - yy1728 := &x.LastProbeTime - yym1729 := z.EncBinary() - _ = yym1729 - if false { - } else if z.HasExtensions() && z.EncExt(yy1728) { - } else if yym1729 { - z.EncBinaryMarshal(yy1728) - } else if !yym1729 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1728) - } else { - z.EncFallback(yy1728) - } - } else { - r.EncodeNil() - } - } else { - if yyq1724[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1730 := &x.LastProbeTime - yym1731 := z.EncBinary() - _ = yym1731 - if false { - } else if z.HasExtensions() && z.EncExt(yy1730) { - } else if yym1731 { - z.EncBinaryMarshal(yy1730) - } else if !yym1731 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1730) - } else { - z.EncFallback(yy1730) - } - } - } - if yyr1724 || yy2arr1724 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1724[3] { - yy1733 := &x.LastTransitionTime + if yyq1729[2] { + yy1733 := &x.LastProbeTime yym1734 := z.EncBinary() _ = yym1734 if false { @@ -23599,11 +23617,11 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1724[3] { + if yyq1729[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1735 := &x.LastTransitionTime + yy1735 := &x.LastProbeTime yym1736 := z.EncBinary() _ = yym1736 if false { @@ -23617,36 +23635,73 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1724 || yy2arr1724 { + if yyr1729 || yy2arr1729 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1724[4] { - yym1738 := z.EncBinary() - _ = yym1738 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1724[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq1729[3] { + yy1738 := &x.LastTransitionTime yym1739 := z.EncBinary() _ = yym1739 if false { + } else if z.HasExtensions() && z.EncExt(yy1738) { + } else if yym1739 { + z.EncBinaryMarshal(yy1738) + } else if !yym1739 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1738) + } else { + z.EncFallback(yy1738) + } + } else { + r.EncodeNil() + } + } else { + if yyq1729[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1740 := &x.LastTransitionTime + yym1741 := z.EncBinary() + _ = yym1741 + if false { + } else if z.HasExtensions() && z.EncExt(yy1740) { + } else if yym1741 { + z.EncBinaryMarshal(yy1740) + } else if !yym1741 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1740) + } else { + z.EncFallback(yy1740) + } + } + } + if yyr1729 || yy2arr1729 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1729[4] { + yym1743 := z.EncBinary() + _ = yym1743 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1729[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1744 := z.EncBinary() + _ = yym1744 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr1724 || yy2arr1724 { + if yyr1729 || yy2arr1729 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1724[5] { - yym1741 := z.EncBinary() - _ = yym1741 + if yyq1729[5] { + yym1746 := z.EncBinary() + _ = yym1746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -23655,19 +23710,19 @@ func (x *PodCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1724[5] { + if yyq1729[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1742 := z.EncBinary() - _ = yym1742 + yym1747 := z.EncBinary() + _ = yym1747 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr1724 || yy2arr1724 { + if yyr1729 || yy2arr1729 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -23680,25 +23735,25 @@ func (x *PodCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1743 := z.DecBinary() - _ = yym1743 + yym1748 := z.DecBinary() + _ = yym1748 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1744 := r.ContainerType() - if yyct1744 == codecSelferValueTypeMap1234 { - yyl1744 := r.ReadMapStart() - if yyl1744 == 0 { + yyct1749 := r.ContainerType() + if yyct1749 == codecSelferValueTypeMap1234 { + yyl1749 := r.ReadMapStart() + if yyl1749 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1744, d) + x.codecDecodeSelfFromMap(yyl1749, d) } - } else if yyct1744 == codecSelferValueTypeArray1234 { - yyl1744 := r.ReadArrayStart() - if yyl1744 == 0 { + } else if yyct1749 == codecSelferValueTypeArray1234 { + yyl1749 := r.ReadArrayStart() + if yyl1749 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1744, d) + x.codecDecodeSelfFromArray(yyl1749, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -23710,12 +23765,12 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1745Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1745Slc - var yyhl1745 bool = l >= 0 - for yyj1745 := 0; ; yyj1745++ { - if yyhl1745 { - if yyj1745 >= l { + var yys1750Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1750Slc + var yyhl1750 bool = l >= 0 + for yyj1750 := 0; ; yyj1750++ { + if yyhl1750 { + if yyj1750 >= l { break } } else { @@ -23724,10 +23779,10 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1745Slc = r.DecodeBytes(yys1745Slc, true, true) - yys1745 := string(yys1745Slc) + yys1750Slc = r.DecodeBytes(yys1750Slc, true, true) + yys1750 := string(yys1750Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1745 { + switch yys1750 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -23744,34 +23799,34 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1748 := &x.LastProbeTime - yym1749 := z.DecBinary() - _ = yym1749 + yyv1753 := &x.LastProbeTime + yym1754 := z.DecBinary() + _ = yym1754 if false { - } else if z.HasExtensions() && z.DecExt(yyv1748) { - } else if yym1749 { - z.DecBinaryUnmarshal(yyv1748) - } else if !yym1749 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1748) + } else if z.HasExtensions() && z.DecExt(yyv1753) { + } else if yym1754 { + z.DecBinaryUnmarshal(yyv1753) + } else if !yym1754 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1753) } else { - z.DecFallback(yyv1748, false) + z.DecFallback(yyv1753, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1750 := &x.LastTransitionTime - yym1751 := z.DecBinary() - _ = yym1751 + yyv1755 := &x.LastTransitionTime + yym1756 := z.DecBinary() + _ = yym1756 if false { - } else if z.HasExtensions() && z.DecExt(yyv1750) { - } else if yym1751 { - z.DecBinaryUnmarshal(yyv1750) - } else if !yym1751 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1750) + } else if z.HasExtensions() && z.DecExt(yyv1755) { + } else if yym1756 { + z.DecBinaryUnmarshal(yyv1755) + } else if !yym1756 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1755) } else { - z.DecFallback(yyv1750, false) + z.DecFallback(yyv1755, false) } } case "reason": @@ -23787,9 +23842,9 @@ func (x *PodCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1745) - } // end switch yys1745 - } // end for yyj1745 + z.DecStructFieldNotFound(-1, yys1750) + } // end switch yys1750 + } // end for yyj1750 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -23797,16 +23852,16 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1754 int - var yyb1754 bool - var yyhl1754 bool = l >= 0 - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + var yyj1759 int + var yyb1759 bool + var yyhl1759 bool = l >= 0 + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23816,13 +23871,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = PodConditionType(r.DecodeString()) } - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23832,13 +23887,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23846,26 +23901,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg2_unversioned.Time{} } else { - yyv1757 := &x.LastProbeTime - yym1758 := z.DecBinary() - _ = yym1758 + yyv1762 := &x.LastProbeTime + yym1763 := z.DecBinary() + _ = yym1763 if false { - } else if z.HasExtensions() && z.DecExt(yyv1757) { - } else if yym1758 { - z.DecBinaryUnmarshal(yyv1757) - } else if !yym1758 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1757) + } else if z.HasExtensions() && z.DecExt(yyv1762) { + } else if yym1763 { + z.DecBinaryUnmarshal(yyv1762) + } else if !yym1763 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1762) } else { - z.DecFallback(yyv1757, false) + z.DecFallback(yyv1762, false) } } - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23873,26 +23928,26 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg2_unversioned.Time{} } else { - yyv1759 := &x.LastTransitionTime - yym1760 := z.DecBinary() - _ = yym1760 + yyv1764 := &x.LastTransitionTime + yym1765 := z.DecBinary() + _ = yym1765 if false { - } else if z.HasExtensions() && z.DecExt(yyv1759) { - } else if yym1760 { - z.DecBinaryUnmarshal(yyv1759) - } else if !yym1760 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1759) + } else if z.HasExtensions() && z.DecExt(yyv1764) { + } else if yym1765 { + z.DecBinaryUnmarshal(yyv1764) + } else if !yym1765 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1764) } else { - z.DecFallback(yyv1759, false) + z.DecFallback(yyv1764, false) } } - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23902,13 +23957,13 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -23919,17 +23974,17 @@ func (x *PodCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj1754++ - if yyhl1754 { - yyb1754 = yyj1754 > l + yyj1759++ + if yyhl1759 { + yyb1759 = yyj1759 > l } else { - yyb1754 = r.CheckBreak() + yyb1759 = r.CheckBreak() } - if yyb1754 { + if yyb1759 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1754-1, "") + z.DecStructFieldNotFound(yyj1759-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23938,8 +23993,8 @@ func (x RestartPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1763 := z.EncBinary() - _ = yym1763 + yym1768 := z.EncBinary() + _ = yym1768 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23951,8 +24006,8 @@ func (x *RestartPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1764 := z.DecBinary() - _ = yym1764 + yym1769 := z.DecBinary() + _ = yym1769 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23964,8 +24019,8 @@ func (x DNSPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1765 := z.EncBinary() - _ = yym1765 + yym1770 := z.EncBinary() + _ = yym1770 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -23977,8 +24032,8 @@ func (x *DNSPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1766 := z.DecBinary() - _ = yym1766 + yym1771 := z.DecBinary() + _ = yym1771 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -23993,36 +24048,36 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1767 := z.EncBinary() - _ = yym1767 + yym1772 := z.EncBinary() + _ = yym1772 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1768 := !z.EncBinary() - yy2arr1768 := z.EncBasicHandle().StructToArray - var yyq1768 [1]bool - _, _, _ = yysep1768, yyq1768, yy2arr1768 - const yyr1768 bool = false - var yynn1768 int - if yyr1768 || yy2arr1768 { + yysep1773 := !z.EncBinary() + yy2arr1773 := z.EncBasicHandle().StructToArray + var yyq1773 [1]bool + _, _, _ = yysep1773, yyq1773, yy2arr1773 + const yyr1773 bool = false + var yynn1773 int + if yyr1773 || yy2arr1773 { r.EncodeArrayStart(1) } else { - yynn1768 = 1 - for _, b := range yyq1768 { + yynn1773 = 1 + for _, b := range yyq1773 { if b { - yynn1768++ + yynn1773++ } } - r.EncodeMapStart(yynn1768) - yynn1768 = 0 + r.EncodeMapStart(yynn1773) + yynn1773 = 0 } - if yyr1768 || yy2arr1768 { + if yyr1773 || yy2arr1773 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1770 := z.EncBinary() - _ = yym1770 + yym1775 := z.EncBinary() + _ = yym1775 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) @@ -24035,15 +24090,15 @@ func (x *NodeSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x.NodeSelectorTerms == nil { r.EncodeNil() } else { - yym1771 := z.EncBinary() - _ = yym1771 + yym1776 := z.EncBinary() + _ = yym1776 if false { } else { h.encSliceNodeSelectorTerm(([]NodeSelectorTerm)(x.NodeSelectorTerms), e) } } } - if yyr1768 || yy2arr1768 { + if yyr1773 || yy2arr1773 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24056,25 +24111,25 @@ func (x *NodeSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1772 := z.DecBinary() - _ = yym1772 + yym1777 := z.DecBinary() + _ = yym1777 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1773 := r.ContainerType() - if yyct1773 == codecSelferValueTypeMap1234 { - yyl1773 := r.ReadMapStart() - if yyl1773 == 0 { + yyct1778 := r.ContainerType() + if yyct1778 == codecSelferValueTypeMap1234 { + yyl1778 := r.ReadMapStart() + if yyl1778 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1773, d) + x.codecDecodeSelfFromMap(yyl1778, d) } - } else if yyct1773 == codecSelferValueTypeArray1234 { - yyl1773 := r.ReadArrayStart() - if yyl1773 == 0 { + } else if yyct1778 == codecSelferValueTypeArray1234 { + yyl1778 := r.ReadArrayStart() + if yyl1778 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1773, d) + x.codecDecodeSelfFromArray(yyl1778, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24086,12 +24141,12 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1774Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1774Slc - var yyhl1774 bool = l >= 0 - for yyj1774 := 0; ; yyj1774++ { - if yyhl1774 { - if yyj1774 >= l { + var yys1779Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1779Slc + var yyhl1779 bool = l >= 0 + for yyj1779 := 0; ; yyj1779++ { + if yyhl1779 { + if yyj1779 >= l { break } } else { @@ -24100,26 +24155,26 @@ func (x *NodeSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1774Slc = r.DecodeBytes(yys1774Slc, true, true) - yys1774 := string(yys1774Slc) + yys1779Slc = r.DecodeBytes(yys1779Slc, true, true) + yys1779 := string(yys1779Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1774 { + switch yys1779 { case "nodeSelectorTerms": if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1775 := &x.NodeSelectorTerms - yym1776 := z.DecBinary() - _ = yym1776 + yyv1780 := &x.NodeSelectorTerms + yym1781 := z.DecBinary() + _ = yym1781 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1775), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1780), d) } } default: - z.DecStructFieldNotFound(-1, yys1774) - } // end switch yys1774 - } // end for yyj1774 + z.DecStructFieldNotFound(-1, yys1779) + } // end switch yys1779 + } // end for yyj1779 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24127,16 +24182,16 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1777 int - var yyb1777 bool - var yyhl1777 bool = l >= 0 - yyj1777++ - if yyhl1777 { - yyb1777 = yyj1777 > l + var yyj1782 int + var yyb1782 bool + var yyhl1782 bool = l >= 0 + yyj1782++ + if yyhl1782 { + yyb1782 = yyj1782 > l } else { - yyb1777 = r.CheckBreak() + yyb1782 = r.CheckBreak() } - if yyb1777 { + if yyb1782 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24144,26 +24199,26 @@ func (x *NodeSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelectorTerms = nil } else { - yyv1778 := &x.NodeSelectorTerms - yym1779 := z.DecBinary() - _ = yym1779 + yyv1783 := &x.NodeSelectorTerms + yym1784 := z.DecBinary() + _ = yym1784 if false { } else { - h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1778), d) + h.decSliceNodeSelectorTerm((*[]NodeSelectorTerm)(yyv1783), d) } } for { - yyj1777++ - if yyhl1777 { - yyb1777 = yyj1777 > l + yyj1782++ + if yyhl1782 { + yyb1782 = yyj1782 > l } else { - yyb1777 = r.CheckBreak() + yyb1782 = r.CheckBreak() } - if yyb1777 { + if yyb1782 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1777-1, "") + z.DecStructFieldNotFound(yyj1782-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24175,36 +24230,36 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1780 := z.EncBinary() - _ = yym1780 + yym1785 := z.EncBinary() + _ = yym1785 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1781 := !z.EncBinary() - yy2arr1781 := z.EncBasicHandle().StructToArray - var yyq1781 [1]bool - _, _, _ = yysep1781, yyq1781, yy2arr1781 - const yyr1781 bool = false - var yynn1781 int - if yyr1781 || yy2arr1781 { + yysep1786 := !z.EncBinary() + yy2arr1786 := z.EncBasicHandle().StructToArray + var yyq1786 [1]bool + _, _, _ = yysep1786, yyq1786, yy2arr1786 + const yyr1786 bool = false + var yynn1786 int + if yyr1786 || yy2arr1786 { r.EncodeArrayStart(1) } else { - yynn1781 = 1 - for _, b := range yyq1781 { + yynn1786 = 1 + for _, b := range yyq1786 { if b { - yynn1781++ + yynn1786++ } } - r.EncodeMapStart(yynn1781) - yynn1781 = 0 + r.EncodeMapStart(yynn1786) + yynn1786 = 0 } - if yyr1781 || yy2arr1781 { + if yyr1786 || yy2arr1786 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1783 := z.EncBinary() - _ = yym1783 + yym1788 := z.EncBinary() + _ = yym1788 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) @@ -24217,15 +24272,15 @@ func (x *NodeSelectorTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1784 := z.EncBinary() - _ = yym1784 + yym1789 := z.EncBinary() + _ = yym1789 if false { } else { h.encSliceNodeSelectorRequirement(([]NodeSelectorRequirement)(x.MatchExpressions), e) } } } - if yyr1781 || yy2arr1781 { + if yyr1786 || yy2arr1786 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24238,25 +24293,25 @@ func (x *NodeSelectorTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1785 := z.DecBinary() - _ = yym1785 + yym1790 := z.DecBinary() + _ = yym1790 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1786 := r.ContainerType() - if yyct1786 == codecSelferValueTypeMap1234 { - yyl1786 := r.ReadMapStart() - if yyl1786 == 0 { + yyct1791 := r.ContainerType() + if yyct1791 == codecSelferValueTypeMap1234 { + yyl1791 := r.ReadMapStart() + if yyl1791 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1786, d) + x.codecDecodeSelfFromMap(yyl1791, d) } - } else if yyct1786 == codecSelferValueTypeArray1234 { - yyl1786 := r.ReadArrayStart() - if yyl1786 == 0 { + } else if yyct1791 == codecSelferValueTypeArray1234 { + yyl1791 := r.ReadArrayStart() + if yyl1791 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1786, d) + x.codecDecodeSelfFromArray(yyl1791, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24268,12 +24323,12 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1787Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1787Slc - var yyhl1787 bool = l >= 0 - for yyj1787 := 0; ; yyj1787++ { - if yyhl1787 { - if yyj1787 >= l { + var yys1792Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1792Slc + var yyhl1792 bool = l >= 0 + for yyj1792 := 0; ; yyj1792++ { + if yyhl1792 { + if yyj1792 >= l { break } } else { @@ -24282,26 +24337,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1787Slc = r.DecodeBytes(yys1787Slc, true, true) - yys1787 := string(yys1787Slc) + yys1792Slc = r.DecodeBytes(yys1792Slc, true, true) + yys1792 := string(yys1792Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1787 { + switch yys1792 { case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1788 := &x.MatchExpressions - yym1789 := z.DecBinary() - _ = yym1789 + yyv1793 := &x.MatchExpressions + yym1794 := z.DecBinary() + _ = yym1794 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1788), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1793), d) } } default: - z.DecStructFieldNotFound(-1, yys1787) - } // end switch yys1787 - } // end for yyj1787 + z.DecStructFieldNotFound(-1, yys1792) + } // end switch yys1792 + } // end for yyj1792 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24309,16 +24364,16 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1790 int - var yyb1790 bool - var yyhl1790 bool = l >= 0 - yyj1790++ - if yyhl1790 { - yyb1790 = yyj1790 > l + var yyj1795 int + var yyb1795 bool + var yyhl1795 bool = l >= 0 + yyj1795++ + if yyhl1795 { + yyb1795 = yyj1795 > l } else { - yyb1790 = r.CheckBreak() + yyb1795 = r.CheckBreak() } - if yyb1790 { + if yyb1795 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24326,26 +24381,26 @@ func (x *NodeSelectorTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1791 := &x.MatchExpressions - yym1792 := z.DecBinary() - _ = yym1792 + yyv1796 := &x.MatchExpressions + yym1797 := z.DecBinary() + _ = yym1797 if false { } else { - h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1791), d) + h.decSliceNodeSelectorRequirement((*[]NodeSelectorRequirement)(yyv1796), d) } } for { - yyj1790++ - if yyhl1790 { - yyb1790 = yyj1790 > l + yyj1795++ + if yyhl1795 { + yyb1795 = yyj1795 > l } else { - yyb1790 = r.CheckBreak() + yyb1795 = r.CheckBreak() } - if yyb1790 { + if yyb1795 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1790-1, "") + z.DecStructFieldNotFound(yyj1795-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24357,34 +24412,34 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1793 := z.EncBinary() - _ = yym1793 + yym1798 := z.EncBinary() + _ = yym1798 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1794 := !z.EncBinary() - yy2arr1794 := z.EncBasicHandle().StructToArray - var yyq1794 [3]bool - _, _, _ = yysep1794, yyq1794, yy2arr1794 - const yyr1794 bool = false - yyq1794[2] = len(x.Values) != 0 - var yynn1794 int - if yyr1794 || yy2arr1794 { + yysep1799 := !z.EncBinary() + yy2arr1799 := z.EncBasicHandle().StructToArray + var yyq1799 [3]bool + _, _, _ = yysep1799, yyq1799, yy2arr1799 + const yyr1799 bool = false + yyq1799[2] = len(x.Values) != 0 + var yynn1799 int + if yyr1799 || yy2arr1799 { r.EncodeArrayStart(3) } else { - yynn1794 = 2 - for _, b := range yyq1794 { + yynn1799 = 2 + for _, b := range yyq1799 { if b { - yynn1794++ + yynn1799++ } } - r.EncodeMapStart(yynn1794) - yynn1794 = 0 + r.EncodeMapStart(yynn1799) + yynn1799 = 0 } - if yyr1794 || yy2arr1794 { + if yyr1799 || yy2arr1799 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1796 := z.EncBinary() - _ = yym1796 + yym1801 := z.EncBinary() + _ = yym1801 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -24393,14 +24448,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1797 := z.EncBinary() - _ = yym1797 + yym1802 := z.EncBinary() + _ = yym1802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1794 || yy2arr1794 { + if yyr1799 || yy2arr1799 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -24409,14 +24464,14 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1794 || yy2arr1794 { + if yyr1799 || yy2arr1799 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1794[2] { + if yyq1799[2] { if x.Values == nil { r.EncodeNil() } else { - yym1800 := z.EncBinary() - _ = yym1800 + yym1805 := z.EncBinary() + _ = yym1805 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -24426,15 +24481,15 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1794[2] { + if yyq1799[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1801 := z.EncBinary() - _ = yym1801 + yym1806 := z.EncBinary() + _ = yym1806 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -24442,7 +24497,7 @@ func (x *NodeSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1794 || yy2arr1794 { + if yyr1799 || yy2arr1799 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24455,25 +24510,25 @@ func (x *NodeSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1802 := z.DecBinary() - _ = yym1802 + yym1807 := z.DecBinary() + _ = yym1807 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1803 := r.ContainerType() - if yyct1803 == codecSelferValueTypeMap1234 { - yyl1803 := r.ReadMapStart() - if yyl1803 == 0 { + yyct1808 := r.ContainerType() + if yyct1808 == codecSelferValueTypeMap1234 { + yyl1808 := r.ReadMapStart() + if yyl1808 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1803, d) + x.codecDecodeSelfFromMap(yyl1808, d) } - } else if yyct1803 == codecSelferValueTypeArray1234 { - yyl1803 := r.ReadArrayStart() - if yyl1803 == 0 { + } else if yyct1808 == codecSelferValueTypeArray1234 { + yyl1808 := r.ReadArrayStart() + if yyl1808 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1803, d) + x.codecDecodeSelfFromArray(yyl1808, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24485,12 +24540,12 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1804Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1804Slc - var yyhl1804 bool = l >= 0 - for yyj1804 := 0; ; yyj1804++ { - if yyhl1804 { - if yyj1804 >= l { + var yys1809Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1809Slc + var yyhl1809 bool = l >= 0 + for yyj1809 := 0; ; yyj1809++ { + if yyhl1809 { + if yyj1809 >= l { break } } else { @@ -24499,10 +24554,10 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1804Slc = r.DecodeBytes(yys1804Slc, true, true) - yys1804 := string(yys1804Slc) + yys1809Slc = r.DecodeBytes(yys1809Slc, true, true) + yys1809 := string(yys1809Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1804 { + switch yys1809 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -24519,18 +24574,18 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1807 := &x.Values - yym1808 := z.DecBinary() - _ = yym1808 + yyv1812 := &x.Values + yym1813 := z.DecBinary() + _ = yym1813 if false { } else { - z.F.DecSliceStringX(yyv1807, false, d) + z.F.DecSliceStringX(yyv1812, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1804) - } // end switch yys1804 - } // end for yyj1804 + z.DecStructFieldNotFound(-1, yys1809) + } // end switch yys1809 + } // end for yyj1809 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24538,16 +24593,16 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1809 int - var yyb1809 bool - var yyhl1809 bool = l >= 0 - yyj1809++ - if yyhl1809 { - yyb1809 = yyj1809 > l + var yyj1814 int + var yyb1814 bool + var yyhl1814 bool = l >= 0 + yyj1814++ + if yyhl1814 { + yyb1814 = yyj1814 > l } else { - yyb1809 = r.CheckBreak() + yyb1814 = r.CheckBreak() } - if yyb1809 { + if yyb1814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24557,13 +24612,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Key = string(r.DecodeString()) } - yyj1809++ - if yyhl1809 { - yyb1809 = yyj1809 > l + yyj1814++ + if yyhl1814 { + yyb1814 = yyj1814 > l } else { - yyb1809 = r.CheckBreak() + yyb1814 = r.CheckBreak() } - if yyb1809 { + if yyb1814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24573,13 +24628,13 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Operator = NodeSelectorOperator(r.DecodeString()) } - yyj1809++ - if yyhl1809 { - yyb1809 = yyj1809 > l + yyj1814++ + if yyhl1814 { + yyb1814 = yyj1814 > l } else { - yyb1809 = r.CheckBreak() + yyb1814 = r.CheckBreak() } - if yyb1809 { + if yyb1814 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24587,26 +24642,26 @@ func (x *NodeSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1812 := &x.Values - yym1813 := z.DecBinary() - _ = yym1813 + yyv1817 := &x.Values + yym1818 := z.DecBinary() + _ = yym1818 if false { } else { - z.F.DecSliceStringX(yyv1812, false, d) + z.F.DecSliceStringX(yyv1817, false, d) } } for { - yyj1809++ - if yyhl1809 { - yyb1809 = yyj1809 > l + yyj1814++ + if yyhl1814 { + yyb1814 = yyj1814 > l } else { - yyb1809 = r.CheckBreak() + yyb1814 = r.CheckBreak() } - if yyb1809 { + if yyb1814 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1809-1, "") + z.DecStructFieldNotFound(yyj1814-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24615,8 +24670,8 @@ func (x NodeSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1814 := z.EncBinary() - _ = yym1814 + yym1819 := z.EncBinary() + _ = yym1819 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -24628,8 +24683,8 @@ func (x *NodeSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1815 := z.DecBinary() - _ = yym1815 + yym1820 := z.DecBinary() + _ = yym1820 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -24644,35 +24699,35 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1816 := z.EncBinary() - _ = yym1816 + yym1821 := z.EncBinary() + _ = yym1821 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1817 := !z.EncBinary() - yy2arr1817 := z.EncBasicHandle().StructToArray - var yyq1817 [3]bool - _, _, _ = yysep1817, yyq1817, yy2arr1817 - const yyr1817 bool = false - yyq1817[0] = x.NodeAffinity != nil - yyq1817[1] = x.PodAffinity != nil - yyq1817[2] = x.PodAntiAffinity != nil - var yynn1817 int - if yyr1817 || yy2arr1817 { + yysep1822 := !z.EncBinary() + yy2arr1822 := z.EncBasicHandle().StructToArray + var yyq1822 [3]bool + _, _, _ = yysep1822, yyq1822, yy2arr1822 + const yyr1822 bool = false + yyq1822[0] = x.NodeAffinity != nil + yyq1822[1] = x.PodAffinity != nil + yyq1822[2] = x.PodAntiAffinity != nil + var yynn1822 int + if yyr1822 || yy2arr1822 { r.EncodeArrayStart(3) } else { - yynn1817 = 0 - for _, b := range yyq1817 { + yynn1822 = 0 + for _, b := range yyq1822 { if b { - yynn1817++ + yynn1822++ } } - r.EncodeMapStart(yynn1817) - yynn1817 = 0 + r.EncodeMapStart(yynn1822) + yynn1822 = 0 } - if yyr1817 || yy2arr1817 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1817[0] { + if yyq1822[0] { if x.NodeAffinity == nil { r.EncodeNil() } else { @@ -24682,7 +24737,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1817[0] { + if yyq1822[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -24693,9 +24748,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1817 || yy2arr1817 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1817[1] { + if yyq1822[1] { if x.PodAffinity == nil { r.EncodeNil() } else { @@ -24705,7 +24760,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1817[1] { + if yyq1822[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -24716,9 +24771,9 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1817 || yy2arr1817 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1817[2] { + if yyq1822[2] { if x.PodAntiAffinity == nil { r.EncodeNil() } else { @@ -24728,7 +24783,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1817[2] { + if yyq1822[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAntiAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -24739,7 +24794,7 @@ func (x *Affinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1817 || yy2arr1817 { + if yyr1822 || yy2arr1822 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -24752,25 +24807,25 @@ func (x *Affinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1821 := z.DecBinary() - _ = yym1821 + yym1826 := z.DecBinary() + _ = yym1826 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1822 := r.ContainerType() - if yyct1822 == codecSelferValueTypeMap1234 { - yyl1822 := r.ReadMapStart() - if yyl1822 == 0 { + yyct1827 := r.ContainerType() + if yyct1827 == codecSelferValueTypeMap1234 { + yyl1827 := r.ReadMapStart() + if yyl1827 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1822, d) + x.codecDecodeSelfFromMap(yyl1827, d) } - } else if yyct1822 == codecSelferValueTypeArray1234 { - yyl1822 := r.ReadArrayStart() - if yyl1822 == 0 { + } else if yyct1827 == codecSelferValueTypeArray1234 { + yyl1827 := r.ReadArrayStart() + if yyl1827 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1822, d) + x.codecDecodeSelfFromArray(yyl1827, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -24782,12 +24837,12 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1823Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1823Slc - var yyhl1823 bool = l >= 0 - for yyj1823 := 0; ; yyj1823++ { - if yyhl1823 { - if yyj1823 >= l { + var yys1828Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1828Slc + var yyhl1828 bool = l >= 0 + for yyj1828 := 0; ; yyj1828++ { + if yyhl1828 { + if yyj1828 >= l { break } } else { @@ -24796,10 +24851,10 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1823Slc = r.DecodeBytes(yys1823Slc, true, true) - yys1823 := string(yys1823Slc) + yys1828Slc = r.DecodeBytes(yys1828Slc, true, true) + yys1828 := string(yys1828Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1823 { + switch yys1828 { case "nodeAffinity": if r.TryDecodeAsNil() { if x.NodeAffinity != nil { @@ -24834,9 +24889,9 @@ func (x *Affinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1823) - } // end switch yys1823 - } // end for yyj1823 + z.DecStructFieldNotFound(-1, yys1828) + } // end switch yys1828 + } // end for yyj1828 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -24844,16 +24899,16 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1827 int - var yyb1827 bool - var yyhl1827 bool = l >= 0 - yyj1827++ - if yyhl1827 { - yyb1827 = yyj1827 > l + var yyj1832 int + var yyb1832 bool + var yyhl1832 bool = l >= 0 + yyj1832++ + if yyhl1832 { + yyb1832 = yyj1832 > l } else { - yyb1827 = r.CheckBreak() + yyb1832 = r.CheckBreak() } - if yyb1827 { + if yyb1832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24868,13 +24923,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.NodeAffinity.CodecDecodeSelf(d) } - yyj1827++ - if yyhl1827 { - yyb1827 = yyj1827 > l + yyj1832++ + if yyhl1832 { + yyb1832 = yyj1832 > l } else { - yyb1827 = r.CheckBreak() + yyb1832 = r.CheckBreak() } - if yyb1827 { + if yyb1832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24889,13 +24944,13 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.PodAffinity.CodecDecodeSelf(d) } - yyj1827++ - if yyhl1827 { - yyb1827 = yyj1827 > l + yyj1832++ + if yyhl1832 { + yyb1832 = yyj1832 > l } else { - yyb1827 = r.CheckBreak() + yyb1832 = r.CheckBreak() } - if yyb1827 { + if yyb1832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -24911,17 +24966,17 @@ func (x *Affinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodAntiAffinity.CodecDecodeSelf(d) } for { - yyj1827++ - if yyhl1827 { - yyb1827 = yyj1827 > l + yyj1832++ + if yyhl1832 { + yyb1832 = yyj1832 > l } else { - yyb1827 = r.CheckBreak() + yyb1832 = r.CheckBreak() } - if yyb1827 { + if yyb1832 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1827-1, "") + z.DecStructFieldNotFound(yyj1832-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -24933,39 +24988,39 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1831 := z.EncBinary() - _ = yym1831 + yym1836 := z.EncBinary() + _ = yym1836 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1832 := !z.EncBinary() - yy2arr1832 := z.EncBasicHandle().StructToArray - var yyq1832 [2]bool - _, _, _ = yysep1832, yyq1832, yy2arr1832 - const yyr1832 bool = false - yyq1832[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq1832[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1832 int - if yyr1832 || yy2arr1832 { + yysep1837 := !z.EncBinary() + yy2arr1837 := z.EncBasicHandle().StructToArray + var yyq1837 [2]bool + _, _, _ = yysep1837, yyq1837, yy2arr1837 + const yyr1837 bool = false + yyq1837[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1837[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1837 int + if yyr1837 || yy2arr1837 { r.EncodeArrayStart(2) } else { - yynn1832 = 0 - for _, b := range yyq1832 { + yynn1837 = 0 + for _, b := range yyq1837 { if b { - yynn1832++ + yynn1837++ } } - r.EncodeMapStart(yynn1832) - yynn1832 = 0 + r.EncodeMapStart(yynn1837) + yynn1837 = 0 } - if yyr1832 || yy2arr1832 { + if yyr1837 || yy2arr1837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1832[0] { + if yyq1837[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1834 := z.EncBinary() - _ = yym1834 + yym1839 := z.EncBinary() + _ = yym1839 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -24975,15 +25030,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1832[0] { + if yyq1837[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1835 := z.EncBinary() - _ = yym1835 + yym1840 := z.EncBinary() + _ = yym1840 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -24991,14 +25046,14 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1832 || yy2arr1832 { + if yyr1837 || yy2arr1837 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1832[1] { + if yyq1837[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1837 := z.EncBinary() - _ = yym1837 + yym1842 := z.EncBinary() + _ = yym1842 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25008,15 +25063,15 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1832[1] { + if yyq1837[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1838 := z.EncBinary() - _ = yym1838 + yym1843 := z.EncBinary() + _ = yym1843 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25024,7 +25079,7 @@ func (x *PodAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1832 || yy2arr1832 { + if yyr1837 || yy2arr1837 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25037,25 +25092,25 @@ func (x *PodAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1839 := z.DecBinary() - _ = yym1839 + yym1844 := z.DecBinary() + _ = yym1844 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1840 := r.ContainerType() - if yyct1840 == codecSelferValueTypeMap1234 { - yyl1840 := r.ReadMapStart() - if yyl1840 == 0 { + yyct1845 := r.ContainerType() + if yyct1845 == codecSelferValueTypeMap1234 { + yyl1845 := r.ReadMapStart() + if yyl1845 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1840, d) + x.codecDecodeSelfFromMap(yyl1845, d) } - } else if yyct1840 == codecSelferValueTypeArray1234 { - yyl1840 := r.ReadArrayStart() - if yyl1840 == 0 { + } else if yyct1845 == codecSelferValueTypeArray1234 { + yyl1845 := r.ReadArrayStart() + if yyl1845 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1840, d) + x.codecDecodeSelfFromArray(yyl1845, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25067,12 +25122,12 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1841Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1841Slc - var yyhl1841 bool = l >= 0 - for yyj1841 := 0; ; yyj1841++ { - if yyhl1841 { - if yyj1841 >= l { + var yys1846Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1846Slc + var yyhl1846 bool = l >= 0 + for yyj1846 := 0; ; yyj1846++ { + if yyhl1846 { + if yyj1846 >= l { break } } else { @@ -25081,38 +25136,38 @@ func (x *PodAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1841Slc = r.DecodeBytes(yys1841Slc, true, true) - yys1841 := string(yys1841Slc) + yys1846Slc = r.DecodeBytes(yys1846Slc, true, true) + yys1846 := string(yys1846Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1841 { + switch yys1846 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1842 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1843 := z.DecBinary() - _ = yym1843 + yyv1847 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1848 := z.DecBinary() + _ = yym1848 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1842), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1847), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1844 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1845 := z.DecBinary() - _ = yym1845 + yyv1849 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1850 := z.DecBinary() + _ = yym1850 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1844), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1849), d) } } default: - z.DecStructFieldNotFound(-1, yys1841) - } // end switch yys1841 - } // end for yyj1841 + z.DecStructFieldNotFound(-1, yys1846) + } // end switch yys1846 + } // end for yyj1846 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25120,16 +25175,16 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1846 int - var yyb1846 bool - var yyhl1846 bool = l >= 0 - yyj1846++ - if yyhl1846 { - yyb1846 = yyj1846 > l + var yyj1851 int + var yyb1851 bool + var yyhl1851 bool = l >= 0 + yyj1851++ + if yyhl1851 { + yyb1851 = yyj1851 > l } else { - yyb1846 = r.CheckBreak() + yyb1851 = r.CheckBreak() } - if yyb1846 { + if yyb1851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25137,21 +25192,21 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1847 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1848 := z.DecBinary() - _ = yym1848 + yyv1852 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1853 := z.DecBinary() + _ = yym1853 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1847), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1852), d) } } - yyj1846++ - if yyhl1846 { - yyb1846 = yyj1846 > l + yyj1851++ + if yyhl1851 { + yyb1851 = yyj1851 > l } else { - yyb1846 = r.CheckBreak() + yyb1851 = r.CheckBreak() } - if yyb1846 { + if yyb1851 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25159,26 +25214,26 @@ func (x *PodAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1849 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1850 := z.DecBinary() - _ = yym1850 + yyv1854 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1855 := z.DecBinary() + _ = yym1855 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1849), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1854), d) } } for { - yyj1846++ - if yyhl1846 { - yyb1846 = yyj1846 > l + yyj1851++ + if yyhl1851 { + yyb1851 = yyj1851 > l } else { - yyb1846 = r.CheckBreak() + yyb1851 = r.CheckBreak() } - if yyb1846 { + if yyb1851 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1846-1, "") + z.DecStructFieldNotFound(yyj1851-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25190,39 +25245,39 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1851 := z.EncBinary() - _ = yym1851 + yym1856 := z.EncBinary() + _ = yym1856 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1852 := !z.EncBinary() - yy2arr1852 := z.EncBasicHandle().StructToArray - var yyq1852 [2]bool - _, _, _ = yysep1852, yyq1852, yy2arr1852 - const yyr1852 bool = false - yyq1852[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 - yyq1852[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1852 int - if yyr1852 || yy2arr1852 { + yysep1857 := !z.EncBinary() + yy2arr1857 := z.EncBasicHandle().StructToArray + var yyq1857 [2]bool + _, _, _ = yysep1857, yyq1857, yy2arr1857 + const yyr1857 bool = false + yyq1857[0] = len(x.RequiredDuringSchedulingIgnoredDuringExecution) != 0 + yyq1857[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1857 int + if yyr1857 || yy2arr1857 { r.EncodeArrayStart(2) } else { - yynn1852 = 0 - for _, b := range yyq1852 { + yynn1857 = 0 + for _, b := range yyq1857 { if b { - yynn1852++ + yynn1857++ } } - r.EncodeMapStart(yynn1852) - yynn1852 = 0 + r.EncodeMapStart(yynn1857) + yynn1857 = 0 } - if yyr1852 || yy2arr1852 { + if yyr1857 || yy2arr1857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1852[0] { + if yyq1857[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1854 := z.EncBinary() - _ = yym1854 + yym1859 := z.EncBinary() + _ = yym1859 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25232,15 +25287,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1852[0] { + if yyq1857[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1855 := z.EncBinary() - _ = yym1855 + yym1860 := z.EncBinary() + _ = yym1860 if false { } else { h.encSlicePodAffinityTerm(([]PodAffinityTerm)(x.RequiredDuringSchedulingIgnoredDuringExecution), e) @@ -25248,14 +25303,14 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1852 || yy2arr1852 { + if yyr1857 || yy2arr1857 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1852[1] { + if yyq1857[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1857 := z.EncBinary() - _ = yym1857 + yym1862 := z.EncBinary() + _ = yym1862 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25265,15 +25320,15 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1852[1] { + if yyq1857[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1858 := z.EncBinary() - _ = yym1858 + yym1863 := z.EncBinary() + _ = yym1863 if false { } else { h.encSliceWeightedPodAffinityTerm(([]WeightedPodAffinityTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -25281,7 +25336,7 @@ func (x *PodAntiAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1852 || yy2arr1852 { + if yyr1857 || yy2arr1857 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25294,25 +25349,25 @@ func (x *PodAntiAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1859 := z.DecBinary() - _ = yym1859 + yym1864 := z.DecBinary() + _ = yym1864 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1860 := r.ContainerType() - if yyct1860 == codecSelferValueTypeMap1234 { - yyl1860 := r.ReadMapStart() - if yyl1860 == 0 { + yyct1865 := r.ContainerType() + if yyct1865 == codecSelferValueTypeMap1234 { + yyl1865 := r.ReadMapStart() + if yyl1865 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1860, d) + x.codecDecodeSelfFromMap(yyl1865, d) } - } else if yyct1860 == codecSelferValueTypeArray1234 { - yyl1860 := r.ReadArrayStart() - if yyl1860 == 0 { + } else if yyct1865 == codecSelferValueTypeArray1234 { + yyl1865 := r.ReadArrayStart() + if yyl1865 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1860, d) + x.codecDecodeSelfFromArray(yyl1865, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25324,12 +25379,12 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1861Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1861Slc - var yyhl1861 bool = l >= 0 - for yyj1861 := 0; ; yyj1861++ { - if yyhl1861 { - if yyj1861 >= l { + var yys1866Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1866Slc + var yyhl1866 bool = l >= 0 + for yyj1866 := 0; ; yyj1866++ { + if yyhl1866 { + if yyj1866 >= l { break } } else { @@ -25338,38 +25393,38 @@ func (x *PodAntiAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1861Slc = r.DecodeBytes(yys1861Slc, true, true) - yys1861 := string(yys1861Slc) + yys1866Slc = r.DecodeBytes(yys1866Slc, true, true) + yys1866 := string(yys1866Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1861 { + switch yys1866 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1862 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1863 := z.DecBinary() - _ = yym1863 + yyv1867 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1868 := z.DecBinary() + _ = yym1868 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1862), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1867), d) } } case "preferredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1864 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1865 := z.DecBinary() - _ = yym1865 + yyv1869 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1870 := z.DecBinary() + _ = yym1870 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1864), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1869), d) } } default: - z.DecStructFieldNotFound(-1, yys1861) - } // end switch yys1861 - } // end for yyj1861 + z.DecStructFieldNotFound(-1, yys1866) + } // end switch yys1866 + } // end for yyj1866 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25377,16 +25432,16 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1866 int - var yyb1866 bool - var yyhl1866 bool = l >= 0 - yyj1866++ - if yyhl1866 { - yyb1866 = yyj1866 > l + var yyj1871 int + var yyb1871 bool + var yyhl1871 bool = l >= 0 + yyj1871++ + if yyhl1871 { + yyb1871 = yyj1871 > l } else { - yyb1866 = r.CheckBreak() + yyb1871 = r.CheckBreak() } - if yyb1866 { + if yyb1871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25394,21 +25449,21 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.RequiredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1867 := &x.RequiredDuringSchedulingIgnoredDuringExecution - yym1868 := z.DecBinary() - _ = yym1868 + yyv1872 := &x.RequiredDuringSchedulingIgnoredDuringExecution + yym1873 := z.DecBinary() + _ = yym1873 if false { } else { - h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1867), d) + h.decSlicePodAffinityTerm((*[]PodAffinityTerm)(yyv1872), d) } } - yyj1866++ - if yyhl1866 { - yyb1866 = yyj1866 > l + yyj1871++ + if yyhl1871 { + yyb1871 = yyj1871 > l } else { - yyb1866 = r.CheckBreak() + yyb1871 = r.CheckBreak() } - if yyb1866 { + if yyb1871 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25416,26 +25471,26 @@ func (x *PodAntiAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1869 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1870 := z.DecBinary() - _ = yym1870 + yyv1874 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1875 := z.DecBinary() + _ = yym1875 if false { } else { - h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1869), d) + h.decSliceWeightedPodAffinityTerm((*[]WeightedPodAffinityTerm)(yyv1874), d) } } for { - yyj1866++ - if yyhl1866 { - yyb1866 = yyj1866 > l + yyj1871++ + if yyhl1871 { + yyb1871 = yyj1871 > l } else { - yyb1866 = r.CheckBreak() + yyb1871 = r.CheckBreak() } - if yyb1866 { + if yyb1871 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1866-1, "") + z.DecStructFieldNotFound(yyj1871-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25447,33 +25502,33 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1871 := z.EncBinary() - _ = yym1871 + yym1876 := z.EncBinary() + _ = yym1876 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1872 := !z.EncBinary() - yy2arr1872 := z.EncBasicHandle().StructToArray - var yyq1872 [2]bool - _, _, _ = yysep1872, yyq1872, yy2arr1872 - const yyr1872 bool = false - var yynn1872 int - if yyr1872 || yy2arr1872 { + yysep1877 := !z.EncBinary() + yy2arr1877 := z.EncBasicHandle().StructToArray + var yyq1877 [2]bool + _, _, _ = yysep1877, yyq1877, yy2arr1877 + const yyr1877 bool = false + var yynn1877 int + if yyr1877 || yy2arr1877 { r.EncodeArrayStart(2) } else { - yynn1872 = 2 - for _, b := range yyq1872 { + yynn1877 = 2 + for _, b := range yyq1877 { if b { - yynn1872++ + yynn1877++ } } - r.EncodeMapStart(yynn1872) - yynn1872 = 0 + r.EncodeMapStart(yynn1877) + yynn1877 = 0 } - if yyr1872 || yy2arr1872 { + if yyr1877 || yy2arr1877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1874 := z.EncBinary() - _ = yym1874 + yym1879 := z.EncBinary() + _ = yym1879 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -25482,25 +25537,25 @@ func (x *WeightedPodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1875 := z.EncBinary() - _ = yym1875 + yym1880 := z.EncBinary() + _ = yym1880 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr1872 || yy2arr1872 { + if yyr1877 || yy2arr1877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1877 := &x.PodAffinityTerm - yy1877.CodecEncodeSelf(e) + yy1882 := &x.PodAffinityTerm + yy1882.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podAffinityTerm")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1878 := &x.PodAffinityTerm - yy1878.CodecEncodeSelf(e) + yy1883 := &x.PodAffinityTerm + yy1883.CodecEncodeSelf(e) } - if yyr1872 || yy2arr1872 { + if yyr1877 || yy2arr1877 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25513,25 +25568,25 @@ func (x *WeightedPodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1879 := z.DecBinary() - _ = yym1879 + yym1884 := z.DecBinary() + _ = yym1884 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1880 := r.ContainerType() - if yyct1880 == codecSelferValueTypeMap1234 { - yyl1880 := r.ReadMapStart() - if yyl1880 == 0 { + yyct1885 := r.ContainerType() + if yyct1885 == codecSelferValueTypeMap1234 { + yyl1885 := r.ReadMapStart() + if yyl1885 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1880, d) + x.codecDecodeSelfFromMap(yyl1885, d) } - } else if yyct1880 == codecSelferValueTypeArray1234 { - yyl1880 := r.ReadArrayStart() - if yyl1880 == 0 { + } else if yyct1885 == codecSelferValueTypeArray1234 { + yyl1885 := r.ReadArrayStart() + if yyl1885 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1880, d) + x.codecDecodeSelfFromArray(yyl1885, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25543,12 +25598,12 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1881Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1881Slc - var yyhl1881 bool = l >= 0 - for yyj1881 := 0; ; yyj1881++ { - if yyhl1881 { - if yyj1881 >= l { + var yys1886Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1886Slc + var yyhl1886 bool = l >= 0 + for yyj1886 := 0; ; yyj1886++ { + if yyhl1886 { + if yyj1886 >= l { break } } else { @@ -25557,10 +25612,10 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1881Slc = r.DecodeBytes(yys1881Slc, true, true) - yys1881 := string(yys1881Slc) + yys1886Slc = r.DecodeBytes(yys1886Slc, true, true) + yys1886 := string(yys1886Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1881 { + switch yys1886 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -25571,13 +25626,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv1883 := &x.PodAffinityTerm - yyv1883.CodecDecodeSelf(d) + yyv1888 := &x.PodAffinityTerm + yyv1888.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1881) - } // end switch yys1881 - } // end for yyj1881 + z.DecStructFieldNotFound(-1, yys1886) + } // end switch yys1886 + } // end for yyj1886 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25585,16 +25640,16 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1884 int - var yyb1884 bool - var yyhl1884 bool = l >= 0 - yyj1884++ - if yyhl1884 { - yyb1884 = yyj1884 > l + var yyj1889 int + var yyb1889 bool + var yyhl1889 bool = l >= 0 + yyj1889++ + if yyhl1889 { + yyb1889 = yyj1889 > l } else { - yyb1884 = r.CheckBreak() + yyb1889 = r.CheckBreak() } - if yyb1884 { + if yyb1889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25604,13 +25659,13 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int32(r.DecodeInt(32)) } - yyj1884++ - if yyhl1884 { - yyb1884 = yyj1884 > l + yyj1889++ + if yyhl1889 { + yyb1889 = yyj1889 > l } else { - yyb1884 = r.CheckBreak() + yyb1889 = r.CheckBreak() } - if yyb1884 { + if yyb1889 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25618,21 +25673,21 @@ func (x *WeightedPodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.PodAffinityTerm = PodAffinityTerm{} } else { - yyv1886 := &x.PodAffinityTerm - yyv1886.CodecDecodeSelf(d) + yyv1891 := &x.PodAffinityTerm + yyv1891.CodecDecodeSelf(d) } for { - yyj1884++ - if yyhl1884 { - yyb1884 = yyj1884 > l + yyj1889++ + if yyhl1889 { + yyb1889 = yyj1889 > l } else { - yyb1884 = r.CheckBreak() + yyb1889 = r.CheckBreak() } - if yyb1884 { + if yyb1889 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1884-1, "") + z.DecStructFieldNotFound(yyj1889-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25644,39 +25699,39 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1887 := z.EncBinary() - _ = yym1887 + yym1892 := z.EncBinary() + _ = yym1892 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1888 := !z.EncBinary() - yy2arr1888 := z.EncBasicHandle().StructToArray - var yyq1888 [3]bool - _, _, _ = yysep1888, yyq1888, yy2arr1888 - const yyr1888 bool = false - yyq1888[0] = x.LabelSelector != nil - yyq1888[2] = x.TopologyKey != "" - var yynn1888 int - if yyr1888 || yy2arr1888 { + yysep1893 := !z.EncBinary() + yy2arr1893 := z.EncBasicHandle().StructToArray + var yyq1893 [3]bool + _, _, _ = yysep1893, yyq1893, yy2arr1893 + const yyr1893 bool = false + yyq1893[0] = x.LabelSelector != nil + yyq1893[2] = x.TopologyKey != "" + var yynn1893 int + if yyr1893 || yy2arr1893 { r.EncodeArrayStart(3) } else { - yynn1888 = 1 - for _, b := range yyq1888 { + yynn1893 = 1 + for _, b := range yyq1893 { if b { - yynn1888++ + yynn1893++ } } - r.EncodeMapStart(yynn1888) - yynn1888 = 0 + r.EncodeMapStart(yynn1893) + yynn1893 = 0 } - if yyr1888 || yy2arr1888 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1888[0] { + if yyq1893[0] { if x.LabelSelector == nil { r.EncodeNil() } else { - yym1890 := z.EncBinary() - _ = yym1890 + yym1895 := z.EncBinary() + _ = yym1895 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -25687,15 +25742,15 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1888[0] { + if yyq1893[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LabelSelector == nil { r.EncodeNil() } else { - yym1891 := z.EncBinary() - _ = yym1891 + yym1896 := z.EncBinary() + _ = yym1896 if false { } else if z.HasExtensions() && z.EncExt(x.LabelSelector) { } else { @@ -25704,13 +25759,13 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1888 || yy2arr1888 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Namespaces == nil { r.EncodeNil() } else { - yym1893 := z.EncBinary() - _ = yym1893 + yym1898 := z.EncBinary() + _ = yym1898 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) @@ -25723,19 +25778,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x.Namespaces == nil { r.EncodeNil() } else { - yym1894 := z.EncBinary() - _ = yym1894 + yym1899 := z.EncBinary() + _ = yym1899 if false { } else { z.F.EncSliceStringV(x.Namespaces, false, e) } } } - if yyr1888 || yy2arr1888 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1888[2] { - yym1896 := z.EncBinary() - _ = yym1896 + if yyq1893[2] { + yym1901 := z.EncBinary() + _ = yym1901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) @@ -25744,19 +25799,19 @@ func (x *PodAffinityTerm) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1888[2] { + if yyq1893[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("topologyKey")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1897 := z.EncBinary() - _ = yym1897 + yym1902 := z.EncBinary() + _ = yym1902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.TopologyKey)) } } } - if yyr1888 || yy2arr1888 { + if yyr1893 || yy2arr1893 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -25769,25 +25824,25 @@ func (x *PodAffinityTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1898 := z.DecBinary() - _ = yym1898 + yym1903 := z.DecBinary() + _ = yym1903 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1899 := r.ContainerType() - if yyct1899 == codecSelferValueTypeMap1234 { - yyl1899 := r.ReadMapStart() - if yyl1899 == 0 { + yyct1904 := r.ContainerType() + if yyct1904 == codecSelferValueTypeMap1234 { + yyl1904 := r.ReadMapStart() + if yyl1904 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1899, d) + x.codecDecodeSelfFromMap(yyl1904, d) } - } else if yyct1899 == codecSelferValueTypeArray1234 { - yyl1899 := r.ReadArrayStart() - if yyl1899 == 0 { + } else if yyct1904 == codecSelferValueTypeArray1234 { + yyl1904 := r.ReadArrayStart() + if yyl1904 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1899, d) + x.codecDecodeSelfFromArray(yyl1904, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -25799,12 +25854,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1900Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1900Slc - var yyhl1900 bool = l >= 0 - for yyj1900 := 0; ; yyj1900++ { - if yyhl1900 { - if yyj1900 >= l { + var yys1905Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1905Slc + var yyhl1905 bool = l >= 0 + for yyj1905 := 0; ; yyj1905++ { + if yyhl1905 { + if yyj1905 >= l { break } } else { @@ -25813,10 +25868,10 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1900Slc = r.DecodeBytes(yys1900Slc, true, true) - yys1900 := string(yys1900Slc) + yys1905Slc = r.DecodeBytes(yys1905Slc, true, true) + yys1905 := string(yys1905Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1900 { + switch yys1905 { case "labelSelector": if r.TryDecodeAsNil() { if x.LabelSelector != nil { @@ -25826,8 +25881,8 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym1902 := z.DecBinary() - _ = yym1902 + yym1907 := z.DecBinary() + _ = yym1907 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { @@ -25838,12 +25893,12 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv1903 := &x.Namespaces - yym1904 := z.DecBinary() - _ = yym1904 + yyv1908 := &x.Namespaces + yym1909 := z.DecBinary() + _ = yym1909 if false { } else { - z.F.DecSliceStringX(yyv1903, false, d) + z.F.DecSliceStringX(yyv1908, false, d) } } case "topologyKey": @@ -25853,9 +25908,9 @@ func (x *PodAffinityTerm) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TopologyKey = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1900) - } // end switch yys1900 - } // end for yyj1900 + z.DecStructFieldNotFound(-1, yys1905) + } // end switch yys1905 + } // end for yyj1905 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -25863,16 +25918,16 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1906 int - var yyb1906 bool - var yyhl1906 bool = l >= 0 - yyj1906++ - if yyhl1906 { - yyb1906 = yyj1906 > l + var yyj1911 int + var yyb1911 bool + var yyhl1911 bool = l >= 0 + yyj1911++ + if yyhl1911 { + yyb1911 = yyj1911 > l } else { - yyb1906 = r.CheckBreak() + yyb1911 = r.CheckBreak() } - if yyb1906 { + if yyb1911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25885,21 +25940,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.LabelSelector == nil { x.LabelSelector = new(pkg2_unversioned.LabelSelector) } - yym1908 := z.DecBinary() - _ = yym1908 + yym1913 := z.DecBinary() + _ = yym1913 if false { } else if z.HasExtensions() && z.DecExt(x.LabelSelector) { } else { z.DecFallback(x.LabelSelector, false) } } - yyj1906++ - if yyhl1906 { - yyb1906 = yyj1906 > l + yyj1911++ + if yyhl1911 { + yyb1911 = yyj1911 > l } else { - yyb1906 = r.CheckBreak() + yyb1911 = r.CheckBreak() } - if yyb1906 { + if yyb1911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25907,21 +25962,21 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Namespaces = nil } else { - yyv1909 := &x.Namespaces - yym1910 := z.DecBinary() - _ = yym1910 + yyv1914 := &x.Namespaces + yym1915 := z.DecBinary() + _ = yym1915 if false { } else { - z.F.DecSliceStringX(yyv1909, false, d) + z.F.DecSliceStringX(yyv1914, false, d) } } - yyj1906++ - if yyhl1906 { - yyb1906 = yyj1906 > l + yyj1911++ + if yyhl1911 { + yyb1911 = yyj1911 > l } else { - yyb1906 = r.CheckBreak() + yyb1911 = r.CheckBreak() } - if yyb1906 { + if yyb1911 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -25932,17 +25987,17 @@ func (x *PodAffinityTerm) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TopologyKey = string(r.DecodeString()) } for { - yyj1906++ - if yyhl1906 { - yyb1906 = yyj1906 > l + yyj1911++ + if yyhl1911 { + yyb1911 = yyj1911 > l } else { - yyb1906 = r.CheckBreak() + yyb1911 = r.CheckBreak() } - if yyb1906 { + if yyb1911 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1906-1, "") + z.DecStructFieldNotFound(yyj1911-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -25954,34 +26009,34 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1912 := z.EncBinary() - _ = yym1912 + yym1917 := z.EncBinary() + _ = yym1917 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1913 := !z.EncBinary() - yy2arr1913 := z.EncBasicHandle().StructToArray - var yyq1913 [2]bool - _, _, _ = yysep1913, yyq1913, yy2arr1913 - const yyr1913 bool = false - yyq1913[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil - yyq1913[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 - var yynn1913 int - if yyr1913 || yy2arr1913 { + yysep1918 := !z.EncBinary() + yy2arr1918 := z.EncBasicHandle().StructToArray + var yyq1918 [2]bool + _, _, _ = yysep1918, yyq1918, yy2arr1918 + const yyr1918 bool = false + yyq1918[0] = x.RequiredDuringSchedulingIgnoredDuringExecution != nil + yyq1918[1] = len(x.PreferredDuringSchedulingIgnoredDuringExecution) != 0 + var yynn1918 int + if yyr1918 || yy2arr1918 { r.EncodeArrayStart(2) } else { - yynn1913 = 0 - for _, b := range yyq1913 { + yynn1918 = 0 + for _, b := range yyq1918 { if b { - yynn1913++ + yynn1918++ } } - r.EncodeMapStart(yynn1913) - yynn1913 = 0 + r.EncodeMapStart(yynn1918) + yynn1918 = 0 } - if yyr1913 || yy2arr1913 { + if yyr1918 || yy2arr1918 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1913[0] { + if yyq1918[0] { if x.RequiredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { @@ -25991,7 +26046,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1913[0] { + if yyq1918[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -26002,14 +26057,14 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1913 || yy2arr1913 { + if yyr1918 || yy2arr1918 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1913[1] { + if yyq1918[1] { if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1916 := z.EncBinary() - _ = yym1916 + yym1921 := z.EncBinary() + _ = yym1921 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26019,15 +26074,15 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1913[1] { + if yyq1918[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferredDuringSchedulingIgnoredDuringExecution")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferredDuringSchedulingIgnoredDuringExecution == nil { r.EncodeNil() } else { - yym1917 := z.EncBinary() - _ = yym1917 + yym1922 := z.EncBinary() + _ = yym1922 if false { } else { h.encSlicePreferredSchedulingTerm(([]PreferredSchedulingTerm)(x.PreferredDuringSchedulingIgnoredDuringExecution), e) @@ -26035,7 +26090,7 @@ func (x *NodeAffinity) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1913 || yy2arr1913 { + if yyr1918 || yy2arr1918 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26048,25 +26103,25 @@ func (x *NodeAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1918 := z.DecBinary() - _ = yym1918 + yym1923 := z.DecBinary() + _ = yym1923 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1919 := r.ContainerType() - if yyct1919 == codecSelferValueTypeMap1234 { - yyl1919 := r.ReadMapStart() - if yyl1919 == 0 { + yyct1924 := r.ContainerType() + if yyct1924 == codecSelferValueTypeMap1234 { + yyl1924 := r.ReadMapStart() + if yyl1924 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1919, d) + x.codecDecodeSelfFromMap(yyl1924, d) } - } else if yyct1919 == codecSelferValueTypeArray1234 { - yyl1919 := r.ReadArrayStart() - if yyl1919 == 0 { + } else if yyct1924 == codecSelferValueTypeArray1234 { + yyl1924 := r.ReadArrayStart() + if yyl1924 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1919, d) + x.codecDecodeSelfFromArray(yyl1924, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26078,12 +26133,12 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1920Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1920Slc - var yyhl1920 bool = l >= 0 - for yyj1920 := 0; ; yyj1920++ { - if yyhl1920 { - if yyj1920 >= l { + var yys1925Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1925Slc + var yyhl1925 bool = l >= 0 + for yyj1925 := 0; ; yyj1925++ { + if yyhl1925 { + if yyj1925 >= l { break } } else { @@ -26092,10 +26147,10 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1920Slc = r.DecodeBytes(yys1920Slc, true, true) - yys1920 := string(yys1920Slc) + yys1925Slc = r.DecodeBytes(yys1925Slc, true, true) + yys1925 := string(yys1925Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1920 { + switch yys1925 { case "requiredDuringSchedulingIgnoredDuringExecution": if r.TryDecodeAsNil() { if x.RequiredDuringSchedulingIgnoredDuringExecution != nil { @@ -26111,18 +26166,18 @@ func (x *NodeAffinity) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1922 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1923 := z.DecBinary() - _ = yym1923 + yyv1927 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1928 := z.DecBinary() + _ = yym1928 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1922), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1927), d) } } default: - z.DecStructFieldNotFound(-1, yys1920) - } // end switch yys1920 - } // end for yyj1920 + z.DecStructFieldNotFound(-1, yys1925) + } // end switch yys1925 + } // end for yyj1925 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26130,16 +26185,16 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1924 int - var yyb1924 bool - var yyhl1924 bool = l >= 0 - yyj1924++ - if yyhl1924 { - yyb1924 = yyj1924 > l + var yyj1929 int + var yyb1929 bool + var yyhl1929 bool = l >= 0 + yyj1929++ + if yyhl1929 { + yyb1929 = yyj1929 > l } else { - yyb1924 = r.CheckBreak() + yyb1929 = r.CheckBreak() } - if yyb1924 { + if yyb1929 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26154,13 +26209,13 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.RequiredDuringSchedulingIgnoredDuringExecution.CodecDecodeSelf(d) } - yyj1924++ - if yyhl1924 { - yyb1924 = yyj1924 > l + yyj1929++ + if yyhl1929 { + yyb1929 = yyj1929 > l } else { - yyb1924 = r.CheckBreak() + yyb1929 = r.CheckBreak() } - if yyb1924 { + if yyb1929 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26168,26 +26223,26 @@ func (x *NodeAffinity) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferredDuringSchedulingIgnoredDuringExecution = nil } else { - yyv1926 := &x.PreferredDuringSchedulingIgnoredDuringExecution - yym1927 := z.DecBinary() - _ = yym1927 + yyv1931 := &x.PreferredDuringSchedulingIgnoredDuringExecution + yym1932 := z.DecBinary() + _ = yym1932 if false { } else { - h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1926), d) + h.decSlicePreferredSchedulingTerm((*[]PreferredSchedulingTerm)(yyv1931), d) } } for { - yyj1924++ - if yyhl1924 { - yyb1924 = yyj1924 > l + yyj1929++ + if yyhl1929 { + yyb1929 = yyj1929 > l } else { - yyb1924 = r.CheckBreak() + yyb1929 = r.CheckBreak() } - if yyb1924 { + if yyb1929 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1924-1, "") + z.DecStructFieldNotFound(yyj1929-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26199,33 +26254,33 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1928 := z.EncBinary() - _ = yym1928 + yym1933 := z.EncBinary() + _ = yym1933 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1929 := !z.EncBinary() - yy2arr1929 := z.EncBasicHandle().StructToArray - var yyq1929 [2]bool - _, _, _ = yysep1929, yyq1929, yy2arr1929 - const yyr1929 bool = false - var yynn1929 int - if yyr1929 || yy2arr1929 { + yysep1934 := !z.EncBinary() + yy2arr1934 := z.EncBasicHandle().StructToArray + var yyq1934 [2]bool + _, _, _ = yysep1934, yyq1934, yy2arr1934 + const yyr1934 bool = false + var yynn1934 int + if yyr1934 || yy2arr1934 { r.EncodeArrayStart(2) } else { - yynn1929 = 2 - for _, b := range yyq1929 { + yynn1934 = 2 + for _, b := range yyq1934 { if b { - yynn1929++ + yynn1934++ } } - r.EncodeMapStart(yynn1929) - yynn1929 = 0 + r.EncodeMapStart(yynn1934) + yynn1934 = 0 } - if yyr1929 || yy2arr1929 { + if yyr1934 || yy2arr1934 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1931 := z.EncBinary() - _ = yym1931 + yym1936 := z.EncBinary() + _ = yym1936 if false { } else { r.EncodeInt(int64(x.Weight)) @@ -26234,25 +26289,25 @@ func (x *PreferredSchedulingTerm) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("weight")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1932 := z.EncBinary() - _ = yym1932 + yym1937 := z.EncBinary() + _ = yym1937 if false { } else { r.EncodeInt(int64(x.Weight)) } } - if yyr1929 || yy2arr1929 { + if yyr1934 || yy2arr1934 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1934 := &x.Preference - yy1934.CodecEncodeSelf(e) + yy1939 := &x.Preference + yy1939.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1935 := &x.Preference - yy1935.CodecEncodeSelf(e) + yy1940 := &x.Preference + yy1940.CodecEncodeSelf(e) } - if yyr1929 || yy2arr1929 { + if yyr1934 || yy2arr1934 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26265,25 +26320,25 @@ func (x *PreferredSchedulingTerm) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1936 := z.DecBinary() - _ = yym1936 + yym1941 := z.DecBinary() + _ = yym1941 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1937 := r.ContainerType() - if yyct1937 == codecSelferValueTypeMap1234 { - yyl1937 := r.ReadMapStart() - if yyl1937 == 0 { + yyct1942 := r.ContainerType() + if yyct1942 == codecSelferValueTypeMap1234 { + yyl1942 := r.ReadMapStart() + if yyl1942 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1937, d) + x.codecDecodeSelfFromMap(yyl1942, d) } - } else if yyct1937 == codecSelferValueTypeArray1234 { - yyl1937 := r.ReadArrayStart() - if yyl1937 == 0 { + } else if yyct1942 == codecSelferValueTypeArray1234 { + yyl1942 := r.ReadArrayStart() + if yyl1942 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1937, d) + x.codecDecodeSelfFromArray(yyl1942, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26295,12 +26350,12 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1938Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1938Slc - var yyhl1938 bool = l >= 0 - for yyj1938 := 0; ; yyj1938++ { - if yyhl1938 { - if yyj1938 >= l { + var yys1943Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1943Slc + var yyhl1943 bool = l >= 0 + for yyj1943 := 0; ; yyj1943++ { + if yyhl1943 { + if yyj1943 >= l { break } } else { @@ -26309,10 +26364,10 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1938Slc = r.DecodeBytes(yys1938Slc, true, true) - yys1938 := string(yys1938Slc) + yys1943Slc = r.DecodeBytes(yys1943Slc, true, true) + yys1943 := string(yys1943Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1938 { + switch yys1943 { case "weight": if r.TryDecodeAsNil() { x.Weight = 0 @@ -26323,13 +26378,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromMap(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1940 := &x.Preference - yyv1940.CodecDecodeSelf(d) + yyv1945 := &x.Preference + yyv1945.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1938) - } // end switch yys1938 - } // end for yyj1938 + z.DecStructFieldNotFound(-1, yys1943) + } // end switch yys1943 + } // end for yyj1943 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26337,16 +26392,16 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1941 int - var yyb1941 bool - var yyhl1941 bool = l >= 0 - yyj1941++ - if yyhl1941 { - yyb1941 = yyj1941 > l + var yyj1946 int + var yyb1946 bool + var yyhl1946 bool = l >= 0 + yyj1946++ + if yyhl1946 { + yyb1946 = yyj1946 > l } else { - yyb1941 = r.CheckBreak() + yyb1946 = r.CheckBreak() } - if yyb1941 { + if yyb1946 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26356,13 +26411,13 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D } else { x.Weight = int32(r.DecodeInt(32)) } - yyj1941++ - if yyhl1941 { - yyb1941 = yyj1941 > l + yyj1946++ + if yyhl1946 { + yyb1946 = yyj1946 > l } else { - yyb1941 = r.CheckBreak() + yyb1946 = r.CheckBreak() } - if yyb1941 { + if yyb1946 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26370,21 +26425,21 @@ func (x *PreferredSchedulingTerm) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Preference = NodeSelectorTerm{} } else { - yyv1943 := &x.Preference - yyv1943.CodecDecodeSelf(d) + yyv1948 := &x.Preference + yyv1948.CodecDecodeSelf(d) } for { - yyj1941++ - if yyhl1941 { - yyb1941 = yyj1941 > l + yyj1946++ + if yyhl1946 { + yyb1946 = yyj1946 > l } else { - yyb1941 = r.CheckBreak() + yyb1946 = r.CheckBreak() } - if yyb1941 { + if yyb1946 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1941-1, "") + z.DecStructFieldNotFound(yyj1946-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26396,34 +26451,34 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1944 := z.EncBinary() - _ = yym1944 + yym1949 := z.EncBinary() + _ = yym1949 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1945 := !z.EncBinary() - yy2arr1945 := z.EncBasicHandle().StructToArray - var yyq1945 [3]bool - _, _, _ = yysep1945, yyq1945, yy2arr1945 - const yyr1945 bool = false - yyq1945[1] = x.Value != "" - var yynn1945 int - if yyr1945 || yy2arr1945 { + yysep1950 := !z.EncBinary() + yy2arr1950 := z.EncBasicHandle().StructToArray + var yyq1950 [3]bool + _, _, _ = yysep1950, yyq1950, yy2arr1950 + const yyr1950 bool = false + yyq1950[1] = x.Value != "" + var yynn1950 int + if yyr1950 || yy2arr1950 { r.EncodeArrayStart(3) } else { - yynn1945 = 2 - for _, b := range yyq1945 { + yynn1950 = 2 + for _, b := range yyq1950 { if b { - yynn1945++ + yynn1950++ } } - r.EncodeMapStart(yynn1945) - yynn1945 = 0 + r.EncodeMapStart(yynn1950) + yynn1950 = 0 } - if yyr1945 || yy2arr1945 { + if yyr1950 || yy2arr1950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1947 := z.EncBinary() - _ = yym1947 + yym1952 := z.EncBinary() + _ = yym1952 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -26432,18 +26487,18 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1948 := z.EncBinary() - _ = yym1948 + yym1953 := z.EncBinary() + _ = yym1953 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1945 || yy2arr1945 { + if yyr1950 || yy2arr1950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1945[1] { - yym1950 := z.EncBinary() - _ = yym1950 + if yyq1950[1] { + yym1955 := z.EncBinary() + _ = yym1955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -26452,19 +26507,19 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1945[1] { + if yyq1950[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1951 := z.EncBinary() - _ = yym1951 + yym1956 := z.EncBinary() + _ = yym1956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1945 || yy2arr1945 { + if yyr1950 || yy2arr1950 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Effect.CodecEncodeSelf(e) } else { @@ -26473,7 +26528,7 @@ func (x *Taint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } - if yyr1945 || yy2arr1945 { + if yyr1950 || yy2arr1950 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26486,25 +26541,25 @@ func (x *Taint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1953 := z.DecBinary() - _ = yym1953 + yym1958 := z.DecBinary() + _ = yym1958 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1954 := r.ContainerType() - if yyct1954 == codecSelferValueTypeMap1234 { - yyl1954 := r.ReadMapStart() - if yyl1954 == 0 { + yyct1959 := r.ContainerType() + if yyct1959 == codecSelferValueTypeMap1234 { + yyl1959 := r.ReadMapStart() + if yyl1959 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1954, d) + x.codecDecodeSelfFromMap(yyl1959, d) } - } else if yyct1954 == codecSelferValueTypeArray1234 { - yyl1954 := r.ReadArrayStart() - if yyl1954 == 0 { + } else if yyct1959 == codecSelferValueTypeArray1234 { + yyl1959 := r.ReadArrayStart() + if yyl1959 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1954, d) + x.codecDecodeSelfFromArray(yyl1959, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26516,12 +26571,12 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1955Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1955Slc - var yyhl1955 bool = l >= 0 - for yyj1955 := 0; ; yyj1955++ { - if yyhl1955 { - if yyj1955 >= l { + var yys1960Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1960Slc + var yyhl1960 bool = l >= 0 + for yyj1960 := 0; ; yyj1960++ { + if yyhl1960 { + if yyj1960 >= l { break } } else { @@ -26530,10 +26585,10 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1955Slc = r.DecodeBytes(yys1955Slc, true, true) - yys1955 := string(yys1955Slc) + yys1960Slc = r.DecodeBytes(yys1960Slc, true, true) + yys1960 := string(yys1960Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1955 { + switch yys1960 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -26553,9 +26608,9 @@ func (x *Taint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1955) - } // end switch yys1955 - } // end for yyj1955 + z.DecStructFieldNotFound(-1, yys1960) + } // end switch yys1960 + } // end for yyj1960 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26563,16 +26618,16 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1959 int - var yyb1959 bool - var yyhl1959 bool = l >= 0 - yyj1959++ - if yyhl1959 { - yyb1959 = yyj1959 > l + var yyj1964 int + var yyb1964 bool + var yyhl1964 bool = l >= 0 + yyj1964++ + if yyhl1964 { + yyb1964 = yyj1964 > l } else { - yyb1959 = r.CheckBreak() + yyb1964 = r.CheckBreak() } - if yyb1959 { + if yyb1964 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26582,13 +26637,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj1959++ - if yyhl1959 { - yyb1959 = yyj1959 > l + yyj1964++ + if yyhl1964 { + yyb1964 = yyj1964 > l } else { - yyb1959 = r.CheckBreak() + yyb1964 = r.CheckBreak() } - if yyb1959 { + if yyb1964 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26598,13 +26653,13 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj1959++ - if yyhl1959 { - yyb1959 = yyj1959 > l + yyj1964++ + if yyhl1964 { + yyb1964 = yyj1964 > l } else { - yyb1959 = r.CheckBreak() + yyb1964 = r.CheckBreak() } - if yyb1959 { + if yyb1964 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26615,17 +26670,17 @@ func (x *Taint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj1959++ - if yyhl1959 { - yyb1959 = yyj1959 > l + yyj1964++ + if yyhl1964 { + yyb1964 = yyj1964 > l } else { - yyb1959 = r.CheckBreak() + yyb1964 = r.CheckBreak() } - if yyb1959 { + if yyb1964 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1959-1, "") + z.DecStructFieldNotFound(yyj1964-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26634,8 +26689,8 @@ func (x TaintEffect) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1963 := z.EncBinary() - _ = yym1963 + yym1968 := z.EncBinary() + _ = yym1968 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -26647,8 +26702,8 @@ func (x *TaintEffect) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1964 := z.DecBinary() - _ = yym1964 + yym1969 := z.DecBinary() + _ = yym1969 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -26663,38 +26718,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1965 := z.EncBinary() - _ = yym1965 + yym1970 := z.EncBinary() + _ = yym1970 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1966 := !z.EncBinary() - yy2arr1966 := z.EncBasicHandle().StructToArray - var yyq1966 [4]bool - _, _, _ = yysep1966, yyq1966, yy2arr1966 - const yyr1966 bool = false - yyq1966[0] = x.Key != "" - yyq1966[1] = x.Operator != "" - yyq1966[2] = x.Value != "" - yyq1966[3] = x.Effect != "" - var yynn1966 int - if yyr1966 || yy2arr1966 { + yysep1971 := !z.EncBinary() + yy2arr1971 := z.EncBasicHandle().StructToArray + var yyq1971 [4]bool + _, _, _ = yysep1971, yyq1971, yy2arr1971 + const yyr1971 bool = false + yyq1971[0] = x.Key != "" + yyq1971[1] = x.Operator != "" + yyq1971[2] = x.Value != "" + yyq1971[3] = x.Effect != "" + var yynn1971 int + if yyr1971 || yy2arr1971 { r.EncodeArrayStart(4) } else { - yynn1966 = 0 - for _, b := range yyq1966 { + yynn1971 = 0 + for _, b := range yyq1971 { if b { - yynn1966++ + yynn1971++ } } - r.EncodeMapStart(yynn1966) - yynn1966 = 0 + r.EncodeMapStart(yynn1971) + yynn1971 = 0 } - if yyr1966 || yy2arr1966 { + if yyr1971 || yy2arr1971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1966[0] { - yym1968 := z.EncBinary() - _ = yym1968 + if yyq1971[0] { + yym1973 := z.EncBinary() + _ = yym1973 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -26703,38 +26758,38 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1966[0] { + if yyq1971[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1969 := z.EncBinary() - _ = yym1969 + yym1974 := z.EncBinary() + _ = yym1974 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } } - if yyr1966 || yy2arr1966 { + if yyr1971 || yy2arr1971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1966[1] { + if yyq1971[1] { x.Operator.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1966[1] { + if yyq1971[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operator")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } } - if yyr1966 || yy2arr1966 { + if yyr1971 || yy2arr1971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1966[2] { - yym1972 := z.EncBinary() - _ = yym1972 + if yyq1971[2] { + yym1977 := z.EncBinary() + _ = yym1977 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) @@ -26743,34 +26798,34 @@ func (x *Toleration) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1966[2] { + if yyq1971[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("value")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1973 := z.EncBinary() - _ = yym1973 + yym1978 := z.EncBinary() + _ = yym1978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Value)) } } } - if yyr1966 || yy2arr1966 { + if yyr1971 || yy2arr1971 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1966[3] { + if yyq1971[3] { x.Effect.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1966[3] { + if yyq1971[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("effect")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Effect.CodecEncodeSelf(e) } } - if yyr1966 || yy2arr1966 { + if yyr1971 || yy2arr1971 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -26783,25 +26838,25 @@ func (x *Toleration) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1975 := z.DecBinary() - _ = yym1975 + yym1980 := z.DecBinary() + _ = yym1980 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1976 := r.ContainerType() - if yyct1976 == codecSelferValueTypeMap1234 { - yyl1976 := r.ReadMapStart() - if yyl1976 == 0 { + yyct1981 := r.ContainerType() + if yyct1981 == codecSelferValueTypeMap1234 { + yyl1981 := r.ReadMapStart() + if yyl1981 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1976, d) + x.codecDecodeSelfFromMap(yyl1981, d) } - } else if yyct1976 == codecSelferValueTypeArray1234 { - yyl1976 := r.ReadArrayStart() - if yyl1976 == 0 { + } else if yyct1981 == codecSelferValueTypeArray1234 { + yyl1981 := r.ReadArrayStart() + if yyl1981 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1976, d) + x.codecDecodeSelfFromArray(yyl1981, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -26813,12 +26868,12 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1977Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1977Slc - var yyhl1977 bool = l >= 0 - for yyj1977 := 0; ; yyj1977++ { - if yyhl1977 { - if yyj1977 >= l { + var yys1982Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1982Slc + var yyhl1982 bool = l >= 0 + for yyj1982 := 0; ; yyj1982++ { + if yyhl1982 { + if yyj1982 >= l { break } } else { @@ -26827,10 +26882,10 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1977Slc = r.DecodeBytes(yys1977Slc, true, true) - yys1977 := string(yys1977Slc) + yys1982Slc = r.DecodeBytes(yys1982Slc, true, true) + yys1982 := string(yys1982Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1977 { + switch yys1982 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -26856,9 +26911,9 @@ func (x *Toleration) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1977) - } // end switch yys1977 - } // end for yyj1977 + z.DecStructFieldNotFound(-1, yys1982) + } // end switch yys1982 + } // end for yyj1982 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -26866,16 +26921,16 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1982 int - var yyb1982 bool - var yyhl1982 bool = l >= 0 - yyj1982++ - if yyhl1982 { - yyb1982 = yyj1982 > l + var yyj1987 int + var yyb1987 bool + var yyhl1987 bool = l >= 0 + yyj1987++ + if yyhl1987 { + yyb1987 = yyj1987 > l } else { - yyb1982 = r.CheckBreak() + yyb1987 = r.CheckBreak() } - if yyb1982 { + if yyb1987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26885,13 +26940,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Key = string(r.DecodeString()) } - yyj1982++ - if yyhl1982 { - yyb1982 = yyj1982 > l + yyj1987++ + if yyhl1987 { + yyb1987 = yyj1987 > l } else { - yyb1982 = r.CheckBreak() + yyb1987 = r.CheckBreak() } - if yyb1982 { + if yyb1987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26901,13 +26956,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Operator = TolerationOperator(r.DecodeString()) } - yyj1982++ - if yyhl1982 { - yyb1982 = yyj1982 > l + yyj1987++ + if yyhl1987 { + yyb1987 = yyj1987 > l } else { - yyb1982 = r.CheckBreak() + yyb1987 = r.CheckBreak() } - if yyb1982 { + if yyb1987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26917,13 +26972,13 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Value = string(r.DecodeString()) } - yyj1982++ - if yyhl1982 { - yyb1982 = yyj1982 > l + yyj1987++ + if yyhl1987 { + yyb1987 = yyj1987 > l } else { - yyb1982 = r.CheckBreak() + yyb1987 = r.CheckBreak() } - if yyb1982 { + if yyb1987 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -26934,17 +26989,17 @@ func (x *Toleration) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Effect = TaintEffect(r.DecodeString()) } for { - yyj1982++ - if yyhl1982 { - yyb1982 = yyj1982 > l + yyj1987++ + if yyhl1987 { + yyb1987 = yyj1987 > l } else { - yyb1982 = r.CheckBreak() + yyb1987 = r.CheckBreak() } - if yyb1982 { + if yyb1987 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1982-1, "") + z.DecStructFieldNotFound(yyj1987-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -26953,8 +27008,8 @@ func (x TolerationOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1987 := z.EncBinary() - _ = yym1987 + yym1992 := z.EncBinary() + _ = yym1992 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -26966,8 +27021,8 @@ func (x *TolerationOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1988 := z.DecBinary() - _ = yym1988 + yym1993 := z.DecBinary() + _ = yym1993 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -26982,53 +27037,53 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1989 := z.EncBinary() - _ = yym1989 + yym1994 := z.EncBinary() + _ = yym1994 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1990 := !z.EncBinary() - yy2arr1990 := z.EncBasicHandle().StructToArray - var yyq1990 [17]bool - _, _, _ = yysep1990, yyq1990, yy2arr1990 - const yyr1990 bool = false - yyq1990[0] = len(x.Volumes) != 0 - yyq1990[2] = x.RestartPolicy != "" - yyq1990[3] = x.TerminationGracePeriodSeconds != nil - yyq1990[4] = x.ActiveDeadlineSeconds != nil - yyq1990[5] = x.DNSPolicy != "" - yyq1990[6] = len(x.NodeSelector) != 0 - yyq1990[7] = x.ServiceAccountName != "" - yyq1990[8] = x.DeprecatedServiceAccount != "" - yyq1990[9] = x.NodeName != "" - yyq1990[10] = x.HostNetwork != false - yyq1990[11] = x.HostPID != false - yyq1990[12] = x.HostIPC != false - yyq1990[13] = x.SecurityContext != nil - yyq1990[14] = len(x.ImagePullSecrets) != 0 - yyq1990[15] = x.Hostname != "" - yyq1990[16] = x.Subdomain != "" - var yynn1990 int - if yyr1990 || yy2arr1990 { + yysep1995 := !z.EncBinary() + yy2arr1995 := z.EncBasicHandle().StructToArray + var yyq1995 [17]bool + _, _, _ = yysep1995, yyq1995, yy2arr1995 + const yyr1995 bool = false + yyq1995[0] = len(x.Volumes) != 0 + yyq1995[2] = x.RestartPolicy != "" + yyq1995[3] = x.TerminationGracePeriodSeconds != nil + yyq1995[4] = x.ActiveDeadlineSeconds != nil + yyq1995[5] = x.DNSPolicy != "" + yyq1995[6] = len(x.NodeSelector) != 0 + yyq1995[7] = x.ServiceAccountName != "" + yyq1995[8] = x.DeprecatedServiceAccount != "" + yyq1995[9] = x.NodeName != "" + yyq1995[10] = x.HostNetwork != false + yyq1995[11] = x.HostPID != false + yyq1995[12] = x.HostIPC != false + yyq1995[13] = x.SecurityContext != nil + yyq1995[14] = len(x.ImagePullSecrets) != 0 + yyq1995[15] = x.Hostname != "" + yyq1995[16] = x.Subdomain != "" + var yynn1995 int + if yyr1995 || yy2arr1995 { r.EncodeArrayStart(17) } else { - yynn1990 = 1 - for _, b := range yyq1990 { + yynn1995 = 1 + for _, b := range yyq1995 { if b { - yynn1990++ + yynn1995++ } } - r.EncodeMapStart(yynn1990) - yynn1990 = 0 + r.EncodeMapStart(yynn1995) + yynn1995 = 0 } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[0] { + if yyq1995[0] { if x.Volumes == nil { r.EncodeNil() } else { - yym1992 := z.EncBinary() - _ = yym1992 + yym1997 := z.EncBinary() + _ = yym1997 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -27038,15 +27093,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1990[0] { + if yyq1995[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1993 := z.EncBinary() - _ = yym1993 + yym1998 := z.EncBinary() + _ = yym1998 if false { } else { h.encSliceVolume(([]Volume)(x.Volumes), e) @@ -27054,13 +27109,13 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Containers == nil { r.EncodeNil() } else { - yym1995 := z.EncBinary() - _ = yym1995 + yym2000 := z.EncBinary() + _ = yym2000 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) @@ -27073,71 +27128,36 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Containers == nil { r.EncodeNil() } else { - yym1996 := z.EncBinary() - _ = yym1996 + yym2001 := z.EncBinary() + _ = yym2001 if false { } else { h.encSliceContainer(([]Container)(x.Containers), e) } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[2] { + if yyq1995[2] { x.RestartPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[2] { + if yyq1995[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("restartPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.RestartPolicy.CodecEncodeSelf(e) } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[3] { + if yyq1995[3] { if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy1999 := *x.TerminationGracePeriodSeconds - yym2000 := z.EncBinary() - _ = yym2000 - if false { - } else { - r.EncodeInt(int64(yy1999)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1990[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TerminationGracePeriodSeconds == nil { - r.EncodeNil() - } else { - yy2001 := *x.TerminationGracePeriodSeconds - yym2002 := z.EncBinary() - _ = yym2002 - if false { - } else { - r.EncodeInt(int64(yy2001)) - } - } - } - } - if yyr1990 || yy2arr1990 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[4] { - if x.ActiveDeadlineSeconds == nil { - r.EncodeNil() - } else { - yy2004 := *x.ActiveDeadlineSeconds + yy2004 := *x.TerminationGracePeriodSeconds yym2005 := z.EncBinary() _ = yym2005 if false { @@ -27149,14 +27169,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1990[4] { + if yyq1995[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + r.EncodeString(codecSelferC_UTF81234, string("terminationGracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ActiveDeadlineSeconds == nil { + if x.TerminationGracePeriodSeconds == nil { r.EncodeNil() } else { - yy2006 := *x.ActiveDeadlineSeconds + yy2006 := *x.TerminationGracePeriodSeconds yym2007 := z.EncBinary() _ = yym2007 if false { @@ -27166,29 +27186,64 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[5] { + if yyq1995[4] { + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy2009 := *x.ActiveDeadlineSeconds + yym2010 := z.EncBinary() + _ = yym2010 + if false { + } else { + r.EncodeInt(int64(yy2009)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1995[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy2011 := *x.ActiveDeadlineSeconds + yym2012 := z.EncBinary() + _ = yym2012 + if false { + } else { + r.EncodeInt(int64(yy2011)) + } + } + } + } + if yyr1995 || yy2arr1995 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1995[5] { x.DNSPolicy.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[5] { + if yyq1995[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("dnsPolicy")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.DNSPolicy.CodecEncodeSelf(e) } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[6] { + if yyq1995[6] { if x.NodeSelector == nil { r.EncodeNil() } else { - yym2010 := z.EncBinary() - _ = yym2010 + yym2015 := z.EncBinary() + _ = yym2015 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -27198,15 +27253,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1990[6] { + if yyq1995[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeSelector == nil { r.EncodeNil() } else { - yym2011 := z.EncBinary() - _ = yym2011 + yym2016 := z.EncBinary() + _ = yym2016 if false { } else { z.F.EncMapStringStringV(x.NodeSelector, false, e) @@ -27214,11 +27269,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[7] { - yym2013 := z.EncBinary() - _ = yym2013 + if yyq1995[7] { + yym2018 := z.EncBinary() + _ = yym2018 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) @@ -27227,49 +27282,49 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[7] { + if yyq1995[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceAccountName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2014 := z.EncBinary() - _ = yym2014 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) - } - } - } - if yyr1990 || yy2arr1990 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[8] { - yym2016 := z.EncBinary() - _ = yym2016 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1990[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serviceAccount")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2017 := z.EncBinary() - _ = yym2017 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) - } - } - } - if yyr1990 || yy2arr1990 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[9] { yym2019 := z.EncBinary() _ = yym2019 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.ServiceAccountName)) + } + } + } + if yyr1995 || yy2arr1995 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1995[8] { + yym2021 := z.EncBinary() + _ = yym2021 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1995[8] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("serviceAccount")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2022 := z.EncBinary() + _ = yym2022 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.DeprecatedServiceAccount)) + } + } + } + if yyr1995 || yy2arr1995 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1995[9] { + yym2024 := z.EncBinary() + _ = yym2024 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } @@ -27277,23 +27332,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[9] { + if yyq1995[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2020 := z.EncBinary() - _ = yym2020 + yym2025 := z.EncBinary() + _ = yym2025 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.NodeName)) } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[10] { - yym2022 := z.EncBinary() - _ = yym2022 + if yyq1995[10] { + yym2027 := z.EncBinary() + _ = yym2027 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -27302,49 +27357,49 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1990[10] { + if yyq1995[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2023 := z.EncBinary() - _ = yym2023 - if false { - } else { - r.EncodeBool(bool(x.HostNetwork)) - } - } - } - if yyr1990 || yy2arr1990 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[11] { - yym2025 := z.EncBinary() - _ = yym2025 - if false { - } else { - r.EncodeBool(bool(x.HostPID)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq1990[11] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostPID")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2026 := z.EncBinary() - _ = yym2026 - if false { - } else { - r.EncodeBool(bool(x.HostPID)) - } - } - } - if yyr1990 || yy2arr1990 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[12] { yym2028 := z.EncBinary() _ = yym2028 if false { + } else { + r.EncodeBool(bool(x.HostNetwork)) + } + } + } + if yyr1995 || yy2arr1995 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1995[11] { + yym2030 := z.EncBinary() + _ = yym2030 + if false { + } else { + r.EncodeBool(bool(x.HostPID)) + } + } else { + r.EncodeBool(false) + } + } else { + if yyq1995[11] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostPID")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2031 := z.EncBinary() + _ = yym2031 + if false { + } else { + r.EncodeBool(bool(x.HostPID)) + } + } + } + if yyr1995 || yy2arr1995 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1995[12] { + yym2033 := z.EncBinary() + _ = yym2033 + if false { } else { r.EncodeBool(bool(x.HostIPC)) } @@ -27352,21 +27407,21 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1990[12] { + if yyq1995[12] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2029 := z.EncBinary() - _ = yym2029 + yym2034 := z.EncBinary() + _ = yym2034 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[13] { + if yyq1995[13] { if x.SecurityContext == nil { r.EncodeNil() } else { @@ -27376,7 +27431,7 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1990[13] { + if yyq1995[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("securityContext")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -27387,14 +27442,14 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[14] { + if yyq1995[14] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2032 := z.EncBinary() - _ = yym2032 + yym2037 := z.EncBinary() + _ = yym2037 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -27404,15 +27459,15 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1990[14] { + if yyq1995[14] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2033 := z.EncBinary() - _ = yym2033 + yym2038 := z.EncBinary() + _ = yym2038 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -27420,11 +27475,11 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[15] { - yym2035 := z.EncBinary() - _ = yym2035 + if yyq1995[15] { + yym2040 := z.EncBinary() + _ = yym2040 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -27433,23 +27488,23 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[15] { + if yyq1995[15] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2036 := z.EncBinary() - _ = yym2036 + yym2041 := z.EncBinary() + _ = yym2041 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1990[16] { - yym2038 := z.EncBinary() - _ = yym2038 + if yyq1995[16] { + yym2043 := z.EncBinary() + _ = yym2043 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) @@ -27458,19 +27513,19 @@ func (x *PodSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1990[16] { + if yyq1995[16] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("subdomain")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2039 := z.EncBinary() - _ = yym2039 + yym2044 := z.EncBinary() + _ = yym2044 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Subdomain)) } } } - if yyr1990 || yy2arr1990 { + if yyr1995 || yy2arr1995 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -27483,25 +27538,25 @@ func (x *PodSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2040 := z.DecBinary() - _ = yym2040 + yym2045 := z.DecBinary() + _ = yym2045 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2041 := r.ContainerType() - if yyct2041 == codecSelferValueTypeMap1234 { - yyl2041 := r.ReadMapStart() - if yyl2041 == 0 { + yyct2046 := r.ContainerType() + if yyct2046 == codecSelferValueTypeMap1234 { + yyl2046 := r.ReadMapStart() + if yyl2046 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2041, d) + x.codecDecodeSelfFromMap(yyl2046, d) } - } else if yyct2041 == codecSelferValueTypeArray1234 { - yyl2041 := r.ReadArrayStart() - if yyl2041 == 0 { + } else if yyct2046 == codecSelferValueTypeArray1234 { + yyl2046 := r.ReadArrayStart() + if yyl2046 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2041, d) + x.codecDecodeSelfFromArray(yyl2046, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -27513,12 +27568,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2042Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2042Slc - var yyhl2042 bool = l >= 0 - for yyj2042 := 0; ; yyj2042++ { - if yyhl2042 { - if yyj2042 >= l { + var yys2047Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2047Slc + var yyhl2047 bool = l >= 0 + for yyj2047 := 0; ; yyj2047++ { + if yyhl2047 { + if yyj2047 >= l { break } } else { @@ -27527,32 +27582,32 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2042Slc = r.DecodeBytes(yys2042Slc, true, true) - yys2042 := string(yys2042Slc) + yys2047Slc = r.DecodeBytes(yys2047Slc, true, true) + yys2047 := string(yys2047Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2042 { + switch yys2047 { case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv2043 := &x.Volumes - yym2044 := z.DecBinary() - _ = yym2044 + yyv2048 := &x.Volumes + yym2049 := z.DecBinary() + _ = yym2049 if false { } else { - h.decSliceVolume((*[]Volume)(yyv2043), d) + h.decSliceVolume((*[]Volume)(yyv2048), d) } } case "containers": if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv2045 := &x.Containers - yym2046 := z.DecBinary() - _ = yym2046 + yyv2050 := &x.Containers + yym2051 := z.DecBinary() + _ = yym2051 if false { } else { - h.decSliceContainer((*[]Container)(yyv2045), d) + h.decSliceContainer((*[]Container)(yyv2050), d) } } case "restartPolicy": @@ -27570,8 +27625,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym2049 := z.DecBinary() - _ = yym2049 + yym2054 := z.DecBinary() + _ = yym2054 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -27586,8 +27641,8 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym2051 := z.DecBinary() - _ = yym2051 + yym2056 := z.DecBinary() + _ = yym2056 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -27603,12 +27658,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv2053 := &x.NodeSelector - yym2054 := z.DecBinary() - _ = yym2054 + yyv2058 := &x.NodeSelector + yym2059 := z.DecBinary() + _ = yym2059 if false { } else { - z.F.DecMapStringStringX(yyv2053, false, d) + z.F.DecMapStringStringX(yyv2058, false, d) } } case "serviceAccountName": @@ -27662,12 +27717,12 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2062 := &x.ImagePullSecrets - yym2063 := z.DecBinary() - _ = yym2063 + yyv2067 := &x.ImagePullSecrets + yym2068 := z.DecBinary() + _ = yym2068 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2062), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2067), d) } } case "hostname": @@ -27683,9 +27738,9 @@ func (x *PodSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2042) - } // end switch yys2042 - } // end for yyj2042 + z.DecStructFieldNotFound(-1, yys2047) + } // end switch yys2047 + } // end for yyj2047 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -27693,16 +27748,16 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2066 int - var yyb2066 bool - var yyhl2066 bool = l >= 0 - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + var yyj2071 int + var yyb2071 bool + var yyhl2071 bool = l >= 0 + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27710,21 +27765,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv2067 := &x.Volumes - yym2068 := z.DecBinary() - _ = yym2068 + yyv2072 := &x.Volumes + yym2073 := z.DecBinary() + _ = yym2073 if false { } else { - h.decSliceVolume((*[]Volume)(yyv2067), d) + h.decSliceVolume((*[]Volume)(yyv2072), d) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27732,21 +27787,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Containers = nil } else { - yyv2069 := &x.Containers - yym2070 := z.DecBinary() - _ = yym2070 + yyv2074 := &x.Containers + yym2075 := z.DecBinary() + _ = yym2075 if false { } else { - h.decSliceContainer((*[]Container)(yyv2069), d) + h.decSliceContainer((*[]Container)(yyv2074), d) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27756,13 +27811,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.RestartPolicy = RestartPolicy(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27775,20 +27830,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.TerminationGracePeriodSeconds == nil { x.TerminationGracePeriodSeconds = new(int64) } - yym2073 := z.DecBinary() - _ = yym2073 + yym2078 := z.DecBinary() + _ = yym2078 if false { } else { *((*int64)(x.TerminationGracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27801,20 +27856,20 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym2075 := z.DecBinary() - _ = yym2075 + yym2080 := z.DecBinary() + _ = yym2080 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27824,13 +27879,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DNSPolicy = DNSPolicy(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27838,21 +27893,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeSelector = nil } else { - yyv2077 := &x.NodeSelector - yym2078 := z.DecBinary() - _ = yym2078 + yyv2082 := &x.NodeSelector + yym2083 := z.DecBinary() + _ = yym2083 if false { } else { - z.F.DecMapStringStringX(yyv2077, false, d) + z.F.DecMapStringStringX(yyv2082, false, d) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27862,13 +27917,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceAccountName = string(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27878,13 +27933,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.DeprecatedServiceAccount = string(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27894,13 +27949,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.NodeName = string(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27910,13 +27965,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27926,13 +27981,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostPID = bool(r.DecodeBool()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27942,13 +27997,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIPC = bool(r.DecodeBool()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27963,13 +28018,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.SecurityContext.CodecDecodeSelf(d) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -27977,21 +28032,21 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ImagePullSecrets = nil } else { - yyv2086 := &x.ImagePullSecrets - yym2087 := z.DecBinary() - _ = yym2087 + yyv2091 := &x.ImagePullSecrets + yym2092 := z.DecBinary() + _ = yym2092 if false { } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2086), d) + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2091), d) } } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28001,13 +28056,13 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Hostname = string(r.DecodeString()) } - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28018,17 +28073,17 @@ func (x *PodSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Subdomain = string(r.DecodeString()) } for { - yyj2066++ - if yyhl2066 { - yyb2066 = yyj2066 > l + yyj2071++ + if yyhl2071 { + yyb2071 = yyj2071 > l } else { - yyb2066 = r.CheckBreak() + yyb2071 = r.CheckBreak() } - if yyb2066 { + if yyb2071 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2066-1, "") + z.DecStructFieldNotFound(yyj2071-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28040,37 +28095,37 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2090 := z.EncBinary() - _ = yym2090 + yym2095 := z.EncBinary() + _ = yym2095 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2091 := !z.EncBinary() - yy2arr2091 := z.EncBasicHandle().StructToArray - var yyq2091 [5]bool - _, _, _ = yysep2091, yyq2091, yy2arr2091 - const yyr2091 bool = false - yyq2091[0] = x.SELinuxOptions != nil - yyq2091[1] = x.RunAsUser != nil - yyq2091[2] = x.RunAsNonRoot != nil - yyq2091[3] = len(x.SupplementalGroups) != 0 - yyq2091[4] = x.FSGroup != nil - var yynn2091 int - if yyr2091 || yy2arr2091 { + yysep2096 := !z.EncBinary() + yy2arr2096 := z.EncBasicHandle().StructToArray + var yyq2096 [5]bool + _, _, _ = yysep2096, yyq2096, yy2arr2096 + const yyr2096 bool = false + yyq2096[0] = x.SELinuxOptions != nil + yyq2096[1] = x.RunAsUser != nil + yyq2096[2] = x.RunAsNonRoot != nil + yyq2096[3] = len(x.SupplementalGroups) != 0 + yyq2096[4] = x.FSGroup != nil + var yynn2096 int + if yyr2096 || yy2arr2096 { r.EncodeArrayStart(5) } else { - yynn2091 = 0 - for _, b := range yyq2091 { + yynn2096 = 0 + for _, b := range yyq2096 { if b { - yynn2091++ + yynn2096++ } } - r.EncodeMapStart(yynn2091) - yynn2091 = 0 + r.EncodeMapStart(yynn2096) + yynn2096 = 0 } - if yyr2091 || yy2arr2091 { + if yyr2096 || yy2arr2096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2091[0] { + if yyq2096[0] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -28080,7 +28135,7 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2091[0] { + if yyq2096[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -28091,84 +28146,84 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2091 || yy2arr2091 { + if yyr2096 || yy2arr2096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2091[1] { + if yyq2096[1] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy2094 := *x.RunAsUser - yym2095 := z.EncBinary() - _ = yym2095 + yy2099 := *x.RunAsUser + yym2100 := z.EncBinary() + _ = yym2100 if false { } else { - r.EncodeInt(int64(yy2094)) + r.EncodeInt(int64(yy2099)) } } } else { r.EncodeNil() } } else { - if yyq2091[1] { + if yyq2096[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy2096 := *x.RunAsUser - yym2097 := z.EncBinary() - _ = yym2097 + yy2101 := *x.RunAsUser + yym2102 := z.EncBinary() + _ = yym2102 if false { } else { - r.EncodeInt(int64(yy2096)) + r.EncodeInt(int64(yy2101)) } } } } - if yyr2091 || yy2arr2091 { + if yyr2096 || yy2arr2096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2091[2] { + if yyq2096[2] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy2099 := *x.RunAsNonRoot - yym2100 := z.EncBinary() - _ = yym2100 + yy2104 := *x.RunAsNonRoot + yym2105 := z.EncBinary() + _ = yym2105 if false { } else { - r.EncodeBool(bool(yy2099)) + r.EncodeBool(bool(yy2104)) } } } else { r.EncodeNil() } } else { - if yyq2091[2] { + if yyq2096[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy2101 := *x.RunAsNonRoot - yym2102 := z.EncBinary() - _ = yym2102 + yy2106 := *x.RunAsNonRoot + yym2107 := z.EncBinary() + _ = yym2107 if false { } else { - r.EncodeBool(bool(yy2101)) + r.EncodeBool(bool(yy2106)) } } } } - if yyr2091 || yy2arr2091 { + if yyr2096 || yy2arr2096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2091[3] { + if yyq2096[3] { if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym2104 := z.EncBinary() - _ = yym2104 + yym2109 := z.EncBinary() + _ = yym2109 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -28178,15 +28233,15 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2091[3] { + if yyq2096[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.SupplementalGroups == nil { r.EncodeNil() } else { - yym2105 := z.EncBinary() - _ = yym2105 + yym2110 := z.EncBinary() + _ = yym2110 if false { } else { z.F.EncSliceInt64V(x.SupplementalGroups, false, e) @@ -28194,42 +28249,42 @@ func (x *PodSecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2091 || yy2arr2091 { + if yyr2096 || yy2arr2096 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2091[4] { + if yyq2096[4] { if x.FSGroup == nil { r.EncodeNil() } else { - yy2107 := *x.FSGroup - yym2108 := z.EncBinary() - _ = yym2108 + yy2112 := *x.FSGroup + yym2113 := z.EncBinary() + _ = yym2113 if false { } else { - r.EncodeInt(int64(yy2107)) + r.EncodeInt(int64(yy2112)) } } } else { r.EncodeNil() } } else { - if yyq2091[4] { + if yyq2096[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.FSGroup == nil { r.EncodeNil() } else { - yy2109 := *x.FSGroup - yym2110 := z.EncBinary() - _ = yym2110 + yy2114 := *x.FSGroup + yym2115 := z.EncBinary() + _ = yym2115 if false { } else { - r.EncodeInt(int64(yy2109)) + r.EncodeInt(int64(yy2114)) } } } } - if yyr2091 || yy2arr2091 { + if yyr2096 || yy2arr2096 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28242,25 +28297,25 @@ func (x *PodSecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2111 := z.DecBinary() - _ = yym2111 + yym2116 := z.DecBinary() + _ = yym2116 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2112 := r.ContainerType() - if yyct2112 == codecSelferValueTypeMap1234 { - yyl2112 := r.ReadMapStart() - if yyl2112 == 0 { + yyct2117 := r.ContainerType() + if yyct2117 == codecSelferValueTypeMap1234 { + yyl2117 := r.ReadMapStart() + if yyl2117 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2112, d) + x.codecDecodeSelfFromMap(yyl2117, d) } - } else if yyct2112 == codecSelferValueTypeArray1234 { - yyl2112 := r.ReadArrayStart() - if yyl2112 == 0 { + } else if yyct2117 == codecSelferValueTypeArray1234 { + yyl2117 := r.ReadArrayStart() + if yyl2117 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2112, d) + x.codecDecodeSelfFromArray(yyl2117, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28272,12 +28327,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2113Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2113Slc - var yyhl2113 bool = l >= 0 - for yyj2113 := 0; ; yyj2113++ { - if yyhl2113 { - if yyj2113 >= l { + var yys2118Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2118Slc + var yyhl2118 bool = l >= 0 + for yyj2118 := 0; ; yyj2118++ { + if yyhl2118 { + if yyj2118 >= l { break } } else { @@ -28286,10 +28341,10 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2113Slc = r.DecodeBytes(yys2113Slc, true, true) - yys2113 := string(yys2113Slc) + yys2118Slc = r.DecodeBytes(yys2118Slc, true, true) + yys2118 := string(yys2118Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2113 { + switch yys2118 { case "seLinuxOptions": if r.TryDecodeAsNil() { if x.SELinuxOptions != nil { @@ -28310,8 +28365,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym2116 := z.DecBinary() - _ = yym2116 + yym2121 := z.DecBinary() + _ = yym2121 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -28326,8 +28381,8 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym2118 := z.DecBinary() - _ = yym2118 + yym2123 := z.DecBinary() + _ = yym2123 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -28337,12 +28392,12 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv2119 := &x.SupplementalGroups - yym2120 := z.DecBinary() - _ = yym2120 + yyv2124 := &x.SupplementalGroups + yym2125 := z.DecBinary() + _ = yym2125 if false { } else { - z.F.DecSliceInt64X(yyv2119, false, d) + z.F.DecSliceInt64X(yyv2124, false, d) } } case "fsGroup": @@ -28354,17 +28409,17 @@ func (x *PodSecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.FSGroup == nil { x.FSGroup = new(int64) } - yym2122 := z.DecBinary() - _ = yym2122 + yym2127 := z.DecBinary() + _ = yym2127 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys2113) - } // end switch yys2113 - } // end for yyj2113 + z.DecStructFieldNotFound(-1, yys2118) + } // end switch yys2118 + } // end for yyj2118 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28372,16 +28427,16 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2123 int - var yyb2123 bool - var yyhl2123 bool = l >= 0 - yyj2123++ - if yyhl2123 { - yyb2123 = yyj2123 > l + var yyj2128 int + var yyb2128 bool + var yyhl2128 bool = l >= 0 + yyj2128++ + if yyhl2128 { + yyb2128 = yyj2128 > l } else { - yyb2123 = r.CheckBreak() + yyb2128 = r.CheckBreak() } - if yyb2123 { + if yyb2128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28396,13 +28451,13 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj2123++ - if yyhl2123 { - yyb2123 = yyj2123 > l + yyj2128++ + if yyhl2128 { + yyb2128 = yyj2128 > l } else { - yyb2123 = r.CheckBreak() + yyb2128 = r.CheckBreak() } - if yyb2123 { + if yyb2128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28415,20 +28470,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym2126 := z.DecBinary() - _ = yym2126 + yym2131 := z.DecBinary() + _ = yym2131 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj2123++ - if yyhl2123 { - yyb2123 = yyj2123 > l + yyj2128++ + if yyhl2128 { + yyb2128 = yyj2128 > l } else { - yyb2123 = r.CheckBreak() + yyb2128 = r.CheckBreak() } - if yyb2123 { + if yyb2128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28441,20 +28496,20 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym2128 := z.DecBinary() - _ = yym2128 + yym2133 := z.DecBinary() + _ = yym2133 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj2123++ - if yyhl2123 { - yyb2123 = yyj2123 > l + yyj2128++ + if yyhl2128 { + yyb2128 = yyj2128 > l } else { - yyb2123 = r.CheckBreak() + yyb2128 = r.CheckBreak() } - if yyb2123 { + if yyb2128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28462,21 +28517,21 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.SupplementalGroups = nil } else { - yyv2129 := &x.SupplementalGroups - yym2130 := z.DecBinary() - _ = yym2130 + yyv2134 := &x.SupplementalGroups + yym2135 := z.DecBinary() + _ = yym2135 if false { } else { - z.F.DecSliceInt64X(yyv2129, false, d) + z.F.DecSliceInt64X(yyv2134, false, d) } } - yyj2123++ - if yyhl2123 { - yyb2123 = yyj2123 > l + yyj2128++ + if yyhl2128 { + yyb2128 = yyj2128 > l } else { - yyb2123 = r.CheckBreak() + yyb2128 = r.CheckBreak() } - if yyb2123 { + if yyb2128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28489,25 +28544,25 @@ func (x *PodSecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decode if x.FSGroup == nil { x.FSGroup = new(int64) } - yym2132 := z.DecBinary() - _ = yym2132 + yym2137 := z.DecBinary() + _ = yym2137 if false { } else { *((*int64)(x.FSGroup)) = int64(r.DecodeInt(64)) } } for { - yyj2123++ - if yyhl2123 { - yyb2123 = yyj2123 > l + yyj2128++ + if yyhl2128 { + yyb2128 = yyj2128 > l } else { - yyb2123 = r.CheckBreak() + yyb2128 = r.CheckBreak() } - if yyb2123 { + if yyb2128 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2123-1, "") + z.DecStructFieldNotFound(yyj2128-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -28519,60 +28574,60 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2133 := z.EncBinary() - _ = yym2133 + yym2138 := z.EncBinary() + _ = yym2138 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2134 := !z.EncBinary() - yy2arr2134 := z.EncBasicHandle().StructToArray - var yyq2134 [8]bool - _, _, _ = yysep2134, yyq2134, yy2arr2134 - const yyr2134 bool = false - yyq2134[0] = x.Phase != "" - yyq2134[1] = len(x.Conditions) != 0 - yyq2134[2] = x.Message != "" - yyq2134[3] = x.Reason != "" - yyq2134[4] = x.HostIP != "" - yyq2134[5] = x.PodIP != "" - yyq2134[6] = x.StartTime != nil - yyq2134[7] = len(x.ContainerStatuses) != 0 - var yynn2134 int - if yyr2134 || yy2arr2134 { + yysep2139 := !z.EncBinary() + yy2arr2139 := z.EncBasicHandle().StructToArray + var yyq2139 [8]bool + _, _, _ = yysep2139, yyq2139, yy2arr2139 + const yyr2139 bool = false + yyq2139[0] = x.Phase != "" + yyq2139[1] = len(x.Conditions) != 0 + yyq2139[2] = x.Message != "" + yyq2139[3] = x.Reason != "" + yyq2139[4] = x.HostIP != "" + yyq2139[5] = x.PodIP != "" + yyq2139[6] = x.StartTime != nil + yyq2139[7] = len(x.ContainerStatuses) != 0 + var yynn2139 int + if yyr2139 || yy2arr2139 { r.EncodeArrayStart(8) } else { - yynn2134 = 0 - for _, b := range yyq2134 { + yynn2139 = 0 + for _, b := range yyq2139 { if b { - yynn2134++ + yynn2139++ } } - r.EncodeMapStart(yynn2134) - yynn2134 = 0 + r.EncodeMapStart(yynn2139) + yynn2139 = 0 } - if yyr2134 || yy2arr2134 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[0] { + if yyq2139[0] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2134[0] { + if yyq2139[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2134 || yy2arr2134 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[1] { + if yyq2139[1] { if x.Conditions == nil { r.EncodeNil() } else { - yym2137 := z.EncBinary() - _ = yym2137 + yym2142 := z.EncBinary() + _ = yym2142 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -28582,15 +28637,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2134[1] { + if yyq2139[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2138 := z.EncBinary() - _ = yym2138 + yym2143 := z.EncBinary() + _ = yym2143 if false { } else { h.encSlicePodCondition(([]PodCondition)(x.Conditions), e) @@ -28598,11 +28653,11 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2134 || yy2arr2134 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[2] { - yym2140 := z.EncBinary() - _ = yym2140 + if yyq2139[2] { + yym2145 := z.EncBinary() + _ = yym2145 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -28611,74 +28666,74 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2134[2] { + if yyq2139[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2141 := z.EncBinary() - _ = yym2141 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr2134 || yy2arr2134 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[3] { - yym2143 := z.EncBinary() - _ = yym2143 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2134[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2144 := z.EncBinary() - _ = yym2144 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr2134 || yy2arr2134 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[4] { yym2146 := z.EncBinary() _ = yym2146 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr2139 || yy2arr2139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2139[3] { + yym2148 := z.EncBinary() + _ = yym2148 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2134[4] { + if yyq2139[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hostIP")) + r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2147 := z.EncBinary() - _ = yym2147 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) - } - } - } - if yyr2134 || yy2arr2134 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[5] { yym2149 := z.EncBinary() _ = yym2149 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr2139 || yy2arr2139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2139[4] { + yym2151 := z.EncBinary() + _ = yym2151 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2139[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hostIP")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2152 := z.EncBinary() + _ = yym2152 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.HostIP)) + } + } + } + if yyr2139 || yy2arr2139 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2139[5] { + yym2154 := z.EncBinary() + _ = yym2154 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } @@ -28686,31 +28741,31 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2134[5] { + if yyq2139[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2150 := z.EncBinary() - _ = yym2150 + yym2155 := z.EncBinary() + _ = yym2155 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodIP)) } } } - if yyr2134 || yy2arr2134 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[6] { + if yyq2139[6] { if x.StartTime == nil { r.EncodeNil() } else { - yym2152 := z.EncBinary() - _ = yym2152 + yym2157 := z.EncBinary() + _ = yym2157 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym2152 { + } else if yym2157 { z.EncBinaryMarshal(x.StartTime) - } else if !yym2152 && z.IsJSONHandle() { + } else if !yym2157 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -28720,20 +28775,20 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2134[6] { + if yyq2139[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym2153 := z.EncBinary() - _ = yym2153 + yym2158 := z.EncBinary() + _ = yym2158 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym2153 { + } else if yym2158 { z.EncBinaryMarshal(x.StartTime) - } else if !yym2153 && z.IsJSONHandle() { + } else if !yym2158 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -28741,14 +28796,14 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2134 || yy2arr2134 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2134[7] { + if yyq2139[7] { if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym2155 := z.EncBinary() - _ = yym2155 + yym2160 := z.EncBinary() + _ = yym2160 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -28758,15 +28813,15 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2134[7] { + if yyq2139[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerStatuses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ContainerStatuses == nil { r.EncodeNil() } else { - yym2156 := z.EncBinary() - _ = yym2156 + yym2161 := z.EncBinary() + _ = yym2161 if false { } else { h.encSliceContainerStatus(([]ContainerStatus)(x.ContainerStatuses), e) @@ -28774,7 +28829,7 @@ func (x *PodStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2134 || yy2arr2134 { + if yyr2139 || yy2arr2139 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -28787,25 +28842,25 @@ func (x *PodStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2157 := z.DecBinary() - _ = yym2157 + yym2162 := z.DecBinary() + _ = yym2162 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2158 := r.ContainerType() - if yyct2158 == codecSelferValueTypeMap1234 { - yyl2158 := r.ReadMapStart() - if yyl2158 == 0 { + yyct2163 := r.ContainerType() + if yyct2163 == codecSelferValueTypeMap1234 { + yyl2163 := r.ReadMapStart() + if yyl2163 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2158, d) + x.codecDecodeSelfFromMap(yyl2163, d) } - } else if yyct2158 == codecSelferValueTypeArray1234 { - yyl2158 := r.ReadArrayStart() - if yyl2158 == 0 { + } else if yyct2163 == codecSelferValueTypeArray1234 { + yyl2163 := r.ReadArrayStart() + if yyl2163 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2158, d) + x.codecDecodeSelfFromArray(yyl2163, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -28817,12 +28872,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2159Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2159Slc - var yyhl2159 bool = l >= 0 - for yyj2159 := 0; ; yyj2159++ { - if yyhl2159 { - if yyj2159 >= l { + var yys2164Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2164Slc + var yyhl2164 bool = l >= 0 + for yyj2164 := 0; ; yyj2164++ { + if yyhl2164 { + if yyj2164 >= l { break } } else { @@ -28831,10 +28886,10 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2159Slc = r.DecodeBytes(yys2159Slc, true, true) - yys2159 := string(yys2159Slc) + yys2164Slc = r.DecodeBytes(yys2164Slc, true, true) + yys2164 := string(yys2164Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2159 { + switch yys2164 { case "phase": if r.TryDecodeAsNil() { x.Phase = "" @@ -28845,12 +28900,12 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2161 := &x.Conditions - yym2162 := z.DecBinary() - _ = yym2162 + yyv2166 := &x.Conditions + yym2167 := z.DecBinary() + _ = yym2167 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv2161), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2166), d) } } case "message": @@ -28886,13 +28941,13 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym2168 := z.DecBinary() - _ = yym2168 + yym2173 := z.DecBinary() + _ = yym2173 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym2168 { + } else if yym2173 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym2168 && z.IsJSONHandle() { + } else if !yym2173 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -28902,18 +28957,18 @@ func (x *PodStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv2169 := &x.ContainerStatuses - yym2170 := z.DecBinary() - _ = yym2170 + yyv2174 := &x.ContainerStatuses + yym2175 := z.DecBinary() + _ = yym2175 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv2169), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2174), d) } } default: - z.DecStructFieldNotFound(-1, yys2159) - } // end switch yys2159 - } // end for yyj2159 + z.DecStructFieldNotFound(-1, yys2164) + } // end switch yys2164 + } // end for yyj2164 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -28921,16 +28976,16 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2171 int - var yyb2171 bool - var yyhl2171 bool = l >= 0 - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + var yyj2176 int + var yyb2176 bool + var yyhl2176 bool = l >= 0 + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28940,13 +28995,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = PodPhase(r.DecodeString()) } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28954,21 +29009,21 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2173 := &x.Conditions - yym2174 := z.DecBinary() - _ = yym2174 + yyv2178 := &x.Conditions + yym2179 := z.DecBinary() + _ = yym2179 if false { } else { - h.decSlicePodCondition((*[]PodCondition)(yyv2173), d) + h.decSlicePodCondition((*[]PodCondition)(yyv2178), d) } } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28978,13 +29033,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -28994,13 +29049,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29010,13 +29065,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.HostIP = string(r.DecodeString()) } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29026,13 +29081,13 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodIP = string(r.DecodeString()) } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29045,25 +29100,25 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg2_unversioned.Time) } - yym2180 := z.DecBinary() - _ = yym2180 + yym2185 := z.DecBinary() + _ = yym2185 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym2180 { + } else if yym2185 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym2180 && z.IsJSONHandle() { + } else if !yym2185 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29071,26 +29126,26 @@ func (x *PodStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ContainerStatuses = nil } else { - yyv2181 := &x.ContainerStatuses - yym2182 := z.DecBinary() - _ = yym2182 + yyv2186 := &x.ContainerStatuses + yym2187 := z.DecBinary() + _ = yym2187 if false { } else { - h.decSliceContainerStatus((*[]ContainerStatus)(yyv2181), d) + h.decSliceContainerStatus((*[]ContainerStatus)(yyv2186), d) } } for { - yyj2171++ - if yyhl2171 { - yyb2171 = yyj2171 > l + yyj2176++ + if yyhl2176 { + yyb2176 = yyj2176 > l } else { - yyb2171 = r.CheckBreak() + yyb2176 = r.CheckBreak() } - if yyb2171 { + if yyb2176 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2171-1, "") + z.DecStructFieldNotFound(yyj2176-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29102,38 +29157,38 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2183 := z.EncBinary() - _ = yym2183 + yym2188 := z.EncBinary() + _ = yym2188 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2184 := !z.EncBinary() - yy2arr2184 := z.EncBasicHandle().StructToArray - var yyq2184 [4]bool - _, _, _ = yysep2184, yyq2184, yy2arr2184 - const yyr2184 bool = false - yyq2184[0] = x.Kind != "" - yyq2184[1] = x.APIVersion != "" - yyq2184[2] = true - yyq2184[3] = true - var yynn2184 int - if yyr2184 || yy2arr2184 { + yysep2189 := !z.EncBinary() + yy2arr2189 := z.EncBasicHandle().StructToArray + var yyq2189 [4]bool + _, _, _ = yysep2189, yyq2189, yy2arr2189 + const yyr2189 bool = false + yyq2189[0] = x.Kind != "" + yyq2189[1] = x.APIVersion != "" + yyq2189[2] = true + yyq2189[3] = true + var yynn2189 int + if yyr2189 || yy2arr2189 { r.EncodeArrayStart(4) } else { - yynn2184 = 0 - for _, b := range yyq2184 { + yynn2189 = 0 + for _, b := range yyq2189 { if b { - yynn2184++ + yynn2189++ } } - r.EncodeMapStart(yynn2184) - yynn2184 = 0 + r.EncodeMapStart(yynn2189) + yynn2189 = 0 } - if yyr2184 || yy2arr2184 { + if yyr2189 || yy2arr2189 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2184[0] { - yym2186 := z.EncBinary() - _ = yym2186 + if yyq2189[0] { + yym2191 := z.EncBinary() + _ = yym2191 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -29142,23 +29197,23 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2184[0] { + if yyq2189[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2187 := z.EncBinary() - _ = yym2187 + yym2192 := z.EncBinary() + _ = yym2192 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2184 || yy2arr2184 { + if yyr2189 || yy2arr2189 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2184[1] { - yym2189 := z.EncBinary() - _ = yym2189 + if yyq2189[1] { + yym2194 := z.EncBinary() + _ = yym2194 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -29167,53 +29222,53 @@ func (x *PodStatusResult) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2184[1] { + if yyq2189[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2190 := z.EncBinary() - _ = yym2190 + yym2195 := z.EncBinary() + _ = yym2195 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2184 || yy2arr2184 { + if yyr2189 || yy2arr2189 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2184[2] { - yy2192 := &x.ObjectMeta - yy2192.CodecEncodeSelf(e) + if yyq2189[2] { + yy2197 := &x.ObjectMeta + yy2197.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2184[2] { + if yyq2189[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2193 := &x.ObjectMeta - yy2193.CodecEncodeSelf(e) + yy2198 := &x.ObjectMeta + yy2198.CodecEncodeSelf(e) } } - if yyr2184 || yy2arr2184 { + if yyr2189 || yy2arr2189 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2184[3] { - yy2195 := &x.Status - yy2195.CodecEncodeSelf(e) + if yyq2189[3] { + yy2200 := &x.Status + yy2200.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2184[3] { + if yyq2189[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2196 := &x.Status - yy2196.CodecEncodeSelf(e) + yy2201 := &x.Status + yy2201.CodecEncodeSelf(e) } } - if yyr2184 || yy2arr2184 { + if yyr2189 || yy2arr2189 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29226,25 +29281,25 @@ func (x *PodStatusResult) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2197 := z.DecBinary() - _ = yym2197 + yym2202 := z.DecBinary() + _ = yym2202 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2198 := r.ContainerType() - if yyct2198 == codecSelferValueTypeMap1234 { - yyl2198 := r.ReadMapStart() - if yyl2198 == 0 { + yyct2203 := r.ContainerType() + if yyct2203 == codecSelferValueTypeMap1234 { + yyl2203 := r.ReadMapStart() + if yyl2203 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2198, d) + x.codecDecodeSelfFromMap(yyl2203, d) } - } else if yyct2198 == codecSelferValueTypeArray1234 { - yyl2198 := r.ReadArrayStart() - if yyl2198 == 0 { + } else if yyct2203 == codecSelferValueTypeArray1234 { + yyl2203 := r.ReadArrayStart() + if yyl2203 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2198, d) + x.codecDecodeSelfFromArray(yyl2203, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29256,12 +29311,12 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2199Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2199Slc - var yyhl2199 bool = l >= 0 - for yyj2199 := 0; ; yyj2199++ { - if yyhl2199 { - if yyj2199 >= l { + var yys2204Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2204Slc + var yyhl2204 bool = l >= 0 + for yyj2204 := 0; ; yyj2204++ { + if yyhl2204 { + if yyj2204 >= l { break } } else { @@ -29270,10 +29325,10 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2199Slc = r.DecodeBytes(yys2199Slc, true, true) - yys2199 := string(yys2199Slc) + yys2204Slc = r.DecodeBytes(yys2204Slc, true, true) + yys2204 := string(yys2204Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2199 { + switch yys2204 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -29290,20 +29345,20 @@ func (x *PodStatusResult) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2202 := &x.ObjectMeta - yyv2202.CodecDecodeSelf(d) + yyv2207 := &x.ObjectMeta + yyv2207.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2203 := &x.Status - yyv2203.CodecDecodeSelf(d) + yyv2208 := &x.Status + yyv2208.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2199) - } // end switch yys2199 - } // end for yyj2199 + z.DecStructFieldNotFound(-1, yys2204) + } // end switch yys2204 + } // end for yyj2204 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29311,16 +29366,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2204 int - var yyb2204 bool - var yyhl2204 bool = l >= 0 - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l + var yyj2209 int + var yyb2209 bool + var yyhl2209 bool = l >= 0 + yyj2209++ + if yyhl2209 { + yyb2209 = yyj2209 > l } else { - yyb2204 = r.CheckBreak() + yyb2209 = r.CheckBreak() } - if yyb2204 { + if yyb2209 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29330,13 +29385,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l + yyj2209++ + if yyhl2209 { + yyb2209 = yyj2209 > l } else { - yyb2204 = r.CheckBreak() + yyb2209 = r.CheckBreak() } - if yyb2204 { + if yyb2209 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29346,13 +29401,13 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l + yyj2209++ + if yyhl2209 { + yyb2209 = yyj2209 > l } else { - yyb2204 = r.CheckBreak() + yyb2209 = r.CheckBreak() } - if yyb2204 { + if yyb2209 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29360,16 +29415,16 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2207 := &x.ObjectMeta - yyv2207.CodecDecodeSelf(d) + yyv2212 := &x.ObjectMeta + yyv2212.CodecDecodeSelf(d) } - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l + yyj2209++ + if yyhl2209 { + yyb2209 = yyj2209 > l } else { - yyb2204 = r.CheckBreak() + yyb2209 = r.CheckBreak() } - if yyb2204 { + if yyb2209 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29377,21 +29432,21 @@ func (x *PodStatusResult) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2208 := &x.Status - yyv2208.CodecDecodeSelf(d) + yyv2213 := &x.Status + yyv2213.CodecDecodeSelf(d) } for { - yyj2204++ - if yyhl2204 { - yyb2204 = yyj2204 > l + yyj2209++ + if yyhl2209 { + yyb2209 = yyj2209 > l } else { - yyb2204 = r.CheckBreak() + yyb2209 = r.CheckBreak() } - if yyb2204 { + if yyb2209 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2204-1, "") + z.DecStructFieldNotFound(yyj2209-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29403,39 +29458,39 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2209 := z.EncBinary() - _ = yym2209 + yym2214 := z.EncBinary() + _ = yym2214 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2210 := !z.EncBinary() - yy2arr2210 := z.EncBasicHandle().StructToArray - var yyq2210 [5]bool - _, _, _ = yysep2210, yyq2210, yy2arr2210 - const yyr2210 bool = false - yyq2210[0] = x.Kind != "" - yyq2210[1] = x.APIVersion != "" - yyq2210[2] = true - yyq2210[3] = true - yyq2210[4] = true - var yynn2210 int - if yyr2210 || yy2arr2210 { + yysep2215 := !z.EncBinary() + yy2arr2215 := z.EncBasicHandle().StructToArray + var yyq2215 [5]bool + _, _, _ = yysep2215, yyq2215, yy2arr2215 + const yyr2215 bool = false + yyq2215[0] = x.Kind != "" + yyq2215[1] = x.APIVersion != "" + yyq2215[2] = true + yyq2215[3] = true + yyq2215[4] = true + var yynn2215 int + if yyr2215 || yy2arr2215 { r.EncodeArrayStart(5) } else { - yynn2210 = 0 - for _, b := range yyq2210 { + yynn2215 = 0 + for _, b := range yyq2215 { if b { - yynn2210++ + yynn2215++ } } - r.EncodeMapStart(yynn2210) - yynn2210 = 0 + r.EncodeMapStart(yynn2215) + yynn2215 = 0 } - if yyr2210 || yy2arr2210 { + if yyr2215 || yy2arr2215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[0] { - yym2212 := z.EncBinary() - _ = yym2212 + if yyq2215[0] { + yym2217 := z.EncBinary() + _ = yym2217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -29444,23 +29499,23 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2210[0] { + if yyq2215[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2213 := z.EncBinary() - _ = yym2213 + yym2218 := z.EncBinary() + _ = yym2218 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2210 || yy2arr2210 { + if yyr2215 || yy2arr2215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[1] { - yym2215 := z.EncBinary() - _ = yym2215 + if yyq2215[1] { + yym2220 := z.EncBinary() + _ = yym2220 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -29469,70 +29524,70 @@ func (x *Pod) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2210[1] { + if yyq2215[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2216 := z.EncBinary() - _ = yym2216 + yym2221 := z.EncBinary() + _ = yym2221 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2210 || yy2arr2210 { + if yyr2215 || yy2arr2215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[2] { - yy2218 := &x.ObjectMeta - yy2218.CodecEncodeSelf(e) + if yyq2215[2] { + yy2223 := &x.ObjectMeta + yy2223.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2210[2] { + if yyq2215[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2219 := &x.ObjectMeta - yy2219.CodecEncodeSelf(e) + yy2224 := &x.ObjectMeta + yy2224.CodecEncodeSelf(e) } } - if yyr2210 || yy2arr2210 { + if yyr2215 || yy2arr2215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[3] { - yy2221 := &x.Spec - yy2221.CodecEncodeSelf(e) + if yyq2215[3] { + yy2226 := &x.Spec + yy2226.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2210[3] { + if yyq2215[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2222 := &x.Spec - yy2222.CodecEncodeSelf(e) + yy2227 := &x.Spec + yy2227.CodecEncodeSelf(e) } } - if yyr2210 || yy2arr2210 { + if yyr2215 || yy2arr2215 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2210[4] { - yy2224 := &x.Status - yy2224.CodecEncodeSelf(e) + if yyq2215[4] { + yy2229 := &x.Status + yy2229.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2210[4] { + if yyq2215[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2225 := &x.Status - yy2225.CodecEncodeSelf(e) + yy2230 := &x.Status + yy2230.CodecEncodeSelf(e) } } - if yyr2210 || yy2arr2210 { + if yyr2215 || yy2arr2215 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29545,25 +29600,25 @@ func (x *Pod) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2226 := z.DecBinary() - _ = yym2226 + yym2231 := z.DecBinary() + _ = yym2231 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2227 := r.ContainerType() - if yyct2227 == codecSelferValueTypeMap1234 { - yyl2227 := r.ReadMapStart() - if yyl2227 == 0 { + yyct2232 := r.ContainerType() + if yyct2232 == codecSelferValueTypeMap1234 { + yyl2232 := r.ReadMapStart() + if yyl2232 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2227, d) + x.codecDecodeSelfFromMap(yyl2232, d) } - } else if yyct2227 == codecSelferValueTypeArray1234 { - yyl2227 := r.ReadArrayStart() - if yyl2227 == 0 { + } else if yyct2232 == codecSelferValueTypeArray1234 { + yyl2232 := r.ReadArrayStart() + if yyl2232 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2227, d) + x.codecDecodeSelfFromArray(yyl2232, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29575,12 +29630,12 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2228Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2228Slc - var yyhl2228 bool = l >= 0 - for yyj2228 := 0; ; yyj2228++ { - if yyhl2228 { - if yyj2228 >= l { + var yys2233Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2233Slc + var yyhl2233 bool = l >= 0 + for yyj2233 := 0; ; yyj2233++ { + if yyhl2233 { + if yyj2233 >= l { break } } else { @@ -29589,10 +29644,10 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2228Slc = r.DecodeBytes(yys2228Slc, true, true) - yys2228 := string(yys2228Slc) + yys2233Slc = r.DecodeBytes(yys2233Slc, true, true) + yys2233 := string(yys2233Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2228 { + switch yys2233 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -29609,27 +29664,27 @@ func (x *Pod) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2231 := &x.ObjectMeta - yyv2231.CodecDecodeSelf(d) + yyv2236 := &x.ObjectMeta + yyv2236.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2232 := &x.Spec - yyv2232.CodecDecodeSelf(d) + yyv2237 := &x.Spec + yyv2237.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2233 := &x.Status - yyv2233.CodecDecodeSelf(d) + yyv2238 := &x.Status + yyv2238.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2228) - } // end switch yys2228 - } // end for yyj2228 + z.DecStructFieldNotFound(-1, yys2233) + } // end switch yys2233 + } // end for yyj2233 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29637,16 +29692,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2234 int - var yyb2234 bool - var yyhl2234 bool = l >= 0 - yyj2234++ - if yyhl2234 { - yyb2234 = yyj2234 > l + var yyj2239 int + var yyb2239 bool + var yyhl2239 bool = l >= 0 + yyj2239++ + if yyhl2239 { + yyb2239 = yyj2239 > l } else { - yyb2234 = r.CheckBreak() + yyb2239 = r.CheckBreak() } - if yyb2234 { + if yyb2239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29656,13 +29711,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2234++ - if yyhl2234 { - yyb2234 = yyj2234 > l + yyj2239++ + if yyhl2239 { + yyb2239 = yyj2239 > l } else { - yyb2234 = r.CheckBreak() + yyb2239 = r.CheckBreak() } - if yyb2234 { + if yyb2239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29672,13 +29727,13 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2234++ - if yyhl2234 { - yyb2234 = yyj2234 > l + yyj2239++ + if yyhl2239 { + yyb2239 = yyj2239 > l } else { - yyb2234 = r.CheckBreak() + yyb2239 = r.CheckBreak() } - if yyb2234 { + if yyb2239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29686,16 +29741,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2237 := &x.ObjectMeta - yyv2237.CodecDecodeSelf(d) + yyv2242 := &x.ObjectMeta + yyv2242.CodecDecodeSelf(d) } - yyj2234++ - if yyhl2234 { - yyb2234 = yyj2234 > l + yyj2239++ + if yyhl2239 { + yyb2239 = yyj2239 > l } else { - yyb2234 = r.CheckBreak() + yyb2239 = r.CheckBreak() } - if yyb2234 { + if yyb2239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29703,16 +29758,16 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2238 := &x.Spec - yyv2238.CodecDecodeSelf(d) + yyv2243 := &x.Spec + yyv2243.CodecDecodeSelf(d) } - yyj2234++ - if yyhl2234 { - yyb2234 = yyj2234 > l + yyj2239++ + if yyhl2239 { + yyb2239 = yyj2239 > l } else { - yyb2234 = r.CheckBreak() + yyb2239 = r.CheckBreak() } - if yyb2234 { + if yyb2239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -29720,21 +29775,21 @@ func (x *Pod) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = PodStatus{} } else { - yyv2239 := &x.Status - yyv2239.CodecDecodeSelf(d) + yyv2244 := &x.Status + yyv2244.CodecDecodeSelf(d) } for { - yyj2234++ - if yyhl2234 { - yyb2234 = yyj2234 > l + yyj2239++ + if yyhl2239 { + yyb2239 = yyj2239 > l } else { - yyb2234 = r.CheckBreak() + yyb2239 = r.CheckBreak() } - if yyb2234 { + if yyb2239 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2234-1, "") + z.DecStructFieldNotFound(yyj2239-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -29746,37 +29801,37 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2240 := z.EncBinary() - _ = yym2240 + yym2245 := z.EncBinary() + _ = yym2245 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2241 := !z.EncBinary() - yy2arr2241 := z.EncBasicHandle().StructToArray - var yyq2241 [4]bool - _, _, _ = yysep2241, yyq2241, yy2arr2241 - const yyr2241 bool = false - yyq2241[0] = x.Kind != "" - yyq2241[1] = x.APIVersion != "" - yyq2241[2] = true - var yynn2241 int - if yyr2241 || yy2arr2241 { + yysep2246 := !z.EncBinary() + yy2arr2246 := z.EncBasicHandle().StructToArray + var yyq2246 [4]bool + _, _, _ = yysep2246, yyq2246, yy2arr2246 + const yyr2246 bool = false + yyq2246[0] = x.Kind != "" + yyq2246[1] = x.APIVersion != "" + yyq2246[2] = true + var yynn2246 int + if yyr2246 || yy2arr2246 { r.EncodeArrayStart(4) } else { - yynn2241 = 1 - for _, b := range yyq2241 { + yynn2246 = 1 + for _, b := range yyq2246 { if b { - yynn2241++ + yynn2246++ } } - r.EncodeMapStart(yynn2241) - yynn2241 = 0 + r.EncodeMapStart(yynn2246) + yynn2246 = 0 } - if yyr2241 || yy2arr2241 { + if yyr2246 || yy2arr2246 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2241[0] { - yym2243 := z.EncBinary() - _ = yym2243 + if yyq2246[0] { + yym2248 := z.EncBinary() + _ = yym2248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -29785,23 +29840,23 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2241[0] { + if yyq2246[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2244 := z.EncBinary() - _ = yym2244 + yym2249 := z.EncBinary() + _ = yym2249 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2241 || yy2arr2241 { + if yyr2246 || yy2arr2246 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2241[1] { - yym2246 := z.EncBinary() - _ = yym2246 + if yyq2246[1] { + yym2251 := z.EncBinary() + _ = yym2251 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -29810,54 +29865,54 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2241[1] { + if yyq2246[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2247 := z.EncBinary() - _ = yym2247 + yym2252 := z.EncBinary() + _ = yym2252 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2241 || yy2arr2241 { + if yyr2246 || yy2arr2246 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2241[2] { - yy2249 := &x.ListMeta - yym2250 := z.EncBinary() - _ = yym2250 + if yyq2246[2] { + yy2254 := &x.ListMeta + yym2255 := z.EncBinary() + _ = yym2255 if false { - } else if z.HasExtensions() && z.EncExt(yy2249) { + } else if z.HasExtensions() && z.EncExt(yy2254) { } else { - z.EncFallback(yy2249) + z.EncFallback(yy2254) } } else { r.EncodeNil() } } else { - if yyq2241[2] { + if yyq2246[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2251 := &x.ListMeta - yym2252 := z.EncBinary() - _ = yym2252 + yy2256 := &x.ListMeta + yym2257 := z.EncBinary() + _ = yym2257 if false { - } else if z.HasExtensions() && z.EncExt(yy2251) { + } else if z.HasExtensions() && z.EncExt(yy2256) { } else { - z.EncFallback(yy2251) + z.EncFallback(yy2256) } } } - if yyr2241 || yy2arr2241 { + if yyr2246 || yy2arr2246 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2254 := z.EncBinary() - _ = yym2254 + yym2259 := z.EncBinary() + _ = yym2259 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) @@ -29870,15 +29925,15 @@ func (x *PodList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2255 := z.EncBinary() - _ = yym2255 + yym2260 := z.EncBinary() + _ = yym2260 if false { } else { h.encSlicePod(([]Pod)(x.Items), e) } } } - if yyr2241 || yy2arr2241 { + if yyr2246 || yy2arr2246 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -29891,25 +29946,25 @@ func (x *PodList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2256 := z.DecBinary() - _ = yym2256 + yym2261 := z.DecBinary() + _ = yym2261 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2257 := r.ContainerType() - if yyct2257 == codecSelferValueTypeMap1234 { - yyl2257 := r.ReadMapStart() - if yyl2257 == 0 { + yyct2262 := r.ContainerType() + if yyct2262 == codecSelferValueTypeMap1234 { + yyl2262 := r.ReadMapStart() + if yyl2262 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2257, d) + x.codecDecodeSelfFromMap(yyl2262, d) } - } else if yyct2257 == codecSelferValueTypeArray1234 { - yyl2257 := r.ReadArrayStart() - if yyl2257 == 0 { + } else if yyct2262 == codecSelferValueTypeArray1234 { + yyl2262 := r.ReadArrayStart() + if yyl2262 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2257, d) + x.codecDecodeSelfFromArray(yyl2262, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -29921,12 +29976,12 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2258Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2258Slc - var yyhl2258 bool = l >= 0 - for yyj2258 := 0; ; yyj2258++ { - if yyhl2258 { - if yyj2258 >= l { + var yys2263Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2263Slc + var yyhl2263 bool = l >= 0 + for yyj2263 := 0; ; yyj2263++ { + if yyhl2263 { + if yyj2263 >= l { break } } else { @@ -29935,10 +29990,10 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2258Slc = r.DecodeBytes(yys2258Slc, true, true) - yys2258 := string(yys2258Slc) + yys2263Slc = r.DecodeBytes(yys2263Slc, true, true) + yys2263 := string(yys2263Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2258 { + switch yys2263 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -29955,31 +30010,31 @@ func (x *PodList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2261 := &x.ListMeta - yym2262 := z.DecBinary() - _ = yym2262 + yyv2266 := &x.ListMeta + yym2267 := z.DecBinary() + _ = yym2267 if false { - } else if z.HasExtensions() && z.DecExt(yyv2261) { + } else if z.HasExtensions() && z.DecExt(yyv2266) { } else { - z.DecFallback(yyv2261, false) + z.DecFallback(yyv2266, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2263 := &x.Items - yym2264 := z.DecBinary() - _ = yym2264 + yyv2268 := &x.Items + yym2269 := z.DecBinary() + _ = yym2269 if false { } else { - h.decSlicePod((*[]Pod)(yyv2263), d) + h.decSlicePod((*[]Pod)(yyv2268), d) } } default: - z.DecStructFieldNotFound(-1, yys2258) - } // end switch yys2258 - } // end for yyj2258 + z.DecStructFieldNotFound(-1, yys2263) + } // end switch yys2263 + } // end for yyj2263 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -29987,16 +30042,16 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2265 int - var yyb2265 bool - var yyhl2265 bool = l >= 0 - yyj2265++ - if yyhl2265 { - yyb2265 = yyj2265 > l + var yyj2270 int + var yyb2270 bool + var yyhl2270 bool = l >= 0 + yyj2270++ + if yyhl2270 { + yyb2270 = yyj2270 > l } else { - yyb2265 = r.CheckBreak() + yyb2270 = r.CheckBreak() } - if yyb2265 { + if yyb2270 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30006,13 +30061,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2265++ - if yyhl2265 { - yyb2265 = yyj2265 > l + yyj2270++ + if yyhl2270 { + yyb2270 = yyj2270 > l } else { - yyb2265 = r.CheckBreak() + yyb2270 = r.CheckBreak() } - if yyb2265 { + if yyb2270 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30022,13 +30077,13 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2265++ - if yyhl2265 { - yyb2265 = yyj2265 > l + yyj2270++ + if yyhl2270 { + yyb2270 = yyj2270 > l } else { - yyb2265 = r.CheckBreak() + yyb2270 = r.CheckBreak() } - if yyb2265 { + if yyb2270 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30036,22 +30091,22 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2268 := &x.ListMeta - yym2269 := z.DecBinary() - _ = yym2269 + yyv2273 := &x.ListMeta + yym2274 := z.DecBinary() + _ = yym2274 if false { - } else if z.HasExtensions() && z.DecExt(yyv2268) { + } else if z.HasExtensions() && z.DecExt(yyv2273) { } else { - z.DecFallback(yyv2268, false) + z.DecFallback(yyv2273, false) } } - yyj2265++ - if yyhl2265 { - yyb2265 = yyj2265 > l + yyj2270++ + if yyhl2270 { + yyb2270 = yyj2270 > l } else { - yyb2265 = r.CheckBreak() + yyb2270 = r.CheckBreak() } - if yyb2265 { + if yyb2270 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30059,26 +30114,26 @@ func (x *PodList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2270 := &x.Items - yym2271 := z.DecBinary() - _ = yym2271 + yyv2275 := &x.Items + yym2276 := z.DecBinary() + _ = yym2276 if false { } else { - h.decSlicePod((*[]Pod)(yyv2270), d) + h.decSlicePod((*[]Pod)(yyv2275), d) } } for { - yyj2265++ - if yyhl2265 { - yyb2265 = yyj2265 > l + yyj2270++ + if yyhl2270 { + yyb2270 = yyj2270 > l } else { - yyb2265 = r.CheckBreak() + yyb2270 = r.CheckBreak() } - if yyb2265 { + if yyb2270 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2265-1, "") + z.DecStructFieldNotFound(yyj2270-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30090,66 +30145,66 @@ func (x *PodTemplateSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2272 := z.EncBinary() - _ = yym2272 + yym2277 := z.EncBinary() + _ = yym2277 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2273 := !z.EncBinary() - yy2arr2273 := z.EncBasicHandle().StructToArray - var yyq2273 [2]bool - _, _, _ = yysep2273, yyq2273, yy2arr2273 - const yyr2273 bool = false - yyq2273[0] = true - yyq2273[1] = true - var yynn2273 int - if yyr2273 || yy2arr2273 { + yysep2278 := !z.EncBinary() + yy2arr2278 := z.EncBasicHandle().StructToArray + var yyq2278 [2]bool + _, _, _ = yysep2278, yyq2278, yy2arr2278 + const yyr2278 bool = false + yyq2278[0] = true + yyq2278[1] = true + var yynn2278 int + if yyr2278 || yy2arr2278 { r.EncodeArrayStart(2) } else { - yynn2273 = 0 - for _, b := range yyq2273 { + yynn2278 = 0 + for _, b := range yyq2278 { if b { - yynn2273++ + yynn2278++ } } - r.EncodeMapStart(yynn2273) - yynn2273 = 0 + r.EncodeMapStart(yynn2278) + yynn2278 = 0 } - if yyr2273 || yy2arr2273 { + if yyr2278 || yy2arr2278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2273[0] { - yy2275 := &x.ObjectMeta - yy2275.CodecEncodeSelf(e) + if yyq2278[0] { + yy2280 := &x.ObjectMeta + yy2280.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2273[0] { + if yyq2278[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2276 := &x.ObjectMeta - yy2276.CodecEncodeSelf(e) + yy2281 := &x.ObjectMeta + yy2281.CodecEncodeSelf(e) } } - if yyr2273 || yy2arr2273 { + if yyr2278 || yy2arr2278 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2273[1] { - yy2278 := &x.Spec - yy2278.CodecEncodeSelf(e) + if yyq2278[1] { + yy2283 := &x.Spec + yy2283.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2273[1] { + if yyq2278[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2279 := &x.Spec - yy2279.CodecEncodeSelf(e) + yy2284 := &x.Spec + yy2284.CodecEncodeSelf(e) } } - if yyr2273 || yy2arr2273 { + if yyr2278 || yy2arr2278 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30162,25 +30217,25 @@ func (x *PodTemplateSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2280 := z.DecBinary() - _ = yym2280 + yym2285 := z.DecBinary() + _ = yym2285 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2281 := r.ContainerType() - if yyct2281 == codecSelferValueTypeMap1234 { - yyl2281 := r.ReadMapStart() - if yyl2281 == 0 { + yyct2286 := r.ContainerType() + if yyct2286 == codecSelferValueTypeMap1234 { + yyl2286 := r.ReadMapStart() + if yyl2286 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2281, d) + x.codecDecodeSelfFromMap(yyl2286, d) } - } else if yyct2281 == codecSelferValueTypeArray1234 { - yyl2281 := r.ReadArrayStart() - if yyl2281 == 0 { + } else if yyct2286 == codecSelferValueTypeArray1234 { + yyl2286 := r.ReadArrayStart() + if yyl2286 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2281, d) + x.codecDecodeSelfFromArray(yyl2286, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30192,12 +30247,12 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2282Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2282Slc - var yyhl2282 bool = l >= 0 - for yyj2282 := 0; ; yyj2282++ { - if yyhl2282 { - if yyj2282 >= l { + var yys2287Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2287Slc + var yyhl2287 bool = l >= 0 + for yyj2287 := 0; ; yyj2287++ { + if yyhl2287 { + if yyj2287 >= l { break } } else { @@ -30206,28 +30261,28 @@ func (x *PodTemplateSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2282Slc = r.DecodeBytes(yys2282Slc, true, true) - yys2282 := string(yys2282Slc) + yys2287Slc = r.DecodeBytes(yys2287Slc, true, true) + yys2287 := string(yys2287Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2282 { + switch yys2287 { case "metadata": if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2283 := &x.ObjectMeta - yyv2283.CodecDecodeSelf(d) + yyv2288 := &x.ObjectMeta + yyv2288.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2284 := &x.Spec - yyv2284.CodecDecodeSelf(d) + yyv2289 := &x.Spec + yyv2289.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2282) - } // end switch yys2282 - } // end for yyj2282 + z.DecStructFieldNotFound(-1, yys2287) + } // end switch yys2287 + } // end for yyj2287 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30235,16 +30290,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2285 int - var yyb2285 bool - var yyhl2285 bool = l >= 0 - yyj2285++ - if yyhl2285 { - yyb2285 = yyj2285 > l + var yyj2290 int + var yyb2290 bool + var yyhl2290 bool = l >= 0 + yyj2290++ + if yyhl2290 { + yyb2290 = yyj2290 > l } else { - yyb2285 = r.CheckBreak() + yyb2290 = r.CheckBreak() } - if yyb2285 { + if yyb2290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30252,16 +30307,16 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2286 := &x.ObjectMeta - yyv2286.CodecDecodeSelf(d) + yyv2291 := &x.ObjectMeta + yyv2291.CodecDecodeSelf(d) } - yyj2285++ - if yyhl2285 { - yyb2285 = yyj2285 > l + yyj2290++ + if yyhl2290 { + yyb2290 = yyj2290 > l } else { - yyb2285 = r.CheckBreak() + yyb2290 = r.CheckBreak() } - if yyb2285 { + if yyb2290 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30269,21 +30324,21 @@ func (x *PodTemplateSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Spec = PodSpec{} } else { - yyv2287 := &x.Spec - yyv2287.CodecDecodeSelf(d) + yyv2292 := &x.Spec + yyv2292.CodecDecodeSelf(d) } for { - yyj2285++ - if yyhl2285 { - yyb2285 = yyj2285 > l + yyj2290++ + if yyhl2290 { + yyb2290 = yyj2290 > l } else { - yyb2285 = r.CheckBreak() + yyb2290 = r.CheckBreak() } - if yyb2285 { + if yyb2290 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2285-1, "") + z.DecStructFieldNotFound(yyj2290-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30295,38 +30350,38 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2288 := z.EncBinary() - _ = yym2288 + yym2293 := z.EncBinary() + _ = yym2293 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2289 := !z.EncBinary() - yy2arr2289 := z.EncBasicHandle().StructToArray - var yyq2289 [4]bool - _, _, _ = yysep2289, yyq2289, yy2arr2289 - const yyr2289 bool = false - yyq2289[0] = x.Kind != "" - yyq2289[1] = x.APIVersion != "" - yyq2289[2] = true - yyq2289[3] = true - var yynn2289 int - if yyr2289 || yy2arr2289 { + yysep2294 := !z.EncBinary() + yy2arr2294 := z.EncBasicHandle().StructToArray + var yyq2294 [4]bool + _, _, _ = yysep2294, yyq2294, yy2arr2294 + const yyr2294 bool = false + yyq2294[0] = x.Kind != "" + yyq2294[1] = x.APIVersion != "" + yyq2294[2] = true + yyq2294[3] = true + var yynn2294 int + if yyr2294 || yy2arr2294 { r.EncodeArrayStart(4) } else { - yynn2289 = 0 - for _, b := range yyq2289 { + yynn2294 = 0 + for _, b := range yyq2294 { if b { - yynn2289++ + yynn2294++ } } - r.EncodeMapStart(yynn2289) - yynn2289 = 0 + r.EncodeMapStart(yynn2294) + yynn2294 = 0 } - if yyr2289 || yy2arr2289 { + if yyr2294 || yy2arr2294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2289[0] { - yym2291 := z.EncBinary() - _ = yym2291 + if yyq2294[0] { + yym2296 := z.EncBinary() + _ = yym2296 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30335,23 +30390,23 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2289[0] { + if yyq2294[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2292 := z.EncBinary() - _ = yym2292 + yym2297 := z.EncBinary() + _ = yym2297 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2289 || yy2arr2289 { + if yyr2294 || yy2arr2294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2289[1] { - yym2294 := z.EncBinary() - _ = yym2294 + if yyq2294[1] { + yym2299 := z.EncBinary() + _ = yym2299 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30360,53 +30415,53 @@ func (x *PodTemplate) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2289[1] { + if yyq2294[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2295 := z.EncBinary() - _ = yym2295 + yym2300 := z.EncBinary() + _ = yym2300 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2289 || yy2arr2289 { + if yyr2294 || yy2arr2294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2289[2] { - yy2297 := &x.ObjectMeta - yy2297.CodecEncodeSelf(e) + if yyq2294[2] { + yy2302 := &x.ObjectMeta + yy2302.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2289[2] { + if yyq2294[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2298 := &x.ObjectMeta - yy2298.CodecEncodeSelf(e) + yy2303 := &x.ObjectMeta + yy2303.CodecEncodeSelf(e) } } - if yyr2289 || yy2arr2289 { + if yyr2294 || yy2arr2294 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2289[3] { - yy2300 := &x.Template - yy2300.CodecEncodeSelf(e) + if yyq2294[3] { + yy2305 := &x.Template + yy2305.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2289[3] { + if yyq2294[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2301 := &x.Template - yy2301.CodecEncodeSelf(e) + yy2306 := &x.Template + yy2306.CodecEncodeSelf(e) } } - if yyr2289 || yy2arr2289 { + if yyr2294 || yy2arr2294 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30419,25 +30474,25 @@ func (x *PodTemplate) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2302 := z.DecBinary() - _ = yym2302 + yym2307 := z.DecBinary() + _ = yym2307 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2303 := r.ContainerType() - if yyct2303 == codecSelferValueTypeMap1234 { - yyl2303 := r.ReadMapStart() - if yyl2303 == 0 { + yyct2308 := r.ContainerType() + if yyct2308 == codecSelferValueTypeMap1234 { + yyl2308 := r.ReadMapStart() + if yyl2308 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2303, d) + x.codecDecodeSelfFromMap(yyl2308, d) } - } else if yyct2303 == codecSelferValueTypeArray1234 { - yyl2303 := r.ReadArrayStart() - if yyl2303 == 0 { + } else if yyct2308 == codecSelferValueTypeArray1234 { + yyl2308 := r.ReadArrayStart() + if yyl2308 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2303, d) + x.codecDecodeSelfFromArray(yyl2308, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30449,12 +30504,12 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2304Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2304Slc - var yyhl2304 bool = l >= 0 - for yyj2304 := 0; ; yyj2304++ { - if yyhl2304 { - if yyj2304 >= l { + var yys2309Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2309Slc + var yyhl2309 bool = l >= 0 + for yyj2309 := 0; ; yyj2309++ { + if yyhl2309 { + if yyj2309 >= l { break } } else { @@ -30463,10 +30518,10 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2304Slc = r.DecodeBytes(yys2304Slc, true, true) - yys2304 := string(yys2304Slc) + yys2309Slc = r.DecodeBytes(yys2309Slc, true, true) + yys2309 := string(yys2309Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2304 { + switch yys2309 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30483,20 +30538,20 @@ func (x *PodTemplate) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2307 := &x.ObjectMeta - yyv2307.CodecDecodeSelf(d) + yyv2312 := &x.ObjectMeta + yyv2312.CodecDecodeSelf(d) } case "template": if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv2308 := &x.Template - yyv2308.CodecDecodeSelf(d) + yyv2313 := &x.Template + yyv2313.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2304) - } // end switch yys2304 - } // end for yyj2304 + z.DecStructFieldNotFound(-1, yys2309) + } // end switch yys2309 + } // end for yyj2309 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30504,16 +30559,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2309 int - var yyb2309 bool - var yyhl2309 bool = l >= 0 - yyj2309++ - if yyhl2309 { - yyb2309 = yyj2309 > l + var yyj2314 int + var yyb2314 bool + var yyhl2314 bool = l >= 0 + yyj2314++ + if yyhl2314 { + yyb2314 = yyj2314 > l } else { - yyb2309 = r.CheckBreak() + yyb2314 = r.CheckBreak() } - if yyb2309 { + if yyb2314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30523,13 +30578,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2309++ - if yyhl2309 { - yyb2309 = yyj2309 > l + yyj2314++ + if yyhl2314 { + yyb2314 = yyj2314 > l } else { - yyb2309 = r.CheckBreak() + yyb2314 = r.CheckBreak() } - if yyb2309 { + if yyb2314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30539,13 +30594,13 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2309++ - if yyhl2309 { - yyb2309 = yyj2309 > l + yyj2314++ + if yyhl2314 { + yyb2314 = yyj2314 > l } else { - yyb2309 = r.CheckBreak() + yyb2314 = r.CheckBreak() } - if yyb2309 { + if yyb2314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30553,16 +30608,16 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2312 := &x.ObjectMeta - yyv2312.CodecDecodeSelf(d) + yyv2317 := &x.ObjectMeta + yyv2317.CodecDecodeSelf(d) } - yyj2309++ - if yyhl2309 { - yyb2309 = yyj2309 > l + yyj2314++ + if yyhl2314 { + yyb2314 = yyj2314 > l } else { - yyb2309 = r.CheckBreak() + yyb2314 = r.CheckBreak() } - if yyb2309 { + if yyb2314 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30570,21 +30625,21 @@ func (x *PodTemplate) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = PodTemplateSpec{} } else { - yyv2313 := &x.Template - yyv2313.CodecDecodeSelf(d) + yyv2318 := &x.Template + yyv2318.CodecDecodeSelf(d) } for { - yyj2309++ - if yyhl2309 { - yyb2309 = yyj2309 > l + yyj2314++ + if yyhl2314 { + yyb2314 = yyj2314 > l } else { - yyb2309 = r.CheckBreak() + yyb2314 = r.CheckBreak() } - if yyb2309 { + if yyb2314 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2309-1, "") + z.DecStructFieldNotFound(yyj2314-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30596,37 +30651,37 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2314 := z.EncBinary() - _ = yym2314 + yym2319 := z.EncBinary() + _ = yym2319 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2315 := !z.EncBinary() - yy2arr2315 := z.EncBasicHandle().StructToArray - var yyq2315 [4]bool - _, _, _ = yysep2315, yyq2315, yy2arr2315 - const yyr2315 bool = false - yyq2315[0] = x.Kind != "" - yyq2315[1] = x.APIVersion != "" - yyq2315[2] = true - var yynn2315 int - if yyr2315 || yy2arr2315 { + yysep2320 := !z.EncBinary() + yy2arr2320 := z.EncBasicHandle().StructToArray + var yyq2320 [4]bool + _, _, _ = yysep2320, yyq2320, yy2arr2320 + const yyr2320 bool = false + yyq2320[0] = x.Kind != "" + yyq2320[1] = x.APIVersion != "" + yyq2320[2] = true + var yynn2320 int + if yyr2320 || yy2arr2320 { r.EncodeArrayStart(4) } else { - yynn2315 = 1 - for _, b := range yyq2315 { + yynn2320 = 1 + for _, b := range yyq2320 { if b { - yynn2315++ + yynn2320++ } } - r.EncodeMapStart(yynn2315) - yynn2315 = 0 + r.EncodeMapStart(yynn2320) + yynn2320 = 0 } - if yyr2315 || yy2arr2315 { + if yyr2320 || yy2arr2320 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2315[0] { - yym2317 := z.EncBinary() - _ = yym2317 + if yyq2320[0] { + yym2322 := z.EncBinary() + _ = yym2322 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -30635,23 +30690,23 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2315[0] { + if yyq2320[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2318 := z.EncBinary() - _ = yym2318 + yym2323 := z.EncBinary() + _ = yym2323 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2315 || yy2arr2315 { + if yyr2320 || yy2arr2320 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2315[1] { - yym2320 := z.EncBinary() - _ = yym2320 + if yyq2320[1] { + yym2325 := z.EncBinary() + _ = yym2325 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -30660,54 +30715,54 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2315[1] { + if yyq2320[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2321 := z.EncBinary() - _ = yym2321 + yym2326 := z.EncBinary() + _ = yym2326 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2315 || yy2arr2315 { + if yyr2320 || yy2arr2320 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2315[2] { - yy2323 := &x.ListMeta - yym2324 := z.EncBinary() - _ = yym2324 + if yyq2320[2] { + yy2328 := &x.ListMeta + yym2329 := z.EncBinary() + _ = yym2329 if false { - } else if z.HasExtensions() && z.EncExt(yy2323) { + } else if z.HasExtensions() && z.EncExt(yy2328) { } else { - z.EncFallback(yy2323) + z.EncFallback(yy2328) } } else { r.EncodeNil() } } else { - if yyq2315[2] { + if yyq2320[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2325 := &x.ListMeta - yym2326 := z.EncBinary() - _ = yym2326 + yy2330 := &x.ListMeta + yym2331 := z.EncBinary() + _ = yym2331 if false { - } else if z.HasExtensions() && z.EncExt(yy2325) { + } else if z.HasExtensions() && z.EncExt(yy2330) { } else { - z.EncFallback(yy2325) + z.EncFallback(yy2330) } } } - if yyr2315 || yy2arr2315 { + if yyr2320 || yy2arr2320 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2328 := z.EncBinary() - _ = yym2328 + yym2333 := z.EncBinary() + _ = yym2333 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) @@ -30720,15 +30775,15 @@ func (x *PodTemplateList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2329 := z.EncBinary() - _ = yym2329 + yym2334 := z.EncBinary() + _ = yym2334 if false { } else { h.encSlicePodTemplate(([]PodTemplate)(x.Items), e) } } } - if yyr2315 || yy2arr2315 { + if yyr2320 || yy2arr2320 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -30741,25 +30796,25 @@ func (x *PodTemplateList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2330 := z.DecBinary() - _ = yym2330 + yym2335 := z.DecBinary() + _ = yym2335 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2331 := r.ContainerType() - if yyct2331 == codecSelferValueTypeMap1234 { - yyl2331 := r.ReadMapStart() - if yyl2331 == 0 { + yyct2336 := r.ContainerType() + if yyct2336 == codecSelferValueTypeMap1234 { + yyl2336 := r.ReadMapStart() + if yyl2336 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2331, d) + x.codecDecodeSelfFromMap(yyl2336, d) } - } else if yyct2331 == codecSelferValueTypeArray1234 { - yyl2331 := r.ReadArrayStart() - if yyl2331 == 0 { + } else if yyct2336 == codecSelferValueTypeArray1234 { + yyl2336 := r.ReadArrayStart() + if yyl2336 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2331, d) + x.codecDecodeSelfFromArray(yyl2336, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -30771,12 +30826,12 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2332Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2332Slc - var yyhl2332 bool = l >= 0 - for yyj2332 := 0; ; yyj2332++ { - if yyhl2332 { - if yyj2332 >= l { + var yys2337Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2337Slc + var yyhl2337 bool = l >= 0 + for yyj2337 := 0; ; yyj2337++ { + if yyhl2337 { + if yyj2337 >= l { break } } else { @@ -30785,10 +30840,10 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2332Slc = r.DecodeBytes(yys2332Slc, true, true) - yys2332 := string(yys2332Slc) + yys2337Slc = r.DecodeBytes(yys2337Slc, true, true) + yys2337 := string(yys2337Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2332 { + switch yys2337 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -30805,31 +30860,31 @@ func (x *PodTemplateList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2335 := &x.ListMeta - yym2336 := z.DecBinary() - _ = yym2336 + yyv2340 := &x.ListMeta + yym2341 := z.DecBinary() + _ = yym2341 if false { - } else if z.HasExtensions() && z.DecExt(yyv2335) { + } else if z.HasExtensions() && z.DecExt(yyv2340) { } else { - z.DecFallback(yyv2335, false) + z.DecFallback(yyv2340, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2337 := &x.Items - yym2338 := z.DecBinary() - _ = yym2338 + yyv2342 := &x.Items + yym2343 := z.DecBinary() + _ = yym2343 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv2337), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv2342), d) } } default: - z.DecStructFieldNotFound(-1, yys2332) - } // end switch yys2332 - } // end for yyj2332 + z.DecStructFieldNotFound(-1, yys2337) + } // end switch yys2337 + } // end for yyj2337 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -30837,16 +30892,16 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2339 int - var yyb2339 bool - var yyhl2339 bool = l >= 0 - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + var yyj2344 int + var yyb2344 bool + var yyhl2344 bool = l >= 0 + yyj2344++ + if yyhl2344 { + yyb2344 = yyj2344 > l } else { - yyb2339 = r.CheckBreak() + yyb2344 = r.CheckBreak() } - if yyb2339 { + if yyb2344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30856,13 +30911,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2344++ + if yyhl2344 { + yyb2344 = yyj2344 > l } else { - yyb2339 = r.CheckBreak() + yyb2344 = r.CheckBreak() } - if yyb2339 { + if yyb2344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30872,13 +30927,13 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2344++ + if yyhl2344 { + yyb2344 = yyj2344 > l } else { - yyb2339 = r.CheckBreak() + yyb2344 = r.CheckBreak() } - if yyb2339 { + if yyb2344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30886,22 +30941,22 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2342 := &x.ListMeta - yym2343 := z.DecBinary() - _ = yym2343 + yyv2347 := &x.ListMeta + yym2348 := z.DecBinary() + _ = yym2348 if false { - } else if z.HasExtensions() && z.DecExt(yyv2342) { + } else if z.HasExtensions() && z.DecExt(yyv2347) { } else { - z.DecFallback(yyv2342, false) + z.DecFallback(yyv2347, false) } } - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2344++ + if yyhl2344 { + yyb2344 = yyj2344 > l } else { - yyb2339 = r.CheckBreak() + yyb2344 = r.CheckBreak() } - if yyb2339 { + if yyb2344 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -30909,26 +30964,26 @@ func (x *PodTemplateList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2344 := &x.Items - yym2345 := z.DecBinary() - _ = yym2345 + yyv2349 := &x.Items + yym2350 := z.DecBinary() + _ = yym2350 if false { } else { - h.decSlicePodTemplate((*[]PodTemplate)(yyv2344), d) + h.decSlicePodTemplate((*[]PodTemplate)(yyv2349), d) } } for { - yyj2339++ - if yyhl2339 { - yyb2339 = yyj2339 > l + yyj2344++ + if yyhl2344 { + yyb2344 = yyj2344 > l } else { - yyb2339 = r.CheckBreak() + yyb2344 = r.CheckBreak() } - if yyb2339 { + if yyb2344 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2339-1, "") + z.DecStructFieldNotFound(yyj2344-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -30940,75 +30995,101 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2346 := z.EncBinary() - _ = yym2346 + yym2351 := z.EncBinary() + _ = yym2351 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2347 := !z.EncBinary() - yy2arr2347 := z.EncBasicHandle().StructToArray - var yyq2347 [3]bool - _, _, _ = yysep2347, yyq2347, yy2arr2347 - const yyr2347 bool = false - yyq2347[0] = x.Replicas != nil - yyq2347[1] = len(x.Selector) != 0 - yyq2347[2] = x.Template != nil - var yynn2347 int - if yyr2347 || yy2arr2347 { - r.EncodeArrayStart(3) + yysep2352 := !z.EncBinary() + yy2arr2352 := z.EncBasicHandle().StructToArray + var yyq2352 [4]bool + _, _, _ = yysep2352, yyq2352, yy2arr2352 + const yyr2352 bool = false + yyq2352[0] = x.Replicas != nil + yyq2352[1] = x.MinReadySeconds != 0 + yyq2352[2] = len(x.Selector) != 0 + yyq2352[3] = x.Template != nil + var yynn2352 int + if yyr2352 || yy2arr2352 { + r.EncodeArrayStart(4) } else { - yynn2347 = 0 - for _, b := range yyq2347 { + yynn2352 = 0 + for _, b := range yyq2352 { if b { - yynn2347++ + yynn2352++ } } - r.EncodeMapStart(yynn2347) - yynn2347 = 0 + r.EncodeMapStart(yynn2352) + yynn2352 = 0 } - if yyr2347 || yy2arr2347 { + if yyr2352 || yy2arr2352 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[0] { + if yyq2352[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy2349 := *x.Replicas - yym2350 := z.EncBinary() - _ = yym2350 + yy2354 := *x.Replicas + yym2355 := z.EncBinary() + _ = yym2355 if false { } else { - r.EncodeInt(int64(yy2349)) + r.EncodeInt(int64(yy2354)) } } } else { r.EncodeNil() } } else { - if yyq2347[0] { + if yyq2352[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy2351 := *x.Replicas - yym2352 := z.EncBinary() - _ = yym2352 + yy2356 := *x.Replicas + yym2357 := z.EncBinary() + _ = yym2357 if false { } else { - r.EncodeInt(int64(yy2351)) + r.EncodeInt(int64(yy2356)) } } } } - if yyr2347 || yy2arr2347 { + if yyr2352 || yy2arr2352 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[1] { + if yyq2352[1] { + yym2359 := z.EncBinary() + _ = yym2359 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq2352[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2360 := z.EncBinary() + _ = yym2360 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr2352 || yy2arr2352 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2352[2] { if x.Selector == nil { r.EncodeNil() } else { - yym2354 := z.EncBinary() - _ = yym2354 + yym2362 := z.EncBinary() + _ = yym2362 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31018,15 +31099,15 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2347[1] { + if yyq2352[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym2355 := z.EncBinary() - _ = yym2355 + yym2363 := z.EncBinary() + _ = yym2363 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -31034,9 +31115,9 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2347 || yy2arr2347 { + if yyr2352 || yy2arr2352 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2347[2] { + if yyq2352[3] { if x.Template == nil { r.EncodeNil() } else { @@ -31046,7 +31127,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2347[2] { + if yyq2352[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -31057,7 +31138,7 @@ func (x *ReplicationControllerSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2347 || yy2arr2347 { + if yyr2352 || yy2arr2352 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31070,25 +31151,25 @@ func (x *ReplicationControllerSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2357 := z.DecBinary() - _ = yym2357 + yym2365 := z.DecBinary() + _ = yym2365 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2358 := r.ContainerType() - if yyct2358 == codecSelferValueTypeMap1234 { - yyl2358 := r.ReadMapStart() - if yyl2358 == 0 { + yyct2366 := r.ContainerType() + if yyct2366 == codecSelferValueTypeMap1234 { + yyl2366 := r.ReadMapStart() + if yyl2366 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2358, d) + x.codecDecodeSelfFromMap(yyl2366, d) } - } else if yyct2358 == codecSelferValueTypeArray1234 { - yyl2358 := r.ReadArrayStart() - if yyl2358 == 0 { + } else if yyct2366 == codecSelferValueTypeArray1234 { + yyl2366 := r.ReadArrayStart() + if yyl2366 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2358, d) + x.codecDecodeSelfFromArray(yyl2366, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31100,12 +31181,12 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2359Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2359Slc - var yyhl2359 bool = l >= 0 - for yyj2359 := 0; ; yyj2359++ { - if yyhl2359 { - if yyj2359 >= l { + var yys2367Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2367Slc + var yyhl2367 bool = l >= 0 + for yyj2367 := 0; ; yyj2367++ { + if yyhl2367 { + if yyj2367 >= l { break } } else { @@ -31114,10 +31195,10 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2359Slc = r.DecodeBytes(yys2359Slc, true, true) - yys2359 := string(yys2359Slc) + yys2367Slc = r.DecodeBytes(yys2367Slc, true, true) + yys2367 := string(yys2367Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2359 { + switch yys2367 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -31127,23 +31208,29 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D if x.Replicas == nil { x.Replicas = new(int32) } - yym2361 := z.DecBinary() - _ = yym2361 + yym2369 := z.DecBinary() + _ = yym2369 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() { x.Selector = nil } else { - yyv2362 := &x.Selector - yym2363 := z.DecBinary() - _ = yym2363 + yyv2371 := &x.Selector + yym2372 := z.DecBinary() + _ = yym2372 if false { } else { - z.F.DecMapStringStringX(yyv2362, false, d) + z.F.DecMapStringStringX(yyv2371, false, d) } } case "template": @@ -31158,9 +31245,9 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromMap(l int, d *codec1978.D x.Template.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2359) - } // end switch yys2359 - } // end for yyj2359 + z.DecStructFieldNotFound(-1, yys2367) + } // end switch yys2367 + } // end for yyj2367 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31168,16 +31255,16 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2365 int - var yyb2365 bool - var yyhl2365 bool = l >= 0 - yyj2365++ - if yyhl2365 { - yyb2365 = yyj2365 > l + var yyj2374 int + var yyb2374 bool + var yyhl2374 bool = l >= 0 + yyj2374++ + if yyhl2374 { + yyb2374 = yyj2374 > l } else { - yyb2365 = r.CheckBreak() + yyb2374 = r.CheckBreak() } - if yyb2365 { + if yyb2374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31190,20 +31277,36 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if x.Replicas == nil { x.Replicas = new(int32) } - yym2367 := z.DecBinary() - _ = yym2367 + yym2376 := z.DecBinary() + _ = yym2376 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj2365++ - if yyhl2365 { - yyb2365 = yyj2365 > l + yyj2374++ + if yyhl2374 { + yyb2374 = yyj2374 > l } else { - yyb2365 = r.CheckBreak() + yyb2374 = r.CheckBreak() } - if yyb2365 { + if yyb2374 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + yyj2374++ + if yyhl2374 { + yyb2374 = yyj2374 > l + } else { + yyb2374 = r.CheckBreak() + } + if yyb2374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31211,21 +31314,21 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2368 := &x.Selector - yym2369 := z.DecBinary() - _ = yym2369 + yyv2378 := &x.Selector + yym2379 := z.DecBinary() + _ = yym2379 if false { } else { - z.F.DecMapStringStringX(yyv2368, false, d) + z.F.DecMapStringStringX(yyv2378, false, d) } } - yyj2365++ - if yyhl2365 { - yyb2365 = yyj2365 > l + yyj2374++ + if yyhl2374 { + yyb2374 = yyj2374 > l } else { - yyb2365 = r.CheckBreak() + yyb2374 = r.CheckBreak() } - if yyb2365 { + if yyb2374 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31241,17 +31344,17 @@ func (x *ReplicationControllerSpec) codecDecodeSelfFromArray(l int, d *codec1978 x.Template.CodecDecodeSelf(d) } for { - yyj2365++ - if yyhl2365 { - yyb2365 = yyj2365 > l + yyj2374++ + if yyhl2374 { + yyb2374 = yyj2374 > l } else { - yyb2365 = r.CheckBreak() + yyb2374 = r.CheckBreak() } - if yyb2365 { + if yyb2374 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2365-1, "") + z.DecStructFieldNotFound(yyj2374-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31263,36 +31366,38 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2371 := z.EncBinary() - _ = yym2371 + yym2381 := z.EncBinary() + _ = yym2381 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2372 := !z.EncBinary() - yy2arr2372 := z.EncBasicHandle().StructToArray - var yyq2372 [4]bool - _, _, _ = yysep2372, yyq2372, yy2arr2372 - const yyr2372 bool = false - yyq2372[1] = x.FullyLabeledReplicas != 0 - yyq2372[2] = x.ReadyReplicas != 0 - yyq2372[3] = x.ObservedGeneration != 0 - var yynn2372 int - if yyr2372 || yy2arr2372 { - r.EncodeArrayStart(4) + yysep2382 := !z.EncBinary() + yy2arr2382 := z.EncBasicHandle().StructToArray + var yyq2382 [6]bool + _, _, _ = yysep2382, yyq2382, yy2arr2382 + const yyr2382 bool = false + yyq2382[1] = x.FullyLabeledReplicas != 0 + yyq2382[2] = x.ReadyReplicas != 0 + yyq2382[3] = x.AvailableReplicas != 0 + yyq2382[4] = x.ObservedGeneration != 0 + yyq2382[5] = len(x.Conditions) != 0 + var yynn2382 int + if yyr2382 || yy2arr2382 { + r.EncodeArrayStart(6) } else { - yynn2372 = 1 - for _, b := range yyq2372 { + yynn2382 = 1 + for _, b := range yyq2382 { if b { - yynn2372++ + yynn2382++ } } - r.EncodeMapStart(yynn2372) - yynn2372 = 0 + r.EncodeMapStart(yynn2382) + yynn2382 = 0 } - if yyr2372 || yy2arr2372 { + if yyr2382 || yy2arr2382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2374 := z.EncBinary() - _ = yym2374 + yym2384 := z.EncBinary() + _ = yym2384 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -31301,18 +31406,18 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2375 := z.EncBinary() - _ = yym2375 + yym2385 := z.EncBinary() + _ = yym2385 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr2372 || yy2arr2372 { + if yyr2382 || yy2arr2382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2372[1] { - yym2377 := z.EncBinary() - _ = yym2377 + if yyq2382[1] { + yym2387 := z.EncBinary() + _ = yym2387 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -31321,23 +31426,23 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2372[1] { + if yyq2382[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2378 := z.EncBinary() - _ = yym2378 + yym2388 := z.EncBinary() + _ = yym2388 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr2372 || yy2arr2372 { + if yyr2382 || yy2arr2382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2372[2] { - yym2380 := z.EncBinary() - _ = yym2380 + if yyq2382[2] { + yym2390 := z.EncBinary() + _ = yym2390 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -31346,23 +31451,48 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2372[2] { + if yyq2382[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2381 := z.EncBinary() - _ = yym2381 + yym2391 := z.EncBinary() + _ = yym2391 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr2372 || yy2arr2372 { + if yyr2382 || yy2arr2382 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2372[3] { - yym2383 := z.EncBinary() - _ = yym2383 + if yyq2382[3] { + yym2393 := z.EncBinary() + _ = yym2393 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq2382[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2394 := z.EncBinary() + _ = yym2394 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } + } + if yyr2382 || yy2arr2382 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2382[4] { + yym2396 := z.EncBinary() + _ = yym2396 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -31371,19 +31501,52 @@ func (x *ReplicationControllerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2372[3] { + if yyq2382[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2384 := z.EncBinary() - _ = yym2384 + yym2397 := z.EncBinary() + _ = yym2397 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr2372 || yy2arr2372 { + if yyr2382 || yy2arr2382 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2382[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym2399 := z.EncBinary() + _ = yym2399 + if false { + } else { + h.encSliceReplicationControllerCondition(([]ReplicationControllerCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq2382[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("conditions")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Conditions == nil { + r.EncodeNil() + } else { + yym2400 := z.EncBinary() + _ = yym2400 + if false { + } else { + h.encSliceReplicationControllerCondition(([]ReplicationControllerCondition)(x.Conditions), e) + } + } + } + } + if yyr2382 || yy2arr2382 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31396,25 +31559,25 @@ func (x *ReplicationControllerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2385 := z.DecBinary() - _ = yym2385 + yym2401 := z.DecBinary() + _ = yym2401 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2386 := r.ContainerType() - if yyct2386 == codecSelferValueTypeMap1234 { - yyl2386 := r.ReadMapStart() - if yyl2386 == 0 { + yyct2402 := r.ContainerType() + if yyct2402 == codecSelferValueTypeMap1234 { + yyl2402 := r.ReadMapStart() + if yyl2402 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2386, d) + x.codecDecodeSelfFromMap(yyl2402, d) } - } else if yyct2386 == codecSelferValueTypeArray1234 { - yyl2386 := r.ReadArrayStart() - if yyl2386 == 0 { + } else if yyct2402 == codecSelferValueTypeArray1234 { + yyl2402 := r.ReadArrayStart() + if yyl2402 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2386, d) + x.codecDecodeSelfFromArray(yyl2402, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31426,12 +31589,12 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2387Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2387Slc - var yyhl2387 bool = l >= 0 - for yyj2387 := 0; ; yyj2387++ { - if yyhl2387 { - if yyj2387 >= l { + var yys2403Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2403Slc + var yyhl2403 bool = l >= 0 + for yyj2403 := 0; ; yyj2403++ { + if yyhl2403 { + if yyj2403 >= l { break } } else { @@ -31440,10 +31603,10 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2387Slc = r.DecodeBytes(yys2387Slc, true, true) - yys2387 := string(yys2387Slc) + yys2403Slc = r.DecodeBytes(yys2403Slc, true, true) + yys2403 := string(yys2403Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2387 { + switch yys2403 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -31462,16 +31625,34 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromMap(l int, d *codec1978 } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } + case "availableReplicas": + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv2409 := &x.Conditions + yym2410 := z.DecBinary() + _ = yym2410 + if false { + } else { + h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv2409), d) + } + } default: - z.DecStructFieldNotFound(-1, yys2387) - } // end switch yys2387 - } // end for yyj2387 + z.DecStructFieldNotFound(-1, yys2403) + } // end switch yys2403 + } // end for yyj2403 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31479,16 +31660,16 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2392 int - var yyb2392 bool - var yyhl2392 bool = l >= 0 - yyj2392++ - if yyhl2392 { - yyb2392 = yyj2392 > l + var yyj2411 int + var yyb2411 bool + var yyhl2411 bool = l >= 0 + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l } else { - yyb2392 = r.CheckBreak() + yyb2411 = r.CheckBreak() } - if yyb2392 { + if yyb2411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31498,13 +31679,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj2392++ - if yyhl2392 { - yyb2392 = yyj2392 > l + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l } else { - yyb2392 = r.CheckBreak() + yyb2411 = r.CheckBreak() } - if yyb2392 { + if yyb2411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31514,13 +31695,13 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj2392++ - if yyhl2392 { - yyb2392 = yyj2392 > l + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l } else { - yyb2392 = r.CheckBreak() + yyb2411 = r.CheckBreak() } - if yyb2392 { + if yyb2411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31530,13 +31711,29 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj2392++ - if yyhl2392 { - yyb2392 = yyj2392 > l + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l } else { - yyb2392 = r.CheckBreak() + yyb2411 = r.CheckBreak() } - if yyb2392 { + if yyb2411 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l + } else { + yyb2411 = r.CheckBreak() + } + if yyb2411 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31546,18 +31743,509 @@ func (x *ReplicationControllerStatus) codecDecodeSelfFromArray(l int, d *codec19 } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - for { - yyj2392++ - if yyhl2392 { - yyb2392 = yyj2392 > l + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l + } else { + yyb2411 = r.CheckBreak() + } + if yyb2411 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv2417 := &x.Conditions + yym2418 := z.DecBinary() + _ = yym2418 + if false { } else { - yyb2392 = r.CheckBreak() + h.decSliceReplicationControllerCondition((*[]ReplicationControllerCondition)(yyv2417), d) } - if yyb2392 { + } + for { + yyj2411++ + if yyhl2411 { + yyb2411 = yyj2411 > l + } else { + yyb2411 = r.CheckBreak() + } + if yyb2411 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2392-1, "") + z.DecStructFieldNotFound(yyj2411-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ReplicationControllerConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym2419 := z.EncBinary() + _ = yym2419 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ReplicationControllerConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2420 := z.DecBinary() + _ = yym2420 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ReplicationControllerCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2421 := z.EncBinary() + _ = yym2421 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + yysep2422 := !z.EncBinary() + yy2arr2422 := z.EncBasicHandle().StructToArray + var yyq2422 [6]bool + _, _, _ = yysep2422, yyq2422, yy2arr2422 + const yyr2422 bool = false + yyq2422[2] = true + yyq2422[3] = true + yyq2422[4] = x.Reason != "" + yyq2422[5] = x.Message != "" + var yynn2422 int + if yyr2422 || yy2arr2422 { + r.EncodeArrayStart(6) + } else { + yynn2422 = 2 + for _, b := range yyq2422 { + if b { + yynn2422++ + } + } + r.EncodeMapStart(yynn2422) + yynn2422 = 0 + } + if yyr2422 || yy2arr2422 { + 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 yyr2422 || yy2arr2422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr2422 || yy2arr2422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2422[2] { + yy2426 := &x.LastProbeTime + yym2427 := z.EncBinary() + _ = yym2427 + if false { + } else if z.HasExtensions() && z.EncExt(yy2426) { + } else if yym2427 { + z.EncBinaryMarshal(yy2426) + } else if !yym2427 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2426) + } else { + z.EncFallback(yy2426) + } + } else { + r.EncodeNil() + } + } else { + if yyq2422[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2428 := &x.LastProbeTime + yym2429 := z.EncBinary() + _ = yym2429 + if false { + } else if z.HasExtensions() && z.EncExt(yy2428) { + } else if yym2429 { + z.EncBinaryMarshal(yy2428) + } else if !yym2429 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2428) + } else { + z.EncFallback(yy2428) + } + } + } + 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 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2422[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2437 := z.EncBinary() + _ = yym2437 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr2422 || yy2arr2422 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2422[5] { + yym2439 := z.EncBinary() + _ = yym2439 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2422[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2440 := z.EncBinary() + _ = yym2440 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr2422 || yy2arr2422 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicationControllerCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2441 := z.DecBinary() + _ = yym2441 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2442 := r.ContainerType() + if yyct2442 == codecSelferValueTypeMap1234 { + yyl2442 := r.ReadMapStart() + if yyl2442 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2442, d) + } + } else if yyct2442 == codecSelferValueTypeArray1234 { + yyl2442 := r.ReadArrayStart() + if yyl2442 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2442, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *ReplicationControllerCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2443Slc = r.DecodeBytes(yys2443Slc, true, true) + yys2443 := string(yys2443Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2443 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicationControllerConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } 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 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2448) { + } else if yym2449 { + z.DecBinaryUnmarshal(yyv2448) + } else if !yym2449 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2448) + } else { + z.DecFallback(yyv2448, 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, yys2443) + } // end switch yys2443 + } // end for yyj2443 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicationControllerCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb2452 = r.CheckBreak() + } + if yyb2452 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicationControllerConditionType(r.DecodeString()) + } + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l + } else { + yyb2452 = r.CheckBreak() + } + if yyb2452 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l + } else { + yyb2452 = 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 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_unversioned.Time{} + } else { + yyv2457 := &x.LastTransitionTime + yym2458 := z.DecBinary() + _ = yym2458 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2457) { + } else if yym2458 { + z.DecBinaryUnmarshal(yyv2457) + } else if !yym2458 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2457) + } else { + z.DecFallback(yyv2457, false) + } + } + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l + } else { + yyb2452 = r.CheckBreak() + } + if yyb2452 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l + } else { + yyb2452 = r.CheckBreak() + } + if yyb2452 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj2452++ + if yyhl2452 { + yyb2452 = yyj2452 > l + } else { + yyb2452 = r.CheckBreak() + } + if yyb2452 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2452-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31569,39 +32257,39 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2397 := z.EncBinary() - _ = yym2397 + yym2461 := z.EncBinary() + _ = yym2461 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2398 := !z.EncBinary() - yy2arr2398 := z.EncBasicHandle().StructToArray - var yyq2398 [5]bool - _, _, _ = yysep2398, yyq2398, yy2arr2398 - const yyr2398 bool = false - yyq2398[0] = x.Kind != "" - yyq2398[1] = x.APIVersion != "" - yyq2398[2] = true - yyq2398[3] = true - yyq2398[4] = true - var yynn2398 int - if yyr2398 || yy2arr2398 { + 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 { r.EncodeArrayStart(5) } else { - yynn2398 = 0 - for _, b := range yyq2398 { + yynn2462 = 0 + for _, b := range yyq2462 { if b { - yynn2398++ + yynn2462++ } } - r.EncodeMapStart(yynn2398) - yynn2398 = 0 + r.EncodeMapStart(yynn2462) + yynn2462 = 0 } - if yyr2398 || yy2arr2398 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2398[0] { - yym2400 := z.EncBinary() - _ = yym2400 + if yyq2462[0] { + yym2464 := z.EncBinary() + _ = yym2464 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31610,23 +32298,23 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2398[0] { + if yyq2462[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2401 := z.EncBinary() - _ = yym2401 + yym2465 := z.EncBinary() + _ = yym2465 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2398 || yy2arr2398 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2398[1] { - yym2403 := z.EncBinary() - _ = yym2403 + if yyq2462[1] { + yym2467 := z.EncBinary() + _ = yym2467 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31635,70 +32323,70 @@ func (x *ReplicationController) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2398[1] { + if yyq2462[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2404 := z.EncBinary() - _ = yym2404 + yym2468 := z.EncBinary() + _ = yym2468 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2398 || yy2arr2398 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2398[2] { - yy2406 := &x.ObjectMeta - yy2406.CodecEncodeSelf(e) + if yyq2462[2] { + yy2470 := &x.ObjectMeta + yy2470.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2398[2] { + if yyq2462[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2407 := &x.ObjectMeta - yy2407.CodecEncodeSelf(e) + yy2471 := &x.ObjectMeta + yy2471.CodecEncodeSelf(e) } } - if yyr2398 || yy2arr2398 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2398[3] { - yy2409 := &x.Spec - yy2409.CodecEncodeSelf(e) + if yyq2462[3] { + yy2473 := &x.Spec + yy2473.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2398[3] { + if yyq2462[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2410 := &x.Spec - yy2410.CodecEncodeSelf(e) + yy2474 := &x.Spec + yy2474.CodecEncodeSelf(e) } } - if yyr2398 || yy2arr2398 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2398[4] { - yy2412 := &x.Status - yy2412.CodecEncodeSelf(e) + if yyq2462[4] { + yy2476 := &x.Status + yy2476.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2398[4] { + if yyq2462[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2413 := &x.Status - yy2413.CodecEncodeSelf(e) + yy2477 := &x.Status + yy2477.CodecEncodeSelf(e) } } - if yyr2398 || yy2arr2398 { + if yyr2462 || yy2arr2462 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -31711,25 +32399,25 @@ func (x *ReplicationController) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2414 := z.DecBinary() - _ = yym2414 + yym2478 := z.DecBinary() + _ = yym2478 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2415 := r.ContainerType() - if yyct2415 == codecSelferValueTypeMap1234 { - yyl2415 := r.ReadMapStart() - if yyl2415 == 0 { + yyct2479 := r.ContainerType() + if yyct2479 == codecSelferValueTypeMap1234 { + yyl2479 := r.ReadMapStart() + if yyl2479 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2415, d) + x.codecDecodeSelfFromMap(yyl2479, d) } - } else if yyct2415 == codecSelferValueTypeArray1234 { - yyl2415 := r.ReadArrayStart() - if yyl2415 == 0 { + } else if yyct2479 == codecSelferValueTypeArray1234 { + yyl2479 := r.ReadArrayStart() + if yyl2479 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2415, d) + x.codecDecodeSelfFromArray(yyl2479, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -31741,12 +32429,12 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2416Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2416Slc - var yyhl2416 bool = l >= 0 - for yyj2416 := 0; ; yyj2416++ { - if yyhl2416 { - if yyj2416 >= l { + var yys2480Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2480Slc + var yyhl2480 bool = l >= 0 + for yyj2480 := 0; ; yyj2480++ { + if yyhl2480 { + if yyj2480 >= l { break } } else { @@ -31755,10 +32443,10 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2416Slc = r.DecodeBytes(yys2416Slc, true, true) - yys2416 := string(yys2416Slc) + yys2480Slc = r.DecodeBytes(yys2480Slc, true, true) + yys2480 := string(yys2480Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2416 { + switch yys2480 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -31775,27 +32463,27 @@ func (x *ReplicationController) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2419 := &x.ObjectMeta - yyv2419.CodecDecodeSelf(d) + yyv2483 := &x.ObjectMeta + yyv2483.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2420 := &x.Spec - yyv2420.CodecDecodeSelf(d) + yyv2484 := &x.Spec + yyv2484.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2421 := &x.Status - yyv2421.CodecDecodeSelf(d) + yyv2485 := &x.Status + yyv2485.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2416) - } // end switch yys2416 - } // end for yyj2416 + z.DecStructFieldNotFound(-1, yys2480) + } // end switch yys2480 + } // end for yyj2480 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -31803,16 +32491,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2422 int - var yyb2422 bool - var yyhl2422 bool = l >= 0 - yyj2422++ - if yyhl2422 { - yyb2422 = yyj2422 > l + var yyj2486 int + var yyb2486 bool + var yyhl2486 bool = l >= 0 + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb2422 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb2422 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31822,13 +32510,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj2422++ - if yyhl2422 { - yyb2422 = yyj2422 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb2422 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb2422 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31838,13 +32526,13 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj2422++ - if yyhl2422 { - yyb2422 = yyj2422 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb2422 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb2422 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31852,16 +32540,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2425 := &x.ObjectMeta - yyv2425.CodecDecodeSelf(d) + yyv2489 := &x.ObjectMeta + yyv2489.CodecDecodeSelf(d) } - yyj2422++ - if yyhl2422 { - yyb2422 = yyj2422 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb2422 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb2422 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31869,16 +32557,16 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Spec = ReplicationControllerSpec{} } else { - yyv2426 := &x.Spec - yyv2426.CodecDecodeSelf(d) + yyv2490 := &x.Spec + yyv2490.CodecDecodeSelf(d) } - yyj2422++ - if yyhl2422 { - yyb2422 = yyj2422 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb2422 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb2422 { + if yyb2486 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -31886,21 +32574,21 @@ func (x *ReplicationController) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Status = ReplicationControllerStatus{} } else { - yyv2427 := &x.Status - yyv2427.CodecDecodeSelf(d) + yyv2491 := &x.Status + yyv2491.CodecDecodeSelf(d) } for { - yyj2422++ - if yyhl2422 { - yyb2422 = yyj2422 > l + yyj2486++ + if yyhl2486 { + yyb2486 = yyj2486 > l } else { - yyb2422 = r.CheckBreak() + yyb2486 = r.CheckBreak() } - if yyb2422 { + if yyb2486 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2422-1, "") + z.DecStructFieldNotFound(yyj2486-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -31912,37 +32600,37 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2428 := z.EncBinary() - _ = yym2428 + yym2492 := z.EncBinary() + _ = yym2492 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2429 := !z.EncBinary() - yy2arr2429 := z.EncBasicHandle().StructToArray - var yyq2429 [4]bool - _, _, _ = yysep2429, yyq2429, yy2arr2429 - const yyr2429 bool = false - yyq2429[0] = x.Kind != "" - yyq2429[1] = x.APIVersion != "" - yyq2429[2] = true - var yynn2429 int - if yyr2429 || yy2arr2429 { + 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 { r.EncodeArrayStart(4) } else { - yynn2429 = 1 - for _, b := range yyq2429 { + yynn2493 = 1 + for _, b := range yyq2493 { if b { - yynn2429++ + yynn2493++ } } - r.EncodeMapStart(yynn2429) - yynn2429 = 0 + r.EncodeMapStart(yynn2493) + yynn2493 = 0 } - if yyr2429 || yy2arr2429 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2429[0] { - yym2431 := z.EncBinary() - _ = yym2431 + if yyq2493[0] { + yym2495 := z.EncBinary() + _ = yym2495 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -31951,23 +32639,23 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2429[0] { + if yyq2493[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2432 := z.EncBinary() - _ = yym2432 + yym2496 := z.EncBinary() + _ = yym2496 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2429 || yy2arr2429 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2429[1] { - yym2434 := z.EncBinary() - _ = yym2434 + if yyq2493[1] { + yym2498 := z.EncBinary() + _ = yym2498 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -31976,54 +32664,54 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2429[1] { + if yyq2493[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2435 := z.EncBinary() - _ = yym2435 + yym2499 := z.EncBinary() + _ = yym2499 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2429 || yy2arr2429 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2429[2] { - yy2437 := &x.ListMeta - yym2438 := z.EncBinary() - _ = yym2438 + if yyq2493[2] { + yy2501 := &x.ListMeta + yym2502 := z.EncBinary() + _ = yym2502 if false { - } else if z.HasExtensions() && z.EncExt(yy2437) { + } else if z.HasExtensions() && z.EncExt(yy2501) { } else { - z.EncFallback(yy2437) + z.EncFallback(yy2501) } } else { r.EncodeNil() } } else { - if yyq2429[2] { + if yyq2493[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2439 := &x.ListMeta - yym2440 := z.EncBinary() - _ = yym2440 + yy2503 := &x.ListMeta + yym2504 := z.EncBinary() + _ = yym2504 if false { - } else if z.HasExtensions() && z.EncExt(yy2439) { + } else if z.HasExtensions() && z.EncExt(yy2503) { } else { - z.EncFallback(yy2439) + z.EncFallback(yy2503) } } } - if yyr2429 || yy2arr2429 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2442 := z.EncBinary() - _ = yym2442 + yym2506 := z.EncBinary() + _ = yym2506 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) @@ -32036,15 +32724,15 @@ func (x *ReplicationControllerList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2443 := z.EncBinary() - _ = yym2443 + yym2507 := z.EncBinary() + _ = yym2507 if false { } else { h.encSliceReplicationController(([]ReplicationController)(x.Items), e) } } } - if yyr2429 || yy2arr2429 { + if yyr2493 || yy2arr2493 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32057,25 +32745,25 @@ func (x *ReplicationControllerList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2444 := z.DecBinary() - _ = yym2444 + yym2508 := z.DecBinary() + _ = yym2508 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2445 := r.ContainerType() - if yyct2445 == codecSelferValueTypeMap1234 { - yyl2445 := r.ReadMapStart() - if yyl2445 == 0 { + yyct2509 := r.ContainerType() + if yyct2509 == codecSelferValueTypeMap1234 { + yyl2509 := r.ReadMapStart() + if yyl2509 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2445, d) + x.codecDecodeSelfFromMap(yyl2509, d) } - } else if yyct2445 == codecSelferValueTypeArray1234 { - yyl2445 := r.ReadArrayStart() - if yyl2445 == 0 { + } else if yyct2509 == codecSelferValueTypeArray1234 { + yyl2509 := r.ReadArrayStart() + if yyl2509 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2445, d) + x.codecDecodeSelfFromArray(yyl2509, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32087,12 +32775,12 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2446Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2446Slc - var yyhl2446 bool = l >= 0 - for yyj2446 := 0; ; yyj2446++ { - if yyhl2446 { - if yyj2446 >= l { + var yys2510Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2510Slc + var yyhl2510 bool = l >= 0 + for yyj2510 := 0; ; yyj2510++ { + if yyhl2510 { + if yyj2510 >= l { break } } else { @@ -32101,10 +32789,10 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2446Slc = r.DecodeBytes(yys2446Slc, true, true) - yys2446 := string(yys2446Slc) + yys2510Slc = r.DecodeBytes(yys2510Slc, true, true) + yys2510 := string(yys2510Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2446 { + switch yys2510 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -32121,31 +32809,31 @@ func (x *ReplicationControllerList) codecDecodeSelfFromMap(l int, d *codec1978.D if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2449 := &x.ListMeta - yym2450 := z.DecBinary() - _ = yym2450 + yyv2513 := &x.ListMeta + yym2514 := z.DecBinary() + _ = yym2514 if false { - } else if z.HasExtensions() && z.DecExt(yyv2449) { + } else if z.HasExtensions() && z.DecExt(yyv2513) { } else { - z.DecFallback(yyv2449, false) + z.DecFallback(yyv2513, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2451 := &x.Items - yym2452 := z.DecBinary() - _ = yym2452 + yyv2515 := &x.Items + yym2516 := z.DecBinary() + _ = yym2516 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2451), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2515), d) } } default: - z.DecStructFieldNotFound(-1, yys2446) - } // end switch yys2446 - } // end for yyj2446 + z.DecStructFieldNotFound(-1, yys2510) + } // end switch yys2510 + } // end for yyj2510 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32153,16 +32841,16 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2453 int - var yyb2453 bool - var yyhl2453 bool = l >= 0 - yyj2453++ - if yyhl2453 { - yyb2453 = yyj2453 > l + var yyj2517 int + var yyb2517 bool + var yyhl2517 bool = l >= 0 + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb2453 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb2453 { + if yyb2517 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32172,13 +32860,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.Kind = string(r.DecodeString()) } - yyj2453++ - if yyhl2453 { - yyb2453 = yyj2453 > l + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb2453 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb2453 { + if yyb2517 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32188,13 +32876,13 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 } else { x.APIVersion = string(r.DecodeString()) } - yyj2453++ - if yyhl2453 { - yyb2453 = yyj2453 > l + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb2453 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb2453 { + if yyb2517 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32202,22 +32890,22 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2456 := &x.ListMeta - yym2457 := z.DecBinary() - _ = yym2457 + yyv2520 := &x.ListMeta + yym2521 := z.DecBinary() + _ = yym2521 if false { - } else if z.HasExtensions() && z.DecExt(yyv2456) { + } else if z.HasExtensions() && z.DecExt(yyv2520) { } else { - z.DecFallback(yyv2456, false) + z.DecFallback(yyv2520, false) } } - yyj2453++ - if yyhl2453 { - yyb2453 = yyj2453 > l + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb2453 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb2453 { + if yyb2517 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32225,26 +32913,26 @@ func (x *ReplicationControllerList) codecDecodeSelfFromArray(l int, d *codec1978 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2458 := &x.Items - yym2459 := z.DecBinary() - _ = yym2459 + yyv2522 := &x.Items + yym2523 := z.DecBinary() + _ = yym2523 if false { } else { - h.decSliceReplicationController((*[]ReplicationController)(yyv2458), d) + h.decSliceReplicationController((*[]ReplicationController)(yyv2522), d) } } for { - yyj2453++ - if yyhl2453 { - yyb2453 = yyj2453 > l + yyj2517++ + if yyhl2517 { + yyb2517 = yyj2517 > l } else { - yyb2453 = r.CheckBreak() + yyb2517 = r.CheckBreak() } - if yyb2453 { + if yyb2517 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2453-1, "") + z.DecStructFieldNotFound(yyj2517-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32253,8 +32941,8 @@ func (x ServiceAffinity) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2460 := z.EncBinary() - _ = yym2460 + yym2524 := z.EncBinary() + _ = yym2524 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32266,8 +32954,8 @@ func (x *ServiceAffinity) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2461 := z.DecBinary() - _ = yym2461 + yym2525 := z.DecBinary() + _ = yym2525 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32279,8 +32967,8 @@ func (x ServiceType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym2462 := z.EncBinary() - _ = yym2462 + yym2526 := z.EncBinary() + _ = yym2526 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -32292,8 +32980,8 @@ func (x *ServiceType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2463 := z.DecBinary() - _ = yym2463 + yym2527 := z.DecBinary() + _ = yym2527 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -32308,48 +32996,48 @@ func (x *ServiceStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2464 := z.EncBinary() - _ = yym2464 + yym2528 := z.EncBinary() + _ = yym2528 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2465 := !z.EncBinary() - yy2arr2465 := z.EncBasicHandle().StructToArray - var yyq2465 [1]bool - _, _, _ = yysep2465, yyq2465, yy2arr2465 - const yyr2465 bool = false - yyq2465[0] = true - var yynn2465 int - if yyr2465 || yy2arr2465 { + 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 { r.EncodeArrayStart(1) } else { - yynn2465 = 0 - for _, b := range yyq2465 { + yynn2529 = 0 + for _, b := range yyq2529 { if b { - yynn2465++ + yynn2529++ } } - r.EncodeMapStart(yynn2465) - yynn2465 = 0 + r.EncodeMapStart(yynn2529) + yynn2529 = 0 } - if yyr2465 || yy2arr2465 { + if yyr2529 || yy2arr2529 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2465[0] { - yy2467 := &x.LoadBalancer - yy2467.CodecEncodeSelf(e) + if yyq2529[0] { + yy2531 := &x.LoadBalancer + yy2531.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2465[0] { + if yyq2529[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2468 := &x.LoadBalancer - yy2468.CodecEncodeSelf(e) + yy2532 := &x.LoadBalancer + yy2532.CodecEncodeSelf(e) } } - if yyr2465 || yy2arr2465 { + if yyr2529 || yy2arr2529 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32362,25 +33050,25 @@ func (x *ServiceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2469 := z.DecBinary() - _ = yym2469 + yym2533 := z.DecBinary() + _ = yym2533 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2470 := r.ContainerType() - if yyct2470 == codecSelferValueTypeMap1234 { - yyl2470 := r.ReadMapStart() - if yyl2470 == 0 { + yyct2534 := r.ContainerType() + if yyct2534 == codecSelferValueTypeMap1234 { + yyl2534 := r.ReadMapStart() + if yyl2534 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2470, d) + x.codecDecodeSelfFromMap(yyl2534, d) } - } else if yyct2470 == codecSelferValueTypeArray1234 { - yyl2470 := r.ReadArrayStart() - if yyl2470 == 0 { + } else if yyct2534 == codecSelferValueTypeArray1234 { + yyl2534 := r.ReadArrayStart() + if yyl2534 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2470, d) + x.codecDecodeSelfFromArray(yyl2534, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32392,12 +33080,12 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2471Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2471Slc - var yyhl2471 bool = l >= 0 - for yyj2471 := 0; ; yyj2471++ { - if yyhl2471 { - if yyj2471 >= l { + var yys2535Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2535Slc + var yyhl2535 bool = l >= 0 + for yyj2535 := 0; ; yyj2535++ { + if yyhl2535 { + if yyj2535 >= l { break } } else { @@ -32406,21 +33094,21 @@ func (x *ServiceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2471Slc = r.DecodeBytes(yys2471Slc, true, true) - yys2471 := string(yys2471Slc) + yys2535Slc = r.DecodeBytes(yys2535Slc, true, true) + yys2535 := string(yys2535Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2471 { + switch yys2535 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2472 := &x.LoadBalancer - yyv2472.CodecDecodeSelf(d) + yyv2536 := &x.LoadBalancer + yyv2536.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2471) - } // end switch yys2471 - } // end for yyj2471 + z.DecStructFieldNotFound(-1, yys2535) + } // end switch yys2535 + } // end for yyj2535 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32428,16 +33116,16 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2473 int - var yyb2473 bool - var yyhl2473 bool = l >= 0 - yyj2473++ - if yyhl2473 { - yyb2473 = yyj2473 > l + var yyj2537 int + var yyb2537 bool + var yyhl2537 bool = l >= 0 + yyj2537++ + if yyhl2537 { + yyb2537 = yyj2537 > l } else { - yyb2473 = r.CheckBreak() + yyb2537 = r.CheckBreak() } - if yyb2473 { + if yyb2537 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32445,21 +33133,21 @@ func (x *ServiceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = LoadBalancerStatus{} } else { - yyv2474 := &x.LoadBalancer - yyv2474.CodecDecodeSelf(d) + yyv2538 := &x.LoadBalancer + yyv2538.CodecDecodeSelf(d) } for { - yyj2473++ - if yyhl2473 { - yyb2473 = yyj2473 > l + yyj2537++ + if yyhl2537 { + yyb2537 = yyj2537 > l } else { - yyb2473 = r.CheckBreak() + yyb2537 = r.CheckBreak() } - if yyb2473 { + if yyb2537 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2473-1, "") + z.DecStructFieldNotFound(yyj2537-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32471,38 +33159,38 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2475 := z.EncBinary() - _ = yym2475 + yym2539 := z.EncBinary() + _ = yym2539 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2476 := !z.EncBinary() - yy2arr2476 := z.EncBasicHandle().StructToArray - var yyq2476 [1]bool - _, _, _ = yysep2476, yyq2476, yy2arr2476 - const yyr2476 bool = false - yyq2476[0] = len(x.Ingress) != 0 - var yynn2476 int - if yyr2476 || yy2arr2476 { + 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 { r.EncodeArrayStart(1) } else { - yynn2476 = 0 - for _, b := range yyq2476 { + yynn2540 = 0 + for _, b := range yyq2540 { if b { - yynn2476++ + yynn2540++ } } - r.EncodeMapStart(yynn2476) - yynn2476 = 0 + r.EncodeMapStart(yynn2540) + yynn2540 = 0 } - if yyr2476 || yy2arr2476 { + if yyr2540 || yy2arr2540 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2476[0] { + if yyq2540[0] { if x.Ingress == nil { r.EncodeNil() } else { - yym2478 := z.EncBinary() - _ = yym2478 + yym2542 := z.EncBinary() + _ = yym2542 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -32512,15 +33200,15 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2476[0] { + if yyq2540[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym2479 := z.EncBinary() - _ = yym2479 + yym2543 := z.EncBinary() + _ = yym2543 if false { } else { h.encSliceLoadBalancerIngress(([]LoadBalancerIngress)(x.Ingress), e) @@ -32528,7 +33216,7 @@ func (x *LoadBalancerStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2476 || yy2arr2476 { + if yyr2540 || yy2arr2540 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32541,25 +33229,25 @@ func (x *LoadBalancerStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2480 := z.DecBinary() - _ = yym2480 + yym2544 := z.DecBinary() + _ = yym2544 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2481 := r.ContainerType() - if yyct2481 == codecSelferValueTypeMap1234 { - yyl2481 := r.ReadMapStart() - if yyl2481 == 0 { + yyct2545 := r.ContainerType() + if yyct2545 == codecSelferValueTypeMap1234 { + yyl2545 := r.ReadMapStart() + if yyl2545 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2481, d) + x.codecDecodeSelfFromMap(yyl2545, d) } - } else if yyct2481 == codecSelferValueTypeArray1234 { - yyl2481 := r.ReadArrayStart() - if yyl2481 == 0 { + } else if yyct2545 == codecSelferValueTypeArray1234 { + yyl2545 := r.ReadArrayStart() + if yyl2545 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2481, d) + x.codecDecodeSelfFromArray(yyl2545, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32571,12 +33259,12 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2482Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2482Slc - var yyhl2482 bool = l >= 0 - for yyj2482 := 0; ; yyj2482++ { - if yyhl2482 { - if yyj2482 >= l { + var yys2546Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2546Slc + var yyhl2546 bool = l >= 0 + for yyj2546 := 0; ; yyj2546++ { + if yyhl2546 { + if yyj2546 >= l { break } } else { @@ -32585,26 +33273,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2482Slc = r.DecodeBytes(yys2482Slc, true, true) - yys2482 := string(yys2482Slc) + yys2546Slc = r.DecodeBytes(yys2546Slc, true, true) + yys2546 := string(yys2546Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2482 { + switch yys2546 { case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2483 := &x.Ingress - yym2484 := z.DecBinary() - _ = yym2484 + yyv2547 := &x.Ingress + yym2548 := z.DecBinary() + _ = yym2548 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2483), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2547), d) } } default: - z.DecStructFieldNotFound(-1, yys2482) - } // end switch yys2482 - } // end for yyj2482 + z.DecStructFieldNotFound(-1, yys2546) + } // end switch yys2546 + } // end for yyj2546 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32612,16 +33300,16 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2485 int - var yyb2485 bool - var yyhl2485 bool = l >= 0 - yyj2485++ - if yyhl2485 { - yyb2485 = yyj2485 > l + var yyj2549 int + var yyb2549 bool + var yyhl2549 bool = l >= 0 + yyj2549++ + if yyhl2549 { + yyb2549 = yyj2549 > l } else { - yyb2485 = r.CheckBreak() + yyb2549 = r.CheckBreak() } - if yyb2485 { + if yyb2549 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32629,26 +33317,26 @@ func (x *LoadBalancerStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv2486 := &x.Ingress - yym2487 := z.DecBinary() - _ = yym2487 + yyv2550 := &x.Ingress + yym2551 := z.DecBinary() + _ = yym2551 if false { } else { - h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2486), d) + h.decSliceLoadBalancerIngress((*[]LoadBalancerIngress)(yyv2550), d) } } for { - yyj2485++ - if yyhl2485 { - yyb2485 = yyj2485 > l + yyj2549++ + if yyhl2549 { + yyb2549 = yyj2549 > l } else { - yyb2485 = r.CheckBreak() + yyb2549 = r.CheckBreak() } - if yyb2485 { + if yyb2549 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2485-1, "") + z.DecStructFieldNotFound(yyj2549-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32660,36 +33348,36 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2488 := z.EncBinary() - _ = yym2488 + yym2552 := z.EncBinary() + _ = yym2552 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2489 := !z.EncBinary() - yy2arr2489 := z.EncBasicHandle().StructToArray - var yyq2489 [2]bool - _, _, _ = yysep2489, yyq2489, yy2arr2489 - const yyr2489 bool = false - yyq2489[0] = x.IP != "" - yyq2489[1] = x.Hostname != "" - var yynn2489 int - if yyr2489 || yy2arr2489 { + 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 { r.EncodeArrayStart(2) } else { - yynn2489 = 0 - for _, b := range yyq2489 { + yynn2553 = 0 + for _, b := range yyq2553 { if b { - yynn2489++ + yynn2553++ } } - r.EncodeMapStart(yynn2489) - yynn2489 = 0 + r.EncodeMapStart(yynn2553) + yynn2553 = 0 } - if yyr2489 || yy2arr2489 { + if yyr2553 || yy2arr2553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[0] { - yym2491 := z.EncBinary() - _ = yym2491 + if yyq2553[0] { + yym2555 := z.EncBinary() + _ = yym2555 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -32698,23 +33386,23 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2489[0] { + if yyq2553[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2492 := z.EncBinary() - _ = yym2492 + yym2556 := z.EncBinary() + _ = yym2556 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } } - if yyr2489 || yy2arr2489 { + if yyr2553 || yy2arr2553 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2489[1] { - yym2494 := z.EncBinary() - _ = yym2494 + if yyq2553[1] { + yym2558 := z.EncBinary() + _ = yym2558 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -32723,19 +33411,19 @@ func (x *LoadBalancerIngress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2489[1] { + if yyq2553[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2495 := z.EncBinary() - _ = yym2495 + yym2559 := z.EncBinary() + _ = yym2559 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2489 || yy2arr2489 { + if yyr2553 || yy2arr2553 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -32748,25 +33436,25 @@ func (x *LoadBalancerIngress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2496 := z.DecBinary() - _ = yym2496 + yym2560 := z.DecBinary() + _ = yym2560 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2497 := r.ContainerType() - if yyct2497 == codecSelferValueTypeMap1234 { - yyl2497 := r.ReadMapStart() - if yyl2497 == 0 { + yyct2561 := r.ContainerType() + if yyct2561 == codecSelferValueTypeMap1234 { + yyl2561 := r.ReadMapStart() + if yyl2561 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2497, d) + x.codecDecodeSelfFromMap(yyl2561, d) } - } else if yyct2497 == codecSelferValueTypeArray1234 { - yyl2497 := r.ReadArrayStart() - if yyl2497 == 0 { + } else if yyct2561 == codecSelferValueTypeArray1234 { + yyl2561 := r.ReadArrayStart() + if yyl2561 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2497, d) + x.codecDecodeSelfFromArray(yyl2561, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -32778,12 +33466,12 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder 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 yys2562Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2562Slc + var yyhl2562 bool = l >= 0 + for yyj2562 := 0; ; yyj2562++ { + if yyhl2562 { + if yyj2562 >= l { break } } else { @@ -32792,10 +33480,10 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2498Slc = r.DecodeBytes(yys2498Slc, true, true) - yys2498 := string(yys2498Slc) + yys2562Slc = r.DecodeBytes(yys2562Slc, true, true) + yys2562 := string(yys2562Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2498 { + switch yys2562 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -32809,9 +33497,9 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Hostname = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2498) - } // end switch yys2498 - } // end for yyj2498 + z.DecStructFieldNotFound(-1, yys2562) + } // end switch yys2562 + } // end for yyj2562 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -32819,16 +33507,16 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2501 int - var yyb2501 bool - var yyhl2501 bool = l >= 0 - yyj2501++ - if yyhl2501 { - yyb2501 = yyj2501 > l + var yyj2565 int + var yyb2565 bool + var yyhl2565 bool = l >= 0 + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l } else { - yyb2501 = r.CheckBreak() + yyb2565 = r.CheckBreak() } - if yyb2501 { + if yyb2565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32838,13 +33526,13 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.IP = string(r.DecodeString()) } - yyj2501++ - if yyhl2501 { - yyb2501 = yyj2501 > l + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l } else { - yyb2501 = r.CheckBreak() + yyb2565 = r.CheckBreak() } - if yyb2501 { + if yyb2565 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -32855,17 +33543,17 @@ func (x *LoadBalancerIngress) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Hostname = string(r.DecodeString()) } for { - yyj2501++ - if yyhl2501 { - yyb2501 = yyj2501 > l + yyj2565++ + if yyhl2565 { + yyb2565 = yyj2565 > l } else { - yyb2501 = r.CheckBreak() + yyb2565 = r.CheckBreak() } - if yyb2501 { + if yyb2565 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2501-1, "") + z.DecStructFieldNotFound(yyj2565-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -32877,45 +33565,45 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2504 := z.EncBinary() - _ = yym2504 + yym2568 := z.EncBinary() + _ = yym2568 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2505 := !z.EncBinary() - yy2arr2505 := z.EncBasicHandle().StructToArray - var yyq2505 [10]bool - _, _, _ = yysep2505, yyq2505, yy2arr2505 - const yyr2505 bool = false - yyq2505[1] = len(x.Selector) != 0 - yyq2505[2] = x.ClusterIP != "" - yyq2505[3] = x.Type != "" - yyq2505[4] = len(x.ExternalIPs) != 0 - yyq2505[5] = len(x.DeprecatedPublicIPs) != 0 - yyq2505[6] = x.SessionAffinity != "" - yyq2505[7] = x.LoadBalancerIP != "" - yyq2505[8] = len(x.LoadBalancerSourceRanges) != 0 - yyq2505[9] = x.ExternalName != "" - var yynn2505 int - if yyr2505 || yy2arr2505 { + 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 { r.EncodeArrayStart(10) } else { - yynn2505 = 1 - for _, b := range yyq2505 { + yynn2569 = 1 + for _, b := range yyq2569 { if b { - yynn2505++ + yynn2569++ } } - r.EncodeMapStart(yynn2505) - yynn2505 = 0 + r.EncodeMapStart(yynn2569) + yynn2569 = 0 } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Ports == nil { r.EncodeNil() } else { - yym2507 := z.EncBinary() - _ = yym2507 + yym2571 := z.EncBinary() + _ = yym2571 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) @@ -32928,22 +33616,22 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Ports == nil { r.EncodeNil() } else { - yym2508 := z.EncBinary() - _ = yym2508 + yym2572 := z.EncBinary() + _ = yym2572 if false { } else { h.encSliceServicePort(([]ServicePort)(x.Ports), e) } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[1] { + if yyq2569[1] { if x.Selector == nil { r.EncodeNil() } else { - yym2510 := z.EncBinary() - _ = yym2510 + yym2574 := z.EncBinary() + _ = yym2574 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -32953,15 +33641,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2505[1] { + if yyq2569[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym2511 := z.EncBinary() - _ = yym2511 + yym2575 := z.EncBinary() + _ = yym2575 if false { } else { z.F.EncMapStringStringV(x.Selector, false, e) @@ -32969,11 +33657,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[2] { - yym2513 := z.EncBinary() - _ = yym2513 + if yyq2569[2] { + yym2577 := z.EncBinary() + _ = yym2577 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) @@ -32982,41 +33670,41 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[2] { + if yyq2569[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("clusterIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2514 := z.EncBinary() - _ = yym2514 + yym2578 := z.EncBinary() + _ = yym2578 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ClusterIP)) } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[3] { + if yyq2569[3] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[3] { + if yyq2569[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[4] { + if yyq2569[4] { if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2517 := z.EncBinary() - _ = yym2517 + yym2581 := z.EncBinary() + _ = yym2581 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -33026,15 +33714,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2505[4] { + if yyq2569[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ExternalIPs == nil { r.EncodeNil() } else { - yym2518 := z.EncBinary() - _ = yym2518 + yym2582 := z.EncBinary() + _ = yym2582 if false { } else { z.F.EncSliceStringV(x.ExternalIPs, false, e) @@ -33042,14 +33730,14 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[5] { + if yyq2569[5] { if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2520 := z.EncBinary() - _ = yym2520 + yym2584 := z.EncBinary() + _ = yym2584 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -33059,15 +33747,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2505[5] { + if yyq2569[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("deprecatedPublicIPs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DeprecatedPublicIPs == nil { r.EncodeNil() } else { - yym2521 := z.EncBinary() - _ = yym2521 + yym2585 := z.EncBinary() + _ = yym2585 if false { } else { z.F.EncSliceStringV(x.DeprecatedPublicIPs, false, e) @@ -33075,26 +33763,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[6] { + if yyq2569[6] { x.SessionAffinity.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[6] { + if yyq2569[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("sessionAffinity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.SessionAffinity.CodecEncodeSelf(e) } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[7] { - yym2524 := z.EncBinary() - _ = yym2524 + if yyq2569[7] { + yym2588 := z.EncBinary() + _ = yym2588 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) @@ -33103,26 +33791,26 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[7] { + if yyq2569[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerIP")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2525 := z.EncBinary() - _ = yym2525 + yym2589 := z.EncBinary() + _ = yym2589 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LoadBalancerIP)) } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[8] { + if yyq2569[8] { if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2527 := z.EncBinary() - _ = yym2527 + yym2591 := z.EncBinary() + _ = yym2591 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -33132,15 +33820,15 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2505[8] { + if yyq2569[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancerSourceRanges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.LoadBalancerSourceRanges == nil { r.EncodeNil() } else { - yym2528 := z.EncBinary() - _ = yym2528 + yym2592 := z.EncBinary() + _ = yym2592 if false { } else { z.F.EncSliceStringV(x.LoadBalancerSourceRanges, false, e) @@ -33148,11 +33836,11 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2505[9] { - yym2530 := z.EncBinary() - _ = yym2530 + if yyq2569[9] { + yym2594 := z.EncBinary() + _ = yym2594 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) @@ -33161,19 +33849,19 @@ func (x *ServiceSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2505[9] { + if yyq2569[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2531 := z.EncBinary() - _ = yym2531 + yym2595 := z.EncBinary() + _ = yym2595 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalName)) } } } - if yyr2505 || yy2arr2505 { + if yyr2569 || yy2arr2569 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33186,25 +33874,25 @@ func (x *ServiceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2532 := z.DecBinary() - _ = yym2532 + yym2596 := z.DecBinary() + _ = yym2596 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2533 := r.ContainerType() - if yyct2533 == codecSelferValueTypeMap1234 { - yyl2533 := r.ReadMapStart() - if yyl2533 == 0 { + yyct2597 := r.ContainerType() + if yyct2597 == codecSelferValueTypeMap1234 { + yyl2597 := r.ReadMapStart() + if yyl2597 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2533, d) + x.codecDecodeSelfFromMap(yyl2597, d) } - } else if yyct2533 == codecSelferValueTypeArray1234 { - yyl2533 := r.ReadArrayStart() - if yyl2533 == 0 { + } else if yyct2597 == codecSelferValueTypeArray1234 { + yyl2597 := r.ReadArrayStart() + if yyl2597 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2533, d) + x.codecDecodeSelfFromArray(yyl2597, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33216,12 +33904,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2534Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2534Slc - var yyhl2534 bool = l >= 0 - for yyj2534 := 0; ; yyj2534++ { - if yyhl2534 { - if yyj2534 >= l { + var yys2598Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2598Slc + var yyhl2598 bool = l >= 0 + for yyj2598 := 0; ; yyj2598++ { + if yyhl2598 { + if yyj2598 >= l { break } } else { @@ -33230,32 +33918,32 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2534Slc = r.DecodeBytes(yys2534Slc, true, true) - yys2534 := string(yys2534Slc) + yys2598Slc = r.DecodeBytes(yys2598Slc, true, true) + yys2598 := string(yys2598Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2534 { + switch yys2598 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2535 := &x.Ports - yym2536 := z.DecBinary() - _ = yym2536 + yyv2599 := &x.Ports + yym2600 := z.DecBinary() + _ = yym2600 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2535), d) + h.decSliceServicePort((*[]ServicePort)(yyv2599), d) } } case "selector": if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2537 := &x.Selector - yym2538 := z.DecBinary() - _ = yym2538 + yyv2601 := &x.Selector + yym2602 := z.DecBinary() + _ = yym2602 if false { } else { - z.F.DecMapStringStringX(yyv2537, false, d) + z.F.DecMapStringStringX(yyv2601, false, d) } } case "clusterIP": @@ -33274,24 +33962,24 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2541 := &x.ExternalIPs - yym2542 := z.DecBinary() - _ = yym2542 + yyv2605 := &x.ExternalIPs + yym2606 := z.DecBinary() + _ = yym2606 if false { } else { - z.F.DecSliceStringX(yyv2541, false, d) + z.F.DecSliceStringX(yyv2605, false, d) } } case "deprecatedPublicIPs": if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2543 := &x.DeprecatedPublicIPs - yym2544 := z.DecBinary() - _ = yym2544 + yyv2607 := &x.DeprecatedPublicIPs + yym2608 := z.DecBinary() + _ = yym2608 if false { } else { - z.F.DecSliceStringX(yyv2543, false, d) + z.F.DecSliceStringX(yyv2607, false, d) } } case "sessionAffinity": @@ -33310,12 +33998,12 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2547 := &x.LoadBalancerSourceRanges - yym2548 := z.DecBinary() - _ = yym2548 + yyv2611 := &x.LoadBalancerSourceRanges + yym2612 := z.DecBinary() + _ = yym2612 if false { } else { - z.F.DecSliceStringX(yyv2547, false, d) + z.F.DecSliceStringX(yyv2611, false, d) } } case "externalName": @@ -33325,9 +34013,9 @@ func (x *ServiceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.ExternalName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2534) - } // end switch yys2534 - } // end for yyj2534 + z.DecStructFieldNotFound(-1, yys2598) + } // end switch yys2598 + } // end for yyj2598 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33335,16 +34023,16 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2550 int - var yyb2550 bool - var yyhl2550 bool = l >= 0 - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + var yyj2614 int + var yyb2614 bool + var yyhl2614 bool = l >= 0 + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33352,21 +34040,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2551 := &x.Ports - yym2552 := z.DecBinary() - _ = yym2552 + yyv2615 := &x.Ports + yym2616 := z.DecBinary() + _ = yym2616 if false { } else { - h.decSliceServicePort((*[]ServicePort)(yyv2551), d) + h.decSliceServicePort((*[]ServicePort)(yyv2615), d) } } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33374,21 +34062,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Selector = nil } else { - yyv2553 := &x.Selector - yym2554 := z.DecBinary() - _ = yym2554 + yyv2617 := &x.Selector + yym2618 := z.DecBinary() + _ = yym2618 if false { } else { - z.F.DecMapStringStringX(yyv2553, false, d) + z.F.DecMapStringStringX(yyv2617, false, d) } } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33398,13 +34086,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ClusterIP = string(r.DecodeString()) } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33414,13 +34102,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = ServiceType(r.DecodeString()) } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33428,21 +34116,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ExternalIPs = nil } else { - yyv2557 := &x.ExternalIPs - yym2558 := z.DecBinary() - _ = yym2558 + yyv2621 := &x.ExternalIPs + yym2622 := z.DecBinary() + _ = yym2622 if false { } else { - z.F.DecSliceStringX(yyv2557, false, d) + z.F.DecSliceStringX(yyv2621, false, d) } } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33450,21 +34138,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DeprecatedPublicIPs = nil } else { - yyv2559 := &x.DeprecatedPublicIPs - yym2560 := z.DecBinary() - _ = yym2560 + yyv2623 := &x.DeprecatedPublicIPs + yym2624 := z.DecBinary() + _ = yym2624 if false { } else { - z.F.DecSliceStringX(yyv2559, false, d) + z.F.DecSliceStringX(yyv2623, false, d) } } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33474,13 +34162,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SessionAffinity = ServiceAffinity(r.DecodeString()) } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33490,13 +34178,13 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.LoadBalancerIP = string(r.DecodeString()) } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33504,21 +34192,21 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancerSourceRanges = nil } else { - yyv2563 := &x.LoadBalancerSourceRanges - yym2564 := z.DecBinary() - _ = yym2564 + yyv2627 := &x.LoadBalancerSourceRanges + yym2628 := z.DecBinary() + _ = yym2628 if false { } else { - z.F.DecSliceStringX(yyv2563, false, d) + z.F.DecSliceStringX(yyv2627, false, d) } } - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33529,17 +34217,17 @@ func (x *ServiceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.ExternalName = string(r.DecodeString()) } for { - yyj2550++ - if yyhl2550 { - yyb2550 = yyj2550 > l + yyj2614++ + if yyhl2614 { + yyb2614 = yyj2614 > l } else { - yyb2550 = r.CheckBreak() + yyb2614 = r.CheckBreak() } - if yyb2550 { + if yyb2614 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2550-1, "") + z.DecStructFieldNotFound(yyj2614-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33551,38 +34239,38 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2566 := z.EncBinary() - _ = yym2566 + yym2630 := z.EncBinary() + _ = yym2630 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2567 := !z.EncBinary() - yy2arr2567 := z.EncBasicHandle().StructToArray - var yyq2567 [5]bool - _, _, _ = yysep2567, yyq2567, yy2arr2567 - const yyr2567 bool = false - yyq2567[0] = x.Name != "" - yyq2567[1] = x.Protocol != "" - yyq2567[3] = true - yyq2567[4] = x.NodePort != 0 - var yynn2567 int - if yyr2567 || yy2arr2567 { + 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 { r.EncodeArrayStart(5) } else { - yynn2567 = 1 - for _, b := range yyq2567 { + yynn2631 = 1 + for _, b := range yyq2631 { if b { - yynn2567++ + yynn2631++ } } - r.EncodeMapStart(yynn2567) - yynn2567 = 0 + r.EncodeMapStart(yynn2631) + yynn2631 = 0 } - if yyr2567 || yy2arr2567 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2567[0] { - yym2569 := z.EncBinary() - _ = yym2569 + if yyq2631[0] { + yym2633 := z.EncBinary() + _ = yym2633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -33591,37 +34279,37 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2567[0] { + if yyq2631[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2570 := z.EncBinary() - _ = yym2570 + yym2634 := z.EncBinary() + _ = yym2634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2567 || yy2arr2567 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2567[1] { + if yyq2631[1] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2567[1] { + if yyq2631[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2567 || yy2arr2567 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2573 := z.EncBinary() - _ = yym2573 + yym2637 := z.EncBinary() + _ = yym2637 if false { } else { r.EncodeInt(int64(x.Port)) @@ -33630,51 +34318,51 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2574 := z.EncBinary() - _ = yym2574 + yym2638 := z.EncBinary() + _ = yym2638 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2567 || yy2arr2567 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2567[3] { - yy2576 := &x.TargetPort - yym2577 := z.EncBinary() - _ = yym2577 + if yyq2631[3] { + yy2640 := &x.TargetPort + yym2641 := z.EncBinary() + _ = yym2641 if false { - } else if z.HasExtensions() && z.EncExt(yy2576) { - } else if !yym2577 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2576) + } else if z.HasExtensions() && z.EncExt(yy2640) { + } else if !yym2641 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2640) } else { - z.EncFallback(yy2576) + z.EncFallback(yy2640) } } else { r.EncodeNil() } } else { - if yyq2567[3] { + if yyq2631[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetPort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2578 := &x.TargetPort - yym2579 := z.EncBinary() - _ = yym2579 + yy2642 := &x.TargetPort + yym2643 := z.EncBinary() + _ = yym2643 if false { - } else if z.HasExtensions() && z.EncExt(yy2578) { - } else if !yym2579 && z.IsJSONHandle() { - z.EncJSONMarshal(yy2578) + } else if z.HasExtensions() && z.EncExt(yy2642) { + } else if !yym2643 && z.IsJSONHandle() { + z.EncJSONMarshal(yy2642) } else { - z.EncFallback(yy2578) + z.EncFallback(yy2642) } } } - if yyr2567 || yy2arr2567 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2567[4] { - yym2581 := z.EncBinary() - _ = yym2581 + if yyq2631[4] { + yym2645 := z.EncBinary() + _ = yym2645 if false { } else { r.EncodeInt(int64(x.NodePort)) @@ -33683,19 +34371,19 @@ func (x *ServicePort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq2567[4] { + if yyq2631[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2582 := z.EncBinary() - _ = yym2582 + yym2646 := z.EncBinary() + _ = yym2646 if false { } else { r.EncodeInt(int64(x.NodePort)) } } } - if yyr2567 || yy2arr2567 { + if yyr2631 || yy2arr2631 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -33708,25 +34396,25 @@ func (x *ServicePort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2583 := z.DecBinary() - _ = yym2583 + yym2647 := z.DecBinary() + _ = yym2647 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2584 := r.ContainerType() - if yyct2584 == codecSelferValueTypeMap1234 { - yyl2584 := r.ReadMapStart() - if yyl2584 == 0 { + yyct2648 := r.ContainerType() + if yyct2648 == codecSelferValueTypeMap1234 { + yyl2648 := r.ReadMapStart() + if yyl2648 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2584, d) + x.codecDecodeSelfFromMap(yyl2648, d) } - } else if yyct2584 == codecSelferValueTypeArray1234 { - yyl2584 := r.ReadArrayStart() - if yyl2584 == 0 { + } else if yyct2648 == codecSelferValueTypeArray1234 { + yyl2648 := r.ReadArrayStart() + if yyl2648 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2584, d) + x.codecDecodeSelfFromArray(yyl2648, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -33738,12 +34426,12 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2585Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2585Slc - var yyhl2585 bool = l >= 0 - for yyj2585 := 0; ; yyj2585++ { - if yyhl2585 { - if yyj2585 >= l { + var yys2649Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2649Slc + var yyhl2649 bool = l >= 0 + for yyj2649 := 0; ; yyj2649++ { + if yyhl2649 { + if yyj2649 >= l { break } } else { @@ -33752,10 +34440,10 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2585Slc = r.DecodeBytes(yys2585Slc, true, true) - yys2585 := string(yys2585Slc) + yys2649Slc = r.DecodeBytes(yys2649Slc, true, true) + yys2649 := string(yys2649Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2585 { + switch yys2649 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -33778,15 +34466,15 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2589 := &x.TargetPort - yym2590 := z.DecBinary() - _ = yym2590 + yyv2653 := &x.TargetPort + yym2654 := z.DecBinary() + _ = yym2654 if false { - } else if z.HasExtensions() && z.DecExt(yyv2589) { - } else if !yym2590 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2589) + } else if z.HasExtensions() && z.DecExt(yyv2653) { + } else if !yym2654 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2653) } else { - z.DecFallback(yyv2589, false) + z.DecFallback(yyv2653, false) } } case "nodePort": @@ -33796,9 +34484,9 @@ func (x *ServicePort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2585) - } // end switch yys2585 - } // end for yyj2585 + z.DecStructFieldNotFound(-1, yys2649) + } // end switch yys2649 + } // end for yyj2649 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -33806,16 +34494,16 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2592 int - var yyb2592 bool - var yyhl2592 bool = l >= 0 - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + var yyj2656 int + var yyb2656 bool + var yyhl2656 bool = l >= 0 + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2592 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2592 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33825,13 +34513,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2592 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2592 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33841,13 +34529,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Protocol = Protocol(r.DecodeString()) } - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2592 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2592 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33857,13 +34545,13 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2592 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2592 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33871,24 +34559,24 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TargetPort = pkg4_intstr.IntOrString{} } else { - yyv2596 := &x.TargetPort - yym2597 := z.DecBinary() - _ = yym2597 + yyv2660 := &x.TargetPort + yym2661 := z.DecBinary() + _ = yym2661 if false { - } else if z.HasExtensions() && z.DecExt(yyv2596) { - } else if !yym2597 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv2596) + } else if z.HasExtensions() && z.DecExt(yyv2660) { + } else if !yym2661 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv2660) } else { - z.DecFallback(yyv2596, false) + z.DecFallback(yyv2660, false) } } - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2592 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2592 { + if yyb2656 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -33899,17 +34587,17 @@ func (x *ServicePort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.NodePort = int32(r.DecodeInt(32)) } for { - yyj2592++ - if yyhl2592 { - yyb2592 = yyj2592 > l + yyj2656++ + if yyhl2656 { + yyb2656 = yyj2656 > l } else { - yyb2592 = r.CheckBreak() + yyb2656 = r.CheckBreak() } - if yyb2592 { + if yyb2656 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2592-1, "") + z.DecStructFieldNotFound(yyj2656-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -33921,39 +34609,39 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2599 := z.EncBinary() - _ = yym2599 + yym2663 := z.EncBinary() + _ = yym2663 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2600 := !z.EncBinary() - yy2arr2600 := z.EncBasicHandle().StructToArray - var yyq2600 [5]bool - _, _, _ = yysep2600, yyq2600, yy2arr2600 - const yyr2600 bool = false - yyq2600[0] = x.Kind != "" - yyq2600[1] = x.APIVersion != "" - yyq2600[2] = true - yyq2600[3] = true - yyq2600[4] = true - var yynn2600 int - if yyr2600 || yy2arr2600 { + 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 { r.EncodeArrayStart(5) } else { - yynn2600 = 0 - for _, b := range yyq2600 { + yynn2664 = 0 + for _, b := range yyq2664 { if b { - yynn2600++ + yynn2664++ } } - r.EncodeMapStart(yynn2600) - yynn2600 = 0 + r.EncodeMapStart(yynn2664) + yynn2664 = 0 } - if yyr2600 || yy2arr2600 { + if yyr2664 || yy2arr2664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2600[0] { - yym2602 := z.EncBinary() - _ = yym2602 + if yyq2664[0] { + yym2666 := z.EncBinary() + _ = yym2666 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -33962,23 +34650,23 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2600[0] { + if yyq2664[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2603 := z.EncBinary() - _ = yym2603 + yym2667 := z.EncBinary() + _ = yym2667 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2600 || yy2arr2600 { + if yyr2664 || yy2arr2664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2600[1] { - yym2605 := z.EncBinary() - _ = yym2605 + if yyq2664[1] { + yym2669 := z.EncBinary() + _ = yym2669 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -33987,70 +34675,70 @@ func (x *Service) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2600[1] { + if yyq2664[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2606 := z.EncBinary() - _ = yym2606 + yym2670 := z.EncBinary() + _ = yym2670 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2600 || yy2arr2600 { + if yyr2664 || yy2arr2664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2600[2] { - yy2608 := &x.ObjectMeta - yy2608.CodecEncodeSelf(e) + if yyq2664[2] { + yy2672 := &x.ObjectMeta + yy2672.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2600[2] { + if yyq2664[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2609 := &x.ObjectMeta - yy2609.CodecEncodeSelf(e) + yy2673 := &x.ObjectMeta + yy2673.CodecEncodeSelf(e) } } - if yyr2600 || yy2arr2600 { + if yyr2664 || yy2arr2664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2600[3] { - yy2611 := &x.Spec - yy2611.CodecEncodeSelf(e) + if yyq2664[3] { + yy2675 := &x.Spec + yy2675.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2600[3] { + if yyq2664[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2612 := &x.Spec - yy2612.CodecEncodeSelf(e) + yy2676 := &x.Spec + yy2676.CodecEncodeSelf(e) } } - if yyr2600 || yy2arr2600 { + if yyr2664 || yy2arr2664 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2600[4] { - yy2614 := &x.Status - yy2614.CodecEncodeSelf(e) + if yyq2664[4] { + yy2678 := &x.Status + yy2678.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2600[4] { + if yyq2664[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2615 := &x.Status - yy2615.CodecEncodeSelf(e) + yy2679 := &x.Status + yy2679.CodecEncodeSelf(e) } } - if yyr2600 || yy2arr2600 { + if yyr2664 || yy2arr2664 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34063,25 +34751,25 @@ func (x *Service) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2616 := z.DecBinary() - _ = yym2616 + yym2680 := z.DecBinary() + _ = yym2680 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2617 := r.ContainerType() - if yyct2617 == codecSelferValueTypeMap1234 { - yyl2617 := r.ReadMapStart() - if yyl2617 == 0 { + yyct2681 := r.ContainerType() + if yyct2681 == codecSelferValueTypeMap1234 { + yyl2681 := r.ReadMapStart() + if yyl2681 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2617, d) + x.codecDecodeSelfFromMap(yyl2681, d) } - } else if yyct2617 == codecSelferValueTypeArray1234 { - yyl2617 := r.ReadArrayStart() - if yyl2617 == 0 { + } else if yyct2681 == codecSelferValueTypeArray1234 { + yyl2681 := r.ReadArrayStart() + if yyl2681 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2617, d) + x.codecDecodeSelfFromArray(yyl2681, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34093,12 +34781,12 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2618Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2618Slc - var yyhl2618 bool = l >= 0 - for yyj2618 := 0; ; yyj2618++ { - if yyhl2618 { - if yyj2618 >= l { + var yys2682Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2682Slc + var yyhl2682 bool = l >= 0 + for yyj2682 := 0; ; yyj2682++ { + if yyhl2682 { + if yyj2682 >= l { break } } else { @@ -34107,10 +34795,10 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2618Slc = r.DecodeBytes(yys2618Slc, true, true) - yys2618 := string(yys2618Slc) + yys2682Slc = r.DecodeBytes(yys2682Slc, true, true) + yys2682 := string(yys2682Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2618 { + switch yys2682 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34127,27 +34815,27 @@ func (x *Service) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2621 := &x.ObjectMeta - yyv2621.CodecDecodeSelf(d) + yyv2685 := &x.ObjectMeta + yyv2685.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2622 := &x.Spec - yyv2622.CodecDecodeSelf(d) + yyv2686 := &x.Spec + yyv2686.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2623 := &x.Status - yyv2623.CodecDecodeSelf(d) + yyv2687 := &x.Status + yyv2687.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2618) - } // end switch yys2618 - } // end for yyj2618 + z.DecStructFieldNotFound(-1, yys2682) + } // end switch yys2682 + } // end for yyj2682 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34155,16 +34843,16 @@ func (x *Service) 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 yyj2688 int + var yyb2688 bool + var yyhl2688 bool = l >= 0 + yyj2688++ + if yyhl2688 { + yyb2688 = yyj2688 > l } else { - yyb2624 = r.CheckBreak() + yyb2688 = r.CheckBreak() } - if yyb2624 { + if yyb2688 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34174,13 +34862,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + yyj2688++ + if yyhl2688 { + yyb2688 = yyj2688 > l } else { - yyb2624 = r.CheckBreak() + yyb2688 = r.CheckBreak() } - if yyb2624 { + if yyb2688 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34190,13 +34878,13 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + yyj2688++ + if yyhl2688 { + yyb2688 = yyj2688 > l } else { - yyb2624 = r.CheckBreak() + yyb2688 = r.CheckBreak() } - if yyb2624 { + if yyb2688 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34204,16 +34892,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2627 := &x.ObjectMeta - yyv2627.CodecDecodeSelf(d) + yyv2691 := &x.ObjectMeta + yyv2691.CodecDecodeSelf(d) } - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + yyj2688++ + if yyhl2688 { + yyb2688 = yyj2688 > l } else { - yyb2624 = r.CheckBreak() + yyb2688 = r.CheckBreak() } - if yyb2624 { + if yyb2688 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34221,16 +34909,16 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ServiceSpec{} } else { - yyv2628 := &x.Spec - yyv2628.CodecDecodeSelf(d) + yyv2692 := &x.Spec + yyv2692.CodecDecodeSelf(d) } - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + yyj2688++ + if yyhl2688 { + yyb2688 = yyj2688 > l } else { - yyb2624 = r.CheckBreak() + yyb2688 = r.CheckBreak() } - if yyb2624 { + if yyb2688 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34238,21 +34926,21 @@ func (x *Service) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ServiceStatus{} } else { - yyv2629 := &x.Status - yyv2629.CodecDecodeSelf(d) + yyv2693 := &x.Status + yyv2693.CodecDecodeSelf(d) } for { - yyj2624++ - if yyhl2624 { - yyb2624 = yyj2624 > l + yyj2688++ + if yyhl2688 { + yyb2688 = yyj2688 > l } else { - yyb2624 = r.CheckBreak() + yyb2688 = r.CheckBreak() } - if yyb2624 { + if yyb2688 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2624-1, "") + z.DecStructFieldNotFound(yyj2688-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34264,37 +34952,37 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2630 := z.EncBinary() - _ = yym2630 + yym2694 := z.EncBinary() + _ = yym2694 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2631 := !z.EncBinary() - yy2arr2631 := z.EncBasicHandle().StructToArray - var yyq2631 [4]bool - _, _, _ = yysep2631, yyq2631, yy2arr2631 - const yyr2631 bool = false - yyq2631[0] = x.Kind != "" - yyq2631[1] = x.APIVersion != "" - yyq2631[2] = true - var yynn2631 int - if yyr2631 || yy2arr2631 { + 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 { r.EncodeArrayStart(4) } else { - yynn2631 = 1 - for _, b := range yyq2631 { + yynn2695 = 1 + for _, b := range yyq2695 { if b { - yynn2631++ + yynn2695++ } } - r.EncodeMapStart(yynn2631) - yynn2631 = 0 + r.EncodeMapStart(yynn2695) + yynn2695 = 0 } - if yyr2631 || yy2arr2631 { + if yyr2695 || yy2arr2695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[0] { - yym2633 := z.EncBinary() - _ = yym2633 + if yyq2695[0] { + yym2697 := z.EncBinary() + _ = yym2697 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34303,23 +34991,23 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2631[0] { + if yyq2695[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2634 := z.EncBinary() - _ = yym2634 + yym2698 := z.EncBinary() + _ = yym2698 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2631 || yy2arr2631 { + if yyr2695 || yy2arr2695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[1] { - yym2636 := z.EncBinary() - _ = yym2636 + if yyq2695[1] { + yym2700 := z.EncBinary() + _ = yym2700 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34328,54 +35016,54 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2631[1] { + if yyq2695[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2637 := z.EncBinary() - _ = yym2637 + yym2701 := z.EncBinary() + _ = yym2701 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2631 || yy2arr2631 { + if yyr2695 || yy2arr2695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2631[2] { - yy2639 := &x.ListMeta - yym2640 := z.EncBinary() - _ = yym2640 + if yyq2695[2] { + yy2703 := &x.ListMeta + yym2704 := z.EncBinary() + _ = yym2704 if false { - } else if z.HasExtensions() && z.EncExt(yy2639) { + } else if z.HasExtensions() && z.EncExt(yy2703) { } else { - z.EncFallback(yy2639) + z.EncFallback(yy2703) } } else { r.EncodeNil() } } else { - if yyq2631[2] { + if yyq2695[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2641 := &x.ListMeta - yym2642 := z.EncBinary() - _ = yym2642 + yy2705 := &x.ListMeta + yym2706 := z.EncBinary() + _ = yym2706 if false { - } else if z.HasExtensions() && z.EncExt(yy2641) { + } else if z.HasExtensions() && z.EncExt(yy2705) { } else { - z.EncFallback(yy2641) + z.EncFallback(yy2705) } } } - if yyr2631 || yy2arr2631 { + if yyr2695 || yy2arr2695 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2644 := z.EncBinary() - _ = yym2644 + yym2708 := z.EncBinary() + _ = yym2708 if false { } else { h.encSliceService(([]Service)(x.Items), e) @@ -34388,15 +35076,15 @@ func (x *ServiceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2645 := z.EncBinary() - _ = yym2645 + yym2709 := z.EncBinary() + _ = yym2709 if false { } else { h.encSliceService(([]Service)(x.Items), e) } } } - if yyr2631 || yy2arr2631 { + if yyr2695 || yy2arr2695 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34409,25 +35097,25 @@ func (x *ServiceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2646 := z.DecBinary() - _ = yym2646 + yym2710 := z.DecBinary() + _ = yym2710 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2647 := r.ContainerType() - if yyct2647 == codecSelferValueTypeMap1234 { - yyl2647 := r.ReadMapStart() - if yyl2647 == 0 { + yyct2711 := r.ContainerType() + if yyct2711 == codecSelferValueTypeMap1234 { + yyl2711 := r.ReadMapStart() + if yyl2711 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2647, d) + x.codecDecodeSelfFromMap(yyl2711, d) } - } else if yyct2647 == codecSelferValueTypeArray1234 { - yyl2647 := r.ReadArrayStart() - if yyl2647 == 0 { + } else if yyct2711 == codecSelferValueTypeArray1234 { + yyl2711 := r.ReadArrayStart() + if yyl2711 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2647, d) + x.codecDecodeSelfFromArray(yyl2711, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -34439,12 +35127,12 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2648Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2648Slc - var yyhl2648 bool = l >= 0 - for yyj2648 := 0; ; yyj2648++ { - if yyhl2648 { - if yyj2648 >= l { + var yys2712Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2712Slc + var yyhl2712 bool = l >= 0 + for yyj2712 := 0; ; yyj2712++ { + if yyhl2712 { + if yyj2712 >= l { break } } else { @@ -34453,10 +35141,10 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2648Slc = r.DecodeBytes(yys2648Slc, true, true) - yys2648 := string(yys2648Slc) + yys2712Slc = r.DecodeBytes(yys2712Slc, true, true) + yys2712 := string(yys2712Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2648 { + switch yys2712 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -34473,31 +35161,31 @@ func (x *ServiceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2651 := &x.ListMeta - yym2652 := z.DecBinary() - _ = yym2652 + yyv2715 := &x.ListMeta + yym2716 := z.DecBinary() + _ = yym2716 if false { - } else if z.HasExtensions() && z.DecExt(yyv2651) { + } else if z.HasExtensions() && z.DecExt(yyv2715) { } else { - z.DecFallback(yyv2651, false) + z.DecFallback(yyv2715, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2653 := &x.Items - yym2654 := z.DecBinary() - _ = yym2654 + yyv2717 := &x.Items + yym2718 := z.DecBinary() + _ = yym2718 if false { } else { - h.decSliceService((*[]Service)(yyv2653), d) + h.decSliceService((*[]Service)(yyv2717), d) } } default: - z.DecStructFieldNotFound(-1, yys2648) - } // end switch yys2648 - } // end for yyj2648 + z.DecStructFieldNotFound(-1, yys2712) + } // end switch yys2712 + } // end for yyj2712 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -34505,16 +35193,16 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2655 int - var yyb2655 bool - var yyhl2655 bool = l >= 0 - yyj2655++ - if yyhl2655 { - yyb2655 = yyj2655 > l + var yyj2719 int + var yyb2719 bool + var yyhl2719 bool = l >= 0 + yyj2719++ + if yyhl2719 { + yyb2719 = yyj2719 > l } else { - yyb2655 = r.CheckBreak() + yyb2719 = r.CheckBreak() } - if yyb2655 { + if yyb2719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34524,13 +35212,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2655++ - if yyhl2655 { - yyb2655 = yyj2655 > l + yyj2719++ + if yyhl2719 { + yyb2719 = yyj2719 > l } else { - yyb2655 = r.CheckBreak() + yyb2719 = r.CheckBreak() } - if yyb2655 { + if yyb2719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34540,13 +35228,13 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2655++ - if yyhl2655 { - yyb2655 = yyj2655 > l + yyj2719++ + if yyhl2719 { + yyb2719 = yyj2719 > l } else { - yyb2655 = r.CheckBreak() + yyb2719 = r.CheckBreak() } - if yyb2655 { + if yyb2719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34554,22 +35242,22 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2658 := &x.ListMeta - yym2659 := z.DecBinary() - _ = yym2659 + yyv2722 := &x.ListMeta + yym2723 := z.DecBinary() + _ = yym2723 if false { - } else if z.HasExtensions() && z.DecExt(yyv2658) { + } else if z.HasExtensions() && z.DecExt(yyv2722) { } else { - z.DecFallback(yyv2658, false) + z.DecFallback(yyv2722, false) } } - yyj2655++ - if yyhl2655 { - yyb2655 = yyj2655 > l + yyj2719++ + if yyhl2719 { + yyb2719 = yyj2719 > l } else { - yyb2655 = r.CheckBreak() + yyb2719 = r.CheckBreak() } - if yyb2655 { + if yyb2719 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -34577,26 +35265,26 @@ func (x *ServiceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2660 := &x.Items - yym2661 := z.DecBinary() - _ = yym2661 + yyv2724 := &x.Items + yym2725 := z.DecBinary() + _ = yym2725 if false { } else { - h.decSliceService((*[]Service)(yyv2660), d) + h.decSliceService((*[]Service)(yyv2724), d) } } for { - yyj2655++ - if yyhl2655 { - yyb2655 = yyj2655 > l + yyj2719++ + if yyhl2719 { + yyb2719 = yyj2719 > l } else { - yyb2655 = r.CheckBreak() + yyb2719 = r.CheckBreak() } - if yyb2655 { + if yyb2719 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2655-1, "") + z.DecStructFieldNotFound(yyj2719-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -34608,39 +35296,39 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2662 := z.EncBinary() - _ = yym2662 + yym2726 := z.EncBinary() + _ = yym2726 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2663 := !z.EncBinary() - yy2arr2663 := z.EncBasicHandle().StructToArray - var yyq2663 [5]bool - _, _, _ = yysep2663, yyq2663, yy2arr2663 - const yyr2663 bool = false - yyq2663[0] = x.Kind != "" - yyq2663[1] = x.APIVersion != "" - yyq2663[2] = true - yyq2663[3] = len(x.Secrets) != 0 - yyq2663[4] = len(x.ImagePullSecrets) != 0 - var yynn2663 int - if yyr2663 || yy2arr2663 { + 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 { r.EncodeArrayStart(5) } else { - yynn2663 = 0 - for _, b := range yyq2663 { + yynn2727 = 0 + for _, b := range yyq2727 { if b { - yynn2663++ + yynn2727++ } } - r.EncodeMapStart(yynn2663) - yynn2663 = 0 + r.EncodeMapStart(yynn2727) + yynn2727 = 0 } - if yyr2663 || yy2arr2663 { + if yyr2727 || yy2arr2727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2663[0] { - yym2665 := z.EncBinary() - _ = yym2665 + if yyq2727[0] { + yym2729 := z.EncBinary() + _ = yym2729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -34649,23 +35337,23 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2663[0] { + if yyq2727[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2666 := z.EncBinary() - _ = yym2666 + yym2730 := z.EncBinary() + _ = yym2730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2663 || yy2arr2663 { + if yyr2727 || yy2arr2727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2663[1] { - yym2668 := z.EncBinary() - _ = yym2668 + if yyq2727[1] { + yym2732 := z.EncBinary() + _ = yym2732 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -34674,43 +35362,43 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2663[1] { + if yyq2727[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2669 := z.EncBinary() - _ = yym2669 + yym2733 := z.EncBinary() + _ = yym2733 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2663 || yy2arr2663 { + if yyr2727 || yy2arr2727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2663[2] { - yy2671 := &x.ObjectMeta - yy2671.CodecEncodeSelf(e) + if yyq2727[2] { + yy2735 := &x.ObjectMeta + yy2735.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2663[2] { + if yyq2727[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2672 := &x.ObjectMeta - yy2672.CodecEncodeSelf(e) + yy2736 := &x.ObjectMeta + yy2736.CodecEncodeSelf(e) } } - if yyr2663 || yy2arr2663 { + if yyr2727 || yy2arr2727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2663[3] { + if yyq2727[3] { if x.Secrets == nil { r.EncodeNil() } else { - yym2674 := z.EncBinary() - _ = yym2674 + yym2738 := z.EncBinary() + _ = yym2738 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -34720,15 +35408,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2663[3] { + if yyq2727[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Secrets == nil { r.EncodeNil() } else { - yym2675 := z.EncBinary() - _ = yym2675 + yym2739 := z.EncBinary() + _ = yym2739 if false { } else { h.encSliceObjectReference(([]ObjectReference)(x.Secrets), e) @@ -34736,14 +35424,14 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2663 || yy2arr2663 { + if yyr2727 || yy2arr2727 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2663[4] { + if yyq2727[4] { if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2677 := z.EncBinary() - _ = yym2677 + yym2741 := z.EncBinary() + _ = yym2741 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -34753,15 +35441,15 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2663[4] { + if yyq2727[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("imagePullSecrets")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ImagePullSecrets == nil { r.EncodeNil() } else { - yym2678 := z.EncBinary() - _ = yym2678 + yym2742 := z.EncBinary() + _ = yym2742 if false { } else { h.encSliceLocalObjectReference(([]LocalObjectReference)(x.ImagePullSecrets), e) @@ -34769,7 +35457,7 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2663 || yy2arr2663 { + if yyr2727 || yy2arr2727 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -34779,704 +35467,6 @@ func (x *ServiceAccount) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *ServiceAccount) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2679 := z.DecBinary() - _ = yym2679 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2680 := r.ContainerType() - if yyct2680 == codecSelferValueTypeMap1234 { - yyl2680 := r.ReadMapStart() - if yyl2680 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2680, d) - } - } else if yyct2680 == codecSelferValueTypeArray1234 { - yyl2680 := r.ReadArrayStart() - if yyl2680 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2680, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2681Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2681Slc - var yyhl2681 bool = l >= 0 - for yyj2681 := 0; ; yyj2681++ { - if yyhl2681 { - if yyj2681 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2681Slc = r.DecodeBytes(yys2681Slc, true, true) - yys2681 := string(yys2681Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2681 { - 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 = ObjectMeta{} - } else { - yyv2684 := &x.ObjectMeta - yyv2684.CodecDecodeSelf(d) - } - case "secrets": - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv2685 := &x.Secrets - yym2686 := z.DecBinary() - _ = yym2686 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2685), d) - } - } - case "imagePullSecrets": - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv2687 := &x.ImagePullSecrets - yym2688 := z.DecBinary() - _ = yym2688 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2687), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys2681) - } // end switch yys2681 - } // end for yyj2681 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2689 int - var yyb2689 bool - var yyhl2689 bool = l >= 0 - yyj2689++ - if yyhl2689 { - yyb2689 = yyj2689 > l - } else { - yyb2689 = r.CheckBreak() - } - if yyb2689 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2689++ - if yyhl2689 { - yyb2689 = yyj2689 > l - } else { - yyb2689 = r.CheckBreak() - } - if yyb2689 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2689++ - if yyhl2689 { - yyb2689 = yyj2689 > l - } else { - yyb2689 = r.CheckBreak() - } - if yyb2689 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv2692 := &x.ObjectMeta - yyv2692.CodecDecodeSelf(d) - } - yyj2689++ - if yyhl2689 { - yyb2689 = yyj2689 > l - } else { - yyb2689 = r.CheckBreak() - } - if yyb2689 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Secrets = nil - } else { - yyv2693 := &x.Secrets - yym2694 := z.DecBinary() - _ = yym2694 - if false { - } else { - h.decSliceObjectReference((*[]ObjectReference)(yyv2693), d) - } - } - yyj2689++ - if yyhl2689 { - yyb2689 = yyj2689 > l - } else { - yyb2689 = r.CheckBreak() - } - if yyb2689 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ImagePullSecrets = nil - } else { - yyv2695 := &x.ImagePullSecrets - yym2696 := z.DecBinary() - _ = yym2696 - if false { - } else { - h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2695), d) - } - } - for { - yyj2689++ - if yyhl2689 { - yyb2689 = yyj2689 > l - } else { - yyb2689 = r.CheckBreak() - } - if yyb2689 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2689-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2697 := z.EncBinary() - _ = yym2697 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2698 := !z.EncBinary() - yy2arr2698 := z.EncBasicHandle().StructToArray - var yyq2698 [4]bool - _, _, _ = yysep2698, yyq2698, yy2arr2698 - const yyr2698 bool = false - yyq2698[0] = x.Kind != "" - yyq2698[1] = x.APIVersion != "" - yyq2698[2] = true - var yynn2698 int - if yyr2698 || yy2arr2698 { - r.EncodeArrayStart(4) - } else { - yynn2698 = 1 - for _, b := range yyq2698 { - if b { - yynn2698++ - } - } - r.EncodeMapStart(yynn2698) - yynn2698 = 0 - } - if yyr2698 || yy2arr2698 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2698[0] { - yym2700 := z.EncBinary() - _ = yym2700 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2698[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2701 := z.EncBinary() - _ = yym2701 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2698 || yy2arr2698 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2698[1] { - yym2703 := z.EncBinary() - _ = yym2703 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2698[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2704 := z.EncBinary() - _ = yym2704 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2698 || yy2arr2698 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2698[2] { - yy2706 := &x.ListMeta - yym2707 := z.EncBinary() - _ = yym2707 - if false { - } else if z.HasExtensions() && z.EncExt(yy2706) { - } else { - z.EncFallback(yy2706) - } - } else { - r.EncodeNil() - } - } else { - if yyq2698[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2708 := &x.ListMeta - yym2709 := z.EncBinary() - _ = yym2709 - if false { - } else if z.HasExtensions() && z.EncExt(yy2708) { - } else { - z.EncFallback(yy2708) - } - } - } - if yyr2698 || yy2arr2698 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym2711 := z.EncBinary() - _ = yym2711 - if false { - } else { - h.encSliceServiceAccount(([]ServiceAccount)(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 { - yym2712 := z.EncBinary() - _ = yym2712 - if false { - } else { - h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) - } - } - } - if yyr2698 || yy2arr2698 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym2713 := z.DecBinary() - _ = yym2713 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct2714 := r.ContainerType() - if yyct2714 == codecSelferValueTypeMap1234 { - yyl2714 := r.ReadMapStart() - if yyl2714 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl2714, d) - } - } else if yyct2714 == codecSelferValueTypeArray1234 { - yyl2714 := r.ReadArrayStart() - if yyl2714 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl2714, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ServiceAccountList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys2715Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2715Slc - var yyhl2715 bool = l >= 0 - for yyj2715 := 0; ; yyj2715++ { - if yyhl2715 { - if yyj2715 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2715Slc = r.DecodeBytes(yys2715Slc, true, true) - yys2715 := string(yys2715Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2715 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv2718 := &x.ListMeta - yym2719 := z.DecBinary() - _ = yym2719 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2718) { - } else { - z.DecFallback(yyv2718, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2720 := &x.Items - yym2721 := z.DecBinary() - _ = yym2721 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2720), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys2715) - } // end switch yys2715 - } // end for yyj2715 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj2722 int - var yyb2722 bool - var yyhl2722 bool = l >= 0 - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l - } else { - yyb2722 = r.CheckBreak() - } - if yyb2722 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l - } else { - yyb2722 = r.CheckBreak() - } - if yyb2722 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l - } else { - yyb2722 = r.CheckBreak() - } - if yyb2722 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv2725 := &x.ListMeta - yym2726 := z.DecBinary() - _ = yym2726 - if false { - } else if z.HasExtensions() && z.DecExt(yyv2725) { - } else { - z.DecFallback(yyv2725, false) - } - } - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l - } else { - yyb2722 = r.CheckBreak() - } - if yyb2722 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv2727 := &x.Items - yym2728 := z.DecBinary() - _ = yym2728 - if false { - } else { - h.decSliceServiceAccount((*[]ServiceAccount)(yyv2727), d) - } - } - for { - yyj2722++ - if yyhl2722 { - yyb2722 = yyj2722 > l - } else { - yyb2722 = r.CheckBreak() - } - if yyb2722 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2722-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym2729 := z.EncBinary() - _ = yym2729 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep2730 := !z.EncBinary() - yy2arr2730 := z.EncBasicHandle().StructToArray - var yyq2730 [4]bool - _, _, _ = yysep2730, yyq2730, yy2arr2730 - const yyr2730 bool = false - yyq2730[0] = x.Kind != "" - yyq2730[1] = x.APIVersion != "" - yyq2730[2] = true - var yynn2730 int - if yyr2730 || yy2arr2730 { - r.EncodeArrayStart(4) - } else { - yynn2730 = 1 - for _, b := range yyq2730 { - if b { - yynn2730++ - } - } - r.EncodeMapStart(yynn2730) - yynn2730 = 0 - } - if yyr2730 || yy2arr2730 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2730[0] { - yym2732 := z.EncBinary() - _ = yym2732 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2730[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2733 := z.EncBinary() - _ = yym2733 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr2730 || yy2arr2730 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2730[1] { - yym2735 := z.EncBinary() - _ = yym2735 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq2730[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2736 := z.EncBinary() - _ = yym2736 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr2730 || yy2arr2730 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2730[2] { - yy2738 := &x.ObjectMeta - yy2738.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq2730[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2739 := &x.ObjectMeta - yy2739.CodecEncodeSelf(e) - } - } - if yyr2730 || yy2arr2730 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Subsets == nil { - r.EncodeNil() - } else { - yym2741 := z.EncBinary() - _ = yym2741 - if false { - } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("subsets")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Subsets == nil { - r.EncodeNil() - } else { - yym2742 := z.EncBinary() - _ = yym2742 - if false { - } else { - h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) - } - } - } - if yyr2730 || yy2arr2730 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -35506,7 +35496,7 @@ func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -35547,16 +35537,28 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yyv2748 := &x.ObjectMeta yyv2748.CodecDecodeSelf(d) } - case "subsets": + case "secrets": if r.TryDecodeAsNil() { - x.Subsets = nil + x.Secrets = nil } else { - yyv2749 := &x.Subsets + yyv2749 := &x.Secrets yym2750 := z.DecBinary() _ = yym2750 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2749), d) + h.decSliceObjectReference((*[]ObjectReference)(yyv2749), d) + } + } + case "imagePullSecrets": + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2751 := &x.ImagePullSecrets + yym2752 := z.DecBinary() + _ = yym2752 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2751), d) } } default: @@ -35566,20 +35568,20 @@ func (x *Endpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ServiceAccount) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2751 int - var yyb2751 bool - var yyhl2751 bool = l >= 0 - yyj2751++ - if yyhl2751 { - yyb2751 = yyj2751 > l + var yyj2753 int + var yyb2753 bool + var yyhl2753 bool = l >= 0 + yyj2753++ + if yyhl2753 { + yyb2753 = yyj2753 > l } else { - yyb2751 = r.CheckBreak() + yyb2753 = r.CheckBreak() } - if yyb2751 { + if yyb2753 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35589,13 +35591,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2751++ - if yyhl2751 { - yyb2751 = yyj2751 > l + yyj2753++ + if yyhl2753 { + yyb2753 = yyj2753 > l } else { - yyb2751 = r.CheckBreak() + yyb2753 = r.CheckBreak() } - if yyb2751 { + if yyb2753 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35605,13 +35607,13 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2751++ - if yyhl2751 { - yyb2751 = yyj2751 > l + yyj2753++ + if yyhl2753 { + yyb2753 = yyj2753 > l } else { - yyb2751 = r.CheckBreak() + yyb2753 = r.CheckBreak() } - if yyb2751 { + if yyb2753 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35619,16 +35621,702 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv2754 := &x.ObjectMeta - yyv2754.CodecDecodeSelf(d) + yyv2756 := &x.ObjectMeta + yyv2756.CodecDecodeSelf(d) } - yyj2751++ - if yyhl2751 { - yyb2751 = yyj2751 > l + yyj2753++ + if yyhl2753 { + yyb2753 = yyj2753 > l } else { - yyb2751 = r.CheckBreak() + yyb2753 = r.CheckBreak() } - if yyb2751 { + if yyb2753 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Secrets = nil + } else { + yyv2757 := &x.Secrets + yym2758 := z.DecBinary() + _ = yym2758 + if false { + } else { + h.decSliceObjectReference((*[]ObjectReference)(yyv2757), d) + } + } + yyj2753++ + if yyhl2753 { + yyb2753 = yyj2753 > l + } else { + yyb2753 = r.CheckBreak() + } + if yyb2753 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ImagePullSecrets = nil + } else { + yyv2759 := &x.ImagePullSecrets + yym2760 := z.DecBinary() + _ = yym2760 + if false { + } else { + h.decSliceLocalObjectReference((*[]LocalObjectReference)(yyv2759), d) + } + } + for { + yyj2753++ + if yyhl2753 { + yyb2753 = yyj2753 > l + } else { + yyb2753 = r.CheckBreak() + } + if yyb2753 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2753-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ServiceAccountList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2761 := z.EncBinary() + _ = yym2761 + 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 { + r.EncodeArrayStart(4) + } else { + yynn2762 = 1 + for _, b := range yyq2762 { + if b { + yynn2762++ + } + } + r.EncodeMapStart(yynn2762) + yynn2762 = 0 + } + if yyr2762 || yy2arr2762 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2762[0] { + yym2764 := z.EncBinary() + _ = yym2764 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2762[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2765 := z.EncBinary() + _ = yym2765 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2762 || yy2arr2762 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2762[1] { + yym2767 := z.EncBinary() + _ = yym2767 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2762[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2768 := z.EncBinary() + _ = yym2768 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2762 || yy2arr2762 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2762[2] { + yy2770 := &x.ListMeta + yym2771 := z.EncBinary() + _ = yym2771 + if false { + } else if z.HasExtensions() && z.EncExt(yy2770) { + } else { + z.EncFallback(yy2770) + } + } else { + r.EncodeNil() + } + } else { + if yyq2762[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2772 := &x.ListMeta + yym2773 := z.EncBinary() + _ = yym2773 + if false { + } else if z.HasExtensions() && z.EncExt(yy2772) { + } else { + z.EncFallback(yy2772) + } + } + } + if yyr2762 || yy2arr2762 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym2775 := z.EncBinary() + _ = yym2775 + if false { + } else { + h.encSliceServiceAccount(([]ServiceAccount)(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 { + yym2776 := z.EncBinary() + _ = yym2776 + if false { + } else { + h.encSliceServiceAccount(([]ServiceAccount)(x.Items), e) + } + } + } + if yyr2762 || yy2arr2762 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ServiceAccountList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2777 := z.DecBinary() + _ = yym2777 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2778 := r.ContainerType() + if yyct2778 == codecSelferValueTypeMap1234 { + yyl2778 := r.ReadMapStart() + if yyl2778 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2778, d) + } + } else if yyct2778 == codecSelferValueTypeArray1234 { + yyl2778 := r.ReadArrayStart() + if yyl2778 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2778, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2779Slc = r.DecodeBytes(yys2779Slc, true, true) + yys2779 := string(yys2779Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2779 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv2782 := &x.ListMeta + yym2783 := z.DecBinary() + _ = yym2783 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2782) { + } else { + z.DecFallback(yyv2782, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2784 := &x.Items + yym2785 := z.DecBinary() + _ = yym2785 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2784), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys2779) + } // end switch yys2779 + } // end for yyj2779 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ServiceAccountList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb2786 = r.CheckBreak() + } + if yyb2786 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2786++ + if yyhl2786 { + yyb2786 = yyj2786 > l + } else { + yyb2786 = r.CheckBreak() + } + if yyb2786 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2786++ + if yyhl2786 { + yyb2786 = yyj2786 > l + } else { + yyb2786 = r.CheckBreak() + } + if yyb2786 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv2789 := &x.ListMeta + yym2790 := z.DecBinary() + _ = yym2790 + if false { + } else if z.HasExtensions() && z.DecExt(yyv2789) { + } else { + z.DecFallback(yyv2789, false) + } + } + yyj2786++ + if yyhl2786 { + yyb2786 = yyj2786 > l + } else { + yyb2786 = r.CheckBreak() + } + if yyb2786 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv2791 := &x.Items + yym2792 := z.DecBinary() + _ = yym2792 + if false { + } else { + h.decSliceServiceAccount((*[]ServiceAccount)(yyv2791), d) + } + } + for { + yyj2786++ + if yyhl2786 { + yyb2786 = yyj2786 > l + } else { + yyb2786 = r.CheckBreak() + } + if yyb2786 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj2786-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Endpoints) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym2793 := z.EncBinary() + _ = yym2793 + 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 { + r.EncodeArrayStart(4) + } else { + yynn2794 = 1 + for _, b := range yyq2794 { + if b { + yynn2794++ + } + } + r.EncodeMapStart(yynn2794) + yynn2794 = 0 + } + if yyr2794 || yy2arr2794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2794[0] { + yym2796 := z.EncBinary() + _ = yym2796 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2794[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2797 := z.EncBinary() + _ = yym2797 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr2794 || yy2arr2794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2794[1] { + yym2799 := z.EncBinary() + _ = yym2799 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq2794[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym2800 := z.EncBinary() + _ = yym2800 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr2794 || yy2arr2794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq2794[2] { + yy2802 := &x.ObjectMeta + yy2802.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq2794[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy2803 := &x.ObjectMeta + yy2803.CodecEncodeSelf(e) + } + } + if yyr2794 || yy2arr2794 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2805 := z.EncBinary() + _ = yym2805 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("subsets")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Subsets == nil { + r.EncodeNil() + } else { + yym2806 := z.EncBinary() + _ = yym2806 + if false { + } else { + h.encSliceEndpointSubset(([]EndpointSubset)(x.Subsets), e) + } + } + } + if yyr2794 || yy2arr2794 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Endpoints) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym2807 := z.DecBinary() + _ = yym2807 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct2808 := r.ContainerType() + if yyct2808 == codecSelferValueTypeMap1234 { + yyl2808 := r.ReadMapStart() + if yyl2808 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl2808, d) + } + } else if yyct2808 == codecSelferValueTypeArray1234 { + yyl2808 := r.ReadArrayStart() + if yyl2808 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl2808, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys2809Slc = r.DecodeBytes(yys2809Slc, true, true) + yys2809 := string(yys2809Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys2809 { + 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 = ObjectMeta{} + } else { + yyv2812 := &x.ObjectMeta + yyv2812.CodecDecodeSelf(d) + } + case "subsets": + if r.TryDecodeAsNil() { + x.Subsets = nil + } else { + yyv2813 := &x.Subsets + yym2814 := z.DecBinary() + _ = yym2814 + if false { + } else { + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2813), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys2809) + } // end switch yys2809 + } // end for yyj2809 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb2815 = r.CheckBreak() + } + if yyb2815 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj2815++ + if yyhl2815 { + yyb2815 = yyj2815 > l + } else { + yyb2815 = r.CheckBreak() + } + if yyb2815 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj2815++ + if yyhl2815 { + yyb2815 = yyj2815 > l + } else { + yyb2815 = r.CheckBreak() + } + if yyb2815 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv2818 := &x.ObjectMeta + yyv2818.CodecDecodeSelf(d) + } + yyj2815++ + if yyhl2815 { + yyb2815 = yyj2815 > l + } else { + yyb2815 = r.CheckBreak() + } + if yyb2815 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35636,26 +36324,26 @@ func (x *Endpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Subsets = nil } else { - yyv2755 := &x.Subsets - yym2756 := z.DecBinary() - _ = yym2756 + yyv2819 := &x.Subsets + yym2820 := z.DecBinary() + _ = yym2820 if false { } else { - h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2755), d) + h.decSliceEndpointSubset((*[]EndpointSubset)(yyv2819), d) } } for { - yyj2751++ - if yyhl2751 { - yyb2751 = yyj2751 > l + yyj2815++ + if yyhl2815 { + yyb2815 = yyj2815 > l } else { - yyb2751 = r.CheckBreak() + yyb2815 = r.CheckBreak() } - if yyb2751 { + if yyb2815 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2751-1, "") + z.DecStructFieldNotFound(yyj2815-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35667,40 +36355,40 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2757 := z.EncBinary() - _ = yym2757 + yym2821 := z.EncBinary() + _ = yym2821 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2758 := !z.EncBinary() - yy2arr2758 := z.EncBasicHandle().StructToArray - var yyq2758 [3]bool - _, _, _ = yysep2758, yyq2758, yy2arr2758 - const yyr2758 bool = false - yyq2758[0] = len(x.Addresses) != 0 - yyq2758[1] = len(x.NotReadyAddresses) != 0 - yyq2758[2] = len(x.Ports) != 0 - var yynn2758 int - if yyr2758 || yy2arr2758 { + 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 { r.EncodeArrayStart(3) } else { - yynn2758 = 0 - for _, b := range yyq2758 { + yynn2822 = 0 + for _, b := range yyq2822 { if b { - yynn2758++ + yynn2822++ } } - r.EncodeMapStart(yynn2758) - yynn2758 = 0 + r.EncodeMapStart(yynn2822) + yynn2822 = 0 } - if yyr2758 || yy2arr2758 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2758[0] { + if yyq2822[0] { if x.Addresses == nil { r.EncodeNil() } else { - yym2760 := z.EncBinary() - _ = yym2760 + yym2824 := z.EncBinary() + _ = yym2824 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -35710,15 +36398,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2758[0] { + if yyq2822[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2761 := z.EncBinary() - _ = yym2761 + yym2825 := z.EncBinary() + _ = yym2825 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.Addresses), e) @@ -35726,14 +36414,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2758 || yy2arr2758 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2758[1] { + if yyq2822[1] { if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2763 := z.EncBinary() - _ = yym2763 + yym2827 := z.EncBinary() + _ = yym2827 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -35743,15 +36431,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2758[1] { + if yyq2822[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("notReadyAddresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NotReadyAddresses == nil { r.EncodeNil() } else { - yym2764 := z.EncBinary() - _ = yym2764 + yym2828 := z.EncBinary() + _ = yym2828 if false { } else { h.encSliceEndpointAddress(([]EndpointAddress)(x.NotReadyAddresses), e) @@ -35759,14 +36447,14 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2758 || yy2arr2758 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2758[2] { + if yyq2822[2] { if x.Ports == nil { r.EncodeNil() } else { - yym2766 := z.EncBinary() - _ = yym2766 + yym2830 := z.EncBinary() + _ = yym2830 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -35776,15 +36464,15 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2758[2] { + if yyq2822[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym2767 := z.EncBinary() - _ = yym2767 + yym2831 := z.EncBinary() + _ = yym2831 if false { } else { h.encSliceEndpointPort(([]EndpointPort)(x.Ports), e) @@ -35792,7 +36480,7 @@ func (x *EndpointSubset) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2758 || yy2arr2758 { + if yyr2822 || yy2arr2822 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -35805,25 +36493,25 @@ func (x *EndpointSubset) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2768 := z.DecBinary() - _ = yym2768 + yym2832 := z.DecBinary() + _ = yym2832 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2769 := r.ContainerType() - if yyct2769 == codecSelferValueTypeMap1234 { - yyl2769 := r.ReadMapStart() - if yyl2769 == 0 { + yyct2833 := r.ContainerType() + if yyct2833 == codecSelferValueTypeMap1234 { + yyl2833 := r.ReadMapStart() + if yyl2833 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2769, d) + x.codecDecodeSelfFromMap(yyl2833, d) } - } else if yyct2769 == codecSelferValueTypeArray1234 { - yyl2769 := r.ReadArrayStart() - if yyl2769 == 0 { + } else if yyct2833 == codecSelferValueTypeArray1234 { + yyl2833 := r.ReadArrayStart() + if yyl2833 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2769, d) + x.codecDecodeSelfFromArray(yyl2833, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -35835,12 +36523,12 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2770Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2770Slc - var yyhl2770 bool = l >= 0 - for yyj2770 := 0; ; yyj2770++ { - if yyhl2770 { - if yyj2770 >= l { + var yys2834Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2834Slc + var yyhl2834 bool = l >= 0 + for yyj2834 := 0; ; yyj2834++ { + if yyhl2834 { + if yyj2834 >= l { break } } else { @@ -35849,50 +36537,50 @@ func (x *EndpointSubset) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2770Slc = r.DecodeBytes(yys2770Slc, true, true) - yys2770 := string(yys2770Slc) + yys2834Slc = r.DecodeBytes(yys2834Slc, true, true) + yys2834 := string(yys2834Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2770 { + switch yys2834 { case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2771 := &x.Addresses - yym2772 := z.DecBinary() - _ = yym2772 + yyv2835 := &x.Addresses + yym2836 := z.DecBinary() + _ = yym2836 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2771), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2835), d) } } case "notReadyAddresses": if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2773 := &x.NotReadyAddresses - yym2774 := z.DecBinary() - _ = yym2774 + yyv2837 := &x.NotReadyAddresses + yym2838 := z.DecBinary() + _ = yym2838 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2773), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2837), d) } } case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2775 := &x.Ports - yym2776 := z.DecBinary() - _ = yym2776 + yyv2839 := &x.Ports + yym2840 := z.DecBinary() + _ = yym2840 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2775), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2839), d) } } default: - z.DecStructFieldNotFound(-1, yys2770) - } // end switch yys2770 - } // end for yyj2770 + z.DecStructFieldNotFound(-1, yys2834) + } // end switch yys2834 + } // end for yyj2834 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -35900,16 +36588,16 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2777 int - var yyb2777 bool - var yyhl2777 bool = l >= 0 - yyj2777++ - if yyhl2777 { - yyb2777 = yyj2777 > l + var yyj2841 int + var yyb2841 bool + var yyhl2841 bool = l >= 0 + yyj2841++ + if yyhl2841 { + yyb2841 = yyj2841 > l } else { - yyb2777 = r.CheckBreak() + yyb2841 = r.CheckBreak() } - if yyb2777 { + if yyb2841 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35917,21 +36605,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv2778 := &x.Addresses - yym2779 := z.DecBinary() - _ = yym2779 + yyv2842 := &x.Addresses + yym2843 := z.DecBinary() + _ = yym2843 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2778), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2842), d) } } - yyj2777++ - if yyhl2777 { - yyb2777 = yyj2777 > l + yyj2841++ + if yyhl2841 { + yyb2841 = yyj2841 > l } else { - yyb2777 = r.CheckBreak() + yyb2841 = r.CheckBreak() } - if yyb2777 { + if yyb2841 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35939,21 +36627,21 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NotReadyAddresses = nil } else { - yyv2780 := &x.NotReadyAddresses - yym2781 := z.DecBinary() - _ = yym2781 + yyv2844 := &x.NotReadyAddresses + yym2845 := z.DecBinary() + _ = yym2845 if false { } else { - h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2780), d) + h.decSliceEndpointAddress((*[]EndpointAddress)(yyv2844), d) } } - yyj2777++ - if yyhl2777 { - yyb2777 = yyj2777 > l + yyj2841++ + if yyhl2841 { + yyb2841 = yyj2841 > l } else { - yyb2777 = r.CheckBreak() + yyb2841 = r.CheckBreak() } - if yyb2777 { + if yyb2841 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -35961,26 +36649,26 @@ func (x *EndpointSubset) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv2782 := &x.Ports - yym2783 := z.DecBinary() - _ = yym2783 + yyv2846 := &x.Ports + yym2847 := z.DecBinary() + _ = yym2847 if false { } else { - h.decSliceEndpointPort((*[]EndpointPort)(yyv2782), d) + h.decSliceEndpointPort((*[]EndpointPort)(yyv2846), d) } } for { - yyj2777++ - if yyhl2777 { - yyb2777 = yyj2777 > l + yyj2841++ + if yyhl2841 { + yyb2841 = yyj2841 > l } else { - yyb2777 = r.CheckBreak() + yyb2841 = r.CheckBreak() } - if yyb2777 { + if yyb2841 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2777-1, "") + z.DecStructFieldNotFound(yyj2841-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -35992,36 +36680,36 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2784 := z.EncBinary() - _ = yym2784 + yym2848 := z.EncBinary() + _ = yym2848 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2785 := !z.EncBinary() - yy2arr2785 := z.EncBasicHandle().StructToArray - var yyq2785 [4]bool - _, _, _ = yysep2785, yyq2785, yy2arr2785 - const yyr2785 bool = false - yyq2785[1] = x.Hostname != "" - yyq2785[2] = x.NodeName != nil - yyq2785[3] = x.TargetRef != nil - var yynn2785 int - if yyr2785 || yy2arr2785 { + 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 { r.EncodeArrayStart(4) } else { - yynn2785 = 1 - for _, b := range yyq2785 { + yynn2849 = 1 + for _, b := range yyq2849 { if b { - yynn2785++ + yynn2849++ } } - r.EncodeMapStart(yynn2785) - yynn2785 = 0 + r.EncodeMapStart(yynn2849) + yynn2849 = 0 } - if yyr2785 || yy2arr2785 { + if yyr2849 || yy2arr2849 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2787 := z.EncBinary() - _ = yym2787 + yym2851 := z.EncBinary() + _ = yym2851 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) @@ -36030,18 +36718,18 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ip")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2788 := z.EncBinary() - _ = yym2788 + yym2852 := z.EncBinary() + _ = yym2852 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.IP)) } } - if yyr2785 || yy2arr2785 { + if yyr2849 || yy2arr2849 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2785[1] { - yym2790 := z.EncBinary() - _ = yym2790 + if yyq2849[1] { + yym2854 := z.EncBinary() + _ = yym2854 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) @@ -36050,56 +36738,56 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2785[1] { + if yyq2849[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostname")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2791 := z.EncBinary() - _ = yym2791 + yym2855 := z.EncBinary() + _ = yym2855 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Hostname)) } } } - if yyr2785 || yy2arr2785 { + if yyr2849 || yy2arr2849 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2785[2] { + if yyq2849[2] { if x.NodeName == nil { r.EncodeNil() } else { - yy2793 := *x.NodeName - yym2794 := z.EncBinary() - _ = yym2794 + yy2857 := *x.NodeName + yym2858 := z.EncBinary() + _ = yym2858 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2793)) + r.EncodeString(codecSelferC_UTF81234, string(yy2857)) } } } else { r.EncodeNil() } } else { - if yyq2785[2] { + if yyq2849[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NodeName == nil { r.EncodeNil() } else { - yy2795 := *x.NodeName - yym2796 := z.EncBinary() - _ = yym2796 + yy2859 := *x.NodeName + yym2860 := z.EncBinary() + _ = yym2860 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy2795)) + r.EncodeString(codecSelferC_UTF81234, string(yy2859)) } } } } - if yyr2785 || yy2arr2785 { + if yyr2849 || yy2arr2849 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2785[3] { + if yyq2849[3] { if x.TargetRef == nil { r.EncodeNil() } else { @@ -36109,7 +36797,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2785[3] { + if yyq2849[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("targetRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -36120,7 +36808,7 @@ func (x *EndpointAddress) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2785 || yy2arr2785 { + if yyr2849 || yy2arr2849 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36133,25 +36821,25 @@ func (x *EndpointAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2798 := z.DecBinary() - _ = yym2798 + yym2862 := z.DecBinary() + _ = yym2862 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2799 := r.ContainerType() - if yyct2799 == codecSelferValueTypeMap1234 { - yyl2799 := r.ReadMapStart() - if yyl2799 == 0 { + yyct2863 := r.ContainerType() + if yyct2863 == codecSelferValueTypeMap1234 { + yyl2863 := r.ReadMapStart() + if yyl2863 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2799, d) + x.codecDecodeSelfFromMap(yyl2863, d) } - } else if yyct2799 == codecSelferValueTypeArray1234 { - yyl2799 := r.ReadArrayStart() - if yyl2799 == 0 { + } else if yyct2863 == codecSelferValueTypeArray1234 { + yyl2863 := r.ReadArrayStart() + if yyl2863 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2799, d) + x.codecDecodeSelfFromArray(yyl2863, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36163,12 +36851,12 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2800Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2800Slc - var yyhl2800 bool = l >= 0 - for yyj2800 := 0; ; yyj2800++ { - if yyhl2800 { - if yyj2800 >= l { + var yys2864Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2864Slc + var yyhl2864 bool = l >= 0 + for yyj2864 := 0; ; yyj2864++ { + if yyhl2864 { + if yyj2864 >= l { break } } else { @@ -36177,10 +36865,10 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2800Slc = r.DecodeBytes(yys2800Slc, true, true) - yys2800 := string(yys2800Slc) + yys2864Slc = r.DecodeBytes(yys2864Slc, true, true) + yys2864 := string(yys2864Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2800 { + switch yys2864 { case "ip": if r.TryDecodeAsNil() { x.IP = "" @@ -36202,8 +36890,8 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.NodeName == nil { x.NodeName = new(string) } - yym2804 := z.DecBinary() - _ = yym2804 + yym2868 := z.DecBinary() + _ = yym2868 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() @@ -36221,9 +36909,9 @@ func (x *EndpointAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.TargetRef.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2800) - } // end switch yys2800 - } // end for yyj2800 + z.DecStructFieldNotFound(-1, yys2864) + } // end switch yys2864 + } // end for yyj2864 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36231,16 +36919,16 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2806 int - var yyb2806 bool - var yyhl2806 bool = l >= 0 - yyj2806++ - if yyhl2806 { - yyb2806 = yyj2806 > l + var yyj2870 int + var yyb2870 bool + var yyhl2870 bool = l >= 0 + yyj2870++ + if yyhl2870 { + yyb2870 = yyj2870 > l } else { - yyb2806 = r.CheckBreak() + yyb2870 = r.CheckBreak() } - if yyb2806 { + if yyb2870 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36250,13 +36938,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.IP = string(r.DecodeString()) } - yyj2806++ - if yyhl2806 { - yyb2806 = yyj2806 > l + yyj2870++ + if yyhl2870 { + yyb2870 = yyj2870 > l } else { - yyb2806 = r.CheckBreak() + yyb2870 = r.CheckBreak() } - if yyb2806 { + if yyb2870 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36266,13 +36954,13 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Hostname = string(r.DecodeString()) } - yyj2806++ - if yyhl2806 { - yyb2806 = yyj2806 > l + yyj2870++ + if yyhl2870 { + yyb2870 = yyj2870 > l } else { - yyb2806 = r.CheckBreak() + yyb2870 = r.CheckBreak() } - if yyb2806 { + if yyb2870 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36285,20 +36973,20 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.NodeName == nil { x.NodeName = new(string) } - yym2810 := z.DecBinary() - _ = yym2810 + yym2874 := z.DecBinary() + _ = yym2874 if false { } else { *((*string)(x.NodeName)) = r.DecodeString() } } - yyj2806++ - if yyhl2806 { - yyb2806 = yyj2806 > l + yyj2870++ + if yyhl2870 { + yyb2870 = yyj2870 > l } else { - yyb2806 = r.CheckBreak() + yyb2870 = r.CheckBreak() } - if yyb2806 { + if yyb2870 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36314,17 +37002,17 @@ func (x *EndpointAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.TargetRef.CodecDecodeSelf(d) } for { - yyj2806++ - if yyhl2806 { - yyb2806 = yyj2806 > l + yyj2870++ + if yyhl2870 { + yyb2870 = yyj2870 > l } else { - yyb2806 = r.CheckBreak() + yyb2870 = r.CheckBreak() } - if yyb2806 { + if yyb2870 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2806-1, "") + z.DecStructFieldNotFound(yyj2870-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36336,36 +37024,36 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2812 := z.EncBinary() - _ = yym2812 + yym2876 := z.EncBinary() + _ = yym2876 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2813 := !z.EncBinary() - yy2arr2813 := z.EncBasicHandle().StructToArray - var yyq2813 [3]bool - _, _, _ = yysep2813, yyq2813, yy2arr2813 - const yyr2813 bool = false - yyq2813[0] = x.Name != "" - yyq2813[2] = x.Protocol != "" - var yynn2813 int - if yyr2813 || yy2arr2813 { + 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 { r.EncodeArrayStart(3) } else { - yynn2813 = 1 - for _, b := range yyq2813 { + yynn2877 = 1 + for _, b := range yyq2877 { if b { - yynn2813++ + yynn2877++ } } - r.EncodeMapStart(yynn2813) - yynn2813 = 0 + r.EncodeMapStart(yynn2877) + yynn2877 = 0 } - if yyr2813 || yy2arr2813 { + if yyr2877 || yy2arr2877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2813[0] { - yym2815 := z.EncBinary() - _ = yym2815 + if yyq2877[0] { + yym2879 := z.EncBinary() + _ = yym2879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -36374,22 +37062,22 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2813[0] { + if yyq2877[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2816 := z.EncBinary() - _ = yym2816 + yym2880 := z.EncBinary() + _ = yym2880 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr2813 || yy2arr2813 { + if yyr2877 || yy2arr2877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2818 := z.EncBinary() - _ = yym2818 + yym2882 := z.EncBinary() + _ = yym2882 if false { } else { r.EncodeInt(int64(x.Port)) @@ -36398,29 +37086,29 @@ func (x *EndpointPort) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2819 := z.EncBinary() - _ = yym2819 + yym2883 := z.EncBinary() + _ = yym2883 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2813 || yy2arr2813 { + if yyr2877 || yy2arr2877 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2813[2] { + if yyq2877[2] { x.Protocol.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2813[2] { + if yyq2877[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Protocol.CodecEncodeSelf(e) } } - if yyr2813 || yy2arr2813 { + if yyr2877 || yy2arr2877 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36433,25 +37121,25 @@ func (x *EndpointPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2821 := z.DecBinary() - _ = yym2821 + yym2885 := z.DecBinary() + _ = yym2885 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2822 := r.ContainerType() - if yyct2822 == codecSelferValueTypeMap1234 { - yyl2822 := r.ReadMapStart() - if yyl2822 == 0 { + yyct2886 := r.ContainerType() + if yyct2886 == codecSelferValueTypeMap1234 { + yyl2886 := r.ReadMapStart() + if yyl2886 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2822, d) + x.codecDecodeSelfFromMap(yyl2886, d) } - } else if yyct2822 == codecSelferValueTypeArray1234 { - yyl2822 := r.ReadArrayStart() - if yyl2822 == 0 { + } else if yyct2886 == codecSelferValueTypeArray1234 { + yyl2886 := r.ReadArrayStart() + if yyl2886 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2822, d) + x.codecDecodeSelfFromArray(yyl2886, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36463,12 +37151,12 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2823Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2823Slc - var yyhl2823 bool = l >= 0 - for yyj2823 := 0; ; yyj2823++ { - if yyhl2823 { - if yyj2823 >= l { + var yys2887Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2887Slc + var yyhl2887 bool = l >= 0 + for yyj2887 := 0; ; yyj2887++ { + if yyhl2887 { + if yyj2887 >= l { break } } else { @@ -36477,10 +37165,10 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2823Slc = r.DecodeBytes(yys2823Slc, true, true) - yys2823 := string(yys2823Slc) + yys2887Slc = r.DecodeBytes(yys2887Slc, true, true) + yys2887 := string(yys2887Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2823 { + switch yys2887 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -36500,9 +37188,9 @@ func (x *EndpointPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2823) - } // end switch yys2823 - } // end for yyj2823 + z.DecStructFieldNotFound(-1, yys2887) + } // end switch yys2887 + } // end for yyj2887 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36510,16 +37198,16 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2827 int - var yyb2827 bool - var yyhl2827 bool = l >= 0 - yyj2827++ - if yyhl2827 { - yyb2827 = yyj2827 > l + var yyj2891 int + var yyb2891 bool + var yyhl2891 bool = l >= 0 + yyj2891++ + if yyhl2891 { + yyb2891 = yyj2891 > l } else { - yyb2827 = r.CheckBreak() + yyb2891 = r.CheckBreak() } - if yyb2827 { + if yyb2891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36529,13 +37217,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj2827++ - if yyhl2827 { - yyb2827 = yyj2827 > l + yyj2891++ + if yyhl2891 { + yyb2891 = yyj2891 > l } else { - yyb2827 = r.CheckBreak() + yyb2891 = r.CheckBreak() } - if yyb2827 { + if yyb2891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36545,13 +37233,13 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Port = int32(r.DecodeInt(32)) } - yyj2827++ - if yyhl2827 { - yyb2827 = yyj2827 > l + yyj2891++ + if yyhl2891 { + yyb2891 = yyj2891 > l } else { - yyb2827 = r.CheckBreak() + yyb2891 = r.CheckBreak() } - if yyb2827 { + if yyb2891 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36562,17 +37250,17 @@ func (x *EndpointPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Protocol = Protocol(r.DecodeString()) } for { - yyj2827++ - if yyhl2827 { - yyb2827 = yyj2827 > l + yyj2891++ + if yyhl2891 { + yyb2891 = yyj2891 > l } else { - yyb2827 = r.CheckBreak() + yyb2891 = r.CheckBreak() } - if yyb2827 { + if yyb2891 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2827-1, "") + z.DecStructFieldNotFound(yyj2891-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36584,37 +37272,37 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2831 := z.EncBinary() - _ = yym2831 + yym2895 := z.EncBinary() + _ = yym2895 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2832 := !z.EncBinary() - yy2arr2832 := z.EncBasicHandle().StructToArray - var yyq2832 [4]bool - _, _, _ = yysep2832, yyq2832, yy2arr2832 - const yyr2832 bool = false - yyq2832[0] = x.Kind != "" - yyq2832[1] = x.APIVersion != "" - yyq2832[2] = true - var yynn2832 int - if yyr2832 || yy2arr2832 { + 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 { r.EncodeArrayStart(4) } else { - yynn2832 = 1 - for _, b := range yyq2832 { + yynn2896 = 1 + for _, b := range yyq2896 { if b { - yynn2832++ + yynn2896++ } } - r.EncodeMapStart(yynn2832) - yynn2832 = 0 + r.EncodeMapStart(yynn2896) + yynn2896 = 0 } - if yyr2832 || yy2arr2832 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2832[0] { - yym2834 := z.EncBinary() - _ = yym2834 + if yyq2896[0] { + yym2898 := z.EncBinary() + _ = yym2898 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -36623,23 +37311,23 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2832[0] { + if yyq2896[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2835 := z.EncBinary() - _ = yym2835 + yym2899 := z.EncBinary() + _ = yym2899 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr2832 || yy2arr2832 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2832[1] { - yym2837 := z.EncBinary() - _ = yym2837 + if yyq2896[1] { + yym2901 := z.EncBinary() + _ = yym2901 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -36648,54 +37336,54 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2832[1] { + if yyq2896[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2838 := z.EncBinary() - _ = yym2838 + yym2902 := z.EncBinary() + _ = yym2902 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr2832 || yy2arr2832 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2832[2] { - yy2840 := &x.ListMeta - yym2841 := z.EncBinary() - _ = yym2841 + if yyq2896[2] { + yy2904 := &x.ListMeta + yym2905 := z.EncBinary() + _ = yym2905 if false { - } else if z.HasExtensions() && z.EncExt(yy2840) { + } else if z.HasExtensions() && z.EncExt(yy2904) { } else { - z.EncFallback(yy2840) + z.EncFallback(yy2904) } } else { r.EncodeNil() } } else { - if yyq2832[2] { + if yyq2896[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2842 := &x.ListMeta - yym2843 := z.EncBinary() - _ = yym2843 + yy2906 := &x.ListMeta + yym2907 := z.EncBinary() + _ = yym2907 if false { - } else if z.HasExtensions() && z.EncExt(yy2842) { + } else if z.HasExtensions() && z.EncExt(yy2906) { } else { - z.EncFallback(yy2842) + z.EncFallback(yy2906) } } } - if yyr2832 || yy2arr2832 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym2845 := z.EncBinary() - _ = yym2845 + yym2909 := z.EncBinary() + _ = yym2909 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) @@ -36708,15 +37396,15 @@ func (x *EndpointsList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym2846 := z.EncBinary() - _ = yym2846 + yym2910 := z.EncBinary() + _ = yym2910 if false { } else { h.encSliceEndpoints(([]Endpoints)(x.Items), e) } } } - if yyr2832 || yy2arr2832 { + if yyr2896 || yy2arr2896 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -36729,25 +37417,25 @@ func (x *EndpointsList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2847 := z.DecBinary() - _ = yym2847 + yym2911 := z.DecBinary() + _ = yym2911 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2848 := r.ContainerType() - if yyct2848 == codecSelferValueTypeMap1234 { - yyl2848 := r.ReadMapStart() - if yyl2848 == 0 { + yyct2912 := r.ContainerType() + if yyct2912 == codecSelferValueTypeMap1234 { + yyl2912 := r.ReadMapStart() + if yyl2912 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2848, d) + x.codecDecodeSelfFromMap(yyl2912, d) } - } else if yyct2848 == codecSelferValueTypeArray1234 { - yyl2848 := r.ReadArrayStart() - if yyl2848 == 0 { + } else if yyct2912 == codecSelferValueTypeArray1234 { + yyl2912 := r.ReadArrayStart() + if yyl2912 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2848, d) + x.codecDecodeSelfFromArray(yyl2912, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -36759,12 +37447,12 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2849Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2849Slc - var yyhl2849 bool = l >= 0 - for yyj2849 := 0; ; yyj2849++ { - if yyhl2849 { - if yyj2849 >= l { + var yys2913Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2913Slc + var yyhl2913 bool = l >= 0 + for yyj2913 := 0; ; yyj2913++ { + if yyhl2913 { + if yyj2913 >= l { break } } else { @@ -36773,10 +37461,10 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2849Slc = r.DecodeBytes(yys2849Slc, true, true) - yys2849 := string(yys2849Slc) + yys2913Slc = r.DecodeBytes(yys2913Slc, true, true) + yys2913 := string(yys2913Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2849 { + switch yys2913 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -36793,31 +37481,31 @@ func (x *EndpointsList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2852 := &x.ListMeta - yym2853 := z.DecBinary() - _ = yym2853 + yyv2916 := &x.ListMeta + yym2917 := z.DecBinary() + _ = yym2917 if false { - } else if z.HasExtensions() && z.DecExt(yyv2852) { + } else if z.HasExtensions() && z.DecExt(yyv2916) { } else { - z.DecFallback(yyv2852, false) + z.DecFallback(yyv2916, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2854 := &x.Items - yym2855 := z.DecBinary() - _ = yym2855 + yyv2918 := &x.Items + yym2919 := z.DecBinary() + _ = yym2919 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2854), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2918), d) } } default: - z.DecStructFieldNotFound(-1, yys2849) - } // end switch yys2849 - } // end for yyj2849 + z.DecStructFieldNotFound(-1, yys2913) + } // end switch yys2913 + } // end for yyj2913 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -36825,16 +37513,16 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2856 int - var yyb2856 bool - var yyhl2856 bool = l >= 0 - yyj2856++ - if yyhl2856 { - yyb2856 = yyj2856 > l + var yyj2920 int + var yyb2920 bool + var yyhl2920 bool = l >= 0 + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb2856 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb2856 { + if yyb2920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36844,13 +37532,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj2856++ - if yyhl2856 { - yyb2856 = yyj2856 > l + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb2856 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb2856 { + if yyb2920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36860,13 +37548,13 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj2856++ - if yyhl2856 { - yyb2856 = yyj2856 > l + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb2856 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb2856 { + if yyb2920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36874,22 +37562,22 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv2859 := &x.ListMeta - yym2860 := z.DecBinary() - _ = yym2860 + yyv2923 := &x.ListMeta + yym2924 := z.DecBinary() + _ = yym2924 if false { - } else if z.HasExtensions() && z.DecExt(yyv2859) { + } else if z.HasExtensions() && z.DecExt(yyv2923) { } else { - z.DecFallback(yyv2859, false) + z.DecFallback(yyv2923, false) } } - yyj2856++ - if yyhl2856 { - yyb2856 = yyj2856 > l + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb2856 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb2856 { + if yyb2920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -36897,26 +37585,26 @@ func (x *EndpointsList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv2861 := &x.Items - yym2862 := z.DecBinary() - _ = yym2862 + yyv2925 := &x.Items + yym2926 := z.DecBinary() + _ = yym2926 if false { } else { - h.decSliceEndpoints((*[]Endpoints)(yyv2861), d) + h.decSliceEndpoints((*[]Endpoints)(yyv2925), d) } } for { - yyj2856++ - if yyhl2856 { - yyb2856 = yyj2856 > l + yyj2920++ + if yyhl2920 { + yyb2920 = yyj2920 > l } else { - yyb2856 = r.CheckBreak() + yyb2920 = r.CheckBreak() } - if yyb2856 { + if yyb2920 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2856-1, "") + z.DecStructFieldNotFound(yyj2920-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -36928,38 +37616,38 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2863 := z.EncBinary() - _ = yym2863 + yym2927 := z.EncBinary() + _ = yym2927 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2864 := !z.EncBinary() - yy2arr2864 := z.EncBasicHandle().StructToArray - var yyq2864 [4]bool - _, _, _ = yysep2864, yyq2864, yy2arr2864 - const yyr2864 bool = false - yyq2864[0] = x.PodCIDR != "" - yyq2864[1] = x.ExternalID != "" - yyq2864[2] = x.ProviderID != "" - yyq2864[3] = x.Unschedulable != false - var yynn2864 int - if yyr2864 || yy2arr2864 { + 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 { r.EncodeArrayStart(4) } else { - yynn2864 = 0 - for _, b := range yyq2864 { + yynn2928 = 0 + for _, b := range yyq2928 { if b { - yynn2864++ + yynn2928++ } } - r.EncodeMapStart(yynn2864) - yynn2864 = 0 + r.EncodeMapStart(yynn2928) + yynn2928 = 0 } - if yyr2864 || yy2arr2864 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2864[0] { - yym2866 := z.EncBinary() - _ = yym2866 + if yyq2928[0] { + yym2930 := z.EncBinary() + _ = yym2930 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) @@ -36968,23 +37656,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2864[0] { + if yyq2928[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2867 := z.EncBinary() - _ = yym2867 + yym2931 := z.EncBinary() + _ = yym2931 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } } - if yyr2864 || yy2arr2864 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2864[1] { - yym2869 := z.EncBinary() - _ = yym2869 + if yyq2928[1] { + yym2933 := z.EncBinary() + _ = yym2933 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) @@ -36993,23 +37681,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2864[1] { + if yyq2928[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("externalID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2870 := z.EncBinary() - _ = yym2870 + yym2934 := z.EncBinary() + _ = yym2934 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ExternalID)) } } } - if yyr2864 || yy2arr2864 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2864[2] { - yym2872 := z.EncBinary() - _ = yym2872 + if yyq2928[2] { + yym2936 := z.EncBinary() + _ = yym2936 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) @@ -37018,23 +37706,23 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2864[2] { + if yyq2928[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("providerID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2873 := z.EncBinary() - _ = yym2873 + yym2937 := z.EncBinary() + _ = yym2937 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ProviderID)) } } } - if yyr2864 || yy2arr2864 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2864[3] { - yym2875 := z.EncBinary() - _ = yym2875 + if yyq2928[3] { + yym2939 := z.EncBinary() + _ = yym2939 if false { } else { r.EncodeBool(bool(x.Unschedulable)) @@ -37043,19 +37731,19 @@ func (x *NodeSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq2864[3] { + if yyq2928[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("unschedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2876 := z.EncBinary() - _ = yym2876 + yym2940 := z.EncBinary() + _ = yym2940 if false { } else { r.EncodeBool(bool(x.Unschedulable)) } } } - if yyr2864 || yy2arr2864 { + if yyr2928 || yy2arr2928 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37068,25 +37756,25 @@ func (x *NodeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2877 := z.DecBinary() - _ = yym2877 + yym2941 := z.DecBinary() + _ = yym2941 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2878 := r.ContainerType() - if yyct2878 == codecSelferValueTypeMap1234 { - yyl2878 := r.ReadMapStart() - if yyl2878 == 0 { + yyct2942 := r.ContainerType() + if yyct2942 == codecSelferValueTypeMap1234 { + yyl2942 := r.ReadMapStart() + if yyl2942 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2878, d) + x.codecDecodeSelfFromMap(yyl2942, d) } - } else if yyct2878 == codecSelferValueTypeArray1234 { - yyl2878 := r.ReadArrayStart() - if yyl2878 == 0 { + } else if yyct2942 == codecSelferValueTypeArray1234 { + yyl2942 := r.ReadArrayStart() + if yyl2942 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2878, d) + x.codecDecodeSelfFromArray(yyl2942, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37098,12 +37786,12 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2879Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2879Slc - var yyhl2879 bool = l >= 0 - for yyj2879 := 0; ; yyj2879++ { - if yyhl2879 { - if yyj2879 >= l { + var yys2943Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2943Slc + var yyhl2943 bool = l >= 0 + for yyj2943 := 0; ; yyj2943++ { + if yyhl2943 { + if yyj2943 >= l { break } } else { @@ -37112,10 +37800,10 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2879Slc = r.DecodeBytes(yys2879Slc, true, true) - yys2879 := string(yys2879Slc) + yys2943Slc = r.DecodeBytes(yys2943Slc, true, true) + yys2943 := string(yys2943Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2879 { + switch yys2943 { case "podCIDR": if r.TryDecodeAsNil() { x.PodCIDR = "" @@ -37141,9 +37829,9 @@ func (x *NodeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys2879) - } // end switch yys2879 - } // end for yyj2879 + z.DecStructFieldNotFound(-1, yys2943) + } // end switch yys2943 + } // end for yyj2943 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37151,16 +37839,16 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2884 int - var yyb2884 bool - var yyhl2884 bool = l >= 0 - yyj2884++ - if yyhl2884 { - yyb2884 = yyj2884 > l + var yyj2948 int + var yyb2948 bool + var yyhl2948 bool = l >= 0 + yyj2948++ + if yyhl2948 { + yyb2948 = yyj2948 > l } else { - yyb2884 = r.CheckBreak() + yyb2948 = r.CheckBreak() } - if yyb2884 { + if yyb2948 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37170,13 +37858,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.PodCIDR = string(r.DecodeString()) } - yyj2884++ - if yyhl2884 { - yyb2884 = yyj2884 > l + yyj2948++ + if yyhl2948 { + yyb2948 = yyj2948 > l } else { - yyb2884 = r.CheckBreak() + yyb2948 = r.CheckBreak() } - if yyb2884 { + if yyb2948 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37186,13 +37874,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ExternalID = string(r.DecodeString()) } - yyj2884++ - if yyhl2884 { - yyb2884 = yyj2884 > l + yyj2948++ + if yyhl2948 { + yyb2948 = yyj2948 > l } else { - yyb2884 = r.CheckBreak() + yyb2948 = r.CheckBreak() } - if yyb2884 { + if yyb2948 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37202,13 +37890,13 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ProviderID = string(r.DecodeString()) } - yyj2884++ - if yyhl2884 { - yyb2884 = yyj2884 > l + yyj2948++ + if yyhl2948 { + yyb2948 = yyj2948 > l } else { - yyb2884 = r.CheckBreak() + yyb2948 = r.CheckBreak() } - if yyb2884 { + if yyb2948 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37219,17 +37907,17 @@ func (x *NodeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Unschedulable = bool(r.DecodeBool()) } for { - yyj2884++ - if yyhl2884 { - yyb2884 = yyj2884 > l + yyj2948++ + if yyhl2948 { + yyb2948 = yyj2948 > l } else { - yyb2884 = r.CheckBreak() + yyb2948 = r.CheckBreak() } - if yyb2884 { + if yyb2948 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2884-1, "") + z.DecStructFieldNotFound(yyj2948-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37241,33 +37929,33 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2889 := z.EncBinary() - _ = yym2889 + yym2953 := z.EncBinary() + _ = yym2953 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2890 := !z.EncBinary() - yy2arr2890 := z.EncBasicHandle().StructToArray - var yyq2890 [1]bool - _, _, _ = yysep2890, yyq2890, yy2arr2890 - const yyr2890 bool = false - var yynn2890 int - if yyr2890 || yy2arr2890 { + yysep2954 := !z.EncBinary() + yy2arr2954 := z.EncBasicHandle().StructToArray + var yyq2954 [1]bool + _, _, _ = yysep2954, yyq2954, yy2arr2954 + const yyr2954 bool = false + var yynn2954 int + if yyr2954 || yy2arr2954 { r.EncodeArrayStart(1) } else { - yynn2890 = 1 - for _, b := range yyq2890 { + yynn2954 = 1 + for _, b := range yyq2954 { if b { - yynn2890++ + yynn2954++ } } - r.EncodeMapStart(yynn2890) - yynn2890 = 0 + r.EncodeMapStart(yynn2954) + yynn2954 = 0 } - if yyr2890 || yy2arr2890 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2892 := z.EncBinary() - _ = yym2892 + yym2956 := z.EncBinary() + _ = yym2956 if false { } else { r.EncodeInt(int64(x.Port)) @@ -37276,14 +37964,14 @@ func (x *DaemonEndpoint) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("Port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2893 := z.EncBinary() - _ = yym2893 + yym2957 := z.EncBinary() + _ = yym2957 if false { } else { r.EncodeInt(int64(x.Port)) } } - if yyr2890 || yy2arr2890 { + if yyr2954 || yy2arr2954 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37296,25 +37984,25 @@ func (x *DaemonEndpoint) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2894 := z.DecBinary() - _ = yym2894 + yym2958 := z.DecBinary() + _ = yym2958 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2895 := r.ContainerType() - if yyct2895 == codecSelferValueTypeMap1234 { - yyl2895 := r.ReadMapStart() - if yyl2895 == 0 { + yyct2959 := r.ContainerType() + if yyct2959 == codecSelferValueTypeMap1234 { + yyl2959 := r.ReadMapStart() + if yyl2959 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2895, d) + x.codecDecodeSelfFromMap(yyl2959, d) } - } else if yyct2895 == codecSelferValueTypeArray1234 { - yyl2895 := r.ReadArrayStart() - if yyl2895 == 0 { + } else if yyct2959 == codecSelferValueTypeArray1234 { + yyl2959 := r.ReadArrayStart() + if yyl2959 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2895, d) + x.codecDecodeSelfFromArray(yyl2959, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37326,12 +38014,12 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2896Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2896Slc - var yyhl2896 bool = l >= 0 - for yyj2896 := 0; ; yyj2896++ { - if yyhl2896 { - if yyj2896 >= l { + var yys2960Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2960Slc + var yyhl2960 bool = l >= 0 + for yyj2960 := 0; ; yyj2960++ { + if yyhl2960 { + if yyj2960 >= l { break } } else { @@ -37340,10 +38028,10 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2896Slc = r.DecodeBytes(yys2896Slc, true, true) - yys2896 := string(yys2896Slc) + yys2960Slc = r.DecodeBytes(yys2960Slc, true, true) + yys2960 := string(yys2960Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2896 { + switch yys2960 { case "Port": if r.TryDecodeAsNil() { x.Port = 0 @@ -37351,9 +38039,9 @@ func (x *DaemonEndpoint) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys2896) - } // end switch yys2896 - } // end for yyj2896 + z.DecStructFieldNotFound(-1, yys2960) + } // end switch yys2960 + } // end for yyj2960 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37361,16 +38049,16 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2898 int - var yyb2898 bool - var yyhl2898 bool = l >= 0 - yyj2898++ - if yyhl2898 { - yyb2898 = yyj2898 > l + var yyj2962 int + var yyb2962 bool + var yyhl2962 bool = l >= 0 + yyj2962++ + if yyhl2962 { + yyb2962 = yyj2962 > l } else { - yyb2898 = r.CheckBreak() + yyb2962 = r.CheckBreak() } - if yyb2898 { + if yyb2962 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37381,17 +38069,17 @@ func (x *DaemonEndpoint) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Port = int32(r.DecodeInt(32)) } for { - yyj2898++ - if yyhl2898 { - yyb2898 = yyj2898 > l + yyj2962++ + if yyhl2962 { + yyb2962 = yyj2962 > l } else { - yyb2898 = r.CheckBreak() + yyb2962 = r.CheckBreak() } - if yyb2898 { + if yyb2962 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2898-1, "") + z.DecStructFieldNotFound(yyj2962-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37403,48 +38091,48 @@ func (x *NodeDaemonEndpoints) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2900 := z.EncBinary() - _ = yym2900 + yym2964 := z.EncBinary() + _ = yym2964 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2901 := !z.EncBinary() - yy2arr2901 := z.EncBasicHandle().StructToArray - var yyq2901 [1]bool - _, _, _ = yysep2901, yyq2901, yy2arr2901 - const yyr2901 bool = false - yyq2901[0] = true - var yynn2901 int - if yyr2901 || yy2arr2901 { + 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 { r.EncodeArrayStart(1) } else { - yynn2901 = 0 - for _, b := range yyq2901 { + yynn2965 = 0 + for _, b := range yyq2965 { if b { - yynn2901++ + yynn2965++ } } - r.EncodeMapStart(yynn2901) - yynn2901 = 0 + r.EncodeMapStart(yynn2965) + yynn2965 = 0 } - if yyr2901 || yy2arr2901 { + if yyr2965 || yy2arr2965 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2901[0] { - yy2903 := &x.KubeletEndpoint - yy2903.CodecEncodeSelf(e) + if yyq2965[0] { + yy2967 := &x.KubeletEndpoint + yy2967.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2901[0] { + if yyq2965[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2904 := &x.KubeletEndpoint - yy2904.CodecEncodeSelf(e) + yy2968 := &x.KubeletEndpoint + yy2968.CodecEncodeSelf(e) } } - if yyr2901 || yy2arr2901 { + if yyr2965 || yy2arr2965 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37457,25 +38145,25 @@ func (x *NodeDaemonEndpoints) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2905 := z.DecBinary() - _ = yym2905 + yym2969 := z.DecBinary() + _ = yym2969 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2906 := r.ContainerType() - if yyct2906 == codecSelferValueTypeMap1234 { - yyl2906 := r.ReadMapStart() - if yyl2906 == 0 { + yyct2970 := r.ContainerType() + if yyct2970 == codecSelferValueTypeMap1234 { + yyl2970 := r.ReadMapStart() + if yyl2970 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2906, d) + x.codecDecodeSelfFromMap(yyl2970, d) } - } else if yyct2906 == codecSelferValueTypeArray1234 { - yyl2906 := r.ReadArrayStart() - if yyl2906 == 0 { + } else if yyct2970 == codecSelferValueTypeArray1234 { + yyl2970 := r.ReadArrayStart() + if yyl2970 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2906, d) + x.codecDecodeSelfFromArray(yyl2970, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37487,12 +38175,12 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2907Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2907Slc - var yyhl2907 bool = l >= 0 - for yyj2907 := 0; ; yyj2907++ { - if yyhl2907 { - if yyj2907 >= l { + var yys2971Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys2971Slc + var yyhl2971 bool = l >= 0 + for yyj2971 := 0; ; yyj2971++ { + if yyhl2971 { + if yyj2971 >= l { break } } else { @@ -37501,21 +38189,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2907Slc = r.DecodeBytes(yys2907Slc, true, true) - yys2907 := string(yys2907Slc) + yys2971Slc = r.DecodeBytes(yys2971Slc, true, true) + yys2971 := string(yys2971Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2907 { + switch yys2971 { case "kubeletEndpoint": if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2908 := &x.KubeletEndpoint - yyv2908.CodecDecodeSelf(d) + yyv2972 := &x.KubeletEndpoint + yyv2972.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys2907) - } // end switch yys2907 - } // end for yyj2907 + z.DecStructFieldNotFound(-1, yys2971) + } // end switch yys2971 + } // end for yyj2971 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37523,16 +38211,16 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2909 int - var yyb2909 bool - var yyhl2909 bool = l >= 0 - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + var yyj2973 int + var yyb2973 bool + var yyhl2973 bool = l >= 0 + yyj2973++ + if yyhl2973 { + yyb2973 = yyj2973 > l } else { - yyb2909 = r.CheckBreak() + yyb2973 = r.CheckBreak() } - if yyb2909 { + if yyb2973 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37540,21 +38228,21 @@ func (x *NodeDaemonEndpoints) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.KubeletEndpoint = DaemonEndpoint{} } else { - yyv2910 := &x.KubeletEndpoint - yyv2910.CodecDecodeSelf(d) + yyv2974 := &x.KubeletEndpoint + yyv2974.CodecDecodeSelf(d) } for { - yyj2909++ - if yyhl2909 { - yyb2909 = yyj2909 > l + yyj2973++ + if yyhl2973 { + yyb2973 = yyj2973 > l } else { - yyb2909 = r.CheckBreak() + yyb2973 = r.CheckBreak() } - if yyb2909 { + if yyb2973 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2909-1, "") + z.DecStructFieldNotFound(yyj2973-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -37566,33 +38254,33 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2911 := z.EncBinary() - _ = yym2911 + yym2975 := z.EncBinary() + _ = yym2975 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2912 := !z.EncBinary() - yy2arr2912 := z.EncBasicHandle().StructToArray - var yyq2912 [10]bool - _, _, _ = yysep2912, yyq2912, yy2arr2912 - const yyr2912 bool = false - var yynn2912 int - if yyr2912 || yy2arr2912 { + yysep2976 := !z.EncBinary() + yy2arr2976 := z.EncBasicHandle().StructToArray + var yyq2976 [10]bool + _, _, _ = yysep2976, yyq2976, yy2arr2976 + const yyr2976 bool = false + var yynn2976 int + if yyr2976 || yy2arr2976 { r.EncodeArrayStart(10) } else { - yynn2912 = 10 - for _, b := range yyq2912 { + yynn2976 = 10 + for _, b := range yyq2976 { if b { - yynn2912++ + yynn2976++ } } - r.EncodeMapStart(yynn2912) - yynn2912 = 0 + r.EncodeMapStart(yynn2976) + yynn2976 = 0 } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2914 := z.EncBinary() - _ = yym2914 + yym2978 := z.EncBinary() + _ = yym2978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) @@ -37601,17 +38289,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("machineID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2915 := z.EncBinary() - _ = yym2915 + yym2979 := z.EncBinary() + _ = yym2979 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.MachineID)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2917 := z.EncBinary() - _ = yym2917 + yym2981 := z.EncBinary() + _ = yym2981 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) @@ -37620,17 +38308,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("systemUUID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2918 := z.EncBinary() - _ = yym2918 + yym2982 := z.EncBinary() + _ = yym2982 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SystemUUID)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2920 := z.EncBinary() - _ = yym2920 + yym2984 := z.EncBinary() + _ = yym2984 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) @@ -37639,17 +38327,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("bootID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2921 := z.EncBinary() - _ = yym2921 + yym2985 := z.EncBinary() + _ = yym2985 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.BootID)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2923 := z.EncBinary() - _ = yym2923 + yym2987 := z.EncBinary() + _ = yym2987 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) @@ -37658,17 +38346,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kernelVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2924 := z.EncBinary() - _ = yym2924 + yym2988 := z.EncBinary() + _ = yym2988 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KernelVersion)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2926 := z.EncBinary() - _ = yym2926 + yym2990 := z.EncBinary() + _ = yym2990 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) @@ -37677,17 +38365,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("osImage")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2927 := z.EncBinary() - _ = yym2927 + yym2991 := z.EncBinary() + _ = yym2991 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OSImage)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2929 := z.EncBinary() - _ = yym2929 + yym2993 := z.EncBinary() + _ = yym2993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) @@ -37696,17 +38384,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("containerRuntimeVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2930 := z.EncBinary() - _ = yym2930 + yym2994 := z.EncBinary() + _ = yym2994 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntimeVersion)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2932 := z.EncBinary() - _ = yym2932 + yym2996 := z.EncBinary() + _ = yym2996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) @@ -37715,17 +38403,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeletVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2933 := z.EncBinary() - _ = yym2933 + yym2997 := z.EncBinary() + _ = yym2997 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeletVersion)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2935 := z.EncBinary() - _ = yym2935 + yym2999 := z.EncBinary() + _ = yym2999 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) @@ -37734,17 +38422,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kubeProxyVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2936 := z.EncBinary() - _ = yym2936 + yym3000 := z.EncBinary() + _ = yym3000 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.KubeProxyVersion)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2938 := z.EncBinary() - _ = yym2938 + yym3002 := z.EncBinary() + _ = yym3002 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) @@ -37753,17 +38441,17 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("operatingSystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2939 := z.EncBinary() - _ = yym2939 + yym3003 := z.EncBinary() + _ = yym3003 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.OperatingSystem)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym2941 := z.EncBinary() - _ = yym2941 + yym3005 := z.EncBinary() + _ = yym3005 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) @@ -37772,14 +38460,14 @@ func (x *NodeSystemInfo) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("architecture")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym2942 := z.EncBinary() - _ = yym2942 + yym3006 := z.EncBinary() + _ = yym3006 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Architecture)) } } - if yyr2912 || yy2arr2912 { + if yyr2976 || yy2arr2976 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -37792,25 +38480,25 @@ func (x *NodeSystemInfo) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2943 := z.DecBinary() - _ = yym2943 + yym3007 := z.DecBinary() + _ = yym3007 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2944 := r.ContainerType() - if yyct2944 == codecSelferValueTypeMap1234 { - yyl2944 := r.ReadMapStart() - if yyl2944 == 0 { + yyct3008 := r.ContainerType() + if yyct3008 == codecSelferValueTypeMap1234 { + yyl3008 := r.ReadMapStart() + if yyl3008 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2944, d) + x.codecDecodeSelfFromMap(yyl3008, d) } - } else if yyct2944 == codecSelferValueTypeArray1234 { - yyl2944 := r.ReadArrayStart() - if yyl2944 == 0 { + } else if yyct3008 == codecSelferValueTypeArray1234 { + yyl3008 := r.ReadArrayStart() + if yyl3008 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2944, d) + x.codecDecodeSelfFromArray(yyl3008, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -37822,12 +38510,12 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2945Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2945Slc - var yyhl2945 bool = l >= 0 - for yyj2945 := 0; ; yyj2945++ { - if yyhl2945 { - if yyj2945 >= l { + var yys3009Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3009Slc + var yyhl3009 bool = l >= 0 + for yyj3009 := 0; ; yyj3009++ { + if yyhl3009 { + if yyj3009 >= l { break } } else { @@ -37836,10 +38524,10 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2945Slc = r.DecodeBytes(yys2945Slc, true, true) - yys2945 := string(yys2945Slc) + yys3009Slc = r.DecodeBytes(yys3009Slc, true, true) + yys3009 := string(yys3009Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2945 { + switch yys3009 { case "machineID": if r.TryDecodeAsNil() { x.MachineID = "" @@ -37901,9 +38589,9 @@ func (x *NodeSystemInfo) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys2945) - } // end switch yys2945 - } // end for yyj2945 + z.DecStructFieldNotFound(-1, yys3009) + } // end switch yys3009 + } // end for yyj3009 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -37911,16 +38599,16 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj2956 int - var yyb2956 bool - var yyhl2956 bool = l >= 0 - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + var yyj3020 int + var yyb3020 bool + var yyhl3020 bool = l >= 0 + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37930,13 +38618,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.MachineID = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37946,13 +38634,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.SystemUUID = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37962,13 +38650,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.BootID = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37978,13 +38666,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KernelVersion = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -37994,13 +38682,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OSImage = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38010,13 +38698,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ContainerRuntimeVersion = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38026,13 +38714,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeletVersion = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38042,13 +38730,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.KubeProxyVersion = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38058,13 +38746,13 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.OperatingSystem = string(r.DecodeString()) } - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38075,17 +38763,17 @@ func (x *NodeSystemInfo) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Architecture = string(r.DecodeString()) } for { - yyj2956++ - if yyhl2956 { - yyb2956 = yyj2956 > l + yyj3020++ + if yyhl3020 { + yyb3020 = yyj3020 > l } else { - yyb2956 = r.CheckBreak() + yyb3020 = r.CheckBreak() } - if yyb2956 { + if yyb3020 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj2956-1, "") + z.DecStructFieldNotFound(yyj3020-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38097,42 +38785,42 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym2967 := z.EncBinary() - _ = yym2967 + yym3031 := z.EncBinary() + _ = yym3031 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep2968 := !z.EncBinary() - yy2arr2968 := z.EncBasicHandle().StructToArray - var yyq2968 [10]bool - _, _, _ = yysep2968, yyq2968, yy2arr2968 - const yyr2968 bool = false - yyq2968[0] = len(x.Capacity) != 0 - yyq2968[1] = len(x.Allocatable) != 0 - yyq2968[2] = x.Phase != "" - yyq2968[3] = len(x.Conditions) != 0 - yyq2968[4] = len(x.Addresses) != 0 - yyq2968[5] = true - yyq2968[6] = true - yyq2968[7] = len(x.Images) != 0 - yyq2968[8] = len(x.VolumesInUse) != 0 - yyq2968[9] = len(x.VolumesAttached) != 0 - var yynn2968 int - if yyr2968 || yy2arr2968 { + 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 { r.EncodeArrayStart(10) } else { - yynn2968 = 0 - for _, b := range yyq2968 { + yynn3032 = 0 + for _, b := range yyq3032 { if b { - yynn2968++ + yynn3032++ } } - r.EncodeMapStart(yynn2968) - yynn2968 = 0 + r.EncodeMapStart(yynn3032) + yynn3032 = 0 } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[0] { + if yyq3032[0] { if x.Capacity == nil { r.EncodeNil() } else { @@ -38142,7 +38830,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[0] { + if yyq3032[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capacity")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -38153,9 +38841,9 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[1] { + if yyq3032[1] { if x.Allocatable == nil { r.EncodeNil() } else { @@ -38165,7 +38853,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[1] { + if yyq3032[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allocatable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -38176,29 +38864,29 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[2] { + if yyq3032[2] { x.Phase.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq2968[2] { + if yyq3032[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("phase")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Phase.CodecEncodeSelf(e) } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[3] { + if yyq3032[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym2973 := z.EncBinary() - _ = yym2973 + yym3037 := z.EncBinary() + _ = yym3037 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -38208,15 +38896,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[3] { + if yyq3032[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym2974 := z.EncBinary() - _ = yym2974 + yym3038 := z.EncBinary() + _ = yym3038 if false { } else { h.encSliceNodeCondition(([]NodeCondition)(x.Conditions), e) @@ -38224,14 +38912,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[4] { + if yyq3032[4] { if x.Addresses == nil { r.EncodeNil() } else { - yym2976 := z.EncBinary() - _ = yym2976 + yym3040 := z.EncBinary() + _ = yym3040 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -38241,15 +38929,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[4] { + if yyq3032[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("addresses")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Addresses == nil { r.EncodeNil() } else { - yym2977 := z.EncBinary() - _ = yym2977 + yym3041 := z.EncBinary() + _ = yym3041 if false { } else { h.encSliceNodeAddress(([]NodeAddress)(x.Addresses), e) @@ -38257,48 +38945,48 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[5] { - yy2979 := &x.DaemonEndpoints - yy2979.CodecEncodeSelf(e) + if yyq3032[5] { + yy3043 := &x.DaemonEndpoints + yy3043.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2968[5] { + if yyq3032[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("daemonEndpoints")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2980 := &x.DaemonEndpoints - yy2980.CodecEncodeSelf(e) + yy3044 := &x.DaemonEndpoints + yy3044.CodecEncodeSelf(e) } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[6] { - yy2982 := &x.NodeInfo - yy2982.CodecEncodeSelf(e) + if yyq3032[6] { + yy3046 := &x.NodeInfo + yy3046.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq2968[6] { + if yyq3032[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("nodeInfo")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy2983 := &x.NodeInfo - yy2983.CodecEncodeSelf(e) + yy3047 := &x.NodeInfo + yy3047.CodecEncodeSelf(e) } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[7] { + if yyq3032[7] { if x.Images == nil { r.EncodeNil() } else { - yym2985 := z.EncBinary() - _ = yym2985 + yym3049 := z.EncBinary() + _ = yym3049 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -38308,15 +38996,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[7] { + if yyq3032[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("images")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Images == nil { r.EncodeNil() } else { - yym2986 := z.EncBinary() - _ = yym2986 + yym3050 := z.EncBinary() + _ = yym3050 if false { } else { h.encSliceContainerImage(([]ContainerImage)(x.Images), e) @@ -38324,14 +39012,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[8] { + if yyq3032[8] { if x.VolumesInUse == nil { r.EncodeNil() } else { - yym2988 := z.EncBinary() - _ = yym2988 + yym3052 := z.EncBinary() + _ = yym3052 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -38341,15 +39029,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[8] { + if yyq3032[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesInUse")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesInUse == nil { r.EncodeNil() } else { - yym2989 := z.EncBinary() - _ = yym2989 + yym3053 := z.EncBinary() + _ = yym3053 if false { } else { h.encSliceUniqueVolumeName(([]UniqueVolumeName)(x.VolumesInUse), e) @@ -38357,14 +39045,14 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq2968[9] { + if yyq3032[9] { if x.VolumesAttached == nil { r.EncodeNil() } else { - yym2991 := z.EncBinary() - _ = yym2991 + yym3055 := z.EncBinary() + _ = yym3055 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -38374,15 +39062,15 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq2968[9] { + if yyq3032[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumesAttached")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.VolumesAttached == nil { r.EncodeNil() } else { - yym2992 := z.EncBinary() - _ = yym2992 + yym3056 := z.EncBinary() + _ = yym3056 if false { } else { h.encSliceAttachedVolume(([]AttachedVolume)(x.VolumesAttached), e) @@ -38390,7 +39078,7 @@ func (x *NodeStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr2968 || yy2arr2968 { + if yyr3032 || yy2arr3032 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38403,25 +39091,25 @@ func (x *NodeStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym2993 := z.DecBinary() - _ = yym2993 + yym3057 := z.DecBinary() + _ = yym3057 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct2994 := r.ContainerType() - if yyct2994 == codecSelferValueTypeMap1234 { - yyl2994 := r.ReadMapStart() - if yyl2994 == 0 { + yyct3058 := r.ContainerType() + if yyct3058 == codecSelferValueTypeMap1234 { + yyl3058 := r.ReadMapStart() + if yyl3058 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl2994, d) + x.codecDecodeSelfFromMap(yyl3058, d) } - } else if yyct2994 == codecSelferValueTypeArray1234 { - yyl2994 := r.ReadArrayStart() - if yyl2994 == 0 { + } else if yyct3058 == codecSelferValueTypeArray1234 { + yyl3058 := r.ReadArrayStart() + if yyl3058 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl2994, d) + x.codecDecodeSelfFromArray(yyl3058, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38433,12 +39121,12 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys2995Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys2995Slc - var yyhl2995 bool = l >= 0 - for yyj2995 := 0; ; yyj2995++ { - if yyhl2995 { - if yyj2995 >= l { + var yys3059Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3059Slc + var yyhl3059 bool = l >= 0 + for yyj3059 := 0; ; yyj3059++ { + if yyhl3059 { + if yyj3059 >= l { break } } else { @@ -38447,23 +39135,23 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys2995Slc = r.DecodeBytes(yys2995Slc, true, true) - yys2995 := string(yys2995Slc) + yys3059Slc = r.DecodeBytes(yys3059Slc, true, true) + yys3059 := string(yys3059Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys2995 { + switch yys3059 { case "capacity": if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv2996 := &x.Capacity - yyv2996.CodecDecodeSelf(d) + yyv3060 := &x.Capacity + yyv3060.CodecDecodeSelf(d) } case "allocatable": if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv2997 := &x.Allocatable - yyv2997.CodecDecodeSelf(d) + yyv3061 := &x.Allocatable + yyv3061.CodecDecodeSelf(d) } case "phase": if r.TryDecodeAsNil() { @@ -38475,80 +39163,80 @@ func (x *NodeStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv2999 := &x.Conditions - yym3000 := z.DecBinary() - _ = yym3000 + yyv3063 := &x.Conditions + yym3064 := z.DecBinary() + _ = yym3064 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv2999), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3063), d) } } case "addresses": if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3001 := &x.Addresses - yym3002 := z.DecBinary() - _ = yym3002 + yyv3065 := &x.Addresses + yym3066 := z.DecBinary() + _ = yym3066 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3001), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3065), d) } } case "daemonEndpoints": if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3003 := &x.DaemonEndpoints - yyv3003.CodecDecodeSelf(d) + yyv3067 := &x.DaemonEndpoints + yyv3067.CodecDecodeSelf(d) } case "nodeInfo": if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3004 := &x.NodeInfo - yyv3004.CodecDecodeSelf(d) + yyv3068 := &x.NodeInfo + yyv3068.CodecDecodeSelf(d) } case "images": if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3005 := &x.Images - yym3006 := z.DecBinary() - _ = yym3006 + yyv3069 := &x.Images + yym3070 := z.DecBinary() + _ = yym3070 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3005), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3069), d) } } case "volumesInUse": if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3007 := &x.VolumesInUse - yym3008 := z.DecBinary() - _ = yym3008 + yyv3071 := &x.VolumesInUse + yym3072 := z.DecBinary() + _ = yym3072 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3007), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3071), d) } } case "volumesAttached": if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3009 := &x.VolumesAttached - yym3010 := z.DecBinary() - _ = yym3010 + yyv3073 := &x.VolumesAttached + yym3074 := z.DecBinary() + _ = yym3074 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3009), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3073), d) } } default: - z.DecStructFieldNotFound(-1, yys2995) - } // end switch yys2995 - } // end for yyj2995 + z.DecStructFieldNotFound(-1, yys3059) + } // end switch yys3059 + } // end for yyj3059 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38556,16 +39244,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3011 int - var yyb3011 bool - var yyhl3011 bool = l >= 0 - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + var yyj3075 int + var yyb3075 bool + var yyhl3075 bool = l >= 0 + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38573,16 +39261,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Capacity = nil } else { - yyv3012 := &x.Capacity - yyv3012.CodecDecodeSelf(d) + yyv3076 := &x.Capacity + yyv3076.CodecDecodeSelf(d) } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38590,16 +39278,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Allocatable = nil } else { - yyv3013 := &x.Allocatable - yyv3013.CodecDecodeSelf(d) + yyv3077 := &x.Allocatable + yyv3077.CodecDecodeSelf(d) } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38609,13 +39297,13 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Phase = NodePhase(r.DecodeString()) } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38623,21 +39311,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv3015 := &x.Conditions - yym3016 := z.DecBinary() - _ = yym3016 + yyv3079 := &x.Conditions + yym3080 := z.DecBinary() + _ = yym3080 if false { } else { - h.decSliceNodeCondition((*[]NodeCondition)(yyv3015), d) + h.decSliceNodeCondition((*[]NodeCondition)(yyv3079), d) } } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38645,21 +39333,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Addresses = nil } else { - yyv3017 := &x.Addresses - yym3018 := z.DecBinary() - _ = yym3018 + yyv3081 := &x.Addresses + yym3082 := z.DecBinary() + _ = yym3082 if false { } else { - h.decSliceNodeAddress((*[]NodeAddress)(yyv3017), d) + h.decSliceNodeAddress((*[]NodeAddress)(yyv3081), d) } } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38667,16 +39355,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DaemonEndpoints = NodeDaemonEndpoints{} } else { - yyv3019 := &x.DaemonEndpoints - yyv3019.CodecDecodeSelf(d) + yyv3083 := &x.DaemonEndpoints + yyv3083.CodecDecodeSelf(d) } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38684,16 +39372,16 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.NodeInfo = NodeSystemInfo{} } else { - yyv3020 := &x.NodeInfo - yyv3020.CodecDecodeSelf(d) + yyv3084 := &x.NodeInfo + yyv3084.CodecDecodeSelf(d) } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38701,21 +39389,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Images = nil } else { - yyv3021 := &x.Images - yym3022 := z.DecBinary() - _ = yym3022 + yyv3085 := &x.Images + yym3086 := z.DecBinary() + _ = yym3086 if false { } else { - h.decSliceContainerImage((*[]ContainerImage)(yyv3021), d) + h.decSliceContainerImage((*[]ContainerImage)(yyv3085), d) } } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38723,21 +39411,21 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesInUse = nil } else { - yyv3023 := &x.VolumesInUse - yym3024 := z.DecBinary() - _ = yym3024 + yyv3087 := &x.VolumesInUse + yym3088 := z.DecBinary() + _ = yym3088 if false { } else { - h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3023), d) + h.decSliceUniqueVolumeName((*[]UniqueVolumeName)(yyv3087), d) } } - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38745,26 +39433,26 @@ func (x *NodeStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.VolumesAttached = nil } else { - yyv3025 := &x.VolumesAttached - yym3026 := z.DecBinary() - _ = yym3026 + yyv3089 := &x.VolumesAttached + yym3090 := z.DecBinary() + _ = yym3090 if false { } else { - h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3025), d) + h.decSliceAttachedVolume((*[]AttachedVolume)(yyv3089), d) } } for { - yyj3011++ - if yyhl3011 { - yyb3011 = yyj3011 > l + yyj3075++ + if yyhl3075 { + yyb3075 = yyj3075 > l } else { - yyb3011 = r.CheckBreak() + yyb3075 = r.CheckBreak() } - if yyb3011 { + if yyb3075 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3011-1, "") + z.DecStructFieldNotFound(yyj3075-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38773,8 +39461,8 @@ func (x UniqueVolumeName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3027 := z.EncBinary() - _ = yym3027 + yym3091 := z.EncBinary() + _ = yym3091 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -38786,8 +39474,8 @@ func (x *UniqueVolumeName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3028 := z.DecBinary() - _ = yym3028 + yym3092 := z.DecBinary() + _ = yym3092 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -38802,30 +39490,30 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3029 := z.EncBinary() - _ = yym3029 + yym3093 := z.EncBinary() + _ = yym3093 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3030 := !z.EncBinary() - yy2arr3030 := z.EncBasicHandle().StructToArray - var yyq3030 [2]bool - _, _, _ = yysep3030, yyq3030, yy2arr3030 - const yyr3030 bool = false - var yynn3030 int - if yyr3030 || yy2arr3030 { + yysep3094 := !z.EncBinary() + yy2arr3094 := z.EncBasicHandle().StructToArray + var yyq3094 [2]bool + _, _, _ = yysep3094, yyq3094, yy2arr3094 + const yyr3094 bool = false + var yynn3094 int + if yyr3094 || yy2arr3094 { r.EncodeArrayStart(2) } else { - yynn3030 = 2 - for _, b := range yyq3030 { + yynn3094 = 2 + for _, b := range yyq3094 { if b { - yynn3030++ + yynn3094++ } } - r.EncodeMapStart(yynn3030) - yynn3030 = 0 + r.EncodeMapStart(yynn3094) + yynn3094 = 0 } - if yyr3030 || yy2arr3030 { + if yyr3094 || yy2arr3094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Name.CodecEncodeSelf(e) } else { @@ -38834,10 +39522,10 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Name.CodecEncodeSelf(e) } - if yyr3030 || yy2arr3030 { + if yyr3094 || yy2arr3094 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3033 := z.EncBinary() - _ = yym3033 + yym3097 := z.EncBinary() + _ = yym3097 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) @@ -38846,14 +39534,14 @@ func (x *AttachedVolume) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("devicePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3034 := z.EncBinary() - _ = yym3034 + yym3098 := z.EncBinary() + _ = yym3098 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.DevicePath)) } } - if yyr3030 || yy2arr3030 { + if yyr3094 || yy2arr3094 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -38866,25 +39554,25 @@ func (x *AttachedVolume) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3035 := z.DecBinary() - _ = yym3035 + yym3099 := z.DecBinary() + _ = yym3099 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3036 := r.ContainerType() - if yyct3036 == codecSelferValueTypeMap1234 { - yyl3036 := r.ReadMapStart() - if yyl3036 == 0 { + yyct3100 := r.ContainerType() + if yyct3100 == codecSelferValueTypeMap1234 { + yyl3100 := r.ReadMapStart() + if yyl3100 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3036, d) + x.codecDecodeSelfFromMap(yyl3100, d) } - } else if yyct3036 == codecSelferValueTypeArray1234 { - yyl3036 := r.ReadArrayStart() - if yyl3036 == 0 { + } else if yyct3100 == codecSelferValueTypeArray1234 { + yyl3100 := r.ReadArrayStart() + if yyl3100 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3036, d) + x.codecDecodeSelfFromArray(yyl3100, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -38896,12 +39584,12 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3037Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3037Slc - var yyhl3037 bool = l >= 0 - for yyj3037 := 0; ; yyj3037++ { - if yyhl3037 { - if yyj3037 >= l { + var yys3101Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3101Slc + var yyhl3101 bool = l >= 0 + for yyj3101 := 0; ; yyj3101++ { + if yyhl3101 { + if yyj3101 >= l { break } } else { @@ -38910,10 +39598,10 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3037Slc = r.DecodeBytes(yys3037Slc, true, true) - yys3037 := string(yys3037Slc) + yys3101Slc = r.DecodeBytes(yys3101Slc, true, true) + yys3101 := string(yys3101Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3037 { + switch yys3101 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -38927,9 +39615,9 @@ func (x *AttachedVolume) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3037) - } // end switch yys3037 - } // end for yyj3037 + z.DecStructFieldNotFound(-1, yys3101) + } // end switch yys3101 + } // end for yyj3101 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -38937,16 +39625,16 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3040 int - var yyb3040 bool - var yyhl3040 bool = l >= 0 - yyj3040++ - if yyhl3040 { - yyb3040 = yyj3040 > l + var yyj3104 int + var yyb3104 bool + var yyhl3104 bool = l >= 0 + yyj3104++ + if yyhl3104 { + yyb3104 = yyj3104 > l } else { - yyb3040 = r.CheckBreak() + yyb3104 = r.CheckBreak() } - if yyb3040 { + if yyb3104 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38956,13 +39644,13 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = UniqueVolumeName(r.DecodeString()) } - yyj3040++ - if yyhl3040 { - yyb3040 = yyj3040 > l + yyj3104++ + if yyhl3104 { + yyb3104 = yyj3104 > l } else { - yyb3040 = r.CheckBreak() + yyb3104 = r.CheckBreak() } - if yyb3040 { + if yyb3104 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -38973,17 +39661,17 @@ func (x *AttachedVolume) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.DevicePath = string(r.DecodeString()) } for { - yyj3040++ - if yyhl3040 { - yyb3040 = yyj3040 > l + yyj3104++ + if yyhl3104 { + yyb3104 = yyj3104 > l } else { - yyb3040 = r.CheckBreak() + yyb3104 = r.CheckBreak() } - if yyb3040 { + if yyb3104 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3040-1, "") + z.DecStructFieldNotFound(yyj3104-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -38995,38 +39683,38 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3043 := z.EncBinary() - _ = yym3043 + yym3107 := z.EncBinary() + _ = yym3107 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3044 := !z.EncBinary() - yy2arr3044 := z.EncBasicHandle().StructToArray - var yyq3044 [1]bool - _, _, _ = yysep3044, yyq3044, yy2arr3044 - const yyr3044 bool = false - yyq3044[0] = len(x.PreferAvoidPods) != 0 - var yynn3044 int - if yyr3044 || yy2arr3044 { + 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 { r.EncodeArrayStart(1) } else { - yynn3044 = 0 - for _, b := range yyq3044 { + yynn3108 = 0 + for _, b := range yyq3108 { if b { - yynn3044++ + yynn3108++ } } - r.EncodeMapStart(yynn3044) - yynn3044 = 0 + r.EncodeMapStart(yynn3108) + yynn3108 = 0 } - if yyr3044 || yy2arr3044 { + if yyr3108 || yy2arr3108 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3044[0] { + if yyq3108[0] { if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3046 := z.EncBinary() - _ = yym3046 + yym3110 := z.EncBinary() + _ = yym3110 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -39036,15 +39724,15 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3044[0] { + if yyq3108[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preferAvoidPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PreferAvoidPods == nil { r.EncodeNil() } else { - yym3047 := z.EncBinary() - _ = yym3047 + yym3111 := z.EncBinary() + _ = yym3111 if false { } else { h.encSlicePreferAvoidPodsEntry(([]PreferAvoidPodsEntry)(x.PreferAvoidPods), e) @@ -39052,7 +39740,7 @@ func (x *AvoidPods) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3044 || yy2arr3044 { + if yyr3108 || yy2arr3108 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39065,25 +39753,25 @@ func (x *AvoidPods) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3048 := z.DecBinary() - _ = yym3048 + yym3112 := z.DecBinary() + _ = yym3112 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3049 := r.ContainerType() - if yyct3049 == codecSelferValueTypeMap1234 { - yyl3049 := r.ReadMapStart() - if yyl3049 == 0 { + yyct3113 := r.ContainerType() + if yyct3113 == codecSelferValueTypeMap1234 { + yyl3113 := r.ReadMapStart() + if yyl3113 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3049, d) + x.codecDecodeSelfFromMap(yyl3113, d) } - } else if yyct3049 == codecSelferValueTypeArray1234 { - yyl3049 := r.ReadArrayStart() - if yyl3049 == 0 { + } else if yyct3113 == codecSelferValueTypeArray1234 { + yyl3113 := r.ReadArrayStart() + if yyl3113 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3049, d) + x.codecDecodeSelfFromArray(yyl3113, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39095,12 +39783,12 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3050Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3050Slc - var yyhl3050 bool = l >= 0 - for yyj3050 := 0; ; yyj3050++ { - if yyhl3050 { - if yyj3050 >= l { + var yys3114Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3114Slc + var yyhl3114 bool = l >= 0 + for yyj3114 := 0; ; yyj3114++ { + if yyhl3114 { + if yyj3114 >= l { break } } else { @@ -39109,26 +39797,26 @@ func (x *AvoidPods) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3050Slc = r.DecodeBytes(yys3050Slc, true, true) - yys3050 := string(yys3050Slc) + yys3114Slc = r.DecodeBytes(yys3114Slc, true, true) + yys3114 := string(yys3114Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3050 { + switch yys3114 { case "preferAvoidPods": if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3051 := &x.PreferAvoidPods - yym3052 := z.DecBinary() - _ = yym3052 + yyv3115 := &x.PreferAvoidPods + yym3116 := z.DecBinary() + _ = yym3116 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3051), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3115), d) } } default: - z.DecStructFieldNotFound(-1, yys3050) - } // end switch yys3050 - } // end for yyj3050 + z.DecStructFieldNotFound(-1, yys3114) + } // end switch yys3114 + } // end for yyj3114 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39136,16 +39824,16 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3053 int - var yyb3053 bool - var yyhl3053 bool = l >= 0 - yyj3053++ - if yyhl3053 { - yyb3053 = yyj3053 > l + var yyj3117 int + var yyb3117 bool + var yyhl3117 bool = l >= 0 + yyj3117++ + if yyhl3117 { + yyb3117 = yyj3117 > l } else { - yyb3053 = r.CheckBreak() + yyb3117 = r.CheckBreak() } - if yyb3053 { + if yyb3117 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39153,26 +39841,26 @@ func (x *AvoidPods) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.PreferAvoidPods = nil } else { - yyv3054 := &x.PreferAvoidPods - yym3055 := z.DecBinary() - _ = yym3055 + yyv3118 := &x.PreferAvoidPods + yym3119 := z.DecBinary() + _ = yym3119 if false { } else { - h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3054), d) + h.decSlicePreferAvoidPodsEntry((*[]PreferAvoidPodsEntry)(yyv3118), d) } } for { - yyj3053++ - if yyhl3053 { - yyb3053 = yyj3053 > l + yyj3117++ + if yyhl3117 { + yyb3117 = yyj3117 > l } else { - yyb3053 = r.CheckBreak() + yyb3117 = r.CheckBreak() } - if yyb3053 { + if yyb3117 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3053-1, "") + z.DecStructFieldNotFound(yyj3117-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39184,85 +39872,85 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3056 := z.EncBinary() - _ = yym3056 + yym3120 := z.EncBinary() + _ = yym3120 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3057 := !z.EncBinary() - yy2arr3057 := z.EncBasicHandle().StructToArray - var yyq3057 [4]bool - _, _, _ = yysep3057, yyq3057, yy2arr3057 - const yyr3057 bool = false - yyq3057[1] = true - yyq3057[2] = x.Reason != "" - yyq3057[3] = x.Message != "" - var yynn3057 int - if yyr3057 || yy2arr3057 { + 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 { r.EncodeArrayStart(4) } else { - yynn3057 = 1 - for _, b := range yyq3057 { + yynn3121 = 1 + for _, b := range yyq3121 { if b { - yynn3057++ + yynn3121++ } } - r.EncodeMapStart(yynn3057) - yynn3057 = 0 + r.EncodeMapStart(yynn3121) + yynn3121 = 0 } - if yyr3057 || yy2arr3057 { + if yyr3121 || yy2arr3121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3059 := &x.PodSignature - yy3059.CodecEncodeSelf(e) + yy3123 := &x.PodSignature + yy3123.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSignature")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3060 := &x.PodSignature - yy3060.CodecEncodeSelf(e) + yy3124 := &x.PodSignature + yy3124.CodecEncodeSelf(e) } - if yyr3057 || yy2arr3057 { + if yyr3121 || yy2arr3121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3057[1] { - yy3062 := &x.EvictionTime - yym3063 := z.EncBinary() - _ = yym3063 + if yyq3121[1] { + yy3126 := &x.EvictionTime + yym3127 := z.EncBinary() + _ = yym3127 if false { - } else if z.HasExtensions() && z.EncExt(yy3062) { - } else if yym3063 { - z.EncBinaryMarshal(yy3062) - } else if !yym3063 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3062) + } else if z.HasExtensions() && z.EncExt(yy3126) { + } else if yym3127 { + z.EncBinaryMarshal(yy3126) + } else if !yym3127 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3126) } else { - z.EncFallback(yy3062) + z.EncFallback(yy3126) } } else { r.EncodeNil() } } else { - if yyq3057[1] { + if yyq3121[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("evictionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3064 := &x.EvictionTime - yym3065 := z.EncBinary() - _ = yym3065 + yy3128 := &x.EvictionTime + yym3129 := z.EncBinary() + _ = yym3129 if false { - } else if z.HasExtensions() && z.EncExt(yy3064) { - } else if yym3065 { - z.EncBinaryMarshal(yy3064) - } else if !yym3065 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3064) + } else if z.HasExtensions() && z.EncExt(yy3128) { + } else if yym3129 { + z.EncBinaryMarshal(yy3128) + } else if !yym3129 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3128) } else { - z.EncFallback(yy3064) + z.EncFallback(yy3128) } } } - if yyr3057 || yy2arr3057 { + if yyr3121 || yy2arr3121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3057[2] { - yym3067 := z.EncBinary() - _ = yym3067 + if yyq3121[2] { + yym3131 := z.EncBinary() + _ = yym3131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -39271,23 +39959,23 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3057[2] { + if yyq3121[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3068 := z.EncBinary() - _ = yym3068 + yym3132 := z.EncBinary() + _ = yym3132 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3057 || yy2arr3057 { + if yyr3121 || yy2arr3121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3057[3] { - yym3070 := z.EncBinary() - _ = yym3070 + if yyq3121[3] { + yym3134 := z.EncBinary() + _ = yym3134 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -39296,19 +39984,19 @@ func (x *PreferAvoidPodsEntry) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3057[3] { + if yyq3121[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3071 := z.EncBinary() - _ = yym3071 + yym3135 := z.EncBinary() + _ = yym3135 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3057 || yy2arr3057 { + if yyr3121 || yy2arr3121 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39321,25 +40009,25 @@ func (x *PreferAvoidPodsEntry) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3072 := z.DecBinary() - _ = yym3072 + yym3136 := z.DecBinary() + _ = yym3136 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3073 := r.ContainerType() - if yyct3073 == codecSelferValueTypeMap1234 { - yyl3073 := r.ReadMapStart() - if yyl3073 == 0 { + yyct3137 := r.ContainerType() + if yyct3137 == codecSelferValueTypeMap1234 { + yyl3137 := r.ReadMapStart() + if yyl3137 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3073, d) + x.codecDecodeSelfFromMap(yyl3137, d) } - } else if yyct3073 == codecSelferValueTypeArray1234 { - yyl3073 := r.ReadArrayStart() - if yyl3073 == 0 { + } else if yyct3137 == codecSelferValueTypeArray1234 { + yyl3137 := r.ReadArrayStart() + if yyl3137 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3073, d) + x.codecDecodeSelfFromArray(yyl3137, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39351,12 +40039,12 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3074Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3074Slc - var yyhl3074 bool = l >= 0 - for yyj3074 := 0; ; yyj3074++ { - if yyhl3074 { - if yyj3074 >= l { + var yys3138Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3138Slc + var yyhl3138 bool = l >= 0 + for yyj3138 := 0; ; yyj3138++ { + if yyhl3138 { + if yyj3138 >= l { break } } else { @@ -39365,32 +40053,32 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3074Slc = r.DecodeBytes(yys3074Slc, true, true) - yys3074 := string(yys3074Slc) + yys3138Slc = r.DecodeBytes(yys3138Slc, true, true) + yys3138 := string(yys3138Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3074 { + switch yys3138 { case "podSignature": if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3075 := &x.PodSignature - yyv3075.CodecDecodeSelf(d) + yyv3139 := &x.PodSignature + yyv3139.CodecDecodeSelf(d) } case "evictionTime": if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3076 := &x.EvictionTime - yym3077 := z.DecBinary() - _ = yym3077 + yyv3140 := &x.EvictionTime + yym3141 := z.DecBinary() + _ = yym3141 if false { - } else if z.HasExtensions() && z.DecExt(yyv3076) { - } else if yym3077 { - z.DecBinaryUnmarshal(yyv3076) - } else if !yym3077 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3076) + } else if z.HasExtensions() && z.DecExt(yyv3140) { + } else if yym3141 { + z.DecBinaryUnmarshal(yyv3140) + } else if !yym3141 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3140) } else { - z.DecFallback(yyv3076, false) + z.DecFallback(yyv3140, false) } } case "reason": @@ -39406,9 +40094,9 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Message = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3074) - } // end switch yys3074 - } // end for yyj3074 + z.DecStructFieldNotFound(-1, yys3138) + } // end switch yys3138 + } // end for yyj3138 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39416,16 +40104,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3080 int - var yyb3080 bool - var yyhl3080 bool = l >= 0 - yyj3080++ - if yyhl3080 { - yyb3080 = yyj3080 > l + var yyj3144 int + var yyb3144 bool + var yyhl3144 bool = l >= 0 + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb3080 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb3080 { + if yyb3144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39433,16 +40121,16 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.PodSignature = PodSignature{} } else { - yyv3081 := &x.PodSignature - yyv3081.CodecDecodeSelf(d) + yyv3145 := &x.PodSignature + yyv3145.CodecDecodeSelf(d) } - yyj3080++ - if yyhl3080 { - yyb3080 = yyj3080 > l + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb3080 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb3080 { + if yyb3144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39450,26 +40138,26 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.EvictionTime = pkg2_unversioned.Time{} } else { - yyv3082 := &x.EvictionTime - yym3083 := z.DecBinary() - _ = yym3083 + yyv3146 := &x.EvictionTime + yym3147 := z.DecBinary() + _ = yym3147 if false { - } else if z.HasExtensions() && z.DecExt(yyv3082) { - } else if yym3083 { - z.DecBinaryUnmarshal(yyv3082) - } else if !yym3083 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3082) + } else if z.HasExtensions() && z.DecExt(yyv3146) { + } else if yym3147 { + z.DecBinaryUnmarshal(yyv3146) + } else if !yym3147 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3146) } else { - z.DecFallback(yyv3082, false) + z.DecFallback(yyv3146, false) } } - yyj3080++ - if yyhl3080 { - yyb3080 = yyj3080 > l + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb3080 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb3080 { + if yyb3144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39479,13 +40167,13 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco } else { x.Reason = string(r.DecodeString()) } - yyj3080++ - if yyhl3080 { - yyb3080 = yyj3080 > l + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb3080 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb3080 { + if yyb3144 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39496,17 +40184,17 @@ func (x *PreferAvoidPodsEntry) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Message = string(r.DecodeString()) } for { - yyj3080++ - if yyhl3080 { - yyb3080 = yyj3080 > l + yyj3144++ + if yyhl3144 { + yyb3144 = yyj3144 > l } else { - yyb3080 = r.CheckBreak() + yyb3144 = r.CheckBreak() } - if yyb3080 { + if yyb3144 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3080-1, "") + z.DecStructFieldNotFound(yyj3144-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -39518,33 +40206,33 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3086 := z.EncBinary() - _ = yym3086 + yym3150 := z.EncBinary() + _ = yym3150 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3087 := !z.EncBinary() - yy2arr3087 := z.EncBasicHandle().StructToArray - var yyq3087 [1]bool - _, _, _ = yysep3087, yyq3087, yy2arr3087 - const yyr3087 bool = false - yyq3087[0] = x.PodController != nil - var yynn3087 int - if yyr3087 || yy2arr3087 { + 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 { r.EncodeArrayStart(1) } else { - yynn3087 = 0 - for _, b := range yyq3087 { + yynn3151 = 0 + for _, b := range yyq3151 { if b { - yynn3087++ + yynn3151++ } } - r.EncodeMapStart(yynn3087) - yynn3087 = 0 + r.EncodeMapStart(yynn3151) + yynn3151 = 0 } - if yyr3087 || yy2arr3087 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3087[0] { + if yyq3151[0] { if x.PodController == nil { r.EncodeNil() } else { @@ -39554,7 +40242,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3087[0] { + if yyq3151[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podController")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -39565,7 +40253,7 @@ func (x *PodSignature) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3087 || yy2arr3087 { + if yyr3151 || yy2arr3151 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -39578,25 +40266,25 @@ func (x *PodSignature) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3089 := z.DecBinary() - _ = yym3089 + yym3153 := z.DecBinary() + _ = yym3153 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3090 := r.ContainerType() - if yyct3090 == codecSelferValueTypeMap1234 { - yyl3090 := r.ReadMapStart() - if yyl3090 == 0 { + yyct3154 := r.ContainerType() + if yyct3154 == codecSelferValueTypeMap1234 { + yyl3154 := r.ReadMapStart() + if yyl3154 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3090, d) + x.codecDecodeSelfFromMap(yyl3154, d) } - } else if yyct3090 == codecSelferValueTypeArray1234 { - yyl3090 := r.ReadArrayStart() - if yyl3090 == 0 { + } else if yyct3154 == codecSelferValueTypeArray1234 { + yyl3154 := r.ReadArrayStart() + if yyl3154 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3090, d) + x.codecDecodeSelfFromArray(yyl3154, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -39608,12 +40296,12 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3091Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3091Slc - var yyhl3091 bool = l >= 0 - for yyj3091 := 0; ; yyj3091++ { - if yyhl3091 { - if yyj3091 >= l { + var yys3155Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3155Slc + var yyhl3155 bool = l >= 0 + for yyj3155 := 0; ; yyj3155++ { + if yyhl3155 { + if yyj3155 >= l { break } } else { @@ -39622,10 +40310,10 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3091Slc = r.DecodeBytes(yys3091Slc, true, true) - yys3091 := string(yys3091Slc) + yys3155Slc = r.DecodeBytes(yys3155Slc, true, true) + yys3155 := string(yys3155Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3091 { + switch yys3155 { case "podController": if r.TryDecodeAsNil() { if x.PodController != nil { @@ -39638,9 +40326,9 @@ func (x *PodSignature) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3091) - } // end switch yys3091 - } // end for yyj3091 + z.DecStructFieldNotFound(-1, yys3155) + } // end switch yys3155 + } // end for yyj3155 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -39648,16 +40336,16 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3093 int - var yyb3093 bool - var yyhl3093 bool = l >= 0 - yyj3093++ - if yyhl3093 { - yyb3093 = yyj3093 > l + var yyj3157 int + var yyb3157 bool + var yyhl3157 bool = l >= 0 + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l } else { - yyb3093 = r.CheckBreak() + yyb3157 = r.CheckBreak() } - if yyb3093 { + if yyb3157 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -39673,773 +40361,22 @@ func (x *PodSignature) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.PodController.CodecDecodeSelf(d) } for { - yyj3093++ - if yyhl3093 { - yyb3093 = yyj3093 > l + yyj3157++ + if yyhl3157 { + yyb3157 = yyj3157 > l } else { - yyb3093 = r.CheckBreak() + yyb3157 = r.CheckBreak() } - if yyb3093 { + if yyb3157 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3093-1, "") + z.DecStructFieldNotFound(yyj3157-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x *ContainerImage) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3095 := z.EncBinary() - _ = yym3095 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3096 := !z.EncBinary() - yy2arr3096 := z.EncBasicHandle().StructToArray - var yyq3096 [2]bool - _, _, _ = yysep3096, yyq3096, yy2arr3096 - const yyr3096 bool = false - yyq3096[1] = x.SizeBytes != 0 - var yynn3096 int - if yyr3096 || yy2arr3096 { - r.EncodeArrayStart(2) - } else { - yynn3096 = 1 - for _, b := range yyq3096 { - if b { - yynn3096++ - } - } - r.EncodeMapStart(yynn3096) - yynn3096 = 0 - } - if yyr3096 || yy2arr3096 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Names == nil { - r.EncodeNil() - } else { - yym3098 := z.EncBinary() - _ = yym3098 - if false { - } else { - z.F.EncSliceStringV(x.Names, false, e) - } - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("names")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Names == nil { - r.EncodeNil() - } else { - yym3099 := z.EncBinary() - _ = yym3099 - if false { - } else { - z.F.EncSliceStringV(x.Names, false, e) - } - } - } - if yyr3096 || yy2arr3096 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3096[1] { - yym3101 := z.EncBinary() - _ = yym3101 - if false { - } else { - r.EncodeInt(int64(x.SizeBytes)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq3096[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3102 := z.EncBinary() - _ = yym3102 - if false { - } else { - r.EncodeInt(int64(x.SizeBytes)) - } - } - } - if yyr3096 || yy2arr3096 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3103 := z.DecBinary() - _ = yym3103 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3104 := r.ContainerType() - if yyct3104 == codecSelferValueTypeMap1234 { - yyl3104 := r.ReadMapStart() - if yyl3104 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3104, d) - } - } else if yyct3104 == codecSelferValueTypeArray1234 { - yyl3104 := r.ReadArrayStart() - if yyl3104 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3104, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ContainerImage) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - 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 { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3105Slc = r.DecodeBytes(yys3105Slc, true, true) - yys3105 := string(yys3105Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3105 { - case "names": - if r.TryDecodeAsNil() { - x.Names = nil - } else { - yyv3106 := &x.Names - yym3107 := z.DecBinary() - _ = yym3107 - if false { - } else { - z.F.DecSliceStringX(yyv3106, false, d) - } - } - case "sizeBytes": - if r.TryDecodeAsNil() { - x.SizeBytes = 0 - } else { - x.SizeBytes = int64(r.DecodeInt(64)) - } - default: - z.DecStructFieldNotFound(-1, yys3105) - } // end switch yys3105 - } // end for yyj3105 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ContainerImage) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3109 int - var yyb3109 bool - var yyhl3109 bool = l >= 0 - yyj3109++ - if yyhl3109 { - yyb3109 = yyj3109 > l - } else { - yyb3109 = r.CheckBreak() - } - if yyb3109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Names = nil - } else { - yyv3110 := &x.Names - yym3111 := z.DecBinary() - _ = yym3111 - if false { - } else { - z.F.DecSliceStringX(yyv3110, false, d) - } - } - yyj3109++ - if yyhl3109 { - yyb3109 = yyj3109 > l - } else { - yyb3109 = r.CheckBreak() - } - if yyb3109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.SizeBytes = 0 - } else { - x.SizeBytes = int64(r.DecodeInt(64)) - } - for { - yyj3109++ - if yyhl3109 { - yyb3109 = yyj3109 > l - } else { - yyb3109 = r.CheckBreak() - } - if yyb3109 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3109-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3113 := z.EncBinary() - _ = yym3113 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3114 := z.DecBinary() - _ = yym3114 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3115 := z.EncBinary() - _ = yym3115 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3116 := z.DecBinary() - _ = yym3116 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3117 := z.EncBinary() - _ = yym3117 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3118 := !z.EncBinary() - yy2arr3118 := z.EncBasicHandle().StructToArray - var yyq3118 [6]bool - _, _, _ = yysep3118, yyq3118, yy2arr3118 - const yyr3118 bool = false - yyq3118[2] = true - yyq3118[3] = true - yyq3118[4] = x.Reason != "" - yyq3118[5] = x.Message != "" - var yynn3118 int - if yyr3118 || yy2arr3118 { - r.EncodeArrayStart(6) - } else { - yynn3118 = 2 - for _, b := range yyq3118 { - if b { - yynn3118++ - } - } - r.EncodeMapStart(yynn3118) - yynn3118 = 0 - } - if yyr3118 || yy2arr3118 { - 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 yyr3118 || yy2arr3118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - x.Status.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Status.CodecEncodeSelf(e) - } - if yyr3118 || yy2arr3118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3118[2] { - yy3122 := &x.LastHeartbeatTime - yym3123 := z.EncBinary() - _ = yym3123 - if false { - } else if z.HasExtensions() && z.EncExt(yy3122) { - } else if yym3123 { - z.EncBinaryMarshal(yy3122) - } else if !yym3123 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3122) - } else { - z.EncFallback(yy3122) - } - } else { - r.EncodeNil() - } - } else { - if yyq3118[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3124 := &x.LastHeartbeatTime - yym3125 := z.EncBinary() - _ = yym3125 - if false { - } else if z.HasExtensions() && z.EncExt(yy3124) { - } else if yym3125 { - z.EncBinaryMarshal(yy3124) - } else if !yym3125 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3124) - } else { - z.EncFallback(yy3124) - } - } - } - if yyr3118 || yy2arr3118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3118[3] { - yy3127 := &x.LastTransitionTime - yym3128 := z.EncBinary() - _ = yym3128 - if false { - } else if z.HasExtensions() && z.EncExt(yy3127) { - } else if yym3128 { - z.EncBinaryMarshal(yy3127) - } else if !yym3128 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3127) - } else { - z.EncFallback(yy3127) - } - } else { - r.EncodeNil() - } - } else { - if yyq3118[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3129 := &x.LastTransitionTime - yym3130 := z.EncBinary() - _ = yym3130 - if false { - } else if z.HasExtensions() && z.EncExt(yy3129) { - } else if yym3130 { - z.EncBinaryMarshal(yy3129) - } else if !yym3130 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3129) - } else { - z.EncFallback(yy3129) - } - } - } - if yyr3118 || yy2arr3118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3118[4] { - yym3132 := z.EncBinary() - _ = yym3132 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3118[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3133 := z.EncBinary() - _ = yym3133 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } - } - if yyr3118 || yy2arr3118 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3118[5] { - yym3135 := z.EncBinary() - _ = yym3135 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3118[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("message")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3136 := z.EncBinary() - _ = yym3136 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Message)) - } - } - } - if yyr3118 || yy2arr3118 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3137 := z.DecBinary() - _ = yym3137 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3138 := r.ContainerType() - if yyct3138 == codecSelferValueTypeMap1234 { - yyl3138 := r.ReadMapStart() - if yyl3138 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3138, d) - } - } else if yyct3138 == codecSelferValueTypeArray1234 { - yyl3138 := r.ReadArrayStart() - if yyl3138 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3138, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3139Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3139Slc - var yyhl3139 bool = l >= 0 - for yyj3139 := 0; ; yyj3139++ { - if yyhl3139 { - if yyj3139 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3139Slc = r.DecodeBytes(yys3139Slc, true, true) - yys3139 := string(yys3139Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3139 { - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = NodeConditionType(r.DecodeString()) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - case "lastHeartbeatTime": - if r.TryDecodeAsNil() { - x.LastHeartbeatTime = pkg2_unversioned.Time{} - } else { - yyv3142 := &x.LastHeartbeatTime - yym3143 := z.DecBinary() - _ = yym3143 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3142) { - } else if yym3143 { - z.DecBinaryUnmarshal(yyv3142) - } else if !yym3143 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3142) - } else { - z.DecFallback(yyv3142, false) - } - } - case "lastTransitionTime": - if r.TryDecodeAsNil() { - x.LastTransitionTime = pkg2_unversioned.Time{} - } else { - yyv3144 := &x.LastTransitionTime - yym3145 := z.DecBinary() - _ = yym3145 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3144) { - } else if yym3145 { - z.DecBinaryUnmarshal(yyv3144) - } else if !yym3145 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3144) - } else { - z.DecFallback(yyv3144, 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, yys3139) - } // end switch yys3139 - } // end for yyj3139 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3148 int - var yyb3148 bool - var yyhl3148 bool = l >= 0 - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = NodeConditionType(r.DecodeString()) - } - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = "" - } else { - x.Status = ConditionStatus(r.DecodeString()) - } - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastHeartbeatTime = pkg2_unversioned.Time{} - } else { - yyv3151 := &x.LastHeartbeatTime - yym3152 := z.DecBinary() - _ = yym3152 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3151) { - } else if yym3152 { - z.DecBinaryUnmarshal(yyv3151) - } else if !yym3152 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3151) - } else { - z.DecFallback(yyv3151, false) - } - } - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LastTransitionTime = pkg2_unversioned.Time{} - } else { - yyv3153 := &x.LastTransitionTime - yym3154 := z.DecBinary() - _ = yym3154 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3153) { - } else if yym3154 { - z.DecBinaryUnmarshal(yyv3153) - } else if !yym3154 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3153) - } else { - z.DecFallback(yyv3153, false) - } - } - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Reason = "" - } else { - x.Reason = string(r.DecodeString()) - } - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Message = "" - } else { - x.Message = string(r.DecodeString()) - } - for { - yyj3148++ - if yyhl3148 { - yyb3148 = yyj3148 > l - } else { - yyb3148 = r.CheckBreak() - } - if yyb3148 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3148-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3157 := z.EncBinary() - _ = yym3157 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3158 := z.DecBinary() - _ = yym3158 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -40456,11 +40393,12 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { var yyq3160 [2]bool _, _, _ = yysep3160, yyq3160, yy2arr3160 const yyr3160 bool = false + yyq3160[1] = x.SizeBytes != 0 var yynn3160 int if yyr3160 || yy2arr3160 { r.EncodeArrayStart(2) } else { - yynn3160 = 2 + yynn3160 = 1 for _, b := range yyq3160 { if b { yynn3160++ @@ -40470,6 +40408,291 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { yynn3160 = 0 } if yyr3160 || yy2arr3160 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Names == nil { + r.EncodeNil() + } else { + yym3162 := z.EncBinary() + _ = yym3162 + if false { + } else { + z.F.EncSliceStringV(x.Names, false, e) + } + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("names")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Names == nil { + r.EncodeNil() + } else { + yym3163 := z.EncBinary() + _ = yym3163 + if false { + } else { + z.F.EncSliceStringV(x.Names, false, e) + } + } + } + if yyr3160 || yy2arr3160 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3160[1] { + yym3165 := z.EncBinary() + _ = yym3165 + if false { + } else { + r.EncodeInt(int64(x.SizeBytes)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq3160[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("sizeBytes")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3166 := z.EncBinary() + _ = yym3166 + if false { + } else { + r.EncodeInt(int64(x.SizeBytes)) + } + } + } + if yyr3160 || yy2arr3160 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ContainerImage) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3167 := z.DecBinary() + _ = yym3167 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3168 := r.ContainerType() + if yyct3168 == codecSelferValueTypeMap1234 { + yyl3168 := r.ReadMapStart() + if yyl3168 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3168, d) + } + } else if yyct3168 == codecSelferValueTypeArray1234 { + yyl3168 := r.ReadArrayStart() + if yyl3168 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3168, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3169Slc = r.DecodeBytes(yys3169Slc, true, true) + yys3169 := string(yys3169Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3169 { + case "names": + if r.TryDecodeAsNil() { + x.Names = nil + } else { + yyv3170 := &x.Names + yym3171 := z.DecBinary() + _ = yym3171 + if false { + } else { + z.F.DecSliceStringX(yyv3170, false, d) + } + } + case "sizeBytes": + if r.TryDecodeAsNil() { + x.SizeBytes = 0 + } else { + x.SizeBytes = int64(r.DecodeInt(64)) + } + default: + z.DecStructFieldNotFound(-1, yys3169) + } // end switch yys3169 + } // end for yyj3169 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3173 = r.CheckBreak() + } + if yyb3173 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Names = nil + } else { + yyv3174 := &x.Names + yym3175 := z.DecBinary() + _ = yym3175 + if false { + } else { + z.F.DecSliceStringX(yyv3174, false, d) + } + } + yyj3173++ + if yyhl3173 { + yyb3173 = yyj3173 > l + } else { + yyb3173 = r.CheckBreak() + } + if yyb3173 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.SizeBytes = 0 + } else { + x.SizeBytes = int64(r.DecodeInt(64)) + } + for { + yyj3173++ + if yyhl3173 { + yyb3173 = yyj3173 > l + } else { + yyb3173 = r.CheckBreak() + } + if yyb3173 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3173-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NodePhase) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3177 := z.EncBinary() + _ = yym3177 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodePhase) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3178 := z.DecBinary() + _ = yym3178 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x NodeConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3179 := z.EncBinary() + _ = yym3179 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3180 := z.DecBinary() + _ = yym3180 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NodeCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3181 := z.EncBinary() + _ = yym3181 + 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 { + r.EncodeArrayStart(6) + } else { + yynn3182 = 2 + for _, b := range yyq3182 { + if b { + yynn3182++ + } + } + r.EncodeMapStart(yynn3182) + yynn3182 = 0 + } + if yyr3182 || yy2arr3182 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -40478,10 +40701,475 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr3160 || yy2arr3160 { + if yyr3182 || yy2arr3182 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3163 := z.EncBinary() - _ = yym3163 + x.Status.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Status.CodecEncodeSelf(e) + } + if yyr3182 || yy2arr3182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3182[2] { + yy3186 := &x.LastHeartbeatTime + yym3187 := z.EncBinary() + _ = yym3187 + if false { + } else if z.HasExtensions() && z.EncExt(yy3186) { + } else if yym3187 { + z.EncBinaryMarshal(yy3186) + } else if !yym3187 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3186) + } else { + z.EncFallback(yy3186) + } + } else { + r.EncodeNil() + } + } else { + if yyq3182[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastHeartbeatTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3188 := &x.LastHeartbeatTime + yym3189 := z.EncBinary() + _ = yym3189 + if false { + } else if z.HasExtensions() && z.EncExt(yy3188) { + } else if yym3189 { + z.EncBinaryMarshal(yy3188) + } else if !yym3189 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3188) + } else { + z.EncFallback(yy3188) + } + } + } + if yyr3182 || yy2arr3182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3182[3] { + yy3191 := &x.LastTransitionTime + yym3192 := z.EncBinary() + _ = yym3192 + if false { + } else if z.HasExtensions() && z.EncExt(yy3191) { + } else if yym3192 { + z.EncBinaryMarshal(yy3191) + } else if !yym3192 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3191) + } else { + z.EncFallback(yy3191) + } + } else { + r.EncodeNil() + } + } else { + if yyq3182[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3193 := &x.LastTransitionTime + yym3194 := z.EncBinary() + _ = yym3194 + if false { + } else if z.HasExtensions() && z.EncExt(yy3193) { + } else if yym3194 { + z.EncBinaryMarshal(yy3193) + } else if !yym3194 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3193) + } else { + z.EncFallback(yy3193) + } + } + } + if yyr3182 || yy2arr3182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3182[4] { + yym3196 := z.EncBinary() + _ = yym3196 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3182[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3197 := z.EncBinary() + _ = yym3197 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr3182 || yy2arr3182 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3182[5] { + yym3199 := z.EncBinary() + _ = yym3199 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3182[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3200 := z.EncBinary() + _ = yym3200 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr3182 || yy2arr3182 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NodeCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3201 := z.DecBinary() + _ = yym3201 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3202 := r.ContainerType() + if yyct3202 == codecSelferValueTypeMap1234 { + yyl3202 := r.ReadMapStart() + if yyl3202 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3202, d) + } + } else if yyct3202 == codecSelferValueTypeArray1234 { + yyl3202 := r.ReadArrayStart() + if yyl3202 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3202, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3203Slc = r.DecodeBytes(yys3203Slc, true, true) + yys3203 := string(yys3203Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3203 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = NodeConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + case "lastHeartbeatTime": + if r.TryDecodeAsNil() { + x.LastHeartbeatTime = pkg2_unversioned.Time{} + } else { + yyv3206 := &x.LastHeartbeatTime + yym3207 := z.DecBinary() + _ = yym3207 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3206) { + } else if yym3207 { + z.DecBinaryUnmarshal(yyv3206) + } else if !yym3207 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3206) + } else { + z.DecFallback(yyv3206, false) + } + } + case "lastTransitionTime": + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_unversioned.Time{} + } else { + yyv3208 := &x.LastTransitionTime + yym3209 := z.DecBinary() + _ = yym3209 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3208) { + } else if yym3209 { + z.DecBinaryUnmarshal(yyv3208) + } else if !yym3209 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3208) + } else { + z.DecFallback(yyv3208, 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, yys3203) + } // end switch yys3203 + } // end for yyj3203 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = NodeConditionType(r.DecodeString()) + } + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = ConditionStatus(r.DecodeString()) + } + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastHeartbeatTime = pkg2_unversioned.Time{} + } else { + yyv3215 := &x.LastHeartbeatTime + yym3216 := z.DecBinary() + _ = yym3216 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3215) { + } else if yym3216 { + z.DecBinaryUnmarshal(yyv3215) + } else if !yym3216 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3215) + } else { + z.DecFallback(yyv3215, false) + } + } + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg2_unversioned.Time{} + } else { + yyv3217 := &x.LastTransitionTime + yym3218 := z.DecBinary() + _ = yym3218 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3217) { + } else if yym3218 { + z.DecBinaryUnmarshal(yyv3217) + } else if !yym3218 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3217) + } else { + z.DecFallback(yyv3217, false) + } + } + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj3212++ + if yyhl3212 { + yyb3212 = yyj3212 > l + } else { + yyb3212 = r.CheckBreak() + } + if yyb3212 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3212-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NodeAddressType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3221 := z.EncBinary() + _ = yym3221 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NodeAddressType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3222 := z.DecBinary() + _ = yym3222 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3223 := z.EncBinary() + _ = yym3223 + 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 { + r.EncodeArrayStart(2) + } else { + yynn3224 = 2 + for _, b := range yyq3224 { + if b { + yynn3224++ + } + } + r.EncodeMapStart(yynn3224) + yynn3224 = 0 + } + if yyr3224 || yy2arr3224 { + 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 yyr3224 || yy2arr3224 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym3227 := z.EncBinary() + _ = yym3227 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) @@ -40490,14 +41178,14 @@ func (x *NodeAddress) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("address")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3164 := z.EncBinary() - _ = yym3164 + yym3228 := z.EncBinary() + _ = yym3228 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Address)) } } - if yyr3160 || yy2arr3160 { + if yyr3224 || yy2arr3224 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40510,25 +41198,25 @@ func (x *NodeAddress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3165 := z.DecBinary() - _ = yym3165 + yym3229 := z.DecBinary() + _ = yym3229 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3166 := r.ContainerType() - if yyct3166 == codecSelferValueTypeMap1234 { - yyl3166 := r.ReadMapStart() - if yyl3166 == 0 { + yyct3230 := r.ContainerType() + if yyct3230 == codecSelferValueTypeMap1234 { + yyl3230 := r.ReadMapStart() + if yyl3230 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3166, d) + x.codecDecodeSelfFromMap(yyl3230, d) } - } else if yyct3166 == codecSelferValueTypeArray1234 { - yyl3166 := r.ReadArrayStart() - if yyl3166 == 0 { + } else if yyct3230 == codecSelferValueTypeArray1234 { + yyl3230 := r.ReadArrayStart() + if yyl3230 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3166, d) + x.codecDecodeSelfFromArray(yyl3230, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -40540,12 +41228,12 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3167Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3167Slc - var yyhl3167 bool = l >= 0 - for yyj3167 := 0; ; yyj3167++ { - if yyhl3167 { - if yyj3167 >= l { + var yys3231Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3231Slc + var yyhl3231 bool = l >= 0 + for yyj3231 := 0; ; yyj3231++ { + if yyhl3231 { + if yyj3231 >= l { break } } else { @@ -40554,10 +41242,10 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3167Slc = r.DecodeBytes(yys3167Slc, true, true) - yys3167 := string(yys3167Slc) + yys3231Slc = r.DecodeBytes(yys3231Slc, true, true) + yys3231 := string(yys3231Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3167 { + switch yys3231 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -40571,9 +41259,9 @@ func (x *NodeAddress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3167) - } // end switch yys3167 - } // end for yyj3167 + z.DecStructFieldNotFound(-1, yys3231) + } // end switch yys3231 + } // end for yyj3231 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -40581,16 +41269,16 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3170 int - var yyb3170 bool - var yyhl3170 bool = l >= 0 - yyj3170++ - if yyhl3170 { - yyb3170 = yyj3170 > l + var yyj3234 int + var yyb3234 bool + var yyhl3234 bool = l >= 0 + yyj3234++ + if yyhl3234 { + yyb3234 = yyj3234 > l } else { - yyb3170 = r.CheckBreak() + yyb3234 = r.CheckBreak() } - if yyb3170 { + if yyb3234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40600,13 +41288,13 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = NodeAddressType(r.DecodeString()) } - yyj3170++ - if yyhl3170 { - yyb3170 = yyj3170 > l + yyj3234++ + if yyhl3234 { + yyb3234 = yyj3234 > l } else { - yyb3170 = r.CheckBreak() + yyb3234 = r.CheckBreak() } - if yyb3170 { + if yyb3234 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -40617,17 +41305,17 @@ func (x *NodeAddress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Address = string(r.DecodeString()) } for { - yyj3170++ - if yyhl3170 { - yyb3170 = yyj3170 > l + yyj3234++ + if yyhl3234 { + yyb3234 = yyj3234 > l } else { - yyb3170 = r.CheckBreak() + yyb3234 = r.CheckBreak() } - if yyb3170 { + if yyb3234 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3170-1, "") + z.DecStructFieldNotFound(yyj3234-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -40636,8 +41324,8 @@ func (x ResourceName) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3173 := z.EncBinary() - _ = yym3173 + yym3237 := z.EncBinary() + _ = yym3237 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40649,8 +41337,8 @@ func (x *ResourceName) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3174 := z.DecBinary() - _ = yym3174 + yym3238 := z.DecBinary() + _ = yym3238 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40665,8 +41353,8 @@ func (x ResourceList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3175 := z.EncBinary() - _ = yym3175 + yym3239 := z.EncBinary() + _ = yym3239 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -40679,8 +41367,8 @@ func (x *ResourceList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3176 := z.DecBinary() - _ = yym3176 + yym3240 := z.DecBinary() + _ = yym3240 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -40695,39 +41383,39 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3177 := z.EncBinary() - _ = yym3177 + yym3241 := z.EncBinary() + _ = yym3241 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3178 := !z.EncBinary() - yy2arr3178 := z.EncBasicHandle().StructToArray - var yyq3178 [5]bool - _, _, _ = yysep3178, yyq3178, yy2arr3178 - const yyr3178 bool = false - yyq3178[0] = x.Kind != "" - yyq3178[1] = x.APIVersion != "" - yyq3178[2] = true - yyq3178[3] = true - yyq3178[4] = true - var yynn3178 int - if yyr3178 || yy2arr3178 { + 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 { r.EncodeArrayStart(5) } else { - yynn3178 = 0 - for _, b := range yyq3178 { + yynn3242 = 0 + for _, b := range yyq3242 { if b { - yynn3178++ + yynn3242++ } } - r.EncodeMapStart(yynn3178) - yynn3178 = 0 + r.EncodeMapStart(yynn3242) + yynn3242 = 0 } - if yyr3178 || yy2arr3178 { + if yyr3242 || yy2arr3242 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3178[0] { - yym3180 := z.EncBinary() - _ = yym3180 + if yyq3242[0] { + yym3244 := z.EncBinary() + _ = yym3244 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -40736,23 +41424,23 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3178[0] { + if yyq3242[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3181 := z.EncBinary() - _ = yym3181 + yym3245 := z.EncBinary() + _ = yym3245 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3178 || yy2arr3178 { + if yyr3242 || yy2arr3242 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3178[1] { - yym3183 := z.EncBinary() - _ = yym3183 + if yyq3242[1] { + yym3247 := z.EncBinary() + _ = yym3247 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -40761,70 +41449,70 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3178[1] { + if yyq3242[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3184 := z.EncBinary() - _ = yym3184 + yym3248 := z.EncBinary() + _ = yym3248 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3178 || yy2arr3178 { + if yyr3242 || yy2arr3242 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3178[2] { - yy3186 := &x.ObjectMeta - yy3186.CodecEncodeSelf(e) + if yyq3242[2] { + yy3250 := &x.ObjectMeta + yy3250.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3178[2] { + if yyq3242[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3187 := &x.ObjectMeta - yy3187.CodecEncodeSelf(e) + yy3251 := &x.ObjectMeta + yy3251.CodecEncodeSelf(e) } } - if yyr3178 || yy2arr3178 { + if yyr3242 || yy2arr3242 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3178[3] { - yy3189 := &x.Spec - yy3189.CodecEncodeSelf(e) + if yyq3242[3] { + yy3253 := &x.Spec + yy3253.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3178[3] { + if yyq3242[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3190 := &x.Spec - yy3190.CodecEncodeSelf(e) + yy3254 := &x.Spec + yy3254.CodecEncodeSelf(e) } } - if yyr3178 || yy2arr3178 { + if yyr3242 || yy2arr3242 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3178[4] { - yy3192 := &x.Status - yy3192.CodecEncodeSelf(e) + if yyq3242[4] { + yy3256 := &x.Status + yy3256.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3178[4] { + if yyq3242[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3193 := &x.Status - yy3193.CodecEncodeSelf(e) + yy3257 := &x.Status + yy3257.CodecEncodeSelf(e) } } - if yyr3178 || yy2arr3178 { + if yyr3242 || yy2arr3242 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -40834,818 +41522,6 @@ func (x *Node) CodecEncodeSelf(e *codec1978.Encoder) { } func (x *Node) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3194 := z.DecBinary() - _ = yym3194 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3195 := r.ContainerType() - if yyct3195 == codecSelferValueTypeMap1234 { - yyl3195 := r.ReadMapStart() - if yyl3195 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3195, d) - } - } else if yyct3195 == codecSelferValueTypeArray1234 { - yyl3195 := r.ReadArrayStart() - if yyl3195 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3195, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3196Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3196Slc - var yyhl3196 bool = l >= 0 - for yyj3196 := 0; ; yyj3196++ { - if yyhl3196 { - if yyj3196 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3196Slc = r.DecodeBytes(yys3196Slc, true, true) - yys3196 := string(yys3196Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3196 { - 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 = ObjectMeta{} - } else { - yyv3199 := &x.ObjectMeta - yyv3199.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv3200 := &x.Spec - yyv3200.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv3201 := &x.Status - yyv3201.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys3196) - } // end switch yys3196 - } // end for yyj3196 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3202 int - var yyb3202 bool - var yyhl3202 bool = l >= 0 - yyj3202++ - if yyhl3202 { - yyb3202 = yyj3202 > l - } else { - yyb3202 = r.CheckBreak() - } - if yyb3202 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3202++ - if yyhl3202 { - yyb3202 = yyj3202 > l - } else { - yyb3202 = r.CheckBreak() - } - if yyb3202 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3202++ - if yyhl3202 { - yyb3202 = yyj3202 > l - } else { - yyb3202 = r.CheckBreak() - } - if yyb3202 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv3205 := &x.ObjectMeta - yyv3205.CodecDecodeSelf(d) - } - yyj3202++ - if yyhl3202 { - yyb3202 = yyj3202 > l - } else { - yyb3202 = r.CheckBreak() - } - if yyb3202 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = NodeSpec{} - } else { - yyv3206 := &x.Spec - yyv3206.CodecDecodeSelf(d) - } - yyj3202++ - if yyhl3202 { - yyb3202 = yyj3202 > l - } else { - yyb3202 = r.CheckBreak() - } - if yyb3202 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = NodeStatus{} - } else { - yyv3207 := &x.Status - yyv3207.CodecDecodeSelf(d) - } - for { - yyj3202++ - if yyhl3202 { - yyb3202 = yyj3202 > l - } else { - yyb3202 = r.CheckBreak() - } - if yyb3202 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3202-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3208 := z.EncBinary() - _ = yym3208 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3209 := !z.EncBinary() - yy2arr3209 := z.EncBasicHandle().StructToArray - var yyq3209 [4]bool - _, _, _ = yysep3209, yyq3209, yy2arr3209 - const yyr3209 bool = false - yyq3209[0] = x.Kind != "" - yyq3209[1] = x.APIVersion != "" - yyq3209[2] = true - var yynn3209 int - if yyr3209 || yy2arr3209 { - r.EncodeArrayStart(4) - } else { - yynn3209 = 1 - for _, b := range yyq3209 { - if b { - yynn3209++ - } - } - r.EncodeMapStart(yynn3209) - yynn3209 = 0 - } - if yyr3209 || yy2arr3209 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3209[0] { - yym3211 := z.EncBinary() - _ = yym3211 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3209[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3212 := z.EncBinary() - _ = yym3212 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3209 || yy2arr3209 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3209[1] { - yym3214 := z.EncBinary() - _ = yym3214 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3209[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3215 := z.EncBinary() - _ = yym3215 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3209 || yy2arr3209 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3209[2] { - yy3217 := &x.ListMeta - yym3218 := z.EncBinary() - _ = yym3218 - if false { - } else if z.HasExtensions() && z.EncExt(yy3217) { - } else { - z.EncFallback(yy3217) - } - } else { - r.EncodeNil() - } - } else { - if yyq3209[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3219 := &x.ListMeta - yym3220 := z.EncBinary() - _ = yym3220 - if false { - } else if z.HasExtensions() && z.EncExt(yy3219) { - } else { - z.EncFallback(yy3219) - } - } - } - if yyr3209 || yy2arr3209 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym3222 := z.EncBinary() - _ = yym3222 - if false { - } else { - h.encSliceNode(([]Node)(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 { - yym3223 := z.EncBinary() - _ = yym3223 - if false { - } else { - h.encSliceNode(([]Node)(x.Items), e) - } - } - } - if yyr3209 || yy2arr3209 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3224 := z.DecBinary() - _ = yym3224 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3225 := r.ContainerType() - if yyct3225 == codecSelferValueTypeMap1234 { - yyl3225 := r.ReadMapStart() - if yyl3225 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3225, d) - } - } else if yyct3225 == codecSelferValueTypeArray1234 { - yyl3225 := r.ReadArrayStart() - if yyl3225 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3225, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3226Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3226Slc - var yyhl3226 bool = l >= 0 - for yyj3226 := 0; ; yyj3226++ { - if yyhl3226 { - if yyj3226 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3226Slc = r.DecodeBytes(yys3226Slc, true, true) - yys3226 := string(yys3226Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3226 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv3229 := &x.ListMeta - yym3230 := z.DecBinary() - _ = yym3230 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3229) { - } else { - z.DecFallback(yyv3229, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3231 := &x.Items - yym3232 := z.DecBinary() - _ = yym3232 - if false { - } else { - h.decSliceNode((*[]Node)(yyv3231), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3226) - } // end switch yys3226 - } // end for yyj3226 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3233 int - var yyb3233 bool - var yyhl3233 bool = l >= 0 - yyj3233++ - if yyhl3233 { - yyb3233 = yyj3233 > l - } else { - yyb3233 = r.CheckBreak() - } - if yyb3233 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3233++ - if yyhl3233 { - yyb3233 = yyj3233 > l - } else { - yyb3233 = r.CheckBreak() - } - if yyb3233 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3233++ - if yyhl3233 { - yyb3233 = yyj3233 > l - } else { - yyb3233 = r.CheckBreak() - } - if yyb3233 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv3236 := &x.ListMeta - yym3237 := z.DecBinary() - _ = yym3237 - if false { - } else if z.HasExtensions() && z.DecExt(yyv3236) { - } else { - z.DecFallback(yyv3236, false) - } - } - yyj3233++ - if yyhl3233 { - yyb3233 = yyj3233 > l - } else { - yyb3233 = r.CheckBreak() - } - if yyb3233 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv3238 := &x.Items - yym3239 := z.DecBinary() - _ = yym3239 - if false { - } else { - h.decSliceNode((*[]Node)(yyv3238), d) - } - } - for { - yyj3233++ - if yyhl3233 { - yyb3233 = yyj3233 > l - } else { - yyb3233 = r.CheckBreak() - } - if yyb3233 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3233-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3240 := z.EncBinary() - _ = yym3240 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3241 := z.DecBinary() - _ = yym3241 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3242 := z.EncBinary() - _ = yym3242 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3243 := !z.EncBinary() - yy2arr3243 := z.EncBasicHandle().StructToArray - var yyq3243 [1]bool - _, _, _ = yysep3243, yyq3243, yy2arr3243 - const yyr3243 bool = false - yyq3243[0] = len(x.Finalizers) != 0 - var yynn3243 int - if yyr3243 || yy2arr3243 { - r.EncodeArrayStart(1) - } else { - yynn3243 = 0 - for _, b := range yyq3243 { - if b { - yynn3243++ - } - } - r.EncodeMapStart(yynn3243) - yynn3243 = 0 - } - if yyr3243 || yy2arr3243 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3243[0] { - if x.Finalizers == nil { - r.EncodeNil() - } else { - yym3245 := z.EncBinary() - _ = yym3245 - if false { - } else { - h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3243[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("finalizers")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Finalizers == nil { - r.EncodeNil() - } else { - yym3246 := z.EncBinary() - _ = yym3246 - if false { - } else { - h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) - } - } - } - } - if yyr3243 || yy2arr3243 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3247 := z.DecBinary() - _ = yym3247 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3248 := r.ContainerType() - if yyct3248 == codecSelferValueTypeMap1234 { - yyl3248 := r.ReadMapStart() - if yyl3248 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3248, d) - } - } else if yyct3248 == codecSelferValueTypeArray1234 { - yyl3248 := r.ReadArrayStart() - if yyl3248 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3248, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3249Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3249Slc - var yyhl3249 bool = l >= 0 - for yyj3249 := 0; ; yyj3249++ { - if yyhl3249 { - if yyj3249 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3249Slc = r.DecodeBytes(yys3249Slc, true, true) - yys3249 := string(yys3249Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3249 { - case "finalizers": - if r.TryDecodeAsNil() { - x.Finalizers = nil - } else { - yyv3250 := &x.Finalizers - yym3251 := z.DecBinary() - _ = yym3251 - if false { - } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3250), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys3249) - } // end switch yys3249 - } // end for yyj3249 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NamespaceSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3252 int - var yyb3252 bool - var yyhl3252 bool = l >= 0 - yyj3252++ - if yyhl3252 { - yyb3252 = yyj3252 > l - } else { - yyb3252 = r.CheckBreak() - } - if yyb3252 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Finalizers = nil - } else { - yyv3253 := &x.Finalizers - yym3254 := z.DecBinary() - _ = yym3254 - if false { - } else { - h.decSliceFinalizerName((*[]FinalizerName)(yyv3253), d) - } - } - for { - yyj3252++ - if yyhl3252 { - yyb3252 = yyj3252 > l - } else { - yyb3252 = r.CheckBreak() - } - if yyb3252 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3252-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3255 := z.EncBinary() - _ = yym3255 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3256 := !z.EncBinary() - yy2arr3256 := z.EncBasicHandle().StructToArray - var yyq3256 [1]bool - _, _, _ = yysep3256, yyq3256, yy2arr3256 - const yyr3256 bool = false - yyq3256[0] = x.Phase != "" - var yynn3256 int - if yyr3256 || yy2arr3256 { - r.EncodeArrayStart(1) - } else { - yynn3256 = 0 - for _, b := range yyq3256 { - if b { - yynn3256++ - } - } - r.EncodeMapStart(yynn3256) - yynn3256 = 0 - } - if yyr3256 || yy2arr3256 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3256[0] { - x.Phase.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3256[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("phase")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Phase.CodecEncodeSelf(e) - } - } - if yyr3256 || yy2arr3256 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41675,7 +41551,7 @@ func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Node) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -41697,281 +41573,6 @@ func (x *NamespaceStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yys3260 := string(yys3260Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) switch yys3260 { - case "phase": - if r.TryDecodeAsNil() { - x.Phase = "" - } else { - x.Phase = NamespacePhase(r.DecodeString()) - } - default: - z.DecStructFieldNotFound(-1, yys3260) - } // end switch yys3260 - } // end for yyj3260 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *NamespaceStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3262 int - var yyb3262 bool - var yyhl3262 bool = l >= 0 - yyj3262++ - if yyhl3262 { - yyb3262 = yyj3262 > l - } else { - yyb3262 = r.CheckBreak() - } - if yyb3262 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Phase = "" - } else { - x.Phase = NamespacePhase(r.DecodeString()) - } - for { - yyj3262++ - if yyhl3262 { - yyb3262 = yyj3262 > l - } else { - yyb3262 = r.CheckBreak() - } - if yyb3262 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3262-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym3264 := z.EncBinary() - _ = yym3264 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3265 := z.DecBinary() - _ = yym3265 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3266 := z.EncBinary() - _ = yym3266 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3267 := !z.EncBinary() - yy2arr3267 := z.EncBasicHandle().StructToArray - var yyq3267 [5]bool - _, _, _ = yysep3267, yyq3267, yy2arr3267 - const yyr3267 bool = false - yyq3267[0] = x.Kind != "" - yyq3267[1] = x.APIVersion != "" - yyq3267[2] = true - yyq3267[3] = true - yyq3267[4] = true - var yynn3267 int - if yyr3267 || yy2arr3267 { - r.EncodeArrayStart(5) - } else { - yynn3267 = 0 - for _, b := range yyq3267 { - if b { - yynn3267++ - } - } - r.EncodeMapStart(yynn3267) - yynn3267 = 0 - } - if yyr3267 || yy2arr3267 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3267[0] { - yym3269 := z.EncBinary() - _ = yym3269 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3267[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3270 := z.EncBinary() - _ = yym3270 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3267 || yy2arr3267 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3267[1] { - yym3272 := z.EncBinary() - _ = yym3272 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3267[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3273 := z.EncBinary() - _ = yym3273 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3267 || yy2arr3267 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3267[2] { - yy3275 := &x.ObjectMeta - yy3275.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3267[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3276 := &x.ObjectMeta - yy3276.CodecEncodeSelf(e) - } - } - if yyr3267 || yy2arr3267 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3267[3] { - yy3278 := &x.Spec - yy3278.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3267[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3279 := &x.Spec - yy3279.CodecEncodeSelf(e) - } - } - if yyr3267 || yy2arr3267 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3267[4] { - yy3281 := &x.Status - yy3281.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq3267[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3282 := &x.Status - yy3282.CodecEncodeSelf(e) - } - } - if yyr3267 || yy2arr3267 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3283 := z.DecBinary() - _ = yym3283 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3284 := r.ContainerType() - if yyct3284 == codecSelferValueTypeMap1234 { - yyl3284 := r.ReadMapStart() - if yyl3284 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3284, d) - } - } else if yyct3284 == codecSelferValueTypeArray1234 { - yyl3284 := r.ReadArrayStart() - if yyl3284 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3284, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3285Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3285Slc - var yyhl3285 bool = l >= 0 - for yyj3285 := 0; ; yyj3285++ { - if yyhl3285 { - if yyj3285 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3285Slc = r.DecodeBytes(yys3285Slc, true, true) - yys3285 := string(yys3285Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3285 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -41988,44 +41589,44 @@ func (x *Namespace) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3288 := &x.ObjectMeta - yyv3288.CodecDecodeSelf(d) + yyv3263 := &x.ObjectMeta + yyv3263.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} + x.Spec = NodeSpec{} } else { - yyv3289 := &x.Spec - yyv3289.CodecDecodeSelf(d) + yyv3264 := &x.Spec + yyv3264.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} + x.Status = NodeStatus{} } else { - yyv3290 := &x.Status - yyv3290.CodecDecodeSelf(d) + yyv3265 := &x.Status + yyv3265.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3285) - } // end switch yys3285 - } // end for yyj3285 + z.DecStructFieldNotFound(-1, yys3260) + } // end switch yys3260 + } // end for yyj3260 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Node) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3291 int - var yyb3291 bool - var yyhl3291 bool = l >= 0 - yyj3291++ - if yyhl3291 { - yyb3291 = yyj3291 > l + var yyj3266 int + var yyb3266 bool + var yyhl3266 bool = l >= 0 + yyj3266++ + if yyhl3266 { + yyb3266 = yyj3266 > l } else { - yyb3291 = r.CheckBreak() + yyb3266 = r.CheckBreak() } - if yyb3291 { + if yyb3266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42035,13 +41636,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3291++ - if yyhl3291 { - yyb3291 = yyj3291 > l + yyj3266++ + if yyhl3266 { + yyb3266 = yyj3266 > l } else { - yyb3291 = r.CheckBreak() + yyb3266 = r.CheckBreak() } - if yyb3291 { + if yyb3266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42051,13 +41652,13 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3291++ - if yyhl3291 { - yyb3291 = yyj3291 > l + yyj3266++ + if yyhl3266 { + yyb3266 = yyj3266 > l } else { - yyb3291 = r.CheckBreak() + yyb3266 = r.CheckBreak() } - if yyb3291 { + if yyb3266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42065,97 +41666,97 @@ func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3294 := &x.ObjectMeta - yyv3294.CodecDecodeSelf(d) + yyv3269 := &x.ObjectMeta + yyv3269.CodecDecodeSelf(d) } - yyj3291++ - if yyhl3291 { - yyb3291 = yyj3291 > l + yyj3266++ + if yyhl3266 { + yyb3266 = yyj3266 > l } else { - yyb3291 = r.CheckBreak() + yyb3266 = r.CheckBreak() } - if yyb3291 { + if yyb3266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Spec = NamespaceSpec{} + x.Spec = NodeSpec{} } else { - yyv3295 := &x.Spec - yyv3295.CodecDecodeSelf(d) + yyv3270 := &x.Spec + yyv3270.CodecDecodeSelf(d) } - yyj3291++ - if yyhl3291 { - yyb3291 = yyj3291 > l + yyj3266++ + if yyhl3266 { + yyb3266 = yyj3266 > l } else { - yyb3291 = r.CheckBreak() + yyb3266 = r.CheckBreak() } - if yyb3291 { + if yyb3266 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Status = NamespaceStatus{} + x.Status = NodeStatus{} } else { - yyv3296 := &x.Status - yyv3296.CodecDecodeSelf(d) + yyv3271 := &x.Status + yyv3271.CodecDecodeSelf(d) } for { - yyj3291++ - if yyhl3291 { - yyb3291 = yyj3291 > l + yyj3266++ + if yyhl3266 { + yyb3266 = yyj3266 > l } else { - yyb3291 = r.CheckBreak() + yyb3266 = r.CheckBreak() } - if yyb3291 { + if yyb3266 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3291-1, "") + z.DecStructFieldNotFound(yyj3266-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *NodeList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3297 := z.EncBinary() - _ = yym3297 + yym3272 := z.EncBinary() + _ = yym3272 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3298 := !z.EncBinary() - yy2arr3298 := z.EncBasicHandle().StructToArray - var yyq3298 [4]bool - _, _, _ = yysep3298, yyq3298, yy2arr3298 - const yyr3298 bool = false - yyq3298[0] = x.Kind != "" - yyq3298[1] = x.APIVersion != "" - yyq3298[2] = true - var yynn3298 int - if yyr3298 || yy2arr3298 { + 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 { r.EncodeArrayStart(4) } else { - yynn3298 = 1 - for _, b := range yyq3298 { + yynn3273 = 1 + for _, b := range yyq3273 { if b { - yynn3298++ + yynn3273++ } } - r.EncodeMapStart(yynn3298) - yynn3298 = 0 + r.EncodeMapStart(yynn3273) + yynn3273 = 0 } - if yyr3298 || yy2arr3298 { + if yyr3273 || yy2arr3273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3298[0] { - yym3300 := z.EncBinary() - _ = yym3300 + if yyq3273[0] { + yym3275 := z.EncBinary() + _ = yym3275 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -42164,23 +41765,23 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3298[0] { + if yyq3273[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3301 := z.EncBinary() - _ = yym3301 + yym3276 := z.EncBinary() + _ = yym3276 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3298 || yy2arr3298 { + if yyr3273 || yy2arr3273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3298[1] { - yym3303 := z.EncBinary() - _ = yym3303 + if yyq3273[1] { + yym3278 := z.EncBinary() + _ = yym3278 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -42189,57 +41790,57 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3298[1] { + if yyq3273[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3304 := z.EncBinary() - _ = yym3304 + yym3279 := z.EncBinary() + _ = yym3279 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3298 || yy2arr3298 { + if yyr3273 || yy2arr3273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3298[2] { - yy3306 := &x.ListMeta - yym3307 := z.EncBinary() - _ = yym3307 + if yyq3273[2] { + yy3281 := &x.ListMeta + yym3282 := z.EncBinary() + _ = yym3282 if false { - } else if z.HasExtensions() && z.EncExt(yy3306) { + } else if z.HasExtensions() && z.EncExt(yy3281) { } else { - z.EncFallback(yy3306) + z.EncFallback(yy3281) } } else { r.EncodeNil() } } else { - if yyq3298[2] { + if yyq3273[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3308 := &x.ListMeta - yym3309 := z.EncBinary() - _ = yym3309 + yy3283 := &x.ListMeta + yym3284 := z.EncBinary() + _ = yym3284 if false { - } else if z.HasExtensions() && z.EncExt(yy3308) { + } else if z.HasExtensions() && z.EncExt(yy3283) { } else { - z.EncFallback(yy3308) + z.EncFallback(yy3283) } } } - if yyr3298 || yy2arr3298 { + if yyr3273 || yy2arr3273 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3311 := z.EncBinary() - _ = yym3311 + yym3286 := z.EncBinary() + _ = yym3286 if false { } else { - h.encSliceNamespace(([]Namespace)(x.Items), e) + h.encSliceNode(([]Node)(x.Items), e) } } } else { @@ -42249,15 +41850,15 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3312 := z.EncBinary() - _ = yym3312 + yym3287 := z.EncBinary() + _ = yym3287 if false { } else { - h.encSliceNamespace(([]Namespace)(x.Items), e) + h.encSliceNode(([]Node)(x.Items), e) } } } - if yyr3298 || yy2arr3298 { + if yyr3273 || yy2arr3273 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42266,29 +41867,29 @@ func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *NodeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3313 := z.DecBinary() - _ = yym3313 + yym3288 := z.DecBinary() + _ = yym3288 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3314 := r.ContainerType() - if yyct3314 == codecSelferValueTypeMap1234 { - yyl3314 := r.ReadMapStart() - if yyl3314 == 0 { + yyct3289 := r.ContainerType() + if yyct3289 == codecSelferValueTypeMap1234 { + yyl3289 := r.ReadMapStart() + if yyl3289 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3314, d) + x.codecDecodeSelfFromMap(yyl3289, d) } - } else if yyct3314 == codecSelferValueTypeArray1234 { - yyl3314 := r.ReadArrayStart() - if yyl3314 == 0 { + } else if yyct3289 == codecSelferValueTypeArray1234 { + yyl3289 := r.ReadArrayStart() + if yyl3289 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3314, d) + x.codecDecodeSelfFromArray(yyl3289, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42296,16 +41897,16 @@ func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NodeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3315Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3315Slc - var yyhl3315 bool = l >= 0 - for yyj3315 := 0; ; yyj3315++ { - if yyhl3315 { - if yyj3315 >= l { + var yys3290Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3290Slc + var yyhl3290 bool = l >= 0 + for yyj3290 := 0; ; yyj3290++ { + if yyhl3290 { + if yyj3290 >= l { break } } else { @@ -42314,10 +41915,10 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3315Slc = r.DecodeBytes(yys3315Slc, true, true) - yys3315 := string(yys3315Slc) + yys3290Slc = r.DecodeBytes(yys3290Slc, true, true) + yys3290 := string(yys3290Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3315 { + switch yys3290 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42334,48 +41935,48 @@ func (x *NamespaceList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3318 := &x.ListMeta - yym3319 := z.DecBinary() - _ = yym3319 + yyv3293 := &x.ListMeta + yym3294 := z.DecBinary() + _ = yym3294 if false { - } else if z.HasExtensions() && z.DecExt(yyv3318) { + } else if z.HasExtensions() && z.DecExt(yyv3293) { } else { - z.DecFallback(yyv3318, false) + z.DecFallback(yyv3293, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3320 := &x.Items - yym3321 := z.DecBinary() - _ = yym3321 + yyv3295 := &x.Items + yym3296 := z.DecBinary() + _ = yym3296 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3320), d) + h.decSliceNode((*[]Node)(yyv3295), d) } } default: - z.DecStructFieldNotFound(-1, yys3315) - } // end switch yys3315 - } // end for yyj3315 + z.DecStructFieldNotFound(-1, yys3290) + } // end switch yys3290 + } // end for yyj3290 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *NodeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3322 int - var yyb3322 bool - var yyhl3322 bool = l >= 0 - yyj3322++ - if yyhl3322 { - yyb3322 = yyj3322 > l + var yyj3297 int + var yyb3297 bool + var yyhl3297 bool = l >= 0 + yyj3297++ + if yyhl3297 { + yyb3297 = yyj3297 > l } else { - yyb3322 = r.CheckBreak() + yyb3297 = r.CheckBreak() } - if yyb3322 { + if yyb3297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42385,13 +41986,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3322++ - if yyhl3322 { - yyb3322 = yyj3322 > l + yyj3297++ + if yyhl3297 { + yyb3297 = yyj3297 > l } else { - yyb3322 = r.CheckBreak() + yyb3297 = r.CheckBreak() } - if yyb3322 { + if yyb3297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42401,13 +42002,13 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3322++ - if yyhl3322 { - yyb3322 = yyj3322 > l + yyj3297++ + if yyhl3297 { + yyb3297 = yyj3297 > l } else { - yyb3322 = r.CheckBreak() + yyb3297 = r.CheckBreak() } - if yyb3322 { + if yyb3297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42415,22 +42016,22 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3325 := &x.ListMeta - yym3326 := z.DecBinary() - _ = yym3326 + yyv3300 := &x.ListMeta + yym3301 := z.DecBinary() + _ = yym3301 if false { - } else if z.HasExtensions() && z.DecExt(yyv3325) { + } else if z.HasExtensions() && z.DecExt(yyv3300) { } else { - z.DecFallback(yyv3325, false) + z.DecFallback(yyv3300, false) } } - yyj3322++ - if yyhl3322 { - yyb3322 = yyj3322 > l + yyj3297++ + if yyhl3297 { + yyb3297 = yyj3297 > l } else { - yyb3322 = r.CheckBreak() + yyb3297 = r.CheckBreak() } - if yyb3322 { + if yyb3297 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42438,142 +42039,121 @@ func (x *NamespaceList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3327 := &x.Items - yym3328 := z.DecBinary() - _ = yym3328 + yyv3302 := &x.Items + yym3303 := z.DecBinary() + _ = yym3303 if false { } else { - h.decSliceNamespace((*[]Namespace)(yyv3327), d) + h.decSliceNode((*[]Node)(yyv3302), d) } } for { - yyj3322++ - if yyhl3322 { - yyb3322 = yyj3322 > l + yyj3297++ + if yyhl3297 { + yyb3297 = yyj3297 > l } else { - yyb3322 = r.CheckBreak() + yyb3297 = r.CheckBreak() } - if yyb3322 { + if yyb3297 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3322-1, "") + z.DecStructFieldNotFound(yyj3297-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { +func (x FinalizerName) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3304 := z.EncBinary() + _ = yym3304 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *FinalizerName) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3305 := z.DecBinary() + _ = yym3305 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *NamespaceSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym3329 := z.EncBinary() - _ = yym3329 + yym3306 := z.EncBinary() + _ = yym3306 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 { - r.EncodeArrayStart(4) + 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 { + r.EncodeArrayStart(1) } else { - yynn3330 = 1 - for _, b := range yyq3330 { + yynn3307 = 0 + for _, b := range yyq3307 { if b { - yynn3330++ + yynn3307++ } } - r.EncodeMapStart(yynn3330) - yynn3330 = 0 + r.EncodeMapStart(yynn3307) + yynn3307 = 0 } - if yyr3330 || yy2arr3330 { + if yyr3307 || yy2arr3307 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3330[0] { - yym3332 := z.EncBinary() - _ = yym3332 - if false { + if yyq3307[0] { + if x.Finalizers == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + yym3309 := z.EncBinary() + _ = yym3309 + if false { + } else { + h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) + } } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3330[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3333 := z.EncBinary() - _ = yym3333 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3330 || yy2arr3330 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3330[1] { - yym3335 := z.EncBinary() - _ = yym3335 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3330[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3336 := z.EncBinary() - _ = yym3336 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3330 || yy2arr3330 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3330[2] { - yy3338 := &x.ObjectMeta - yy3338.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3330[2] { + if yyq3307[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("finalizers")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3339 := &x.ObjectMeta - yy3339.CodecEncodeSelf(e) + if x.Finalizers == nil { + r.EncodeNil() + } else { + yym3310 := z.EncBinary() + _ = yym3310 + if false { + } else { + h.encSliceFinalizerName(([]FinalizerName)(x.Finalizers), e) + } + } } } - if yyr3330 || yy2arr3330 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3341 := &x.Target - yy3341.CodecEncodeSelf(e) - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("target")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3342 := &x.Target - yy3342.CodecEncodeSelf(e) - } - if yyr3330 || yy2arr3330 { + if yyr3307 || yy2arr3307 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42582,29 +42162,29 @@ func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *NamespaceSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3343 := z.DecBinary() - _ = yym3343 + yym3311 := z.DecBinary() + _ = yym3311 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3344 := r.ContainerType() - if yyct3344 == codecSelferValueTypeMap1234 { - yyl3344 := r.ReadMapStart() - if yyl3344 == 0 { + yyct3312 := r.ContainerType() + if yyct3312 == codecSelferValueTypeMap1234 { + yyl3312 := r.ReadMapStart() + if yyl3312 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3344, d) + x.codecDecodeSelfFromMap(yyl3312, d) } - } else if yyct3344 == codecSelferValueTypeArray1234 { - yyl3344 := r.ReadArrayStart() - if yyl3344 == 0 { + } else if yyct3312 == codecSelferValueTypeArray1234 { + yyl3312 := r.ReadArrayStart() + if yyl3312 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3344, d) + x.codecDecodeSelfFromArray(yyl3312, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42612,16 +42192,16 @@ func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *NamespaceSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3345Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3345Slc - var yyhl3345 bool = l >= 0 - for yyj3345 := 0; ; yyj3345++ { - if yyhl3345 { - if yyj3345 >= l { + var yys3313Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3313Slc + var yyhl3313 bool = l >= 0 + for yyj3313 := 0; ; yyj3313++ { + if yyhl3313 { + if yyj3313 >= l { break } } else { @@ -42630,10 +42210,456 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3345Slc = r.DecodeBytes(yys3345Slc, true, true) - yys3345 := string(yys3345Slc) + yys3313Slc = r.DecodeBytes(yys3313Slc, true, true) + yys3313 := string(yys3313Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3345 { + switch yys3313 { + case "finalizers": + if r.TryDecodeAsNil() { + x.Finalizers = nil + } else { + yyv3314 := &x.Finalizers + yym3315 := z.DecBinary() + _ = yym3315 + if false { + } else { + h.decSliceFinalizerName((*[]FinalizerName)(yyv3314), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3313) + } // end switch yys3313 + } // end for yyj3313 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3316 = r.CheckBreak() + } + if yyb3316 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Finalizers = nil + } else { + yyv3317 := &x.Finalizers + yym3318 := z.DecBinary() + _ = yym3318 + if false { + } else { + h.decSliceFinalizerName((*[]FinalizerName)(yyv3317), d) + } + } + for { + yyj3316++ + if yyhl3316 { + yyb3316 = yyj3316 > l + } else { + yyb3316 = r.CheckBreak() + } + if yyb3316 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3316-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NamespaceStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3319 := z.EncBinary() + _ = yym3319 + 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 { + r.EncodeArrayStart(1) + } else { + yynn3320 = 0 + for _, b := range yyq3320 { + if b { + yynn3320++ + } + } + r.EncodeMapStart(yynn3320) + yynn3320 = 0 + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3320[0] { + x.Phase.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3320[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("phase")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Phase.CodecEncodeSelf(e) + } + } + if yyr3320 || yy2arr3320 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NamespaceStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3322 := z.DecBinary() + _ = yym3322 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3323 := r.ContainerType() + if yyct3323 == codecSelferValueTypeMap1234 { + yyl3323 := r.ReadMapStart() + if yyl3323 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3323, d) + } + } else if yyct3323 == codecSelferValueTypeArray1234 { + yyl3323 := r.ReadArrayStart() + if yyl3323 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3323, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3324Slc = r.DecodeBytes(yys3324Slc, true, true) + yys3324 := string(yys3324Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3324 { + case "phase": + if r.TryDecodeAsNil() { + x.Phase = "" + } else { + x.Phase = NamespacePhase(r.DecodeString()) + } + default: + z.DecStructFieldNotFound(-1, yys3324) + } // end switch yys3324 + } // end for yyj3324 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3326 = r.CheckBreak() + } + if yyb3326 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Phase = "" + } else { + x.Phase = NamespacePhase(r.DecodeString()) + } + for { + yyj3326++ + if yyhl3326 { + yyb3326 = yyj3326 > l + } else { + yyb3326 = r.CheckBreak() + } + if yyb3326 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3326-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x NamespacePhase) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym3328 := z.EncBinary() + _ = yym3328 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *NamespacePhase) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3329 := z.DecBinary() + _ = yym3329 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *Namespace) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3330 := z.EncBinary() + _ = yym3330 + 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 { + r.EncodeArrayStart(5) + } else { + yynn3331 = 0 + for _, b := range yyq3331 { + if b { + yynn3331++ + } + } + r.EncodeMapStart(yynn3331) + yynn3331 = 0 + } + if yyr3331 || yy2arr3331 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3331[0] { + yym3333 := z.EncBinary() + _ = yym3333 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3331[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3334 := z.EncBinary() + _ = yym3334 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3331 || yy2arr3331 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3331[1] { + yym3336 := z.EncBinary() + _ = yym3336 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3331[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3337 := z.EncBinary() + _ = yym3337 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3331 || yy2arr3331 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3331[2] { + yy3339 := &x.ObjectMeta + yy3339.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3331[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3340 := &x.ObjectMeta + yy3340.CodecEncodeSelf(e) + } + } + if yyr3331 || yy2arr3331 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3331[3] { + yy3342 := &x.Spec + yy3342.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3331[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3343 := &x.Spec + yy3343.CodecEncodeSelf(e) + } + } + if yyr3331 || yy2arr3331 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3331[4] { + yy3345 := &x.Status + yy3345.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3331[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3346 := &x.Status + yy3346.CodecEncodeSelf(e) + } + } + if yyr3331 || yy2arr3331 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Namespace) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3347 := z.DecBinary() + _ = yym3347 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3348 := r.ContainerType() + if yyct3348 == codecSelferValueTypeMap1234 { + yyl3348 := r.ReadMapStart() + if yyl3348 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3348, d) + } + } else if yyct3348 == codecSelferValueTypeArray1234 { + yyl3348 := r.ReadArrayStart() + if yyl3348 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3348, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3349Slc = r.DecodeBytes(yys3349Slc, true, true) + yys3349 := string(yys3349Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3349 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -42650,37 +42676,44 @@ func (x *Binding) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3348 := &x.ObjectMeta - yyv3348.CodecDecodeSelf(d) + yyv3352 := &x.ObjectMeta + yyv3352.CodecDecodeSelf(d) } - case "target": + case "spec": if r.TryDecodeAsNil() { - x.Target = ObjectReference{} + x.Spec = NamespaceSpec{} } else { - yyv3349 := &x.Target - yyv3349.CodecDecodeSelf(d) + yyv3353 := &x.Spec + yyv3353.CodecDecodeSelf(d) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3354 := &x.Status + yyv3354.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3345) - } // end switch yys3345 - } // end for yyj3345 + z.DecStructFieldNotFound(-1, yys3349) + } // end switch yys3349 + } // end for yyj3349 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Namespace) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3350 int - var yyb3350 bool - var yyhl3350 bool = l >= 0 - yyj3350++ - if yyhl3350 { - yyb3350 = yyj3350 > l + var yyj3355 int + var yyb3355 bool + var yyhl3355 bool = l >= 0 + yyj3355++ + if yyhl3355 { + yyb3355 = yyj3355 > l } else { - yyb3350 = r.CheckBreak() + yyb3355 = r.CheckBreak() } - if yyb3350 { + if yyb3355 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42690,13 +42723,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3350++ - if yyhl3350 { - yyb3350 = yyj3350 > l + yyj3355++ + if yyhl3355 { + yyb3355 = yyj3355 > l } else { - yyb3350 = r.CheckBreak() + yyb3355 = r.CheckBreak() } - if yyb3350 { + if yyb3355 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42706,13 +42739,13 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3350++ - if yyhl3350 { - yyb3350 = yyj3350 > l + yyj3355++ + if yyhl3355 { + yyb3355 = yyj3355 > l } else { - yyb3350 = r.CheckBreak() + yyb3355 = r.CheckBreak() } - if yyb3350 { + if yyb3355 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42720,16 +42753,671 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3353 := &x.ObjectMeta - yyv3353.CodecDecodeSelf(d) + yyv3358 := &x.ObjectMeta + yyv3358.CodecDecodeSelf(d) } - yyj3350++ - if yyhl3350 { - yyb3350 = yyj3350 > l + yyj3355++ + if yyhl3355 { + yyb3355 = yyj3355 > l } else { - yyb3350 = r.CheckBreak() + yyb3355 = r.CheckBreak() } - if yyb3350 { + if yyb3355 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = NamespaceSpec{} + } else { + yyv3359 := &x.Spec + yyv3359.CodecDecodeSelf(d) + } + yyj3355++ + if yyhl3355 { + yyb3355 = yyj3355 > l + } else { + yyb3355 = r.CheckBreak() + } + if yyb3355 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = NamespaceStatus{} + } else { + yyv3360 := &x.Status + yyv3360.CodecDecodeSelf(d) + } + for { + yyj3355++ + if yyhl3355 { + yyb3355 = yyj3355 > l + } else { + yyb3355 = r.CheckBreak() + } + if yyb3355 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3355-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *NamespaceList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3361 := z.EncBinary() + _ = yym3361 + 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 { + r.EncodeArrayStart(4) + } else { + yynn3362 = 1 + for _, b := range yyq3362 { + if b { + yynn3362++ + } + } + r.EncodeMapStart(yynn3362) + yynn3362 = 0 + } + if yyr3362 || yy2arr3362 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3362[0] { + yym3364 := z.EncBinary() + _ = yym3364 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3362[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3365 := z.EncBinary() + _ = yym3365 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3362 || yy2arr3362 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3362[1] { + yym3367 := z.EncBinary() + _ = yym3367 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3362[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3368 := z.EncBinary() + _ = yym3368 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3362 || yy2arr3362 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3362[2] { + yy3370 := &x.ListMeta + yym3371 := z.EncBinary() + _ = yym3371 + if false { + } else if z.HasExtensions() && z.EncExt(yy3370) { + } else { + z.EncFallback(yy3370) + } + } else { + r.EncodeNil() + } + } else { + if yyq3362[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3372 := &x.ListMeta + yym3373 := z.EncBinary() + _ = yym3373 + if false { + } else if z.HasExtensions() && z.EncExt(yy3372) { + } else { + z.EncFallback(yy3372) + } + } + } + if yyr3362 || yy2arr3362 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym3375 := z.EncBinary() + _ = yym3375 + if false { + } else { + h.encSliceNamespace(([]Namespace)(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 { + yym3376 := z.EncBinary() + _ = yym3376 + if false { + } else { + h.encSliceNamespace(([]Namespace)(x.Items), e) + } + } + } + if yyr3362 || yy2arr3362 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *NamespaceList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3377 := z.DecBinary() + _ = yym3377 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3378 := r.ContainerType() + if yyct3378 == codecSelferValueTypeMap1234 { + yyl3378 := r.ReadMapStart() + if yyl3378 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3378, d) + } + } else if yyct3378 == codecSelferValueTypeArray1234 { + yyl3378 := r.ReadArrayStart() + if yyl3378 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3378, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3379Slc = r.DecodeBytes(yys3379Slc, true, true) + yys3379 := string(yys3379Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3379 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv3382 := &x.ListMeta + yym3383 := z.DecBinary() + _ = yym3383 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3382) { + } else { + z.DecFallback(yyv3382, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3384 := &x.Items + yym3385 := z.DecBinary() + _ = yym3385 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3384), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys3379) + } // end switch yys3379 + } // end for yyj3379 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv3389 := &x.ListMeta + yym3390 := z.DecBinary() + _ = yym3390 + if false { + } else if z.HasExtensions() && z.DecExt(yyv3389) { + } else { + z.DecFallback(yyv3389, false) + } + } + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv3391 := &x.Items + yym3392 := z.DecBinary() + _ = yym3392 + if false { + } else { + h.decSliceNamespace((*[]Namespace)(yyv3391), d) + } + } + for { + yyj3386++ + if yyhl3386 { + yyb3386 = yyj3386 > l + } else { + yyb3386 = r.CheckBreak() + } + if yyb3386 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3386-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *Binding) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3393 := z.EncBinary() + _ = yym3393 + 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 { + r.EncodeArrayStart(4) + } else { + yynn3394 = 1 + for _, b := range yyq3394 { + if b { + yynn3394++ + } + } + r.EncodeMapStart(yynn3394) + yynn3394 = 0 + } + if yyr3394 || yy2arr3394 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3394[0] { + yym3396 := z.EncBinary() + _ = yym3396 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3394[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3397 := z.EncBinary() + _ = yym3397 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3394 || yy2arr3394 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3394[1] { + yym3399 := z.EncBinary() + _ = yym3399 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3394[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3400 := z.EncBinary() + _ = yym3400 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr3394 || yy2arr3394 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3394[2] { + yy3402 := &x.ObjectMeta + yy3402.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq3394[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3403 := &x.ObjectMeta + yy3403.CodecEncodeSelf(e) + } + } + if yyr3394 || yy2arr3394 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy3405 := &x.Target + yy3405.CodecEncodeSelf(e) + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("target")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy3406 := &x.Target + yy3406.CodecEncodeSelf(e) + } + if yyr3394 || yy2arr3394 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *Binding) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3407 := z.DecBinary() + _ = yym3407 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3408 := r.ContainerType() + if yyct3408 == codecSelferValueTypeMap1234 { + yyl3408 := r.ReadMapStart() + if yyl3408 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3408, d) + } + } else if yyct3408 == codecSelferValueTypeArray1234 { + yyl3408 := r.ReadArrayStart() + if yyl3408 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3408, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3409Slc = r.DecodeBytes(yys3409Slc, true, true) + yys3409 := string(yys3409Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3409 { + 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 = ObjectMeta{} + } else { + yyv3412 := &x.ObjectMeta + yyv3412.CodecDecodeSelf(d) + } + case "target": + if r.TryDecodeAsNil() { + x.Target = ObjectReference{} + } else { + yyv3413 := &x.Target + yyv3413.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys3409) + } // end switch yys3409 + } // end for yyj3409 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3414 = r.CheckBreak() + } + if yyb3414 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3414++ + if yyhl3414 { + yyb3414 = yyj3414 > l + } else { + yyb3414 = r.CheckBreak() + } + if yyb3414 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3414++ + if yyhl3414 { + yyb3414 = yyj3414 > l + } else { + yyb3414 = r.CheckBreak() + } + if yyb3414 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv3417 := &x.ObjectMeta + yyv3417.CodecDecodeSelf(d) + } + yyj3414++ + if yyhl3414 { + yyb3414 = yyj3414 > l + } else { + yyb3414 = r.CheckBreak() + } + if yyb3414 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42737,21 +43425,21 @@ func (x *Binding) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Target = ObjectReference{} } else { - yyv3354 := &x.Target - yyv3354.CodecDecodeSelf(d) + yyv3418 := &x.Target + yyv3418.CodecDecodeSelf(d) } for { - yyj3350++ - if yyhl3350 { - yyb3350 = yyj3350 > l + yyj3414++ + if yyhl3414 { + yyb3414 = yyj3414 > l } else { - yyb3350 = r.CheckBreak() + yyb3414 = r.CheckBreak() } - if yyb3350 { + if yyb3414 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3350-1, "") + z.DecStructFieldNotFound(yyj3414-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42763,68 +43451,68 @@ func (x *Preconditions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3355 := z.EncBinary() - _ = yym3355 + yym3419 := z.EncBinary() + _ = yym3419 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3356 := !z.EncBinary() - yy2arr3356 := z.EncBasicHandle().StructToArray - var yyq3356 [1]bool - _, _, _ = yysep3356, yyq3356, yy2arr3356 - const yyr3356 bool = false - yyq3356[0] = x.UID != nil - var yynn3356 int - if yyr3356 || yy2arr3356 { + 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 { r.EncodeArrayStart(1) } else { - yynn3356 = 0 - for _, b := range yyq3356 { + yynn3420 = 0 + for _, b := range yyq3420 { if b { - yynn3356++ + yynn3420++ } } - r.EncodeMapStart(yynn3356) - yynn3356 = 0 + r.EncodeMapStart(yynn3420) + yynn3420 = 0 } - if yyr3356 || yy2arr3356 { + if yyr3420 || yy2arr3420 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3356[0] { + if yyq3420[0] { if x.UID == nil { r.EncodeNil() } else { - yy3358 := *x.UID - yym3359 := z.EncBinary() - _ = yym3359 + yy3422 := *x.UID + yym3423 := z.EncBinary() + _ = yym3423 if false { - } else if z.HasExtensions() && z.EncExt(yy3358) { + } else if z.HasExtensions() && z.EncExt(yy3422) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3358)) + r.EncodeString(codecSelferC_UTF81234, string(yy3422)) } } } else { r.EncodeNil() } } else { - if yyq3356[0] { + if yyq3420[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.UID == nil { r.EncodeNil() } else { - yy3360 := *x.UID - yym3361 := z.EncBinary() - _ = yym3361 + yy3424 := *x.UID + yym3425 := z.EncBinary() + _ = yym3425 if false { - } else if z.HasExtensions() && z.EncExt(yy3360) { + } else if z.HasExtensions() && z.EncExt(yy3424) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy3360)) + r.EncodeString(codecSelferC_UTF81234, string(yy3424)) } } } } - if yyr3356 || yy2arr3356 { + if yyr3420 || yy2arr3420 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -42837,25 +43525,25 @@ func (x *Preconditions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3362 := z.DecBinary() - _ = yym3362 + yym3426 := z.DecBinary() + _ = yym3426 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3363 := r.ContainerType() - if yyct3363 == codecSelferValueTypeMap1234 { - yyl3363 := r.ReadMapStart() - if yyl3363 == 0 { + yyct3427 := r.ContainerType() + if yyct3427 == codecSelferValueTypeMap1234 { + yyl3427 := r.ReadMapStart() + if yyl3427 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3363, d) + x.codecDecodeSelfFromMap(yyl3427, d) } - } else if yyct3363 == codecSelferValueTypeArray1234 { - yyl3363 := r.ReadArrayStart() - if yyl3363 == 0 { + } else if yyct3427 == codecSelferValueTypeArray1234 { + yyl3427 := r.ReadArrayStart() + if yyl3427 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3363, d) + x.codecDecodeSelfFromArray(yyl3427, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -42867,12 +43555,12 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3364Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3364Slc - var yyhl3364 bool = l >= 0 - for yyj3364 := 0; ; yyj3364++ { - if yyhl3364 { - if yyj3364 >= l { + var yys3428Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3428Slc + var yyhl3428 bool = l >= 0 + for yyj3428 := 0; ; yyj3428++ { + if yyhl3428 { + if yyj3428 >= l { break } } else { @@ -42881,10 +43569,10 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3364Slc = r.DecodeBytes(yys3364Slc, true, true) - yys3364 := string(yys3364Slc) + yys3428Slc = r.DecodeBytes(yys3428Slc, true, true) + yys3428 := string(yys3428Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3364 { + switch yys3428 { case "uid": if r.TryDecodeAsNil() { if x.UID != nil { @@ -42894,8 +43582,8 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3366 := z.DecBinary() - _ = yym3366 + yym3430 := z.DecBinary() + _ = yym3430 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -42903,9 +43591,9 @@ func (x *Preconditions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } default: - z.DecStructFieldNotFound(-1, yys3364) - } // end switch yys3364 - } // end for yyj3364 + z.DecStructFieldNotFound(-1, yys3428) + } // end switch yys3428 + } // end for yyj3428 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -42913,16 +43601,16 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3367 int - var yyb3367 bool - var yyhl3367 bool = l >= 0 - yyj3367++ - if yyhl3367 { - yyb3367 = yyj3367 > l + var yyj3431 int + var yyb3431 bool + var yyhl3431 bool = l >= 0 + yyj3431++ + if yyhl3431 { + yyb3431 = yyj3431 > l } else { - yyb3367 = r.CheckBreak() + yyb3431 = r.CheckBreak() } - if yyb3367 { + if yyb3431 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -42935,8 +43623,8 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.UID == nil { x.UID = new(pkg1_types.UID) } - yym3369 := z.DecBinary() - _ = yym3369 + yym3433 := z.DecBinary() + _ = yym3433 if false { } else if z.HasExtensions() && z.DecExt(x.UID) { } else { @@ -42944,17 +43632,17 @@ func (x *Preconditions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } } for { - yyj3367++ - if yyhl3367 { - yyb3367 = yyj3367 > l + yyj3431++ + if yyhl3431 { + yyb3431 = yyj3431 > l } else { - yyb3367 = r.CheckBreak() + yyb3431 = r.CheckBreak() } - if yyb3367 { + if yyb3431 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3367-1, "") + z.DecStructFieldNotFound(yyj3431-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -42966,39 +43654,39 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3370 := z.EncBinary() - _ = yym3370 + yym3434 := z.EncBinary() + _ = yym3434 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3371 := !z.EncBinary() - yy2arr3371 := z.EncBasicHandle().StructToArray - var yyq3371 [5]bool - _, _, _ = yysep3371, yyq3371, yy2arr3371 - const yyr3371 bool = false - yyq3371[0] = x.Kind != "" - yyq3371[1] = x.APIVersion != "" - yyq3371[2] = x.GracePeriodSeconds != nil - yyq3371[3] = x.Preconditions != nil - yyq3371[4] = x.OrphanDependents != nil - var yynn3371 int - if yyr3371 || yy2arr3371 { + 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 { r.EncodeArrayStart(5) } else { - yynn3371 = 0 - for _, b := range yyq3371 { + yynn3435 = 0 + for _, b := range yyq3435 { if b { - yynn3371++ + yynn3435++ } } - r.EncodeMapStart(yynn3371) - yynn3371 = 0 + r.EncodeMapStart(yynn3435) + yynn3435 = 0 } - if yyr3371 || yy2arr3371 { + if yyr3435 || yy2arr3435 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3371[0] { - yym3373 := z.EncBinary() - _ = yym3373 + if yyq3435[0] { + yym3437 := z.EncBinary() + _ = yym3437 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43007,23 +43695,23 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3371[0] { + if yyq3435[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3374 := z.EncBinary() - _ = yym3374 + yym3438 := z.EncBinary() + _ = yym3438 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3371 || yy2arr3371 { + if yyr3435 || yy2arr3435 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3371[1] { - yym3376 := z.EncBinary() - _ = yym3376 + if yyq3435[1] { + yym3440 := z.EncBinary() + _ = yym3440 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43032,56 +43720,56 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3371[1] { + if yyq3435[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3377 := z.EncBinary() - _ = yym3377 + yym3441 := z.EncBinary() + _ = yym3441 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3371 || yy2arr3371 { + if yyr3435 || yy2arr3435 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3371[2] { + if yyq3435[2] { if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3379 := *x.GracePeriodSeconds - yym3380 := z.EncBinary() - _ = yym3380 + yy3443 := *x.GracePeriodSeconds + yym3444 := z.EncBinary() + _ = yym3444 if false { } else { - r.EncodeInt(int64(yy3379)) + r.EncodeInt(int64(yy3443)) } } } else { r.EncodeNil() } } else { - if yyq3371[2] { + if yyq3435[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("gracePeriodSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.GracePeriodSeconds == nil { r.EncodeNil() } else { - yy3381 := *x.GracePeriodSeconds - yym3382 := z.EncBinary() - _ = yym3382 + yy3445 := *x.GracePeriodSeconds + yym3446 := z.EncBinary() + _ = yym3446 if false { } else { - r.EncodeInt(int64(yy3381)) + r.EncodeInt(int64(yy3445)) } } } } - if yyr3371 || yy2arr3371 { + if yyr3435 || yy2arr3435 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3371[3] { + if yyq3435[3] { if x.Preconditions == nil { r.EncodeNil() } else { @@ -43091,7 +43779,7 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3371[3] { + if yyq3435[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("preconditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -43102,42 +43790,42 @@ func (x *DeleteOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3371 || yy2arr3371 { + if yyr3435 || yy2arr3435 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3371[4] { + if yyq3435[4] { if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3385 := *x.OrphanDependents - yym3386 := z.EncBinary() - _ = yym3386 + yy3449 := *x.OrphanDependents + yym3450 := z.EncBinary() + _ = yym3450 if false { } else { - r.EncodeBool(bool(yy3385)) + r.EncodeBool(bool(yy3449)) } } } else { r.EncodeNil() } } else { - if yyq3371[4] { + if yyq3435[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("orphanDependents")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.OrphanDependents == nil { r.EncodeNil() } else { - yy3387 := *x.OrphanDependents - yym3388 := z.EncBinary() - _ = yym3388 + yy3451 := *x.OrphanDependents + yym3452 := z.EncBinary() + _ = yym3452 if false { } else { - r.EncodeBool(bool(yy3387)) + r.EncodeBool(bool(yy3451)) } } } } - if yyr3371 || yy2arr3371 { + if yyr3435 || yy2arr3435 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43150,25 +43838,25 @@ func (x *DeleteOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3389 := z.DecBinary() - _ = yym3389 + yym3453 := z.DecBinary() + _ = yym3453 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3390 := r.ContainerType() - if yyct3390 == codecSelferValueTypeMap1234 { - yyl3390 := r.ReadMapStart() - if yyl3390 == 0 { + yyct3454 := r.ContainerType() + if yyct3454 == codecSelferValueTypeMap1234 { + yyl3454 := r.ReadMapStart() + if yyl3454 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3390, d) + x.codecDecodeSelfFromMap(yyl3454, d) } - } else if yyct3390 == codecSelferValueTypeArray1234 { - yyl3390 := r.ReadArrayStart() - if yyl3390 == 0 { + } else if yyct3454 == codecSelferValueTypeArray1234 { + yyl3454 := r.ReadArrayStart() + if yyl3454 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3390, d) + x.codecDecodeSelfFromArray(yyl3454, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43180,12 +43868,12 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3391Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3391Slc - var yyhl3391 bool = l >= 0 - for yyj3391 := 0; ; yyj3391++ { - if yyhl3391 { - if yyj3391 >= l { + var yys3455Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3455Slc + var yyhl3455 bool = l >= 0 + for yyj3455 := 0; ; yyj3455++ { + if yyhl3455 { + if yyj3455 >= l { break } } else { @@ -43194,10 +43882,10 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3391Slc = r.DecodeBytes(yys3391Slc, true, true) - yys3391 := string(yys3391Slc) + yys3455Slc = r.DecodeBytes(yys3455Slc, true, true) + yys3455 := string(yys3455Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3391 { + switch yys3455 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43219,8 +43907,8 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3395 := z.DecBinary() - _ = yym3395 + yym3459 := z.DecBinary() + _ = yym3459 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) @@ -43246,17 +43934,17 @@ func (x *DeleteOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3398 := z.DecBinary() - _ = yym3398 + yym3462 := z.DecBinary() + _ = yym3462 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3391) - } // end switch yys3391 - } // end for yyj3391 + z.DecStructFieldNotFound(-1, yys3455) + } // end switch yys3455 + } // end for yyj3455 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43264,16 +43952,16 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3399 int - var yyb3399 bool - var yyhl3399 bool = l >= 0 - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + var yyj3463 int + var yyb3463 bool + var yyhl3463 bool = l >= 0 + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3399 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3399 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43283,13 +43971,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3399 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3399 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43299,13 +43987,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3399 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3399 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43318,20 +44006,20 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.GracePeriodSeconds == nil { x.GracePeriodSeconds = new(int64) } - yym3403 := z.DecBinary() - _ = yym3403 + yym3467 := z.DecBinary() + _ = yym3467 if false { } else { *((*int64)(x.GracePeriodSeconds)) = int64(r.DecodeInt(64)) } } - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3399 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3399 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43346,13 +44034,13 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Preconditions.CodecDecodeSelf(d) } - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3399 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3399 { + if yyb3463 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43365,25 +44053,25 @@ func (x *DeleteOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.OrphanDependents == nil { x.OrphanDependents = new(bool) } - yym3406 := z.DecBinary() - _ = yym3406 + yym3470 := z.DecBinary() + _ = yym3470 if false { } else { *((*bool)(x.OrphanDependents)) = r.DecodeBool() } } for { - yyj3399++ - if yyhl3399 { - yyb3399 = yyj3399 > l + yyj3463++ + if yyhl3463 { + yyb3463 = yyj3463 > l } else { - yyb3399 = r.CheckBreak() + yyb3463 = r.CheckBreak() } - if yyb3399 { + if yyb3463 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3399-1, "") + z.DecStructFieldNotFound(yyj3463-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43395,36 +44083,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3407 := z.EncBinary() - _ = yym3407 + yym3471 := z.EncBinary() + _ = yym3471 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3408 := !z.EncBinary() - yy2arr3408 := z.EncBasicHandle().StructToArray - var yyq3408 [4]bool - _, _, _ = yysep3408, yyq3408, yy2arr3408 - const yyr3408 bool = false - yyq3408[0] = x.Kind != "" - yyq3408[1] = x.APIVersion != "" - var yynn3408 int - if yyr3408 || yy2arr3408 { + 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 { r.EncodeArrayStart(4) } else { - yynn3408 = 2 - for _, b := range yyq3408 { + yynn3472 = 2 + for _, b := range yyq3472 { if b { - yynn3408++ + yynn3472++ } } - r.EncodeMapStart(yynn3408) - yynn3408 = 0 + r.EncodeMapStart(yynn3472) + yynn3472 = 0 } - if yyr3408 || yy2arr3408 { + if yyr3472 || yy2arr3472 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3408[0] { - yym3410 := z.EncBinary() - _ = yym3410 + if yyq3472[0] { + yym3474 := z.EncBinary() + _ = yym3474 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43433,23 +44121,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3408[0] { + if yyq3472[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3411 := z.EncBinary() - _ = yym3411 + yym3475 := z.EncBinary() + _ = yym3475 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3408 || yy2arr3408 { + if yyr3472 || yy2arr3472 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3408[1] { - yym3413 := z.EncBinary() - _ = yym3413 + if yyq3472[1] { + yym3477 := z.EncBinary() + _ = yym3477 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43458,22 +44146,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3408[1] { + if yyq3472[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3414 := z.EncBinary() - _ = yym3414 + yym3478 := z.EncBinary() + _ = yym3478 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3408 || yy2arr3408 { + if yyr3472 || yy2arr3472 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3416 := z.EncBinary() - _ = yym3416 + yym3480 := z.EncBinary() + _ = yym3480 if false { } else { r.EncodeBool(bool(x.Export)) @@ -43482,17 +44170,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3417 := z.EncBinary() - _ = yym3417 + yym3481 := z.EncBinary() + _ = yym3481 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr3408 || yy2arr3408 { + if yyr3472 || yy2arr3472 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3419 := z.EncBinary() - _ = yym3419 + yym3483 := z.EncBinary() + _ = yym3483 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -43501,14 +44189,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3420 := z.EncBinary() - _ = yym3420 + yym3484 := z.EncBinary() + _ = yym3484 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr3408 || yy2arr3408 { + if yyr3472 || yy2arr3472 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43521,25 +44209,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3421 := z.DecBinary() - _ = yym3421 + yym3485 := z.DecBinary() + _ = yym3485 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3422 := r.ContainerType() - if yyct3422 == codecSelferValueTypeMap1234 { - yyl3422 := r.ReadMapStart() - if yyl3422 == 0 { + yyct3486 := r.ContainerType() + if yyct3486 == codecSelferValueTypeMap1234 { + yyl3486 := r.ReadMapStart() + if yyl3486 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3422, d) + x.codecDecodeSelfFromMap(yyl3486, d) } - } else if yyct3422 == codecSelferValueTypeArray1234 { - yyl3422 := r.ReadArrayStart() - if yyl3422 == 0 { + } else if yyct3486 == codecSelferValueTypeArray1234 { + yyl3486 := r.ReadArrayStart() + if yyl3486 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3422, d) + x.codecDecodeSelfFromArray(yyl3486, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43551,12 +44239,12 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3423Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3423Slc - var yyhl3423 bool = l >= 0 - for yyj3423 := 0; ; yyj3423++ { - if yyhl3423 { - if yyj3423 >= l { + var yys3487Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3487Slc + var yyhl3487 bool = l >= 0 + for yyj3487 := 0; ; yyj3487++ { + if yyhl3487 { + if yyj3487 >= l { break } } else { @@ -43565,10 +44253,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3423Slc = r.DecodeBytes(yys3423Slc, true, true) - yys3423 := string(yys3423Slc) + yys3487Slc = r.DecodeBytes(yys3487Slc, true, true) + yys3487 := string(yys3487Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3423 { + switch yys3487 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -43594,9 +44282,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys3423) - } // end switch yys3423 - } // end for yyj3423 + z.DecStructFieldNotFound(-1, yys3487) + } // end switch yys3487 + } // end for yyj3487 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -43604,16 +44292,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3428 int - var yyb3428 bool - var yyhl3428 bool = l >= 0 - yyj3428++ - if yyhl3428 { - yyb3428 = yyj3428 > l + var yyj3492 int + var yyb3492 bool + var yyhl3492 bool = l >= 0 + yyj3492++ + if yyhl3492 { + yyb3492 = yyj3492 > l } else { - yyb3428 = r.CheckBreak() + yyb3492 = r.CheckBreak() } - if yyb3428 { + if yyb3492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43623,13 +44311,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3428++ - if yyhl3428 { - yyb3428 = yyj3428 > l + yyj3492++ + if yyhl3492 { + yyb3492 = yyj3492 > l } else { - yyb3428 = r.CheckBreak() + yyb3492 = r.CheckBreak() } - if yyb3428 { + if yyb3492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43639,13 +44327,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3428++ - if yyhl3428 { - yyb3428 = yyj3428 > l + yyj3492++ + if yyhl3492 { + yyb3492 = yyj3492 > l } else { - yyb3428 = r.CheckBreak() + yyb3492 = r.CheckBreak() } - if yyb3428 { + if yyb3492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43655,13 +44343,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj3428++ - if yyhl3428 { - yyb3428 = yyj3428 > l + yyj3492++ + if yyhl3492 { + yyb3492 = yyj3492 > l } else { - yyb3428 = r.CheckBreak() + yyb3492 = r.CheckBreak() } - if yyb3428 { + if yyb3492 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -43672,17 +44360,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj3428++ - if yyhl3428 { - yyb3428 = yyj3428 > l + yyj3492++ + if yyhl3492 { + yyb3492 = yyj3492 > l } else { - yyb3428 = r.CheckBreak() + yyb3492 = r.CheckBreak() } - if yyb3428 { + if yyb3492 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3428-1, "") + z.DecStructFieldNotFound(yyj3492-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -43694,41 +44382,41 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3433 := z.EncBinary() - _ = yym3433 + yym3497 := z.EncBinary() + _ = yym3497 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3434 := !z.EncBinary() - yy2arr3434 := z.EncBasicHandle().StructToArray - var yyq3434 [7]bool - _, _, _ = yysep3434, yyq3434, yy2arr3434 - const yyr3434 bool = false - yyq3434[0] = x.Kind != "" - yyq3434[1] = x.APIVersion != "" - yyq3434[2] = x.LabelSelector != "" - yyq3434[3] = x.FieldSelector != "" - yyq3434[4] = x.Watch != false - yyq3434[5] = x.ResourceVersion != "" - yyq3434[6] = x.TimeoutSeconds != nil - var yynn3434 int - if yyr3434 || yy2arr3434 { + 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 { r.EncodeArrayStart(7) } else { - yynn3434 = 0 - for _, b := range yyq3434 { + yynn3498 = 0 + for _, b := range yyq3498 { if b { - yynn3434++ + yynn3498++ } } - r.EncodeMapStart(yynn3434) - yynn3434 = 0 + r.EncodeMapStart(yynn3498) + yynn3498 = 0 } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[0] { - yym3436 := z.EncBinary() - _ = yym3436 + if yyq3498[0] { + yym3500 := z.EncBinary() + _ = yym3500 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -43737,23 +44425,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3434[0] { + if yyq3498[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3437 := z.EncBinary() - _ = yym3437 + yym3501 := z.EncBinary() + _ = yym3501 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[1] { - yym3439 := z.EncBinary() - _ = yym3439 + if yyq3498[1] { + yym3503 := z.EncBinary() + _ = yym3503 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -43762,23 +44450,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3434[1] { + if yyq3498[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3440 := z.EncBinary() - _ = yym3440 + yym3504 := z.EncBinary() + _ = yym3504 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[2] { - yym3442 := z.EncBinary() - _ = yym3442 + if yyq3498[2] { + yym3506 := z.EncBinary() + _ = yym3506 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) @@ -43787,23 +44475,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3434[2] { + if yyq3498[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3443 := z.EncBinary() - _ = yym3443 + yym3507 := z.EncBinary() + _ = yym3507 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[3] { - yym3445 := z.EncBinary() - _ = yym3445 + if yyq3498[3] { + yym3509 := z.EncBinary() + _ = yym3509 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) @@ -43812,23 +44500,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3434[3] { + if yyq3498[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3446 := z.EncBinary() - _ = yym3446 + yym3510 := z.EncBinary() + _ = yym3510 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[4] { - yym3448 := z.EncBinary() - _ = yym3448 + if yyq3498[4] { + yym3512 := z.EncBinary() + _ = yym3512 if false { } else { r.EncodeBool(bool(x.Watch)) @@ -43837,23 +44525,23 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3434[4] { + if yyq3498[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("watch")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3449 := z.EncBinary() - _ = yym3449 + yym3513 := z.EncBinary() + _ = yym3513 if false { } else { r.EncodeBool(bool(x.Watch)) } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[5] { - yym3451 := z.EncBinary() - _ = yym3451 + if yyq3498[5] { + yym3515 := z.EncBinary() + _ = yym3515 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -43862,54 +44550,54 @@ func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3434[5] { + if yyq3498[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3452 := z.EncBinary() - _ = yym3452 + yym3516 := z.EncBinary() + _ = yym3516 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3434[6] { + if yyq3498[6] { if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3454 := *x.TimeoutSeconds - yym3455 := z.EncBinary() - _ = yym3455 + yy3518 := *x.TimeoutSeconds + yym3519 := z.EncBinary() + _ = yym3519 if false { } else { - r.EncodeInt(int64(yy3454)) + r.EncodeInt(int64(yy3518)) } } } else { r.EncodeNil() } } else { - if yyq3434[6] { + if yyq3498[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TimeoutSeconds == nil { r.EncodeNil() } else { - yy3456 := *x.TimeoutSeconds - yym3457 := z.EncBinary() - _ = yym3457 + yy3520 := *x.TimeoutSeconds + yym3521 := z.EncBinary() + _ = yym3521 if false { } else { - r.EncodeInt(int64(yy3456)) + r.EncodeInt(int64(yy3520)) } } } } - if yyr3434 || yy2arr3434 { + if yyr3498 || yy2arr3498 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -43922,25 +44610,25 @@ func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3458 := z.DecBinary() - _ = yym3458 + yym3522 := z.DecBinary() + _ = yym3522 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3459 := r.ContainerType() - if yyct3459 == codecSelferValueTypeMap1234 { - yyl3459 := r.ReadMapStart() - if yyl3459 == 0 { + yyct3523 := r.ContainerType() + if yyct3523 == codecSelferValueTypeMap1234 { + yyl3523 := r.ReadMapStart() + if yyl3523 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3459, d) + x.codecDecodeSelfFromMap(yyl3523, d) } - } else if yyct3459 == codecSelferValueTypeArray1234 { - yyl3459 := r.ReadArrayStart() - if yyl3459 == 0 { + } else if yyct3523 == codecSelferValueTypeArray1234 { + yyl3523 := r.ReadArrayStart() + if yyl3523 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3459, d) + x.codecDecodeSelfFromArray(yyl3523, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -43952,12 +44640,12 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3460Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3460Slc - var yyhl3460 bool = l >= 0 - for yyj3460 := 0; ; yyj3460++ { - if yyhl3460 { - if yyj3460 >= l { + var yys3524Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3524Slc + var yyhl3524 bool = l >= 0 + for yyj3524 := 0; ; yyj3524++ { + if yyhl3524 { + if yyj3524 >= l { break } } else { @@ -43966,10 +44654,10 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3460Slc = r.DecodeBytes(yys3460Slc, true, true) - yys3460 := string(yys3460Slc) + yys3524Slc = r.DecodeBytes(yys3524Slc, true, true) + yys3524 := string(yys3524Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3460 { + switch yys3524 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -44015,677 +44703,21 @@ func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.TimeoutSeconds == nil { x.TimeoutSeconds = new(int64) } - yym3468 := z.DecBinary() - _ = yym3468 + yym3532 := z.DecBinary() + _ = yym3532 if false { } else { *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } default: - z.DecStructFieldNotFound(-1, yys3460) - } // end switch yys3460 - } // end for yyj3460 + z.DecStructFieldNotFound(-1, yys3524) + } // end switch yys3524 + } // end for yyj3524 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj3469 int - var yyb3469 bool - var yyhl3469 bool = l >= 0 - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LabelSelector = "" - } else { - x.LabelSelector = string(r.DecodeString()) - } - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FieldSelector = "" - } else { - x.FieldSelector = string(r.DecodeString()) - } - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Watch = false - } else { - x.Watch = bool(r.DecodeBool()) - } - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceVersion = "" - } else { - x.ResourceVersion = string(r.DecodeString()) - } - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.TimeoutSeconds != nil { - x.TimeoutSeconds = nil - } - } else { - if x.TimeoutSeconds == nil { - x.TimeoutSeconds = new(int64) - } - yym3477 := z.DecBinary() - _ = yym3477 - if false { - } else { - *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) - } - } - for { - yyj3469++ - if yyhl3469 { - yyb3469 = yyj3469 > l - } else { - yyb3469 = r.CheckBreak() - } - if yyb3469 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3469-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym3478 := z.EncBinary() - _ = yym3478 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep3479 := !z.EncBinary() - yy2arr3479 := z.EncBasicHandle().StructToArray - var yyq3479 [10]bool - _, _, _ = yysep3479, yyq3479, yy2arr3479 - const yyr3479 bool = false - yyq3479[0] = x.Kind != "" - yyq3479[1] = x.APIVersion != "" - yyq3479[2] = x.Container != "" - yyq3479[3] = x.Follow != false - yyq3479[4] = x.Previous != false - yyq3479[5] = x.SinceSeconds != nil - yyq3479[6] = x.SinceTime != nil - yyq3479[7] = x.Timestamps != false - yyq3479[8] = x.TailLines != nil - yyq3479[9] = x.LimitBytes != nil - var yynn3479 int - if yyr3479 || yy2arr3479 { - r.EncodeArrayStart(10) - } else { - yynn3479 = 0 - for _, b := range yyq3479 { - if b { - yynn3479++ - } - } - r.EncodeMapStart(yynn3479) - yynn3479 = 0 - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[0] { - yym3481 := z.EncBinary() - _ = yym3481 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3479[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3482 := z.EncBinary() - _ = yym3482 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[1] { - yym3484 := z.EncBinary() - _ = yym3484 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3479[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3485 := z.EncBinary() - _ = yym3485 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[2] { - yym3487 := z.EncBinary() - _ = yym3487 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq3479[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("container")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3488 := z.EncBinary() - _ = yym3488 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Container)) - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[3] { - yym3490 := z.EncBinary() - _ = yym3490 - if false { - } else { - r.EncodeBool(bool(x.Follow)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3479[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("follow")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3491 := z.EncBinary() - _ = yym3491 - if false { - } else { - r.EncodeBool(bool(x.Follow)) - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[4] { - yym3493 := z.EncBinary() - _ = yym3493 - if false { - } else { - r.EncodeBool(bool(x.Previous)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3479[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("previous")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3494 := z.EncBinary() - _ = yym3494 - if false { - } else { - r.EncodeBool(bool(x.Previous)) - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[5] { - if x.SinceSeconds == nil { - r.EncodeNil() - } else { - yy3496 := *x.SinceSeconds - yym3497 := z.EncBinary() - _ = yym3497 - if false { - } else { - r.EncodeInt(int64(yy3496)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3479[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("sinceSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.SinceSeconds == nil { - r.EncodeNil() - } else { - yy3498 := *x.SinceSeconds - yym3499 := z.EncBinary() - _ = yym3499 - if false { - } else { - r.EncodeInt(int64(yy3498)) - } - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[6] { - if x.SinceTime == nil { - r.EncodeNil() - } else { - yym3501 := z.EncBinary() - _ = yym3501 - if false { - } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3501 { - z.EncBinaryMarshal(x.SinceTime) - } else if !yym3501 && z.IsJSONHandle() { - z.EncJSONMarshal(x.SinceTime) - } else { - z.EncFallback(x.SinceTime) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3479[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("sinceTime")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.SinceTime == nil { - r.EncodeNil() - } else { - yym3502 := z.EncBinary() - _ = yym3502 - if false { - } else if z.HasExtensions() && z.EncExt(x.SinceTime) { - } else if yym3502 { - z.EncBinaryMarshal(x.SinceTime) - } else if !yym3502 && z.IsJSONHandle() { - z.EncJSONMarshal(x.SinceTime) - } else { - z.EncFallback(x.SinceTime) - } - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[7] { - yym3504 := z.EncBinary() - _ = yym3504 - if false { - } else { - r.EncodeBool(bool(x.Timestamps)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq3479[7] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timestamps")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3505 := z.EncBinary() - _ = yym3505 - if false { - } else { - r.EncodeBool(bool(x.Timestamps)) - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[8] { - if x.TailLines == nil { - r.EncodeNil() - } else { - yy3507 := *x.TailLines - yym3508 := z.EncBinary() - _ = yym3508 - if false { - } else { - r.EncodeInt(int64(yy3507)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3479[8] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("tailLines")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TailLines == nil { - r.EncodeNil() - } else { - yy3509 := *x.TailLines - yym3510 := z.EncBinary() - _ = yym3510 - if false { - } else { - r.EncodeInt(int64(yy3509)) - } - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3479[9] { - if x.LimitBytes == nil { - r.EncodeNil() - } else { - yy3512 := *x.LimitBytes - yym3513 := z.EncBinary() - _ = yym3513 - if false { - } else { - r.EncodeInt(int64(yy3512)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq3479[9] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("limitBytes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.LimitBytes == nil { - r.EncodeNil() - } else { - yy3514 := *x.LimitBytes - yym3515 := z.EncBinary() - _ = yym3515 - if false { - } else { - r.EncodeInt(int64(yy3514)) - } - } - } - } - if yyr3479 || yy2arr3479 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym3516 := z.DecBinary() - _ = yym3516 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct3517 := r.ContainerType() - if yyct3517 == codecSelferValueTypeMap1234 { - yyl3517 := r.ReadMapStart() - if yyl3517 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl3517, d) - } - } else if yyct3517 == codecSelferValueTypeArray1234 { - yyl3517 := r.ReadArrayStart() - if yyl3517 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl3517, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *PodLogOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys3518Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3518Slc - var yyhl3518 bool = l >= 0 - for yyj3518 := 0; ; yyj3518++ { - if yyhl3518 { - if yyj3518 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3518Slc = r.DecodeBytes(yys3518Slc, true, true) - yys3518 := string(yys3518Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3518 { - 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 "container": - if r.TryDecodeAsNil() { - x.Container = "" - } else { - x.Container = string(r.DecodeString()) - } - case "follow": - if r.TryDecodeAsNil() { - x.Follow = false - } else { - x.Follow = bool(r.DecodeBool()) - } - case "previous": - if r.TryDecodeAsNil() { - x.Previous = false - } else { - x.Previous = bool(r.DecodeBool()) - } - case "sinceSeconds": - if r.TryDecodeAsNil() { - if x.SinceSeconds != nil { - x.SinceSeconds = nil - } - } else { - if x.SinceSeconds == nil { - x.SinceSeconds = new(int64) - } - yym3525 := z.DecBinary() - _ = yym3525 - if false { - } else { - *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) - } - } - case "sinceTime": - if r.TryDecodeAsNil() { - if x.SinceTime != nil { - x.SinceTime = nil - } - } else { - if x.SinceTime == nil { - x.SinceTime = new(pkg2_unversioned.Time) - } - yym3527 := z.DecBinary() - _ = yym3527 - if false { - } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3527 { - z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3527 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.SinceTime) - } else { - z.DecFallback(x.SinceTime, false) - } - } - case "timestamps": - if r.TryDecodeAsNil() { - x.Timestamps = false - } else { - x.Timestamps = bool(r.DecodeBool()) - } - case "tailLines": - if r.TryDecodeAsNil() { - if x.TailLines != nil { - x.TailLines = nil - } - } else { - if x.TailLines == nil { - x.TailLines = new(int64) - } - yym3530 := z.DecBinary() - _ = yym3530 - if false { - } else { - *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) - } - } - case "limitBytes": - if r.TryDecodeAsNil() { - if x.LimitBytes != nil { - x.LimitBytes = nil - } - } else { - if x.LimitBytes == nil { - x.LimitBytes = new(int64) - } - yym3532 := z.DecBinary() - _ = yym3532 - if false { - } else { - *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) - } - } - default: - z.DecStructFieldNotFound(-1, yys3518) - } // end switch yys3518 - } // end for yyj3518 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -44736,9 +44768,9 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Container = "" + x.LabelSelector = "" } else { - x.Container = string(r.DecodeString()) + x.LabelSelector = string(r.DecodeString()) } yyj3533++ if yyhl3533 { @@ -44752,9 +44784,9 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Follow = false + x.FieldSelector = "" } else { - x.Follow = bool(r.DecodeBool()) + x.FieldSelector = string(r.DecodeString()) } yyj3533++ if yyhl3533 { @@ -44768,9 +44800,9 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Previous = false + x.Watch = false } else { - x.Previous = bool(r.DecodeBool()) + x.Watch = bool(r.DecodeBool()) } yyj3533++ if yyhl3533 { @@ -44784,117 +44816,34 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - if x.SinceSeconds != nil { - x.SinceSeconds = nil + x.ResourceVersion = "" + } else { + x.ResourceVersion = string(r.DecodeString()) + } + yyj3533++ + if yyhl3533 { + yyb3533 = yyj3533 > l + } else { + yyb3533 = r.CheckBreak() + } + if yyb3533 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.TimeoutSeconds != nil { + x.TimeoutSeconds = nil } } else { - if x.SinceSeconds == nil { - x.SinceSeconds = new(int64) + if x.TimeoutSeconds == nil { + x.TimeoutSeconds = new(int64) } - yym3540 := z.DecBinary() - _ = yym3540 + yym3541 := z.DecBinary() + _ = yym3541 if false { } else { - *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) - } - } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l - } else { - yyb3533 = r.CheckBreak() - } - if yyb3533 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.SinceTime != nil { - x.SinceTime = nil - } - } else { - if x.SinceTime == nil { - x.SinceTime = new(pkg2_unversioned.Time) - } - yym3542 := z.DecBinary() - _ = yym3542 - if false { - } else if z.HasExtensions() && z.DecExt(x.SinceTime) { - } else if yym3542 { - z.DecBinaryUnmarshal(x.SinceTime) - } else if !yym3542 && z.IsJSONHandle() { - z.DecJSONUnmarshal(x.SinceTime) - } else { - z.DecFallback(x.SinceTime, false) - } - } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l - } else { - yyb3533 = r.CheckBreak() - } - if yyb3533 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Timestamps = false - } else { - x.Timestamps = bool(r.DecodeBool()) - } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l - } else { - yyb3533 = r.CheckBreak() - } - if yyb3533 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.TailLines != nil { - x.TailLines = nil - } - } else { - if x.TailLines == nil { - x.TailLines = new(int64) - } - yym3545 := z.DecBinary() - _ = yym3545 - if false { - } else { - *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) - } - } - yyj3533++ - if yyhl3533 { - yyb3533 = yyj3533 > l - } else { - yyb3533 = r.CheckBreak() - } - if yyb3533 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.LimitBytes != nil { - x.LimitBytes = nil - } - } else { - if x.LimitBytes == nil { - x.LimitBytes = new(int64) - } - yym3547 := z.DecBinary() - _ = yym3547 - if false { - } else { - *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) + *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) } } for { @@ -44913,6 +44862,745 @@ func (x *PodLogOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } +func (x *PodLogOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym3542 := z.EncBinary() + _ = yym3542 + 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 { + r.EncodeArrayStart(10) + } else { + yynn3543 = 0 + for _, b := range yyq3543 { + if b { + yynn3543++ + } + } + r.EncodeMapStart(yynn3543) + yynn3543 = 0 + } + if yyr3543 || yy2arr3543 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3543[0] { + yym3545 := z.EncBinary() + _ = yym3545 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3543[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym3546 := z.EncBinary() + _ = yym3546 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr3543 || yy2arr3543 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3543[1] { + yym3548 := z.EncBinary() + _ = yym3548 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq3543[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + 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 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3543[5] { + if x.SinceSeconds == nil { + r.EncodeNil() + } else { + yy3560 := *x.SinceSeconds + yym3561 := z.EncBinary() + _ = yym3561 + if false { + } else { + r.EncodeInt(int64(yy3560)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3543[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 + yym3563 := z.EncBinary() + _ = yym3563 + if false { + } else { + 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] { + 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 + if false { + } else { + r.EncodeInt(int64(yy3573)) + } + } + } + } + if yyr3543 || yy2arr3543 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq3543[9] { + if x.LimitBytes == nil { + r.EncodeNil() + } else { + yy3576 := *x.LimitBytes + yym3577 := z.EncBinary() + _ = yym3577 + if false { + } else { + r.EncodeInt(int64(yy3576)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq3543[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 + if false { + } else { + r.EncodeInt(int64(yy3578)) + } + } + } + } + if yyr3543 || yy2arr3543 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PodLogOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym3580 := z.DecBinary() + _ = yym3580 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct3581 := r.ContainerType() + if yyct3581 == codecSelferValueTypeMap1234 { + yyl3581 := r.ReadMapStart() + if yyl3581 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl3581, d) + } + } else if yyct3581 == codecSelferValueTypeArray1234 { + yyl3581 := r.ReadArrayStart() + if yyl3581 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl3581, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys3582Slc = r.DecodeBytes(yys3582Slc, true, true) + yys3582 := string(yys3582Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys3582 { + 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 "container": + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } + case "follow": + if r.TryDecodeAsNil() { + x.Follow = false + } else { + x.Follow = bool(r.DecodeBool()) + } + case "previous": + if r.TryDecodeAsNil() { + x.Previous = false + } else { + x.Previous = bool(r.DecodeBool()) + } + case "sinceSeconds": + if r.TryDecodeAsNil() { + if x.SinceSeconds != nil { + x.SinceSeconds = nil + } + } else { + if x.SinceSeconds == nil { + x.SinceSeconds = new(int64) + } + yym3589 := z.DecBinary() + _ = yym3589 + if false { + } else { + *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) + } + } + case "sinceTime": + if r.TryDecodeAsNil() { + if x.SinceTime != nil { + x.SinceTime = nil + } + } else { + if x.SinceTime == nil { + x.SinceTime = new(pkg2_unversioned.Time) + } + yym3591 := z.DecBinary() + _ = yym3591 + if false { + } else if z.HasExtensions() && z.DecExt(x.SinceTime) { + } else if yym3591 { + z.DecBinaryUnmarshal(x.SinceTime) + } else if !yym3591 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.SinceTime) + } else { + z.DecFallback(x.SinceTime, false) + } + } + case "timestamps": + if r.TryDecodeAsNil() { + x.Timestamps = false + } else { + x.Timestamps = bool(r.DecodeBool()) + } + case "tailLines": + if r.TryDecodeAsNil() { + if x.TailLines != nil { + x.TailLines = nil + } + } else { + if x.TailLines == nil { + x.TailLines = new(int64) + } + yym3594 := z.DecBinary() + _ = yym3594 + if false { + } else { + *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) + } + } + case "limitBytes": + if r.TryDecodeAsNil() { + if x.LimitBytes != nil { + x.LimitBytes = nil + } + } else { + if x.LimitBytes == nil { + x.LimitBytes = new(int64) + } + yym3596 := z.DecBinary() + _ = yym3596 + if false { + } else { + *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) + } + } + default: + z.DecStructFieldNotFound(-1, yys3582) + } // end switch yys3582 + } // end for yyj3582 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Container = "" + } else { + x.Container = string(r.DecodeString()) + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Follow = false + } else { + x.Follow = bool(r.DecodeBool()) + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Previous = false + } else { + x.Previous = bool(r.DecodeBool()) + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SinceSeconds != nil { + x.SinceSeconds = nil + } + } else { + if x.SinceSeconds == nil { + x.SinceSeconds = new(int64) + } + yym3604 := z.DecBinary() + _ = yym3604 + if false { + } else { + *((*int64)(x.SinceSeconds)) = int64(r.DecodeInt(64)) + } + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.SinceTime != nil { + x.SinceTime = nil + } + } else { + if x.SinceTime == nil { + x.SinceTime = new(pkg2_unversioned.Time) + } + yym3606 := z.DecBinary() + _ = yym3606 + if false { + } else if z.HasExtensions() && z.DecExt(x.SinceTime) { + } else if yym3606 { + z.DecBinaryUnmarshal(x.SinceTime) + } else if !yym3606 && z.IsJSONHandle() { + z.DecJSONUnmarshal(x.SinceTime) + } else { + z.DecFallback(x.SinceTime, false) + } + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Timestamps = false + } else { + x.Timestamps = bool(r.DecodeBool()) + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.TailLines != nil { + x.TailLines = nil + } + } else { + if x.TailLines == nil { + x.TailLines = new(int64) + } + yym3609 := z.DecBinary() + _ = yym3609 + if false { + } else { + *((*int64)(x.TailLines)) = int64(r.DecodeInt(64)) + } + } + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + if x.LimitBytes != nil { + x.LimitBytes = nil + } + } else { + if x.LimitBytes == nil { + x.LimitBytes = new(int64) + } + yym3611 := z.DecBinary() + _ = yym3611 + if false { + } else { + *((*int64)(x.LimitBytes)) = int64(r.DecodeInt(64)) + } + } + for { + yyj3597++ + if yyhl3597 { + yyb3597 = yyj3597 > l + } else { + yyb3597 = r.CheckBreak() + } + if yyb3597 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj3597-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -44920,41 +45608,41 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3548 := z.EncBinary() - _ = yym3548 + yym3612 := z.EncBinary() + _ = yym3612 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3549 := !z.EncBinary() - yy2arr3549 := z.EncBasicHandle().StructToArray - var yyq3549 [7]bool - _, _, _ = yysep3549, yyq3549, yy2arr3549 - const yyr3549 bool = false - yyq3549[0] = x.Kind != "" - yyq3549[1] = x.APIVersion != "" - yyq3549[2] = x.Stdin != false - yyq3549[3] = x.Stdout != false - yyq3549[4] = x.Stderr != false - yyq3549[5] = x.TTY != false - yyq3549[6] = x.Container != "" - var yynn3549 int - if yyr3549 || yy2arr3549 { + 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 { r.EncodeArrayStart(7) } else { - yynn3549 = 0 - for _, b := range yyq3549 { + yynn3613 = 0 + for _, b := range yyq3613 { if b { - yynn3549++ + yynn3613++ } } - r.EncodeMapStart(yynn3549) - yynn3549 = 0 + r.EncodeMapStart(yynn3613) + yynn3613 = 0 } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[0] { - yym3551 := z.EncBinary() - _ = yym3551 + if yyq3613[0] { + yym3615 := z.EncBinary() + _ = yym3615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -44963,23 +45651,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3549[0] { + if yyq3613[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3552 := z.EncBinary() - _ = yym3552 + yym3616 := z.EncBinary() + _ = yym3616 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[1] { - yym3554 := z.EncBinary() - _ = yym3554 + if yyq3613[1] { + yym3618 := z.EncBinary() + _ = yym3618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -44988,23 +45676,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3549[1] { + if yyq3613[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3555 := z.EncBinary() - _ = yym3555 + yym3619 := z.EncBinary() + _ = yym3619 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[2] { - yym3557 := z.EncBinary() - _ = yym3557 + if yyq3613[2] { + yym3621 := z.EncBinary() + _ = yym3621 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -45013,23 +45701,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3549[2] { + if yyq3613[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3558 := z.EncBinary() - _ = yym3558 + yym3622 := z.EncBinary() + _ = yym3622 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[3] { - yym3560 := z.EncBinary() - _ = yym3560 + if yyq3613[3] { + yym3624 := z.EncBinary() + _ = yym3624 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -45038,23 +45726,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3549[3] { + if yyq3613[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3561 := z.EncBinary() - _ = yym3561 + yym3625 := z.EncBinary() + _ = yym3625 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[4] { - yym3563 := z.EncBinary() - _ = yym3563 + if yyq3613[4] { + yym3627 := z.EncBinary() + _ = yym3627 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -45063,23 +45751,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3549[4] { + if yyq3613[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3564 := z.EncBinary() - _ = yym3564 + yym3628 := z.EncBinary() + _ = yym3628 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[5] { - yym3566 := z.EncBinary() - _ = yym3566 + if yyq3613[5] { + yym3630 := z.EncBinary() + _ = yym3630 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -45088,23 +45776,23 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3549[5] { + if yyq3613[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3567 := z.EncBinary() - _ = yym3567 + yym3631 := z.EncBinary() + _ = yym3631 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3549[6] { - yym3569 := z.EncBinary() - _ = yym3569 + if yyq3613[6] { + yym3633 := z.EncBinary() + _ = yym3633 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -45113,19 +45801,19 @@ func (x *PodAttachOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3549[6] { + if yyq3613[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3570 := z.EncBinary() - _ = yym3570 + yym3634 := z.EncBinary() + _ = yym3634 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3549 || yy2arr3549 { + if yyr3613 || yy2arr3613 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45138,25 +45826,25 @@ func (x *PodAttachOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3571 := z.DecBinary() - _ = yym3571 + yym3635 := z.DecBinary() + _ = yym3635 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3572 := r.ContainerType() - if yyct3572 == codecSelferValueTypeMap1234 { - yyl3572 := r.ReadMapStart() - if yyl3572 == 0 { + yyct3636 := r.ContainerType() + if yyct3636 == codecSelferValueTypeMap1234 { + yyl3636 := r.ReadMapStart() + if yyl3636 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3572, d) + x.codecDecodeSelfFromMap(yyl3636, d) } - } else if yyct3572 == codecSelferValueTypeArray1234 { - yyl3572 := r.ReadArrayStart() - if yyl3572 == 0 { + } else if yyct3636 == codecSelferValueTypeArray1234 { + yyl3636 := r.ReadArrayStart() + if yyl3636 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3572, d) + x.codecDecodeSelfFromArray(yyl3636, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45168,12 +45856,12 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3573Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3573Slc - var yyhl3573 bool = l >= 0 - for yyj3573 := 0; ; yyj3573++ { - if yyhl3573 { - if yyj3573 >= l { + var yys3637Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3637Slc + var yyhl3637 bool = l >= 0 + for yyj3637 := 0; ; yyj3637++ { + if yyhl3637 { + if yyj3637 >= l { break } } else { @@ -45182,10 +45870,10 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3573Slc = r.DecodeBytes(yys3573Slc, true, true) - yys3573 := string(yys3573Slc) + yys3637Slc = r.DecodeBytes(yys3637Slc, true, true) + yys3637 := string(yys3637Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3573 { + switch yys3637 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45229,9 +45917,9 @@ func (x *PodAttachOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Container = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3573) - } // end switch yys3573 - } // end for yyj3573 + z.DecStructFieldNotFound(-1, yys3637) + } // end switch yys3637 + } // end for yyj3637 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45239,16 +45927,16 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3581 int - var yyb3581 bool - var yyhl3581 bool = l >= 0 - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + var yyj3645 int + var yyb3645 bool + var yyhl3645 bool = l >= 0 + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45258,13 +45946,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45274,13 +45962,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45290,13 +45978,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdin = bool(r.DecodeBool()) } - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45306,13 +45994,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stdout = bool(r.DecodeBool()) } - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45322,13 +46010,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Stderr = bool(r.DecodeBool()) } - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45338,13 +46026,13 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.TTY = bool(r.DecodeBool()) } - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45355,17 +46043,17 @@ func (x *PodAttachOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Container = string(r.DecodeString()) } for { - yyj3581++ - if yyhl3581 { - yyb3581 = yyj3581 > l + yyj3645++ + if yyhl3645 { + yyb3645 = yyj3645 > l } else { - yyb3581 = r.CheckBreak() + yyb3645 = r.CheckBreak() } - if yyb3581 { + if yyb3645 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3581-1, "") + z.DecStructFieldNotFound(yyj3645-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45377,41 +46065,41 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3589 := z.EncBinary() - _ = yym3589 + yym3653 := z.EncBinary() + _ = yym3653 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3590 := !z.EncBinary() - yy2arr3590 := z.EncBasicHandle().StructToArray - var yyq3590 [8]bool - _, _, _ = yysep3590, yyq3590, yy2arr3590 - const yyr3590 bool = false - yyq3590[0] = x.Kind != "" - yyq3590[1] = x.APIVersion != "" - yyq3590[2] = x.Stdin != false - yyq3590[3] = x.Stdout != false - yyq3590[4] = x.Stderr != false - yyq3590[5] = x.TTY != false - yyq3590[6] = x.Container != "" - var yynn3590 int - if yyr3590 || yy2arr3590 { + 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 { r.EncodeArrayStart(8) } else { - yynn3590 = 1 - for _, b := range yyq3590 { + yynn3654 = 1 + for _, b := range yyq3654 { if b { - yynn3590++ + yynn3654++ } } - r.EncodeMapStart(yynn3590) - yynn3590 = 0 + r.EncodeMapStart(yynn3654) + yynn3654 = 0 } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[0] { - yym3592 := z.EncBinary() - _ = yym3592 + if yyq3654[0] { + yym3656 := z.EncBinary() + _ = yym3656 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45420,23 +46108,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3590[0] { + if yyq3654[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3593 := z.EncBinary() - _ = yym3593 + yym3657 := z.EncBinary() + _ = yym3657 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[1] { - yym3595 := z.EncBinary() - _ = yym3595 + if yyq3654[1] { + yym3659 := z.EncBinary() + _ = yym3659 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45445,23 +46133,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3590[1] { + if yyq3654[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3596 := z.EncBinary() - _ = yym3596 + yym3660 := z.EncBinary() + _ = yym3660 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[2] { - yym3598 := z.EncBinary() - _ = yym3598 + if yyq3654[2] { + yym3662 := z.EncBinary() + _ = yym3662 if false { } else { r.EncodeBool(bool(x.Stdin)) @@ -45470,23 +46158,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3590[2] { + if yyq3654[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdin")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3599 := z.EncBinary() - _ = yym3599 + yym3663 := z.EncBinary() + _ = yym3663 if false { } else { r.EncodeBool(bool(x.Stdin)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[3] { - yym3601 := z.EncBinary() - _ = yym3601 + if yyq3654[3] { + yym3665 := z.EncBinary() + _ = yym3665 if false { } else { r.EncodeBool(bool(x.Stdout)) @@ -45495,23 +46183,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3590[3] { + if yyq3654[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stdout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3602 := z.EncBinary() - _ = yym3602 + yym3666 := z.EncBinary() + _ = yym3666 if false { } else { r.EncodeBool(bool(x.Stdout)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[4] { - yym3604 := z.EncBinary() - _ = yym3604 + if yyq3654[4] { + yym3668 := z.EncBinary() + _ = yym3668 if false { } else { r.EncodeBool(bool(x.Stderr)) @@ -45520,23 +46208,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3590[4] { + if yyq3654[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("stderr")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3605 := z.EncBinary() - _ = yym3605 + yym3669 := z.EncBinary() + _ = yym3669 if false { } else { r.EncodeBool(bool(x.Stderr)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[5] { - yym3607 := z.EncBinary() - _ = yym3607 + if yyq3654[5] { + yym3671 := z.EncBinary() + _ = yym3671 if false { } else { r.EncodeBool(bool(x.TTY)) @@ -45545,23 +46233,23 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq3590[5] { + if yyq3654[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tty")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3608 := z.EncBinary() - _ = yym3608 + yym3672 := z.EncBinary() + _ = yym3672 if false { } else { r.EncodeBool(bool(x.TTY)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3590[6] { - yym3610 := z.EncBinary() - _ = yym3610 + if yyq3654[6] { + yym3674 := z.EncBinary() + _ = yym3674 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) @@ -45570,25 +46258,25 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3590[6] { + if yyq3654[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("container")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3611 := z.EncBinary() - _ = yym3611 + yym3675 := z.EncBinary() + _ = yym3675 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Container)) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Command == nil { r.EncodeNil() } else { - yym3613 := z.EncBinary() - _ = yym3613 + yym3677 := z.EncBinary() + _ = yym3677 if false { } else { z.F.EncSliceStringV(x.Command, false, e) @@ -45601,15 +46289,15 @@ func (x *PodExecOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x.Command == nil { r.EncodeNil() } else { - yym3614 := z.EncBinary() - _ = yym3614 + yym3678 := z.EncBinary() + _ = yym3678 if false { } else { z.F.EncSliceStringV(x.Command, false, e) } } } - if yyr3590 || yy2arr3590 { + if yyr3654 || yy2arr3654 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -45622,25 +46310,25 @@ func (x *PodExecOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3615 := z.DecBinary() - _ = yym3615 + yym3679 := z.DecBinary() + _ = yym3679 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3616 := r.ContainerType() - if yyct3616 == codecSelferValueTypeMap1234 { - yyl3616 := r.ReadMapStart() - if yyl3616 == 0 { + yyct3680 := r.ContainerType() + if yyct3680 == codecSelferValueTypeMap1234 { + yyl3680 := r.ReadMapStart() + if yyl3680 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3616, d) + x.codecDecodeSelfFromMap(yyl3680, d) } - } else if yyct3616 == codecSelferValueTypeArray1234 { - yyl3616 := r.ReadArrayStart() - if yyl3616 == 0 { + } else if yyct3680 == codecSelferValueTypeArray1234 { + yyl3680 := r.ReadArrayStart() + if yyl3680 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3616, d) + x.codecDecodeSelfFromArray(yyl3680, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -45652,12 +46340,12 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3617Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3617Slc - var yyhl3617 bool = l >= 0 - for yyj3617 := 0; ; yyj3617++ { - if yyhl3617 { - if yyj3617 >= l { + var yys3681Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3681Slc + var yyhl3681 bool = l >= 0 + for yyj3681 := 0; ; yyj3681++ { + if yyhl3681 { + if yyj3681 >= l { break } } else { @@ -45666,10 +46354,10 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3617Slc = r.DecodeBytes(yys3617Slc, true, true) - yys3617 := string(yys3617Slc) + yys3681Slc = r.DecodeBytes(yys3681Slc, true, true) + yys3681 := string(yys3681Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3617 { + switch yys3681 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -45716,18 +46404,18 @@ func (x *PodExecOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3625 := &x.Command - yym3626 := z.DecBinary() - _ = yym3626 + yyv3689 := &x.Command + yym3690 := z.DecBinary() + _ = yym3690 if false { } else { - z.F.DecSliceStringX(yyv3625, false, d) + z.F.DecSliceStringX(yyv3689, false, d) } } default: - z.DecStructFieldNotFound(-1, yys3617) - } // end switch yys3617 - } // end for yyj3617 + z.DecStructFieldNotFound(-1, yys3681) + } // end switch yys3681 + } // end for yyj3681 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -45735,16 +46423,16 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3627 int - var yyb3627 bool - var yyhl3627 bool = l >= 0 - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + var yyj3691 int + var yyb3691 bool + var yyhl3691 bool = l >= 0 + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45754,13 +46442,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45770,13 +46458,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45786,13 +46474,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdin = bool(r.DecodeBool()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45802,13 +46490,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stdout = bool(r.DecodeBool()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45818,13 +46506,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Stderr = bool(r.DecodeBool()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45834,13 +46522,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.TTY = bool(r.DecodeBool()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45850,13 +46538,13 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Container = string(r.DecodeString()) } - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -45864,26 +46552,26 @@ func (x *PodExecOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Command = nil } else { - yyv3635 := &x.Command - yym3636 := z.DecBinary() - _ = yym3636 + yyv3699 := &x.Command + yym3700 := z.DecBinary() + _ = yym3700 if false { } else { - z.F.DecSliceStringX(yyv3635, false, d) + z.F.DecSliceStringX(yyv3699, false, d) } } for { - yyj3627++ - if yyhl3627 { - yyb3627 = yyj3627 > l + yyj3691++ + if yyhl3691 { + yyb3691 = yyj3691 > l } else { - yyb3627 = r.CheckBreak() + yyb3691 = r.CheckBreak() } - if yyb3627 { + if yyb3691 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3627-1, "") + z.DecStructFieldNotFound(yyj3691-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -45895,37 +46583,37 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3637 := z.EncBinary() - _ = yym3637 + yym3701 := z.EncBinary() + _ = yym3701 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3638 := !z.EncBinary() - yy2arr3638 := z.EncBasicHandle().StructToArray - var yyq3638 [3]bool - _, _, _ = yysep3638, yyq3638, yy2arr3638 - const yyr3638 bool = false - yyq3638[0] = x.Kind != "" - yyq3638[1] = x.APIVersion != "" - yyq3638[2] = x.Path != "" - var yynn3638 int - if yyr3638 || yy2arr3638 { + 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 { r.EncodeArrayStart(3) } else { - yynn3638 = 0 - for _, b := range yyq3638 { + yynn3702 = 0 + for _, b := range yyq3702 { if b { - yynn3638++ + yynn3702++ } } - r.EncodeMapStart(yynn3638) - yynn3638 = 0 + r.EncodeMapStart(yynn3702) + yynn3702 = 0 } - if yyr3638 || yy2arr3638 { + if yyr3702 || yy2arr3702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3638[0] { - yym3640 := z.EncBinary() - _ = yym3640 + if yyq3702[0] { + yym3704 := z.EncBinary() + _ = yym3704 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -45934,23 +46622,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3638[0] { + if yyq3702[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3641 := z.EncBinary() - _ = yym3641 + yym3705 := z.EncBinary() + _ = yym3705 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3638 || yy2arr3638 { + if yyr3702 || yy2arr3702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3638[1] { - yym3643 := z.EncBinary() - _ = yym3643 + if yyq3702[1] { + yym3707 := z.EncBinary() + _ = yym3707 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -45959,23 +46647,23 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3638[1] { + if yyq3702[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3644 := z.EncBinary() - _ = yym3644 + yym3708 := z.EncBinary() + _ = yym3708 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3638 || yy2arr3638 { + if yyr3702 || yy2arr3702 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3638[2] { - yym3646 := z.EncBinary() - _ = yym3646 + if yyq3702[2] { + yym3710 := z.EncBinary() + _ = yym3710 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -45984,19 +46672,19 @@ func (x *PodProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3638[2] { + if yyq3702[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3647 := z.EncBinary() - _ = yym3647 + yym3711 := z.EncBinary() + _ = yym3711 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3638 || yy2arr3638 { + if yyr3702 || yy2arr3702 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46009,25 +46697,25 @@ func (x *PodProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3648 := z.DecBinary() - _ = yym3648 + yym3712 := z.DecBinary() + _ = yym3712 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3649 := r.ContainerType() - if yyct3649 == codecSelferValueTypeMap1234 { - yyl3649 := r.ReadMapStart() - if yyl3649 == 0 { + yyct3713 := r.ContainerType() + if yyct3713 == codecSelferValueTypeMap1234 { + yyl3713 := r.ReadMapStart() + if yyl3713 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3649, d) + x.codecDecodeSelfFromMap(yyl3713, d) } - } else if yyct3649 == codecSelferValueTypeArray1234 { - yyl3649 := r.ReadArrayStart() - if yyl3649 == 0 { + } else if yyct3713 == codecSelferValueTypeArray1234 { + yyl3713 := r.ReadArrayStart() + if yyl3713 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3649, d) + x.codecDecodeSelfFromArray(yyl3713, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46039,12 +46727,12 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3650Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3650Slc - var yyhl3650 bool = l >= 0 - for yyj3650 := 0; ; yyj3650++ { - if yyhl3650 { - if yyj3650 >= l { + var yys3714Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3714Slc + var yyhl3714 bool = l >= 0 + for yyj3714 := 0; ; yyj3714++ { + if yyhl3714 { + if yyj3714 >= l { break } } else { @@ -46053,10 +46741,10 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3650Slc = r.DecodeBytes(yys3650Slc, true, true) - yys3650 := string(yys3650Slc) + yys3714Slc = r.DecodeBytes(yys3714Slc, true, true) + yys3714 := string(yys3714Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3650 { + switch yys3714 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46076,9 +46764,9 @@ func (x *PodProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3650) - } // end switch yys3650 - } // end for yyj3650 + z.DecStructFieldNotFound(-1, yys3714) + } // end switch yys3714 + } // end for yyj3714 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46086,16 +46774,16 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3654 int - var yyb3654 bool - var yyhl3654 bool = l >= 0 - yyj3654++ - if yyhl3654 { - yyb3654 = yyj3654 > l + var yyj3718 int + var yyb3718 bool + var yyhl3718 bool = l >= 0 + yyj3718++ + if yyhl3718 { + yyb3718 = yyj3718 > l } else { - yyb3654 = r.CheckBreak() + yyb3718 = r.CheckBreak() } - if yyb3654 { + if yyb3718 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46105,13 +46793,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3654++ - if yyhl3654 { - yyb3654 = yyj3654 > l + yyj3718++ + if yyhl3718 { + yyb3718 = yyj3718 > l } else { - yyb3654 = r.CheckBreak() + yyb3718 = r.CheckBreak() } - if yyb3654 { + if yyb3718 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46121,13 +46809,13 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3654++ - if yyhl3654 { - yyb3654 = yyj3654 > l + yyj3718++ + if yyhl3718 { + yyb3718 = yyj3718 > l } else { - yyb3654 = r.CheckBreak() + yyb3718 = r.CheckBreak() } - if yyb3654 { + if yyb3718 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46138,17 +46826,17 @@ func (x *PodProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3654++ - if yyhl3654 { - yyb3654 = yyj3654 > l + yyj3718++ + if yyhl3718 { + yyb3718 = yyj3718 > l } else { - yyb3654 = r.CheckBreak() + yyb3718 = r.CheckBreak() } - if yyb3654 { + if yyb3718 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3654-1, "") + z.DecStructFieldNotFound(yyj3718-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46160,37 +46848,37 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3658 := z.EncBinary() - _ = yym3658 + yym3722 := z.EncBinary() + _ = yym3722 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3659 := !z.EncBinary() - yy2arr3659 := z.EncBasicHandle().StructToArray - var yyq3659 [3]bool - _, _, _ = yysep3659, yyq3659, yy2arr3659 - const yyr3659 bool = false - yyq3659[0] = x.Kind != "" - yyq3659[1] = x.APIVersion != "" - yyq3659[2] = x.Path != "" - var yynn3659 int - if yyr3659 || yy2arr3659 { + 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 { r.EncodeArrayStart(3) } else { - yynn3659 = 0 - for _, b := range yyq3659 { + yynn3723 = 0 + for _, b := range yyq3723 { if b { - yynn3659++ + yynn3723++ } } - r.EncodeMapStart(yynn3659) - yynn3659 = 0 + r.EncodeMapStart(yynn3723) + yynn3723 = 0 } - if yyr3659 || yy2arr3659 { + if yyr3723 || yy2arr3723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[0] { - yym3661 := z.EncBinary() - _ = yym3661 + if yyq3723[0] { + yym3725 := z.EncBinary() + _ = yym3725 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46199,23 +46887,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3659[0] { + if yyq3723[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3662 := z.EncBinary() - _ = yym3662 + yym3726 := z.EncBinary() + _ = yym3726 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3659 || yy2arr3659 { + if yyr3723 || yy2arr3723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[1] { - yym3664 := z.EncBinary() - _ = yym3664 + if yyq3723[1] { + yym3728 := z.EncBinary() + _ = yym3728 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46224,23 +46912,23 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3659[1] { + if yyq3723[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3665 := z.EncBinary() - _ = yym3665 + yym3729 := z.EncBinary() + _ = yym3729 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3659 || yy2arr3659 { + if yyr3723 || yy2arr3723 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3659[2] { - yym3667 := z.EncBinary() - _ = yym3667 + if yyq3723[2] { + yym3731 := z.EncBinary() + _ = yym3731 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46249,19 +46937,19 @@ func (x *NodeProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3659[2] { + if yyq3723[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3668 := z.EncBinary() - _ = yym3668 + yym3732 := z.EncBinary() + _ = yym3732 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3659 || yy2arr3659 { + if yyr3723 || yy2arr3723 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46274,25 +46962,25 @@ func (x *NodeProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3669 := z.DecBinary() - _ = yym3669 + yym3733 := z.DecBinary() + _ = yym3733 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3670 := r.ContainerType() - if yyct3670 == codecSelferValueTypeMap1234 { - yyl3670 := r.ReadMapStart() - if yyl3670 == 0 { + yyct3734 := r.ContainerType() + if yyct3734 == codecSelferValueTypeMap1234 { + yyl3734 := r.ReadMapStart() + if yyl3734 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3670, d) + x.codecDecodeSelfFromMap(yyl3734, d) } - } else if yyct3670 == codecSelferValueTypeArray1234 { - yyl3670 := r.ReadArrayStart() - if yyl3670 == 0 { + } else if yyct3734 == codecSelferValueTypeArray1234 { + yyl3734 := r.ReadArrayStart() + if yyl3734 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3670, d) + x.codecDecodeSelfFromArray(yyl3734, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46304,12 +46992,12 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3671Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3671Slc - var yyhl3671 bool = l >= 0 - for yyj3671 := 0; ; yyj3671++ { - if yyhl3671 { - if yyj3671 >= l { + var yys3735Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3735Slc + var yyhl3735 bool = l >= 0 + for yyj3735 := 0; ; yyj3735++ { + if yyhl3735 { + if yyj3735 >= l { break } } else { @@ -46318,10 +47006,10 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3671Slc = r.DecodeBytes(yys3671Slc, true, true) - yys3671 := string(yys3671Slc) + yys3735Slc = r.DecodeBytes(yys3735Slc, true, true) + yys3735 := string(yys3735Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3671 { + switch yys3735 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46341,9 +47029,9 @@ func (x *NodeProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3671) - } // end switch yys3671 - } // end for yyj3671 + z.DecStructFieldNotFound(-1, yys3735) + } // end switch yys3735 + } // end for yyj3735 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46351,16 +47039,16 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3675 int - var yyb3675 bool - var yyhl3675 bool = l >= 0 - yyj3675++ - if yyhl3675 { - yyb3675 = yyj3675 > l + var yyj3739 int + var yyb3739 bool + var yyhl3739 bool = l >= 0 + yyj3739++ + if yyhl3739 { + yyb3739 = yyj3739 > l } else { - yyb3675 = r.CheckBreak() + yyb3739 = r.CheckBreak() } - if yyb3675 { + if yyb3739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46370,13 +47058,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3675++ - if yyhl3675 { - yyb3675 = yyj3675 > l + yyj3739++ + if yyhl3739 { + yyb3739 = yyj3739 > l } else { - yyb3675 = r.CheckBreak() + yyb3739 = r.CheckBreak() } - if yyb3675 { + if yyb3739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46386,13 +47074,13 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3675++ - if yyhl3675 { - yyb3675 = yyj3675 > l + yyj3739++ + if yyhl3739 { + yyb3739 = yyj3739 > l } else { - yyb3675 = r.CheckBreak() + yyb3739 = r.CheckBreak() } - if yyb3675 { + if yyb3739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46403,17 +47091,17 @@ func (x *NodeProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.Path = string(r.DecodeString()) } for { - yyj3675++ - if yyhl3675 { - yyb3675 = yyj3675 > l + yyj3739++ + if yyhl3739 { + yyb3739 = yyj3739 > l } else { - yyb3675 = r.CheckBreak() + yyb3739 = r.CheckBreak() } - if yyb3675 { + if yyb3739 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3675-1, "") + z.DecStructFieldNotFound(yyj3739-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46425,37 +47113,37 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3679 := z.EncBinary() - _ = yym3679 + yym3743 := z.EncBinary() + _ = yym3743 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3680 := !z.EncBinary() - yy2arr3680 := z.EncBasicHandle().StructToArray - var yyq3680 [3]bool - _, _, _ = yysep3680, yyq3680, yy2arr3680 - const yyr3680 bool = false - yyq3680[0] = x.Kind != "" - yyq3680[1] = x.APIVersion != "" - yyq3680[2] = x.Path != "" - var yynn3680 int - if yyr3680 || yy2arr3680 { + 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 { r.EncodeArrayStart(3) } else { - yynn3680 = 0 - for _, b := range yyq3680 { + yynn3744 = 0 + for _, b := range yyq3744 { if b { - yynn3680++ + yynn3744++ } } - r.EncodeMapStart(yynn3680) - yynn3680 = 0 + r.EncodeMapStart(yynn3744) + yynn3744 = 0 } - if yyr3680 || yy2arr3680 { + if yyr3744 || yy2arr3744 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3680[0] { - yym3682 := z.EncBinary() - _ = yym3682 + if yyq3744[0] { + yym3746 := z.EncBinary() + _ = yym3746 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46464,23 +47152,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3680[0] { + if yyq3744[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3683 := z.EncBinary() - _ = yym3683 + yym3747 := z.EncBinary() + _ = yym3747 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3680 || yy2arr3680 { + if yyr3744 || yy2arr3744 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3680[1] { - yym3685 := z.EncBinary() - _ = yym3685 + if yyq3744[1] { + yym3749 := z.EncBinary() + _ = yym3749 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46489,23 +47177,23 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3680[1] { + if yyq3744[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3686 := z.EncBinary() - _ = yym3686 + yym3750 := z.EncBinary() + _ = yym3750 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3680 || yy2arr3680 { + if yyr3744 || yy2arr3744 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3680[2] { - yym3688 := z.EncBinary() - _ = yym3688 + if yyq3744[2] { + yym3752 := z.EncBinary() + _ = yym3752 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -46514,19 +47202,19 @@ func (x *ServiceProxyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3680[2] { + if yyq3744[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3689 := z.EncBinary() - _ = yym3689 + yym3753 := z.EncBinary() + _ = yym3753 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr3680 || yy2arr3680 { + if yyr3744 || yy2arr3744 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46539,25 +47227,25 @@ func (x *ServiceProxyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3690 := z.DecBinary() - _ = yym3690 + yym3754 := z.DecBinary() + _ = yym3754 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3691 := r.ContainerType() - if yyct3691 == codecSelferValueTypeMap1234 { - yyl3691 := r.ReadMapStart() - if yyl3691 == 0 { + yyct3755 := r.ContainerType() + if yyct3755 == codecSelferValueTypeMap1234 { + yyl3755 := r.ReadMapStart() + if yyl3755 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3691, d) + x.codecDecodeSelfFromMap(yyl3755, d) } - } else if yyct3691 == codecSelferValueTypeArray1234 { - yyl3691 := r.ReadArrayStart() - if yyl3691 == 0 { + } else if yyct3755 == codecSelferValueTypeArray1234 { + yyl3755 := r.ReadArrayStart() + if yyl3755 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3691, d) + x.codecDecodeSelfFromArray(yyl3755, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46569,12 +47257,12 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3692Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3692Slc - var yyhl3692 bool = l >= 0 - for yyj3692 := 0; ; yyj3692++ { - if yyhl3692 { - if yyj3692 >= l { + var yys3756Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3756Slc + var yyhl3756 bool = l >= 0 + for yyj3756 := 0; ; yyj3756++ { + if yyhl3756 { + if yyj3756 >= l { break } } else { @@ -46583,10 +47271,10 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3692Slc = r.DecodeBytes(yys3692Slc, true, true) - yys3692 := string(yys3692Slc) + yys3756Slc = r.DecodeBytes(yys3756Slc, true, true) + yys3756 := string(yys3756Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3692 { + switch yys3756 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -46606,9 +47294,9 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder x.Path = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3692) - } // end switch yys3692 - } // end for yyj3692 + z.DecStructFieldNotFound(-1, yys3756) + } // end switch yys3756 + } // end for yyj3756 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46616,16 +47304,16 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3696 int - var yyb3696 bool - var yyhl3696 bool = l >= 0 - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + var yyj3760 int + var yyb3760 bool + var yyhl3760 bool = l >= 0 + yyj3760++ + if yyhl3760 { + yyb3760 = yyj3760 > l } else { - yyb3696 = r.CheckBreak() + yyb3760 = r.CheckBreak() } - if yyb3696 { + if yyb3760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46635,13 +47323,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj3760++ + if yyhl3760 { + yyb3760 = yyj3760 > l } else { - yyb3696 = r.CheckBreak() + yyb3760 = r.CheckBreak() } - if yyb3696 { + if yyb3760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46651,13 +47339,13 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj3760++ + if yyhl3760 { + yyb3760 = yyj3760 > l } else { - yyb3696 = r.CheckBreak() + yyb3760 = r.CheckBreak() } - if yyb3696 { + if yyb3760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46668,17 +47356,17 @@ func (x *ServiceProxyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decod x.Path = string(r.DecodeString()) } for { - yyj3696++ - if yyhl3696 { - yyb3696 = yyj3696 > l + yyj3760++ + if yyhl3760 { + yyb3760 = yyj3760 > l } else { - yyb3696 = r.CheckBreak() + yyb3760 = r.CheckBreak() } - if yyb3696 { + if yyb3760 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3696-1, "") + z.DecStructFieldNotFound(yyj3760-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -46690,34 +47378,34 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3700 := z.EncBinary() - _ = yym3700 + yym3764 := z.EncBinary() + _ = yym3764 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3701 := !z.EncBinary() - yy2arr3701 := z.EncBasicHandle().StructToArray - var yyq3701 [5]bool - _, _, _ = yysep3701, yyq3701, yy2arr3701 - const yyr3701 bool = false - yyq3701[4] = x.Controller != nil - var yynn3701 int - if yyr3701 || yy2arr3701 { + 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 { r.EncodeArrayStart(5) } else { - yynn3701 = 4 - for _, b := range yyq3701 { + yynn3765 = 4 + for _, b := range yyq3765 { if b { - yynn3701++ + yynn3765++ } } - r.EncodeMapStart(yynn3701) - yynn3701 = 0 + r.EncodeMapStart(yynn3765) + yynn3765 = 0 } - if yyr3701 || yy2arr3701 { + if yyr3765 || yy2arr3765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3703 := z.EncBinary() - _ = yym3703 + yym3767 := z.EncBinary() + _ = yym3767 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -46726,17 +47414,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3704 := z.EncBinary() - _ = yym3704 + yym3768 := z.EncBinary() + _ = yym3768 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } - if yyr3701 || yy2arr3701 { + if yyr3765 || yy2arr3765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3706 := z.EncBinary() - _ = yym3706 + yym3770 := z.EncBinary() + _ = yym3770 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -46745,17 +47433,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3707 := z.EncBinary() - _ = yym3707 + yym3771 := z.EncBinary() + _ = yym3771 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } - if yyr3701 || yy2arr3701 { + if yyr3765 || yy2arr3765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3709 := z.EncBinary() - _ = yym3709 + yym3773 := z.EncBinary() + _ = yym3773 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -46764,17 +47452,17 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3710 := z.EncBinary() - _ = yym3710 + yym3774 := z.EncBinary() + _ = yym3774 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } - if yyr3701 || yy2arr3701 { + if yyr3765 || yy2arr3765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym3712 := z.EncBinary() - _ = yym3712 + yym3776 := z.EncBinary() + _ = yym3776 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -46784,50 +47472,50 @@ func (x *OwnerReference) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3713 := z.EncBinary() - _ = yym3713 + yym3777 := z.EncBinary() + _ = yym3777 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.UID)) } } - if yyr3701 || yy2arr3701 { + if yyr3765 || yy2arr3765 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3701[4] { + if yyq3765[4] { if x.Controller == nil { r.EncodeNil() } else { - yy3715 := *x.Controller - yym3716 := z.EncBinary() - _ = yym3716 + yy3779 := *x.Controller + yym3780 := z.EncBinary() + _ = yym3780 if false { } else { - r.EncodeBool(bool(yy3715)) + r.EncodeBool(bool(yy3779)) } } } else { r.EncodeNil() } } else { - if yyq3701[4] { + if yyq3765[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("controller")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Controller == nil { r.EncodeNil() } else { - yy3717 := *x.Controller - yym3718 := z.EncBinary() - _ = yym3718 + yy3781 := *x.Controller + yym3782 := z.EncBinary() + _ = yym3782 if false { } else { - r.EncodeBool(bool(yy3717)) + r.EncodeBool(bool(yy3781)) } } } } - if yyr3701 || yy2arr3701 { + if yyr3765 || yy2arr3765 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -46840,25 +47528,25 @@ func (x *OwnerReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3719 := z.DecBinary() - _ = yym3719 + yym3783 := z.DecBinary() + _ = yym3783 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3720 := r.ContainerType() - if yyct3720 == codecSelferValueTypeMap1234 { - yyl3720 := r.ReadMapStart() - if yyl3720 == 0 { + yyct3784 := r.ContainerType() + if yyct3784 == codecSelferValueTypeMap1234 { + yyl3784 := r.ReadMapStart() + if yyl3784 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3720, d) + x.codecDecodeSelfFromMap(yyl3784, d) } - } else if yyct3720 == codecSelferValueTypeArray1234 { - yyl3720 := r.ReadArrayStart() - if yyl3720 == 0 { + } else if yyct3784 == codecSelferValueTypeArray1234 { + yyl3784 := r.ReadArrayStart() + if yyl3784 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3720, d) + x.codecDecodeSelfFromArray(yyl3784, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -46870,12 +47558,12 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3721Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3721Slc - var yyhl3721 bool = l >= 0 - for yyj3721 := 0; ; yyj3721++ { - if yyhl3721 { - if yyj3721 >= l { + var yys3785Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3785Slc + var yyhl3785 bool = l >= 0 + for yyj3785 := 0; ; yyj3785++ { + if yyhl3785 { + if yyj3785 >= l { break } } else { @@ -46884,10 +47572,10 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3721Slc = r.DecodeBytes(yys3721Slc, true, true) - yys3721 := string(yys3721Slc) + yys3785Slc = r.DecodeBytes(yys3785Slc, true, true) + yys3785 := string(yys3785Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3721 { + switch yys3785 { case "apiVersion": if r.TryDecodeAsNil() { x.APIVersion = "" @@ -46921,17 +47609,17 @@ func (x *OwnerReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3727 := z.DecBinary() - _ = yym3727 + yym3791 := z.DecBinary() + _ = yym3791 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys3721) - } // end switch yys3721 - } // end for yyj3721 + z.DecStructFieldNotFound(-1, yys3785) + } // end switch yys3785 + } // end for yyj3785 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -46939,16 +47627,16 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3728 int - var yyb3728 bool - var yyhl3728 bool = l >= 0 - yyj3728++ - if yyhl3728 { - yyb3728 = yyj3728 > l + var yyj3792 int + var yyb3792 bool + var yyhl3792 bool = l >= 0 + yyj3792++ + if yyhl3792 { + yyb3792 = yyj3792 > l } else { - yyb3728 = r.CheckBreak() + yyb3792 = r.CheckBreak() } - if yyb3728 { + if yyb3792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46958,13 +47646,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3728++ - if yyhl3728 { - yyb3728 = yyj3728 > l + yyj3792++ + if yyhl3792 { + yyb3792 = yyj3792 > l } else { - yyb3728 = r.CheckBreak() + yyb3792 = r.CheckBreak() } - if yyb3728 { + if yyb3792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46974,13 +47662,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3728++ - if yyhl3728 { - yyb3728 = yyj3728 > l + yyj3792++ + if yyhl3792 { + yyb3792 = yyj3792 > l } else { - yyb3728 = r.CheckBreak() + yyb3792 = r.CheckBreak() } - if yyb3728 { + if yyb3792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -46990,13 +47678,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Name = string(r.DecodeString()) } - yyj3728++ - if yyhl3728 { - yyb3728 = yyj3728 > l + yyj3792++ + if yyhl3792 { + yyb3792 = yyj3792 > l } else { - yyb3728 = r.CheckBreak() + yyb3792 = r.CheckBreak() } - if yyb3728 { + if yyb3792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47006,13 +47694,13 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3728++ - if yyhl3728 { - yyb3728 = yyj3728 > l + yyj3792++ + if yyhl3792 { + yyb3792 = yyj3792 > l } else { - yyb3728 = r.CheckBreak() + yyb3792 = r.CheckBreak() } - if yyb3728 { + if yyb3792 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47025,25 +47713,25 @@ func (x *OwnerReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Controller == nil { x.Controller = new(bool) } - yym3734 := z.DecBinary() - _ = yym3734 + yym3798 := z.DecBinary() + _ = yym3798 if false { } else { *((*bool)(x.Controller)) = r.DecodeBool() } } for { - yyj3728++ - if yyhl3728 { - yyb3728 = yyj3728 > l + yyj3792++ + if yyhl3792 { + yyb3792 = yyj3792 > l } else { - yyb3728 = r.CheckBreak() + yyb3792 = r.CheckBreak() } - if yyb3728 { + if yyb3792 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3728-1, "") + z.DecStructFieldNotFound(yyj3792-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47055,41 +47743,41 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3735 := z.EncBinary() - _ = yym3735 + yym3799 := z.EncBinary() + _ = yym3799 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3736 := !z.EncBinary() - yy2arr3736 := z.EncBasicHandle().StructToArray - var yyq3736 [7]bool - _, _, _ = yysep3736, yyq3736, yy2arr3736 - const yyr3736 bool = false - yyq3736[0] = x.Kind != "" - yyq3736[1] = x.Namespace != "" - yyq3736[2] = x.Name != "" - yyq3736[3] = x.UID != "" - yyq3736[4] = x.APIVersion != "" - yyq3736[5] = x.ResourceVersion != "" - yyq3736[6] = x.FieldPath != "" - var yynn3736 int - if yyr3736 || yy2arr3736 { + 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 { r.EncodeArrayStart(7) } else { - yynn3736 = 0 - for _, b := range yyq3736 { + yynn3800 = 0 + for _, b := range yyq3800 { if b { - yynn3736++ + yynn3800++ } } - r.EncodeMapStart(yynn3736) - yynn3736 = 0 + r.EncodeMapStart(yynn3800) + yynn3800 = 0 } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[0] { - yym3738 := z.EncBinary() - _ = yym3738 + if yyq3800[0] { + yym3802 := z.EncBinary() + _ = yym3802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47098,23 +47786,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[0] { + if yyq3800[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3739 := z.EncBinary() - _ = yym3739 + yym3803 := z.EncBinary() + _ = yym3803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[1] { - yym3741 := z.EncBinary() - _ = yym3741 + if yyq3800[1] { + yym3805 := z.EncBinary() + _ = yym3805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) @@ -47123,23 +47811,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[1] { + if yyq3800[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespace")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3742 := z.EncBinary() - _ = yym3742 + yym3806 := z.EncBinary() + _ = yym3806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Namespace)) } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[2] { - yym3744 := z.EncBinary() - _ = yym3744 + if yyq3800[2] { + yym3808 := z.EncBinary() + _ = yym3808 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -47148,23 +47836,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[2] { + if yyq3800[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3745 := z.EncBinary() - _ = yym3745 + yym3809 := z.EncBinary() + _ = yym3809 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[3] { - yym3747 := z.EncBinary() - _ = yym3747 + if yyq3800[3] { + yym3811 := z.EncBinary() + _ = yym3811 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47174,12 +47862,12 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[3] { + if yyq3800[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("uid")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3748 := z.EncBinary() - _ = yym3748 + yym3812 := z.EncBinary() + _ = yym3812 if false { } else if z.HasExtensions() && z.EncExt(x.UID) { } else { @@ -47187,11 +47875,11 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[4] { - yym3750 := z.EncBinary() - _ = yym3750 + if yyq3800[4] { + yym3814 := z.EncBinary() + _ = yym3814 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47200,23 +47888,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[4] { + if yyq3800[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3751 := z.EncBinary() - _ = yym3751 + yym3815 := z.EncBinary() + _ = yym3815 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[5] { - yym3753 := z.EncBinary() - _ = yym3753 + if yyq3800[5] { + yym3817 := z.EncBinary() + _ = yym3817 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) @@ -47225,23 +47913,23 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[5] { + if yyq3800[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3754 := z.EncBinary() - _ = yym3754 + yym3818 := z.EncBinary() + _ = yym3818 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3736[6] { - yym3756 := z.EncBinary() - _ = yym3756 + if yyq3800[6] { + yym3820 := z.EncBinary() + _ = yym3820 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) @@ -47250,19 +47938,19 @@ func (x *ObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3736[6] { + if yyq3800[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3757 := z.EncBinary() - _ = yym3757 + yym3821 := z.EncBinary() + _ = yym3821 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.FieldPath)) } } } - if yyr3736 || yy2arr3736 { + if yyr3800 || yy2arr3800 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47275,25 +47963,25 @@ func (x *ObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3758 := z.DecBinary() - _ = yym3758 + yym3822 := z.DecBinary() + _ = yym3822 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3759 := r.ContainerType() - if yyct3759 == codecSelferValueTypeMap1234 { - yyl3759 := r.ReadMapStart() - if yyl3759 == 0 { + yyct3823 := r.ContainerType() + if yyct3823 == codecSelferValueTypeMap1234 { + yyl3823 := r.ReadMapStart() + if yyl3823 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3759, d) + x.codecDecodeSelfFromMap(yyl3823, d) } - } else if yyct3759 == codecSelferValueTypeArray1234 { - yyl3759 := r.ReadArrayStart() - if yyl3759 == 0 { + } else if yyct3823 == codecSelferValueTypeArray1234 { + yyl3823 := r.ReadArrayStart() + if yyl3823 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3759, d) + x.codecDecodeSelfFromArray(yyl3823, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47305,12 +47993,12 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3760Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3760Slc - var yyhl3760 bool = l >= 0 - for yyj3760 := 0; ; yyj3760++ { - if yyhl3760 { - if yyj3760 >= l { + var yys3824Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3824Slc + var yyhl3824 bool = l >= 0 + for yyj3824 := 0; ; yyj3824++ { + if yyhl3824 { + if yyj3824 >= l { break } } else { @@ -47319,10 +48007,10 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3760Slc = r.DecodeBytes(yys3760Slc, true, true) - yys3760 := string(yys3760Slc) + yys3824Slc = r.DecodeBytes(yys3824Slc, true, true) + yys3824 := string(yys3824Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3760 { + switch yys3824 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47366,9 +48054,9 @@ func (x *ObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.FieldPath = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3760) - } // end switch yys3760 - } // end for yyj3760 + z.DecStructFieldNotFound(-1, yys3824) + } // end switch yys3824 + } // end for yyj3824 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47376,16 +48064,16 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3768 int - var yyb3768 bool - var yyhl3768 bool = l >= 0 - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + var yyj3832 int + var yyb3832 bool + var yyhl3832 bool = l >= 0 + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47395,13 +48083,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47411,13 +48099,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Namespace = string(r.DecodeString()) } - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47427,13 +48115,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Name = string(r.DecodeString()) } - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47443,13 +48131,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.UID = pkg1_types.UID(r.DecodeString()) } - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47459,13 +48147,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47475,13 +48163,13 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ResourceVersion = string(r.DecodeString()) } - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47492,17 +48180,17 @@ func (x *ObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.FieldPath = string(r.DecodeString()) } for { - yyj3768++ - if yyhl3768 { - yyb3768 = yyj3768 > l + yyj3832++ + if yyhl3832 { + yyb3832 = yyj3832 > l } else { - yyb3768 = r.CheckBreak() + yyb3832 = r.CheckBreak() } - if yyb3768 { + if yyb3832 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3768-1, "") + z.DecStructFieldNotFound(yyj3832-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47514,35 +48202,35 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3776 := z.EncBinary() - _ = yym3776 + yym3840 := z.EncBinary() + _ = yym3840 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3777 := !z.EncBinary() - yy2arr3777 := z.EncBasicHandle().StructToArray - var yyq3777 [1]bool - _, _, _ = yysep3777, yyq3777, yy2arr3777 - const yyr3777 bool = false - yyq3777[0] = x.Name != "" - var yynn3777 int - if yyr3777 || yy2arr3777 { + 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 { r.EncodeArrayStart(1) } else { - yynn3777 = 0 - for _, b := range yyq3777 { + yynn3841 = 0 + for _, b := range yyq3841 { if b { - yynn3777++ + yynn3841++ } } - r.EncodeMapStart(yynn3777) - yynn3777 = 0 + r.EncodeMapStart(yynn3841) + yynn3841 = 0 } - if yyr3777 || yy2arr3777 { + if yyr3841 || yy2arr3841 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3777[0] { - yym3779 := z.EncBinary() - _ = yym3779 + if yyq3841[0] { + yym3843 := z.EncBinary() + _ = yym3843 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) @@ -47551,19 +48239,19 @@ func (x *LocalObjectReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3777[0] { + if yyq3841[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("name")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3780 := z.EncBinary() - _ = yym3780 + yym3844 := z.EncBinary() + _ = yym3844 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Name)) } } } - if yyr3777 || yy2arr3777 { + if yyr3841 || yy2arr3841 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47576,25 +48264,25 @@ func (x *LocalObjectReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3781 := z.DecBinary() - _ = yym3781 + yym3845 := z.DecBinary() + _ = yym3845 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3782 := r.ContainerType() - if yyct3782 == codecSelferValueTypeMap1234 { - yyl3782 := r.ReadMapStart() - if yyl3782 == 0 { + yyct3846 := r.ContainerType() + if yyct3846 == codecSelferValueTypeMap1234 { + yyl3846 := r.ReadMapStart() + if yyl3846 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3782, d) + x.codecDecodeSelfFromMap(yyl3846, d) } - } else if yyct3782 == codecSelferValueTypeArray1234 { - yyl3782 := r.ReadArrayStart() - if yyl3782 == 0 { + } else if yyct3846 == codecSelferValueTypeArray1234 { + yyl3846 := r.ReadArrayStart() + if yyl3846 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3782, d) + x.codecDecodeSelfFromArray(yyl3846, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47606,12 +48294,12 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3783Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3783Slc - var yyhl3783 bool = l >= 0 - for yyj3783 := 0; ; yyj3783++ { - if yyhl3783 { - if yyj3783 >= l { + var yys3847Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3847Slc + var yyhl3847 bool = l >= 0 + for yyj3847 := 0; ; yyj3847++ { + if yyhl3847 { + if yyj3847 >= l { break } } else { @@ -47620,10 +48308,10 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3783Slc = r.DecodeBytes(yys3783Slc, true, true) - yys3783 := string(yys3783Slc) + yys3847Slc = r.DecodeBytes(yys3847Slc, true, true) + yys3847 := string(yys3847Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3783 { + switch yys3847 { case "name": if r.TryDecodeAsNil() { x.Name = "" @@ -47631,9 +48319,9 @@ func (x *LocalObjectReference) codecDecodeSelfFromMap(l int, d *codec1978.Decode x.Name = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3783) - } // end switch yys3783 - } // end for yyj3783 + z.DecStructFieldNotFound(-1, yys3847) + } // end switch yys3847 + } // end for yyj3847 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47641,16 +48329,16 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3785 int - var yyb3785 bool - var yyhl3785 bool = l >= 0 - yyj3785++ - if yyhl3785 { - yyb3785 = yyj3785 > l + var yyj3849 int + var yyb3849 bool + var yyhl3849 bool = l >= 0 + yyj3849++ + if yyhl3849 { + yyb3849 = yyj3849 > l } else { - yyb3785 = r.CheckBreak() + yyb3849 = r.CheckBreak() } - if yyb3785 { + if yyb3849 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47661,17 +48349,17 @@ func (x *LocalObjectReference) codecDecodeSelfFromArray(l int, d *codec1978.Deco x.Name = string(r.DecodeString()) } for { - yyj3785++ - if yyhl3785 { - yyb3785 = yyj3785 > l + yyj3849++ + if yyhl3849 { + yyb3849 = yyj3849 > l } else { - yyb3785 = r.CheckBreak() + yyb3849 = r.CheckBreak() } - if yyb3785 { + if yyb3849 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3785-1, "") + z.DecStructFieldNotFound(yyj3849-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47683,37 +48371,37 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3787 := z.EncBinary() - _ = yym3787 + yym3851 := z.EncBinary() + _ = yym3851 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3788 := !z.EncBinary() - yy2arr3788 := z.EncBasicHandle().StructToArray - var yyq3788 [3]bool - _, _, _ = yysep3788, yyq3788, yy2arr3788 - const yyr3788 bool = false - yyq3788[0] = x.Kind != "" - yyq3788[1] = x.APIVersion != "" - yyq3788[2] = true - var yynn3788 int - if yyr3788 || yy2arr3788 { + 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 { r.EncodeArrayStart(3) } else { - yynn3788 = 0 - for _, b := range yyq3788 { + yynn3852 = 0 + for _, b := range yyq3852 { if b { - yynn3788++ + yynn3852++ } } - r.EncodeMapStart(yynn3788) - yynn3788 = 0 + r.EncodeMapStart(yynn3852) + yynn3852 = 0 } - if yyr3788 || yy2arr3788 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3788[0] { - yym3790 := z.EncBinary() - _ = yym3790 + if yyq3852[0] { + yym3854 := z.EncBinary() + _ = yym3854 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -47722,23 +48410,23 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3788[0] { + if yyq3852[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3791 := z.EncBinary() - _ = yym3791 + yym3855 := z.EncBinary() + _ = yym3855 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3788 || yy2arr3788 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3788[1] { - yym3793 := z.EncBinary() - _ = yym3793 + if yyq3852[1] { + yym3857 := z.EncBinary() + _ = yym3857 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -47747,36 +48435,36 @@ func (x *SerializedReference) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3788[1] { + if yyq3852[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3794 := z.EncBinary() - _ = yym3794 + yym3858 := z.EncBinary() + _ = yym3858 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3788 || yy2arr3788 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3788[2] { - yy3796 := &x.Reference - yy3796.CodecEncodeSelf(e) + if yyq3852[2] { + yy3860 := &x.Reference + yy3860.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3788[2] { + if yyq3852[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reference")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3797 := &x.Reference - yy3797.CodecEncodeSelf(e) + yy3861 := &x.Reference + yy3861.CodecEncodeSelf(e) } } - if yyr3788 || yy2arr3788 { + if yyr3852 || yy2arr3852 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -47789,25 +48477,25 @@ func (x *SerializedReference) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3798 := z.DecBinary() - _ = yym3798 + yym3862 := z.DecBinary() + _ = yym3862 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3799 := r.ContainerType() - if yyct3799 == codecSelferValueTypeMap1234 { - yyl3799 := r.ReadMapStart() - if yyl3799 == 0 { + yyct3863 := r.ContainerType() + if yyct3863 == codecSelferValueTypeMap1234 { + yyl3863 := r.ReadMapStart() + if yyl3863 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3799, d) + x.codecDecodeSelfFromMap(yyl3863, d) } - } else if yyct3799 == codecSelferValueTypeArray1234 { - yyl3799 := r.ReadArrayStart() - if yyl3799 == 0 { + } else if yyct3863 == codecSelferValueTypeArray1234 { + yyl3863 := r.ReadArrayStart() + if yyl3863 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3799, d) + x.codecDecodeSelfFromArray(yyl3863, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -47819,12 +48507,12 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3800Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3800Slc - var yyhl3800 bool = l >= 0 - for yyj3800 := 0; ; yyj3800++ { - if yyhl3800 { - if yyj3800 >= l { + var yys3864Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3864Slc + var yyhl3864 bool = l >= 0 + for yyj3864 := 0; ; yyj3864++ { + if yyhl3864 { + if yyj3864 >= l { break } } else { @@ -47833,10 +48521,10 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3800Slc = r.DecodeBytes(yys3800Slc, true, true) - yys3800 := string(yys3800Slc) + yys3864Slc = r.DecodeBytes(yys3864Slc, true, true) + yys3864 := string(yys3864Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3800 { + switch yys3864 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -47853,13 +48541,13 @@ func (x *SerializedReference) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3803 := &x.Reference - yyv3803.CodecDecodeSelf(d) + yyv3867 := &x.Reference + yyv3867.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3800) - } // end switch yys3800 - } // end for yyj3800 + z.DecStructFieldNotFound(-1, yys3864) + } // end switch yys3864 + } // end for yyj3864 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -47867,16 +48555,16 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3804 int - var yyb3804 bool - var yyhl3804 bool = l >= 0 - yyj3804++ - if yyhl3804 { - yyb3804 = yyj3804 > l + var yyj3868 int + var yyb3868 bool + var yyhl3868 bool = l >= 0 + yyj3868++ + if yyhl3868 { + yyb3868 = yyj3868 > l } else { - yyb3804 = r.CheckBreak() + yyb3868 = r.CheckBreak() } - if yyb3804 { + if yyb3868 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47886,13 +48574,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj3804++ - if yyhl3804 { - yyb3804 = yyj3804 > l + yyj3868++ + if yyhl3868 { + yyb3868 = yyj3868 > l } else { - yyb3804 = r.CheckBreak() + yyb3868 = r.CheckBreak() } - if yyb3804 { + if yyb3868 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47902,13 +48590,13 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj3804++ - if yyhl3804 { - yyb3804 = yyj3804 > l + yyj3868++ + if yyhl3868 { + yyb3868 = yyj3868 > l } else { - yyb3804 = r.CheckBreak() + yyb3868 = r.CheckBreak() } - if yyb3804 { + if yyb3868 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -47916,21 +48604,21 @@ func (x *SerializedReference) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Reference = ObjectReference{} } else { - yyv3807 := &x.Reference - yyv3807.CodecDecodeSelf(d) + yyv3871 := &x.Reference + yyv3871.CodecDecodeSelf(d) } for { - yyj3804++ - if yyhl3804 { - yyb3804 = yyj3804 > l + yyj3868++ + if yyhl3868 { + yyb3868 = yyj3868 > l } else { - yyb3804 = r.CheckBreak() + yyb3868 = r.CheckBreak() } - if yyb3804 { + if yyb3868 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3804-1, "") + z.DecStructFieldNotFound(yyj3868-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -47942,36 +48630,36 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3808 := z.EncBinary() - _ = yym3808 + yym3872 := z.EncBinary() + _ = yym3872 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3809 := !z.EncBinary() - yy2arr3809 := z.EncBasicHandle().StructToArray - var yyq3809 [2]bool - _, _, _ = yysep3809, yyq3809, yy2arr3809 - const yyr3809 bool = false - yyq3809[0] = x.Component != "" - yyq3809[1] = x.Host != "" - var yynn3809 int - if yyr3809 || yy2arr3809 { + 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 { r.EncodeArrayStart(2) } else { - yynn3809 = 0 - for _, b := range yyq3809 { + yynn3873 = 0 + for _, b := range yyq3873 { if b { - yynn3809++ + yynn3873++ } } - r.EncodeMapStart(yynn3809) - yynn3809 = 0 + r.EncodeMapStart(yynn3873) + yynn3873 = 0 } - if yyr3809 || yy2arr3809 { + if yyr3873 || yy2arr3873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3809[0] { - yym3811 := z.EncBinary() - _ = yym3811 + if yyq3873[0] { + yym3875 := z.EncBinary() + _ = yym3875 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) @@ -47980,23 +48668,23 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3809[0] { + if yyq3873[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("component")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3812 := z.EncBinary() - _ = yym3812 + yym3876 := z.EncBinary() + _ = yym3876 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Component)) } } } - if yyr3809 || yy2arr3809 { + if yyr3873 || yy2arr3873 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3809[1] { - yym3814 := z.EncBinary() - _ = yym3814 + if yyq3873[1] { + yym3878 := z.EncBinary() + _ = yym3878 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -48005,19 +48693,19 @@ func (x *EventSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3809[1] { + if yyq3873[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3815 := z.EncBinary() - _ = yym3815 + yym3879 := z.EncBinary() + _ = yym3879 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - if yyr3809 || yy2arr3809 { + if yyr3873 || yy2arr3873 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48030,25 +48718,25 @@ func (x *EventSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3816 := z.DecBinary() - _ = yym3816 + yym3880 := z.DecBinary() + _ = yym3880 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3817 := r.ContainerType() - if yyct3817 == codecSelferValueTypeMap1234 { - yyl3817 := r.ReadMapStart() - if yyl3817 == 0 { + yyct3881 := r.ContainerType() + if yyct3881 == codecSelferValueTypeMap1234 { + yyl3881 := r.ReadMapStart() + if yyl3881 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3817, d) + x.codecDecodeSelfFromMap(yyl3881, d) } - } else if yyct3817 == codecSelferValueTypeArray1234 { - yyl3817 := r.ReadArrayStart() - if yyl3817 == 0 { + } else if yyct3881 == codecSelferValueTypeArray1234 { + yyl3881 := r.ReadArrayStart() + if yyl3881 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3817, d) + x.codecDecodeSelfFromArray(yyl3881, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48060,12 +48748,12 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3818Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3818Slc - var yyhl3818 bool = l >= 0 - for yyj3818 := 0; ; yyj3818++ { - if yyhl3818 { - if yyj3818 >= l { + var yys3882Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3882Slc + var yyhl3882 bool = l >= 0 + for yyj3882 := 0; ; yyj3882++ { + if yyhl3882 { + if yyj3882 >= l { break } } else { @@ -48074,10 +48762,10 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3818Slc = r.DecodeBytes(yys3818Slc, true, true) - yys3818 := string(yys3818Slc) + yys3882Slc = r.DecodeBytes(yys3882Slc, true, true) + yys3882 := string(yys3882Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3818 { + switch yys3882 { case "component": if r.TryDecodeAsNil() { x.Component = "" @@ -48091,9 +48779,9 @@ func (x *EventSource) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3818) - } // end switch yys3818 - } // end for yyj3818 + z.DecStructFieldNotFound(-1, yys3882) + } // end switch yys3882 + } // end for yyj3882 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48101,16 +48789,16 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj3885 int + var yyb3885 bool + var yyhl3885 bool = l >= 0 + yyj3885++ + if yyhl3885 { + yyb3885 = yyj3885 > l } else { - yyb3821 = r.CheckBreak() + yyb3885 = r.CheckBreak() } - if yyb3821 { + if yyb3885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48120,13 +48808,13 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Component = string(r.DecodeString()) } - yyj3821++ - if yyhl3821 { - yyb3821 = yyj3821 > l + yyj3885++ + if yyhl3885 { + yyb3885 = yyj3885 > l } else { - yyb3821 = r.CheckBreak() + yyb3885 = r.CheckBreak() } - if yyb3821 { + if yyb3885 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48137,17 +48825,17 @@ func (x *EventSource) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Host = string(r.DecodeString()) } for { - yyj3821++ - if yyhl3821 { - yyb3821 = yyj3821 > l + yyj3885++ + if yyhl3885 { + yyb3885 = yyj3885 > l } else { - yyb3821 = r.CheckBreak() + yyb3885 = r.CheckBreak() } - if yyb3821 { + if yyb3885 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3821-1, "") + z.DecStructFieldNotFound(yyj3885-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48159,43 +48847,43 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3824 := z.EncBinary() - _ = yym3824 + yym3888 := z.EncBinary() + _ = yym3888 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3825 := !z.EncBinary() - yy2arr3825 := z.EncBasicHandle().StructToArray - var yyq3825 [11]bool - _, _, _ = yysep3825, yyq3825, yy2arr3825 - const yyr3825 bool = false - yyq3825[0] = x.Kind != "" - yyq3825[1] = x.APIVersion != "" - yyq3825[4] = x.Reason != "" - yyq3825[5] = x.Message != "" - yyq3825[6] = true - yyq3825[7] = true - yyq3825[8] = true - yyq3825[9] = x.Count != 0 - yyq3825[10] = x.Type != "" - var yynn3825 int - if yyr3825 || yy2arr3825 { + 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 { r.EncodeArrayStart(11) } else { - yynn3825 = 2 - for _, b := range yyq3825 { + yynn3889 = 2 + for _, b := range yyq3889 { if b { - yynn3825++ + yynn3889++ } } - r.EncodeMapStart(yynn3825) - yynn3825 = 0 + r.EncodeMapStart(yynn3889) + yynn3889 = 0 } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[0] { - yym3827 := z.EncBinary() - _ = yym3827 + if yyq3889[0] { + yym3891 := z.EncBinary() + _ = yym3891 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48204,23 +48892,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3825[0] { + if yyq3889[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3828 := z.EncBinary() - _ = yym3828 + yym3892 := z.EncBinary() + _ = yym3892 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[1] { - yym3830 := z.EncBinary() - _ = yym3830 + if yyq3889[1] { + yym3894 := z.EncBinary() + _ = yym3894 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48229,45 +48917,45 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3825[1] { + if yyq3889[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3831 := z.EncBinary() - _ = yym3831 + yym3895 := z.EncBinary() + _ = yym3895 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3833 := &x.ObjectMeta - yy3833.CodecEncodeSelf(e) + yy3897 := &x.ObjectMeta + yy3897.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3834 := &x.ObjectMeta - yy3834.CodecEncodeSelf(e) + yy3898 := &x.ObjectMeta + yy3898.CodecEncodeSelf(e) } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy3836 := &x.InvolvedObject - yy3836.CodecEncodeSelf(e) + yy3900 := &x.InvolvedObject + yy3900.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("involvedObject")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3837 := &x.InvolvedObject - yy3837.CodecEncodeSelf(e) + yy3901 := &x.InvolvedObject + yy3901.CodecEncodeSelf(e) } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[4] { - yym3839 := z.EncBinary() - _ = yym3839 + if yyq3889[4] { + yym3903 := z.EncBinary() + _ = yym3903 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) @@ -48276,23 +48964,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3825[4] { + if yyq3889[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("reason")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3840 := z.EncBinary() - _ = yym3840 + yym3904 := z.EncBinary() + _ = yym3904 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[5] { - yym3842 := z.EncBinary() - _ = yym3842 + if yyq3889[5] { + yym3906 := z.EncBinary() + _ = yym3906 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -48301,114 +48989,114 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3825[5] { + if yyq3889[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3843 := z.EncBinary() - _ = yym3843 + yym3907 := z.EncBinary() + _ = yym3907 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[6] { - yy3845 := &x.Source - yy3845.CodecEncodeSelf(e) + if yyq3889[6] { + yy3909 := &x.Source + yy3909.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3825[6] { + if yyq3889[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("source")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3846 := &x.Source - yy3846.CodecEncodeSelf(e) + yy3910 := &x.Source + yy3910.CodecEncodeSelf(e) } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[7] { - yy3848 := &x.FirstTimestamp - yym3849 := z.EncBinary() - _ = yym3849 + if yyq3889[7] { + yy3912 := &x.FirstTimestamp + yym3913 := z.EncBinary() + _ = yym3913 if false { - } else if z.HasExtensions() && z.EncExt(yy3848) { - } else if yym3849 { - z.EncBinaryMarshal(yy3848) - } else if !yym3849 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3848) + } else if z.HasExtensions() && z.EncExt(yy3912) { + } else if yym3913 { + z.EncBinaryMarshal(yy3912) + } else if !yym3913 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3912) } else { - z.EncFallback(yy3848) + z.EncFallback(yy3912) } } else { r.EncodeNil() } } else { - if yyq3825[7] { + if yyq3889[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("firstTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3850 := &x.FirstTimestamp - yym3851 := z.EncBinary() - _ = yym3851 + yy3914 := &x.FirstTimestamp + yym3915 := z.EncBinary() + _ = yym3915 if false { - } else if z.HasExtensions() && z.EncExt(yy3850) { - } else if yym3851 { - z.EncBinaryMarshal(yy3850) - } else if !yym3851 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3850) + } else if z.HasExtensions() && z.EncExt(yy3914) { + } else if yym3915 { + z.EncBinaryMarshal(yy3914) + } else if !yym3915 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3914) } else { - z.EncFallback(yy3850) + z.EncFallback(yy3914) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[8] { - yy3853 := &x.LastTimestamp - yym3854 := z.EncBinary() - _ = yym3854 + if yyq3889[8] { + yy3917 := &x.LastTimestamp + yym3918 := z.EncBinary() + _ = yym3918 if false { - } else if z.HasExtensions() && z.EncExt(yy3853) { - } else if yym3854 { - z.EncBinaryMarshal(yy3853) - } else if !yym3854 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3853) + } else if z.HasExtensions() && z.EncExt(yy3917) { + } else if yym3918 { + z.EncBinaryMarshal(yy3917) + } else if !yym3918 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3917) } else { - z.EncFallback(yy3853) + z.EncFallback(yy3917) } } else { r.EncodeNil() } } else { - if yyq3825[8] { + if yyq3889[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lastTimestamp")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3855 := &x.LastTimestamp - yym3856 := z.EncBinary() - _ = yym3856 + yy3919 := &x.LastTimestamp + yym3920 := z.EncBinary() + _ = yym3920 if false { - } else if z.HasExtensions() && z.EncExt(yy3855) { - } else if yym3856 { - z.EncBinaryMarshal(yy3855) - } else if !yym3856 && z.IsJSONHandle() { - z.EncJSONMarshal(yy3855) + } else if z.HasExtensions() && z.EncExt(yy3919) { + } else if yym3920 { + z.EncBinaryMarshal(yy3919) + } else if !yym3920 && z.IsJSONHandle() { + z.EncJSONMarshal(yy3919) } else { - z.EncFallback(yy3855) + z.EncFallback(yy3919) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[9] { - yym3858 := z.EncBinary() - _ = yym3858 + if yyq3889[9] { + yym3922 := z.EncBinary() + _ = yym3922 if false { } else { r.EncodeInt(int64(x.Count)) @@ -48417,23 +49105,23 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq3825[9] { + if yyq3889[9] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("count")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3859 := z.EncBinary() - _ = yym3859 + yym3923 := z.EncBinary() + _ = yym3923 if false { } else { r.EncodeInt(int64(x.Count)) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3825[10] { - yym3861 := z.EncBinary() - _ = yym3861 + if yyq3889[10] { + yym3925 := z.EncBinary() + _ = yym3925 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -48442,19 +49130,19 @@ func (x *Event) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3825[10] { + if yyq3889[10] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3862 := z.EncBinary() - _ = yym3862 + yym3926 := z.EncBinary() + _ = yym3926 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr3825 || yy2arr3825 { + if yyr3889 || yy2arr3889 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48467,25 +49155,25 @@ func (x *Event) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3863 := z.DecBinary() - _ = yym3863 + yym3927 := z.DecBinary() + _ = yym3927 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3864 := r.ContainerType() - if yyct3864 == codecSelferValueTypeMap1234 { - yyl3864 := r.ReadMapStart() - if yyl3864 == 0 { + yyct3928 := r.ContainerType() + if yyct3928 == codecSelferValueTypeMap1234 { + yyl3928 := r.ReadMapStart() + if yyl3928 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3864, d) + x.codecDecodeSelfFromMap(yyl3928, d) } - } else if yyct3864 == codecSelferValueTypeArray1234 { - yyl3864 := r.ReadArrayStart() - if yyl3864 == 0 { + } else if yyct3928 == codecSelferValueTypeArray1234 { + yyl3928 := r.ReadArrayStart() + if yyl3928 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3864, d) + x.codecDecodeSelfFromArray(yyl3928, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -48497,12 +49185,12 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3865Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3865Slc - var yyhl3865 bool = l >= 0 - for yyj3865 := 0; ; yyj3865++ { - if yyhl3865 { - if yyj3865 >= l { + var yys3929Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3929Slc + var yyhl3929 bool = l >= 0 + for yyj3929 := 0; ; yyj3929++ { + if yyhl3929 { + if yyj3929 >= l { break } } else { @@ -48511,10 +49199,10 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3865Slc = r.DecodeBytes(yys3865Slc, true, true) - yys3865 := string(yys3865Slc) + yys3929Slc = r.DecodeBytes(yys3929Slc, true, true) + yys3929 := string(yys3929Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3865 { + switch yys3929 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -48531,15 +49219,15 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3868 := &x.ObjectMeta - yyv3868.CodecDecodeSelf(d) + yyv3932 := &x.ObjectMeta + yyv3932.CodecDecodeSelf(d) } case "involvedObject": if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3869 := &x.InvolvedObject - yyv3869.CodecDecodeSelf(d) + yyv3933 := &x.InvolvedObject + yyv3933.CodecDecodeSelf(d) } case "reason": if r.TryDecodeAsNil() { @@ -48557,41 +49245,41 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3872 := &x.Source - yyv3872.CodecDecodeSelf(d) + yyv3936 := &x.Source + yyv3936.CodecDecodeSelf(d) } case "firstTimestamp": if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3873 := &x.FirstTimestamp - yym3874 := z.DecBinary() - _ = yym3874 + yyv3937 := &x.FirstTimestamp + yym3938 := z.DecBinary() + _ = yym3938 if false { - } else if z.HasExtensions() && z.DecExt(yyv3873) { - } else if yym3874 { - z.DecBinaryUnmarshal(yyv3873) - } else if !yym3874 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3873) + } else if z.HasExtensions() && z.DecExt(yyv3937) { + } else if yym3938 { + z.DecBinaryUnmarshal(yyv3937) + } else if !yym3938 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3937) } else { - z.DecFallback(yyv3873, false) + z.DecFallback(yyv3937, false) } } case "lastTimestamp": if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3875 := &x.LastTimestamp - yym3876 := z.DecBinary() - _ = yym3876 + yyv3939 := &x.LastTimestamp + yym3940 := z.DecBinary() + _ = yym3940 if false { - } else if z.HasExtensions() && z.DecExt(yyv3875) { - } else if yym3876 { - z.DecBinaryUnmarshal(yyv3875) - } else if !yym3876 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3875) + } else if z.HasExtensions() && z.DecExt(yyv3939) { + } else if yym3940 { + z.DecBinaryUnmarshal(yyv3939) + } else if !yym3940 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3939) } else { - z.DecFallback(yyv3875, false) + z.DecFallback(yyv3939, false) } } case "count": @@ -48607,9 +49295,9 @@ func (x *Event) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys3865) - } // end switch yys3865 - } // end for yyj3865 + z.DecStructFieldNotFound(-1, yys3929) + } // end switch yys3929 + } // end for yyj3929 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -48617,16 +49305,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3879 int - var yyb3879 bool - var yyhl3879 bool = l >= 0 - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + var yyj3943 int + var yyb3943 bool + var yyhl3943 bool = l >= 0 + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48636,13 +49324,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48652,13 +49340,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48666,16 +49354,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv3882 := &x.ObjectMeta - yyv3882.CodecDecodeSelf(d) + yyv3946 := &x.ObjectMeta + yyv3946.CodecDecodeSelf(d) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48683,16 +49371,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.InvolvedObject = ObjectReference{} } else { - yyv3883 := &x.InvolvedObject - yyv3883.CodecDecodeSelf(d) + yyv3947 := &x.InvolvedObject + yyv3947.CodecDecodeSelf(d) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48702,13 +49390,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48718,13 +49406,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Message = string(r.DecodeString()) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48732,16 +49420,16 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Source = EventSource{} } else { - yyv3886 := &x.Source - yyv3886.CodecDecodeSelf(d) + yyv3950 := &x.Source + yyv3950.CodecDecodeSelf(d) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48749,26 +49437,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.FirstTimestamp = pkg2_unversioned.Time{} } else { - yyv3887 := &x.FirstTimestamp - yym3888 := z.DecBinary() - _ = yym3888 + yyv3951 := &x.FirstTimestamp + yym3952 := z.DecBinary() + _ = yym3952 if false { - } else if z.HasExtensions() && z.DecExt(yyv3887) { - } else if yym3888 { - z.DecBinaryUnmarshal(yyv3887) - } else if !yym3888 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3887) + } else if z.HasExtensions() && z.DecExt(yyv3951) { + } else if yym3952 { + z.DecBinaryUnmarshal(yyv3951) + } else if !yym3952 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3951) } else { - z.DecFallback(yyv3887, false) + z.DecFallback(yyv3951, false) } } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48776,26 +49464,26 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTimestamp = pkg2_unversioned.Time{} } else { - yyv3889 := &x.LastTimestamp - yym3890 := z.DecBinary() - _ = yym3890 + yyv3953 := &x.LastTimestamp + yym3954 := z.DecBinary() + _ = yym3954 if false { - } else if z.HasExtensions() && z.DecExt(yyv3889) { - } else if yym3890 { - z.DecBinaryUnmarshal(yyv3889) - } else if !yym3890 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv3889) + } else if z.HasExtensions() && z.DecExt(yyv3953) { + } else if yym3954 { + z.DecBinaryUnmarshal(yyv3953) + } else if !yym3954 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv3953) } else { - z.DecFallback(yyv3889, false) + z.DecFallback(yyv3953, false) } } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48805,13 +49493,13 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Count = int32(r.DecodeInt(32)) } - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -48822,17 +49510,17 @@ func (x *Event) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Type = string(r.DecodeString()) } for { - yyj3879++ - if yyhl3879 { - yyb3879 = yyj3879 > l + yyj3943++ + if yyhl3943 { + yyb3943 = yyj3943 > l } else { - yyb3879 = r.CheckBreak() + yyb3943 = r.CheckBreak() } - if yyb3879 { + if yyb3943 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3879-1, "") + z.DecStructFieldNotFound(yyj3943-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -48844,37 +49532,37 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3893 := z.EncBinary() - _ = yym3893 + yym3957 := z.EncBinary() + _ = yym3957 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3894 := !z.EncBinary() - yy2arr3894 := z.EncBasicHandle().StructToArray - var yyq3894 [4]bool - _, _, _ = yysep3894, yyq3894, yy2arr3894 - const yyr3894 bool = false - yyq3894[0] = x.Kind != "" - yyq3894[1] = x.APIVersion != "" - yyq3894[2] = true - var yynn3894 int - if yyr3894 || yy2arr3894 { + 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 { r.EncodeArrayStart(4) } else { - yynn3894 = 1 - for _, b := range yyq3894 { + yynn3958 = 1 + for _, b := range yyq3958 { if b { - yynn3894++ + yynn3958++ } } - r.EncodeMapStart(yynn3894) - yynn3894 = 0 + r.EncodeMapStart(yynn3958) + yynn3958 = 0 } - if yyr3894 || yy2arr3894 { + if yyr3958 || yy2arr3958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3894[0] { - yym3896 := z.EncBinary() - _ = yym3896 + if yyq3958[0] { + yym3960 := z.EncBinary() + _ = yym3960 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -48883,23 +49571,23 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3894[0] { + if yyq3958[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3897 := z.EncBinary() - _ = yym3897 + yym3961 := z.EncBinary() + _ = yym3961 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3894 || yy2arr3894 { + if yyr3958 || yy2arr3958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3894[1] { - yym3899 := z.EncBinary() - _ = yym3899 + if yyq3958[1] { + yym3963 := z.EncBinary() + _ = yym3963 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -48908,54 +49596,54 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3894[1] { + if yyq3958[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3900 := z.EncBinary() - _ = yym3900 + yym3964 := z.EncBinary() + _ = yym3964 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3894 || yy2arr3894 { + if yyr3958 || yy2arr3958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3894[2] { - yy3902 := &x.ListMeta - yym3903 := z.EncBinary() - _ = yym3903 + if yyq3958[2] { + yy3966 := &x.ListMeta + yym3967 := z.EncBinary() + _ = yym3967 if false { - } else if z.HasExtensions() && z.EncExt(yy3902) { + } else if z.HasExtensions() && z.EncExt(yy3966) { } else { - z.EncFallback(yy3902) + z.EncFallback(yy3966) } } else { r.EncodeNil() } } else { - if yyq3894[2] { + if yyq3958[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3904 := &x.ListMeta - yym3905 := z.EncBinary() - _ = yym3905 + yy3968 := &x.ListMeta + yym3969 := z.EncBinary() + _ = yym3969 if false { - } else if z.HasExtensions() && z.EncExt(yy3904) { + } else if z.HasExtensions() && z.EncExt(yy3968) { } else { - z.EncFallback(yy3904) + z.EncFallback(yy3968) } } } - if yyr3894 || yy2arr3894 { + if yyr3958 || yy2arr3958 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3907 := z.EncBinary() - _ = yym3907 + yym3971 := z.EncBinary() + _ = yym3971 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) @@ -48968,15 +49656,15 @@ func (x *EventList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3908 := z.EncBinary() - _ = yym3908 + yym3972 := z.EncBinary() + _ = yym3972 if false { } else { h.encSliceEvent(([]Event)(x.Items), e) } } } - if yyr3894 || yy2arr3894 { + if yyr3958 || yy2arr3958 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -48989,25 +49677,25 @@ func (x *EventList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3909 := z.DecBinary() - _ = yym3909 + yym3973 := z.DecBinary() + _ = yym3973 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3910 := r.ContainerType() - if yyct3910 == codecSelferValueTypeMap1234 { - yyl3910 := r.ReadMapStart() - if yyl3910 == 0 { + yyct3974 := r.ContainerType() + if yyct3974 == codecSelferValueTypeMap1234 { + yyl3974 := r.ReadMapStart() + if yyl3974 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3910, d) + x.codecDecodeSelfFromMap(yyl3974, d) } - } else if yyct3910 == codecSelferValueTypeArray1234 { - yyl3910 := r.ReadArrayStart() - if yyl3910 == 0 { + } else if yyct3974 == codecSelferValueTypeArray1234 { + yyl3974 := r.ReadArrayStart() + if yyl3974 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3910, d) + x.codecDecodeSelfFromArray(yyl3974, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49019,12 +49707,12 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3911Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3911Slc - var yyhl3911 bool = l >= 0 - for yyj3911 := 0; ; yyj3911++ { - if yyhl3911 { - if yyj3911 >= l { + var yys3975Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys3975Slc + var yyhl3975 bool = l >= 0 + for yyj3975 := 0; ; yyj3975++ { + if yyhl3975 { + if yyj3975 >= l { break } } else { @@ -49033,10 +49721,10 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3911Slc = r.DecodeBytes(yys3911Slc, true, true) - yys3911 := string(yys3911Slc) + yys3975Slc = r.DecodeBytes(yys3975Slc, true, true) + yys3975 := string(yys3975Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3911 { + switch yys3975 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49053,31 +49741,31 @@ func (x *EventList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3914 := &x.ListMeta - yym3915 := z.DecBinary() - _ = yym3915 + yyv3978 := &x.ListMeta + yym3979 := z.DecBinary() + _ = yym3979 if false { - } else if z.HasExtensions() && z.DecExt(yyv3914) { + } else if z.HasExtensions() && z.DecExt(yyv3978) { } else { - z.DecFallback(yyv3914, false) + z.DecFallback(yyv3978, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3916 := &x.Items - yym3917 := z.DecBinary() - _ = yym3917 + yyv3980 := &x.Items + yym3981 := z.DecBinary() + _ = yym3981 if false { } else { - h.decSliceEvent((*[]Event)(yyv3916), d) + h.decSliceEvent((*[]Event)(yyv3980), d) } } default: - z.DecStructFieldNotFound(-1, yys3911) - } // end switch yys3911 - } // end for yyj3911 + z.DecStructFieldNotFound(-1, yys3975) + } // end switch yys3975 + } // end for yyj3975 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49085,16 +49773,16 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3918 int - var yyb3918 bool - var yyhl3918 bool = l >= 0 - yyj3918++ - if yyhl3918 { - yyb3918 = yyj3918 > l + var yyj3982 int + var yyb3982 bool + var yyhl3982 bool = l >= 0 + yyj3982++ + if yyhl3982 { + yyb3982 = yyj3982 > l } else { - yyb3918 = r.CheckBreak() + yyb3982 = r.CheckBreak() } - if yyb3918 { + if yyb3982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49104,13 +49792,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3918++ - if yyhl3918 { - yyb3918 = yyj3918 > l + yyj3982++ + if yyhl3982 { + yyb3982 = yyj3982 > l } else { - yyb3918 = r.CheckBreak() + yyb3982 = r.CheckBreak() } - if yyb3918 { + if yyb3982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49120,13 +49808,13 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3918++ - if yyhl3918 { - yyb3918 = yyj3918 > l + yyj3982++ + if yyhl3982 { + yyb3982 = yyj3982 > l } else { - yyb3918 = r.CheckBreak() + yyb3982 = r.CheckBreak() } - if yyb3918 { + if yyb3982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49134,22 +49822,22 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3921 := &x.ListMeta - yym3922 := z.DecBinary() - _ = yym3922 + yyv3985 := &x.ListMeta + yym3986 := z.DecBinary() + _ = yym3986 if false { - } else if z.HasExtensions() && z.DecExt(yyv3921) { + } else if z.HasExtensions() && z.DecExt(yyv3985) { } else { - z.DecFallback(yyv3921, false) + z.DecFallback(yyv3985, false) } } - yyj3918++ - if yyhl3918 { - yyb3918 = yyj3918 > l + yyj3982++ + if yyhl3982 { + yyb3982 = yyj3982 > l } else { - yyb3918 = r.CheckBreak() + yyb3982 = r.CheckBreak() } - if yyb3918 { + if yyb3982 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49157,26 +49845,26 @@ func (x *EventList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3923 := &x.Items - yym3924 := z.DecBinary() - _ = yym3924 + yyv3987 := &x.Items + yym3988 := z.DecBinary() + _ = yym3988 if false { } else { - h.decSliceEvent((*[]Event)(yyv3923), d) + h.decSliceEvent((*[]Event)(yyv3987), d) } } for { - yyj3918++ - if yyhl3918 { - yyb3918 = yyj3918 > l + yyj3982++ + if yyhl3982 { + yyb3982 = yyj3982 > l } else { - yyb3918 = r.CheckBreak() + yyb3982 = r.CheckBreak() } - if yyb3918 { + if yyb3982 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3918-1, "") + z.DecStructFieldNotFound(yyj3982-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49188,37 +49876,37 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3925 := z.EncBinary() - _ = yym3925 + yym3989 := z.EncBinary() + _ = yym3989 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3926 := !z.EncBinary() - yy2arr3926 := z.EncBasicHandle().StructToArray - var yyq3926 [4]bool - _, _, _ = yysep3926, yyq3926, yy2arr3926 - const yyr3926 bool = false - yyq3926[0] = x.Kind != "" - yyq3926[1] = x.APIVersion != "" - yyq3926[2] = true - var yynn3926 int - if yyr3926 || yy2arr3926 { + 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 { r.EncodeArrayStart(4) } else { - yynn3926 = 1 - for _, b := range yyq3926 { + yynn3990 = 1 + for _, b := range yyq3990 { if b { - yynn3926++ + yynn3990++ } } - r.EncodeMapStart(yynn3926) - yynn3926 = 0 + r.EncodeMapStart(yynn3990) + yynn3990 = 0 } - if yyr3926 || yy2arr3926 { + if yyr3990 || yy2arr3990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3926[0] { - yym3928 := z.EncBinary() - _ = yym3928 + if yyq3990[0] { + yym3992 := z.EncBinary() + _ = yym3992 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -49227,23 +49915,23 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3926[0] { + if yyq3990[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3929 := z.EncBinary() - _ = yym3929 + yym3993 := z.EncBinary() + _ = yym3993 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3926 || yy2arr3926 { + if yyr3990 || yy2arr3990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3926[1] { - yym3931 := z.EncBinary() - _ = yym3931 + if yyq3990[1] { + yym3995 := z.EncBinary() + _ = yym3995 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -49252,54 +49940,54 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3926[1] { + if yyq3990[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym3932 := z.EncBinary() - _ = yym3932 + yym3996 := z.EncBinary() + _ = yym3996 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3926 || yy2arr3926 { + if yyr3990 || yy2arr3990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3926[2] { - yy3934 := &x.ListMeta - yym3935 := z.EncBinary() - _ = yym3935 + if yyq3990[2] { + yy3998 := &x.ListMeta + yym3999 := z.EncBinary() + _ = yym3999 if false { - } else if z.HasExtensions() && z.EncExt(yy3934) { + } else if z.HasExtensions() && z.EncExt(yy3998) { } else { - z.EncFallback(yy3934) + z.EncFallback(yy3998) } } else { r.EncodeNil() } } else { - if yyq3926[2] { + if yyq3990[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy3936 := &x.ListMeta - yym3937 := z.EncBinary() - _ = yym3937 + yy4000 := &x.ListMeta + yym4001 := z.EncBinary() + _ = yym4001 if false { - } else if z.HasExtensions() && z.EncExt(yy3936) { + } else if z.HasExtensions() && z.EncExt(yy4000) { } else { - z.EncFallback(yy3936) + z.EncFallback(yy4000) } } } - if yyr3926 || yy2arr3926 { + if yyr3990 || yy2arr3990 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym3939 := z.EncBinary() - _ = yym3939 + yym4003 := z.EncBinary() + _ = yym4003 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) @@ -49312,15 +50000,15 @@ func (x *List) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym3940 := z.EncBinary() - _ = yym3940 + yym4004 := z.EncBinary() + _ = yym4004 if false { } else { h.encSliceruntime_RawExtension(([]pkg5_runtime.RawExtension)(x.Items), e) } } } - if yyr3926 || yy2arr3926 { + if yyr3990 || yy2arr3990 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49333,25 +50021,25 @@ func (x *List) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3941 := z.DecBinary() - _ = yym3941 + yym4005 := z.DecBinary() + _ = yym4005 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3942 := r.ContainerType() - if yyct3942 == codecSelferValueTypeMap1234 { - yyl3942 := r.ReadMapStart() - if yyl3942 == 0 { + yyct4006 := r.ContainerType() + if yyct4006 == codecSelferValueTypeMap1234 { + yyl4006 := r.ReadMapStart() + if yyl4006 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3942, d) + x.codecDecodeSelfFromMap(yyl4006, d) } - } else if yyct3942 == codecSelferValueTypeArray1234 { - yyl3942 := r.ReadArrayStart() - if yyl3942 == 0 { + } else if yyct4006 == codecSelferValueTypeArray1234 { + yyl4006 := r.ReadArrayStart() + if yyl4006 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3942, d) + x.codecDecodeSelfFromArray(yyl4006, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49363,12 +50051,12 @@ func (x *List) 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 yys4007Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4007Slc + var yyhl4007 bool = l >= 0 + for yyj4007 := 0; ; yyj4007++ { + if yyhl4007 { + if yyj4007 >= l { break } } else { @@ -49377,10 +50065,10 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3943Slc = r.DecodeBytes(yys3943Slc, true, true) - yys3943 := string(yys3943Slc) + yys4007Slc = r.DecodeBytes(yys4007Slc, true, true) + yys4007 := string(yys4007Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3943 { + switch yys4007 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -49397,31 +50085,31 @@ func (x *List) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3946 := &x.ListMeta - yym3947 := z.DecBinary() - _ = yym3947 + yyv4010 := &x.ListMeta + yym4011 := z.DecBinary() + _ = yym4011 if false { - } else if z.HasExtensions() && z.DecExt(yyv3946) { + } else if z.HasExtensions() && z.DecExt(yyv4010) { } else { - z.DecFallback(yyv3946, false) + z.DecFallback(yyv4010, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3948 := &x.Items - yym3949 := z.DecBinary() - _ = yym3949 + yyv4012 := &x.Items + yym4013 := z.DecBinary() + _ = yym4013 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv3948), d) + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv4012), d) } } default: - z.DecStructFieldNotFound(-1, yys3943) - } // end switch yys3943 - } // end for yyj3943 + z.DecStructFieldNotFound(-1, yys4007) + } // end switch yys4007 + } // end for yyj4007 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49429,16 +50117,16 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3950 int - var yyb3950 bool - var yyhl3950 bool = l >= 0 - yyj3950++ - if yyhl3950 { - yyb3950 = yyj3950 > l + var yyj4014 int + var yyb4014 bool + var yyhl4014 bool = l >= 0 + yyj4014++ + if yyhl4014 { + yyb4014 = yyj4014 > l } else { - yyb3950 = r.CheckBreak() + yyb4014 = r.CheckBreak() } - if yyb3950 { + if yyb4014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49448,13 +50136,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj3950++ - if yyhl3950 { - yyb3950 = yyj3950 > l + yyj4014++ + if yyhl4014 { + yyb4014 = yyj4014 > l } else { - yyb3950 = r.CheckBreak() + yyb4014 = r.CheckBreak() } - if yyb3950 { + if yyb4014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49464,13 +50152,13 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj3950++ - if yyhl3950 { - yyb3950 = yyj3950 > l + yyj4014++ + if yyhl4014 { + yyb4014 = yyj4014 > l } else { - yyb3950 = r.CheckBreak() + yyb4014 = r.CheckBreak() } - if yyb3950 { + if yyb4014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49478,22 +50166,22 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv3953 := &x.ListMeta - yym3954 := z.DecBinary() - _ = yym3954 + yyv4017 := &x.ListMeta + yym4018 := z.DecBinary() + _ = yym4018 if false { - } else if z.HasExtensions() && z.DecExt(yyv3953) { + } else if z.HasExtensions() && z.DecExt(yyv4017) { } else { - z.DecFallback(yyv3953, false) + z.DecFallback(yyv4017, false) } } - yyj3950++ - if yyhl3950 { - yyb3950 = yyj3950 > l + yyj4014++ + if yyhl4014 { + yyb4014 = yyj4014 > l } else { - yyb3950 = r.CheckBreak() + yyb4014 = r.CheckBreak() } - if yyb3950 { + if yyb4014 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49501,26 +50189,26 @@ func (x *List) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv3955 := &x.Items - yym3956 := z.DecBinary() - _ = yym3956 + yyv4019 := &x.Items + yym4020 := z.DecBinary() + _ = yym4020 if false { } else { - h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv3955), d) + h.decSliceruntime_RawExtension((*[]pkg5_runtime.RawExtension)(yyv4019), d) } } for { - yyj3950++ - if yyhl3950 { - yyb3950 = yyj3950 > l + yyj4014++ + if yyhl4014 { + yyb4014 = yyj4014 > l } else { - yyb3950 = r.CheckBreak() + yyb4014 = r.CheckBreak() } - if yyb3950 { + if yyb4014 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3950-1, "") + z.DecStructFieldNotFound(yyj4014-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49529,8 +50217,8 @@ func (x LimitType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym3957 := z.EncBinary() - _ = yym3957 + yym4021 := z.EncBinary() + _ = yym4021 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -49542,8 +50230,8 @@ func (x *LimitType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3958 := z.DecBinary() - _ = yym3958 + yym4022 := z.DecBinary() + _ = yym4022 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -49558,53 +50246,53 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3959 := z.EncBinary() - _ = yym3959 + yym4023 := z.EncBinary() + _ = yym4023 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3960 := !z.EncBinary() - yy2arr3960 := z.EncBasicHandle().StructToArray - var yyq3960 [6]bool - _, _, _ = yysep3960, yyq3960, yy2arr3960 - const yyr3960 bool = false - yyq3960[0] = x.Type != "" - yyq3960[1] = len(x.Max) != 0 - yyq3960[2] = len(x.Min) != 0 - yyq3960[3] = len(x.Default) != 0 - yyq3960[4] = len(x.DefaultRequest) != 0 - yyq3960[5] = len(x.MaxLimitRequestRatio) != 0 - var yynn3960 int - if yyr3960 || yy2arr3960 { + 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 { r.EncodeArrayStart(6) } else { - yynn3960 = 0 - for _, b := range yyq3960 { + yynn4024 = 0 + for _, b := range yyq4024 { if b { - yynn3960++ + yynn4024++ } } - r.EncodeMapStart(yynn3960) - yynn3960 = 0 + r.EncodeMapStart(yynn4024) + yynn4024 = 0 } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[0] { + if yyq4024[0] { x.Type.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3960[0] { + if yyq4024[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[1] { + if yyq4024[1] { if x.Max == nil { r.EncodeNil() } else { @@ -49614,7 +50302,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3960[1] { + if yyq4024[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49625,9 +50313,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[2] { + if yyq4024[2] { if x.Min == nil { r.EncodeNil() } else { @@ -49637,7 +50325,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3960[2] { + if yyq4024[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49648,9 +50336,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[3] { + if yyq4024[3] { if x.Default == nil { r.EncodeNil() } else { @@ -49660,7 +50348,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3960[3] { + if yyq4024[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("default")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49671,9 +50359,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[4] { + if yyq4024[4] { if x.DefaultRequest == nil { r.EncodeNil() } else { @@ -49683,7 +50371,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3960[4] { + if yyq4024[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultRequest")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49694,9 +50382,9 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3960[5] { + if yyq4024[5] { if x.MaxLimitRequestRatio == nil { r.EncodeNil() } else { @@ -49706,7 +50394,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq3960[5] { + if yyq4024[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("maxLimitRequestRatio")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -49717,7 +50405,7 @@ func (x *LimitRangeItem) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr3960 || yy2arr3960 { + if yyr4024 || yy2arr4024 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -49730,25 +50418,25 @@ func (x *LimitRangeItem) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3967 := z.DecBinary() - _ = yym3967 + yym4031 := z.DecBinary() + _ = yym4031 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3968 := r.ContainerType() - if yyct3968 == codecSelferValueTypeMap1234 { - yyl3968 := r.ReadMapStart() - if yyl3968 == 0 { + yyct4032 := r.ContainerType() + if yyct4032 == codecSelferValueTypeMap1234 { + yyl4032 := r.ReadMapStart() + if yyl4032 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3968, d) + x.codecDecodeSelfFromMap(yyl4032, d) } - } else if yyct3968 == codecSelferValueTypeArray1234 { - yyl3968 := r.ReadArrayStart() - if yyl3968 == 0 { + } else if yyct4032 == codecSelferValueTypeArray1234 { + yyl4032 := r.ReadArrayStart() + if yyl4032 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3968, d) + x.codecDecodeSelfFromArray(yyl4032, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -49760,12 +50448,12 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys3969Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys3969Slc - var yyhl3969 bool = l >= 0 - for yyj3969 := 0; ; yyj3969++ { - if yyhl3969 { - if yyj3969 >= l { + var yys4033Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4033Slc + var yyhl4033 bool = l >= 0 + for yyj4033 := 0; ; yyj4033++ { + if yyhl4033 { + if yyj4033 >= l { break } } else { @@ -49774,10 +50462,10 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3969Slc = r.DecodeBytes(yys3969Slc, true, true) - yys3969 := string(yys3969Slc) + yys4033Slc = r.DecodeBytes(yys4033Slc, true, true) + yys4033 := string(yys4033Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3969 { + switch yys4033 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -49788,41 +50476,41 @@ func (x *LimitRangeItem) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv3971 := &x.Max - yyv3971.CodecDecodeSelf(d) + yyv4035 := &x.Max + yyv4035.CodecDecodeSelf(d) } case "min": if r.TryDecodeAsNil() { x.Min = nil } else { - yyv3972 := &x.Min - yyv3972.CodecDecodeSelf(d) + yyv4036 := &x.Min + yyv4036.CodecDecodeSelf(d) } case "default": if r.TryDecodeAsNil() { x.Default = nil } else { - yyv3973 := &x.Default - yyv3973.CodecDecodeSelf(d) + yyv4037 := &x.Default + yyv4037.CodecDecodeSelf(d) } case "defaultRequest": if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv3974 := &x.DefaultRequest - yyv3974.CodecDecodeSelf(d) + yyv4038 := &x.DefaultRequest + yyv4038.CodecDecodeSelf(d) } case "maxLimitRequestRatio": if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv3975 := &x.MaxLimitRequestRatio - yyv3975.CodecDecodeSelf(d) + yyv4039 := &x.MaxLimitRequestRatio + yyv4039.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys3969) - } // end switch yys3969 - } // end for yyj3969 + z.DecStructFieldNotFound(-1, yys4033) + } // end switch yys4033 + } // end for yyj4033 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -49830,16 +50518,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3976 int - var yyb3976 bool - var yyhl3976 bool = l >= 0 - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + var yyj4040 int + var yyb4040 bool + var yyhl4040 bool = l >= 0 + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49849,13 +50537,13 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = LimitType(r.DecodeString()) } - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49863,16 +50551,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Max = nil } else { - yyv3978 := &x.Max - yyv3978.CodecDecodeSelf(d) + yyv4042 := &x.Max + yyv4042.CodecDecodeSelf(d) } - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49880,16 +50568,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Min = nil } else { - yyv3979 := &x.Min - yyv3979.CodecDecodeSelf(d) + yyv4043 := &x.Min + yyv4043.CodecDecodeSelf(d) } - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49897,16 +50585,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Default = nil } else { - yyv3980 := &x.Default - yyv3980.CodecDecodeSelf(d) + yyv4044 := &x.Default + yyv4044.CodecDecodeSelf(d) } - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49914,16 +50602,16 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.DefaultRequest = nil } else { - yyv3981 := &x.DefaultRequest - yyv3981.CodecDecodeSelf(d) + yyv4045 := &x.DefaultRequest + yyv4045.CodecDecodeSelf(d) } - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -49931,21 +50619,21 @@ func (x *LimitRangeItem) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MaxLimitRequestRatio = nil } else { - yyv3982 := &x.MaxLimitRequestRatio - yyv3982.CodecDecodeSelf(d) + yyv4046 := &x.MaxLimitRequestRatio + yyv4046.CodecDecodeSelf(d) } for { - yyj3976++ - if yyhl3976 { - yyb3976 = yyj3976 > l + yyj4040++ + if yyhl4040 { + yyb4040 = yyj4040 > l } else { - yyb3976 = r.CheckBreak() + yyb4040 = r.CheckBreak() } - if yyb3976 { + if yyb4040 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3976-1, "") + z.DecStructFieldNotFound(yyj4040-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -49957,36 +50645,36 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3983 := z.EncBinary() - _ = yym3983 + yym4047 := z.EncBinary() + _ = yym4047 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3984 := !z.EncBinary() - yy2arr3984 := z.EncBasicHandle().StructToArray - var yyq3984 [1]bool - _, _, _ = yysep3984, yyq3984, yy2arr3984 - const yyr3984 bool = false - var yynn3984 int - if yyr3984 || yy2arr3984 { + yysep4048 := !z.EncBinary() + yy2arr4048 := z.EncBasicHandle().StructToArray + var yyq4048 [1]bool + _, _, _ = yysep4048, yyq4048, yy2arr4048 + const yyr4048 bool = false + var yynn4048 int + if yyr4048 || yy2arr4048 { r.EncodeArrayStart(1) } else { - yynn3984 = 1 - for _, b := range yyq3984 { + yynn4048 = 1 + for _, b := range yyq4048 { if b { - yynn3984++ + yynn4048++ } } - r.EncodeMapStart(yynn3984) - yynn3984 = 0 + r.EncodeMapStart(yynn4048) + yynn4048 = 0 } - if yyr3984 || yy2arr3984 { + if yyr4048 || yy2arr4048 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Limits == nil { r.EncodeNil() } else { - yym3986 := z.EncBinary() - _ = yym3986 + yym4050 := z.EncBinary() + _ = yym4050 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) @@ -49999,15 +50687,15 @@ func (x *LimitRangeSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x.Limits == nil { r.EncodeNil() } else { - yym3987 := z.EncBinary() - _ = yym3987 + yym4051 := z.EncBinary() + _ = yym4051 if false { } else { h.encSliceLimitRangeItem(([]LimitRangeItem)(x.Limits), e) } } } - if yyr3984 || yy2arr3984 { + if yyr4048 || yy2arr4048 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50020,25 +50708,25 @@ func (x *LimitRangeSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym3988 := z.DecBinary() - _ = yym3988 + yym4052 := z.DecBinary() + _ = yym4052 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct3989 := r.ContainerType() - if yyct3989 == codecSelferValueTypeMap1234 { - yyl3989 := r.ReadMapStart() - if yyl3989 == 0 { + yyct4053 := r.ContainerType() + if yyct4053 == codecSelferValueTypeMap1234 { + yyl4053 := r.ReadMapStart() + if yyl4053 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl3989, d) + x.codecDecodeSelfFromMap(yyl4053, d) } - } else if yyct3989 == codecSelferValueTypeArray1234 { - yyl3989 := r.ReadArrayStart() - if yyl3989 == 0 { + } else if yyct4053 == codecSelferValueTypeArray1234 { + yyl4053 := r.ReadArrayStart() + if yyl4053 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl3989, d) + x.codecDecodeSelfFromArray(yyl4053, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50050,12 +50738,12 @@ func (x *LimitRangeSpec) 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 yys4054Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4054Slc + var yyhl4054 bool = l >= 0 + for yyj4054 := 0; ; yyj4054++ { + if yyhl4054 { + if yyj4054 >= l { break } } else { @@ -50064,26 +50752,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys3990Slc = r.DecodeBytes(yys3990Slc, true, true) - yys3990 := string(yys3990Slc) + yys4054Slc = r.DecodeBytes(yys4054Slc, true, true) + yys4054 := string(yys4054Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys3990 { + switch yys4054 { case "limits": if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3991 := &x.Limits - yym3992 := z.DecBinary() - _ = yym3992 + yyv4055 := &x.Limits + yym4056 := z.DecBinary() + _ = yym4056 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3991), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4055), d) } } default: - z.DecStructFieldNotFound(-1, yys3990) - } // end switch yys3990 - } // end for yyj3990 + z.DecStructFieldNotFound(-1, yys4054) + } // end switch yys4054 + } // end for yyj4054 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -50091,16 +50779,16 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj3993 int - var yyb3993 bool - var yyhl3993 bool = l >= 0 - yyj3993++ - if yyhl3993 { - yyb3993 = yyj3993 > l + var yyj4057 int + var yyb4057 bool + var yyhl4057 bool = l >= 0 + yyj4057++ + if yyhl4057 { + yyb4057 = yyj4057 > l } else { - yyb3993 = r.CheckBreak() + yyb4057 = r.CheckBreak() } - if yyb3993 { + if yyb4057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -50108,26 +50796,26 @@ func (x *LimitRangeSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Limits = nil } else { - yyv3994 := &x.Limits - yym3995 := z.DecBinary() - _ = yym3995 + yyv4058 := &x.Limits + yym4059 := z.DecBinary() + _ = yym4059 if false { } else { - h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv3994), d) + h.decSliceLimitRangeItem((*[]LimitRangeItem)(yyv4058), d) } } for { - yyj3993++ - if yyhl3993 { - yyb3993 = yyj3993 > l + yyj4057++ + if yyhl4057 { + yyb4057 = yyj4057 > l } else { - yyb3993 = r.CheckBreak() + yyb4057 = r.CheckBreak() } - if yyb3993 { + if yyb4057 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj3993-1, "") + z.DecStructFieldNotFound(yyj4057-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -50139,38 +50827,38 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym3996 := z.EncBinary() - _ = yym3996 + yym4060 := z.EncBinary() + _ = yym4060 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep3997 := !z.EncBinary() - yy2arr3997 := z.EncBasicHandle().StructToArray - var yyq3997 [4]bool - _, _, _ = yysep3997, yyq3997, yy2arr3997 - const yyr3997 bool = false - yyq3997[0] = x.Kind != "" - yyq3997[1] = x.APIVersion != "" - yyq3997[2] = true - yyq3997[3] = true - var yynn3997 int - if yyr3997 || yy2arr3997 { + 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 { r.EncodeArrayStart(4) } else { - yynn3997 = 0 - for _, b := range yyq3997 { + yynn4061 = 0 + for _, b := range yyq4061 { if b { - yynn3997++ + yynn4061++ } } - r.EncodeMapStart(yynn3997) - yynn3997 = 0 + r.EncodeMapStart(yynn4061) + yynn4061 = 0 } - if yyr3997 || yy2arr3997 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3997[0] { - yym3999 := z.EncBinary() - _ = yym3999 + if yyq4061[0] { + yym4063 := z.EncBinary() + _ = yym4063 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -50179,23 +50867,23 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3997[0] { + if yyq4061[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4000 := z.EncBinary() - _ = yym4000 + yym4064 := z.EncBinary() + _ = yym4064 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr3997 || yy2arr3997 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3997[1] { - yym4002 := z.EncBinary() - _ = yym4002 + if yyq4061[1] { + yym4066 := z.EncBinary() + _ = yym4066 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -50204,53 +50892,53 @@ func (x *LimitRange) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq3997[1] { + if yyq4061[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4003 := z.EncBinary() - _ = yym4003 + yym4067 := z.EncBinary() + _ = yym4067 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr3997 || yy2arr3997 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3997[2] { - yy4005 := &x.ObjectMeta - yy4005.CodecEncodeSelf(e) + if yyq4061[2] { + yy4069 := &x.ObjectMeta + yy4069.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3997[2] { + if yyq4061[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4006 := &x.ObjectMeta - yy4006.CodecEncodeSelf(e) + yy4070 := &x.ObjectMeta + yy4070.CodecEncodeSelf(e) } } - if yyr3997 || yy2arr3997 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq3997[3] { - yy4008 := &x.Spec - yy4008.CodecEncodeSelf(e) + if yyq4061[3] { + yy4072 := &x.Spec + yy4072.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq3997[3] { + if yyq4061[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4009 := &x.Spec - yy4009.CodecEncodeSelf(e) + yy4073 := &x.Spec + yy4073.CodecEncodeSelf(e) } } - if yyr3997 || yy2arr3997 { + if yyr4061 || yy2arr4061 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -50263,25 +50951,25 @@ func (x *LimitRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4010 := z.DecBinary() - _ = yym4010 + yym4074 := z.DecBinary() + _ = yym4074 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4011 := r.ContainerType() - if yyct4011 == codecSelferValueTypeMap1234 { - yyl4011 := r.ReadMapStart() - if yyl4011 == 0 { + yyct4075 := r.ContainerType() + if yyct4075 == codecSelferValueTypeMap1234 { + yyl4075 := r.ReadMapStart() + if yyl4075 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4011, d) + x.codecDecodeSelfFromMap(yyl4075, d) } - } else if yyct4011 == codecSelferValueTypeArray1234 { - yyl4011 := r.ReadArrayStart() - if yyl4011 == 0 { + } else if yyct4075 == codecSelferValueTypeArray1234 { + yyl4075 := r.ReadArrayStart() + if yyl4075 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4011, d) + x.codecDecodeSelfFromArray(yyl4075, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -50293,12 +50981,12 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4012Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4012Slc - var yyhl4012 bool = l >= 0 - for yyj4012 := 0; ; yyj4012++ { - if yyhl4012 { - if yyj4012 >= l { + var yys4076Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4076Slc + var yyhl4076 bool = l >= 0 + for yyj4076 := 0; ; yyj4076++ { + if yyhl4076 { + if yyj4076 >= l { break } } else { @@ -50307,10 +50995,10 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4012Slc = r.DecodeBytes(yys4012Slc, true, true) - yys4012 := string(yys4012Slc) + yys4076Slc = r.DecodeBytes(yys4076Slc, true, true) + yys4076 := string(yys4076Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4012 { + switch yys4076 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -50327,880 +51015,24 @@ func (x *LimitRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4015 := &x.ObjectMeta - yyv4015.CodecDecodeSelf(d) + yyv4079 := &x.ObjectMeta + yyv4079.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = LimitRangeSpec{} } else { - yyv4016 := &x.Spec - yyv4016.CodecDecodeSelf(d) + yyv4080 := &x.Spec + yyv4080.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys4012) - } // end switch yys4012 - } // end for yyj4012 + z.DecStructFieldNotFound(-1, yys4076) + } // end switch yys4076 + } // end for yyj4076 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } func (x *LimitRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4017 int - var yyb4017 bool - var yyhl4017 bool = l >= 0 - yyj4017++ - if yyhl4017 { - yyb4017 = yyj4017 > l - } else { - yyb4017 = r.CheckBreak() - } - if yyb4017 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4017++ - if yyhl4017 { - yyb4017 = yyj4017 > l - } else { - yyb4017 = r.CheckBreak() - } - if yyb4017 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4017++ - if yyhl4017 { - yyb4017 = yyj4017 > l - } else { - yyb4017 = r.CheckBreak() - } - if yyb4017 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4020 := &x.ObjectMeta - yyv4020.CodecDecodeSelf(d) - } - yyj4017++ - if yyhl4017 { - yyb4017 = yyj4017 > l - } else { - yyb4017 = r.CheckBreak() - } - if yyb4017 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = LimitRangeSpec{} - } else { - yyv4021 := &x.Spec - yyv4021.CodecDecodeSelf(d) - } - for { - yyj4017++ - if yyhl4017 { - yyb4017 = yyj4017 > l - } else { - yyb4017 = r.CheckBreak() - } - if yyb4017 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4017-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4022 := z.EncBinary() - _ = yym4022 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4023 := !z.EncBinary() - yy2arr4023 := z.EncBasicHandle().StructToArray - var yyq4023 [4]bool - _, _, _ = yysep4023, yyq4023, yy2arr4023 - const yyr4023 bool = false - yyq4023[0] = x.Kind != "" - yyq4023[1] = x.APIVersion != "" - yyq4023[2] = true - var yynn4023 int - if yyr4023 || yy2arr4023 { - r.EncodeArrayStart(4) - } else { - yynn4023 = 1 - for _, b := range yyq4023 { - if b { - yynn4023++ - } - } - r.EncodeMapStart(yynn4023) - yynn4023 = 0 - } - if yyr4023 || yy2arr4023 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4023[0] { - yym4025 := z.EncBinary() - _ = yym4025 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4023[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4026 := z.EncBinary() - _ = yym4026 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4023 || yy2arr4023 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4023[1] { - yym4028 := z.EncBinary() - _ = yym4028 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4023[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4029 := z.EncBinary() - _ = yym4029 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr4023 || yy2arr4023 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4023[2] { - yy4031 := &x.ListMeta - yym4032 := z.EncBinary() - _ = yym4032 - if false { - } else if z.HasExtensions() && z.EncExt(yy4031) { - } else { - z.EncFallback(yy4031) - } - } else { - r.EncodeNil() - } - } else { - if yyq4023[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4033 := &x.ListMeta - yym4034 := z.EncBinary() - _ = yym4034 - if false { - } else if z.HasExtensions() && z.EncExt(yy4033) { - } else { - z.EncFallback(yy4033) - } - } - } - if yyr4023 || yy2arr4023 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym4036 := z.EncBinary() - _ = yym4036 - if false { - } else { - h.encSliceLimitRange(([]LimitRange)(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 { - yym4037 := z.EncBinary() - _ = yym4037 - if false { - } else { - h.encSliceLimitRange(([]LimitRange)(x.Items), e) - } - } - } - if yyr4023 || yy2arr4023 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4038 := z.DecBinary() - _ = yym4038 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4039 := r.ContainerType() - if yyct4039 == codecSelferValueTypeMap1234 { - yyl4039 := r.ReadMapStart() - if yyl4039 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4039, d) - } - } else if yyct4039 == codecSelferValueTypeArray1234 { - yyl4039 := r.ReadArrayStart() - if yyl4039 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4039, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4040Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4040Slc - var yyhl4040 bool = l >= 0 - for yyj4040 := 0; ; yyj4040++ { - if yyhl4040 { - if yyj4040 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4040Slc = r.DecodeBytes(yys4040Slc, true, true) - yys4040 := string(yys4040Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4040 { - 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 = pkg2_unversioned.ListMeta{} - } else { - yyv4043 := &x.ListMeta - yym4044 := z.DecBinary() - _ = yym4044 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4043) { - } else { - z.DecFallback(yyv4043, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4045 := &x.Items - yym4046 := z.DecBinary() - _ = yym4046 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4045), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys4040) - } // end switch yys4040 - } // end for yyj4040 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4047 int - var yyb4047 bool - var yyhl4047 bool = l >= 0 - yyj4047++ - if yyhl4047 { - yyb4047 = yyj4047 > l - } else { - yyb4047 = r.CheckBreak() - } - if yyb4047 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4047++ - if yyhl4047 { - yyb4047 = yyj4047 > l - } else { - yyb4047 = r.CheckBreak() - } - if yyb4047 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4047++ - if yyhl4047 { - yyb4047 = yyj4047 > l - } else { - yyb4047 = r.CheckBreak() - } - if yyb4047 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ListMeta = pkg2_unversioned.ListMeta{} - } else { - yyv4050 := &x.ListMeta - yym4051 := z.DecBinary() - _ = yym4051 - if false { - } else if z.HasExtensions() && z.DecExt(yyv4050) { - } else { - z.DecFallback(yyv4050, false) - } - } - yyj4047++ - if yyhl4047 { - yyb4047 = yyj4047 > l - } else { - yyb4047 = r.CheckBreak() - } - if yyb4047 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv4052 := &x.Items - yym4053 := z.DecBinary() - _ = yym4053 - if false { - } else { - h.decSliceLimitRange((*[]LimitRange)(yyv4052), d) - } - } - for { - yyj4047++ - if yyhl4047 { - yyb4047 = yyj4047 > l - } else { - yyb4047 = r.CheckBreak() - } - if yyb4047 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4047-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym4054 := z.EncBinary() - _ = yym4054 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4055 := z.DecBinary() - _ = yym4055 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4056 := z.EncBinary() - _ = yym4056 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4057 := !z.EncBinary() - yy2arr4057 := z.EncBasicHandle().StructToArray - var yyq4057 [2]bool - _, _, _ = yysep4057, yyq4057, yy2arr4057 - const yyr4057 bool = false - yyq4057[0] = len(x.Hard) != 0 - yyq4057[1] = len(x.Scopes) != 0 - var yynn4057 int - if yyr4057 || yy2arr4057 { - r.EncodeArrayStart(2) - } else { - yynn4057 = 0 - for _, b := range yyq4057 { - if b { - yynn4057++ - } - } - r.EncodeMapStart(yynn4057) - yynn4057 = 0 - } - if yyr4057 || yy2arr4057 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4057[0] { - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq4057[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } - } - if yyr4057 || yy2arr4057 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4057[1] { - if x.Scopes == nil { - r.EncodeNil() - } else { - yym4060 := z.EncBinary() - _ = yym4060 - if false { - } else { - h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq4057[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("scopes")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Scopes == nil { - r.EncodeNil() - } else { - yym4061 := z.EncBinary() - _ = yym4061 - if false { - } else { - h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) - } - } - } - } - if yyr4057 || yy2arr4057 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4062 := z.DecBinary() - _ = yym4062 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4063 := r.ContainerType() - if yyct4063 == codecSelferValueTypeMap1234 { - yyl4063 := r.ReadMapStart() - if yyl4063 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4063, d) - } - } else if yyct4063 == codecSelferValueTypeArray1234 { - yyl4063 := r.ReadArrayStart() - if yyl4063 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4063, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuotaSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4064Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4064Slc - var yyhl4064 bool = l >= 0 - for yyj4064 := 0; ; yyj4064++ { - if yyhl4064 { - if yyj4064 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4064Slc = r.DecodeBytes(yys4064Slc, true, true) - yys4064 := string(yys4064Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4064 { - case "hard": - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv4065 := &x.Hard - yyv4065.CodecDecodeSelf(d) - } - case "scopes": - if r.TryDecodeAsNil() { - x.Scopes = nil - } else { - yyv4066 := &x.Scopes - yym4067 := z.DecBinary() - _ = yym4067 - if false { - } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4066), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys4064) - } // end switch yys4064 - } // end for yyj4064 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuotaSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4068 int - var yyb4068 bool - var yyhl4068 bool = l >= 0 - yyj4068++ - if yyhl4068 { - yyb4068 = yyj4068 > l - } else { - yyb4068 = r.CheckBreak() - } - if yyb4068 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv4069 := &x.Hard - yyv4069.CodecDecodeSelf(d) - } - yyj4068++ - if yyhl4068 { - yyb4068 = yyj4068 > l - } else { - yyb4068 = r.CheckBreak() - } - if yyb4068 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Scopes = nil - } else { - yyv4070 := &x.Scopes - yym4071 := z.DecBinary() - _ = yym4071 - if false { - } else { - h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4070), d) - } - } - for { - yyj4068++ - if yyhl4068 { - yyb4068 = yyj4068 > l - } else { - yyb4068 = r.CheckBreak() - } - if yyb4068 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4068-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4072 := z.EncBinary() - _ = yym4072 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4073 := !z.EncBinary() - yy2arr4073 := z.EncBasicHandle().StructToArray - var yyq4073 [2]bool - _, _, _ = yysep4073, yyq4073, yy2arr4073 - const yyr4073 bool = false - yyq4073[0] = len(x.Hard) != 0 - yyq4073[1] = len(x.Used) != 0 - var yynn4073 int - if yyr4073 || yy2arr4073 { - r.EncodeArrayStart(2) - } else { - yynn4073 = 0 - for _, b := range yyq4073 { - if b { - yynn4073++ - } - } - r.EncodeMapStart(yynn4073) - yynn4073 = 0 - } - if yyr4073 || yy2arr4073 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4073[0] { - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq4073[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hard")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Hard == nil { - r.EncodeNil() - } else { - x.Hard.CodecEncodeSelf(e) - } - } - } - if yyr4073 || yy2arr4073 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4073[1] { - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } else { - r.EncodeNil() - } - } else { - if yyq4073[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("used")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Used == nil { - r.EncodeNil() - } else { - x.Used.CodecEncodeSelf(e) - } - } - } - if yyr4073 || yy2arr4073 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4076 := z.DecBinary() - _ = yym4076 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4077 := r.ContainerType() - if yyct4077 == codecSelferValueTypeMap1234 { - yyl4077 := r.ReadMapStart() - if yyl4077 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4077, d) - } - } else if yyct4077 == codecSelferValueTypeArray1234 { - yyl4077 := r.ReadArrayStart() - if yyl4077 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4077, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4078Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4078Slc - var yyhl4078 bool = l >= 0 - for yyj4078 := 0; ; yyj4078++ { - if yyhl4078 { - if yyj4078 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4078Slc = r.DecodeBytes(yys4078Slc, true, true) - yys4078 := string(yys4078Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4078 { - case "hard": - if r.TryDecodeAsNil() { - x.Hard = nil - } else { - yyv4079 := &x.Hard - yyv4079.CodecDecodeSelf(d) - } - case "used": - if r.TryDecodeAsNil() { - x.Used = nil - } else { - yyv4080 := &x.Used - yyv4080.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys4078) - } // end switch yys4078 - } // end for yyj4078 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -51219,10 +51051,9 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Hard = nil + x.Kind = "" } else { - yyv4082 := &x.Hard - yyv4082.CodecDecodeSelf(d) + x.Kind = string(r.DecodeString()) } yyj4081++ if yyhl4081 { @@ -51236,10 +51067,43 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Used = nil + x.APIVersion = "" } else { - yyv4083 := &x.Used - yyv4083.CodecDecodeSelf(d) + x.APIVersion = string(r.DecodeString()) + } + yyj4081++ + if yyhl4081 { + yyb4081 = yyj4081 > l + } else { + yyb4081 = r.CheckBreak() + } + if yyb4081 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4084 := &x.ObjectMeta + yyv4084.CodecDecodeSelf(d) + } + yyj4081++ + if yyhl4081 { + yyb4081 = yyj4081 > l + } else { + yyb4081 = r.CheckBreak() + } + if yyb4081 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Spec = LimitRangeSpec{} + } else { + yyv4085 := &x.Spec + yyv4085.CodecDecodeSelf(d) } for { yyj4081++ @@ -51257,46 +51121,44 @@ func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decod z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *LimitRangeList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym4084 := z.EncBinary() - _ = yym4084 + yym4086 := z.EncBinary() + _ = yym4086 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4085 := !z.EncBinary() - yy2arr4085 := z.EncBasicHandle().StructToArray - var yyq4085 [5]bool - _, _, _ = yysep4085, yyq4085, yy2arr4085 - const yyr4085 bool = false - yyq4085[0] = x.Kind != "" - yyq4085[1] = x.APIVersion != "" - yyq4085[2] = true - yyq4085[3] = true - yyq4085[4] = true - var yynn4085 int - if yyr4085 || yy2arr4085 { - r.EncodeArrayStart(5) + 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 { + r.EncodeArrayStart(4) } else { - yynn4085 = 0 - for _, b := range yyq4085 { + yynn4087 = 1 + for _, b := range yyq4087 { if b { - yynn4085++ + yynn4087++ } } - r.EncodeMapStart(yynn4085) - yynn4085 = 0 + r.EncodeMapStart(yynn4087) + yynn4087 = 0 } - if yyr4085 || yy2arr4085 { + if yyr4087 || yy2arr4087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[0] { - yym4087 := z.EncBinary() - _ = yym4087 + if yyq4087[0] { + yym4089 := z.EncBinary() + _ = yym4089 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -51305,364 +51167,23 @@ func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4085[0] { + if yyq4087[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4088 := z.EncBinary() - _ = yym4088 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4085 || yy2arr4085 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[1] { yym4090 := z.EncBinary() _ = yym4090 if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4085[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4091 := z.EncBinary() - _ = yym4091 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr4085 || yy2arr4085 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[2] { - yy4093 := &x.ObjectMeta - yy4093.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq4085[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4094 := &x.ObjectMeta - yy4094.CodecEncodeSelf(e) - } - } - if yyr4085 || yy2arr4085 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[3] { - yy4096 := &x.Spec - yy4096.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq4085[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("spec")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4097 := &x.Spec - yy4097.CodecEncodeSelf(e) - } - } - if yyr4085 || yy2arr4085 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4085[4] { - yy4099 := &x.Status - yy4099.CodecEncodeSelf(e) - } else { - r.EncodeNil() - } - } else { - if yyq4085[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("status")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4100 := &x.Status - yy4100.CodecEncodeSelf(e) - } - } - if yyr4085 || yy2arr4085 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4101 := z.DecBinary() - _ = yym4101 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct4102 := r.ContainerType() - if yyct4102 == codecSelferValueTypeMap1234 { - yyl4102 := r.ReadMapStart() - if yyl4102 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl4102, d) - } - } else if yyct4102 == codecSelferValueTypeArray1234 { - yyl4102 := r.ReadArrayStart() - if yyl4102 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl4102, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys4103Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4103Slc - var yyhl4103 bool = l >= 0 - for yyj4103 := 0; ; yyj4103++ { - if yyhl4103 { - if yyj4103 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4103Slc = r.DecodeBytes(yys4103Slc, true, true) - yys4103 := string(yys4103Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4103 { - 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 = ObjectMeta{} - } else { - yyv4106 := &x.ObjectMeta - yyv4106.CodecDecodeSelf(d) - } - case "spec": - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv4107 := &x.Spec - yyv4107.CodecDecodeSelf(d) - } - case "status": - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv4108 := &x.Status - yyv4108.CodecDecodeSelf(d) - } - default: - z.DecStructFieldNotFound(-1, yys4103) - } // end switch yys4103 - } // end for yyj4103 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj4109 int - var yyb4109 bool - var yyhl4109 bool = l >= 0 - yyj4109++ - if yyhl4109 { - yyb4109 = yyj4109 > l - } else { - yyb4109 = r.CheckBreak() - } - if yyb4109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj4109++ - if yyhl4109 { - yyb4109 = yyj4109 > l - } else { - yyb4109 = r.CheckBreak() - } - if yyb4109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj4109++ - if yyhl4109 { - yyb4109 = yyj4109 > l - } else { - yyb4109 = r.CheckBreak() - } - if yyb4109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ObjectMeta = ObjectMeta{} - } else { - yyv4112 := &x.ObjectMeta - yyv4112.CodecDecodeSelf(d) - } - yyj4109++ - if yyhl4109 { - yyb4109 = yyj4109 > l - } else { - yyb4109 = r.CheckBreak() - } - if yyb4109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Spec = ResourceQuotaSpec{} - } else { - yyv4113 := &x.Spec - yyv4113.CodecDecodeSelf(d) - } - yyj4109++ - if yyhl4109 { - yyb4109 = yyj4109 > l - } else { - yyb4109 = r.CheckBreak() - } - if yyb4109 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Status = ResourceQuotaStatus{} - } else { - yyv4114 := &x.Status - yyv4114.CodecDecodeSelf(d) - } - for { - yyj4109++ - if yyhl4109 { - yyb4109 = yyj4109 > l - } else { - yyb4109 = r.CheckBreak() - } - if yyb4109 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4109-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym4115 := z.EncBinary() - _ = yym4115 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep4116 := !z.EncBinary() - yy2arr4116 := z.EncBasicHandle().StructToArray - var yyq4116 [4]bool - _, _, _ = yysep4116, yyq4116, yy2arr4116 - const yyr4116 bool = false - yyq4116[0] = x.Kind != "" - yyq4116[1] = x.APIVersion != "" - yyq4116[2] = true - var yynn4116 int - if yyr4116 || yy2arr4116 { - r.EncodeArrayStart(4) - } else { - yynn4116 = 1 - for _, b := range yyq4116 { - if b { - yynn4116++ - } - } - r.EncodeMapStart(yynn4116) - yynn4116 = 0 - } - if yyr4116 || yy2arr4116 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4116[0] { - yym4118 := z.EncBinary() - _ = yym4118 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4116[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4119 := z.EncBinary() - _ = yym4119 - if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4116 || yy2arr4116 { + if yyr4087 || yy2arr4087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4116[1] { - yym4121 := z.EncBinary() - _ = yym4121 + if yyq4087[1] { + yym4092 := z.EncBinary() + _ = yym4092 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -51671,57 +51192,57 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4116[1] { + if yyq4087[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4122 := z.EncBinary() - _ = yym4122 + yym4093 := z.EncBinary() + _ = yym4093 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4116 || yy2arr4116 { + if yyr4087 || yy2arr4087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4116[2] { - yy4124 := &x.ListMeta - yym4125 := z.EncBinary() - _ = yym4125 + if yyq4087[2] { + yy4095 := &x.ListMeta + yym4096 := z.EncBinary() + _ = yym4096 if false { - } else if z.HasExtensions() && z.EncExt(yy4124) { + } else if z.HasExtensions() && z.EncExt(yy4095) { } else { - z.EncFallback(yy4124) + z.EncFallback(yy4095) } } else { r.EncodeNil() } } else { - if yyq4116[2] { + if yyq4087[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4126 := &x.ListMeta - yym4127 := z.EncBinary() - _ = yym4127 + yy4097 := &x.ListMeta + yym4098 := z.EncBinary() + _ = yym4098 if false { - } else if z.HasExtensions() && z.EncExt(yy4126) { + } else if z.HasExtensions() && z.EncExt(yy4097) { } else { - z.EncFallback(yy4126) + z.EncFallback(yy4097) } } } - if yyr4116 || yy2arr4116 { + if yyr4087 || yy2arr4087 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4129 := z.EncBinary() - _ = yym4129 + yym4100 := z.EncBinary() + _ = yym4100 if false { } else { - h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } else { @@ -51731,15 +51252,15 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4130 := z.EncBinary() - _ = yym4130 + yym4101 := z.EncBinary() + _ = yym4101 if false { } else { - h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) + h.encSliceLimitRange(([]LimitRange)(x.Items), e) } } } - if yyr4116 || yy2arr4116 { + if yyr4087 || yy2arr4087 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -51748,29 +51269,29 @@ func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *LimitRangeList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4131 := z.DecBinary() - _ = yym4131 + yym4102 := z.DecBinary() + _ = yym4102 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4132 := r.ContainerType() - if yyct4132 == codecSelferValueTypeMap1234 { - yyl4132 := r.ReadMapStart() - if yyl4132 == 0 { + yyct4103 := r.ContainerType() + if yyct4103 == codecSelferValueTypeMap1234 { + yyl4103 := r.ReadMapStart() + if yyl4103 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4132, d) + x.codecDecodeSelfFromMap(yyl4103, d) } - } else if yyct4132 == codecSelferValueTypeArray1234 { - yyl4132 := r.ReadArrayStart() - if yyl4132 == 0 { + } else if yyct4103 == codecSelferValueTypeArray1234 { + yyl4103 := r.ReadArrayStart() + if yyl4103 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4132, d) + x.codecDecodeSelfFromArray(yyl4103, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -51778,16 +51299,16 @@ func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *LimitRangeList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4133Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4133Slc - var yyhl4133 bool = l >= 0 - for yyj4133 := 0; ; yyj4133++ { - if yyhl4133 { - if yyj4133 >= l { + var yys4104Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4104Slc + var yyhl4104 bool = l >= 0 + for yyj4104 := 0; ; yyj4104++ { + if yyhl4104 { + if yyj4104 >= l { break } } else { @@ -51796,10 +51317,10 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4133Slc = r.DecodeBytes(yys4133Slc, true, true) - yys4133 := string(yys4133Slc) + yys4104Slc = r.DecodeBytes(yys4104Slc, true, true) + yys4104 := string(yys4104Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4133 { + switch yys4104 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -51816,48 +51337,48 @@ func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4136 := &x.ListMeta - yym4137 := z.DecBinary() - _ = yym4137 + yyv4107 := &x.ListMeta + yym4108 := z.DecBinary() + _ = yym4108 if false { - } else if z.HasExtensions() && z.DecExt(yyv4136) { + } else if z.HasExtensions() && z.DecExt(yyv4107) { } else { - z.DecFallback(yyv4136, false) + z.DecFallback(yyv4107, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4138 := &x.Items - yym4139 := z.DecBinary() - _ = yym4139 + yyv4109 := &x.Items + yym4110 := z.DecBinary() + _ = yym4110 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4138), d) + h.decSliceLimitRange((*[]LimitRange)(yyv4109), d) } } default: - z.DecStructFieldNotFound(-1, yys4133) - } // end switch yys4133 - } // end for yyj4133 + z.DecStructFieldNotFound(-1, yys4104) + } // end switch yys4104 + } // end for yyj4104 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *LimitRangeList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4140 int - var yyb4140 bool - var yyhl4140 bool = l >= 0 - yyj4140++ - if yyhl4140 { - yyb4140 = yyj4140 > l + var yyj4111 int + var yyb4111 bool + var yyhl4111 bool = l >= 0 + yyj4111++ + if yyhl4111 { + yyb4111 = yyj4111 > l } else { - yyb4140 = r.CheckBreak() + yyb4111 = r.CheckBreak() } - if yyb4140 { + if yyb4111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51867,13 +51388,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj4140++ - if yyhl4140 { - yyb4140 = yyj4140 > l + yyj4111++ + if yyhl4111 { + yyb4111 = yyj4111 > l } else { - yyb4140 = r.CheckBreak() + yyb4111 = r.CheckBreak() } - if yyb4140 { + if yyb4111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51883,13 +51404,13 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj4140++ - if yyhl4140 { - yyb4140 = yyj4140 > l + yyj4111++ + if yyhl4111 { + yyb4111 = yyj4111 > l } else { - yyb4140 = r.CheckBreak() + yyb4111 = r.CheckBreak() } - if yyb4140 { + if yyb4111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51897,22 +51418,22 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4143 := &x.ListMeta - yym4144 := z.DecBinary() - _ = yym4144 + yyv4114 := &x.ListMeta + yym4115 := z.DecBinary() + _ = yym4115 if false { - } else if z.HasExtensions() && z.DecExt(yyv4143) { + } else if z.HasExtensions() && z.DecExt(yyv4114) { } else { - z.DecFallback(yyv4143, false) + z.DecFallback(yyv4114, false) } } - yyj4140++ - if yyhl4140 { - yyb4140 = yyj4140 > l + yyj4111++ + if yyhl4111 { + yyb4111 = yyj4111 > l } else { - yyb4140 = r.CheckBreak() + yyb4111 = r.CheckBreak() } - if yyb4140 { + if yyb4111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -51920,215 +51441,145 @@ func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4145 := &x.Items - yym4146 := z.DecBinary() - _ = yym4146 + yyv4116 := &x.Items + yym4117 := z.DecBinary() + _ = yym4117 if false { } else { - h.decSliceResourceQuota((*[]ResourceQuota)(yyv4145), d) + h.decSliceLimitRange((*[]LimitRange)(yyv4116), d) } } for { - yyj4140++ - if yyhl4140 { - yyb4140 = yyj4140 > l + yyj4111++ + if yyhl4111 { + yyb4111 = yyj4111 > l } else { - yyb4140 = r.CheckBreak() + yyb4111 = r.CheckBreak() } - if yyb4140 { + if yyb4111 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4140-1, "") + z.DecStructFieldNotFound(yyj4111-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { +func (x ResourceQuotaScope) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym4118 := z.EncBinary() + _ = yym4118 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ResourceQuotaScope) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4119 := z.DecBinary() + _ = yym4119 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ResourceQuotaSpec) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym4147 := z.EncBinary() - _ = yym4147 + yym4120 := z.EncBinary() + _ = yym4120 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4148 := !z.EncBinary() - yy2arr4148 := z.EncBasicHandle().StructToArray - var yyq4148 [6]bool - _, _, _ = yysep4148, yyq4148, yy2arr4148 - const yyr4148 bool = false - yyq4148[0] = x.Kind != "" - yyq4148[1] = x.APIVersion != "" - yyq4148[2] = true - yyq4148[3] = len(x.Data) != 0 - yyq4148[4] = len(x.StringData) != 0 - yyq4148[5] = x.Type != "" - var yynn4148 int - if yyr4148 || yy2arr4148 { - r.EncodeArrayStart(6) + 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 { + r.EncodeArrayStart(2) } else { - yynn4148 = 0 - for _, b := range yyq4148 { + yynn4121 = 0 + for _, b := range yyq4121 { if b { - yynn4148++ + yynn4121++ } } - r.EncodeMapStart(yynn4148) - yynn4148 = 0 + r.EncodeMapStart(yynn4121) + yynn4121 = 0 } - if yyr4148 || yy2arr4148 { + if yyr4121 || yy2arr4121 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[0] { - yym4150 := z.EncBinary() - _ = yym4150 - if false { + if yyq4121[0] { + if x.Hard == nil { + r.EncodeNil() } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + x.Hard.CodecEncodeSelf(e) } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4148[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4151 := z.EncBinary() - _ = yym4151 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4148 || yy2arr4148 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[1] { - yym4153 := z.EncBinary() - _ = yym4153 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4148[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4154 := z.EncBinary() - _ = yym4154 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr4148 || yy2arr4148 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[2] { - yy4156 := &x.ObjectMeta - yy4156.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4148[2] { + if yyq4121[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) + r.EncodeString(codecSelferC_UTF81234, string("hard")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4157 := &x.ObjectMeta - yy4157.CodecEncodeSelf(e) - } - } - if yyr4148 || yy2arr4148 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[3] { - if x.Data == nil { + if x.Hard == nil { r.EncodeNil() } else { - yym4159 := z.EncBinary() - _ = yym4159 + x.Hard.CodecEncodeSelf(e) + } + } + } + if yyr4121 || yy2arr4121 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4121[1] { + if x.Scopes == nil { + r.EncodeNil() + } else { + yym4124 := z.EncBinary() + _ = yym4124 if false { } else { - h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) + h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) } } } else { r.EncodeNil() } } else { - if yyq4148[3] { + if yyq4121[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("data")) + r.EncodeString(codecSelferC_UTF81234, string("scopes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Data == nil { + if x.Scopes == nil { r.EncodeNil() } else { - yym4160 := z.EncBinary() - _ = yym4160 + yym4125 := z.EncBinary() + _ = yym4125 if false { } else { - h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) + h.encSliceResourceQuotaScope(([]ResourceQuotaScope)(x.Scopes), e) } } } } - if yyr4148 || yy2arr4148 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[4] { - if x.StringData == nil { - r.EncodeNil() - } else { - yym4162 := z.EncBinary() - _ = yym4162 - if false { - } else { - z.F.EncMapStringStringV(x.StringData, false, e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq4148[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("stringData")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.StringData == nil { - r.EncodeNil() - } else { - yym4163 := z.EncBinary() - _ = yym4163 - if false { - } else { - z.F.EncMapStringStringV(x.StringData, false, e) - } - } - } - } - if yyr4148 || yy2arr4148 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4148[5] { - x.Type.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4148[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("type")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Type.CodecEncodeSelf(e) - } - } - if yyr4148 || yy2arr4148 { + if yyr4121 || yy2arr4121 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52137,7 +51588,509 @@ func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ResourceQuotaSpec) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4126 := z.DecBinary() + _ = yym4126 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4127 := r.ContainerType() + if yyct4127 == codecSelferValueTypeMap1234 { + yyl4127 := r.ReadMapStart() + if yyl4127 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4127, d) + } + } else if yyct4127 == codecSelferValueTypeArray1234 { + yyl4127 := r.ReadArrayStart() + if yyl4127 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4127, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4128Slc = r.DecodeBytes(yys4128Slc, true, true) + yys4128 := string(yys4128Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4128 { + case "hard": + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4129 := &x.Hard + yyv4129.CodecDecodeSelf(d) + } + case "scopes": + if r.TryDecodeAsNil() { + x.Scopes = nil + } else { + yyv4130 := &x.Scopes + yym4131 := z.DecBinary() + _ = yym4131 + if false { + } else { + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4130), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4128) + } // end switch yys4128 + } // end for yyj4128 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4132 = r.CheckBreak() + } + if yyb4132 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4133 := &x.Hard + yyv4133.CodecDecodeSelf(d) + } + yyj4132++ + if yyhl4132 { + yyb4132 = yyj4132 > l + } else { + yyb4132 = r.CheckBreak() + } + if yyb4132 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Scopes = nil + } else { + yyv4134 := &x.Scopes + yym4135 := z.DecBinary() + _ = yym4135 + if false { + } else { + h.decSliceResourceQuotaScope((*[]ResourceQuotaScope)(yyv4134), d) + } + } + for { + yyj4132++ + if yyhl4132 { + yyb4132 = yyj4132 > l + } else { + yyb4132 = r.CheckBreak() + } + if yyb4132 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4132-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ResourceQuotaStatus) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4136 := z.EncBinary() + _ = yym4136 + 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 { + r.EncodeArrayStart(2) + } else { + yynn4137 = 0 + for _, b := range yyq4137 { + if b { + yynn4137++ + } + } + r.EncodeMapStart(yynn4137) + yynn4137 = 0 + } + if yyr4137 || yy2arr4137 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4137[0] { + if x.Hard == nil { + r.EncodeNil() + } else { + x.Hard.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq4137[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("hard")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Hard == nil { + r.EncodeNil() + } else { + x.Hard.CodecEncodeSelf(e) + } + } + } + if yyr4137 || yy2arr4137 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4137[1] { + if x.Used == nil { + r.EncodeNil() + } else { + x.Used.CodecEncodeSelf(e) + } + } else { + r.EncodeNil() + } + } else { + if yyq4137[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("used")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + if x.Used == nil { + r.EncodeNil() + } else { + x.Used.CodecEncodeSelf(e) + } + } + } + if yyr4137 || yy2arr4137 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ResourceQuotaStatus) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4140 := z.DecBinary() + _ = yym4140 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4141 := r.ContainerType() + if yyct4141 == codecSelferValueTypeMap1234 { + yyl4141 := r.ReadMapStart() + if yyl4141 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4141, d) + } + } else if yyct4141 == codecSelferValueTypeArray1234 { + yyl4141 := r.ReadArrayStart() + if yyl4141 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4141, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4142Slc = r.DecodeBytes(yys4142Slc, true, true) + yys4142 := string(yys4142Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4142 { + case "hard": + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4143 := &x.Hard + yyv4143.CodecDecodeSelf(d) + } + case "used": + if r.TryDecodeAsNil() { + x.Used = nil + } else { + yyv4144 := &x.Used + yyv4144.CodecDecodeSelf(d) + } + default: + z.DecStructFieldNotFound(-1, yys4142) + } // end switch yys4142 + } // end for yyj4142 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ResourceQuotaStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb4145 = r.CheckBreak() + } + if yyb4145 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Hard = nil + } else { + yyv4146 := &x.Hard + yyv4146.CodecDecodeSelf(d) + } + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l + } else { + yyb4145 = r.CheckBreak() + } + if yyb4145 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Used = nil + } else { + yyv4147 := &x.Used + yyv4147.CodecDecodeSelf(d) + } + for { + yyj4145++ + if yyhl4145 { + yyb4145 = yyj4145 > l + } else { + yyb4145 = r.CheckBreak() + } + if yyb4145 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4145-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ResourceQuota) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4148 := z.EncBinary() + _ = yym4148 + 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 { + r.EncodeArrayStart(5) + } else { + yynn4149 = 0 + for _, b := range yyq4149 { + if b { + yynn4149++ + } + } + r.EncodeMapStart(yynn4149) + yynn4149 = 0 + } + if yyr4149 || yy2arr4149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4149[0] { + yym4151 := z.EncBinary() + _ = yym4151 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4149[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4152 := z.EncBinary() + _ = yym4152 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4149 || yy2arr4149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4149[1] { + yym4154 := z.EncBinary() + _ = yym4154 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4149[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4155 := z.EncBinary() + _ = yym4155 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4149 || yy2arr4149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4149[2] { + yy4157 := &x.ObjectMeta + yy4157.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq4149[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4158 := &x.ObjectMeta + yy4158.CodecEncodeSelf(e) + } + } + if yyr4149 || yy2arr4149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4149[3] { + yy4160 := &x.Spec + yy4160.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq4149[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("spec")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4161 := &x.Spec + yy4161.CodecEncodeSelf(e) + } + } + if yyr4149 || yy2arr4149 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4149[4] { + yy4163 := &x.Status + yy4163.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq4149[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("status")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4164 := &x.Status + yy4164.CodecEncodeSelf(e) + } + } + if yyr4149 || yy2arr4149 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ResourceQuota) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -52167,7 +52120,7 @@ func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ResourceQuota) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -52208,35 +52161,19 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { yyv4170 := &x.ObjectMeta yyv4170.CodecDecodeSelf(d) } - case "data": + case "spec": if r.TryDecodeAsNil() { - x.Data = nil + x.Spec = ResourceQuotaSpec{} } else { - yyv4171 := &x.Data - yym4172 := z.DecBinary() - _ = yym4172 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4171), d) - } + yyv4171 := &x.Spec + yyv4171.CodecDecodeSelf(d) } - case "stringData": + case "status": if r.TryDecodeAsNil() { - x.StringData = nil + x.Status = ResourceQuotaStatus{} } else { - yyv4173 := &x.StringData - yym4174 := z.DecBinary() - _ = yym4174 - if false { - } else { - z.F.DecMapStringStringX(yyv4173, false, d) - } - } - case "type": - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) + yyv4172 := &x.Status + yyv4172.CodecDecodeSelf(d) } default: z.DecStructFieldNotFound(-1, yys4167) @@ -52245,20 +52182,20 @@ func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ResourceQuota) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4176 int - var yyb4176 bool - var yyhl4176 bool = l >= 0 - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l + var yyj4173 int + var yyb4173 bool + var yyhl4173 bool = l >= 0 + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb4176 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb4176 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52268,13 +52205,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb4176 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb4176 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52284,13 +52221,13 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb4176 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb4176 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52298,149 +52235,97 @@ func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4179 := &x.ObjectMeta - yyv4179.CodecDecodeSelf(d) + yyv4176 := &x.ObjectMeta + yyv4176.CodecDecodeSelf(d) } - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb4176 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb4176 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Data = nil + x.Spec = ResourceQuotaSpec{} } else { - yyv4180 := &x.Data - yym4181 := z.DecBinary() - _ = yym4181 - if false { - } else { - h.decMapstringSliceuint8((*map[string][]uint8)(yyv4180), d) - } + yyv4177 := &x.Spec + yyv4177.CodecDecodeSelf(d) } - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb4176 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb4176 { + if yyb4173 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.StringData = nil + x.Status = ResourceQuotaStatus{} } else { - yyv4182 := &x.StringData - yym4183 := z.DecBinary() - _ = yym4183 - if false { - } else { - z.F.DecMapStringStringX(yyv4182, false, d) - } - } - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l - } else { - yyb4176 = r.CheckBreak() - } - if yyb4176 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Type = "" - } else { - x.Type = SecretType(r.DecodeString()) + yyv4178 := &x.Status + yyv4178.CodecDecodeSelf(d) } for { - yyj4176++ - if yyhl4176 { - yyb4176 = yyj4176 > l + yyj4173++ + if yyhl4173 { + yyb4173 = yyj4173 > l } else { - yyb4176 = r.CheckBreak() + yyb4173 = r.CheckBreak() } - if yyb4176 { + if yyb4173 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4176-1, "") + z.DecStructFieldNotFound(yyj4173-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym4185 := z.EncBinary() - _ = yym4185 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym4186 := z.DecBinary() - _ = yym4186 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *ResourceQuotaList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym4187 := z.EncBinary() - _ = yym4187 + yym4179 := z.EncBinary() + _ = yym4179 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4188 := !z.EncBinary() - yy2arr4188 := z.EncBasicHandle().StructToArray - var yyq4188 [4]bool - _, _, _ = yysep4188, yyq4188, yy2arr4188 - const yyr4188 bool = false - yyq4188[0] = x.Kind != "" - yyq4188[1] = x.APIVersion != "" - yyq4188[2] = true - var yynn4188 int - if yyr4188 || yy2arr4188 { + 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 { r.EncodeArrayStart(4) } else { - yynn4188 = 1 - for _, b := range yyq4188 { + yynn4180 = 1 + for _, b := range yyq4180 { if b { - yynn4188++ + yynn4180++ } } - r.EncodeMapStart(yynn4188) - yynn4188 = 0 + r.EncodeMapStart(yynn4180) + yynn4180 = 0 } - if yyr4188 || yy2arr4188 { + if yyr4180 || yy2arr4180 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4188[0] { - yym4190 := z.EncBinary() - _ = yym4190 + if yyq4180[0] { + yym4182 := z.EncBinary() + _ = yym4182 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52449,23 +52334,23 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4188[0] { + if yyq4180[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4191 := z.EncBinary() - _ = yym4191 + yym4183 := z.EncBinary() + _ = yym4183 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4188 || yy2arr4188 { + if yyr4180 || yy2arr4180 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4188[1] { - yym4193 := z.EncBinary() - _ = yym4193 + if yyq4180[1] { + yym4185 := z.EncBinary() + _ = yym4185 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52474,57 +52359,57 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4188[1] { + if yyq4180[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4194 := z.EncBinary() - _ = yym4194 + yym4186 := z.EncBinary() + _ = yym4186 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4188 || yy2arr4188 { + if yyr4180 || yy2arr4180 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4188[2] { - yy4196 := &x.ListMeta - yym4197 := z.EncBinary() - _ = yym4197 + if yyq4180[2] { + yy4188 := &x.ListMeta + yym4189 := z.EncBinary() + _ = yym4189 if false { - } else if z.HasExtensions() && z.EncExt(yy4196) { + } else if z.HasExtensions() && z.EncExt(yy4188) { } else { - z.EncFallback(yy4196) + z.EncFallback(yy4188) } } else { r.EncodeNil() } } else { - if yyq4188[2] { + if yyq4180[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4198 := &x.ListMeta - yym4199 := z.EncBinary() - _ = yym4199 + yy4190 := &x.ListMeta + yym4191 := z.EncBinary() + _ = yym4191 if false { - } else if z.HasExtensions() && z.EncExt(yy4198) { + } else if z.HasExtensions() && z.EncExt(yy4190) { } else { - z.EncFallback(yy4198) + z.EncFallback(yy4190) } } } - if yyr4188 || yy2arr4188 { + if yyr4180 || yy2arr4180 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4201 := z.EncBinary() - _ = yym4201 + yym4193 := z.EncBinary() + _ = yym4193 if false { } else { - h.encSliceSecret(([]Secret)(x.Items), e) + h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } else { @@ -52534,15 +52419,15 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4202 := z.EncBinary() - _ = yym4202 + yym4194 := z.EncBinary() + _ = yym4194 if false { } else { - h.encSliceSecret(([]Secret)(x.Items), e) + h.encSliceResourceQuota(([]ResourceQuota)(x.Items), e) } } } - if yyr4188 || yy2arr4188 { + if yyr4180 || yy2arr4180 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52551,29 +52436,29 @@ func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *ResourceQuotaList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4203 := z.DecBinary() - _ = yym4203 + yym4195 := z.DecBinary() + _ = yym4195 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4204 := r.ContainerType() - if yyct4204 == codecSelferValueTypeMap1234 { - yyl4204 := r.ReadMapStart() - if yyl4204 == 0 { + yyct4196 := r.ContainerType() + if yyct4196 == codecSelferValueTypeMap1234 { + yyl4196 := r.ReadMapStart() + if yyl4196 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4204, d) + x.codecDecodeSelfFromMap(yyl4196, d) } - } else if yyct4204 == codecSelferValueTypeArray1234 { - yyl4204 := r.ReadArrayStart() - if yyl4204 == 0 { + } else if yyct4196 == codecSelferValueTypeArray1234 { + yyl4196 := r.ReadArrayStart() + if yyl4196 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4204, d) + x.codecDecodeSelfFromArray(yyl4196, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52581,16 +52466,16 @@ func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *ResourceQuotaList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4205Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4205Slc - var yyhl4205 bool = l >= 0 - for yyj4205 := 0; ; yyj4205++ { - if yyhl4205 { - if yyj4205 >= l { + var yys4197Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4197Slc + var yyhl4197 bool = l >= 0 + for yyj4197 := 0; ; yyj4197++ { + if yyhl4197 { + if yyj4197 >= l { break } } else { @@ -52599,10 +52484,10 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4205Slc = r.DecodeBytes(yys4205Slc, true, true) - yys4205 := string(yys4205Slc) + yys4197Slc = r.DecodeBytes(yys4197Slc, true, true) + yys4197 := string(yys4197Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4205 { + switch yys4197 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52619,48 +52504,48 @@ func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4208 := &x.ListMeta - yym4209 := z.DecBinary() - _ = yym4209 + yyv4200 := &x.ListMeta + yym4201 := z.DecBinary() + _ = yym4201 if false { - } else if z.HasExtensions() && z.DecExt(yyv4208) { + } else if z.HasExtensions() && z.DecExt(yyv4200) { } else { - z.DecFallback(yyv4208, false) + z.DecFallback(yyv4200, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4210 := &x.Items - yym4211 := z.DecBinary() - _ = yym4211 + yyv4202 := &x.Items + yym4203 := z.DecBinary() + _ = yym4203 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4210), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4202), d) } } default: - z.DecStructFieldNotFound(-1, yys4205) - } // end switch yys4205 - } // end for yyj4205 + z.DecStructFieldNotFound(-1, yys4197) + } // end switch yys4197 + } // end for yyj4197 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *ResourceQuotaList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4212 int - var yyb4212 bool - var yyhl4212 bool = l >= 0 - yyj4212++ - if yyhl4212 { - yyb4212 = yyj4212 > l + var yyj4204 int + var yyb4204 bool + var yyhl4204 bool = l >= 0 + yyj4204++ + if yyhl4204 { + yyb4204 = yyj4204 > l } else { - yyb4212 = r.CheckBreak() + yyb4204 = r.CheckBreak() } - if yyb4212 { + if yyb4204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52670,13 +52555,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4212++ - if yyhl4212 { - yyb4212 = yyj4212 > l + yyj4204++ + if yyhl4204 { + yyb4204 = yyj4204 > l } else { - yyb4212 = r.CheckBreak() + yyb4204 = r.CheckBreak() } - if yyb4212 { + if yyb4204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52686,13 +52571,13 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4212++ - if yyhl4212 { - yyb4212 = yyj4212 > l + yyj4204++ + if yyhl4204 { + yyb4204 = yyj4204 > l } else { - yyb4212 = r.CheckBreak() + yyb4204 = r.CheckBreak() } - if yyb4212 { + if yyb4204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52700,22 +52585,22 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4215 := &x.ListMeta - yym4216 := z.DecBinary() - _ = yym4216 + yyv4207 := &x.ListMeta + yym4208 := z.DecBinary() + _ = yym4208 if false { - } else if z.HasExtensions() && z.DecExt(yyv4215) { + } else if z.HasExtensions() && z.DecExt(yyv4207) { } else { - z.DecFallback(yyv4215, false) + z.DecFallback(yyv4207, false) } } - yyj4212++ - if yyhl4212 { - yyb4212 = yyj4212 > l + yyj4204++ + if yyhl4204 { + yyb4204 = yyj4204 > l } else { - yyb4212 = r.CheckBreak() + yyb4204 = r.CheckBreak() } - if yyb4212 { + if yyb4204 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -52723,69 +52608,71 @@ func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4217 := &x.Items - yym4218 := z.DecBinary() - _ = yym4218 + yyv4209 := &x.Items + yym4210 := z.DecBinary() + _ = yym4210 if false { } else { - h.decSliceSecret((*[]Secret)(yyv4217), d) + h.decSliceResourceQuota((*[]ResourceQuota)(yyv4209), d) } } for { - yyj4212++ - if yyhl4212 { - yyb4212 = yyj4212 > l + yyj4204++ + if yyhl4204 { + yyb4204 = yyj4204 > l } else { - yyb4212 = r.CheckBreak() + yyb4204 = r.CheckBreak() } - if yyb4212 { + if yyb4204 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4212-1, "") + z.DecStructFieldNotFound(yyj4204-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { +func (x *Secret) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym4219 := z.EncBinary() - _ = yym4219 + yym4211 := z.EncBinary() + _ = yym4211 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4220 := !z.EncBinary() - yy2arr4220 := z.EncBasicHandle().StructToArray - var yyq4220 [4]bool - _, _, _ = yysep4220, yyq4220, yy2arr4220 - const yyr4220 bool = false - yyq4220[0] = x.Kind != "" - yyq4220[1] = x.APIVersion != "" - yyq4220[2] = true - yyq4220[3] = len(x.Data) != 0 - var yynn4220 int - if yyr4220 || yy2arr4220 { - r.EncodeArrayStart(4) + 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 { + r.EncodeArrayStart(6) } else { - yynn4220 = 0 - for _, b := range yyq4220 { + yynn4212 = 0 + for _, b := range yyq4212 { if b { - yynn4220++ + yynn4212++ } } - r.EncodeMapStart(yynn4220) - yynn4220 = 0 + r.EncodeMapStart(yynn4212) + yynn4212 = 0 } - if yyr4220 || yy2arr4220 { + if yyr4212 || yy2arr4212 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4220[0] { - yym4222 := z.EncBinary() - _ = yym4222 + if yyq4212[0] { + yym4214 := z.EncBinary() + _ = yym4214 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -52794,23 +52681,23 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4220[0] { + if yyq4212[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4223 := z.EncBinary() - _ = yym4223 + yym4215 := z.EncBinary() + _ = yym4215 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4220 || yy2arr4220 { + if yyr4212 || yy2arr4212 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4220[1] { - yym4225 := z.EncBinary() - _ = yym4225 + if yyq4212[1] { + yym4217 := z.EncBinary() + _ = yym4217 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -52819,69 +52706,117 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4220[1] { + if yyq4212[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4226 := z.EncBinary() - _ = yym4226 + yym4218 := z.EncBinary() + _ = yym4218 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4220 || yy2arr4220 { + if yyr4212 || yy2arr4212 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4220[2] { - yy4228 := &x.ObjectMeta - yy4228.CodecEncodeSelf(e) + if yyq4212[2] { + yy4220 := &x.ObjectMeta + yy4220.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4220[2] { + if yyq4212[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4229 := &x.ObjectMeta - yy4229.CodecEncodeSelf(e) + yy4221 := &x.ObjectMeta + yy4221.CodecEncodeSelf(e) } } - if yyr4220 || yy2arr4220 { + if yyr4212 || yy2arr4212 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4220[3] { + if yyq4212[3] { if x.Data == nil { r.EncodeNil() } else { - yym4231 := z.EncBinary() - _ = yym4231 + yym4223 := z.EncBinary() + _ = yym4223 if false { } else { - z.F.EncMapStringStringV(x.Data, false, e) + h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) } } } else { r.EncodeNil() } } else { - if yyq4220[3] { + if yyq4212[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("data")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Data == nil { r.EncodeNil() } else { - yym4232 := z.EncBinary() - _ = yym4232 + yym4224 := z.EncBinary() + _ = yym4224 if false { } else { - z.F.EncMapStringStringV(x.Data, false, e) + h.encMapstringSliceuint8((map[string][]uint8)(x.Data), e) } } } } - if yyr4220 || yy2arr4220 { + if yyr4212 || yy2arr4212 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4212[4] { + if x.StringData == nil { + r.EncodeNil() + } else { + yym4226 := z.EncBinary() + _ = yym4226 + if false { + } else { + z.F.EncMapStringStringV(x.StringData, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq4212[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 + if false { + } else { + z.F.EncMapStringStringV(x.StringData, false, e) + } + } + } + } + if yyr4212 || yy2arr4212 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4212[5] { + x.Type.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4212[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("type")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Type.CodecEncodeSelf(e) + } + } + if yyr4212 || yy2arr4212 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -52890,29 +52825,29 @@ func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *Secret) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4233 := z.DecBinary() - _ = yym4233 + yym4229 := z.DecBinary() + _ = yym4229 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4234 := r.ContainerType() - if yyct4234 == codecSelferValueTypeMap1234 { - yyl4234 := r.ReadMapStart() - if yyl4234 == 0 { + yyct4230 := r.ContainerType() + if yyct4230 == codecSelferValueTypeMap1234 { + yyl4230 := r.ReadMapStart() + if yyl4230 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4234, d) + x.codecDecodeSelfFromMap(yyl4230, d) } - } else if yyct4234 == codecSelferValueTypeArray1234 { - yyl4234 := r.ReadArrayStart() - if yyl4234 == 0 { + } else if yyct4230 == codecSelferValueTypeArray1234 { + yyl4230 := r.ReadArrayStart() + if yyl4230 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4234, d) + x.codecDecodeSelfFromArray(yyl4230, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -52920,16 +52855,16 @@ func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *Secret) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4235Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4235Slc - var yyhl4235 bool = l >= 0 - for yyj4235 := 0; ; yyj4235++ { - if yyhl4235 { - if yyj4235 >= l { + var yys4231Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4231Slc + var yyhl4231 bool = l >= 0 + for yyj4231 := 0; ; yyj4231++ { + if yyhl4231 { + if yyj4231 >= l { break } } else { @@ -52938,10 +52873,10 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4235Slc = r.DecodeBytes(yys4235Slc, true, true) - yys4235 := string(yys4235Slc) + yys4231Slc = r.DecodeBytes(yys4231Slc, true, true) + yys4231 := string(yys4231Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4235 { + switch yys4231 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -52958,42 +52893,60 @@ func (x *ConfigMap) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4238 := &x.ObjectMeta - yyv4238.CodecDecodeSelf(d) + yyv4234 := &x.ObjectMeta + yyv4234.CodecDecodeSelf(d) } case "data": if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4239 := &x.Data - yym4240 := z.DecBinary() - _ = yym4240 + yyv4235 := &x.Data + yym4236 := z.DecBinary() + _ = yym4236 if false { } else { - z.F.DecMapStringStringX(yyv4239, false, d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4235), d) } } + case "stringData": + if r.TryDecodeAsNil() { + x.StringData = nil + } else { + yyv4237 := &x.StringData + yym4238 := z.DecBinary() + _ = yym4238 + if false { + } else { + z.F.DecMapStringStringX(yyv4237, false, d) + } + } + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } default: - z.DecStructFieldNotFound(-1, yys4235) - } // end switch yys4235 - } // end for yyj4235 + z.DecStructFieldNotFound(-1, yys4231) + } // end switch yys4231 + } // end for yyj4231 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *Secret) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4241 int - var yyb4241 bool - var yyhl4241 bool = l >= 0 - yyj4241++ - if yyhl4241 { - yyb4241 = yyj4241 > l + var yyj4240 int + var yyb4240 bool + var yyhl4240 bool = l >= 0 + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l } else { - yyb4241 = r.CheckBreak() + yyb4240 = r.CheckBreak() } - if yyb4241 { + if yyb4240 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53003,13 +52956,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4241++ - if yyhl4241 { - yyb4241 = yyj4241 > l + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l } else { - yyb4241 = r.CheckBreak() + yyb4240 = r.CheckBreak() } - if yyb4241 { + if yyb4240 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53019,13 +52972,13 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4241++ - if yyhl4241 { - yyb4241 = yyj4241 > l + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l } else { - yyb4241 = r.CheckBreak() + yyb4240 = r.CheckBreak() } - if yyb4241 { + if yyb4240 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53033,16 +52986,16 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4244 := &x.ObjectMeta - yyv4244.CodecDecodeSelf(d) + yyv4243 := &x.ObjectMeta + yyv4243.CodecDecodeSelf(d) } - yyj4241++ - if yyhl4241 { - yyb4241 = yyj4241 > l + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l } else { - yyb4241 = r.CheckBreak() + yyb4240 = r.CheckBreak() } - if yyb4241 { + if yyb4240 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53050,152 +53003,216 @@ func (x *ConfigMap) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4245 := &x.Data - yym4246 := z.DecBinary() - _ = yym4246 + yyv4244 := &x.Data + yym4245 := z.DecBinary() + _ = yym4245 if false { } else { - z.F.DecMapStringStringX(yyv4245, false, d) + h.decMapstringSliceuint8((*map[string][]uint8)(yyv4244), d) } } - for { - yyj4241++ - if yyhl4241 { - yyb4241 = yyj4241 > l + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l + } else { + yyb4240 = r.CheckBreak() + } + if yyb4240 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.StringData = nil + } else { + yyv4246 := &x.StringData + yym4247 := z.DecBinary() + _ = yym4247 + if false { } else { - yyb4241 = r.CheckBreak() + z.F.DecMapStringStringX(yyv4246, false, d) } - if yyb4241 { + } + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l + } else { + yyb4240 = r.CheckBreak() + } + if yyb4240 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = SecretType(r.DecodeString()) + } + for { + yyj4240++ + if yyhl4240 { + yyb4240 = yyj4240 > l + } else { + yyb4240 = r.CheckBreak() + } + if yyb4240 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4241-1, "") + z.DecStructFieldNotFound(yyj4240-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { +func (x SecretType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym4249 := z.EncBinary() + _ = yym4249 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *SecretType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4250 := z.DecBinary() + _ = yym4250 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *SecretList) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r if x == nil { r.EncodeNil() } else { - yym4247 := z.EncBinary() - _ = yym4247 + yym4251 := z.EncBinary() + _ = yym4251 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4248 := !z.EncBinary() - yy2arr4248 := z.EncBasicHandle().StructToArray - var yyq4248 [4]bool - _, _, _ = yysep4248, yyq4248, yy2arr4248 - const yyr4248 bool = false - yyq4248[0] = x.Kind != "" - yyq4248[1] = x.APIVersion != "" - yyq4248[2] = true - var yynn4248 int - if yyr4248 || yy2arr4248 { + 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 { r.EncodeArrayStart(4) } else { - yynn4248 = 1 - for _, b := range yyq4248 { + yynn4252 = 1 + for _, b := range yyq4252 { if b { - yynn4248++ + yynn4252++ } } - r.EncodeMapStart(yynn4248) - yynn4248 = 0 + r.EncodeMapStart(yynn4252) + yynn4252 = 0 } - if yyr4248 || yy2arr4248 { + if yyr4252 || yy2arr4252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4248[0] { - yym4250 := z.EncBinary() - _ = yym4250 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4248[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4251 := z.EncBinary() - _ = yym4251 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr4248 || yy2arr4248 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4248[1] { - yym4253 := z.EncBinary() - _ = yym4253 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq4248[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq4252[0] { yym4254 := z.EncBinary() _ = yym4254 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4252[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4255 := z.EncBinary() + _ = yym4255 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4252 || yy2arr4252 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4252[1] { + yym4257 := z.EncBinary() + _ = yym4257 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4252[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4258 := z.EncBinary() + _ = yym4258 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4248 || yy2arr4248 { + if yyr4252 || yy2arr4252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4248[2] { - yy4256 := &x.ListMeta - yym4257 := z.EncBinary() - _ = yym4257 + if yyq4252[2] { + yy4260 := &x.ListMeta + yym4261 := z.EncBinary() + _ = yym4261 if false { - } else if z.HasExtensions() && z.EncExt(yy4256) { + } else if z.HasExtensions() && z.EncExt(yy4260) { } else { - z.EncFallback(yy4256) + z.EncFallback(yy4260) } } else { r.EncodeNil() } } else { - if yyq4248[2] { + if yyq4252[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4258 := &x.ListMeta - yym4259 := z.EncBinary() - _ = yym4259 + yy4262 := &x.ListMeta + yym4263 := z.EncBinary() + _ = yym4263 if false { - } else if z.HasExtensions() && z.EncExt(yy4258) { + } else if z.HasExtensions() && z.EncExt(yy4262) { } else { - z.EncFallback(yy4258) + z.EncFallback(yy4262) } } } - if yyr4248 || yy2arr4248 { + if yyr4252 || yy2arr4252 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4261 := z.EncBinary() - _ = yym4261 + yym4265 := z.EncBinary() + _ = yym4265 if false { } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + h.encSliceSecret(([]Secret)(x.Items), e) } } } else { @@ -53205,15 +53222,15 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4262 := z.EncBinary() - _ = yym4262 + yym4266 := z.EncBinary() + _ = yym4266 if false { } else { - h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + h.encSliceSecret(([]Secret)(x.Items), e) } } } - if yyr4248 || yy2arr4248 { + if yyr4252 || yy2arr4252 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53222,29 +53239,29 @@ func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { } } -func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { +func (x *SecretList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4263 := z.DecBinary() - _ = yym4263 + yym4267 := z.DecBinary() + _ = yym4267 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4264 := r.ContainerType() - if yyct4264 == codecSelferValueTypeMap1234 { - yyl4264 := r.ReadMapStart() - if yyl4264 == 0 { + yyct4268 := r.ContainerType() + if yyct4268 == codecSelferValueTypeMap1234 { + yyl4268 := r.ReadMapStart() + if yyl4268 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4264, d) + x.codecDecodeSelfFromMap(yyl4268, d) } - } else if yyct4264 == codecSelferValueTypeArray1234 { - yyl4264 := r.ReadArrayStart() - if yyl4264 == 0 { + } else if yyct4268 == codecSelferValueTypeArray1234 { + yyl4268 := r.ReadArrayStart() + if yyl4268 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4264, d) + x.codecDecodeSelfFromArray(yyl4268, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53252,16 +53269,16 @@ func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { } } -func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { +func (x *SecretList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4265Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4265Slc - var yyhl4265 bool = l >= 0 - for yyj4265 := 0; ; yyj4265++ { - if yyhl4265 { - if yyj4265 >= l { + var yys4269Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4269Slc + var yyhl4269 bool = l >= 0 + for yyj4269 := 0; ; yyj4269++ { + if yyhl4269 { + if yyj4269 >= l { break } } else { @@ -53270,10 +53287,10 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4265Slc = r.DecodeBytes(yys4265Slc, true, true) - yys4265 := string(yys4265Slc) + yys4269Slc = r.DecodeBytes(yys4269Slc, true, true) + yys4269 := string(yys4269Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4265 { + switch yys4269 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53290,48 +53307,48 @@ func (x *ConfigMapList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4268 := &x.ListMeta - yym4269 := z.DecBinary() - _ = yym4269 + yyv4272 := &x.ListMeta + yym4273 := z.DecBinary() + _ = yym4273 if false { - } else if z.HasExtensions() && z.DecExt(yyv4268) { + } else if z.HasExtensions() && z.DecExt(yyv4272) { } else { - z.DecFallback(yyv4268, false) + z.DecFallback(yyv4272, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4270 := &x.Items - yym4271 := z.DecBinary() - _ = yym4271 + yyv4274 := &x.Items + yym4275 := z.DecBinary() + _ = yym4275 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4270), d) + h.decSliceSecret((*[]Secret)(yyv4274), d) } } default: - z.DecStructFieldNotFound(-1, yys4265) - } // end switch yys4265 - } // end for yyj4265 + z.DecStructFieldNotFound(-1, yys4269) + } // end switch yys4269 + } // end for yyj4269 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } -func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { +func (x *SecretList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4272 int - var yyb4272 bool - var yyhl4272 bool = l >= 0 - yyj4272++ - if yyhl4272 { - yyb4272 = yyj4272 > l + var yyj4276 int + var yyb4276 bool + var yyhl4276 bool = l >= 0 + yyj4276++ + if yyhl4276 { + yyb4276 = yyj4276 > l } else { - yyb4272 = r.CheckBreak() + yyb4276 = r.CheckBreak() } - if yyb4272 { + if yyb4276 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53341,13 +53358,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj4272++ - if yyhl4272 { - yyb4272 = yyj4272 > l + yyj4276++ + if yyhl4276 { + yyb4276 = yyj4276 > l } else { - yyb4272 = r.CheckBreak() + yyb4276 = r.CheckBreak() } - if yyb4272 { + if yyb4276 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53357,13 +53374,13 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj4272++ - if yyhl4272 { - yyb4272 = yyj4272 > l + yyj4276++ + if yyhl4276 { + yyb4276 = yyj4276 > l } else { - yyb4272 = r.CheckBreak() + yyb4276 = r.CheckBreak() } - if yyb4272 { + if yyb4276 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53371,22 +53388,22 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4275 := &x.ListMeta - yym4276 := z.DecBinary() - _ = yym4276 + yyv4279 := &x.ListMeta + yym4280 := z.DecBinary() + _ = yym4280 if false { - } else if z.HasExtensions() && z.DecExt(yyv4275) { + } else if z.HasExtensions() && z.DecExt(yyv4279) { } else { - z.DecFallback(yyv4275, false) + z.DecFallback(yyv4279, false) } } - yyj4272++ - if yyhl4272 { - yyb4272 = yyj4272 > l + yyj4276++ + if yyhl4276 { + yyb4276 = yyj4276 > l } else { - yyb4272 = r.CheckBreak() + yyb4276 = r.CheckBreak() } - if yyb4272 { + if yyb4276 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53394,26 +53411,697 @@ func (x *ConfigMapList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4277 := &x.Items - yym4278 := z.DecBinary() - _ = yym4278 + yyv4281 := &x.Items + yym4282 := z.DecBinary() + _ = yym4282 if false { } else { - h.decSliceConfigMap((*[]ConfigMap)(yyv4277), d) + h.decSliceSecret((*[]Secret)(yyv4281), d) } } for { - yyj4272++ - if yyhl4272 { - yyb4272 = yyj4272 > l + yyj4276++ + if yyhl4276 { + yyb4276 = yyj4276 > l } else { - yyb4272 = r.CheckBreak() + yyb4276 = r.CheckBreak() } - if yyb4272 { + if yyb4276 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4272-1, "") + z.DecStructFieldNotFound(yyj4276-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMap) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4283 := z.EncBinary() + _ = yym4283 + 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 { + r.EncodeArrayStart(4) + } else { + yynn4284 = 0 + for _, b := range yyq4284 { + if b { + yynn4284++ + } + } + r.EncodeMapStart(yynn4284) + yynn4284 = 0 + } + if yyr4284 || yy2arr4284 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4284[0] { + yym4286 := z.EncBinary() + _ = yym4286 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4284[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4287 := z.EncBinary() + _ = yym4287 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4284 || yy2arr4284 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4284[1] { + yym4289 := z.EncBinary() + _ = yym4289 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4284[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4290 := z.EncBinary() + _ = yym4290 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4284 || yy2arr4284 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4284[2] { + yy4292 := &x.ObjectMeta + yy4292.CodecEncodeSelf(e) + } else { + r.EncodeNil() + } + } else { + if yyq4284[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4293 := &x.ObjectMeta + yy4293.CodecEncodeSelf(e) + } + } + if yyr4284 || yy2arr4284 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4284[3] { + if x.Data == nil { + r.EncodeNil() + } else { + yym4295 := z.EncBinary() + _ = yym4295 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq4284[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 + if false { + } else { + z.F.EncMapStringStringV(x.Data, false, e) + } + } + } + } + if yyr4284 || yy2arr4284 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMap) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4297 := z.DecBinary() + _ = yym4297 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4298 := r.ContainerType() + if yyct4298 == codecSelferValueTypeMap1234 { + yyl4298 := r.ReadMapStart() + if yyl4298 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4298, d) + } + } else if yyct4298 == codecSelferValueTypeArray1234 { + yyl4298 := r.ReadArrayStart() + if yyl4298 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4298, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4299Slc = r.DecodeBytes(yys4299Slc, true, true) + yys4299 := string(yys4299Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4299 { + 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 = ObjectMeta{} + } else { + yyv4302 := &x.ObjectMeta + yyv4302.CodecDecodeSelf(d) + } + case "data": + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4303 := &x.Data + yym4304 := z.DecBinary() + _ = yym4304 + if false { + } else { + z.F.DecMapStringStringX(yyv4303, false, d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4299) + } // end switch yys4299 + } // end for yyj4299 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4305 = r.CheckBreak() + } + if yyb4305 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj4305++ + if yyhl4305 { + yyb4305 = yyj4305 > l + } else { + yyb4305 = r.CheckBreak() + } + if yyb4305 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj4305++ + if yyhl4305 { + yyb4305 = yyj4305 > l + } else { + yyb4305 = r.CheckBreak() + } + if yyb4305 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ObjectMeta = ObjectMeta{} + } else { + yyv4308 := &x.ObjectMeta + yyv4308.CodecDecodeSelf(d) + } + yyj4305++ + if yyhl4305 { + yyb4305 = yyj4305 > l + } else { + yyb4305 = r.CheckBreak() + } + if yyb4305 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Data = nil + } else { + yyv4309 := &x.Data + yym4310 := z.DecBinary() + _ = yym4310 + if false { + } else { + z.F.DecMapStringStringX(yyv4309, false, d) + } + } + for { + yyj4305++ + if yyhl4305 { + yyb4305 = yyj4305 > l + } else { + yyb4305 = r.CheckBreak() + } + if yyb4305 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4305-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x *ConfigMapList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym4311 := z.EncBinary() + _ = yym4311 + 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 { + r.EncodeArrayStart(4) + } else { + yynn4312 = 1 + for _, b := range yyq4312 { + if b { + yynn4312++ + } + } + r.EncodeMapStart(yynn4312) + yynn4312 = 0 + } + if yyr4312 || yy2arr4312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4312[0] { + yym4314 := z.EncBinary() + _ = yym4314 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4312[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4315 := z.EncBinary() + _ = yym4315 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr4312 || yy2arr4312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4312[1] { + yym4317 := z.EncBinary() + _ = yym4317 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq4312[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym4318 := z.EncBinary() + _ = yym4318 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr4312 || yy2arr4312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq4312[2] { + yy4320 := &x.ListMeta + yym4321 := z.EncBinary() + _ = yym4321 + if false { + } else if z.HasExtensions() && z.EncExt(yy4320) { + } else { + z.EncFallback(yy4320) + } + } else { + r.EncodeNil() + } + } else { + if yyq4312[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy4322 := &x.ListMeta + yym4323 := z.EncBinary() + _ = yym4323 + if false { + } else if z.HasExtensions() && z.EncExt(yy4322) { + } else { + z.EncFallback(yy4322) + } + } + } + if yyr4312 || yy2arr4312 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym4325 := z.EncBinary() + _ = yym4325 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(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 { + yym4326 := z.EncBinary() + _ = yym4326 + if false { + } else { + h.encSliceConfigMap(([]ConfigMap)(x.Items), e) + } + } + } + if yyr4312 || yy2arr4312 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ConfigMapList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym4327 := z.DecBinary() + _ = yym4327 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct4328 := r.ContainerType() + if yyct4328 == codecSelferValueTypeMap1234 { + yyl4328 := r.ReadMapStart() + if yyl4328 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl4328, d) + } + } else if yyct4328 == codecSelferValueTypeArray1234 { + yyl4328 := r.ReadArrayStart() + if yyl4328 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl4328, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys4329Slc = r.DecodeBytes(yys4329Slc, true, true) + yys4329 := string(yys4329Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys4329 { + 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 = pkg2_unversioned.ListMeta{} + } else { + yyv4332 := &x.ListMeta + yym4333 := z.DecBinary() + _ = yym4333 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4332) { + } else { + z.DecFallback(yyv4332, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4334 := &x.Items + yym4335 := z.DecBinary() + _ = yym4335 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4334), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys4329) + } // end switch yys4329 + } // end for yyj4329 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +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 + } else { + yyb4336 = r.CheckBreak() + } + if yyb4336 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj4336++ + if yyhl4336 { + yyb4336 = yyj4336 > l + } else { + yyb4336 = r.CheckBreak() + } + if yyb4336 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj4336++ + if yyhl4336 { + yyb4336 = yyj4336 > l + } else { + yyb4336 = r.CheckBreak() + } + if yyb4336 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg2_unversioned.ListMeta{} + } else { + yyv4339 := &x.ListMeta + yym4340 := z.DecBinary() + _ = yym4340 + if false { + } else if z.HasExtensions() && z.DecExt(yyv4339) { + } else { + z.DecFallback(yyv4339, false) + } + } + yyj4336++ + if yyhl4336 { + yyb4336 = yyj4336 > l + } else { + yyb4336 = r.CheckBreak() + } + if yyb4336 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv4341 := &x.Items + yym4342 := z.DecBinary() + _ = yym4342 + if false { + } else { + h.decSliceConfigMap((*[]ConfigMap)(yyv4341), d) + } + } + for { + yyj4336++ + if yyhl4336 { + yyb4336 = yyj4336 > l + } else { + yyb4336 = r.CheckBreak() + } + if yyb4336 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj4336-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53422,8 +54110,8 @@ func (x ComponentConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym4279 := z.EncBinary() - _ = yym4279 + yym4343 := z.EncBinary() + _ = yym4343 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -53435,8 +54123,8 @@ func (x *ComponentConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4280 := z.DecBinary() - _ = yym4280 + yym4344 := z.DecBinary() + _ = yym4344 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -53451,32 +54139,32 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4281 := z.EncBinary() - _ = yym4281 + yym4345 := z.EncBinary() + _ = yym4345 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4282 := !z.EncBinary() - yy2arr4282 := z.EncBasicHandle().StructToArray - var yyq4282 [4]bool - _, _, _ = yysep4282, yyq4282, yy2arr4282 - const yyr4282 bool = false - yyq4282[2] = x.Message != "" - yyq4282[3] = x.Error != "" - var yynn4282 int - if yyr4282 || yy2arr4282 { + 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 { r.EncodeArrayStart(4) } else { - yynn4282 = 2 - for _, b := range yyq4282 { + yynn4346 = 2 + for _, b := range yyq4346 { if b { - yynn4282++ + yynn4346++ } } - r.EncodeMapStart(yynn4282) - yynn4282 = 0 + r.EncodeMapStart(yynn4346) + yynn4346 = 0 } - if yyr4282 || yy2arr4282 { + if yyr4346 || yy2arr4346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -53485,7 +54173,7 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr4282 || yy2arr4282 { + if yyr4346 || yy2arr4346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Status.CodecEncodeSelf(e) } else { @@ -53494,11 +54182,11 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Status.CodecEncodeSelf(e) } - if yyr4282 || yy2arr4282 { + if yyr4346 || yy2arr4346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4282[2] { - yym4286 := z.EncBinary() - _ = yym4286 + if yyq4346[2] { + yym4350 := z.EncBinary() + _ = yym4350 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -53507,23 +54195,23 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4282[2] { + if yyq4346[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4287 := z.EncBinary() - _ = yym4287 + yym4351 := z.EncBinary() + _ = yym4351 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr4282 || yy2arr4282 { + if yyr4346 || yy2arr4346 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4282[3] { - yym4289 := z.EncBinary() - _ = yym4289 + if yyq4346[3] { + yym4353 := z.EncBinary() + _ = yym4353 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) @@ -53532,19 +54220,19 @@ func (x *ComponentCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4282[3] { + if yyq4346[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("error")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4290 := z.EncBinary() - _ = yym4290 + yym4354 := z.EncBinary() + _ = yym4354 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Error)) } } } - if yyr4282 || yy2arr4282 { + if yyr4346 || yy2arr4346 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53557,25 +54245,25 @@ func (x *ComponentCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4291 := z.DecBinary() - _ = yym4291 + yym4355 := z.DecBinary() + _ = yym4355 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4292 := r.ContainerType() - if yyct4292 == codecSelferValueTypeMap1234 { - yyl4292 := r.ReadMapStart() - if yyl4292 == 0 { + yyct4356 := r.ContainerType() + if yyct4356 == codecSelferValueTypeMap1234 { + yyl4356 := r.ReadMapStart() + if yyl4356 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4292, d) + x.codecDecodeSelfFromMap(yyl4356, d) } - } else if yyct4292 == codecSelferValueTypeArray1234 { - yyl4292 := r.ReadArrayStart() - if yyl4292 == 0 { + } else if yyct4356 == codecSelferValueTypeArray1234 { + yyl4356 := r.ReadArrayStart() + if yyl4356 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4292, d) + x.codecDecodeSelfFromArray(yyl4356, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53587,12 +54275,12 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4293Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4293Slc - var yyhl4293 bool = l >= 0 - for yyj4293 := 0; ; yyj4293++ { - if yyhl4293 { - if yyj4293 >= l { + var yys4357Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4357Slc + var yyhl4357 bool = l >= 0 + for yyj4357 := 0; ; yyj4357++ { + if yyhl4357 { + if yyj4357 >= l { break } } else { @@ -53601,10 +54289,10 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4293Slc = r.DecodeBytes(yys4293Slc, true, true) - yys4293 := string(yys4293Slc) + yys4357Slc = r.DecodeBytes(yys4357Slc, true, true) + yys4357 := string(yys4357Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4293 { + switch yys4357 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -53630,9 +54318,9 @@ func (x *ComponentCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.Error = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4293) - } // end switch yys4293 - } // end for yyj4293 + z.DecStructFieldNotFound(-1, yys4357) + } // end switch yys4357 + } // end for yyj4357 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53640,16 +54328,16 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4298 int - var yyb4298 bool - var yyhl4298 bool = l >= 0 - yyj4298++ - if yyhl4298 { - yyb4298 = yyj4298 > l + var yyj4362 int + var yyb4362 bool + var yyhl4362 bool = l >= 0 + yyj4362++ + if yyhl4362 { + yyb4362 = yyj4362 > l } else { - yyb4298 = r.CheckBreak() + yyb4362 = r.CheckBreak() } - if yyb4298 { + if yyb4362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53659,13 +54347,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Type = ComponentConditionType(r.DecodeString()) } - yyj4298++ - if yyhl4298 { - yyb4298 = yyj4298 > l + yyj4362++ + if yyhl4362 { + yyb4362 = yyj4362 > l } else { - yyb4298 = r.CheckBreak() + yyb4362 = r.CheckBreak() } - if yyb4298 { + if yyb4362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53675,13 +54363,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Status = ConditionStatus(r.DecodeString()) } - yyj4298++ - if yyhl4298 { - yyb4298 = yyj4298 > l + yyj4362++ + if yyhl4362 { + yyb4362 = yyj4362 > l } else { - yyb4298 = r.CheckBreak() + yyb4362 = r.CheckBreak() } - if yyb4298 { + if yyb4362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53691,13 +54379,13 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode } else { x.Message = string(r.DecodeString()) } - yyj4298++ - if yyhl4298 { - yyb4298 = yyj4298 > l + yyj4362++ + if yyhl4362 { + yyb4362 = yyj4362 > l } else { - yyb4298 = r.CheckBreak() + yyb4362 = r.CheckBreak() } - if yyb4298 { + if yyb4362 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53708,17 +54396,17 @@ func (x *ComponentCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decode x.Error = string(r.DecodeString()) } for { - yyj4298++ - if yyhl4298 { - yyb4298 = yyj4298 > l + yyj4362++ + if yyhl4362 { + yyb4362 = yyj4362 > l } else { - yyb4298 = r.CheckBreak() + yyb4362 = r.CheckBreak() } - if yyb4298 { + if yyb4362 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4298-1, "") + z.DecStructFieldNotFound(yyj4362-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -53730,38 +54418,38 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4303 := z.EncBinary() - _ = yym4303 + yym4367 := z.EncBinary() + _ = yym4367 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4304 := !z.EncBinary() - yy2arr4304 := z.EncBasicHandle().StructToArray - var yyq4304 [4]bool - _, _, _ = yysep4304, yyq4304, yy2arr4304 - const yyr4304 bool = false - yyq4304[0] = x.Kind != "" - yyq4304[1] = x.APIVersion != "" - yyq4304[2] = true - yyq4304[3] = len(x.Conditions) != 0 - var yynn4304 int - if yyr4304 || yy2arr4304 { + 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 { r.EncodeArrayStart(4) } else { - yynn4304 = 0 - for _, b := range yyq4304 { + yynn4368 = 0 + for _, b := range yyq4368 { if b { - yynn4304++ + yynn4368++ } } - r.EncodeMapStart(yynn4304) - yynn4304 = 0 + r.EncodeMapStart(yynn4368) + yynn4368 = 0 } - if yyr4304 || yy2arr4304 { + if yyr4368 || yy2arr4368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4304[0] { - yym4306 := z.EncBinary() - _ = yym4306 + if yyq4368[0] { + yym4370 := z.EncBinary() + _ = yym4370 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -53770,23 +54458,23 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4304[0] { + if yyq4368[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4307 := z.EncBinary() - _ = yym4307 + yym4371 := z.EncBinary() + _ = yym4371 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4304 || yy2arr4304 { + if yyr4368 || yy2arr4368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4304[1] { - yym4309 := z.EncBinary() - _ = yym4309 + if yyq4368[1] { + yym4373 := z.EncBinary() + _ = yym4373 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -53795,43 +54483,43 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4304[1] { + if yyq4368[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4310 := z.EncBinary() - _ = yym4310 + yym4374 := z.EncBinary() + _ = yym4374 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4304 || yy2arr4304 { + if yyr4368 || yy2arr4368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4304[2] { - yy4312 := &x.ObjectMeta - yy4312.CodecEncodeSelf(e) + if yyq4368[2] { + yy4376 := &x.ObjectMeta + yy4376.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4304[2] { + if yyq4368[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4313 := &x.ObjectMeta - yy4313.CodecEncodeSelf(e) + yy4377 := &x.ObjectMeta + yy4377.CodecEncodeSelf(e) } } - if yyr4304 || yy2arr4304 { + if yyr4368 || yy2arr4368 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4304[3] { + if yyq4368[3] { if x.Conditions == nil { r.EncodeNil() } else { - yym4315 := z.EncBinary() - _ = yym4315 + yym4379 := z.EncBinary() + _ = yym4379 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -53841,15 +54529,15 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4304[3] { + if yyq4368[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym4316 := z.EncBinary() - _ = yym4316 + yym4380 := z.EncBinary() + _ = yym4380 if false { } else { h.encSliceComponentCondition(([]ComponentCondition)(x.Conditions), e) @@ -53857,7 +54545,7 @@ func (x *ComponentStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4304 || yy2arr4304 { + if yyr4368 || yy2arr4368 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -53870,25 +54558,25 @@ func (x *ComponentStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4317 := z.DecBinary() - _ = yym4317 + yym4381 := z.DecBinary() + _ = yym4381 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4318 := r.ContainerType() - if yyct4318 == codecSelferValueTypeMap1234 { - yyl4318 := r.ReadMapStart() - if yyl4318 == 0 { + yyct4382 := r.ContainerType() + if yyct4382 == codecSelferValueTypeMap1234 { + yyl4382 := r.ReadMapStart() + if yyl4382 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4318, d) + x.codecDecodeSelfFromMap(yyl4382, d) } - } else if yyct4318 == codecSelferValueTypeArray1234 { - yyl4318 := r.ReadArrayStart() - if yyl4318 == 0 { + } else if yyct4382 == codecSelferValueTypeArray1234 { + yyl4382 := r.ReadArrayStart() + if yyl4382 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4318, d) + x.codecDecodeSelfFromArray(yyl4382, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -53900,12 +54588,12 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4319Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4319Slc - var yyhl4319 bool = l >= 0 - for yyj4319 := 0; ; yyj4319++ { - if yyhl4319 { - if yyj4319 >= l { + var yys4383Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4383Slc + var yyhl4383 bool = l >= 0 + for yyj4383 := 0; ; yyj4383++ { + if yyhl4383 { + if yyj4383 >= l { break } } else { @@ -53914,10 +54602,10 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4319Slc = r.DecodeBytes(yys4319Slc, true, true) - yys4319 := string(yys4319Slc) + yys4383Slc = r.DecodeBytes(yys4383Slc, true, true) + yys4383 := string(yys4383Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4319 { + switch yys4383 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -53934,25 +54622,25 @@ func (x *ComponentStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4322 := &x.ObjectMeta - yyv4322.CodecDecodeSelf(d) + yyv4386 := &x.ObjectMeta + yyv4386.CodecDecodeSelf(d) } case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4323 := &x.Conditions - yym4324 := z.DecBinary() - _ = yym4324 + yyv4387 := &x.Conditions + yym4388 := z.DecBinary() + _ = yym4388 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4323), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4387), d) } } default: - z.DecStructFieldNotFound(-1, yys4319) - } // end switch yys4319 - } // end for yyj4319 + z.DecStructFieldNotFound(-1, yys4383) + } // end switch yys4383 + } // end for yyj4383 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -53960,16 +54648,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4325 int - var yyb4325 bool - var yyhl4325 bool = l >= 0 - yyj4325++ - if yyhl4325 { - yyb4325 = yyj4325 > l + var yyj4389 int + var yyb4389 bool + var yyhl4389 bool = l >= 0 + yyj4389++ + if yyhl4389 { + yyb4389 = yyj4389 > l } else { - yyb4325 = r.CheckBreak() + yyb4389 = r.CheckBreak() } - if yyb4325 { + if yyb4389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53979,13 +54667,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4325++ - if yyhl4325 { - yyb4325 = yyj4325 > l + yyj4389++ + if yyhl4389 { + yyb4389 = yyj4389 > l } else { - yyb4325 = r.CheckBreak() + yyb4389 = r.CheckBreak() } - if yyb4325 { + if yyb4389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -53995,13 +54683,13 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4325++ - if yyhl4325 { - yyb4325 = yyj4325 > l + yyj4389++ + if yyhl4389 { + yyb4389 = yyj4389 > l } else { - yyb4325 = r.CheckBreak() + yyb4389 = r.CheckBreak() } - if yyb4325 { + if yyb4389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54009,16 +54697,16 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4328 := &x.ObjectMeta - yyv4328.CodecDecodeSelf(d) + yyv4392 := &x.ObjectMeta + yyv4392.CodecDecodeSelf(d) } - yyj4325++ - if yyhl4325 { - yyb4325 = yyj4325 > l + yyj4389++ + if yyhl4389 { + yyb4389 = yyj4389 > l } else { - yyb4325 = r.CheckBreak() + yyb4389 = r.CheckBreak() } - if yyb4325 { + if yyb4389 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54026,26 +54714,26 @@ func (x *ComponentStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv4329 := &x.Conditions - yym4330 := z.DecBinary() - _ = yym4330 + yyv4393 := &x.Conditions + yym4394 := z.DecBinary() + _ = yym4394 if false { } else { - h.decSliceComponentCondition((*[]ComponentCondition)(yyv4329), d) + h.decSliceComponentCondition((*[]ComponentCondition)(yyv4393), d) } } for { - yyj4325++ - if yyhl4325 { - yyb4325 = yyj4325 > l + yyj4389++ + if yyhl4389 { + yyb4389 = yyj4389 > l } else { - yyb4325 = r.CheckBreak() + yyb4389 = r.CheckBreak() } - if yyb4325 { + if yyb4389 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4325-1, "") + z.DecStructFieldNotFound(yyj4389-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54057,37 +54745,37 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4331 := z.EncBinary() - _ = yym4331 + yym4395 := z.EncBinary() + _ = yym4395 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4332 := !z.EncBinary() - yy2arr4332 := z.EncBasicHandle().StructToArray - var yyq4332 [4]bool - _, _, _ = yysep4332, yyq4332, yy2arr4332 - const yyr4332 bool = false - yyq4332[0] = x.Kind != "" - yyq4332[1] = x.APIVersion != "" - yyq4332[2] = true - var yynn4332 int - if yyr4332 || yy2arr4332 { + 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 { r.EncodeArrayStart(4) } else { - yynn4332 = 1 - for _, b := range yyq4332 { + yynn4396 = 1 + for _, b := range yyq4396 { if b { - yynn4332++ + yynn4396++ } } - r.EncodeMapStart(yynn4332) - yynn4332 = 0 + r.EncodeMapStart(yynn4396) + yynn4396 = 0 } - if yyr4332 || yy2arr4332 { + if yyr4396 || yy2arr4396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4332[0] { - yym4334 := z.EncBinary() - _ = yym4334 + if yyq4396[0] { + yym4398 := z.EncBinary() + _ = yym4398 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -54096,23 +54784,23 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4332[0] { + if yyq4396[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4335 := z.EncBinary() - _ = yym4335 + yym4399 := z.EncBinary() + _ = yym4399 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4332 || yy2arr4332 { + if yyr4396 || yy2arr4396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4332[1] { - yym4337 := z.EncBinary() - _ = yym4337 + if yyq4396[1] { + yym4401 := z.EncBinary() + _ = yym4401 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -54121,54 +54809,54 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4332[1] { + if yyq4396[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4338 := z.EncBinary() - _ = yym4338 + yym4402 := z.EncBinary() + _ = yym4402 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4332 || yy2arr4332 { + if yyr4396 || yy2arr4396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4332[2] { - yy4340 := &x.ListMeta - yym4341 := z.EncBinary() - _ = yym4341 + if yyq4396[2] { + yy4404 := &x.ListMeta + yym4405 := z.EncBinary() + _ = yym4405 if false { - } else if z.HasExtensions() && z.EncExt(yy4340) { + } else if z.HasExtensions() && z.EncExt(yy4404) { } else { - z.EncFallback(yy4340) + z.EncFallback(yy4404) } } else { r.EncodeNil() } } else { - if yyq4332[2] { + if yyq4396[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4342 := &x.ListMeta - yym4343 := z.EncBinary() - _ = yym4343 + yy4406 := &x.ListMeta + yym4407 := z.EncBinary() + _ = yym4407 if false { - } else if z.HasExtensions() && z.EncExt(yy4342) { + } else if z.HasExtensions() && z.EncExt(yy4406) { } else { - z.EncFallback(yy4342) + z.EncFallback(yy4406) } } } - if yyr4332 || yy2arr4332 { + if yyr4396 || yy2arr4396 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym4345 := z.EncBinary() - _ = yym4345 + yym4409 := z.EncBinary() + _ = yym4409 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) @@ -54181,15 +54869,15 @@ func (x *ComponentStatusList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym4346 := z.EncBinary() - _ = yym4346 + yym4410 := z.EncBinary() + _ = yym4410 if false { } else { h.encSliceComponentStatus(([]ComponentStatus)(x.Items), e) } } } - if yyr4332 || yy2arr4332 { + if yyr4396 || yy2arr4396 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54202,25 +54890,25 @@ func (x *ComponentStatusList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4347 := z.DecBinary() - _ = yym4347 + yym4411 := z.DecBinary() + _ = yym4411 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4348 := r.ContainerType() - if yyct4348 == codecSelferValueTypeMap1234 { - yyl4348 := r.ReadMapStart() - if yyl4348 == 0 { + yyct4412 := r.ContainerType() + if yyct4412 == codecSelferValueTypeMap1234 { + yyl4412 := r.ReadMapStart() + if yyl4412 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4348, d) + x.codecDecodeSelfFromMap(yyl4412, d) } - } else if yyct4348 == codecSelferValueTypeArray1234 { - yyl4348 := r.ReadArrayStart() - if yyl4348 == 0 { + } else if yyct4412 == codecSelferValueTypeArray1234 { + yyl4412 := r.ReadArrayStart() + if yyl4412 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4348, d) + x.codecDecodeSelfFromArray(yyl4412, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54232,12 +54920,12 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4349Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4349Slc - var yyhl4349 bool = l >= 0 - for yyj4349 := 0; ; yyj4349++ { - if yyhl4349 { - if yyj4349 >= l { + var yys4413Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4413Slc + var yyhl4413 bool = l >= 0 + for yyj4413 := 0; ; yyj4413++ { + if yyhl4413 { + if yyj4413 >= l { break } } else { @@ -54246,10 +54934,10 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4349Slc = r.DecodeBytes(yys4349Slc, true, true) - yys4349 := string(yys4349Slc) + yys4413Slc = r.DecodeBytes(yys4413Slc, true, true) + yys4413 := string(yys4413Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4349 { + switch yys4413 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -54266,31 +54954,31 @@ func (x *ComponentStatusList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4352 := &x.ListMeta - yym4353 := z.DecBinary() - _ = yym4353 + yyv4416 := &x.ListMeta + yym4417 := z.DecBinary() + _ = yym4417 if false { - } else if z.HasExtensions() && z.DecExt(yyv4352) { + } else if z.HasExtensions() && z.DecExt(yyv4416) { } else { - z.DecFallback(yyv4352, false) + z.DecFallback(yyv4416, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4354 := &x.Items - yym4355 := z.DecBinary() - _ = yym4355 + yyv4418 := &x.Items + yym4419 := z.DecBinary() + _ = yym4419 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4354), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4418), d) } } default: - z.DecStructFieldNotFound(-1, yys4349) - } // end switch yys4349 - } // end for yyj4349 + z.DecStructFieldNotFound(-1, yys4413) + } // end switch yys4413 + } // end for yyj4413 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54298,16 +54986,16 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4356 int - var yyb4356 bool - var yyhl4356 bool = l >= 0 - yyj4356++ - if yyhl4356 { - yyb4356 = yyj4356 > l + var yyj4420 int + var yyb4420 bool + var yyhl4420 bool = l >= 0 + yyj4420++ + if yyhl4420 { + yyb4420 = yyj4420 > l } else { - yyb4356 = r.CheckBreak() + yyb4420 = r.CheckBreak() } - if yyb4356 { + if yyb4420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54317,13 +55005,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.Kind = string(r.DecodeString()) } - yyj4356++ - if yyhl4356 { - yyb4356 = yyj4356 > l + yyj4420++ + if yyhl4420 { + yyb4420 = yyj4420 > l } else { - yyb4356 = r.CheckBreak() + yyb4420 = r.CheckBreak() } - if yyb4356 { + if yyb4420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54333,13 +55021,13 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod } else { x.APIVersion = string(r.DecodeString()) } - yyj4356++ - if yyhl4356 { - yyb4356 = yyj4356 > l + yyj4420++ + if yyhl4420 { + yyb4420 = yyj4420 > l } else { - yyb4356 = r.CheckBreak() + yyb4420 = r.CheckBreak() } - if yyb4356 { + if yyb4420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54347,22 +55035,22 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg2_unversioned.ListMeta{} } else { - yyv4359 := &x.ListMeta - yym4360 := z.DecBinary() - _ = yym4360 + yyv4423 := &x.ListMeta + yym4424 := z.DecBinary() + _ = yym4424 if false { - } else if z.HasExtensions() && z.DecExt(yyv4359) { + } else if z.HasExtensions() && z.DecExt(yyv4423) { } else { - z.DecFallback(yyv4359, false) + z.DecFallback(yyv4423, false) } } - yyj4356++ - if yyhl4356 { - yyb4356 = yyj4356 > l + yyj4420++ + if yyhl4420 { + yyb4420 = yyj4420 > l } else { - yyb4356 = r.CheckBreak() + yyb4420 = r.CheckBreak() } - if yyb4356 { + if yyb4420 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54370,26 +55058,26 @@ func (x *ComponentStatusList) codecDecodeSelfFromArray(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4361 := &x.Items - yym4362 := z.DecBinary() - _ = yym4362 + yyv4425 := &x.Items + yym4426 := z.DecBinary() + _ = yym4426 if false { } else { - h.decSliceComponentStatus((*[]ComponentStatus)(yyv4361), d) + h.decSliceComponentStatus((*[]ComponentStatus)(yyv4425), d) } } for { - yyj4356++ - if yyhl4356 { - yyb4356 = yyj4356 > l + yyj4420++ + if yyhl4420 { + yyb4420 = yyj4420 > l } else { - yyb4356 = r.CheckBreak() + yyb4420 = r.CheckBreak() } - if yyb4356 { + if yyb4420 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4356-1, "") + z.DecStructFieldNotFound(yyj4420-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54401,39 +55089,39 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4363 := z.EncBinary() - _ = yym4363 + yym4427 := z.EncBinary() + _ = yym4427 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4364 := !z.EncBinary() - yy2arr4364 := z.EncBasicHandle().StructToArray - var yyq4364 [2]bool - _, _, _ = yysep4364, yyq4364, yy2arr4364 - const yyr4364 bool = false - yyq4364[0] = len(x.Items) != 0 - yyq4364[1] = x.DefaultMode != nil - var yynn4364 int - if yyr4364 || yy2arr4364 { + 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 { r.EncodeArrayStart(2) } else { - yynn4364 = 0 - for _, b := range yyq4364 { + yynn4428 = 0 + for _, b := range yyq4428 { if b { - yynn4364++ + yynn4428++ } } - r.EncodeMapStart(yynn4364) - yynn4364 = 0 + r.EncodeMapStart(yynn4428) + yynn4428 = 0 } - if yyr4364 || yy2arr4364 { + if yyr4428 || yy2arr4428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4364[0] { + if yyq4428[0] { if x.Items == nil { r.EncodeNil() } else { - yym4366 := z.EncBinary() - _ = yym4366 + yym4430 := z.EncBinary() + _ = yym4430 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -54443,15 +55131,15 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4364[0] { + if yyq4428[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("items")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Items == nil { r.EncodeNil() } else { - yym4367 := z.EncBinary() - _ = yym4367 + yym4431 := z.EncBinary() + _ = yym4431 if false { } else { h.encSliceDownwardAPIVolumeFile(([]DownwardAPIVolumeFile)(x.Items), e) @@ -54459,42 +55147,42 @@ func (x *DownwardAPIVolumeSource) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4364 || yy2arr4364 { + if yyr4428 || yy2arr4428 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4364[1] { + if yyq4428[1] { if x.DefaultMode == nil { r.EncodeNil() } else { - yy4369 := *x.DefaultMode - yym4370 := z.EncBinary() - _ = yym4370 + yy4433 := *x.DefaultMode + yym4434 := z.EncBinary() + _ = yym4434 if false { } else { - r.EncodeInt(int64(yy4369)) + r.EncodeInt(int64(yy4433)) } } } else { r.EncodeNil() } } else { - if yyq4364[1] { + if yyq4428[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultMode == nil { r.EncodeNil() } else { - yy4371 := *x.DefaultMode - yym4372 := z.EncBinary() - _ = yym4372 + yy4435 := *x.DefaultMode + yym4436 := z.EncBinary() + _ = yym4436 if false { } else { - r.EncodeInt(int64(yy4371)) + r.EncodeInt(int64(yy4435)) } } } } - if yyr4364 || yy2arr4364 { + if yyr4428 || yy2arr4428 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54507,25 +55195,25 @@ func (x *DownwardAPIVolumeSource) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4373 := z.DecBinary() - _ = yym4373 + yym4437 := z.DecBinary() + _ = yym4437 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4374 := r.ContainerType() - if yyct4374 == codecSelferValueTypeMap1234 { - yyl4374 := r.ReadMapStart() - if yyl4374 == 0 { + yyct4438 := r.ContainerType() + if yyct4438 == codecSelferValueTypeMap1234 { + yyl4438 := r.ReadMapStart() + if yyl4438 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4374, d) + x.codecDecodeSelfFromMap(yyl4438, d) } - } else if yyct4374 == codecSelferValueTypeArray1234 { - yyl4374 := r.ReadArrayStart() - if yyl4374 == 0 { + } else if yyct4438 == codecSelferValueTypeArray1234 { + yyl4438 := r.ReadArrayStart() + if yyl4438 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4374, d) + x.codecDecodeSelfFromArray(yyl4438, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54537,12 +55225,12 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4375Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4375Slc - var yyhl4375 bool = l >= 0 - for yyj4375 := 0; ; yyj4375++ { - if yyhl4375 { - if yyj4375 >= l { + var yys4439Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4439Slc + var yyhl4439 bool = l >= 0 + for yyj4439 := 0; ; yyj4439++ { + if yyhl4439 { + if yyj4439 >= l { break } } else { @@ -54551,20 +55239,20 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4375Slc = r.DecodeBytes(yys4375Slc, true, true) - yys4375 := string(yys4375Slc) + yys4439Slc = r.DecodeBytes(yys4439Slc, true, true) + yys4439 := string(yys4439Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4375 { + switch yys4439 { case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4376 := &x.Items - yym4377 := z.DecBinary() - _ = yym4377 + yyv4440 := &x.Items + yym4441 := z.DecBinary() + _ = yym4441 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4376), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4440), d) } } case "defaultMode": @@ -54576,17 +55264,17 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromMap(l int, d *codec1978.Dec if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym4379 := z.DecBinary() - _ = yym4379 + yym4443 := z.DecBinary() + _ = yym4443 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys4375) - } // end switch yys4375 - } // end for yyj4375 + z.DecStructFieldNotFound(-1, yys4439) + } // end switch yys4439 + } // end for yyj4439 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54594,16 +55282,16 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4380 int - var yyb4380 bool - var yyhl4380 bool = l >= 0 - yyj4380++ - if yyhl4380 { - yyb4380 = yyj4380 > l + var yyj4444 int + var yyb4444 bool + var yyhl4444 bool = l >= 0 + yyj4444++ + if yyhl4444 { + yyb4444 = yyj4444 > l } else { - yyb4380 = r.CheckBreak() + yyb4444 = r.CheckBreak() } - if yyb4380 { + if yyb4444 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54611,21 +55299,21 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if r.TryDecodeAsNil() { x.Items = nil } else { - yyv4381 := &x.Items - yym4382 := z.DecBinary() - _ = yym4382 + yyv4445 := &x.Items + yym4446 := z.DecBinary() + _ = yym4446 if false { } else { - h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4381), d) + h.decSliceDownwardAPIVolumeFile((*[]DownwardAPIVolumeFile)(yyv4445), d) } } - yyj4380++ - if yyhl4380 { - yyb4380 = yyj4380 > l + yyj4444++ + if yyhl4444 { + yyb4444 = yyj4444 > l } else { - yyb4380 = r.CheckBreak() + yyb4444 = r.CheckBreak() } - if yyb4380 { + if yyb4444 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54638,25 +55326,25 @@ func (x *DownwardAPIVolumeSource) codecDecodeSelfFromArray(l int, d *codec1978.D if x.DefaultMode == nil { x.DefaultMode = new(int32) } - yym4384 := z.DecBinary() - _ = yym4384 + yym4448 := z.DecBinary() + _ = yym4448 if false { } else { *((*int32)(x.DefaultMode)) = int32(r.DecodeInt(32)) } } for { - yyj4380++ - if yyhl4380 { - yyb4380 = yyj4380 > l + yyj4444++ + if yyhl4444 { + yyb4444 = yyj4444 > l } else { - yyb4380 = r.CheckBreak() + yyb4444 = r.CheckBreak() } - if yyb4380 { + if yyb4444 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4380-1, "") + z.DecStructFieldNotFound(yyj4444-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -54668,36 +55356,36 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4385 := z.EncBinary() - _ = yym4385 + yym4449 := z.EncBinary() + _ = yym4449 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4386 := !z.EncBinary() - yy2arr4386 := z.EncBasicHandle().StructToArray - var yyq4386 [4]bool - _, _, _ = yysep4386, yyq4386, yy2arr4386 - const yyr4386 bool = false - yyq4386[1] = x.FieldRef != nil - yyq4386[2] = x.ResourceFieldRef != nil - yyq4386[3] = x.Mode != nil - var yynn4386 int - if yyr4386 || yy2arr4386 { + 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 { r.EncodeArrayStart(4) } else { - yynn4386 = 1 - for _, b := range yyq4386 { + yynn4450 = 1 + for _, b := range yyq4450 { if b { - yynn4386++ + yynn4450++ } } - r.EncodeMapStart(yynn4386) - yynn4386 = 0 + r.EncodeMapStart(yynn4450) + yynn4450 = 0 } - if yyr4386 || yy2arr4386 { + if yyr4450 || yy2arr4450 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4388 := z.EncBinary() - _ = yym4388 + yym4452 := z.EncBinary() + _ = yym4452 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -54706,16 +55394,16 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4389 := z.EncBinary() - _ = yym4389 + yym4453 := z.EncBinary() + _ = yym4453 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } - if yyr4386 || yy2arr4386 { + if yyr4450 || yy2arr4450 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4386[1] { + if yyq4450[1] { if x.FieldRef == nil { r.EncodeNil() } else { @@ -54725,7 +55413,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4386[1] { + if yyq4450[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -54736,9 +55424,9 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4386 || yy2arr4386 { + if yyr4450 || yy2arr4450 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4386[2] { + if yyq4450[2] { if x.ResourceFieldRef == nil { r.EncodeNil() } else { @@ -54748,7 +55436,7 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4386[2] { + if yyq4450[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("resourceFieldRef")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -54759,42 +55447,42 @@ func (x *DownwardAPIVolumeFile) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4386 || yy2arr4386 { + if yyr4450 || yy2arr4450 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4386[3] { + if yyq4450[3] { if x.Mode == nil { r.EncodeNil() } else { - yy4393 := *x.Mode - yym4394 := z.EncBinary() - _ = yym4394 + yy4457 := *x.Mode + yym4458 := z.EncBinary() + _ = yym4458 if false { } else { - r.EncodeInt(int64(yy4393)) + r.EncodeInt(int64(yy4457)) } } } else { r.EncodeNil() } } else { - if yyq4386[3] { + if yyq4450[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("mode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Mode == nil { r.EncodeNil() } else { - yy4395 := *x.Mode - yym4396 := z.EncBinary() - _ = yym4396 + yy4459 := *x.Mode + yym4460 := z.EncBinary() + _ = yym4460 if false { } else { - r.EncodeInt(int64(yy4395)) + r.EncodeInt(int64(yy4459)) } } } } - if yyr4386 || yy2arr4386 { + if yyr4450 || yy2arr4450 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -54807,25 +55495,25 @@ func (x *DownwardAPIVolumeFile) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4397 := z.DecBinary() - _ = yym4397 + yym4461 := z.DecBinary() + _ = yym4461 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4398 := r.ContainerType() - if yyct4398 == codecSelferValueTypeMap1234 { - yyl4398 := r.ReadMapStart() - if yyl4398 == 0 { + yyct4462 := r.ContainerType() + if yyct4462 == codecSelferValueTypeMap1234 { + yyl4462 := r.ReadMapStart() + if yyl4462 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4398, d) + x.codecDecodeSelfFromMap(yyl4462, d) } - } else if yyct4398 == codecSelferValueTypeArray1234 { - yyl4398 := r.ReadArrayStart() - if yyl4398 == 0 { + } else if yyct4462 == codecSelferValueTypeArray1234 { + yyl4462 := r.ReadArrayStart() + if yyl4462 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4398, d) + x.codecDecodeSelfFromArray(yyl4462, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -54837,12 +55525,12 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4399Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4399Slc - var yyhl4399 bool = l >= 0 - for yyj4399 := 0; ; yyj4399++ { - if yyhl4399 { - if yyj4399 >= l { + var yys4463Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4463Slc + var yyhl4463 bool = l >= 0 + for yyj4463 := 0; ; yyj4463++ { + if yyhl4463 { + if yyj4463 >= l { break } } else { @@ -54851,10 +55539,10 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4399Slc = r.DecodeBytes(yys4399Slc, true, true) - yys4399 := string(yys4399Slc) + yys4463Slc = r.DecodeBytes(yys4463Slc, true, true) + yys4463 := string(yys4463Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4399 { + switch yys4463 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -54892,17 +55580,17 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromMap(l int, d *codec1978.Decod if x.Mode == nil { x.Mode = new(int32) } - yym4404 := z.DecBinary() - _ = yym4404 + yym4468 := z.DecBinary() + _ = yym4468 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } default: - z.DecStructFieldNotFound(-1, yys4399) - } // end switch yys4399 - } // end for yyj4399 + z.DecStructFieldNotFound(-1, yys4463) + } // end switch yys4463 + } // end for yyj4463 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -54910,16 +55598,16 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4405 int - var yyb4405 bool - var yyhl4405 bool = l >= 0 - yyj4405++ - if yyhl4405 { - yyb4405 = yyj4405 > l + var yyj4469 int + var yyb4469 bool + var yyhl4469 bool = l >= 0 + yyj4469++ + if yyhl4469 { + yyb4469 = yyj4469 > l } else { - yyb4405 = r.CheckBreak() + yyb4469 = r.CheckBreak() } - if yyb4405 { + if yyb4469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54929,13 +55617,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Path = string(r.DecodeString()) } - yyj4405++ - if yyhl4405 { - yyb4405 = yyj4405 > l + yyj4469++ + if yyhl4469 { + yyb4469 = yyj4469 > l } else { - yyb4405 = r.CheckBreak() + yyb4469 = r.CheckBreak() } - if yyb4405 { + if yyb4469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54950,13 +55638,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.FieldRef.CodecDecodeSelf(d) } - yyj4405++ - if yyhl4405 { - yyb4405 = yyj4405 > l + yyj4469++ + if yyhl4469 { + yyb4469 = yyj4469 > l } else { - yyb4405 = r.CheckBreak() + yyb4469 = r.CheckBreak() } - if yyb4405 { + if yyb4469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54971,13 +55659,13 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec } x.ResourceFieldRef.CodecDecodeSelf(d) } - yyj4405++ - if yyhl4405 { - yyb4405 = yyj4405 > l + yyj4469++ + if yyhl4469 { + yyb4469 = yyj4469 > l } else { - yyb4405 = r.CheckBreak() + yyb4469 = r.CheckBreak() } - if yyb4405 { + if yyb4469 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -54990,25 +55678,25 @@ func (x *DownwardAPIVolumeFile) codecDecodeSelfFromArray(l int, d *codec1978.Dec if x.Mode == nil { x.Mode = new(int32) } - yym4410 := z.DecBinary() - _ = yym4410 + yym4474 := z.DecBinary() + _ = yym4474 if false { } else { *((*int32)(x.Mode)) = int32(r.DecodeInt(32)) } } for { - yyj4405++ - if yyhl4405 { - yyb4405 = yyj4405 > l + yyj4469++ + if yyhl4469 { + yyb4469 = yyj4469 > l } else { - yyb4405 = r.CheckBreak() + yyb4469 = r.CheckBreak() } - if yyb4405 { + if yyb4469 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4405-1, "") + z.DecStructFieldNotFound(yyj4469-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55020,38 +55708,38 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4411 := z.EncBinary() - _ = yym4411 + yym4475 := z.EncBinary() + _ = yym4475 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4412 := !z.EncBinary() - yy2arr4412 := z.EncBasicHandle().StructToArray - var yyq4412 [6]bool - _, _, _ = yysep4412, yyq4412, yy2arr4412 - const yyr4412 bool = false - yyq4412[0] = x.Capabilities != nil - yyq4412[1] = x.Privileged != nil - yyq4412[2] = x.SELinuxOptions != nil - yyq4412[3] = x.RunAsUser != nil - yyq4412[4] = x.RunAsNonRoot != nil - yyq4412[5] = x.ReadOnlyRootFilesystem != nil - var yynn4412 int - if yyr4412 || yy2arr4412 { + 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 { r.EncodeArrayStart(6) } else { - yynn4412 = 0 - for _, b := range yyq4412 { + yynn4476 = 0 + for _, b := range yyq4476 { if b { - yynn4412++ + yynn4476++ } } - r.EncodeMapStart(yynn4412) - yynn4412 = 0 + r.EncodeMapStart(yynn4476) + yynn4476 = 0 } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4412[0] { + if yyq4476[0] { if x.Capabilities == nil { r.EncodeNil() } else { @@ -55061,7 +55749,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4412[0] { + if yyq4476[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("capabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55072,44 +55760,44 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4412[1] { + if yyq4476[1] { if x.Privileged == nil { r.EncodeNil() } else { - yy4415 := *x.Privileged - yym4416 := z.EncBinary() - _ = yym4416 + yy4479 := *x.Privileged + yym4480 := z.EncBinary() + _ = yym4480 if false { } else { - r.EncodeBool(bool(yy4415)) + r.EncodeBool(bool(yy4479)) } } } else { r.EncodeNil() } } else { - if yyq4412[1] { + if yyq4476[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Privileged == nil { r.EncodeNil() } else { - yy4417 := *x.Privileged - yym4418 := z.EncBinary() - _ = yym4418 + yy4481 := *x.Privileged + yym4482 := z.EncBinary() + _ = yym4482 if false { } else { - r.EncodeBool(bool(yy4417)) + r.EncodeBool(bool(yy4481)) } } } } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4412[2] { + if yyq4476[2] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -55119,7 +55807,7 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq4412[2] { + if yyq4476[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -55130,112 +55818,112 @@ func (x *SecurityContext) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4412[3] { + if yyq4476[3] { if x.RunAsUser == nil { r.EncodeNil() } else { - yy4421 := *x.RunAsUser - yym4422 := z.EncBinary() - _ = yym4422 + yy4485 := *x.RunAsUser + yym4486 := z.EncBinary() + _ = yym4486 if false { } else { - r.EncodeInt(int64(yy4421)) + r.EncodeInt(int64(yy4485)) } } } else { r.EncodeNil() } } else { - if yyq4412[3] { + if yyq4476[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsUser == nil { r.EncodeNil() } else { - yy4423 := *x.RunAsUser - yym4424 := z.EncBinary() - _ = yym4424 + yy4487 := *x.RunAsUser + yym4488 := z.EncBinary() + _ = yym4488 if false { } else { - r.EncodeInt(int64(yy4423)) + r.EncodeInt(int64(yy4487)) } } } } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4412[4] { + if yyq4476[4] { if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4426 := *x.RunAsNonRoot - yym4427 := z.EncBinary() - _ = yym4427 + yy4490 := *x.RunAsNonRoot + yym4491 := z.EncBinary() + _ = yym4491 if false { } else { - r.EncodeBool(bool(yy4426)) + r.EncodeBool(bool(yy4490)) } } } else { r.EncodeNil() } } else { - if yyq4412[4] { + if yyq4476[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsNonRoot")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RunAsNonRoot == nil { r.EncodeNil() } else { - yy4428 := *x.RunAsNonRoot - yym4429 := z.EncBinary() - _ = yym4429 + yy4492 := *x.RunAsNonRoot + yym4493 := z.EncBinary() + _ = yym4493 if false { } else { - r.EncodeBool(bool(yy4428)) + r.EncodeBool(bool(yy4492)) } } } } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4412[5] { + if yyq4476[5] { if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4431 := *x.ReadOnlyRootFilesystem - yym4432 := z.EncBinary() - _ = yym4432 + yy4495 := *x.ReadOnlyRootFilesystem + yym4496 := z.EncBinary() + _ = yym4496 if false { } else { - r.EncodeBool(bool(yy4431)) + r.EncodeBool(bool(yy4495)) } } } else { r.EncodeNil() } } else { - if yyq4412[5] { + if yyq4476[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.ReadOnlyRootFilesystem == nil { r.EncodeNil() } else { - yy4433 := *x.ReadOnlyRootFilesystem - yym4434 := z.EncBinary() - _ = yym4434 + yy4497 := *x.ReadOnlyRootFilesystem + yym4498 := z.EncBinary() + _ = yym4498 if false { } else { - r.EncodeBool(bool(yy4433)) + r.EncodeBool(bool(yy4497)) } } } } - if yyr4412 || yy2arr4412 { + if yyr4476 || yy2arr4476 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55248,25 +55936,25 @@ func (x *SecurityContext) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4435 := z.DecBinary() - _ = yym4435 + yym4499 := z.DecBinary() + _ = yym4499 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4436 := r.ContainerType() - if yyct4436 == codecSelferValueTypeMap1234 { - yyl4436 := r.ReadMapStart() - if yyl4436 == 0 { + yyct4500 := r.ContainerType() + if yyct4500 == codecSelferValueTypeMap1234 { + yyl4500 := r.ReadMapStart() + if yyl4500 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4436, d) + x.codecDecodeSelfFromMap(yyl4500, d) } - } else if yyct4436 == codecSelferValueTypeArray1234 { - yyl4436 := r.ReadArrayStart() - if yyl4436 == 0 { + } else if yyct4500 == codecSelferValueTypeArray1234 { + yyl4500 := r.ReadArrayStart() + if yyl4500 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4436, d) + x.codecDecodeSelfFromArray(yyl4500, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55278,12 +55966,12 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4437Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4437Slc - var yyhl4437 bool = l >= 0 - for yyj4437 := 0; ; yyj4437++ { - if yyhl4437 { - if yyj4437 >= l { + var yys4501Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4501Slc + var yyhl4501 bool = l >= 0 + for yyj4501 := 0; ; yyj4501++ { + if yyhl4501 { + if yyj4501 >= l { break } } else { @@ -55292,10 +55980,10 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4437Slc = r.DecodeBytes(yys4437Slc, true, true) - yys4437 := string(yys4437Slc) + yys4501Slc = r.DecodeBytes(yys4501Slc, true, true) + yys4501 := string(yys4501Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4437 { + switch yys4501 { case "capabilities": if r.TryDecodeAsNil() { if x.Capabilities != nil { @@ -55316,8 +56004,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Privileged == nil { x.Privileged = new(bool) } - yym4440 := z.DecBinary() - _ = yym4440 + yym4504 := z.DecBinary() + _ = yym4504 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() @@ -55343,8 +56031,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4443 := z.DecBinary() - _ = yym4443 + yym4507 := z.DecBinary() + _ = yym4507 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) @@ -55359,8 +56047,8 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4445 := z.DecBinary() - _ = yym4445 + yym4509 := z.DecBinary() + _ = yym4509 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() @@ -55375,17 +56063,17 @@ func (x *SecurityContext) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4447 := z.DecBinary() - _ = yym4447 + yym4511 := z.DecBinary() + _ = yym4511 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } default: - z.DecStructFieldNotFound(-1, yys4437) - } // end switch yys4437 - } // end for yyj4437 + z.DecStructFieldNotFound(-1, yys4501) + } // end switch yys4501 + } // end for yyj4501 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55393,16 +56081,16 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4448 int - var yyb4448 bool - var yyhl4448 bool = l >= 0 - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + var yyj4512 int + var yyb4512 bool + var yyhl4512 bool = l >= 0 + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55417,13 +56105,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.Capabilities.CodecDecodeSelf(d) } - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55436,20 +56124,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.Privileged == nil { x.Privileged = new(bool) } - yym4451 := z.DecBinary() - _ = yym4451 + yym4515 := z.DecBinary() + _ = yym4515 if false { } else { *((*bool)(x.Privileged)) = r.DecodeBool() } } - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55464,13 +56152,13 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } x.SELinuxOptions.CodecDecodeSelf(d) } - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55483,20 +56171,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsUser == nil { x.RunAsUser = new(int64) } - yym4454 := z.DecBinary() - _ = yym4454 + yym4518 := z.DecBinary() + _ = yym4518 if false { } else { *((*int64)(x.RunAsUser)) = int64(r.DecodeInt(64)) } } - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55509,20 +56197,20 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.RunAsNonRoot == nil { x.RunAsNonRoot = new(bool) } - yym4456 := z.DecBinary() - _ = yym4456 + yym4520 := z.DecBinary() + _ = yym4520 if false { } else { *((*bool)(x.RunAsNonRoot)) = r.DecodeBool() } } - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55535,25 +56223,25 @@ func (x *SecurityContext) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if x.ReadOnlyRootFilesystem == nil { x.ReadOnlyRootFilesystem = new(bool) } - yym4458 := z.DecBinary() - _ = yym4458 + yym4522 := z.DecBinary() + _ = yym4522 if false { } else { *((*bool)(x.ReadOnlyRootFilesystem)) = r.DecodeBool() } } for { - yyj4448++ - if yyhl4448 { - yyb4448 = yyj4448 > l + yyj4512++ + if yyhl4512 { + yyb4512 = yyj4512 > l } else { - yyb4448 = r.CheckBreak() + yyb4512 = r.CheckBreak() } - if yyb4448 { + if yyb4512 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4448-1, "") + z.DecStructFieldNotFound(yyj4512-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55565,38 +56253,38 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4459 := z.EncBinary() - _ = yym4459 + yym4523 := z.EncBinary() + _ = yym4523 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4460 := !z.EncBinary() - yy2arr4460 := z.EncBasicHandle().StructToArray - var yyq4460 [4]bool - _, _, _ = yysep4460, yyq4460, yy2arr4460 - const yyr4460 bool = false - yyq4460[0] = x.User != "" - yyq4460[1] = x.Role != "" - yyq4460[2] = x.Type != "" - yyq4460[3] = x.Level != "" - var yynn4460 int - if yyr4460 || yy2arr4460 { + 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 { r.EncodeArrayStart(4) } else { - yynn4460 = 0 - for _, b := range yyq4460 { + yynn4524 = 0 + for _, b := range yyq4524 { if b { - yynn4460++ + yynn4524++ } } - r.EncodeMapStart(yynn4460) - yynn4460 = 0 + r.EncodeMapStart(yynn4524) + yynn4524 = 0 } - if yyr4460 || yy2arr4460 { + if yyr4524 || yy2arr4524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4460[0] { - yym4462 := z.EncBinary() - _ = yym4462 + if yyq4524[0] { + yym4526 := z.EncBinary() + _ = yym4526 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) @@ -55605,23 +56293,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4460[0] { + if yyq4524[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("user")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4463 := z.EncBinary() - _ = yym4463 + yym4527 := z.EncBinary() + _ = yym4527 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.User)) } } } - if yyr4460 || yy2arr4460 { + if yyr4524 || yy2arr4524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4460[1] { - yym4465 := z.EncBinary() - _ = yym4465 + if yyq4524[1] { + yym4529 := z.EncBinary() + _ = yym4529 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) @@ -55630,23 +56318,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4460[1] { + if yyq4524[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("role")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4466 := z.EncBinary() - _ = yym4466 + yym4530 := z.EncBinary() + _ = yym4530 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Role)) } } } - if yyr4460 || yy2arr4460 { + if yyr4524 || yy2arr4524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4460[2] { - yym4468 := z.EncBinary() - _ = yym4468 + if yyq4524[2] { + yym4532 := z.EncBinary() + _ = yym4532 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) @@ -55655,23 +56343,23 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4460[2] { + if yyq4524[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("type")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4469 := z.EncBinary() - _ = yym4469 + yym4533 := z.EncBinary() + _ = yym4533 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Type)) } } } - if yyr4460 || yy2arr4460 { + if yyr4524 || yy2arr4524 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4460[3] { - yym4471 := z.EncBinary() - _ = yym4471 + if yyq4524[3] { + yym4535 := z.EncBinary() + _ = yym4535 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) @@ -55680,19 +56368,19 @@ func (x *SELinuxOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4460[3] { + if yyq4524[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("level")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4472 := z.EncBinary() - _ = yym4472 + yym4536 := z.EncBinary() + _ = yym4536 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Level)) } } } - if yyr4460 || yy2arr4460 { + if yyr4524 || yy2arr4524 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -55705,25 +56393,25 @@ func (x *SELinuxOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4473 := z.DecBinary() - _ = yym4473 + yym4537 := z.DecBinary() + _ = yym4537 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4474 := r.ContainerType() - if yyct4474 == codecSelferValueTypeMap1234 { - yyl4474 := r.ReadMapStart() - if yyl4474 == 0 { + yyct4538 := r.ContainerType() + if yyct4538 == codecSelferValueTypeMap1234 { + yyl4538 := r.ReadMapStart() + if yyl4538 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4474, d) + x.codecDecodeSelfFromMap(yyl4538, d) } - } else if yyct4474 == codecSelferValueTypeArray1234 { - yyl4474 := r.ReadArrayStart() - if yyl4474 == 0 { + } else if yyct4538 == codecSelferValueTypeArray1234 { + yyl4538 := r.ReadArrayStart() + if yyl4538 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4474, d) + x.codecDecodeSelfFromArray(yyl4538, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -55735,12 +56423,12 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4475Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4475Slc - var yyhl4475 bool = l >= 0 - for yyj4475 := 0; ; yyj4475++ { - if yyhl4475 { - if yyj4475 >= l { + var yys4539Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4539Slc + var yyhl4539 bool = l >= 0 + for yyj4539 := 0; ; yyj4539++ { + if yyhl4539 { + if yyj4539 >= l { break } } else { @@ -55749,10 +56437,10 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4475Slc = r.DecodeBytes(yys4475Slc, true, true) - yys4475 := string(yys4475Slc) + yys4539Slc = r.DecodeBytes(yys4539Slc, true, true) + yys4539 := string(yys4539Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4475 { + switch yys4539 { case "user": if r.TryDecodeAsNil() { x.User = "" @@ -55778,9 +56466,9 @@ func (x *SELinuxOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys4475) - } // end switch yys4475 - } // end for yyj4475 + z.DecStructFieldNotFound(-1, yys4539) + } // end switch yys4539 + } // end for yyj4539 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -55788,16 +56476,16 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4480 int - var yyb4480 bool - var yyhl4480 bool = l >= 0 - yyj4480++ - if yyhl4480 { - yyb4480 = yyj4480 > l + var yyj4544 int + var yyb4544 bool + var yyhl4544 bool = l >= 0 + yyj4544++ + if yyhl4544 { + yyb4544 = yyj4544 > l } else { - yyb4480 = r.CheckBreak() + yyb4544 = r.CheckBreak() } - if yyb4480 { + if yyb4544 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55807,13 +56495,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.User = string(r.DecodeString()) } - yyj4480++ - if yyhl4480 { - yyb4480 = yyj4480 > l + yyj4544++ + if yyhl4544 { + yyb4544 = yyj4544 > l } else { - yyb4480 = r.CheckBreak() + yyb4544 = r.CheckBreak() } - if yyb4480 { + if yyb4544 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55823,13 +56511,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Role = string(r.DecodeString()) } - yyj4480++ - if yyhl4480 { - yyb4480 = yyj4480 > l + yyj4544++ + if yyhl4544 { + yyb4544 = yyj4544 > l } else { - yyb4480 = r.CheckBreak() + yyb4544 = r.CheckBreak() } - if yyb4480 { + if yyb4544 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55839,13 +56527,13 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = string(r.DecodeString()) } - yyj4480++ - if yyhl4480 { - yyb4480 = yyj4480 > l + yyj4544++ + if yyhl4544 { + yyb4544 = yyj4544 > l } else { - yyb4480 = r.CheckBreak() + yyb4544 = r.CheckBreak() } - if yyb4480 { + if yyb4544 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -55856,17 +56544,17 @@ func (x *SELinuxOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Level = string(r.DecodeString()) } for { - yyj4480++ - if yyhl4480 { - yyb4480 = yyj4480 > l + yyj4544++ + if yyhl4544 { + yyb4544 = yyj4544 > l } else { - yyb4480 = r.CheckBreak() + yyb4544 = r.CheckBreak() } - if yyb4480 { + if yyb4544 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4480-1, "") + z.DecStructFieldNotFound(yyj4544-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -55878,37 +56566,37 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym4485 := z.EncBinary() - _ = yym4485 + yym4549 := z.EncBinary() + _ = yym4549 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep4486 := !z.EncBinary() - yy2arr4486 := z.EncBasicHandle().StructToArray - var yyq4486 [5]bool - _, _, _ = yysep4486, yyq4486, yy2arr4486 - const yyr4486 bool = false - yyq4486[0] = x.Kind != "" - yyq4486[1] = x.APIVersion != "" - yyq4486[2] = true - var yynn4486 int - if yyr4486 || yy2arr4486 { + 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 { r.EncodeArrayStart(5) } else { - yynn4486 = 2 - for _, b := range yyq4486 { + yynn4550 = 2 + for _, b := range yyq4550 { if b { - yynn4486++ + yynn4550++ } } - r.EncodeMapStart(yynn4486) - yynn4486 = 0 + r.EncodeMapStart(yynn4550) + yynn4550 = 0 } - if yyr4486 || yy2arr4486 { + if yyr4550 || yy2arr4550 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4486[0] { - yym4488 := z.EncBinary() - _ = yym4488 + if yyq4550[0] { + yym4552 := z.EncBinary() + _ = yym4552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -55917,23 +56605,23 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4486[0] { + if yyq4550[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4489 := z.EncBinary() - _ = yym4489 + yym4553 := z.EncBinary() + _ = yym4553 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr4486 || yy2arr4486 { + if yyr4550 || yy2arr4550 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4486[1] { - yym4491 := z.EncBinary() - _ = yym4491 + if yyq4550[1] { + yym4555 := z.EncBinary() + _ = yym4555 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -55942,39 +56630,39 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq4486[1] { + if yyq4550[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4492 := z.EncBinary() - _ = yym4492 + yym4556 := z.EncBinary() + _ = yym4556 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr4486 || yy2arr4486 { + if yyr4550 || yy2arr4550 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq4486[2] { - yy4494 := &x.ObjectMeta - yy4494.CodecEncodeSelf(e) + if yyq4550[2] { + yy4558 := &x.ObjectMeta + yy4558.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq4486[2] { + if yyq4550[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4495 := &x.ObjectMeta - yy4495.CodecEncodeSelf(e) + yy4559 := &x.ObjectMeta + yy4559.CodecEncodeSelf(e) } } - if yyr4486 || yy2arr4486 { + if yyr4550 || yy2arr4550 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym4497 := z.EncBinary() - _ = yym4497 + yym4561 := z.EncBinary() + _ = yym4561 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) @@ -55983,20 +56671,20 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("range")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym4498 := z.EncBinary() - _ = yym4498 + yym4562 := z.EncBinary() + _ = yym4562 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Range)) } } - if yyr4486 || yy2arr4486 { + if yyr4550 || yy2arr4550 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Data == nil { r.EncodeNil() } else { - yym4500 := z.EncBinary() - _ = yym4500 + yym4564 := z.EncBinary() + _ = yym4564 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) @@ -56009,15 +56697,15 @@ func (x *RangeAllocation) CodecEncodeSelf(e *codec1978.Encoder) { if x.Data == nil { r.EncodeNil() } else { - yym4501 := z.EncBinary() - _ = yym4501 + yym4565 := z.EncBinary() + _ = yym4565 if false { } else { r.EncodeStringBytes(codecSelferC_RAW1234, []byte(x.Data)) } } } - if yyr4486 || yy2arr4486 { + if yyr4550 || yy2arr4550 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -56030,25 +56718,25 @@ func (x *RangeAllocation) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym4502 := z.DecBinary() - _ = yym4502 + yym4566 := z.DecBinary() + _ = yym4566 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct4503 := r.ContainerType() - if yyct4503 == codecSelferValueTypeMap1234 { - yyl4503 := r.ReadMapStart() - if yyl4503 == 0 { + yyct4567 := r.ContainerType() + if yyct4567 == codecSelferValueTypeMap1234 { + yyl4567 := r.ReadMapStart() + if yyl4567 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl4503, d) + x.codecDecodeSelfFromMap(yyl4567, d) } - } else if yyct4503 == codecSelferValueTypeArray1234 { - yyl4503 := r.ReadArrayStart() - if yyl4503 == 0 { + } else if yyct4567 == codecSelferValueTypeArray1234 { + yyl4567 := r.ReadArrayStart() + if yyl4567 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl4503, d) + x.codecDecodeSelfFromArray(yyl4567, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -56060,12 +56748,12 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys4504Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys4504Slc - var yyhl4504 bool = l >= 0 - for yyj4504 := 0; ; yyj4504++ { - if yyhl4504 { - if yyj4504 >= l { + var yys4568Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys4568Slc + var yyhl4568 bool = l >= 0 + for yyj4568 := 0; ; yyj4568++ { + if yyhl4568 { + if yyj4568 >= l { break } } else { @@ -56074,10 +56762,10 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys4504Slc = r.DecodeBytes(yys4504Slc, true, true) - yys4504 := string(yys4504Slc) + yys4568Slc = r.DecodeBytes(yys4568Slc, true, true) + yys4568 := string(yys4568Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys4504 { + switch yys4568 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -56094,8 +56782,8 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4507 := &x.ObjectMeta - yyv4507.CodecDecodeSelf(d) + yyv4571 := &x.ObjectMeta + yyv4571.CodecDecodeSelf(d) } case "range": if r.TryDecodeAsNil() { @@ -56107,18 +56795,18 @@ func (x *RangeAllocation) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4509 := &x.Data - yym4510 := z.DecBinary() - _ = yym4510 + yyv4573 := &x.Data + yym4574 := z.DecBinary() + _ = yym4574 if false { } else { - *yyv4509 = r.DecodeBytes(*(*[]byte)(yyv4509), false, false) + *yyv4573 = r.DecodeBytes(*(*[]byte)(yyv4573), false, false) } } default: - z.DecStructFieldNotFound(-1, yys4504) - } // end switch yys4504 - } // end for yyj4504 + z.DecStructFieldNotFound(-1, yys4568) + } // end switch yys4568 + } // end for yyj4568 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -56126,16 +56814,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj4511 int - var yyb4511 bool - var yyhl4511 bool = l >= 0 - yyj4511++ - if yyhl4511 { - yyb4511 = yyj4511 > l + var yyj4575 int + var yyb4575 bool + var yyhl4575 bool = l >= 0 + yyj4575++ + if yyhl4575 { + yyb4575 = yyj4575 > l } else { - yyb4511 = r.CheckBreak() + yyb4575 = r.CheckBreak() } - if yyb4511 { + if yyb4575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56145,13 +56833,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Kind = string(r.DecodeString()) } - yyj4511++ - if yyhl4511 { - yyb4511 = yyj4511 > l + yyj4575++ + if yyhl4575 { + yyb4575 = yyj4575 > l } else { - yyb4511 = r.CheckBreak() + yyb4575 = r.CheckBreak() } - if yyb4511 { + if yyb4575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56161,13 +56849,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.APIVersion = string(r.DecodeString()) } - yyj4511++ - if yyhl4511 { - yyb4511 = yyj4511 > l + yyj4575++ + if yyhl4575 { + yyb4575 = yyj4575 > l } else { - yyb4511 = r.CheckBreak() + yyb4575 = r.CheckBreak() } - if yyb4511 { + if yyb4575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56175,16 +56863,16 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = ObjectMeta{} } else { - yyv4514 := &x.ObjectMeta - yyv4514.CodecDecodeSelf(d) + yyv4578 := &x.ObjectMeta + yyv4578.CodecDecodeSelf(d) } - yyj4511++ - if yyhl4511 { - yyb4511 = yyj4511 > l + yyj4575++ + if yyhl4575 { + yyb4575 = yyj4575 > l } else { - yyb4511 = r.CheckBreak() + yyb4575 = r.CheckBreak() } - if yyb4511 { + if yyb4575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56194,13 +56882,13 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Range = string(r.DecodeString()) } - yyj4511++ - if yyhl4511 { - yyb4511 = yyj4511 > l + yyj4575++ + if yyhl4575 { + yyb4575 = yyj4575 > l } else { - yyb4511 = r.CheckBreak() + yyb4575 = r.CheckBreak() } - if yyb4511 { + if yyb4575 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -56208,1289 +56896,31 @@ func (x *RangeAllocation) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Data = nil } else { - yyv4516 := &x.Data - yym4517 := z.DecBinary() - _ = yym4517 + yyv4580 := &x.Data + yym4581 := z.DecBinary() + _ = yym4581 if false { } else { - *yyv4516 = r.DecodeBytes(*(*[]byte)(yyv4516), false, false) + *yyv4580 = r.DecodeBytes(*(*[]byte)(yyv4580), false, false) } } for { - yyj4511++ - if yyhl4511 { - yyb4511 = yyj4511 > l + yyj4575++ + if yyhl4575 { + yyb4575 = yyj4575 > l } else { - yyb4511 = r.CheckBreak() + yyb4575 = r.CheckBreak() } - if yyb4511 { + if yyb4575 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj4511-1, "") + z.DecStructFieldNotFound(yyj4575-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } func (x codecSelfer1234) encSliceOwnerReference(v []OwnerReference, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4518 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4519 := &yyv4518 - yy4519.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4520 := *v - yyh4520, yyl4520 := z.DecSliceHelperStart() - var yyc4520 bool - if yyl4520 == 0 { - if yyv4520 == nil { - yyv4520 = []OwnerReference{} - yyc4520 = true - } else if len(yyv4520) != 0 { - yyv4520 = yyv4520[:0] - yyc4520 = true - } - } else if yyl4520 > 0 { - var yyrr4520, yyrl4520 int - var yyrt4520 bool - if yyl4520 > cap(yyv4520) { - - yyrg4520 := len(yyv4520) > 0 - yyv24520 := yyv4520 - yyrl4520, yyrt4520 = z.DecInferLen(yyl4520, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4520 { - if yyrl4520 <= cap(yyv4520) { - yyv4520 = yyv4520[:yyrl4520] - } else { - yyv4520 = make([]OwnerReference, yyrl4520) - } - } else { - yyv4520 = make([]OwnerReference, yyrl4520) - } - yyc4520 = true - yyrr4520 = len(yyv4520) - if yyrg4520 { - copy(yyv4520, yyv24520) - } - } else if yyl4520 != len(yyv4520) { - yyv4520 = yyv4520[:yyl4520] - yyc4520 = true - } - yyj4520 := 0 - for ; yyj4520 < yyrr4520; yyj4520++ { - yyh4520.ElemContainerState(yyj4520) - if r.TryDecodeAsNil() { - yyv4520[yyj4520] = OwnerReference{} - } else { - yyv4521 := &yyv4520[yyj4520] - yyv4521.CodecDecodeSelf(d) - } - - } - if yyrt4520 { - for ; yyj4520 < yyl4520; yyj4520++ { - yyv4520 = append(yyv4520, OwnerReference{}) - yyh4520.ElemContainerState(yyj4520) - if r.TryDecodeAsNil() { - yyv4520[yyj4520] = OwnerReference{} - } else { - yyv4522 := &yyv4520[yyj4520] - yyv4522.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4520 := 0 - for ; !r.CheckBreak(); yyj4520++ { - - if yyj4520 >= len(yyv4520) { - yyv4520 = append(yyv4520, OwnerReference{}) // var yyz4520 OwnerReference - yyc4520 = true - } - yyh4520.ElemContainerState(yyj4520) - if yyj4520 < len(yyv4520) { - if r.TryDecodeAsNil() { - yyv4520[yyj4520] = OwnerReference{} - } else { - yyv4523 := &yyv4520[yyj4520] - yyv4523.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4520 < len(yyv4520) { - yyv4520 = yyv4520[:yyj4520] - yyc4520 = true - } else if yyj4520 == 0 && yyv4520 == nil { - yyv4520 = []OwnerReference{} - yyc4520 = true - } - } - yyh4520.End() - if yyc4520 { - *v = yyv4520 - } -} - -func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolumeAccessMode, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4524 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4524.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolumeAccessMode, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4525 := *v - yyh4525, yyl4525 := z.DecSliceHelperStart() - var yyc4525 bool - if yyl4525 == 0 { - if yyv4525 == nil { - yyv4525 = []PersistentVolumeAccessMode{} - yyc4525 = true - } else if len(yyv4525) != 0 { - yyv4525 = yyv4525[:0] - yyc4525 = true - } - } else if yyl4525 > 0 { - var yyrr4525, yyrl4525 int - var yyrt4525 bool - if yyl4525 > cap(yyv4525) { - - yyrl4525, yyrt4525 = z.DecInferLen(yyl4525, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4525 { - if yyrl4525 <= cap(yyv4525) { - yyv4525 = yyv4525[:yyrl4525] - } else { - yyv4525 = make([]PersistentVolumeAccessMode, yyrl4525) - } - } else { - yyv4525 = make([]PersistentVolumeAccessMode, yyrl4525) - } - yyc4525 = true - yyrr4525 = len(yyv4525) - } else if yyl4525 != len(yyv4525) { - yyv4525 = yyv4525[:yyl4525] - yyc4525 = true - } - yyj4525 := 0 - for ; yyj4525 < yyrr4525; yyj4525++ { - yyh4525.ElemContainerState(yyj4525) - if r.TryDecodeAsNil() { - yyv4525[yyj4525] = "" - } else { - yyv4525[yyj4525] = PersistentVolumeAccessMode(r.DecodeString()) - } - - } - if yyrt4525 { - for ; yyj4525 < yyl4525; yyj4525++ { - yyv4525 = append(yyv4525, "") - yyh4525.ElemContainerState(yyj4525) - if r.TryDecodeAsNil() { - yyv4525[yyj4525] = "" - } else { - yyv4525[yyj4525] = PersistentVolumeAccessMode(r.DecodeString()) - } - - } - } - - } else { - yyj4525 := 0 - for ; !r.CheckBreak(); yyj4525++ { - - if yyj4525 >= len(yyv4525) { - yyv4525 = append(yyv4525, "") // var yyz4525 PersistentVolumeAccessMode - yyc4525 = true - } - yyh4525.ElemContainerState(yyj4525) - if yyj4525 < len(yyv4525) { - if r.TryDecodeAsNil() { - yyv4525[yyj4525] = "" - } else { - yyv4525[yyj4525] = PersistentVolumeAccessMode(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj4525 < len(yyv4525) { - yyv4525 = yyv4525[:yyj4525] - yyc4525 = true - } else if yyj4525 == 0 && yyv4525 == nil { - yyv4525 = []PersistentVolumeAccessMode{} - yyc4525 = true - } - } - yyh4525.End() - if yyc4525 { - *v = yyv4525 - } -} - -func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4529 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4530 := &yyv4529 - yy4530.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4531 := *v - yyh4531, yyl4531 := z.DecSliceHelperStart() - var yyc4531 bool - if yyl4531 == 0 { - if yyv4531 == nil { - yyv4531 = []PersistentVolume{} - yyc4531 = true - } else if len(yyv4531) != 0 { - yyv4531 = yyv4531[:0] - yyc4531 = true - } - } else if yyl4531 > 0 { - var yyrr4531, yyrl4531 int - var yyrt4531 bool - if yyl4531 > cap(yyv4531) { - - yyrg4531 := len(yyv4531) > 0 - yyv24531 := yyv4531 - yyrl4531, yyrt4531 = z.DecInferLen(yyl4531, z.DecBasicHandle().MaxInitLen, 488) - if yyrt4531 { - if yyrl4531 <= cap(yyv4531) { - yyv4531 = yyv4531[:yyrl4531] - } else { - yyv4531 = make([]PersistentVolume, yyrl4531) - } - } else { - yyv4531 = make([]PersistentVolume, yyrl4531) - } - yyc4531 = true - yyrr4531 = len(yyv4531) - if yyrg4531 { - copy(yyv4531, yyv24531) - } - } else if yyl4531 != len(yyv4531) { - yyv4531 = yyv4531[:yyl4531] - yyc4531 = true - } - yyj4531 := 0 - for ; yyj4531 < yyrr4531; yyj4531++ { - yyh4531.ElemContainerState(yyj4531) - if r.TryDecodeAsNil() { - yyv4531[yyj4531] = PersistentVolume{} - } else { - yyv4532 := &yyv4531[yyj4531] - yyv4532.CodecDecodeSelf(d) - } - - } - if yyrt4531 { - for ; yyj4531 < yyl4531; yyj4531++ { - yyv4531 = append(yyv4531, PersistentVolume{}) - yyh4531.ElemContainerState(yyj4531) - if r.TryDecodeAsNil() { - yyv4531[yyj4531] = PersistentVolume{} - } else { - yyv4533 := &yyv4531[yyj4531] - yyv4533.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4531 := 0 - for ; !r.CheckBreak(); yyj4531++ { - - if yyj4531 >= len(yyv4531) { - yyv4531 = append(yyv4531, PersistentVolume{}) // var yyz4531 PersistentVolume - yyc4531 = true - } - yyh4531.ElemContainerState(yyj4531) - if yyj4531 < len(yyv4531) { - if r.TryDecodeAsNil() { - yyv4531[yyj4531] = PersistentVolume{} - } else { - yyv4534 := &yyv4531[yyj4531] - yyv4534.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4531 < len(yyv4531) { - yyv4531 = yyv4531[:yyj4531] - yyc4531 = true - } else if yyj4531 == 0 && yyv4531 == nil { - yyv4531 = []PersistentVolume{} - yyc4531 = true - } - } - yyh4531.End() - if yyc4531 { - *v = yyv4531 - } -} - -func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4535 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4536 := &yyv4535 - yy4536.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClaim, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4537 := *v - yyh4537, yyl4537 := z.DecSliceHelperStart() - var yyc4537 bool - if yyl4537 == 0 { - if yyv4537 == nil { - yyv4537 = []PersistentVolumeClaim{} - yyc4537 = true - } else if len(yyv4537) != 0 { - yyv4537 = yyv4537[:0] - yyc4537 = true - } - } else if yyl4537 > 0 { - var yyrr4537, yyrl4537 int - var yyrt4537 bool - if yyl4537 > cap(yyv4537) { - - yyrg4537 := len(yyv4537) > 0 - yyv24537 := yyv4537 - yyrl4537, yyrt4537 = z.DecInferLen(yyl4537, z.DecBasicHandle().MaxInitLen, 368) - if yyrt4537 { - if yyrl4537 <= cap(yyv4537) { - yyv4537 = yyv4537[:yyrl4537] - } else { - yyv4537 = make([]PersistentVolumeClaim, yyrl4537) - } - } else { - yyv4537 = make([]PersistentVolumeClaim, yyrl4537) - } - yyc4537 = true - yyrr4537 = len(yyv4537) - if yyrg4537 { - copy(yyv4537, yyv24537) - } - } else if yyl4537 != len(yyv4537) { - yyv4537 = yyv4537[:yyl4537] - yyc4537 = true - } - yyj4537 := 0 - for ; yyj4537 < yyrr4537; yyj4537++ { - yyh4537.ElemContainerState(yyj4537) - if r.TryDecodeAsNil() { - yyv4537[yyj4537] = PersistentVolumeClaim{} - } else { - yyv4538 := &yyv4537[yyj4537] - yyv4538.CodecDecodeSelf(d) - } - - } - if yyrt4537 { - for ; yyj4537 < yyl4537; yyj4537++ { - yyv4537 = append(yyv4537, PersistentVolumeClaim{}) - yyh4537.ElemContainerState(yyj4537) - if r.TryDecodeAsNil() { - yyv4537[yyj4537] = PersistentVolumeClaim{} - } else { - yyv4539 := &yyv4537[yyj4537] - yyv4539.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4537 := 0 - for ; !r.CheckBreak(); yyj4537++ { - - if yyj4537 >= len(yyv4537) { - yyv4537 = append(yyv4537, PersistentVolumeClaim{}) // var yyz4537 PersistentVolumeClaim - yyc4537 = true - } - yyh4537.ElemContainerState(yyj4537) - if yyj4537 < len(yyv4537) { - if r.TryDecodeAsNil() { - yyv4537[yyj4537] = PersistentVolumeClaim{} - } else { - yyv4540 := &yyv4537[yyj4537] - yyv4540.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4537 < len(yyv4537) { - yyv4537 = yyv4537[:yyj4537] - yyc4537 = true - } else if yyj4537 == 0 && yyv4537 == nil { - yyv4537 = []PersistentVolumeClaim{} - yyc4537 = true - } - } - yyh4537.End() - if yyc4537 { - *v = yyv4537 - } -} - -func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4541 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4542 := &yyv4541 - yy4542.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4543 := *v - yyh4543, yyl4543 := z.DecSliceHelperStart() - var yyc4543 bool - if yyl4543 == 0 { - if yyv4543 == nil { - yyv4543 = []KeyToPath{} - yyc4543 = true - } else if len(yyv4543) != 0 { - yyv4543 = yyv4543[:0] - yyc4543 = true - } - } else if yyl4543 > 0 { - var yyrr4543, yyrl4543 int - var yyrt4543 bool - if yyl4543 > cap(yyv4543) { - - yyrg4543 := len(yyv4543) > 0 - yyv24543 := yyv4543 - yyrl4543, yyrt4543 = z.DecInferLen(yyl4543, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4543 { - if yyrl4543 <= cap(yyv4543) { - yyv4543 = yyv4543[:yyrl4543] - } else { - yyv4543 = make([]KeyToPath, yyrl4543) - } - } else { - yyv4543 = make([]KeyToPath, yyrl4543) - } - yyc4543 = true - yyrr4543 = len(yyv4543) - if yyrg4543 { - copy(yyv4543, yyv24543) - } - } else if yyl4543 != len(yyv4543) { - yyv4543 = yyv4543[:yyl4543] - yyc4543 = true - } - yyj4543 := 0 - for ; yyj4543 < yyrr4543; yyj4543++ { - yyh4543.ElemContainerState(yyj4543) - if r.TryDecodeAsNil() { - yyv4543[yyj4543] = KeyToPath{} - } else { - yyv4544 := &yyv4543[yyj4543] - yyv4544.CodecDecodeSelf(d) - } - - } - if yyrt4543 { - for ; yyj4543 < yyl4543; yyj4543++ { - yyv4543 = append(yyv4543, KeyToPath{}) - yyh4543.ElemContainerState(yyj4543) - if r.TryDecodeAsNil() { - yyv4543[yyj4543] = KeyToPath{} - } else { - yyv4545 := &yyv4543[yyj4543] - yyv4545.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4543 := 0 - for ; !r.CheckBreak(); yyj4543++ { - - if yyj4543 >= len(yyv4543) { - yyv4543 = append(yyv4543, KeyToPath{}) // var yyz4543 KeyToPath - yyc4543 = true - } - yyh4543.ElemContainerState(yyj4543) - if yyj4543 < len(yyv4543) { - if r.TryDecodeAsNil() { - yyv4543[yyj4543] = KeyToPath{} - } else { - yyv4546 := &yyv4543[yyj4543] - yyv4546.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4543 < len(yyv4543) { - yyv4543 = yyv4543[:yyj4543] - yyc4543 = true - } else if yyj4543 == 0 && yyv4543 == nil { - yyv4543 = []KeyToPath{} - yyc4543 = true - } - } - yyh4543.End() - if yyc4543 { - *v = yyv4543 - } -} - -func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4547 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4548 := &yyv4547 - yy4548.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4549 := *v - yyh4549, yyl4549 := z.DecSliceHelperStart() - var yyc4549 bool - if yyl4549 == 0 { - if yyv4549 == nil { - yyv4549 = []HTTPHeader{} - yyc4549 = true - } else if len(yyv4549) != 0 { - yyv4549 = yyv4549[:0] - yyc4549 = true - } - } else if yyl4549 > 0 { - var yyrr4549, yyrl4549 int - var yyrt4549 bool - if yyl4549 > cap(yyv4549) { - - yyrg4549 := len(yyv4549) > 0 - yyv24549 := yyv4549 - yyrl4549, yyrt4549 = z.DecInferLen(yyl4549, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4549 { - if yyrl4549 <= cap(yyv4549) { - yyv4549 = yyv4549[:yyrl4549] - } else { - yyv4549 = make([]HTTPHeader, yyrl4549) - } - } else { - yyv4549 = make([]HTTPHeader, yyrl4549) - } - yyc4549 = true - yyrr4549 = len(yyv4549) - if yyrg4549 { - copy(yyv4549, yyv24549) - } - } else if yyl4549 != len(yyv4549) { - yyv4549 = yyv4549[:yyl4549] - yyc4549 = true - } - yyj4549 := 0 - for ; yyj4549 < yyrr4549; yyj4549++ { - yyh4549.ElemContainerState(yyj4549) - if r.TryDecodeAsNil() { - yyv4549[yyj4549] = HTTPHeader{} - } else { - yyv4550 := &yyv4549[yyj4549] - yyv4550.CodecDecodeSelf(d) - } - - } - if yyrt4549 { - for ; yyj4549 < yyl4549; yyj4549++ { - yyv4549 = append(yyv4549, HTTPHeader{}) - yyh4549.ElemContainerState(yyj4549) - if r.TryDecodeAsNil() { - yyv4549[yyj4549] = HTTPHeader{} - } else { - yyv4551 := &yyv4549[yyj4549] - yyv4551.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4549 := 0 - for ; !r.CheckBreak(); yyj4549++ { - - if yyj4549 >= len(yyv4549) { - yyv4549 = append(yyv4549, HTTPHeader{}) // var yyz4549 HTTPHeader - yyc4549 = true - } - yyh4549.ElemContainerState(yyj4549) - if yyj4549 < len(yyv4549) { - if r.TryDecodeAsNil() { - yyv4549[yyj4549] = HTTPHeader{} - } else { - yyv4552 := &yyv4549[yyj4549] - yyv4552.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4549 < len(yyv4549) { - yyv4549 = yyv4549[:yyj4549] - yyc4549 = true - } else if yyj4549 == 0 && yyv4549 == nil { - yyv4549 = []HTTPHeader{} - yyc4549 = true - } - } - yyh4549.End() - if yyc4549 { - *v = yyv4549 - } -} - -func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4553 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4553.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4554 := *v - yyh4554, yyl4554 := z.DecSliceHelperStart() - var yyc4554 bool - if yyl4554 == 0 { - if yyv4554 == nil { - yyv4554 = []Capability{} - yyc4554 = true - } else if len(yyv4554) != 0 { - yyv4554 = yyv4554[:0] - yyc4554 = true - } - } else if yyl4554 > 0 { - var yyrr4554, yyrl4554 int - var yyrt4554 bool - if yyl4554 > cap(yyv4554) { - - yyrl4554, yyrt4554 = z.DecInferLen(yyl4554, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4554 { - if yyrl4554 <= cap(yyv4554) { - yyv4554 = yyv4554[:yyrl4554] - } else { - yyv4554 = make([]Capability, yyrl4554) - } - } else { - yyv4554 = make([]Capability, yyrl4554) - } - yyc4554 = true - yyrr4554 = len(yyv4554) - } else if yyl4554 != len(yyv4554) { - yyv4554 = yyv4554[:yyl4554] - yyc4554 = true - } - yyj4554 := 0 - for ; yyj4554 < yyrr4554; yyj4554++ { - yyh4554.ElemContainerState(yyj4554) - if r.TryDecodeAsNil() { - yyv4554[yyj4554] = "" - } else { - yyv4554[yyj4554] = Capability(r.DecodeString()) - } - - } - if yyrt4554 { - for ; yyj4554 < yyl4554; yyj4554++ { - yyv4554 = append(yyv4554, "") - yyh4554.ElemContainerState(yyj4554) - if r.TryDecodeAsNil() { - yyv4554[yyj4554] = "" - } else { - yyv4554[yyj4554] = Capability(r.DecodeString()) - } - - } - } - - } else { - yyj4554 := 0 - for ; !r.CheckBreak(); yyj4554++ { - - if yyj4554 >= len(yyv4554) { - yyv4554 = append(yyv4554, "") // var yyz4554 Capability - yyc4554 = true - } - yyh4554.ElemContainerState(yyj4554) - if yyj4554 < len(yyv4554) { - if r.TryDecodeAsNil() { - yyv4554[yyj4554] = "" - } else { - yyv4554[yyj4554] = Capability(r.DecodeString()) - } - - } else { - z.DecSwallow() - } - - } - if yyj4554 < len(yyv4554) { - yyv4554 = yyv4554[:yyj4554] - yyc4554 = true - } else if yyj4554 == 0 && yyv4554 == nil { - yyv4554 = []Capability{} - yyc4554 = true - } - } - yyh4554.End() - if yyc4554 { - *v = yyv4554 - } -} - -func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4558 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4559 := &yyv4558 - yy4559.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4560 := *v - yyh4560, yyl4560 := z.DecSliceHelperStart() - var yyc4560 bool - if yyl4560 == 0 { - if yyv4560 == nil { - yyv4560 = []ContainerPort{} - yyc4560 = true - } else if len(yyv4560) != 0 { - yyv4560 = yyv4560[:0] - yyc4560 = true - } - } else if yyl4560 > 0 { - var yyrr4560, yyrl4560 int - var yyrt4560 bool - if yyl4560 > cap(yyv4560) { - - yyrg4560 := len(yyv4560) > 0 - yyv24560 := yyv4560 - yyrl4560, yyrt4560 = z.DecInferLen(yyl4560, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4560 { - if yyrl4560 <= cap(yyv4560) { - yyv4560 = yyv4560[:yyrl4560] - } else { - yyv4560 = make([]ContainerPort, yyrl4560) - } - } else { - yyv4560 = make([]ContainerPort, yyrl4560) - } - yyc4560 = true - yyrr4560 = len(yyv4560) - if yyrg4560 { - copy(yyv4560, yyv24560) - } - } else if yyl4560 != len(yyv4560) { - yyv4560 = yyv4560[:yyl4560] - yyc4560 = true - } - yyj4560 := 0 - for ; yyj4560 < yyrr4560; yyj4560++ { - yyh4560.ElemContainerState(yyj4560) - if r.TryDecodeAsNil() { - yyv4560[yyj4560] = ContainerPort{} - } else { - yyv4561 := &yyv4560[yyj4560] - yyv4561.CodecDecodeSelf(d) - } - - } - if yyrt4560 { - for ; yyj4560 < yyl4560; yyj4560++ { - yyv4560 = append(yyv4560, ContainerPort{}) - yyh4560.ElemContainerState(yyj4560) - if r.TryDecodeAsNil() { - yyv4560[yyj4560] = ContainerPort{} - } else { - yyv4562 := &yyv4560[yyj4560] - yyv4562.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4560 := 0 - for ; !r.CheckBreak(); yyj4560++ { - - if yyj4560 >= len(yyv4560) { - yyv4560 = append(yyv4560, ContainerPort{}) // var yyz4560 ContainerPort - yyc4560 = true - } - yyh4560.ElemContainerState(yyj4560) - if yyj4560 < len(yyv4560) { - if r.TryDecodeAsNil() { - yyv4560[yyj4560] = ContainerPort{} - } else { - yyv4563 := &yyv4560[yyj4560] - yyv4563.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4560 < len(yyv4560) { - yyv4560 = yyv4560[:yyj4560] - yyc4560 = true - } else if yyj4560 == 0 && yyv4560 == nil { - yyv4560 = []ContainerPort{} - yyc4560 = true - } - } - yyh4560.End() - if yyc4560 { - *v = yyv4560 - } -} - -func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4564 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4565 := &yyv4564 - yy4565.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4566 := *v - yyh4566, yyl4566 := z.DecSliceHelperStart() - var yyc4566 bool - if yyl4566 == 0 { - if yyv4566 == nil { - yyv4566 = []EnvVar{} - yyc4566 = true - } else if len(yyv4566) != 0 { - yyv4566 = yyv4566[:0] - yyc4566 = true - } - } else if yyl4566 > 0 { - var yyrr4566, yyrl4566 int - var yyrt4566 bool - if yyl4566 > cap(yyv4566) { - - yyrg4566 := len(yyv4566) > 0 - yyv24566 := yyv4566 - yyrl4566, yyrt4566 = z.DecInferLen(yyl4566, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4566 { - if yyrl4566 <= cap(yyv4566) { - yyv4566 = yyv4566[:yyrl4566] - } else { - yyv4566 = make([]EnvVar, yyrl4566) - } - } else { - yyv4566 = make([]EnvVar, yyrl4566) - } - yyc4566 = true - yyrr4566 = len(yyv4566) - if yyrg4566 { - copy(yyv4566, yyv24566) - } - } else if yyl4566 != len(yyv4566) { - yyv4566 = yyv4566[:yyl4566] - yyc4566 = true - } - yyj4566 := 0 - for ; yyj4566 < yyrr4566; yyj4566++ { - yyh4566.ElemContainerState(yyj4566) - if r.TryDecodeAsNil() { - yyv4566[yyj4566] = EnvVar{} - } else { - yyv4567 := &yyv4566[yyj4566] - yyv4567.CodecDecodeSelf(d) - } - - } - if yyrt4566 { - for ; yyj4566 < yyl4566; yyj4566++ { - yyv4566 = append(yyv4566, EnvVar{}) - yyh4566.ElemContainerState(yyj4566) - if r.TryDecodeAsNil() { - yyv4566[yyj4566] = EnvVar{} - } else { - yyv4568 := &yyv4566[yyj4566] - yyv4568.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4566 := 0 - for ; !r.CheckBreak(); yyj4566++ { - - if yyj4566 >= len(yyv4566) { - yyv4566 = append(yyv4566, EnvVar{}) // var yyz4566 EnvVar - yyc4566 = true - } - yyh4566.ElemContainerState(yyj4566) - if yyj4566 < len(yyv4566) { - if r.TryDecodeAsNil() { - yyv4566[yyj4566] = EnvVar{} - } else { - yyv4569 := &yyv4566[yyj4566] - yyv4569.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4566 < len(yyv4566) { - yyv4566 = yyv4566[:yyj4566] - yyc4566 = true - } else if yyj4566 == 0 && yyv4566 == nil { - yyv4566 = []EnvVar{} - yyc4566 = true - } - } - yyh4566.End() - if yyc4566 { - *v = yyv4566 - } -} - -func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4570 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4571 := &yyv4570 - yy4571.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4572 := *v - yyh4572, yyl4572 := z.DecSliceHelperStart() - var yyc4572 bool - if yyl4572 == 0 { - if yyv4572 == nil { - yyv4572 = []VolumeMount{} - yyc4572 = true - } else if len(yyv4572) != 0 { - yyv4572 = yyv4572[:0] - yyc4572 = true - } - } else if yyl4572 > 0 { - var yyrr4572, yyrl4572 int - var yyrt4572 bool - if yyl4572 > cap(yyv4572) { - - yyrg4572 := len(yyv4572) > 0 - yyv24572 := yyv4572 - yyrl4572, yyrt4572 = z.DecInferLen(yyl4572, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4572 { - if yyrl4572 <= cap(yyv4572) { - yyv4572 = yyv4572[:yyrl4572] - } else { - yyv4572 = make([]VolumeMount, yyrl4572) - } - } else { - yyv4572 = make([]VolumeMount, yyrl4572) - } - yyc4572 = true - yyrr4572 = len(yyv4572) - if yyrg4572 { - copy(yyv4572, yyv24572) - } - } else if yyl4572 != len(yyv4572) { - yyv4572 = yyv4572[:yyl4572] - yyc4572 = true - } - yyj4572 := 0 - for ; yyj4572 < yyrr4572; yyj4572++ { - yyh4572.ElemContainerState(yyj4572) - if r.TryDecodeAsNil() { - yyv4572[yyj4572] = VolumeMount{} - } else { - yyv4573 := &yyv4572[yyj4572] - yyv4573.CodecDecodeSelf(d) - } - - } - if yyrt4572 { - for ; yyj4572 < yyl4572; yyj4572++ { - yyv4572 = append(yyv4572, VolumeMount{}) - yyh4572.ElemContainerState(yyj4572) - if r.TryDecodeAsNil() { - yyv4572[yyj4572] = VolumeMount{} - } else { - yyv4574 := &yyv4572[yyj4572] - yyv4574.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4572 := 0 - for ; !r.CheckBreak(); yyj4572++ { - - if yyj4572 >= len(yyv4572) { - yyv4572 = append(yyv4572, VolumeMount{}) // var yyz4572 VolumeMount - yyc4572 = true - } - yyh4572.ElemContainerState(yyj4572) - if yyj4572 < len(yyv4572) { - if r.TryDecodeAsNil() { - yyv4572[yyj4572] = VolumeMount{} - } else { - yyv4575 := &yyv4572[yyj4572] - yyv4575.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4572 < len(yyv4572) { - yyv4572 = yyv4572[:yyj4572] - yyc4572 = true - } else if yyj4572 == 0 && yyv4572 == nil { - yyv4572 = []VolumeMount{} - yyc4572 = true - } - } - yyh4572.End() - if yyc4572 { - *v = yyv4572 - } -} - -func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv4576 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4577 := &yyv4576 - yy4577.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv4578 := *v - yyh4578, yyl4578 := z.DecSliceHelperStart() - var yyc4578 bool - if yyl4578 == 0 { - if yyv4578 == nil { - yyv4578 = []NodeSelectorTerm{} - yyc4578 = true - } else if len(yyv4578) != 0 { - yyv4578 = yyv4578[:0] - yyc4578 = true - } - } else if yyl4578 > 0 { - var yyrr4578, yyrl4578 int - var yyrt4578 bool - if yyl4578 > cap(yyv4578) { - - yyrg4578 := len(yyv4578) > 0 - yyv24578 := yyv4578 - yyrl4578, yyrt4578 = z.DecInferLen(yyl4578, z.DecBasicHandle().MaxInitLen, 24) - if yyrt4578 { - if yyrl4578 <= cap(yyv4578) { - yyv4578 = yyv4578[:yyrl4578] - } else { - yyv4578 = make([]NodeSelectorTerm, yyrl4578) - } - } else { - yyv4578 = make([]NodeSelectorTerm, yyrl4578) - } - yyc4578 = true - yyrr4578 = len(yyv4578) - if yyrg4578 { - copy(yyv4578, yyv24578) - } - } else if yyl4578 != len(yyv4578) { - yyv4578 = yyv4578[:yyl4578] - yyc4578 = true - } - yyj4578 := 0 - for ; yyj4578 < yyrr4578; yyj4578++ { - yyh4578.ElemContainerState(yyj4578) - if r.TryDecodeAsNil() { - yyv4578[yyj4578] = NodeSelectorTerm{} - } else { - yyv4579 := &yyv4578[yyj4578] - yyv4579.CodecDecodeSelf(d) - } - - } - if yyrt4578 { - for ; yyj4578 < yyl4578; yyj4578++ { - yyv4578 = append(yyv4578, NodeSelectorTerm{}) - yyh4578.ElemContainerState(yyj4578) - if r.TryDecodeAsNil() { - yyv4578[yyj4578] = NodeSelectorTerm{} - } else { - yyv4580 := &yyv4578[yyj4578] - yyv4580.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj4578 := 0 - for ; !r.CheckBreak(); yyj4578++ { - - if yyj4578 >= len(yyv4578) { - yyv4578 = append(yyv4578, NodeSelectorTerm{}) // var yyz4578 NodeSelectorTerm - yyc4578 = true - } - yyh4578.ElemContainerState(yyj4578) - if yyj4578 < len(yyv4578) { - if r.TryDecodeAsNil() { - yyv4578[yyj4578] = NodeSelectorTerm{} - } else { - yyv4581 := &yyv4578[yyj4578] - yyv4581.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj4578 < len(yyv4578) { - yyv4578 = yyv4578[:yyj4578] - yyc4578 = true - } else if yyj4578 == 0 && yyv4578 == nil { - yyv4578 = []NodeSelectorTerm{} - yyc4578 = true - } - } - yyh4578.End() - if yyc4578 { - *v = yyv4578 - } -} - -func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequirement, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -57503,7 +56933,7 @@ func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequire z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequirement, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceOwnerReference(v *[]OwnerReference, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -57513,7 +56943,7 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir var yyc4584 bool if yyl4584 == 0 { if yyv4584 == nil { - yyv4584 = []NodeSelectorRequirement{} + yyv4584 = []OwnerReference{} yyc4584 = true } else if len(yyv4584) != 0 { yyv4584 = yyv4584[:0] @@ -57526,15 +56956,15 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir yyrg4584 := len(yyv4584) > 0 yyv24584 := yyv4584 - yyrl4584, yyrt4584 = z.DecInferLen(yyl4584, z.DecBasicHandle().MaxInitLen, 56) + yyrl4584, yyrt4584 = z.DecInferLen(yyl4584, z.DecBasicHandle().MaxInitLen, 72) if yyrt4584 { if yyrl4584 <= cap(yyv4584) { yyv4584 = yyv4584[:yyrl4584] } else { - yyv4584 = make([]NodeSelectorRequirement, yyrl4584) + yyv4584 = make([]OwnerReference, yyrl4584) } } else { - yyv4584 = make([]NodeSelectorRequirement, yyrl4584) + yyv4584 = make([]OwnerReference, yyrl4584) } yyc4584 = true yyrr4584 = len(yyv4584) @@ -57549,7 +56979,7 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir for ; yyj4584 < yyrr4584; yyj4584++ { yyh4584.ElemContainerState(yyj4584) if r.TryDecodeAsNil() { - yyv4584[yyj4584] = NodeSelectorRequirement{} + yyv4584[yyj4584] = OwnerReference{} } else { yyv4585 := &yyv4584[yyj4584] yyv4585.CodecDecodeSelf(d) @@ -57558,10 +56988,10 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } if yyrt4584 { for ; yyj4584 < yyl4584; yyj4584++ { - yyv4584 = append(yyv4584, NodeSelectorRequirement{}) + yyv4584 = append(yyv4584, OwnerReference{}) yyh4584.ElemContainerState(yyj4584) if r.TryDecodeAsNil() { - yyv4584[yyj4584] = NodeSelectorRequirement{} + yyv4584[yyj4584] = OwnerReference{} } else { yyv4586 := &yyv4584[yyj4584] yyv4586.CodecDecodeSelf(d) @@ -57575,13 +57005,13 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir for ; !r.CheckBreak(); yyj4584++ { if yyj4584 >= len(yyv4584) { - yyv4584 = append(yyv4584, NodeSelectorRequirement{}) // var yyz4584 NodeSelectorRequirement + yyv4584 = append(yyv4584, OwnerReference{}) // var yyz4584 OwnerReference yyc4584 = true } yyh4584.ElemContainerState(yyj4584) if yyj4584 < len(yyv4584) { if r.TryDecodeAsNil() { - yyv4584[yyj4584] = NodeSelectorRequirement{} + yyv4584[yyj4584] = OwnerReference{} } else { yyv4587 := &yyv4584[yyj4584] yyv4587.CodecDecodeSelf(d) @@ -57596,7 +57026,7 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir yyv4584 = yyv4584[:yyj4584] yyc4584 = true } else if yyj4584 == 0 && yyv4584 == nil { - yyv4584 = []NodeSelectorRequirement{} + yyv4584 = []OwnerReference{} yyc4584 = true } } @@ -57606,15 +57036,1273 @@ func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequir } } -func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec1978.Encoder) { +func (x codecSelfer1234) encSlicePersistentVolumeAccessMode(v []PersistentVolumeAccessMode, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) for _, yyv4588 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4589 := &yyv4588 - yy4589.CodecEncodeSelf(e) + yyv4588.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePersistentVolumeAccessMode(v *[]PersistentVolumeAccessMode, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4589 > 0 { + var yyrr4589, yyrl4589 int + var yyrt4589 bool + if yyl4589 > cap(yyv4589) { + + yyrl4589, yyrt4589 = z.DecInferLen(yyl4589, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4589 { + if yyrl4589 <= cap(yyv4589) { + yyv4589 = yyv4589[:yyrl4589] + } else { + yyv4589 = make([]PersistentVolumeAccessMode, yyrl4589) + } + } else { + yyv4589 = make([]PersistentVolumeAccessMode, yyrl4589) + } + yyc4589 = true + yyrr4589 = len(yyv4589) + } else if yyl4589 != len(yyv4589) { + yyv4589 = yyv4589[:yyl4589] + yyc4589 = true + } + yyj4589 := 0 + for ; yyj4589 < yyrr4589; yyj4589++ { + yyh4589.ElemContainerState(yyj4589) + if r.TryDecodeAsNil() { + yyv4589[yyj4589] = "" + } else { + yyv4589[yyj4589] = PersistentVolumeAccessMode(r.DecodeString()) + } + + } + if yyrt4589 { + for ; yyj4589 < yyl4589; yyj4589++ { + yyv4589 = append(yyv4589, "") + yyh4589.ElemContainerState(yyj4589) + if r.TryDecodeAsNil() { + yyv4589[yyj4589] = "" + } else { + yyv4589[yyj4589] = PersistentVolumeAccessMode(r.DecodeString()) + } + + } + } + + } else { + yyj4589 := 0 + for ; !r.CheckBreak(); yyj4589++ { + + if yyj4589 >= len(yyv4589) { + yyv4589 = append(yyv4589, "") // var yyz4589 PersistentVolumeAccessMode + yyc4589 = true + } + yyh4589.ElemContainerState(yyj4589) + if yyj4589 < len(yyv4589) { + if r.TryDecodeAsNil() { + yyv4589[yyj4589] = "" + } else { + yyv4589[yyj4589] = PersistentVolumeAccessMode(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj4589 < len(yyv4589) { + yyv4589 = yyv4589[:yyj4589] + yyc4589 = true + } else if yyj4589 == 0 && yyv4589 == nil { + yyv4589 = []PersistentVolumeAccessMode{} + yyc4589 = true + } + } + yyh4589.End() + if yyc4589 { + *v = yyv4589 + } +} + +func (x codecSelfer1234) encSlicePersistentVolume(v []PersistentVolume, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4593 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4594 := &yyv4593 + yy4594.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePersistentVolume(v *[]PersistentVolume, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4595 > 0 { + var yyrr4595, yyrl4595 int + var yyrt4595 bool + if yyl4595 > cap(yyv4595) { + + yyrg4595 := len(yyv4595) > 0 + yyv24595 := yyv4595 + yyrl4595, yyrt4595 = z.DecInferLen(yyl4595, z.DecBasicHandle().MaxInitLen, 488) + if yyrt4595 { + if yyrl4595 <= cap(yyv4595) { + yyv4595 = yyv4595[:yyrl4595] + } else { + yyv4595 = make([]PersistentVolume, yyrl4595) + } + } else { + yyv4595 = make([]PersistentVolume, yyrl4595) + } + yyc4595 = true + yyrr4595 = len(yyv4595) + if yyrg4595 { + copy(yyv4595, yyv24595) + } + } else if yyl4595 != len(yyv4595) { + yyv4595 = yyv4595[:yyl4595] + yyc4595 = true + } + yyj4595 := 0 + for ; yyj4595 < yyrr4595; yyj4595++ { + yyh4595.ElemContainerState(yyj4595) + if r.TryDecodeAsNil() { + yyv4595[yyj4595] = PersistentVolume{} + } else { + yyv4596 := &yyv4595[yyj4595] + yyv4596.CodecDecodeSelf(d) + } + + } + if yyrt4595 { + for ; yyj4595 < yyl4595; yyj4595++ { + yyv4595 = append(yyv4595, PersistentVolume{}) + yyh4595.ElemContainerState(yyj4595) + if r.TryDecodeAsNil() { + yyv4595[yyj4595] = PersistentVolume{} + } else { + yyv4597 := &yyv4595[yyj4595] + yyv4597.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4595 := 0 + for ; !r.CheckBreak(); yyj4595++ { + + if yyj4595 >= len(yyv4595) { + yyv4595 = append(yyv4595, PersistentVolume{}) // var yyz4595 PersistentVolume + yyc4595 = true + } + yyh4595.ElemContainerState(yyj4595) + if yyj4595 < len(yyv4595) { + if r.TryDecodeAsNil() { + yyv4595[yyj4595] = PersistentVolume{} + } else { + yyv4598 := &yyv4595[yyj4595] + yyv4598.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4595 < len(yyv4595) { + yyv4595 = yyv4595[:yyj4595] + yyc4595 = true + } else if yyj4595 == 0 && yyv4595 == nil { + yyv4595 = []PersistentVolume{} + yyc4595 = true + } + } + yyh4595.End() + if yyc4595 { + *v = yyv4595 + } +} + +func (x codecSelfer1234) encSlicePersistentVolumeClaim(v []PersistentVolumeClaim, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4599 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4600 := &yyv4599 + yy4600.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSlicePersistentVolumeClaim(v *[]PersistentVolumeClaim, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4601 > 0 { + var yyrr4601, yyrl4601 int + var yyrt4601 bool + if yyl4601 > cap(yyv4601) { + + yyrg4601 := len(yyv4601) > 0 + yyv24601 := yyv4601 + yyrl4601, yyrt4601 = z.DecInferLen(yyl4601, z.DecBasicHandle().MaxInitLen, 368) + if yyrt4601 { + if yyrl4601 <= cap(yyv4601) { + yyv4601 = yyv4601[:yyrl4601] + } else { + yyv4601 = make([]PersistentVolumeClaim, yyrl4601) + } + } else { + yyv4601 = make([]PersistentVolumeClaim, yyrl4601) + } + yyc4601 = true + yyrr4601 = len(yyv4601) + if yyrg4601 { + copy(yyv4601, yyv24601) + } + } else if yyl4601 != len(yyv4601) { + yyv4601 = yyv4601[:yyl4601] + yyc4601 = true + } + yyj4601 := 0 + for ; yyj4601 < yyrr4601; yyj4601++ { + yyh4601.ElemContainerState(yyj4601) + if r.TryDecodeAsNil() { + yyv4601[yyj4601] = PersistentVolumeClaim{} + } else { + yyv4602 := &yyv4601[yyj4601] + yyv4602.CodecDecodeSelf(d) + } + + } + if yyrt4601 { + for ; yyj4601 < yyl4601; yyj4601++ { + yyv4601 = append(yyv4601, PersistentVolumeClaim{}) + yyh4601.ElemContainerState(yyj4601) + if r.TryDecodeAsNil() { + yyv4601[yyj4601] = PersistentVolumeClaim{} + } else { + yyv4603 := &yyv4601[yyj4601] + yyv4603.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4601 := 0 + for ; !r.CheckBreak(); yyj4601++ { + + if yyj4601 >= len(yyv4601) { + yyv4601 = append(yyv4601, PersistentVolumeClaim{}) // var yyz4601 PersistentVolumeClaim + yyc4601 = true + } + yyh4601.ElemContainerState(yyj4601) + if yyj4601 < len(yyv4601) { + if r.TryDecodeAsNil() { + yyv4601[yyj4601] = PersistentVolumeClaim{} + } else { + yyv4604 := &yyv4601[yyj4601] + yyv4604.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4601 < len(yyv4601) { + yyv4601 = yyv4601[:yyj4601] + yyc4601 = true + } else if yyj4601 == 0 && yyv4601 == nil { + yyv4601 = []PersistentVolumeClaim{} + yyc4601 = true + } + } + yyh4601.End() + if yyc4601 { + *v = yyv4601 + } +} + +func (x codecSelfer1234) encSliceKeyToPath(v []KeyToPath, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4605 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4606 := &yyv4605 + yy4606.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceKeyToPath(v *[]KeyToPath, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4607 > 0 { + var yyrr4607, yyrl4607 int + var yyrt4607 bool + if yyl4607 > cap(yyv4607) { + + yyrg4607 := len(yyv4607) > 0 + yyv24607 := yyv4607 + yyrl4607, yyrt4607 = z.DecInferLen(yyl4607, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4607 { + if yyrl4607 <= cap(yyv4607) { + yyv4607 = yyv4607[:yyrl4607] + } else { + yyv4607 = make([]KeyToPath, yyrl4607) + } + } else { + yyv4607 = make([]KeyToPath, yyrl4607) + } + yyc4607 = true + yyrr4607 = len(yyv4607) + if yyrg4607 { + copy(yyv4607, yyv24607) + } + } else if yyl4607 != len(yyv4607) { + yyv4607 = yyv4607[:yyl4607] + yyc4607 = true + } + yyj4607 := 0 + for ; yyj4607 < yyrr4607; yyj4607++ { + yyh4607.ElemContainerState(yyj4607) + if r.TryDecodeAsNil() { + yyv4607[yyj4607] = KeyToPath{} + } else { + yyv4608 := &yyv4607[yyj4607] + yyv4608.CodecDecodeSelf(d) + } + + } + if yyrt4607 { + for ; yyj4607 < yyl4607; yyj4607++ { + yyv4607 = append(yyv4607, KeyToPath{}) + yyh4607.ElemContainerState(yyj4607) + if r.TryDecodeAsNil() { + yyv4607[yyj4607] = KeyToPath{} + } else { + yyv4609 := &yyv4607[yyj4607] + yyv4609.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4607 := 0 + for ; !r.CheckBreak(); yyj4607++ { + + if yyj4607 >= len(yyv4607) { + yyv4607 = append(yyv4607, KeyToPath{}) // var yyz4607 KeyToPath + yyc4607 = true + } + yyh4607.ElemContainerState(yyj4607) + if yyj4607 < len(yyv4607) { + if r.TryDecodeAsNil() { + yyv4607[yyj4607] = KeyToPath{} + } else { + yyv4610 := &yyv4607[yyj4607] + yyv4610.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4607 < len(yyv4607) { + yyv4607 = yyv4607[:yyj4607] + yyc4607 = true + } else if yyj4607 == 0 && yyv4607 == nil { + yyv4607 = []KeyToPath{} + yyc4607 = true + } + } + yyh4607.End() + if yyc4607 { + *v = yyv4607 + } +} + +func (x codecSelfer1234) encSliceHTTPHeader(v []HTTPHeader, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4611 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4612 := &yyv4611 + yy4612.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceHTTPHeader(v *[]HTTPHeader, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4613 > 0 { + var yyrr4613, yyrl4613 int + var yyrt4613 bool + if yyl4613 > cap(yyv4613) { + + yyrg4613 := len(yyv4613) > 0 + yyv24613 := yyv4613 + yyrl4613, yyrt4613 = z.DecInferLen(yyl4613, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4613 { + if yyrl4613 <= cap(yyv4613) { + yyv4613 = yyv4613[:yyrl4613] + } else { + yyv4613 = make([]HTTPHeader, yyrl4613) + } + } else { + yyv4613 = make([]HTTPHeader, yyrl4613) + } + yyc4613 = true + yyrr4613 = len(yyv4613) + if yyrg4613 { + copy(yyv4613, yyv24613) + } + } else if yyl4613 != len(yyv4613) { + yyv4613 = yyv4613[:yyl4613] + yyc4613 = true + } + yyj4613 := 0 + for ; yyj4613 < yyrr4613; yyj4613++ { + yyh4613.ElemContainerState(yyj4613) + if r.TryDecodeAsNil() { + yyv4613[yyj4613] = HTTPHeader{} + } else { + yyv4614 := &yyv4613[yyj4613] + yyv4614.CodecDecodeSelf(d) + } + + } + if yyrt4613 { + for ; yyj4613 < yyl4613; yyj4613++ { + yyv4613 = append(yyv4613, HTTPHeader{}) + yyh4613.ElemContainerState(yyj4613) + if r.TryDecodeAsNil() { + yyv4613[yyj4613] = HTTPHeader{} + } else { + yyv4615 := &yyv4613[yyj4613] + yyv4615.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4613 := 0 + for ; !r.CheckBreak(); yyj4613++ { + + if yyj4613 >= len(yyv4613) { + yyv4613 = append(yyv4613, HTTPHeader{}) // var yyz4613 HTTPHeader + yyc4613 = true + } + yyh4613.ElemContainerState(yyj4613) + if yyj4613 < len(yyv4613) { + if r.TryDecodeAsNil() { + yyv4613[yyj4613] = HTTPHeader{} + } else { + yyv4616 := &yyv4613[yyj4613] + yyv4616.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4613 < len(yyv4613) { + yyv4613 = yyv4613[:yyj4613] + yyc4613 = true + } else if yyj4613 == 0 && yyv4613 == nil { + yyv4613 = []HTTPHeader{} + yyc4613 = true + } + } + yyh4613.End() + if yyc4613 { + *v = yyv4613 + } +} + +func (x codecSelfer1234) encSliceCapability(v []Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4617 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv4617.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceCapability(v *[]Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4618 > 0 { + var yyrr4618, yyrl4618 int + var yyrt4618 bool + if yyl4618 > cap(yyv4618) { + + yyrl4618, yyrt4618 = z.DecInferLen(yyl4618, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4618 { + if yyrl4618 <= cap(yyv4618) { + yyv4618 = yyv4618[:yyrl4618] + } else { + yyv4618 = make([]Capability, yyrl4618) + } + } else { + yyv4618 = make([]Capability, yyrl4618) + } + yyc4618 = true + yyrr4618 = len(yyv4618) + } else if yyl4618 != len(yyv4618) { + yyv4618 = yyv4618[:yyl4618] + yyc4618 = true + } + yyj4618 := 0 + for ; yyj4618 < yyrr4618; yyj4618++ { + yyh4618.ElemContainerState(yyj4618) + if r.TryDecodeAsNil() { + yyv4618[yyj4618] = "" + } else { + yyv4618[yyj4618] = Capability(r.DecodeString()) + } + + } + if yyrt4618 { + for ; yyj4618 < yyl4618; yyj4618++ { + yyv4618 = append(yyv4618, "") + yyh4618.ElemContainerState(yyj4618) + if r.TryDecodeAsNil() { + yyv4618[yyj4618] = "" + } else { + yyv4618[yyj4618] = Capability(r.DecodeString()) + } + + } + } + + } else { + yyj4618 := 0 + for ; !r.CheckBreak(); yyj4618++ { + + if yyj4618 >= len(yyv4618) { + yyv4618 = append(yyv4618, "") // var yyz4618 Capability + yyc4618 = true + } + yyh4618.ElemContainerState(yyj4618) + if yyj4618 < len(yyv4618) { + if r.TryDecodeAsNil() { + yyv4618[yyj4618] = "" + } else { + yyv4618[yyj4618] = Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj4618 < len(yyv4618) { + yyv4618 = yyv4618[:yyj4618] + yyc4618 = true + } else if yyj4618 == 0 && yyv4618 == nil { + yyv4618 = []Capability{} + yyc4618 = true + } + } + yyh4618.End() + if yyc4618 { + *v = yyv4618 + } +} + +func (x codecSelfer1234) encSliceContainerPort(v []ContainerPort, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4622 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4623 := &yyv4622 + yy4623.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceContainerPort(v *[]ContainerPort, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4624 > 0 { + var yyrr4624, yyrl4624 int + var yyrt4624 bool + if yyl4624 > cap(yyv4624) { + + yyrg4624 := len(yyv4624) > 0 + yyv24624 := yyv4624 + yyrl4624, yyrt4624 = z.DecInferLen(yyl4624, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4624 { + if yyrl4624 <= cap(yyv4624) { + yyv4624 = yyv4624[:yyrl4624] + } else { + yyv4624 = make([]ContainerPort, yyrl4624) + } + } else { + yyv4624 = make([]ContainerPort, yyrl4624) + } + yyc4624 = true + yyrr4624 = len(yyv4624) + if yyrg4624 { + copy(yyv4624, yyv24624) + } + } else if yyl4624 != len(yyv4624) { + yyv4624 = yyv4624[:yyl4624] + yyc4624 = true + } + yyj4624 := 0 + for ; yyj4624 < yyrr4624; yyj4624++ { + yyh4624.ElemContainerState(yyj4624) + if r.TryDecodeAsNil() { + yyv4624[yyj4624] = ContainerPort{} + } else { + yyv4625 := &yyv4624[yyj4624] + yyv4625.CodecDecodeSelf(d) + } + + } + if yyrt4624 { + for ; yyj4624 < yyl4624; yyj4624++ { + yyv4624 = append(yyv4624, ContainerPort{}) + yyh4624.ElemContainerState(yyj4624) + if r.TryDecodeAsNil() { + yyv4624[yyj4624] = ContainerPort{} + } else { + yyv4626 := &yyv4624[yyj4624] + yyv4626.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4624 := 0 + for ; !r.CheckBreak(); yyj4624++ { + + if yyj4624 >= len(yyv4624) { + yyv4624 = append(yyv4624, ContainerPort{}) // var yyz4624 ContainerPort + yyc4624 = true + } + yyh4624.ElemContainerState(yyj4624) + if yyj4624 < len(yyv4624) { + if r.TryDecodeAsNil() { + yyv4624[yyj4624] = ContainerPort{} + } else { + yyv4627 := &yyv4624[yyj4624] + yyv4627.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4624 < len(yyv4624) { + yyv4624 = yyv4624[:yyj4624] + yyc4624 = true + } else if yyj4624 == 0 && yyv4624 == nil { + yyv4624 = []ContainerPort{} + yyc4624 = true + } + } + yyh4624.End() + if yyc4624 { + *v = yyv4624 + } +} + +func (x codecSelfer1234) encSliceEnvVar(v []EnvVar, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4628 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4629 := &yyv4628 + yy4629.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceEnvVar(v *[]EnvVar, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4630 > 0 { + var yyrr4630, yyrl4630 int + var yyrt4630 bool + if yyl4630 > cap(yyv4630) { + + yyrg4630 := len(yyv4630) > 0 + yyv24630 := yyv4630 + yyrl4630, yyrt4630 = z.DecInferLen(yyl4630, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4630 { + if yyrl4630 <= cap(yyv4630) { + yyv4630 = yyv4630[:yyrl4630] + } else { + yyv4630 = make([]EnvVar, yyrl4630) + } + } else { + yyv4630 = make([]EnvVar, yyrl4630) + } + yyc4630 = true + yyrr4630 = len(yyv4630) + if yyrg4630 { + copy(yyv4630, yyv24630) + } + } else if yyl4630 != len(yyv4630) { + yyv4630 = yyv4630[:yyl4630] + yyc4630 = true + } + yyj4630 := 0 + for ; yyj4630 < yyrr4630; yyj4630++ { + yyh4630.ElemContainerState(yyj4630) + if r.TryDecodeAsNil() { + yyv4630[yyj4630] = EnvVar{} + } else { + yyv4631 := &yyv4630[yyj4630] + yyv4631.CodecDecodeSelf(d) + } + + } + if yyrt4630 { + for ; yyj4630 < yyl4630; yyj4630++ { + yyv4630 = append(yyv4630, EnvVar{}) + yyh4630.ElemContainerState(yyj4630) + if r.TryDecodeAsNil() { + yyv4630[yyj4630] = EnvVar{} + } else { + yyv4632 := &yyv4630[yyj4630] + yyv4632.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4630 := 0 + for ; !r.CheckBreak(); yyj4630++ { + + if yyj4630 >= len(yyv4630) { + yyv4630 = append(yyv4630, EnvVar{}) // var yyz4630 EnvVar + yyc4630 = true + } + yyh4630.ElemContainerState(yyj4630) + if yyj4630 < len(yyv4630) { + if r.TryDecodeAsNil() { + yyv4630[yyj4630] = EnvVar{} + } else { + yyv4633 := &yyv4630[yyj4630] + yyv4633.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4630 < len(yyv4630) { + yyv4630 = yyv4630[:yyj4630] + yyc4630 = true + } else if yyj4630 == 0 && yyv4630 == nil { + yyv4630 = []EnvVar{} + yyc4630 = true + } + } + yyh4630.End() + if yyc4630 { + *v = yyv4630 + } +} + +func (x codecSelfer1234) encSliceVolumeMount(v []VolumeMount, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4634 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4635 := &yyv4634 + yy4635.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceVolumeMount(v *[]VolumeMount, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4636 > 0 { + var yyrr4636, yyrl4636 int + var yyrt4636 bool + if yyl4636 > cap(yyv4636) { + + yyrg4636 := len(yyv4636) > 0 + yyv24636 := yyv4636 + yyrl4636, yyrt4636 = z.DecInferLen(yyl4636, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4636 { + if yyrl4636 <= cap(yyv4636) { + yyv4636 = yyv4636[:yyrl4636] + } else { + yyv4636 = make([]VolumeMount, yyrl4636) + } + } else { + yyv4636 = make([]VolumeMount, yyrl4636) + } + yyc4636 = true + yyrr4636 = len(yyv4636) + if yyrg4636 { + copy(yyv4636, yyv24636) + } + } else if yyl4636 != len(yyv4636) { + yyv4636 = yyv4636[:yyl4636] + yyc4636 = true + } + yyj4636 := 0 + for ; yyj4636 < yyrr4636; yyj4636++ { + yyh4636.ElemContainerState(yyj4636) + if r.TryDecodeAsNil() { + yyv4636[yyj4636] = VolumeMount{} + } else { + yyv4637 := &yyv4636[yyj4636] + yyv4637.CodecDecodeSelf(d) + } + + } + if yyrt4636 { + for ; yyj4636 < yyl4636; yyj4636++ { + yyv4636 = append(yyv4636, VolumeMount{}) + yyh4636.ElemContainerState(yyj4636) + if r.TryDecodeAsNil() { + yyv4636[yyj4636] = VolumeMount{} + } else { + yyv4638 := &yyv4636[yyj4636] + yyv4638.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4636 := 0 + for ; !r.CheckBreak(); yyj4636++ { + + if yyj4636 >= len(yyv4636) { + yyv4636 = append(yyv4636, VolumeMount{}) // var yyz4636 VolumeMount + yyc4636 = true + } + yyh4636.ElemContainerState(yyj4636) + if yyj4636 < len(yyv4636) { + if r.TryDecodeAsNil() { + yyv4636[yyj4636] = VolumeMount{} + } else { + yyv4639 := &yyv4636[yyj4636] + yyv4639.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4636 < len(yyv4636) { + yyv4636 = yyv4636[:yyj4636] + yyc4636 = true + } else if yyj4636 == 0 && yyv4636 == nil { + yyv4636 = []VolumeMount{} + yyc4636 = true + } + } + yyh4636.End() + if yyc4636 { + *v = yyv4636 + } +} + +func (x codecSelfer1234) encSliceNodeSelectorTerm(v []NodeSelectorTerm, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4640 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4641 := &yyv4640 + yy4641.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNodeSelectorTerm(v *[]NodeSelectorTerm, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4642 > 0 { + var yyrr4642, yyrl4642 int + var yyrt4642 bool + if yyl4642 > cap(yyv4642) { + + yyrg4642 := len(yyv4642) > 0 + yyv24642 := yyv4642 + yyrl4642, yyrt4642 = z.DecInferLen(yyl4642, z.DecBasicHandle().MaxInitLen, 24) + if yyrt4642 { + if yyrl4642 <= cap(yyv4642) { + yyv4642 = yyv4642[:yyrl4642] + } else { + yyv4642 = make([]NodeSelectorTerm, yyrl4642) + } + } else { + yyv4642 = make([]NodeSelectorTerm, yyrl4642) + } + yyc4642 = true + yyrr4642 = len(yyv4642) + if yyrg4642 { + copy(yyv4642, yyv24642) + } + } else if yyl4642 != len(yyv4642) { + yyv4642 = yyv4642[:yyl4642] + yyc4642 = true + } + yyj4642 := 0 + for ; yyj4642 < yyrr4642; yyj4642++ { + yyh4642.ElemContainerState(yyj4642) + if r.TryDecodeAsNil() { + yyv4642[yyj4642] = NodeSelectorTerm{} + } else { + yyv4643 := &yyv4642[yyj4642] + yyv4643.CodecDecodeSelf(d) + } + + } + if yyrt4642 { + for ; yyj4642 < yyl4642; yyj4642++ { + yyv4642 = append(yyv4642, NodeSelectorTerm{}) + yyh4642.ElemContainerState(yyj4642) + if r.TryDecodeAsNil() { + yyv4642[yyj4642] = NodeSelectorTerm{} + } else { + yyv4644 := &yyv4642[yyj4642] + yyv4644.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4642 := 0 + for ; !r.CheckBreak(); yyj4642++ { + + if yyj4642 >= len(yyv4642) { + yyv4642 = append(yyv4642, NodeSelectorTerm{}) // var yyz4642 NodeSelectorTerm + yyc4642 = true + } + yyh4642.ElemContainerState(yyj4642) + if yyj4642 < len(yyv4642) { + if r.TryDecodeAsNil() { + yyv4642[yyj4642] = NodeSelectorTerm{} + } else { + yyv4645 := &yyv4642[yyj4642] + yyv4645.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4642 < len(yyv4642) { + yyv4642 = yyv4642[:yyj4642] + yyc4642 = true + } else if yyj4642 == 0 && yyv4642 == nil { + yyv4642 = []NodeSelectorTerm{} + yyc4642 = true + } + } + yyh4642.End() + if yyc4642 { + *v = yyv4642 + } +} + +func (x codecSelfer1234) encSliceNodeSelectorRequirement(v []NodeSelectorRequirement, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4646 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4647 := &yyv4646 + yy4647.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceNodeSelectorRequirement(v *[]NodeSelectorRequirement, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4648 > 0 { + var yyrr4648, yyrl4648 int + var yyrt4648 bool + if yyl4648 > cap(yyv4648) { + + yyrg4648 := len(yyv4648) > 0 + yyv24648 := yyv4648 + yyrl4648, yyrt4648 = z.DecInferLen(yyl4648, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4648 { + if yyrl4648 <= cap(yyv4648) { + yyv4648 = yyv4648[:yyrl4648] + } else { + yyv4648 = make([]NodeSelectorRequirement, yyrl4648) + } + } else { + yyv4648 = make([]NodeSelectorRequirement, yyrl4648) + } + yyc4648 = true + yyrr4648 = len(yyv4648) + if yyrg4648 { + copy(yyv4648, yyv24648) + } + } else if yyl4648 != len(yyv4648) { + yyv4648 = yyv4648[:yyl4648] + yyc4648 = true + } + yyj4648 := 0 + for ; yyj4648 < yyrr4648; yyj4648++ { + yyh4648.ElemContainerState(yyj4648) + if r.TryDecodeAsNil() { + yyv4648[yyj4648] = NodeSelectorRequirement{} + } else { + yyv4649 := &yyv4648[yyj4648] + yyv4649.CodecDecodeSelf(d) + } + + } + if yyrt4648 { + for ; yyj4648 < yyl4648; yyj4648++ { + yyv4648 = append(yyv4648, NodeSelectorRequirement{}) + yyh4648.ElemContainerState(yyj4648) + if r.TryDecodeAsNil() { + yyv4648[yyj4648] = NodeSelectorRequirement{} + } else { + yyv4650 := &yyv4648[yyj4648] + yyv4650.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4648 := 0 + for ; !r.CheckBreak(); yyj4648++ { + + if yyj4648 >= len(yyv4648) { + yyv4648 = append(yyv4648, NodeSelectorRequirement{}) // var yyz4648 NodeSelectorRequirement + yyc4648 = true + } + yyh4648.ElemContainerState(yyj4648) + if yyj4648 < len(yyv4648) { + if r.TryDecodeAsNil() { + yyv4648[yyj4648] = NodeSelectorRequirement{} + } else { + yyv4651 := &yyv4648[yyj4648] + yyv4651.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4648 < len(yyv4648) { + yyv4648 = yyv4648[:yyj4648] + yyc4648 = true + } else if yyj4648 == 0 && yyv4648 == nil { + yyv4648 = []NodeSelectorRequirement{} + yyc4648 = true + } + } + yyh4648.End() + if yyc4648 { + *v = yyv4648 + } +} + +func (x codecSelfer1234) encSlicePodAffinityTerm(v []PodAffinityTerm, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4652 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4653 := &yyv4652 + yy4653.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57624,83 +58312,83 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4590 := *v - yyh4590, yyl4590 := z.DecSliceHelperStart() - var yyc4590 bool - if yyl4590 == 0 { - if yyv4590 == nil { - yyv4590 = []PodAffinityTerm{} - yyc4590 = true - } else if len(yyv4590) != 0 { - yyv4590 = yyv4590[:0] - yyc4590 = true + 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 } - } else if yyl4590 > 0 { - var yyrr4590, yyrl4590 int - var yyrt4590 bool - if yyl4590 > cap(yyv4590) { + } else if yyl4654 > 0 { + var yyrr4654, yyrl4654 int + var yyrt4654 bool + if yyl4654 > cap(yyv4654) { - yyrg4590 := len(yyv4590) > 0 - yyv24590 := yyv4590 - yyrl4590, yyrt4590 = z.DecInferLen(yyl4590, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4590 { - if yyrl4590 <= cap(yyv4590) { - yyv4590 = yyv4590[:yyrl4590] + yyrg4654 := len(yyv4654) > 0 + yyv24654 := yyv4654 + yyrl4654, yyrt4654 = z.DecInferLen(yyl4654, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4654 { + if yyrl4654 <= cap(yyv4654) { + yyv4654 = yyv4654[:yyrl4654] } else { - yyv4590 = make([]PodAffinityTerm, yyrl4590) + yyv4654 = make([]PodAffinityTerm, yyrl4654) } } else { - yyv4590 = make([]PodAffinityTerm, yyrl4590) + yyv4654 = make([]PodAffinityTerm, yyrl4654) } - yyc4590 = true - yyrr4590 = len(yyv4590) - if yyrg4590 { - copy(yyv4590, yyv24590) + yyc4654 = true + yyrr4654 = len(yyv4654) + if yyrg4654 { + copy(yyv4654, yyv24654) } - } else if yyl4590 != len(yyv4590) { - yyv4590 = yyv4590[:yyl4590] - yyc4590 = true + } else if yyl4654 != len(yyv4654) { + yyv4654 = yyv4654[:yyl4654] + yyc4654 = true } - yyj4590 := 0 - for ; yyj4590 < yyrr4590; yyj4590++ { - yyh4590.ElemContainerState(yyj4590) + yyj4654 := 0 + for ; yyj4654 < yyrr4654; yyj4654++ { + yyh4654.ElemContainerState(yyj4654) if r.TryDecodeAsNil() { - yyv4590[yyj4590] = PodAffinityTerm{} + yyv4654[yyj4654] = PodAffinityTerm{} } else { - yyv4591 := &yyv4590[yyj4590] - yyv4591.CodecDecodeSelf(d) + yyv4655 := &yyv4654[yyj4654] + yyv4655.CodecDecodeSelf(d) } } - if yyrt4590 { - for ; yyj4590 < yyl4590; yyj4590++ { - yyv4590 = append(yyv4590, PodAffinityTerm{}) - yyh4590.ElemContainerState(yyj4590) + if yyrt4654 { + for ; yyj4654 < yyl4654; yyj4654++ { + yyv4654 = append(yyv4654, PodAffinityTerm{}) + yyh4654.ElemContainerState(yyj4654) if r.TryDecodeAsNil() { - yyv4590[yyj4590] = PodAffinityTerm{} + yyv4654[yyj4654] = PodAffinityTerm{} } else { - yyv4592 := &yyv4590[yyj4590] - yyv4592.CodecDecodeSelf(d) + yyv4656 := &yyv4654[yyj4654] + yyv4656.CodecDecodeSelf(d) } } } } else { - yyj4590 := 0 - for ; !r.CheckBreak(); yyj4590++ { + yyj4654 := 0 + for ; !r.CheckBreak(); yyj4654++ { - if yyj4590 >= len(yyv4590) { - yyv4590 = append(yyv4590, PodAffinityTerm{}) // var yyz4590 PodAffinityTerm - yyc4590 = true + if yyj4654 >= len(yyv4654) { + yyv4654 = append(yyv4654, PodAffinityTerm{}) // var yyz4654 PodAffinityTerm + yyc4654 = true } - yyh4590.ElemContainerState(yyj4590) - if yyj4590 < len(yyv4590) { + yyh4654.ElemContainerState(yyj4654) + if yyj4654 < len(yyv4654) { if r.TryDecodeAsNil() { - yyv4590[yyj4590] = PodAffinityTerm{} + yyv4654[yyj4654] = PodAffinityTerm{} } else { - yyv4593 := &yyv4590[yyj4590] - yyv4593.CodecDecodeSelf(d) + yyv4657 := &yyv4654[yyj4654] + yyv4657.CodecDecodeSelf(d) } } else { @@ -57708,17 +58396,17 @@ func (x codecSelfer1234) decSlicePodAffinityTerm(v *[]PodAffinityTerm, d *codec1 } } - if yyj4590 < len(yyv4590) { - yyv4590 = yyv4590[:yyj4590] - yyc4590 = true - } else if yyj4590 == 0 && yyv4590 == nil { - yyv4590 = []PodAffinityTerm{} - yyc4590 = true + if yyj4654 < len(yyv4654) { + yyv4654 = yyv4654[:yyj4654] + yyc4654 = true + } else if yyj4654 == 0 && yyv4654 == nil { + yyv4654 = []PodAffinityTerm{} + yyc4654 = true } } - yyh4590.End() - if yyc4590 { - *v = yyv4590 + yyh4654.End() + if yyc4654 { + *v = yyv4654 } } @@ -57727,10 +58415,10 @@ func (x codecSelfer1234) encSliceWeightedPodAffinityTerm(v []WeightedPodAffinity z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4594 := range v { + for _, yyv4658 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4595 := &yyv4594 - yy4595.CodecEncodeSelf(e) + yy4659 := &yyv4658 + yy4659.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57740,83 +58428,83 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4596 := *v - yyh4596, yyl4596 := z.DecSliceHelperStart() - var yyc4596 bool - if yyl4596 == 0 { - if yyv4596 == nil { - yyv4596 = []WeightedPodAffinityTerm{} - yyc4596 = true - } else if len(yyv4596) != 0 { - yyv4596 = yyv4596[:0] - yyc4596 = true + 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 } - } else if yyl4596 > 0 { - var yyrr4596, yyrl4596 int - var yyrt4596 bool - if yyl4596 > cap(yyv4596) { + } else if yyl4660 > 0 { + var yyrr4660, yyrl4660 int + var yyrt4660 bool + if yyl4660 > cap(yyv4660) { - yyrg4596 := len(yyv4596) > 0 - yyv24596 := yyv4596 - yyrl4596, yyrt4596 = z.DecInferLen(yyl4596, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4596 { - if yyrl4596 <= cap(yyv4596) { - yyv4596 = yyv4596[:yyrl4596] + yyrg4660 := len(yyv4660) > 0 + yyv24660 := yyv4660 + yyrl4660, yyrt4660 = z.DecInferLen(yyl4660, z.DecBasicHandle().MaxInitLen, 56) + if yyrt4660 { + if yyrl4660 <= cap(yyv4660) { + yyv4660 = yyv4660[:yyrl4660] } else { - yyv4596 = make([]WeightedPodAffinityTerm, yyrl4596) + yyv4660 = make([]WeightedPodAffinityTerm, yyrl4660) } } else { - yyv4596 = make([]WeightedPodAffinityTerm, yyrl4596) + yyv4660 = make([]WeightedPodAffinityTerm, yyrl4660) } - yyc4596 = true - yyrr4596 = len(yyv4596) - if yyrg4596 { - copy(yyv4596, yyv24596) + yyc4660 = true + yyrr4660 = len(yyv4660) + if yyrg4660 { + copy(yyv4660, yyv24660) } - } else if yyl4596 != len(yyv4596) { - yyv4596 = yyv4596[:yyl4596] - yyc4596 = true + } else if yyl4660 != len(yyv4660) { + yyv4660 = yyv4660[:yyl4660] + yyc4660 = true } - yyj4596 := 0 - for ; yyj4596 < yyrr4596; yyj4596++ { - yyh4596.ElemContainerState(yyj4596) + yyj4660 := 0 + for ; yyj4660 < yyrr4660; yyj4660++ { + yyh4660.ElemContainerState(yyj4660) if r.TryDecodeAsNil() { - yyv4596[yyj4596] = WeightedPodAffinityTerm{} + yyv4660[yyj4660] = WeightedPodAffinityTerm{} } else { - yyv4597 := &yyv4596[yyj4596] - yyv4597.CodecDecodeSelf(d) + yyv4661 := &yyv4660[yyj4660] + yyv4661.CodecDecodeSelf(d) } } - if yyrt4596 { - for ; yyj4596 < yyl4596; yyj4596++ { - yyv4596 = append(yyv4596, WeightedPodAffinityTerm{}) - yyh4596.ElemContainerState(yyj4596) + if yyrt4660 { + for ; yyj4660 < yyl4660; yyj4660++ { + yyv4660 = append(yyv4660, WeightedPodAffinityTerm{}) + yyh4660.ElemContainerState(yyj4660) if r.TryDecodeAsNil() { - yyv4596[yyj4596] = WeightedPodAffinityTerm{} + yyv4660[yyj4660] = WeightedPodAffinityTerm{} } else { - yyv4598 := &yyv4596[yyj4596] - yyv4598.CodecDecodeSelf(d) + yyv4662 := &yyv4660[yyj4660] + yyv4662.CodecDecodeSelf(d) } } } } else { - yyj4596 := 0 - for ; !r.CheckBreak(); yyj4596++ { + yyj4660 := 0 + for ; !r.CheckBreak(); yyj4660++ { - if yyj4596 >= len(yyv4596) { - yyv4596 = append(yyv4596, WeightedPodAffinityTerm{}) // var yyz4596 WeightedPodAffinityTerm - yyc4596 = true + if yyj4660 >= len(yyv4660) { + yyv4660 = append(yyv4660, WeightedPodAffinityTerm{}) // var yyz4660 WeightedPodAffinityTerm + yyc4660 = true } - yyh4596.ElemContainerState(yyj4596) - if yyj4596 < len(yyv4596) { + yyh4660.ElemContainerState(yyj4660) + if yyj4660 < len(yyv4660) { if r.TryDecodeAsNil() { - yyv4596[yyj4596] = WeightedPodAffinityTerm{} + yyv4660[yyj4660] = WeightedPodAffinityTerm{} } else { - yyv4599 := &yyv4596[yyj4596] - yyv4599.CodecDecodeSelf(d) + yyv4663 := &yyv4660[yyj4660] + yyv4663.CodecDecodeSelf(d) } } else { @@ -57824,17 +58512,17 @@ func (x codecSelfer1234) decSliceWeightedPodAffinityTerm(v *[]WeightedPodAffinit } } - if yyj4596 < len(yyv4596) { - yyv4596 = yyv4596[:yyj4596] - yyc4596 = true - } else if yyj4596 == 0 && yyv4596 == nil { - yyv4596 = []WeightedPodAffinityTerm{} - yyc4596 = true + if yyj4660 < len(yyv4660) { + yyv4660 = yyv4660[:yyj4660] + yyc4660 = true + } else if yyj4660 == 0 && yyv4660 == nil { + yyv4660 = []WeightedPodAffinityTerm{} + yyc4660 = true } } - yyh4596.End() - if yyc4596 { - *v = yyv4596 + yyh4660.End() + if yyc4660 { + *v = yyv4660 } } @@ -57843,10 +58531,10 @@ func (x codecSelfer1234) encSlicePreferredSchedulingTerm(v []PreferredScheduling z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4600 := range v { + for _, yyv4664 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4601 := &yyv4600 - yy4601.CodecEncodeSelf(e) + yy4665 := &yyv4664 + yy4665.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57856,83 +58544,83 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4602 := *v - yyh4602, yyl4602 := z.DecSliceHelperStart() - var yyc4602 bool - if yyl4602 == 0 { - if yyv4602 == nil { - yyv4602 = []PreferredSchedulingTerm{} - yyc4602 = true - } else if len(yyv4602) != 0 { - yyv4602 = yyv4602[:0] - yyc4602 = true + 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 } - } else if yyl4602 > 0 { - var yyrr4602, yyrl4602 int - var yyrt4602 bool - if yyl4602 > cap(yyv4602) { + } else if yyl4666 > 0 { + var yyrr4666, yyrl4666 int + var yyrt4666 bool + if yyl4666 > cap(yyv4666) { - yyrg4602 := len(yyv4602) > 0 - yyv24602 := yyv4602 - yyrl4602, yyrt4602 = z.DecInferLen(yyl4602, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4602 { - if yyrl4602 <= cap(yyv4602) { - yyv4602 = yyv4602[:yyrl4602] + yyrg4666 := len(yyv4666) > 0 + yyv24666 := yyv4666 + yyrl4666, yyrt4666 = z.DecInferLen(yyl4666, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4666 { + if yyrl4666 <= cap(yyv4666) { + yyv4666 = yyv4666[:yyrl4666] } else { - yyv4602 = make([]PreferredSchedulingTerm, yyrl4602) + yyv4666 = make([]PreferredSchedulingTerm, yyrl4666) } } else { - yyv4602 = make([]PreferredSchedulingTerm, yyrl4602) + yyv4666 = make([]PreferredSchedulingTerm, yyrl4666) } - yyc4602 = true - yyrr4602 = len(yyv4602) - if yyrg4602 { - copy(yyv4602, yyv24602) + yyc4666 = true + yyrr4666 = len(yyv4666) + if yyrg4666 { + copy(yyv4666, yyv24666) } - } else if yyl4602 != len(yyv4602) { - yyv4602 = yyv4602[:yyl4602] - yyc4602 = true + } else if yyl4666 != len(yyv4666) { + yyv4666 = yyv4666[:yyl4666] + yyc4666 = true } - yyj4602 := 0 - for ; yyj4602 < yyrr4602; yyj4602++ { - yyh4602.ElemContainerState(yyj4602) + yyj4666 := 0 + for ; yyj4666 < yyrr4666; yyj4666++ { + yyh4666.ElemContainerState(yyj4666) if r.TryDecodeAsNil() { - yyv4602[yyj4602] = PreferredSchedulingTerm{} + yyv4666[yyj4666] = PreferredSchedulingTerm{} } else { - yyv4603 := &yyv4602[yyj4602] - yyv4603.CodecDecodeSelf(d) + yyv4667 := &yyv4666[yyj4666] + yyv4667.CodecDecodeSelf(d) } } - if yyrt4602 { - for ; yyj4602 < yyl4602; yyj4602++ { - yyv4602 = append(yyv4602, PreferredSchedulingTerm{}) - yyh4602.ElemContainerState(yyj4602) + if yyrt4666 { + for ; yyj4666 < yyl4666; yyj4666++ { + yyv4666 = append(yyv4666, PreferredSchedulingTerm{}) + yyh4666.ElemContainerState(yyj4666) if r.TryDecodeAsNil() { - yyv4602[yyj4602] = PreferredSchedulingTerm{} + yyv4666[yyj4666] = PreferredSchedulingTerm{} } else { - yyv4604 := &yyv4602[yyj4602] - yyv4604.CodecDecodeSelf(d) + yyv4668 := &yyv4666[yyj4666] + yyv4668.CodecDecodeSelf(d) } } } } else { - yyj4602 := 0 - for ; !r.CheckBreak(); yyj4602++ { + yyj4666 := 0 + for ; !r.CheckBreak(); yyj4666++ { - if yyj4602 >= len(yyv4602) { - yyv4602 = append(yyv4602, PreferredSchedulingTerm{}) // var yyz4602 PreferredSchedulingTerm - yyc4602 = true + if yyj4666 >= len(yyv4666) { + yyv4666 = append(yyv4666, PreferredSchedulingTerm{}) // var yyz4666 PreferredSchedulingTerm + yyc4666 = true } - yyh4602.ElemContainerState(yyj4602) - if yyj4602 < len(yyv4602) { + yyh4666.ElemContainerState(yyj4666) + if yyj4666 < len(yyv4666) { if r.TryDecodeAsNil() { - yyv4602[yyj4602] = PreferredSchedulingTerm{} + yyv4666[yyj4666] = PreferredSchedulingTerm{} } else { - yyv4605 := &yyv4602[yyj4602] - yyv4605.CodecDecodeSelf(d) + yyv4669 := &yyv4666[yyj4666] + yyv4669.CodecDecodeSelf(d) } } else { @@ -57940,17 +58628,17 @@ func (x codecSelfer1234) decSlicePreferredSchedulingTerm(v *[]PreferredSchedulin } } - if yyj4602 < len(yyv4602) { - yyv4602 = yyv4602[:yyj4602] - yyc4602 = true - } else if yyj4602 == 0 && yyv4602 == nil { - yyv4602 = []PreferredSchedulingTerm{} - yyc4602 = true + if yyj4666 < len(yyv4666) { + yyv4666 = yyv4666[:yyj4666] + yyc4666 = true + } else if yyj4666 == 0 && yyv4666 == nil { + yyv4666 = []PreferredSchedulingTerm{} + yyc4666 = true } } - yyh4602.End() - if yyc4602 { - *v = yyv4602 + yyh4666.End() + if yyc4666 { + *v = yyv4666 } } @@ -57959,10 +58647,10 @@ func (x codecSelfer1234) encSliceVolume(v []Volume, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4606 := range v { + for _, yyv4670 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4607 := &yyv4606 - yy4607.CodecEncodeSelf(e) + yy4671 := &yyv4670 + yy4671.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -57972,83 +58660,83 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4608 := *v - yyh4608, yyl4608 := z.DecSliceHelperStart() - var yyc4608 bool - if yyl4608 == 0 { - if yyv4608 == nil { - yyv4608 = []Volume{} - yyc4608 = true - } else if len(yyv4608) != 0 { - yyv4608 = yyv4608[:0] - yyc4608 = true + 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 } - } else if yyl4608 > 0 { - var yyrr4608, yyrl4608 int - var yyrt4608 bool - if yyl4608 > cap(yyv4608) { + } else if yyl4672 > 0 { + var yyrr4672, yyrl4672 int + var yyrt4672 bool + if yyl4672 > cap(yyv4672) { - yyrg4608 := len(yyv4608) > 0 - yyv24608 := yyv4608 - yyrl4608, yyrt4608 = z.DecInferLen(yyl4608, z.DecBasicHandle().MaxInitLen, 192) - if yyrt4608 { - if yyrl4608 <= cap(yyv4608) { - yyv4608 = yyv4608[:yyrl4608] + yyrg4672 := len(yyv4672) > 0 + yyv24672 := yyv4672 + yyrl4672, yyrt4672 = z.DecInferLen(yyl4672, z.DecBasicHandle().MaxInitLen, 192) + if yyrt4672 { + if yyrl4672 <= cap(yyv4672) { + yyv4672 = yyv4672[:yyrl4672] } else { - yyv4608 = make([]Volume, yyrl4608) + yyv4672 = make([]Volume, yyrl4672) } } else { - yyv4608 = make([]Volume, yyrl4608) + yyv4672 = make([]Volume, yyrl4672) } - yyc4608 = true - yyrr4608 = len(yyv4608) - if yyrg4608 { - copy(yyv4608, yyv24608) + yyc4672 = true + yyrr4672 = len(yyv4672) + if yyrg4672 { + copy(yyv4672, yyv24672) } - } else if yyl4608 != len(yyv4608) { - yyv4608 = yyv4608[:yyl4608] - yyc4608 = true + } else if yyl4672 != len(yyv4672) { + yyv4672 = yyv4672[:yyl4672] + yyc4672 = true } - yyj4608 := 0 - for ; yyj4608 < yyrr4608; yyj4608++ { - yyh4608.ElemContainerState(yyj4608) + yyj4672 := 0 + for ; yyj4672 < yyrr4672; yyj4672++ { + yyh4672.ElemContainerState(yyj4672) if r.TryDecodeAsNil() { - yyv4608[yyj4608] = Volume{} + yyv4672[yyj4672] = Volume{} } else { - yyv4609 := &yyv4608[yyj4608] - yyv4609.CodecDecodeSelf(d) + yyv4673 := &yyv4672[yyj4672] + yyv4673.CodecDecodeSelf(d) } } - if yyrt4608 { - for ; yyj4608 < yyl4608; yyj4608++ { - yyv4608 = append(yyv4608, Volume{}) - yyh4608.ElemContainerState(yyj4608) + if yyrt4672 { + for ; yyj4672 < yyl4672; yyj4672++ { + yyv4672 = append(yyv4672, Volume{}) + yyh4672.ElemContainerState(yyj4672) if r.TryDecodeAsNil() { - yyv4608[yyj4608] = Volume{} + yyv4672[yyj4672] = Volume{} } else { - yyv4610 := &yyv4608[yyj4608] - yyv4610.CodecDecodeSelf(d) + yyv4674 := &yyv4672[yyj4672] + yyv4674.CodecDecodeSelf(d) } } } } else { - yyj4608 := 0 - for ; !r.CheckBreak(); yyj4608++ { + yyj4672 := 0 + for ; !r.CheckBreak(); yyj4672++ { - if yyj4608 >= len(yyv4608) { - yyv4608 = append(yyv4608, Volume{}) // var yyz4608 Volume - yyc4608 = true + if yyj4672 >= len(yyv4672) { + yyv4672 = append(yyv4672, Volume{}) // var yyz4672 Volume + yyc4672 = true } - yyh4608.ElemContainerState(yyj4608) - if yyj4608 < len(yyv4608) { + yyh4672.ElemContainerState(yyj4672) + if yyj4672 < len(yyv4672) { if r.TryDecodeAsNil() { - yyv4608[yyj4608] = Volume{} + yyv4672[yyj4672] = Volume{} } else { - yyv4611 := &yyv4608[yyj4608] - yyv4611.CodecDecodeSelf(d) + yyv4675 := &yyv4672[yyj4672] + yyv4675.CodecDecodeSelf(d) } } else { @@ -58056,17 +58744,17 @@ func (x codecSelfer1234) decSliceVolume(v *[]Volume, d *codec1978.Decoder) { } } - if yyj4608 < len(yyv4608) { - yyv4608 = yyv4608[:yyj4608] - yyc4608 = true - } else if yyj4608 == 0 && yyv4608 == nil { - yyv4608 = []Volume{} - yyc4608 = true + if yyj4672 < len(yyv4672) { + yyv4672 = yyv4672[:yyj4672] + yyc4672 = true + } else if yyj4672 == 0 && yyv4672 == nil { + yyv4672 = []Volume{} + yyc4672 = true } } - yyh4608.End() - if yyc4608 { - *v = yyv4608 + yyh4672.End() + if yyc4672 { + *v = yyv4672 } } @@ -58075,10 +58763,10 @@ func (x codecSelfer1234) encSliceContainer(v []Container, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4612 := range v { + for _, yyv4676 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4613 := &yyv4612 - yy4613.CodecEncodeSelf(e) + yy4677 := &yyv4676 + yy4677.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58088,83 +58776,83 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4614 := *v - yyh4614, yyl4614 := z.DecSliceHelperStart() - var yyc4614 bool - if yyl4614 == 0 { - if yyv4614 == nil { - yyv4614 = []Container{} - yyc4614 = true - } else if len(yyv4614) != 0 { - yyv4614 = yyv4614[:0] - yyc4614 = true + 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 } - } else if yyl4614 > 0 { - var yyrr4614, yyrl4614 int - var yyrt4614 bool - if yyl4614 > cap(yyv4614) { + } else if yyl4678 > 0 { + var yyrr4678, yyrl4678 int + var yyrt4678 bool + if yyl4678 > cap(yyv4678) { - yyrg4614 := len(yyv4614) > 0 - yyv24614 := yyv4614 - yyrl4614, yyrt4614 = z.DecInferLen(yyl4614, z.DecBasicHandle().MaxInitLen, 256) - if yyrt4614 { - if yyrl4614 <= cap(yyv4614) { - yyv4614 = yyv4614[:yyrl4614] + yyrg4678 := len(yyv4678) > 0 + yyv24678 := yyv4678 + yyrl4678, yyrt4678 = z.DecInferLen(yyl4678, z.DecBasicHandle().MaxInitLen, 256) + if yyrt4678 { + if yyrl4678 <= cap(yyv4678) { + yyv4678 = yyv4678[:yyrl4678] } else { - yyv4614 = make([]Container, yyrl4614) + yyv4678 = make([]Container, yyrl4678) } } else { - yyv4614 = make([]Container, yyrl4614) + yyv4678 = make([]Container, yyrl4678) } - yyc4614 = true - yyrr4614 = len(yyv4614) - if yyrg4614 { - copy(yyv4614, yyv24614) + yyc4678 = true + yyrr4678 = len(yyv4678) + if yyrg4678 { + copy(yyv4678, yyv24678) } - } else if yyl4614 != len(yyv4614) { - yyv4614 = yyv4614[:yyl4614] - yyc4614 = true + } else if yyl4678 != len(yyv4678) { + yyv4678 = yyv4678[:yyl4678] + yyc4678 = true } - yyj4614 := 0 - for ; yyj4614 < yyrr4614; yyj4614++ { - yyh4614.ElemContainerState(yyj4614) + yyj4678 := 0 + for ; yyj4678 < yyrr4678; yyj4678++ { + yyh4678.ElemContainerState(yyj4678) if r.TryDecodeAsNil() { - yyv4614[yyj4614] = Container{} + yyv4678[yyj4678] = Container{} } else { - yyv4615 := &yyv4614[yyj4614] - yyv4615.CodecDecodeSelf(d) + yyv4679 := &yyv4678[yyj4678] + yyv4679.CodecDecodeSelf(d) } } - if yyrt4614 { - for ; yyj4614 < yyl4614; yyj4614++ { - yyv4614 = append(yyv4614, Container{}) - yyh4614.ElemContainerState(yyj4614) + if yyrt4678 { + for ; yyj4678 < yyl4678; yyj4678++ { + yyv4678 = append(yyv4678, Container{}) + yyh4678.ElemContainerState(yyj4678) if r.TryDecodeAsNil() { - yyv4614[yyj4614] = Container{} + yyv4678[yyj4678] = Container{} } else { - yyv4616 := &yyv4614[yyj4614] - yyv4616.CodecDecodeSelf(d) + yyv4680 := &yyv4678[yyj4678] + yyv4680.CodecDecodeSelf(d) } } } } else { - yyj4614 := 0 - for ; !r.CheckBreak(); yyj4614++ { + yyj4678 := 0 + for ; !r.CheckBreak(); yyj4678++ { - if yyj4614 >= len(yyv4614) { - yyv4614 = append(yyv4614, Container{}) // var yyz4614 Container - yyc4614 = true + if yyj4678 >= len(yyv4678) { + yyv4678 = append(yyv4678, Container{}) // var yyz4678 Container + yyc4678 = true } - yyh4614.ElemContainerState(yyj4614) - if yyj4614 < len(yyv4614) { + yyh4678.ElemContainerState(yyj4678) + if yyj4678 < len(yyv4678) { if r.TryDecodeAsNil() { - yyv4614[yyj4614] = Container{} + yyv4678[yyj4678] = Container{} } else { - yyv4617 := &yyv4614[yyj4614] - yyv4617.CodecDecodeSelf(d) + yyv4681 := &yyv4678[yyj4678] + yyv4681.CodecDecodeSelf(d) } } else { @@ -58172,17 +58860,17 @@ func (x codecSelfer1234) decSliceContainer(v *[]Container, d *codec1978.Decoder) } } - if yyj4614 < len(yyv4614) { - yyv4614 = yyv4614[:yyj4614] - yyc4614 = true - } else if yyj4614 == 0 && yyv4614 == nil { - yyv4614 = []Container{} - yyc4614 = true + if yyj4678 < len(yyv4678) { + yyv4678 = yyv4678[:yyj4678] + yyc4678 = true + } else if yyj4678 == 0 && yyv4678 == nil { + yyv4678 = []Container{} + yyc4678 = true } } - yyh4614.End() - if yyc4614 { - *v = yyv4614 + yyh4678.End() + if yyc4678 { + *v = yyv4678 } } @@ -58191,10 +58879,10 @@ func (x codecSelfer1234) encSliceLocalObjectReference(v []LocalObjectReference, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4618 := range v { + for _, yyv4682 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4619 := &yyv4618 - yy4619.CodecEncodeSelf(e) + yy4683 := &yyv4682 + yy4683.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58204,83 +58892,83 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4620 := *v - yyh4620, yyl4620 := z.DecSliceHelperStart() - var yyc4620 bool - if yyl4620 == 0 { - if yyv4620 == nil { - yyv4620 = []LocalObjectReference{} - yyc4620 = true - } else if len(yyv4620) != 0 { - yyv4620 = yyv4620[:0] - yyc4620 = true + 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 } - } else if yyl4620 > 0 { - var yyrr4620, yyrl4620 int - var yyrt4620 bool - if yyl4620 > cap(yyv4620) { + } else if yyl4684 > 0 { + var yyrr4684, yyrl4684 int + var yyrt4684 bool + if yyl4684 > cap(yyv4684) { - yyrg4620 := len(yyv4620) > 0 - yyv24620 := yyv4620 - yyrl4620, yyrt4620 = z.DecInferLen(yyl4620, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4620 { - if yyrl4620 <= cap(yyv4620) { - yyv4620 = yyv4620[:yyrl4620] + yyrg4684 := len(yyv4684) > 0 + yyv24684 := yyv4684 + yyrl4684, yyrt4684 = z.DecInferLen(yyl4684, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4684 { + if yyrl4684 <= cap(yyv4684) { + yyv4684 = yyv4684[:yyrl4684] } else { - yyv4620 = make([]LocalObjectReference, yyrl4620) + yyv4684 = make([]LocalObjectReference, yyrl4684) } } else { - yyv4620 = make([]LocalObjectReference, yyrl4620) + yyv4684 = make([]LocalObjectReference, yyrl4684) } - yyc4620 = true - yyrr4620 = len(yyv4620) - if yyrg4620 { - copy(yyv4620, yyv24620) + yyc4684 = true + yyrr4684 = len(yyv4684) + if yyrg4684 { + copy(yyv4684, yyv24684) } - } else if yyl4620 != len(yyv4620) { - yyv4620 = yyv4620[:yyl4620] - yyc4620 = true + } else if yyl4684 != len(yyv4684) { + yyv4684 = yyv4684[:yyl4684] + yyc4684 = true } - yyj4620 := 0 - for ; yyj4620 < yyrr4620; yyj4620++ { - yyh4620.ElemContainerState(yyj4620) + yyj4684 := 0 + for ; yyj4684 < yyrr4684; yyj4684++ { + yyh4684.ElemContainerState(yyj4684) if r.TryDecodeAsNil() { - yyv4620[yyj4620] = LocalObjectReference{} + yyv4684[yyj4684] = LocalObjectReference{} } else { - yyv4621 := &yyv4620[yyj4620] - yyv4621.CodecDecodeSelf(d) + yyv4685 := &yyv4684[yyj4684] + yyv4685.CodecDecodeSelf(d) } } - if yyrt4620 { - for ; yyj4620 < yyl4620; yyj4620++ { - yyv4620 = append(yyv4620, LocalObjectReference{}) - yyh4620.ElemContainerState(yyj4620) + if yyrt4684 { + for ; yyj4684 < yyl4684; yyj4684++ { + yyv4684 = append(yyv4684, LocalObjectReference{}) + yyh4684.ElemContainerState(yyj4684) if r.TryDecodeAsNil() { - yyv4620[yyj4620] = LocalObjectReference{} + yyv4684[yyj4684] = LocalObjectReference{} } else { - yyv4622 := &yyv4620[yyj4620] - yyv4622.CodecDecodeSelf(d) + yyv4686 := &yyv4684[yyj4684] + yyv4686.CodecDecodeSelf(d) } } } } else { - yyj4620 := 0 - for ; !r.CheckBreak(); yyj4620++ { + yyj4684 := 0 + for ; !r.CheckBreak(); yyj4684++ { - if yyj4620 >= len(yyv4620) { - yyv4620 = append(yyv4620, LocalObjectReference{}) // var yyz4620 LocalObjectReference - yyc4620 = true + if yyj4684 >= len(yyv4684) { + yyv4684 = append(yyv4684, LocalObjectReference{}) // var yyz4684 LocalObjectReference + yyc4684 = true } - yyh4620.ElemContainerState(yyj4620) - if yyj4620 < len(yyv4620) { + yyh4684.ElemContainerState(yyj4684) + if yyj4684 < len(yyv4684) { if r.TryDecodeAsNil() { - yyv4620[yyj4620] = LocalObjectReference{} + yyv4684[yyj4684] = LocalObjectReference{} } else { - yyv4623 := &yyv4620[yyj4620] - yyv4623.CodecDecodeSelf(d) + yyv4687 := &yyv4684[yyj4684] + yyv4687.CodecDecodeSelf(d) } } else { @@ -58288,17 +58976,17 @@ func (x codecSelfer1234) decSliceLocalObjectReference(v *[]LocalObjectReference, } } - if yyj4620 < len(yyv4620) { - yyv4620 = yyv4620[:yyj4620] - yyc4620 = true - } else if yyj4620 == 0 && yyv4620 == nil { - yyv4620 = []LocalObjectReference{} - yyc4620 = true + if yyj4684 < len(yyv4684) { + yyv4684 = yyv4684[:yyj4684] + yyc4684 = true + } else if yyj4684 == 0 && yyv4684 == nil { + yyv4684 = []LocalObjectReference{} + yyc4684 = true } } - yyh4620.End() - if yyc4620 { - *v = yyv4620 + yyh4684.End() + if yyc4684 { + *v = yyv4684 } } @@ -58307,10 +58995,10 @@ func (x codecSelfer1234) encSlicePodCondition(v []PodCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4624 := range v { + for _, yyv4688 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4625 := &yyv4624 - yy4625.CodecEncodeSelf(e) + yy4689 := &yyv4688 + yy4689.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58320,83 +59008,83 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4626 := *v - yyh4626, yyl4626 := z.DecSliceHelperStart() - var yyc4626 bool - if yyl4626 == 0 { - if yyv4626 == nil { - yyv4626 = []PodCondition{} - yyc4626 = true - } else if len(yyv4626) != 0 { - yyv4626 = yyv4626[:0] - yyc4626 = true + 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 } - } else if yyl4626 > 0 { - var yyrr4626, yyrl4626 int - var yyrt4626 bool - if yyl4626 > cap(yyv4626) { + } else if yyl4690 > 0 { + var yyrr4690, yyrl4690 int + var yyrt4690 bool + if yyl4690 > cap(yyv4690) { - yyrg4626 := len(yyv4626) > 0 - yyv24626 := yyv4626 - yyrl4626, yyrt4626 = z.DecInferLen(yyl4626, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4626 { - if yyrl4626 <= cap(yyv4626) { - yyv4626 = yyv4626[:yyrl4626] + yyrg4690 := len(yyv4690) > 0 + yyv24690 := yyv4690 + yyrl4690, yyrt4690 = z.DecInferLen(yyl4690, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4690 { + if yyrl4690 <= cap(yyv4690) { + yyv4690 = yyv4690[:yyrl4690] } else { - yyv4626 = make([]PodCondition, yyrl4626) + yyv4690 = make([]PodCondition, yyrl4690) } } else { - yyv4626 = make([]PodCondition, yyrl4626) + yyv4690 = make([]PodCondition, yyrl4690) } - yyc4626 = true - yyrr4626 = len(yyv4626) - if yyrg4626 { - copy(yyv4626, yyv24626) + yyc4690 = true + yyrr4690 = len(yyv4690) + if yyrg4690 { + copy(yyv4690, yyv24690) } - } else if yyl4626 != len(yyv4626) { - yyv4626 = yyv4626[:yyl4626] - yyc4626 = true + } else if yyl4690 != len(yyv4690) { + yyv4690 = yyv4690[:yyl4690] + yyc4690 = true } - yyj4626 := 0 - for ; yyj4626 < yyrr4626; yyj4626++ { - yyh4626.ElemContainerState(yyj4626) + yyj4690 := 0 + for ; yyj4690 < yyrr4690; yyj4690++ { + yyh4690.ElemContainerState(yyj4690) if r.TryDecodeAsNil() { - yyv4626[yyj4626] = PodCondition{} + yyv4690[yyj4690] = PodCondition{} } else { - yyv4627 := &yyv4626[yyj4626] - yyv4627.CodecDecodeSelf(d) + yyv4691 := &yyv4690[yyj4690] + yyv4691.CodecDecodeSelf(d) } } - if yyrt4626 { - for ; yyj4626 < yyl4626; yyj4626++ { - yyv4626 = append(yyv4626, PodCondition{}) - yyh4626.ElemContainerState(yyj4626) + if yyrt4690 { + for ; yyj4690 < yyl4690; yyj4690++ { + yyv4690 = append(yyv4690, PodCondition{}) + yyh4690.ElemContainerState(yyj4690) if r.TryDecodeAsNil() { - yyv4626[yyj4626] = PodCondition{} + yyv4690[yyj4690] = PodCondition{} } else { - yyv4628 := &yyv4626[yyj4626] - yyv4628.CodecDecodeSelf(d) + yyv4692 := &yyv4690[yyj4690] + yyv4692.CodecDecodeSelf(d) } } } } else { - yyj4626 := 0 - for ; !r.CheckBreak(); yyj4626++ { + yyj4690 := 0 + for ; !r.CheckBreak(); yyj4690++ { - if yyj4626 >= len(yyv4626) { - yyv4626 = append(yyv4626, PodCondition{}) // var yyz4626 PodCondition - yyc4626 = true + if yyj4690 >= len(yyv4690) { + yyv4690 = append(yyv4690, PodCondition{}) // var yyz4690 PodCondition + yyc4690 = true } - yyh4626.ElemContainerState(yyj4626) - if yyj4626 < len(yyv4626) { + yyh4690.ElemContainerState(yyj4690) + if yyj4690 < len(yyv4690) { if r.TryDecodeAsNil() { - yyv4626[yyj4626] = PodCondition{} + yyv4690[yyj4690] = PodCondition{} } else { - yyv4629 := &yyv4626[yyj4626] - yyv4629.CodecDecodeSelf(d) + yyv4693 := &yyv4690[yyj4690] + yyv4693.CodecDecodeSelf(d) } } else { @@ -58404,17 +59092,17 @@ func (x codecSelfer1234) decSlicePodCondition(v *[]PodCondition, d *codec1978.De } } - if yyj4626 < len(yyv4626) { - yyv4626 = yyv4626[:yyj4626] - yyc4626 = true - } else if yyj4626 == 0 && yyv4626 == nil { - yyv4626 = []PodCondition{} - yyc4626 = true + if yyj4690 < len(yyv4690) { + yyv4690 = yyv4690[:yyj4690] + yyc4690 = true + } else if yyj4690 == 0 && yyv4690 == nil { + yyv4690 = []PodCondition{} + yyc4690 = true } } - yyh4626.End() - if yyc4626 { - *v = yyv4626 + yyh4690.End() + if yyc4690 { + *v = yyv4690 } } @@ -58423,10 +59111,10 @@ func (x codecSelfer1234) encSliceContainerStatus(v []ContainerStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4630 := range v { + for _, yyv4694 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4631 := &yyv4630 - yy4631.CodecEncodeSelf(e) + yy4695 := &yyv4694 + yy4695.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58436,83 +59124,83 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4632 := *v - yyh4632, yyl4632 := z.DecSliceHelperStart() - var yyc4632 bool - if yyl4632 == 0 { - if yyv4632 == nil { - yyv4632 = []ContainerStatus{} - yyc4632 = true - } else if len(yyv4632) != 0 { - yyv4632 = yyv4632[:0] - yyc4632 = true + 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 } - } else if yyl4632 > 0 { - var yyrr4632, yyrl4632 int - var yyrt4632 bool - if yyl4632 > cap(yyv4632) { + } else if yyl4696 > 0 { + var yyrr4696, yyrl4696 int + var yyrt4696 bool + if yyl4696 > cap(yyv4696) { - yyrg4632 := len(yyv4632) > 0 - yyv24632 := yyv4632 - yyrl4632, yyrt4632 = z.DecInferLen(yyl4632, z.DecBasicHandle().MaxInitLen, 120) - if yyrt4632 { - if yyrl4632 <= cap(yyv4632) { - yyv4632 = yyv4632[:yyrl4632] + yyrg4696 := len(yyv4696) > 0 + yyv24696 := yyv4696 + yyrl4696, yyrt4696 = z.DecInferLen(yyl4696, z.DecBasicHandle().MaxInitLen, 120) + if yyrt4696 { + if yyrl4696 <= cap(yyv4696) { + yyv4696 = yyv4696[:yyrl4696] } else { - yyv4632 = make([]ContainerStatus, yyrl4632) + yyv4696 = make([]ContainerStatus, yyrl4696) } } else { - yyv4632 = make([]ContainerStatus, yyrl4632) + yyv4696 = make([]ContainerStatus, yyrl4696) } - yyc4632 = true - yyrr4632 = len(yyv4632) - if yyrg4632 { - copy(yyv4632, yyv24632) + yyc4696 = true + yyrr4696 = len(yyv4696) + if yyrg4696 { + copy(yyv4696, yyv24696) } - } else if yyl4632 != len(yyv4632) { - yyv4632 = yyv4632[:yyl4632] - yyc4632 = true + } else if yyl4696 != len(yyv4696) { + yyv4696 = yyv4696[:yyl4696] + yyc4696 = true } - yyj4632 := 0 - for ; yyj4632 < yyrr4632; yyj4632++ { - yyh4632.ElemContainerState(yyj4632) + yyj4696 := 0 + for ; yyj4696 < yyrr4696; yyj4696++ { + yyh4696.ElemContainerState(yyj4696) if r.TryDecodeAsNil() { - yyv4632[yyj4632] = ContainerStatus{} + yyv4696[yyj4696] = ContainerStatus{} } else { - yyv4633 := &yyv4632[yyj4632] - yyv4633.CodecDecodeSelf(d) + yyv4697 := &yyv4696[yyj4696] + yyv4697.CodecDecodeSelf(d) } } - if yyrt4632 { - for ; yyj4632 < yyl4632; yyj4632++ { - yyv4632 = append(yyv4632, ContainerStatus{}) - yyh4632.ElemContainerState(yyj4632) + if yyrt4696 { + for ; yyj4696 < yyl4696; yyj4696++ { + yyv4696 = append(yyv4696, ContainerStatus{}) + yyh4696.ElemContainerState(yyj4696) if r.TryDecodeAsNil() { - yyv4632[yyj4632] = ContainerStatus{} + yyv4696[yyj4696] = ContainerStatus{} } else { - yyv4634 := &yyv4632[yyj4632] - yyv4634.CodecDecodeSelf(d) + yyv4698 := &yyv4696[yyj4696] + yyv4698.CodecDecodeSelf(d) } } } } else { - yyj4632 := 0 - for ; !r.CheckBreak(); yyj4632++ { + yyj4696 := 0 + for ; !r.CheckBreak(); yyj4696++ { - if yyj4632 >= len(yyv4632) { - yyv4632 = append(yyv4632, ContainerStatus{}) // var yyz4632 ContainerStatus - yyc4632 = true + if yyj4696 >= len(yyv4696) { + yyv4696 = append(yyv4696, ContainerStatus{}) // var yyz4696 ContainerStatus + yyc4696 = true } - yyh4632.ElemContainerState(yyj4632) - if yyj4632 < len(yyv4632) { + yyh4696.ElemContainerState(yyj4696) + if yyj4696 < len(yyv4696) { if r.TryDecodeAsNil() { - yyv4632[yyj4632] = ContainerStatus{} + yyv4696[yyj4696] = ContainerStatus{} } else { - yyv4635 := &yyv4632[yyj4632] - yyv4635.CodecDecodeSelf(d) + yyv4699 := &yyv4696[yyj4696] + yyv4699.CodecDecodeSelf(d) } } else { @@ -58520,17 +59208,17 @@ func (x codecSelfer1234) decSliceContainerStatus(v *[]ContainerStatus, d *codec1 } } - if yyj4632 < len(yyv4632) { - yyv4632 = yyv4632[:yyj4632] - yyc4632 = true - } else if yyj4632 == 0 && yyv4632 == nil { - yyv4632 = []ContainerStatus{} - yyc4632 = true + if yyj4696 < len(yyv4696) { + yyv4696 = yyv4696[:yyj4696] + yyc4696 = true + } else if yyj4696 == 0 && yyv4696 == nil { + yyv4696 = []ContainerStatus{} + yyc4696 = true } } - yyh4632.End() - if yyc4632 { - *v = yyv4632 + yyh4696.End() + if yyc4696 { + *v = yyv4696 } } @@ -58539,10 +59227,10 @@ func (x codecSelfer1234) encSlicePod(v []Pod, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4636 := range v { + for _, yyv4700 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4637 := &yyv4636 - yy4637.CodecEncodeSelf(e) + yy4701 := &yyv4700 + yy4701.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58552,83 +59240,83 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4638 := *v - yyh4638, yyl4638 := z.DecSliceHelperStart() - var yyc4638 bool - if yyl4638 == 0 { - if yyv4638 == nil { - yyv4638 = []Pod{} - yyc4638 = true - } else if len(yyv4638) != 0 { - yyv4638 = yyv4638[:0] - yyc4638 = true + 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 } - } else if yyl4638 > 0 { - var yyrr4638, yyrl4638 int - var yyrt4638 bool - if yyl4638 > cap(yyv4638) { + } else if yyl4702 > 0 { + var yyrr4702, yyrl4702 int + var yyrt4702 bool + if yyl4702 > cap(yyv4702) { - yyrg4638 := len(yyv4638) > 0 - yyv24638 := yyv4638 - yyrl4638, yyrt4638 = z.DecInferLen(yyl4638, z.DecBasicHandle().MaxInitLen, 664) - if yyrt4638 { - if yyrl4638 <= cap(yyv4638) { - yyv4638 = yyv4638[:yyrl4638] + yyrg4702 := len(yyv4702) > 0 + yyv24702 := yyv4702 + yyrl4702, yyrt4702 = z.DecInferLen(yyl4702, z.DecBasicHandle().MaxInitLen, 664) + if yyrt4702 { + if yyrl4702 <= cap(yyv4702) { + yyv4702 = yyv4702[:yyrl4702] } else { - yyv4638 = make([]Pod, yyrl4638) + yyv4702 = make([]Pod, yyrl4702) } } else { - yyv4638 = make([]Pod, yyrl4638) + yyv4702 = make([]Pod, yyrl4702) } - yyc4638 = true - yyrr4638 = len(yyv4638) - if yyrg4638 { - copy(yyv4638, yyv24638) + yyc4702 = true + yyrr4702 = len(yyv4702) + if yyrg4702 { + copy(yyv4702, yyv24702) } - } else if yyl4638 != len(yyv4638) { - yyv4638 = yyv4638[:yyl4638] - yyc4638 = true + } else if yyl4702 != len(yyv4702) { + yyv4702 = yyv4702[:yyl4702] + yyc4702 = true } - yyj4638 := 0 - for ; yyj4638 < yyrr4638; yyj4638++ { - yyh4638.ElemContainerState(yyj4638) + yyj4702 := 0 + for ; yyj4702 < yyrr4702; yyj4702++ { + yyh4702.ElemContainerState(yyj4702) if r.TryDecodeAsNil() { - yyv4638[yyj4638] = Pod{} + yyv4702[yyj4702] = Pod{} } else { - yyv4639 := &yyv4638[yyj4638] - yyv4639.CodecDecodeSelf(d) + yyv4703 := &yyv4702[yyj4702] + yyv4703.CodecDecodeSelf(d) } } - if yyrt4638 { - for ; yyj4638 < yyl4638; yyj4638++ { - yyv4638 = append(yyv4638, Pod{}) - yyh4638.ElemContainerState(yyj4638) + if yyrt4702 { + for ; yyj4702 < yyl4702; yyj4702++ { + yyv4702 = append(yyv4702, Pod{}) + yyh4702.ElemContainerState(yyj4702) if r.TryDecodeAsNil() { - yyv4638[yyj4638] = Pod{} + yyv4702[yyj4702] = Pod{} } else { - yyv4640 := &yyv4638[yyj4638] - yyv4640.CodecDecodeSelf(d) + yyv4704 := &yyv4702[yyj4702] + yyv4704.CodecDecodeSelf(d) } } } } else { - yyj4638 := 0 - for ; !r.CheckBreak(); yyj4638++ { + yyj4702 := 0 + for ; !r.CheckBreak(); yyj4702++ { - if yyj4638 >= len(yyv4638) { - yyv4638 = append(yyv4638, Pod{}) // var yyz4638 Pod - yyc4638 = true + if yyj4702 >= len(yyv4702) { + yyv4702 = append(yyv4702, Pod{}) // var yyz4702 Pod + yyc4702 = true } - yyh4638.ElemContainerState(yyj4638) - if yyj4638 < len(yyv4638) { + yyh4702.ElemContainerState(yyj4702) + if yyj4702 < len(yyv4702) { if r.TryDecodeAsNil() { - yyv4638[yyj4638] = Pod{} + yyv4702[yyj4702] = Pod{} } else { - yyv4641 := &yyv4638[yyj4638] - yyv4641.CodecDecodeSelf(d) + yyv4705 := &yyv4702[yyj4702] + yyv4705.CodecDecodeSelf(d) } } else { @@ -58636,17 +59324,17 @@ func (x codecSelfer1234) decSlicePod(v *[]Pod, d *codec1978.Decoder) { } } - if yyj4638 < len(yyv4638) { - yyv4638 = yyv4638[:yyj4638] - yyc4638 = true - } else if yyj4638 == 0 && yyv4638 == nil { - yyv4638 = []Pod{} - yyc4638 = true + if yyj4702 < len(yyv4702) { + yyv4702 = yyv4702[:yyj4702] + yyc4702 = true + } else if yyj4702 == 0 && yyv4702 == nil { + yyv4702 = []Pod{} + yyc4702 = true } } - yyh4638.End() - if yyc4638 { - *v = yyv4638 + yyh4702.End() + if yyc4702 { + *v = yyv4702 } } @@ -58655,10 +59343,10 @@ func (x codecSelfer1234) encSlicePodTemplate(v []PodTemplate, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4642 := range v { + for _, yyv4706 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4643 := &yyv4642 - yy4643.CodecEncodeSelf(e) + yy4707 := &yyv4706 + yy4707.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58668,83 +59356,83 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4644 := *v - yyh4644, yyl4644 := z.DecSliceHelperStart() - var yyc4644 bool - if yyl4644 == 0 { - if yyv4644 == nil { - yyv4644 = []PodTemplate{} - yyc4644 = true - } else if len(yyv4644) != 0 { - yyv4644 = yyv4644[:0] - yyc4644 = true + 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 } - } else if yyl4644 > 0 { - var yyrr4644, yyrl4644 int - var yyrt4644 bool - if yyl4644 > cap(yyv4644) { + } else if yyl4708 > 0 { + var yyrr4708, yyrl4708 int + var yyrt4708 bool + if yyl4708 > cap(yyv4708) { - yyrg4644 := len(yyv4644) > 0 - yyv24644 := yyv4644 - yyrl4644, yyrt4644 = z.DecInferLen(yyl4644, z.DecBasicHandle().MaxInitLen, 728) - if yyrt4644 { - if yyrl4644 <= cap(yyv4644) { - yyv4644 = yyv4644[:yyrl4644] + yyrg4708 := len(yyv4708) > 0 + yyv24708 := yyv4708 + yyrl4708, yyrt4708 = z.DecInferLen(yyl4708, z.DecBasicHandle().MaxInitLen, 728) + if yyrt4708 { + if yyrl4708 <= cap(yyv4708) { + yyv4708 = yyv4708[:yyrl4708] } else { - yyv4644 = make([]PodTemplate, yyrl4644) + yyv4708 = make([]PodTemplate, yyrl4708) } } else { - yyv4644 = make([]PodTemplate, yyrl4644) + yyv4708 = make([]PodTemplate, yyrl4708) } - yyc4644 = true - yyrr4644 = len(yyv4644) - if yyrg4644 { - copy(yyv4644, yyv24644) + yyc4708 = true + yyrr4708 = len(yyv4708) + if yyrg4708 { + copy(yyv4708, yyv24708) } - } else if yyl4644 != len(yyv4644) { - yyv4644 = yyv4644[:yyl4644] - yyc4644 = true + } else if yyl4708 != len(yyv4708) { + yyv4708 = yyv4708[:yyl4708] + yyc4708 = true } - yyj4644 := 0 - for ; yyj4644 < yyrr4644; yyj4644++ { - yyh4644.ElemContainerState(yyj4644) + yyj4708 := 0 + for ; yyj4708 < yyrr4708; yyj4708++ { + yyh4708.ElemContainerState(yyj4708) if r.TryDecodeAsNil() { - yyv4644[yyj4644] = PodTemplate{} + yyv4708[yyj4708] = PodTemplate{} } else { - yyv4645 := &yyv4644[yyj4644] - yyv4645.CodecDecodeSelf(d) + yyv4709 := &yyv4708[yyj4708] + yyv4709.CodecDecodeSelf(d) } } - if yyrt4644 { - for ; yyj4644 < yyl4644; yyj4644++ { - yyv4644 = append(yyv4644, PodTemplate{}) - yyh4644.ElemContainerState(yyj4644) + if yyrt4708 { + for ; yyj4708 < yyl4708; yyj4708++ { + yyv4708 = append(yyv4708, PodTemplate{}) + yyh4708.ElemContainerState(yyj4708) if r.TryDecodeAsNil() { - yyv4644[yyj4644] = PodTemplate{} + yyv4708[yyj4708] = PodTemplate{} } else { - yyv4646 := &yyv4644[yyj4644] - yyv4646.CodecDecodeSelf(d) + yyv4710 := &yyv4708[yyj4708] + yyv4710.CodecDecodeSelf(d) } } } } else { - yyj4644 := 0 - for ; !r.CheckBreak(); yyj4644++ { + yyj4708 := 0 + for ; !r.CheckBreak(); yyj4708++ { - if yyj4644 >= len(yyv4644) { - yyv4644 = append(yyv4644, PodTemplate{}) // var yyz4644 PodTemplate - yyc4644 = true + if yyj4708 >= len(yyv4708) { + yyv4708 = append(yyv4708, PodTemplate{}) // var yyz4708 PodTemplate + yyc4708 = true } - yyh4644.ElemContainerState(yyj4644) - if yyj4644 < len(yyv4644) { + yyh4708.ElemContainerState(yyj4708) + if yyj4708 < len(yyv4708) { if r.TryDecodeAsNil() { - yyv4644[yyj4644] = PodTemplate{} + yyv4708[yyj4708] = PodTemplate{} } else { - yyv4647 := &yyv4644[yyj4644] - yyv4647.CodecDecodeSelf(d) + yyv4711 := &yyv4708[yyj4708] + yyv4711.CodecDecodeSelf(d) } } else { @@ -58752,17 +59440,133 @@ func (x codecSelfer1234) decSlicePodTemplate(v *[]PodTemplate, d *codec1978.Deco } } - if yyj4644 < len(yyv4644) { - yyv4644 = yyv4644[:yyj4644] - yyc4644 = true - } else if yyj4644 == 0 && yyv4644 == nil { - yyv4644 = []PodTemplate{} - yyc4644 = true + if yyj4708 < len(yyv4708) { + yyv4708 = yyv4708[:yyj4708] + yyc4708 = true + } else if yyj4708 == 0 && yyv4708 == nil { + yyv4708 = []PodTemplate{} + yyc4708 = true } } - yyh4644.End() - if yyc4644 { - *v = yyv4644 + yyh4708.End() + if yyc4708 { + *v = yyv4708 + } +} + +func (x codecSelfer1234) encSliceReplicationControllerCondition(v []ReplicationControllerCondition, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv4712 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy4713 := &yyv4712 + yy4713.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceReplicationControllerCondition(v *[]ReplicationControllerCondition, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl4714 > 0 { + var yyrr4714, yyrl4714 int + var yyrt4714 bool + if yyl4714 > cap(yyv4714) { + + yyrg4714 := len(yyv4714) > 0 + yyv24714 := yyv4714 + yyrl4714, yyrt4714 = z.DecInferLen(yyl4714, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4714 { + if yyrl4714 <= cap(yyv4714) { + yyv4714 = yyv4714[:yyrl4714] + } else { + yyv4714 = make([]ReplicationControllerCondition, yyrl4714) + } + } else { + yyv4714 = make([]ReplicationControllerCondition, yyrl4714) + } + yyc4714 = true + yyrr4714 = len(yyv4714) + if yyrg4714 { + copy(yyv4714, yyv24714) + } + } else if yyl4714 != len(yyv4714) { + yyv4714 = yyv4714[:yyl4714] + yyc4714 = true + } + yyj4714 := 0 + for ; yyj4714 < yyrr4714; yyj4714++ { + yyh4714.ElemContainerState(yyj4714) + if r.TryDecodeAsNil() { + yyv4714[yyj4714] = ReplicationControllerCondition{} + } else { + yyv4715 := &yyv4714[yyj4714] + yyv4715.CodecDecodeSelf(d) + } + + } + if yyrt4714 { + for ; yyj4714 < yyl4714; yyj4714++ { + yyv4714 = append(yyv4714, ReplicationControllerCondition{}) + yyh4714.ElemContainerState(yyj4714) + if r.TryDecodeAsNil() { + yyv4714[yyj4714] = ReplicationControllerCondition{} + } else { + yyv4716 := &yyv4714[yyj4714] + yyv4716.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj4714 := 0 + for ; !r.CheckBreak(); yyj4714++ { + + if yyj4714 >= len(yyv4714) { + yyv4714 = append(yyv4714, ReplicationControllerCondition{}) // var yyz4714 ReplicationControllerCondition + yyc4714 = true + } + yyh4714.ElemContainerState(yyj4714) + if yyj4714 < len(yyv4714) { + if r.TryDecodeAsNil() { + yyv4714[yyj4714] = ReplicationControllerCondition{} + } else { + yyv4717 := &yyv4714[yyj4714] + yyv4717.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj4714 < len(yyv4714) { + yyv4714 = yyv4714[:yyj4714] + yyc4714 = true + } else if yyj4714 == 0 && yyv4714 == nil { + yyv4714 = []ReplicationControllerCondition{} + yyc4714 = true + } + } + yyh4714.End() + if yyc4714 { + *v = yyv4714 } } @@ -58771,10 +59575,10 @@ func (x codecSelfer1234) encSliceReplicationController(v []ReplicationController z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4648 := range v { + for _, yyv4718 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4649 := &yyv4648 - yy4649.CodecEncodeSelf(e) + yy4719 := &yyv4718 + yy4719.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58784,83 +59588,83 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4650 := *v - yyh4650, yyl4650 := z.DecSliceHelperStart() - var yyc4650 bool - if yyl4650 == 0 { - if yyv4650 == nil { - yyv4650 = []ReplicationController{} - yyc4650 = true - } else if len(yyv4650) != 0 { - yyv4650 = yyv4650[:0] - yyc4650 = true + 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 } - } else if yyl4650 > 0 { - var yyrr4650, yyrl4650 int - var yyrt4650 bool - if yyl4650 > cap(yyv4650) { + } else if yyl4720 > 0 { + var yyrr4720, yyrl4720 int + var yyrt4720 bool + if yyl4720 > cap(yyv4720) { - yyrg4650 := len(yyv4650) > 0 - yyv24650 := yyv4650 - yyrl4650, yyrt4650 = z.DecInferLen(yyl4650, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4650 { - if yyrl4650 <= cap(yyv4650) { - yyv4650 = yyv4650[:yyrl4650] + yyrg4720 := len(yyv4720) > 0 + yyv24720 := yyv4720 + yyrl4720, yyrt4720 = z.DecInferLen(yyl4720, z.DecBasicHandle().MaxInitLen, 336) + if yyrt4720 { + if yyrl4720 <= cap(yyv4720) { + yyv4720 = yyv4720[:yyrl4720] } else { - yyv4650 = make([]ReplicationController, yyrl4650) + yyv4720 = make([]ReplicationController, yyrl4720) } } else { - yyv4650 = make([]ReplicationController, yyrl4650) + yyv4720 = make([]ReplicationController, yyrl4720) } - yyc4650 = true - yyrr4650 = len(yyv4650) - if yyrg4650 { - copy(yyv4650, yyv24650) + yyc4720 = true + yyrr4720 = len(yyv4720) + if yyrg4720 { + copy(yyv4720, yyv24720) } - } else if yyl4650 != len(yyv4650) { - yyv4650 = yyv4650[:yyl4650] - yyc4650 = true + } else if yyl4720 != len(yyv4720) { + yyv4720 = yyv4720[:yyl4720] + yyc4720 = true } - yyj4650 := 0 - for ; yyj4650 < yyrr4650; yyj4650++ { - yyh4650.ElemContainerState(yyj4650) + yyj4720 := 0 + for ; yyj4720 < yyrr4720; yyj4720++ { + yyh4720.ElemContainerState(yyj4720) if r.TryDecodeAsNil() { - yyv4650[yyj4650] = ReplicationController{} + yyv4720[yyj4720] = ReplicationController{} } else { - yyv4651 := &yyv4650[yyj4650] - yyv4651.CodecDecodeSelf(d) + yyv4721 := &yyv4720[yyj4720] + yyv4721.CodecDecodeSelf(d) } } - if yyrt4650 { - for ; yyj4650 < yyl4650; yyj4650++ { - yyv4650 = append(yyv4650, ReplicationController{}) - yyh4650.ElemContainerState(yyj4650) + if yyrt4720 { + for ; yyj4720 < yyl4720; yyj4720++ { + yyv4720 = append(yyv4720, ReplicationController{}) + yyh4720.ElemContainerState(yyj4720) if r.TryDecodeAsNil() { - yyv4650[yyj4650] = ReplicationController{} + yyv4720[yyj4720] = ReplicationController{} } else { - yyv4652 := &yyv4650[yyj4650] - yyv4652.CodecDecodeSelf(d) + yyv4722 := &yyv4720[yyj4720] + yyv4722.CodecDecodeSelf(d) } } } } else { - yyj4650 := 0 - for ; !r.CheckBreak(); yyj4650++ { + yyj4720 := 0 + for ; !r.CheckBreak(); yyj4720++ { - if yyj4650 >= len(yyv4650) { - yyv4650 = append(yyv4650, ReplicationController{}) // var yyz4650 ReplicationController - yyc4650 = true + if yyj4720 >= len(yyv4720) { + yyv4720 = append(yyv4720, ReplicationController{}) // var yyz4720 ReplicationController + yyc4720 = true } - yyh4650.ElemContainerState(yyj4650) - if yyj4650 < len(yyv4650) { + yyh4720.ElemContainerState(yyj4720) + if yyj4720 < len(yyv4720) { if r.TryDecodeAsNil() { - yyv4650[yyj4650] = ReplicationController{} + yyv4720[yyj4720] = ReplicationController{} } else { - yyv4653 := &yyv4650[yyj4650] - yyv4653.CodecDecodeSelf(d) + yyv4723 := &yyv4720[yyj4720] + yyv4723.CodecDecodeSelf(d) } } else { @@ -58868,17 +59672,17 @@ func (x codecSelfer1234) decSliceReplicationController(v *[]ReplicationControlle } } - if yyj4650 < len(yyv4650) { - yyv4650 = yyv4650[:yyj4650] - yyc4650 = true - } else if yyj4650 == 0 && yyv4650 == nil { - yyv4650 = []ReplicationController{} - yyc4650 = true + if yyj4720 < len(yyv4720) { + yyv4720 = yyv4720[:yyj4720] + yyc4720 = true + } else if yyj4720 == 0 && yyv4720 == nil { + yyv4720 = []ReplicationController{} + yyc4720 = true } } - yyh4650.End() - if yyc4650 { - *v = yyv4650 + yyh4720.End() + if yyc4720 { + *v = yyv4720 } } @@ -58887,10 +59691,10 @@ func (x codecSelfer1234) encSliceLoadBalancerIngress(v []LoadBalancerIngress, e z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4654 := range v { + for _, yyv4724 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4655 := &yyv4654 - yy4655.CodecEncodeSelf(e) + yy4725 := &yyv4724 + yy4725.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -58900,83 +59704,83 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4656 := *v - yyh4656, yyl4656 := z.DecSliceHelperStart() - var yyc4656 bool - if yyl4656 == 0 { - if yyv4656 == nil { - yyv4656 = []LoadBalancerIngress{} - yyc4656 = true - } else if len(yyv4656) != 0 { - yyv4656 = yyv4656[:0] - yyc4656 = true + 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 } - } else if yyl4656 > 0 { - var yyrr4656, yyrl4656 int - var yyrt4656 bool - if yyl4656 > cap(yyv4656) { + } else if yyl4726 > 0 { + var yyrr4726, yyrl4726 int + var yyrt4726 bool + if yyl4726 > cap(yyv4726) { - yyrg4656 := len(yyv4656) > 0 - yyv24656 := yyv4656 - yyrl4656, yyrt4656 = z.DecInferLen(yyl4656, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4656 { - if yyrl4656 <= cap(yyv4656) { - yyv4656 = yyv4656[:yyrl4656] + yyrg4726 := len(yyv4726) > 0 + yyv24726 := yyv4726 + yyrl4726, yyrt4726 = z.DecInferLen(yyl4726, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4726 { + if yyrl4726 <= cap(yyv4726) { + yyv4726 = yyv4726[:yyrl4726] } else { - yyv4656 = make([]LoadBalancerIngress, yyrl4656) + yyv4726 = make([]LoadBalancerIngress, yyrl4726) } } else { - yyv4656 = make([]LoadBalancerIngress, yyrl4656) + yyv4726 = make([]LoadBalancerIngress, yyrl4726) } - yyc4656 = true - yyrr4656 = len(yyv4656) - if yyrg4656 { - copy(yyv4656, yyv24656) + yyc4726 = true + yyrr4726 = len(yyv4726) + if yyrg4726 { + copy(yyv4726, yyv24726) } - } else if yyl4656 != len(yyv4656) { - yyv4656 = yyv4656[:yyl4656] - yyc4656 = true + } else if yyl4726 != len(yyv4726) { + yyv4726 = yyv4726[:yyl4726] + yyc4726 = true } - yyj4656 := 0 - for ; yyj4656 < yyrr4656; yyj4656++ { - yyh4656.ElemContainerState(yyj4656) + yyj4726 := 0 + for ; yyj4726 < yyrr4726; yyj4726++ { + yyh4726.ElemContainerState(yyj4726) if r.TryDecodeAsNil() { - yyv4656[yyj4656] = LoadBalancerIngress{} + yyv4726[yyj4726] = LoadBalancerIngress{} } else { - yyv4657 := &yyv4656[yyj4656] - yyv4657.CodecDecodeSelf(d) + yyv4727 := &yyv4726[yyj4726] + yyv4727.CodecDecodeSelf(d) } } - if yyrt4656 { - for ; yyj4656 < yyl4656; yyj4656++ { - yyv4656 = append(yyv4656, LoadBalancerIngress{}) - yyh4656.ElemContainerState(yyj4656) + if yyrt4726 { + for ; yyj4726 < yyl4726; yyj4726++ { + yyv4726 = append(yyv4726, LoadBalancerIngress{}) + yyh4726.ElemContainerState(yyj4726) if r.TryDecodeAsNil() { - yyv4656[yyj4656] = LoadBalancerIngress{} + yyv4726[yyj4726] = LoadBalancerIngress{} } else { - yyv4658 := &yyv4656[yyj4656] - yyv4658.CodecDecodeSelf(d) + yyv4728 := &yyv4726[yyj4726] + yyv4728.CodecDecodeSelf(d) } } } } else { - yyj4656 := 0 - for ; !r.CheckBreak(); yyj4656++ { + yyj4726 := 0 + for ; !r.CheckBreak(); yyj4726++ { - if yyj4656 >= len(yyv4656) { - yyv4656 = append(yyv4656, LoadBalancerIngress{}) // var yyz4656 LoadBalancerIngress - yyc4656 = true + if yyj4726 >= len(yyv4726) { + yyv4726 = append(yyv4726, LoadBalancerIngress{}) // var yyz4726 LoadBalancerIngress + yyc4726 = true } - yyh4656.ElemContainerState(yyj4656) - if yyj4656 < len(yyv4656) { + yyh4726.ElemContainerState(yyj4726) + if yyj4726 < len(yyv4726) { if r.TryDecodeAsNil() { - yyv4656[yyj4656] = LoadBalancerIngress{} + yyv4726[yyj4726] = LoadBalancerIngress{} } else { - yyv4659 := &yyv4656[yyj4656] - yyv4659.CodecDecodeSelf(d) + yyv4729 := &yyv4726[yyj4726] + yyv4729.CodecDecodeSelf(d) } } else { @@ -58984,17 +59788,17 @@ func (x codecSelfer1234) decSliceLoadBalancerIngress(v *[]LoadBalancerIngress, d } } - if yyj4656 < len(yyv4656) { - yyv4656 = yyv4656[:yyj4656] - yyc4656 = true - } else if yyj4656 == 0 && yyv4656 == nil { - yyv4656 = []LoadBalancerIngress{} - yyc4656 = true + if yyj4726 < len(yyv4726) { + yyv4726 = yyv4726[:yyj4726] + yyc4726 = true + } else if yyj4726 == 0 && yyv4726 == nil { + yyv4726 = []LoadBalancerIngress{} + yyc4726 = true } } - yyh4656.End() - if yyc4656 { - *v = yyv4656 + yyh4726.End() + if yyc4726 { + *v = yyv4726 } } @@ -59003,10 +59807,10 @@ func (x codecSelfer1234) encSliceServicePort(v []ServicePort, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4660 := range v { + for _, yyv4730 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4661 := &yyv4660 - yy4661.CodecEncodeSelf(e) + yy4731 := &yyv4730 + yy4731.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59016,83 +59820,83 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4662 := *v - yyh4662, yyl4662 := z.DecSliceHelperStart() - var yyc4662 bool - if yyl4662 == 0 { - if yyv4662 == nil { - yyv4662 = []ServicePort{} - yyc4662 = true - } else if len(yyv4662) != 0 { - yyv4662 = yyv4662[:0] - yyc4662 = true + 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 } - } else if yyl4662 > 0 { - var yyrr4662, yyrl4662 int - var yyrt4662 bool - if yyl4662 > cap(yyv4662) { + } else if yyl4732 > 0 { + var yyrr4732, yyrl4732 int + var yyrt4732 bool + if yyl4732 > cap(yyv4732) { - yyrg4662 := len(yyv4662) > 0 - yyv24662 := yyv4662 - yyrl4662, yyrt4662 = z.DecInferLen(yyl4662, z.DecBasicHandle().MaxInitLen, 80) - if yyrt4662 { - if yyrl4662 <= cap(yyv4662) { - yyv4662 = yyv4662[:yyrl4662] + yyrg4732 := len(yyv4732) > 0 + yyv24732 := yyv4732 + yyrl4732, yyrt4732 = z.DecInferLen(yyl4732, z.DecBasicHandle().MaxInitLen, 80) + if yyrt4732 { + if yyrl4732 <= cap(yyv4732) { + yyv4732 = yyv4732[:yyrl4732] } else { - yyv4662 = make([]ServicePort, yyrl4662) + yyv4732 = make([]ServicePort, yyrl4732) } } else { - yyv4662 = make([]ServicePort, yyrl4662) + yyv4732 = make([]ServicePort, yyrl4732) } - yyc4662 = true - yyrr4662 = len(yyv4662) - if yyrg4662 { - copy(yyv4662, yyv24662) + yyc4732 = true + yyrr4732 = len(yyv4732) + if yyrg4732 { + copy(yyv4732, yyv24732) } - } else if yyl4662 != len(yyv4662) { - yyv4662 = yyv4662[:yyl4662] - yyc4662 = true + } else if yyl4732 != len(yyv4732) { + yyv4732 = yyv4732[:yyl4732] + yyc4732 = true } - yyj4662 := 0 - for ; yyj4662 < yyrr4662; yyj4662++ { - yyh4662.ElemContainerState(yyj4662) + yyj4732 := 0 + for ; yyj4732 < yyrr4732; yyj4732++ { + yyh4732.ElemContainerState(yyj4732) if r.TryDecodeAsNil() { - yyv4662[yyj4662] = ServicePort{} + yyv4732[yyj4732] = ServicePort{} } else { - yyv4663 := &yyv4662[yyj4662] - yyv4663.CodecDecodeSelf(d) + yyv4733 := &yyv4732[yyj4732] + yyv4733.CodecDecodeSelf(d) } } - if yyrt4662 { - for ; yyj4662 < yyl4662; yyj4662++ { - yyv4662 = append(yyv4662, ServicePort{}) - yyh4662.ElemContainerState(yyj4662) + if yyrt4732 { + for ; yyj4732 < yyl4732; yyj4732++ { + yyv4732 = append(yyv4732, ServicePort{}) + yyh4732.ElemContainerState(yyj4732) if r.TryDecodeAsNil() { - yyv4662[yyj4662] = ServicePort{} + yyv4732[yyj4732] = ServicePort{} } else { - yyv4664 := &yyv4662[yyj4662] - yyv4664.CodecDecodeSelf(d) + yyv4734 := &yyv4732[yyj4732] + yyv4734.CodecDecodeSelf(d) } } } } else { - yyj4662 := 0 - for ; !r.CheckBreak(); yyj4662++ { + yyj4732 := 0 + for ; !r.CheckBreak(); yyj4732++ { - if yyj4662 >= len(yyv4662) { - yyv4662 = append(yyv4662, ServicePort{}) // var yyz4662 ServicePort - yyc4662 = true + if yyj4732 >= len(yyv4732) { + yyv4732 = append(yyv4732, ServicePort{}) // var yyz4732 ServicePort + yyc4732 = true } - yyh4662.ElemContainerState(yyj4662) - if yyj4662 < len(yyv4662) { + yyh4732.ElemContainerState(yyj4732) + if yyj4732 < len(yyv4732) { if r.TryDecodeAsNil() { - yyv4662[yyj4662] = ServicePort{} + yyv4732[yyj4732] = ServicePort{} } else { - yyv4665 := &yyv4662[yyj4662] - yyv4665.CodecDecodeSelf(d) + yyv4735 := &yyv4732[yyj4732] + yyv4735.CodecDecodeSelf(d) } } else { @@ -59100,17 +59904,17 @@ func (x codecSelfer1234) decSliceServicePort(v *[]ServicePort, d *codec1978.Deco } } - if yyj4662 < len(yyv4662) { - yyv4662 = yyv4662[:yyj4662] - yyc4662 = true - } else if yyj4662 == 0 && yyv4662 == nil { - yyv4662 = []ServicePort{} - yyc4662 = true + if yyj4732 < len(yyv4732) { + yyv4732 = yyv4732[:yyj4732] + yyc4732 = true + } else if yyj4732 == 0 && yyv4732 == nil { + yyv4732 = []ServicePort{} + yyc4732 = true } } - yyh4662.End() - if yyc4662 { - *v = yyv4662 + yyh4732.End() + if yyc4732 { + *v = yyv4732 } } @@ -59119,10 +59923,10 @@ func (x codecSelfer1234) encSliceService(v []Service, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4666 := range v { + for _, yyv4736 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4667 := &yyv4666 - yy4667.CodecEncodeSelf(e) + yy4737 := &yyv4736 + yy4737.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59132,83 +59936,83 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4668 := *v - yyh4668, yyl4668 := z.DecSliceHelperStart() - var yyc4668 bool - if yyl4668 == 0 { - if yyv4668 == nil { - yyv4668 = []Service{} - yyc4668 = true - } else if len(yyv4668) != 0 { - yyv4668 = yyv4668[:0] - yyc4668 = true + 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 } - } else if yyl4668 > 0 { - var yyrr4668, yyrl4668 int - var yyrt4668 bool - if yyl4668 > cap(yyv4668) { + } else if yyl4738 > 0 { + var yyrr4738, yyrl4738 int + var yyrt4738 bool + if yyl4738 > cap(yyv4738) { - yyrg4668 := len(yyv4668) > 0 - yyv24668 := yyv4668 - yyrl4668, yyrt4668 = z.DecInferLen(yyl4668, z.DecBasicHandle().MaxInitLen, 464) - if yyrt4668 { - if yyrl4668 <= cap(yyv4668) { - yyv4668 = yyv4668[:yyrl4668] + yyrg4738 := len(yyv4738) > 0 + yyv24738 := yyv4738 + yyrl4738, yyrt4738 = z.DecInferLen(yyl4738, z.DecBasicHandle().MaxInitLen, 464) + if yyrt4738 { + if yyrl4738 <= cap(yyv4738) { + yyv4738 = yyv4738[:yyrl4738] } else { - yyv4668 = make([]Service, yyrl4668) + yyv4738 = make([]Service, yyrl4738) } } else { - yyv4668 = make([]Service, yyrl4668) + yyv4738 = make([]Service, yyrl4738) } - yyc4668 = true - yyrr4668 = len(yyv4668) - if yyrg4668 { - copy(yyv4668, yyv24668) + yyc4738 = true + yyrr4738 = len(yyv4738) + if yyrg4738 { + copy(yyv4738, yyv24738) } - } else if yyl4668 != len(yyv4668) { - yyv4668 = yyv4668[:yyl4668] - yyc4668 = true + } else if yyl4738 != len(yyv4738) { + yyv4738 = yyv4738[:yyl4738] + yyc4738 = true } - yyj4668 := 0 - for ; yyj4668 < yyrr4668; yyj4668++ { - yyh4668.ElemContainerState(yyj4668) + yyj4738 := 0 + for ; yyj4738 < yyrr4738; yyj4738++ { + yyh4738.ElemContainerState(yyj4738) if r.TryDecodeAsNil() { - yyv4668[yyj4668] = Service{} + yyv4738[yyj4738] = Service{} } else { - yyv4669 := &yyv4668[yyj4668] - yyv4669.CodecDecodeSelf(d) + yyv4739 := &yyv4738[yyj4738] + yyv4739.CodecDecodeSelf(d) } } - if yyrt4668 { - for ; yyj4668 < yyl4668; yyj4668++ { - yyv4668 = append(yyv4668, Service{}) - yyh4668.ElemContainerState(yyj4668) + if yyrt4738 { + for ; yyj4738 < yyl4738; yyj4738++ { + yyv4738 = append(yyv4738, Service{}) + yyh4738.ElemContainerState(yyj4738) if r.TryDecodeAsNil() { - yyv4668[yyj4668] = Service{} + yyv4738[yyj4738] = Service{} } else { - yyv4670 := &yyv4668[yyj4668] - yyv4670.CodecDecodeSelf(d) + yyv4740 := &yyv4738[yyj4738] + yyv4740.CodecDecodeSelf(d) } } } } else { - yyj4668 := 0 - for ; !r.CheckBreak(); yyj4668++ { + yyj4738 := 0 + for ; !r.CheckBreak(); yyj4738++ { - if yyj4668 >= len(yyv4668) { - yyv4668 = append(yyv4668, Service{}) // var yyz4668 Service - yyc4668 = true + if yyj4738 >= len(yyv4738) { + yyv4738 = append(yyv4738, Service{}) // var yyz4738 Service + yyc4738 = true } - yyh4668.ElemContainerState(yyj4668) - if yyj4668 < len(yyv4668) { + yyh4738.ElemContainerState(yyj4738) + if yyj4738 < len(yyv4738) { if r.TryDecodeAsNil() { - yyv4668[yyj4668] = Service{} + yyv4738[yyj4738] = Service{} } else { - yyv4671 := &yyv4668[yyj4668] - yyv4671.CodecDecodeSelf(d) + yyv4741 := &yyv4738[yyj4738] + yyv4741.CodecDecodeSelf(d) } } else { @@ -59216,17 +60020,17 @@ func (x codecSelfer1234) decSliceService(v *[]Service, d *codec1978.Decoder) { } } - if yyj4668 < len(yyv4668) { - yyv4668 = yyv4668[:yyj4668] - yyc4668 = true - } else if yyj4668 == 0 && yyv4668 == nil { - yyv4668 = []Service{} - yyc4668 = true + if yyj4738 < len(yyv4738) { + yyv4738 = yyv4738[:yyj4738] + yyc4738 = true + } else if yyj4738 == 0 && yyv4738 == nil { + yyv4738 = []Service{} + yyc4738 = true } } - yyh4668.End() - if yyc4668 { - *v = yyv4668 + yyh4738.End() + if yyc4738 { + *v = yyv4738 } } @@ -59235,10 +60039,10 @@ func (x codecSelfer1234) encSliceObjectReference(v []ObjectReference, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4672 := range v { + for _, yyv4742 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4673 := &yyv4672 - yy4673.CodecEncodeSelf(e) + yy4743 := &yyv4742 + yy4743.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59248,83 +60052,83 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, 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 = []ObjectReference{} - yyc4674 = true - } else if len(yyv4674) != 0 { - yyv4674 = yyv4674[:0] - yyc4674 = true + 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 } - } else if yyl4674 > 0 { - var yyrr4674, yyrl4674 int - var yyrt4674 bool - if yyl4674 > cap(yyv4674) { + } else if yyl4744 > 0 { + var yyrr4744, yyrl4744 int + var yyrt4744 bool + if yyl4744 > cap(yyv4744) { - yyrg4674 := len(yyv4674) > 0 - yyv24674 := yyv4674 - yyrl4674, yyrt4674 = z.DecInferLen(yyl4674, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4674 { - if yyrl4674 <= cap(yyv4674) { - yyv4674 = yyv4674[:yyrl4674] + yyrg4744 := len(yyv4744) > 0 + yyv24744 := yyv4744 + yyrl4744, yyrt4744 = z.DecInferLen(yyl4744, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4744 { + if yyrl4744 <= cap(yyv4744) { + yyv4744 = yyv4744[:yyrl4744] } else { - yyv4674 = make([]ObjectReference, yyrl4674) + yyv4744 = make([]ObjectReference, yyrl4744) } } else { - yyv4674 = make([]ObjectReference, yyrl4674) + yyv4744 = make([]ObjectReference, yyrl4744) } - yyc4674 = true - yyrr4674 = len(yyv4674) - if yyrg4674 { - copy(yyv4674, yyv24674) + yyc4744 = true + yyrr4744 = len(yyv4744) + if yyrg4744 { + copy(yyv4744, yyv24744) } - } else if yyl4674 != len(yyv4674) { - yyv4674 = yyv4674[:yyl4674] - yyc4674 = true + } else if yyl4744 != len(yyv4744) { + yyv4744 = yyv4744[:yyl4744] + yyc4744 = true } - yyj4674 := 0 - for ; yyj4674 < yyrr4674; yyj4674++ { - yyh4674.ElemContainerState(yyj4674) + yyj4744 := 0 + for ; yyj4744 < yyrr4744; yyj4744++ { + yyh4744.ElemContainerState(yyj4744) if r.TryDecodeAsNil() { - yyv4674[yyj4674] = ObjectReference{} + yyv4744[yyj4744] = ObjectReference{} } else { - yyv4675 := &yyv4674[yyj4674] - yyv4675.CodecDecodeSelf(d) + yyv4745 := &yyv4744[yyj4744] + yyv4745.CodecDecodeSelf(d) } } - if yyrt4674 { - for ; yyj4674 < yyl4674; yyj4674++ { - yyv4674 = append(yyv4674, ObjectReference{}) - yyh4674.ElemContainerState(yyj4674) + if yyrt4744 { + for ; yyj4744 < yyl4744; yyj4744++ { + yyv4744 = append(yyv4744, ObjectReference{}) + yyh4744.ElemContainerState(yyj4744) if r.TryDecodeAsNil() { - yyv4674[yyj4674] = ObjectReference{} + yyv4744[yyj4744] = ObjectReference{} } else { - yyv4676 := &yyv4674[yyj4674] - yyv4676.CodecDecodeSelf(d) + yyv4746 := &yyv4744[yyj4744] + yyv4746.CodecDecodeSelf(d) } } } } else { - yyj4674 := 0 - for ; !r.CheckBreak(); yyj4674++ { + yyj4744 := 0 + for ; !r.CheckBreak(); yyj4744++ { - if yyj4674 >= len(yyv4674) { - yyv4674 = append(yyv4674, ObjectReference{}) // var yyz4674 ObjectReference - yyc4674 = true + if yyj4744 >= len(yyv4744) { + yyv4744 = append(yyv4744, ObjectReference{}) // var yyz4744 ObjectReference + yyc4744 = true } - yyh4674.ElemContainerState(yyj4674) - if yyj4674 < len(yyv4674) { + yyh4744.ElemContainerState(yyj4744) + if yyj4744 < len(yyv4744) { if r.TryDecodeAsNil() { - yyv4674[yyj4674] = ObjectReference{} + yyv4744[yyj4744] = ObjectReference{} } else { - yyv4677 := &yyv4674[yyj4674] - yyv4677.CodecDecodeSelf(d) + yyv4747 := &yyv4744[yyj4744] + yyv4747.CodecDecodeSelf(d) } } else { @@ -59332,17 +60136,17 @@ func (x codecSelfer1234) decSliceObjectReference(v *[]ObjectReference, d *codec1 } } - if yyj4674 < len(yyv4674) { - yyv4674 = yyv4674[:yyj4674] - yyc4674 = true - } else if yyj4674 == 0 && yyv4674 == nil { - yyv4674 = []ObjectReference{} - yyc4674 = true + if yyj4744 < len(yyv4744) { + yyv4744 = yyv4744[:yyj4744] + yyc4744 = true + } else if yyj4744 == 0 && yyv4744 == nil { + yyv4744 = []ObjectReference{} + yyc4744 = true } } - yyh4674.End() - if yyc4674 { - *v = yyv4674 + yyh4744.End() + if yyc4744 { + *v = yyv4744 } } @@ -59351,10 +60155,10 @@ func (x codecSelfer1234) encSliceServiceAccount(v []ServiceAccount, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4678 := range v { + for _, yyv4748 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4679 := &yyv4678 - yy4679.CodecEncodeSelf(e) + yy4749 := &yyv4748 + yy4749.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59364,83 +60168,83 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4680 := *v - yyh4680, yyl4680 := z.DecSliceHelperStart() - var yyc4680 bool - if yyl4680 == 0 { - if yyv4680 == nil { - yyv4680 = []ServiceAccount{} - yyc4680 = true - } else if len(yyv4680) != 0 { - yyv4680 = yyv4680[:0] - yyc4680 = true + 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 } - } else if yyl4680 > 0 { - var yyrr4680, yyrl4680 int - var yyrt4680 bool - if yyl4680 > cap(yyv4680) { + } else if yyl4750 > 0 { + var yyrr4750, yyrl4750 int + var yyrt4750 bool + if yyl4750 > cap(yyv4750) { - yyrg4680 := len(yyv4680) > 0 - yyv24680 := yyv4680 - yyrl4680, yyrt4680 = z.DecInferLen(yyl4680, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4680 { - if yyrl4680 <= cap(yyv4680) { - yyv4680 = yyv4680[:yyrl4680] + yyrg4750 := len(yyv4750) > 0 + yyv24750 := yyv4750 + yyrl4750, yyrt4750 = z.DecInferLen(yyl4750, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4750 { + if yyrl4750 <= cap(yyv4750) { + yyv4750 = yyv4750[:yyrl4750] } else { - yyv4680 = make([]ServiceAccount, yyrl4680) + yyv4750 = make([]ServiceAccount, yyrl4750) } } else { - yyv4680 = make([]ServiceAccount, yyrl4680) + yyv4750 = make([]ServiceAccount, yyrl4750) } - yyc4680 = true - yyrr4680 = len(yyv4680) - if yyrg4680 { - copy(yyv4680, yyv24680) + yyc4750 = true + yyrr4750 = len(yyv4750) + if yyrg4750 { + copy(yyv4750, yyv24750) } - } else if yyl4680 != len(yyv4680) { - yyv4680 = yyv4680[:yyl4680] - yyc4680 = true + } else if yyl4750 != len(yyv4750) { + yyv4750 = yyv4750[:yyl4750] + yyc4750 = true } - yyj4680 := 0 - for ; yyj4680 < yyrr4680; yyj4680++ { - yyh4680.ElemContainerState(yyj4680) + yyj4750 := 0 + for ; yyj4750 < yyrr4750; yyj4750++ { + yyh4750.ElemContainerState(yyj4750) if r.TryDecodeAsNil() { - yyv4680[yyj4680] = ServiceAccount{} + yyv4750[yyj4750] = ServiceAccount{} } else { - yyv4681 := &yyv4680[yyj4680] - yyv4681.CodecDecodeSelf(d) + yyv4751 := &yyv4750[yyj4750] + yyv4751.CodecDecodeSelf(d) } } - if yyrt4680 { - for ; yyj4680 < yyl4680; yyj4680++ { - yyv4680 = append(yyv4680, ServiceAccount{}) - yyh4680.ElemContainerState(yyj4680) + if yyrt4750 { + for ; yyj4750 < yyl4750; yyj4750++ { + yyv4750 = append(yyv4750, ServiceAccount{}) + yyh4750.ElemContainerState(yyj4750) if r.TryDecodeAsNil() { - yyv4680[yyj4680] = ServiceAccount{} + yyv4750[yyj4750] = ServiceAccount{} } else { - yyv4682 := &yyv4680[yyj4680] - yyv4682.CodecDecodeSelf(d) + yyv4752 := &yyv4750[yyj4750] + yyv4752.CodecDecodeSelf(d) } } } } else { - yyj4680 := 0 - for ; !r.CheckBreak(); yyj4680++ { + yyj4750 := 0 + for ; !r.CheckBreak(); yyj4750++ { - if yyj4680 >= len(yyv4680) { - yyv4680 = append(yyv4680, ServiceAccount{}) // var yyz4680 ServiceAccount - yyc4680 = true + if yyj4750 >= len(yyv4750) { + yyv4750 = append(yyv4750, ServiceAccount{}) // var yyz4750 ServiceAccount + yyc4750 = true } - yyh4680.ElemContainerState(yyj4680) - if yyj4680 < len(yyv4680) { + yyh4750.ElemContainerState(yyj4750) + if yyj4750 < len(yyv4750) { if r.TryDecodeAsNil() { - yyv4680[yyj4680] = ServiceAccount{} + yyv4750[yyj4750] = ServiceAccount{} } else { - yyv4683 := &yyv4680[yyj4680] - yyv4683.CodecDecodeSelf(d) + yyv4753 := &yyv4750[yyj4750] + yyv4753.CodecDecodeSelf(d) } } else { @@ -59448,17 +60252,17 @@ func (x codecSelfer1234) decSliceServiceAccount(v *[]ServiceAccount, d *codec197 } } - if yyj4680 < len(yyv4680) { - yyv4680 = yyv4680[:yyj4680] - yyc4680 = true - } else if yyj4680 == 0 && yyv4680 == nil { - yyv4680 = []ServiceAccount{} - yyc4680 = true + if yyj4750 < len(yyv4750) { + yyv4750 = yyv4750[:yyj4750] + yyc4750 = true + } else if yyj4750 == 0 && yyv4750 == nil { + yyv4750 = []ServiceAccount{} + yyc4750 = true } } - yyh4680.End() - if yyc4680 { - *v = yyv4680 + yyh4750.End() + if yyc4750 { + *v = yyv4750 } } @@ -59467,10 +60271,10 @@ func (x codecSelfer1234) encSliceEndpointSubset(v []EndpointSubset, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4684 := range v { + for _, yyv4754 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4685 := &yyv4684 - yy4685.CodecEncodeSelf(e) + yy4755 := &yyv4754 + yy4755.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59480,83 +60284,83 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4686 := *v - yyh4686, yyl4686 := z.DecSliceHelperStart() - var yyc4686 bool - if yyl4686 == 0 { - if yyv4686 == nil { - yyv4686 = []EndpointSubset{} - yyc4686 = true - } else if len(yyv4686) != 0 { - yyv4686 = yyv4686[:0] - yyc4686 = true + 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 } - } else if yyl4686 > 0 { - var yyrr4686, yyrl4686 int - var yyrt4686 bool - if yyl4686 > cap(yyv4686) { + } else if yyl4756 > 0 { + var yyrr4756, yyrl4756 int + var yyrt4756 bool + if yyl4756 > cap(yyv4756) { - yyrg4686 := len(yyv4686) > 0 - yyv24686 := yyv4686 - yyrl4686, yyrt4686 = z.DecInferLen(yyl4686, z.DecBasicHandle().MaxInitLen, 72) - if yyrt4686 { - if yyrl4686 <= cap(yyv4686) { - yyv4686 = yyv4686[:yyrl4686] + yyrg4756 := len(yyv4756) > 0 + yyv24756 := yyv4756 + yyrl4756, yyrt4756 = z.DecInferLen(yyl4756, z.DecBasicHandle().MaxInitLen, 72) + if yyrt4756 { + if yyrl4756 <= cap(yyv4756) { + yyv4756 = yyv4756[:yyrl4756] } else { - yyv4686 = make([]EndpointSubset, yyrl4686) + yyv4756 = make([]EndpointSubset, yyrl4756) } } else { - yyv4686 = make([]EndpointSubset, yyrl4686) + yyv4756 = make([]EndpointSubset, yyrl4756) } - yyc4686 = true - yyrr4686 = len(yyv4686) - if yyrg4686 { - copy(yyv4686, yyv24686) + yyc4756 = true + yyrr4756 = len(yyv4756) + if yyrg4756 { + copy(yyv4756, yyv24756) } - } else if yyl4686 != len(yyv4686) { - yyv4686 = yyv4686[:yyl4686] - yyc4686 = true + } else if yyl4756 != len(yyv4756) { + yyv4756 = yyv4756[:yyl4756] + yyc4756 = true } - yyj4686 := 0 - for ; yyj4686 < yyrr4686; yyj4686++ { - yyh4686.ElemContainerState(yyj4686) + yyj4756 := 0 + for ; yyj4756 < yyrr4756; yyj4756++ { + yyh4756.ElemContainerState(yyj4756) if r.TryDecodeAsNil() { - yyv4686[yyj4686] = EndpointSubset{} + yyv4756[yyj4756] = EndpointSubset{} } else { - yyv4687 := &yyv4686[yyj4686] - yyv4687.CodecDecodeSelf(d) + yyv4757 := &yyv4756[yyj4756] + yyv4757.CodecDecodeSelf(d) } } - if yyrt4686 { - for ; yyj4686 < yyl4686; yyj4686++ { - yyv4686 = append(yyv4686, EndpointSubset{}) - yyh4686.ElemContainerState(yyj4686) + if yyrt4756 { + for ; yyj4756 < yyl4756; yyj4756++ { + yyv4756 = append(yyv4756, EndpointSubset{}) + yyh4756.ElemContainerState(yyj4756) if r.TryDecodeAsNil() { - yyv4686[yyj4686] = EndpointSubset{} + yyv4756[yyj4756] = EndpointSubset{} } else { - yyv4688 := &yyv4686[yyj4686] - yyv4688.CodecDecodeSelf(d) + yyv4758 := &yyv4756[yyj4756] + yyv4758.CodecDecodeSelf(d) } } } } else { - yyj4686 := 0 - for ; !r.CheckBreak(); yyj4686++ { + yyj4756 := 0 + for ; !r.CheckBreak(); yyj4756++ { - if yyj4686 >= len(yyv4686) { - yyv4686 = append(yyv4686, EndpointSubset{}) // var yyz4686 EndpointSubset - yyc4686 = true + if yyj4756 >= len(yyv4756) { + yyv4756 = append(yyv4756, EndpointSubset{}) // var yyz4756 EndpointSubset + yyc4756 = true } - yyh4686.ElemContainerState(yyj4686) - if yyj4686 < len(yyv4686) { + yyh4756.ElemContainerState(yyj4756) + if yyj4756 < len(yyv4756) { if r.TryDecodeAsNil() { - yyv4686[yyj4686] = EndpointSubset{} + yyv4756[yyj4756] = EndpointSubset{} } else { - yyv4689 := &yyv4686[yyj4686] - yyv4689.CodecDecodeSelf(d) + yyv4759 := &yyv4756[yyj4756] + yyv4759.CodecDecodeSelf(d) } } else { @@ -59564,17 +60368,17 @@ func (x codecSelfer1234) decSliceEndpointSubset(v *[]EndpointSubset, d *codec197 } } - if yyj4686 < len(yyv4686) { - yyv4686 = yyv4686[:yyj4686] - yyc4686 = true - } else if yyj4686 == 0 && yyv4686 == nil { - yyv4686 = []EndpointSubset{} - yyc4686 = true + if yyj4756 < len(yyv4756) { + yyv4756 = yyv4756[:yyj4756] + yyc4756 = true + } else if yyj4756 == 0 && yyv4756 == nil { + yyv4756 = []EndpointSubset{} + yyc4756 = true } } - yyh4686.End() - if yyc4686 { - *v = yyv4686 + yyh4756.End() + if yyc4756 { + *v = yyv4756 } } @@ -59583,10 +60387,10 @@ func (x codecSelfer1234) encSliceEndpointAddress(v []EndpointAddress, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4690 := range v { + for _, yyv4760 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4691 := &yyv4690 - yy4691.CodecEncodeSelf(e) + yy4761 := &yyv4760 + yy4761.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59596,83 +60400,83 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4692 := *v - yyh4692, yyl4692 := z.DecSliceHelperStart() - var yyc4692 bool - if yyl4692 == 0 { - if yyv4692 == nil { - yyv4692 = []EndpointAddress{} - yyc4692 = true - } else if len(yyv4692) != 0 { - yyv4692 = yyv4692[:0] - yyc4692 = true + 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 } - } else if yyl4692 > 0 { - var yyrr4692, yyrl4692 int - var yyrt4692 bool - if yyl4692 > cap(yyv4692) { + } else if yyl4762 > 0 { + var yyrr4762, yyrl4762 int + var yyrt4762 bool + if yyl4762 > cap(yyv4762) { - yyrg4692 := len(yyv4692) > 0 - yyv24692 := yyv4692 - yyrl4692, yyrt4692 = z.DecInferLen(yyl4692, z.DecBasicHandle().MaxInitLen, 48) - if yyrt4692 { - if yyrl4692 <= cap(yyv4692) { - yyv4692 = yyv4692[:yyrl4692] + yyrg4762 := len(yyv4762) > 0 + yyv24762 := yyv4762 + yyrl4762, yyrt4762 = z.DecInferLen(yyl4762, z.DecBasicHandle().MaxInitLen, 48) + if yyrt4762 { + if yyrl4762 <= cap(yyv4762) { + yyv4762 = yyv4762[:yyrl4762] } else { - yyv4692 = make([]EndpointAddress, yyrl4692) + yyv4762 = make([]EndpointAddress, yyrl4762) } } else { - yyv4692 = make([]EndpointAddress, yyrl4692) + yyv4762 = make([]EndpointAddress, yyrl4762) } - yyc4692 = true - yyrr4692 = len(yyv4692) - if yyrg4692 { - copy(yyv4692, yyv24692) + yyc4762 = true + yyrr4762 = len(yyv4762) + if yyrg4762 { + copy(yyv4762, yyv24762) } - } else if yyl4692 != len(yyv4692) { - yyv4692 = yyv4692[:yyl4692] - yyc4692 = true + } else if yyl4762 != len(yyv4762) { + yyv4762 = yyv4762[:yyl4762] + yyc4762 = true } - yyj4692 := 0 - for ; yyj4692 < yyrr4692; yyj4692++ { - yyh4692.ElemContainerState(yyj4692) + yyj4762 := 0 + for ; yyj4762 < yyrr4762; yyj4762++ { + yyh4762.ElemContainerState(yyj4762) if r.TryDecodeAsNil() { - yyv4692[yyj4692] = EndpointAddress{} + yyv4762[yyj4762] = EndpointAddress{} } else { - yyv4693 := &yyv4692[yyj4692] - yyv4693.CodecDecodeSelf(d) + yyv4763 := &yyv4762[yyj4762] + yyv4763.CodecDecodeSelf(d) } } - if yyrt4692 { - for ; yyj4692 < yyl4692; yyj4692++ { - yyv4692 = append(yyv4692, EndpointAddress{}) - yyh4692.ElemContainerState(yyj4692) + if yyrt4762 { + for ; yyj4762 < yyl4762; yyj4762++ { + yyv4762 = append(yyv4762, EndpointAddress{}) + yyh4762.ElemContainerState(yyj4762) if r.TryDecodeAsNil() { - yyv4692[yyj4692] = EndpointAddress{} + yyv4762[yyj4762] = EndpointAddress{} } else { - yyv4694 := &yyv4692[yyj4692] - yyv4694.CodecDecodeSelf(d) + yyv4764 := &yyv4762[yyj4762] + yyv4764.CodecDecodeSelf(d) } } } } else { - yyj4692 := 0 - for ; !r.CheckBreak(); yyj4692++ { + yyj4762 := 0 + for ; !r.CheckBreak(); yyj4762++ { - if yyj4692 >= len(yyv4692) { - yyv4692 = append(yyv4692, EndpointAddress{}) // var yyz4692 EndpointAddress - yyc4692 = true + if yyj4762 >= len(yyv4762) { + yyv4762 = append(yyv4762, EndpointAddress{}) // var yyz4762 EndpointAddress + yyc4762 = true } - yyh4692.ElemContainerState(yyj4692) - if yyj4692 < len(yyv4692) { + yyh4762.ElemContainerState(yyj4762) + if yyj4762 < len(yyv4762) { if r.TryDecodeAsNil() { - yyv4692[yyj4692] = EndpointAddress{} + yyv4762[yyj4762] = EndpointAddress{} } else { - yyv4695 := &yyv4692[yyj4692] - yyv4695.CodecDecodeSelf(d) + yyv4765 := &yyv4762[yyj4762] + yyv4765.CodecDecodeSelf(d) } } else { @@ -59680,17 +60484,17 @@ func (x codecSelfer1234) decSliceEndpointAddress(v *[]EndpointAddress, d *codec1 } } - if yyj4692 < len(yyv4692) { - yyv4692 = yyv4692[:yyj4692] - yyc4692 = true - } else if yyj4692 == 0 && yyv4692 == nil { - yyv4692 = []EndpointAddress{} - yyc4692 = true + if yyj4762 < len(yyv4762) { + yyv4762 = yyv4762[:yyj4762] + yyc4762 = true + } else if yyj4762 == 0 && yyv4762 == nil { + yyv4762 = []EndpointAddress{} + yyc4762 = true } } - yyh4692.End() - if yyc4692 { - *v = yyv4692 + yyh4762.End() + if yyc4762 { + *v = yyv4762 } } @@ -59699,10 +60503,10 @@ func (x codecSelfer1234) encSliceEndpointPort(v []EndpointPort, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4696 := range v { + for _, yyv4766 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4697 := &yyv4696 - yy4697.CodecEncodeSelf(e) + yy4767 := &yyv4766 + yy4767.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59712,83 +60516,83 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4698 := *v - yyh4698, yyl4698 := z.DecSliceHelperStart() - var yyc4698 bool - if yyl4698 == 0 { - if yyv4698 == nil { - yyv4698 = []EndpointPort{} - yyc4698 = true - } else if len(yyv4698) != 0 { - yyv4698 = yyv4698[:0] - yyc4698 = true + 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 } - } else if yyl4698 > 0 { - var yyrr4698, yyrl4698 int - var yyrt4698 bool - if yyl4698 > cap(yyv4698) { + } else if yyl4768 > 0 { + var yyrr4768, yyrl4768 int + var yyrt4768 bool + if yyl4768 > cap(yyv4768) { - yyrg4698 := len(yyv4698) > 0 - yyv24698 := yyv4698 - yyrl4698, yyrt4698 = z.DecInferLen(yyl4698, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4698 { - if yyrl4698 <= cap(yyv4698) { - yyv4698 = yyv4698[:yyrl4698] + yyrg4768 := len(yyv4768) > 0 + yyv24768 := yyv4768 + yyrl4768, yyrt4768 = z.DecInferLen(yyl4768, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4768 { + if yyrl4768 <= cap(yyv4768) { + yyv4768 = yyv4768[:yyrl4768] } else { - yyv4698 = make([]EndpointPort, yyrl4698) + yyv4768 = make([]EndpointPort, yyrl4768) } } else { - yyv4698 = make([]EndpointPort, yyrl4698) + yyv4768 = make([]EndpointPort, yyrl4768) } - yyc4698 = true - yyrr4698 = len(yyv4698) - if yyrg4698 { - copy(yyv4698, yyv24698) + yyc4768 = true + yyrr4768 = len(yyv4768) + if yyrg4768 { + copy(yyv4768, yyv24768) } - } else if yyl4698 != len(yyv4698) { - yyv4698 = yyv4698[:yyl4698] - yyc4698 = true + } else if yyl4768 != len(yyv4768) { + yyv4768 = yyv4768[:yyl4768] + yyc4768 = true } - yyj4698 := 0 - for ; yyj4698 < yyrr4698; yyj4698++ { - yyh4698.ElemContainerState(yyj4698) + yyj4768 := 0 + for ; yyj4768 < yyrr4768; yyj4768++ { + yyh4768.ElemContainerState(yyj4768) if r.TryDecodeAsNil() { - yyv4698[yyj4698] = EndpointPort{} + yyv4768[yyj4768] = EndpointPort{} } else { - yyv4699 := &yyv4698[yyj4698] - yyv4699.CodecDecodeSelf(d) + yyv4769 := &yyv4768[yyj4768] + yyv4769.CodecDecodeSelf(d) } } - if yyrt4698 { - for ; yyj4698 < yyl4698; yyj4698++ { - yyv4698 = append(yyv4698, EndpointPort{}) - yyh4698.ElemContainerState(yyj4698) + if yyrt4768 { + for ; yyj4768 < yyl4768; yyj4768++ { + yyv4768 = append(yyv4768, EndpointPort{}) + yyh4768.ElemContainerState(yyj4768) if r.TryDecodeAsNil() { - yyv4698[yyj4698] = EndpointPort{} + yyv4768[yyj4768] = EndpointPort{} } else { - yyv4700 := &yyv4698[yyj4698] - yyv4700.CodecDecodeSelf(d) + yyv4770 := &yyv4768[yyj4768] + yyv4770.CodecDecodeSelf(d) } } } } else { - yyj4698 := 0 - for ; !r.CheckBreak(); yyj4698++ { + yyj4768 := 0 + for ; !r.CheckBreak(); yyj4768++ { - if yyj4698 >= len(yyv4698) { - yyv4698 = append(yyv4698, EndpointPort{}) // var yyz4698 EndpointPort - yyc4698 = true + if yyj4768 >= len(yyv4768) { + yyv4768 = append(yyv4768, EndpointPort{}) // var yyz4768 EndpointPort + yyc4768 = true } - yyh4698.ElemContainerState(yyj4698) - if yyj4698 < len(yyv4698) { + yyh4768.ElemContainerState(yyj4768) + if yyj4768 < len(yyv4768) { if r.TryDecodeAsNil() { - yyv4698[yyj4698] = EndpointPort{} + yyv4768[yyj4768] = EndpointPort{} } else { - yyv4701 := &yyv4698[yyj4698] - yyv4701.CodecDecodeSelf(d) + yyv4771 := &yyv4768[yyj4768] + yyv4771.CodecDecodeSelf(d) } } else { @@ -59796,17 +60600,17 @@ func (x codecSelfer1234) decSliceEndpointPort(v *[]EndpointPort, d *codec1978.De } } - if yyj4698 < len(yyv4698) { - yyv4698 = yyv4698[:yyj4698] - yyc4698 = true - } else if yyj4698 == 0 && yyv4698 == nil { - yyv4698 = []EndpointPort{} - yyc4698 = true + if yyj4768 < len(yyv4768) { + yyv4768 = yyv4768[:yyj4768] + yyc4768 = true + } else if yyj4768 == 0 && yyv4768 == nil { + yyv4768 = []EndpointPort{} + yyc4768 = true } } - yyh4698.End() - if yyc4698 { - *v = yyv4698 + yyh4768.End() + if yyc4768 { + *v = yyv4768 } } @@ -59815,10 +60619,10 @@ func (x codecSelfer1234) encSliceEndpoints(v []Endpoints, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4702 := range v { + for _, yyv4772 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4703 := &yyv4702 - yy4703.CodecEncodeSelf(e) + yy4773 := &yyv4772 + yy4773.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59828,83 +60632,83 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4704 := *v - yyh4704, yyl4704 := z.DecSliceHelperStart() - var yyc4704 bool - if yyl4704 == 0 { - if yyv4704 == nil { - yyv4704 = []Endpoints{} - yyc4704 = true - } else if len(yyv4704) != 0 { - yyv4704 = yyv4704[:0] - yyc4704 = true + 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 } - } else if yyl4704 > 0 { - var yyrr4704, yyrl4704 int - var yyrt4704 bool - if yyl4704 > cap(yyv4704) { + } else if yyl4774 > 0 { + var yyrr4774, yyrl4774 int + var yyrt4774 bool + if yyl4774 > cap(yyv4774) { - yyrg4704 := len(yyv4704) > 0 - yyv24704 := yyv4704 - yyrl4704, yyrt4704 = z.DecInferLen(yyl4704, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4704 { - if yyrl4704 <= cap(yyv4704) { - yyv4704 = yyv4704[:yyrl4704] + yyrg4774 := len(yyv4774) > 0 + yyv24774 := yyv4774 + yyrl4774, yyrt4774 = z.DecInferLen(yyl4774, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4774 { + if yyrl4774 <= cap(yyv4774) { + yyv4774 = yyv4774[:yyrl4774] } else { - yyv4704 = make([]Endpoints, yyrl4704) + yyv4774 = make([]Endpoints, yyrl4774) } } else { - yyv4704 = make([]Endpoints, yyrl4704) + yyv4774 = make([]Endpoints, yyrl4774) } - yyc4704 = true - yyrr4704 = len(yyv4704) - if yyrg4704 { - copy(yyv4704, yyv24704) + yyc4774 = true + yyrr4774 = len(yyv4774) + if yyrg4774 { + copy(yyv4774, yyv24774) } - } else if yyl4704 != len(yyv4704) { - yyv4704 = yyv4704[:yyl4704] - yyc4704 = true + } else if yyl4774 != len(yyv4774) { + yyv4774 = yyv4774[:yyl4774] + yyc4774 = true } - yyj4704 := 0 - for ; yyj4704 < yyrr4704; yyj4704++ { - yyh4704.ElemContainerState(yyj4704) + yyj4774 := 0 + for ; yyj4774 < yyrr4774; yyj4774++ { + yyh4774.ElemContainerState(yyj4774) if r.TryDecodeAsNil() { - yyv4704[yyj4704] = Endpoints{} + yyv4774[yyj4774] = Endpoints{} } else { - yyv4705 := &yyv4704[yyj4704] - yyv4705.CodecDecodeSelf(d) + yyv4775 := &yyv4774[yyj4774] + yyv4775.CodecDecodeSelf(d) } } - if yyrt4704 { - for ; yyj4704 < yyl4704; yyj4704++ { - yyv4704 = append(yyv4704, Endpoints{}) - yyh4704.ElemContainerState(yyj4704) + if yyrt4774 { + for ; yyj4774 < yyl4774; yyj4774++ { + yyv4774 = append(yyv4774, Endpoints{}) + yyh4774.ElemContainerState(yyj4774) if r.TryDecodeAsNil() { - yyv4704[yyj4704] = Endpoints{} + yyv4774[yyj4774] = Endpoints{} } else { - yyv4706 := &yyv4704[yyj4704] - yyv4706.CodecDecodeSelf(d) + yyv4776 := &yyv4774[yyj4774] + yyv4776.CodecDecodeSelf(d) } } } } else { - yyj4704 := 0 - for ; !r.CheckBreak(); yyj4704++ { + yyj4774 := 0 + for ; !r.CheckBreak(); yyj4774++ { - if yyj4704 >= len(yyv4704) { - yyv4704 = append(yyv4704, Endpoints{}) // var yyz4704 Endpoints - yyc4704 = true + if yyj4774 >= len(yyv4774) { + yyv4774 = append(yyv4774, Endpoints{}) // var yyz4774 Endpoints + yyc4774 = true } - yyh4704.ElemContainerState(yyj4704) - if yyj4704 < len(yyv4704) { + yyh4774.ElemContainerState(yyj4774) + if yyj4774 < len(yyv4774) { if r.TryDecodeAsNil() { - yyv4704[yyj4704] = Endpoints{} + yyv4774[yyj4774] = Endpoints{} } else { - yyv4707 := &yyv4704[yyj4704] - yyv4707.CodecDecodeSelf(d) + yyv4777 := &yyv4774[yyj4774] + yyv4777.CodecDecodeSelf(d) } } else { @@ -59912,17 +60716,17 @@ func (x codecSelfer1234) decSliceEndpoints(v *[]Endpoints, d *codec1978.Decoder) } } - if yyj4704 < len(yyv4704) { - yyv4704 = yyv4704[:yyj4704] - yyc4704 = true - } else if yyj4704 == 0 && yyv4704 == nil { - yyv4704 = []Endpoints{} - yyc4704 = true + if yyj4774 < len(yyv4774) { + yyv4774 = yyv4774[:yyj4774] + yyc4774 = true + } else if yyj4774 == 0 && yyv4774 == nil { + yyv4774 = []Endpoints{} + yyc4774 = true } } - yyh4704.End() - if yyc4704 { - *v = yyv4704 + yyh4774.End() + if yyc4774 { + *v = yyv4774 } } @@ -59931,10 +60735,10 @@ func (x codecSelfer1234) encSliceNodeCondition(v []NodeCondition, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4708 := range v { + for _, yyv4778 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4709 := &yyv4708 - yy4709.CodecEncodeSelf(e) + yy4779 := &yyv4778 + yy4779.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -59944,83 +60748,83 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4710 := *v - yyh4710, yyl4710 := z.DecSliceHelperStart() - var yyc4710 bool - if yyl4710 == 0 { - if yyv4710 == nil { - yyv4710 = []NodeCondition{} - yyc4710 = true - } else if len(yyv4710) != 0 { - yyv4710 = yyv4710[:0] - yyc4710 = true + 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 } - } else if yyl4710 > 0 { - var yyrr4710, yyrl4710 int - var yyrt4710 bool - if yyl4710 > cap(yyv4710) { + } else if yyl4780 > 0 { + var yyrr4780, yyrl4780 int + var yyrt4780 bool + if yyl4780 > cap(yyv4780) { - yyrg4710 := len(yyv4710) > 0 - yyv24710 := yyv4710 - yyrl4710, yyrt4710 = z.DecInferLen(yyl4710, z.DecBasicHandle().MaxInitLen, 112) - if yyrt4710 { - if yyrl4710 <= cap(yyv4710) { - yyv4710 = yyv4710[:yyrl4710] + yyrg4780 := len(yyv4780) > 0 + yyv24780 := yyv4780 + yyrl4780, yyrt4780 = z.DecInferLen(yyl4780, z.DecBasicHandle().MaxInitLen, 112) + if yyrt4780 { + if yyrl4780 <= cap(yyv4780) { + yyv4780 = yyv4780[:yyrl4780] } else { - yyv4710 = make([]NodeCondition, yyrl4710) + yyv4780 = make([]NodeCondition, yyrl4780) } } else { - yyv4710 = make([]NodeCondition, yyrl4710) + yyv4780 = make([]NodeCondition, yyrl4780) } - yyc4710 = true - yyrr4710 = len(yyv4710) - if yyrg4710 { - copy(yyv4710, yyv24710) + yyc4780 = true + yyrr4780 = len(yyv4780) + if yyrg4780 { + copy(yyv4780, yyv24780) } - } else if yyl4710 != len(yyv4710) { - yyv4710 = yyv4710[:yyl4710] - yyc4710 = true + } else if yyl4780 != len(yyv4780) { + yyv4780 = yyv4780[:yyl4780] + yyc4780 = true } - yyj4710 := 0 - for ; yyj4710 < yyrr4710; yyj4710++ { - yyh4710.ElemContainerState(yyj4710) + yyj4780 := 0 + for ; yyj4780 < yyrr4780; yyj4780++ { + yyh4780.ElemContainerState(yyj4780) if r.TryDecodeAsNil() { - yyv4710[yyj4710] = NodeCondition{} + yyv4780[yyj4780] = NodeCondition{} } else { - yyv4711 := &yyv4710[yyj4710] - yyv4711.CodecDecodeSelf(d) + yyv4781 := &yyv4780[yyj4780] + yyv4781.CodecDecodeSelf(d) } } - if yyrt4710 { - for ; yyj4710 < yyl4710; yyj4710++ { - yyv4710 = append(yyv4710, NodeCondition{}) - yyh4710.ElemContainerState(yyj4710) + if yyrt4780 { + for ; yyj4780 < yyl4780; yyj4780++ { + yyv4780 = append(yyv4780, NodeCondition{}) + yyh4780.ElemContainerState(yyj4780) if r.TryDecodeAsNil() { - yyv4710[yyj4710] = NodeCondition{} + yyv4780[yyj4780] = NodeCondition{} } else { - yyv4712 := &yyv4710[yyj4710] - yyv4712.CodecDecodeSelf(d) + yyv4782 := &yyv4780[yyj4780] + yyv4782.CodecDecodeSelf(d) } } } } else { - yyj4710 := 0 - for ; !r.CheckBreak(); yyj4710++ { + yyj4780 := 0 + for ; !r.CheckBreak(); yyj4780++ { - if yyj4710 >= len(yyv4710) { - yyv4710 = append(yyv4710, NodeCondition{}) // var yyz4710 NodeCondition - yyc4710 = true + if yyj4780 >= len(yyv4780) { + yyv4780 = append(yyv4780, NodeCondition{}) // var yyz4780 NodeCondition + yyc4780 = true } - yyh4710.ElemContainerState(yyj4710) - if yyj4710 < len(yyv4710) { + yyh4780.ElemContainerState(yyj4780) + if yyj4780 < len(yyv4780) { if r.TryDecodeAsNil() { - yyv4710[yyj4710] = NodeCondition{} + yyv4780[yyj4780] = NodeCondition{} } else { - yyv4713 := &yyv4710[yyj4710] - yyv4713.CodecDecodeSelf(d) + yyv4783 := &yyv4780[yyj4780] + yyv4783.CodecDecodeSelf(d) } } else { @@ -60028,17 +60832,17 @@ func (x codecSelfer1234) decSliceNodeCondition(v *[]NodeCondition, d *codec1978. } } - if yyj4710 < len(yyv4710) { - yyv4710 = yyv4710[:yyj4710] - yyc4710 = true - } else if yyj4710 == 0 && yyv4710 == nil { - yyv4710 = []NodeCondition{} - yyc4710 = true + if yyj4780 < len(yyv4780) { + yyv4780 = yyv4780[:yyj4780] + yyc4780 = true + } else if yyj4780 == 0 && yyv4780 == nil { + yyv4780 = []NodeCondition{} + yyc4780 = true } } - yyh4710.End() - if yyc4710 { - *v = yyv4710 + yyh4780.End() + if yyc4780 { + *v = yyv4780 } } @@ -60047,10 +60851,10 @@ func (x codecSelfer1234) encSliceNodeAddress(v []NodeAddress, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4714 := range v { + for _, yyv4784 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4715 := &yyv4714 - yy4715.CodecEncodeSelf(e) + yy4785 := &yyv4784 + yy4785.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60060,83 +60864,83 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4716 := *v - yyh4716, yyl4716 := z.DecSliceHelperStart() - var yyc4716 bool - if yyl4716 == 0 { - if yyv4716 == nil { - yyv4716 = []NodeAddress{} - yyc4716 = true - } else if len(yyv4716) != 0 { - yyv4716 = yyv4716[:0] - yyc4716 = true + 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 } - } else if yyl4716 > 0 { - var yyrr4716, yyrl4716 int - var yyrt4716 bool - if yyl4716 > cap(yyv4716) { + } else if yyl4786 > 0 { + var yyrr4786, yyrl4786 int + var yyrt4786 bool + if yyl4786 > cap(yyv4786) { - yyrg4716 := len(yyv4716) > 0 - yyv24716 := yyv4716 - yyrl4716, yyrt4716 = z.DecInferLen(yyl4716, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4716 { - if yyrl4716 <= cap(yyv4716) { - yyv4716 = yyv4716[:yyrl4716] + yyrg4786 := len(yyv4786) > 0 + yyv24786 := yyv4786 + yyrl4786, yyrt4786 = z.DecInferLen(yyl4786, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4786 { + if yyrl4786 <= cap(yyv4786) { + yyv4786 = yyv4786[:yyrl4786] } else { - yyv4716 = make([]NodeAddress, yyrl4716) + yyv4786 = make([]NodeAddress, yyrl4786) } } else { - yyv4716 = make([]NodeAddress, yyrl4716) + yyv4786 = make([]NodeAddress, yyrl4786) } - yyc4716 = true - yyrr4716 = len(yyv4716) - if yyrg4716 { - copy(yyv4716, yyv24716) + yyc4786 = true + yyrr4786 = len(yyv4786) + if yyrg4786 { + copy(yyv4786, yyv24786) } - } else if yyl4716 != len(yyv4716) { - yyv4716 = yyv4716[:yyl4716] - yyc4716 = true + } else if yyl4786 != len(yyv4786) { + yyv4786 = yyv4786[:yyl4786] + yyc4786 = true } - yyj4716 := 0 - for ; yyj4716 < yyrr4716; yyj4716++ { - yyh4716.ElemContainerState(yyj4716) + yyj4786 := 0 + for ; yyj4786 < yyrr4786; yyj4786++ { + yyh4786.ElemContainerState(yyj4786) if r.TryDecodeAsNil() { - yyv4716[yyj4716] = NodeAddress{} + yyv4786[yyj4786] = NodeAddress{} } else { - yyv4717 := &yyv4716[yyj4716] - yyv4717.CodecDecodeSelf(d) + yyv4787 := &yyv4786[yyj4786] + yyv4787.CodecDecodeSelf(d) } } - if yyrt4716 { - for ; yyj4716 < yyl4716; yyj4716++ { - yyv4716 = append(yyv4716, NodeAddress{}) - yyh4716.ElemContainerState(yyj4716) + if yyrt4786 { + for ; yyj4786 < yyl4786; yyj4786++ { + yyv4786 = append(yyv4786, NodeAddress{}) + yyh4786.ElemContainerState(yyj4786) if r.TryDecodeAsNil() { - yyv4716[yyj4716] = NodeAddress{} + yyv4786[yyj4786] = NodeAddress{} } else { - yyv4718 := &yyv4716[yyj4716] - yyv4718.CodecDecodeSelf(d) + yyv4788 := &yyv4786[yyj4786] + yyv4788.CodecDecodeSelf(d) } } } } else { - yyj4716 := 0 - for ; !r.CheckBreak(); yyj4716++ { + yyj4786 := 0 + for ; !r.CheckBreak(); yyj4786++ { - if yyj4716 >= len(yyv4716) { - yyv4716 = append(yyv4716, NodeAddress{}) // var yyz4716 NodeAddress - yyc4716 = true + if yyj4786 >= len(yyv4786) { + yyv4786 = append(yyv4786, NodeAddress{}) // var yyz4786 NodeAddress + yyc4786 = true } - yyh4716.ElemContainerState(yyj4716) - if yyj4716 < len(yyv4716) { + yyh4786.ElemContainerState(yyj4786) + if yyj4786 < len(yyv4786) { if r.TryDecodeAsNil() { - yyv4716[yyj4716] = NodeAddress{} + yyv4786[yyj4786] = NodeAddress{} } else { - yyv4719 := &yyv4716[yyj4716] - yyv4719.CodecDecodeSelf(d) + yyv4789 := &yyv4786[yyj4786] + yyv4789.CodecDecodeSelf(d) } } else { @@ -60144,17 +60948,17 @@ func (x codecSelfer1234) decSliceNodeAddress(v *[]NodeAddress, d *codec1978.Deco } } - if yyj4716 < len(yyv4716) { - yyv4716 = yyv4716[:yyj4716] - yyc4716 = true - } else if yyj4716 == 0 && yyv4716 == nil { - yyv4716 = []NodeAddress{} - yyc4716 = true + if yyj4786 < len(yyv4786) { + yyv4786 = yyv4786[:yyj4786] + yyc4786 = true + } else if yyj4786 == 0 && yyv4786 == nil { + yyv4786 = []NodeAddress{} + yyc4786 = true } } - yyh4716.End() - if yyc4716 { - *v = yyv4716 + yyh4786.End() + if yyc4786 { + *v = yyv4786 } } @@ -60163,10 +60967,10 @@ func (x codecSelfer1234) encSliceContainerImage(v []ContainerImage, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4720 := range v { + for _, yyv4790 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4721 := &yyv4720 - yy4721.CodecEncodeSelf(e) + yy4791 := &yyv4790 + yy4791.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60176,83 +60980,83 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4722 := *v - yyh4722, yyl4722 := z.DecSliceHelperStart() - var yyc4722 bool - if yyl4722 == 0 { - if yyv4722 == nil { - yyv4722 = []ContainerImage{} - yyc4722 = true - } else if len(yyv4722) != 0 { - yyv4722 = yyv4722[:0] - yyc4722 = true + 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 } - } else if yyl4722 > 0 { - var yyrr4722, yyrl4722 int - var yyrt4722 bool - if yyl4722 > cap(yyv4722) { + } else if yyl4792 > 0 { + var yyrr4792, yyrl4792 int + var yyrt4792 bool + if yyl4792 > cap(yyv4792) { - yyrg4722 := len(yyv4722) > 0 - yyv24722 := yyv4722 - yyrl4722, yyrt4722 = z.DecInferLen(yyl4722, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4722 { - if yyrl4722 <= cap(yyv4722) { - yyv4722 = yyv4722[:yyrl4722] + yyrg4792 := len(yyv4792) > 0 + yyv24792 := yyv4792 + yyrl4792, yyrt4792 = z.DecInferLen(yyl4792, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4792 { + if yyrl4792 <= cap(yyv4792) { + yyv4792 = yyv4792[:yyrl4792] } else { - yyv4722 = make([]ContainerImage, yyrl4722) + yyv4792 = make([]ContainerImage, yyrl4792) } } else { - yyv4722 = make([]ContainerImage, yyrl4722) + yyv4792 = make([]ContainerImage, yyrl4792) } - yyc4722 = true - yyrr4722 = len(yyv4722) - if yyrg4722 { - copy(yyv4722, yyv24722) + yyc4792 = true + yyrr4792 = len(yyv4792) + if yyrg4792 { + copy(yyv4792, yyv24792) } - } else if yyl4722 != len(yyv4722) { - yyv4722 = yyv4722[:yyl4722] - yyc4722 = true + } else if yyl4792 != len(yyv4792) { + yyv4792 = yyv4792[:yyl4792] + yyc4792 = true } - yyj4722 := 0 - for ; yyj4722 < yyrr4722; yyj4722++ { - yyh4722.ElemContainerState(yyj4722) + yyj4792 := 0 + for ; yyj4792 < yyrr4792; yyj4792++ { + yyh4792.ElemContainerState(yyj4792) if r.TryDecodeAsNil() { - yyv4722[yyj4722] = ContainerImage{} + yyv4792[yyj4792] = ContainerImage{} } else { - yyv4723 := &yyv4722[yyj4722] - yyv4723.CodecDecodeSelf(d) + yyv4793 := &yyv4792[yyj4792] + yyv4793.CodecDecodeSelf(d) } } - if yyrt4722 { - for ; yyj4722 < yyl4722; yyj4722++ { - yyv4722 = append(yyv4722, ContainerImage{}) - yyh4722.ElemContainerState(yyj4722) + if yyrt4792 { + for ; yyj4792 < yyl4792; yyj4792++ { + yyv4792 = append(yyv4792, ContainerImage{}) + yyh4792.ElemContainerState(yyj4792) if r.TryDecodeAsNil() { - yyv4722[yyj4722] = ContainerImage{} + yyv4792[yyj4792] = ContainerImage{} } else { - yyv4724 := &yyv4722[yyj4722] - yyv4724.CodecDecodeSelf(d) + yyv4794 := &yyv4792[yyj4792] + yyv4794.CodecDecodeSelf(d) } } } } else { - yyj4722 := 0 - for ; !r.CheckBreak(); yyj4722++ { + yyj4792 := 0 + for ; !r.CheckBreak(); yyj4792++ { - if yyj4722 >= len(yyv4722) { - yyv4722 = append(yyv4722, ContainerImage{}) // var yyz4722 ContainerImage - yyc4722 = true + if yyj4792 >= len(yyv4792) { + yyv4792 = append(yyv4792, ContainerImage{}) // var yyz4792 ContainerImage + yyc4792 = true } - yyh4722.ElemContainerState(yyj4722) - if yyj4722 < len(yyv4722) { + yyh4792.ElemContainerState(yyj4792) + if yyj4792 < len(yyv4792) { if r.TryDecodeAsNil() { - yyv4722[yyj4722] = ContainerImage{} + yyv4792[yyj4792] = ContainerImage{} } else { - yyv4725 := &yyv4722[yyj4722] - yyv4725.CodecDecodeSelf(d) + yyv4795 := &yyv4792[yyj4792] + yyv4795.CodecDecodeSelf(d) } } else { @@ -60260,17 +61064,17 @@ func (x codecSelfer1234) decSliceContainerImage(v *[]ContainerImage, d *codec197 } } - if yyj4722 < len(yyv4722) { - yyv4722 = yyv4722[:yyj4722] - yyc4722 = true - } else if yyj4722 == 0 && yyv4722 == nil { - yyv4722 = []ContainerImage{} - yyc4722 = true + if yyj4792 < len(yyv4792) { + yyv4792 = yyv4792[:yyj4792] + yyc4792 = true + } else if yyj4792 == 0 && yyv4792 == nil { + yyv4792 = []ContainerImage{} + yyc4792 = true } } - yyh4722.End() - if yyc4722 { - *v = yyv4722 + yyh4792.End() + if yyc4792 { + *v = yyv4792 } } @@ -60279,9 +61083,9 @@ func (x codecSelfer1234) encSliceUniqueVolumeName(v []UniqueVolumeName, e *codec z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4726 := range v { + for _, yyv4796 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4726.CodecEncodeSelf(e) + yyv4796.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60291,75 +61095,75 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4727 := *v - yyh4727, yyl4727 := z.DecSliceHelperStart() - var yyc4727 bool - if yyl4727 == 0 { - if yyv4727 == nil { - yyv4727 = []UniqueVolumeName{} - yyc4727 = true - } else if len(yyv4727) != 0 { - yyv4727 = yyv4727[:0] - yyc4727 = true + 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 } - } else if yyl4727 > 0 { - var yyrr4727, yyrl4727 int - var yyrt4727 bool - if yyl4727 > cap(yyv4727) { + } else if yyl4797 > 0 { + var yyrr4797, yyrl4797 int + var yyrt4797 bool + if yyl4797 > cap(yyv4797) { - yyrl4727, yyrt4727 = z.DecInferLen(yyl4727, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4727 { - if yyrl4727 <= cap(yyv4727) { - yyv4727 = yyv4727[:yyrl4727] + yyrl4797, yyrt4797 = z.DecInferLen(yyl4797, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4797 { + if yyrl4797 <= cap(yyv4797) { + yyv4797 = yyv4797[:yyrl4797] } else { - yyv4727 = make([]UniqueVolumeName, yyrl4727) + yyv4797 = make([]UniqueVolumeName, yyrl4797) } } else { - yyv4727 = make([]UniqueVolumeName, yyrl4727) + yyv4797 = make([]UniqueVolumeName, yyrl4797) } - yyc4727 = true - yyrr4727 = len(yyv4727) - } else if yyl4727 != len(yyv4727) { - yyv4727 = yyv4727[:yyl4727] - yyc4727 = true + yyc4797 = true + yyrr4797 = len(yyv4797) + } else if yyl4797 != len(yyv4797) { + yyv4797 = yyv4797[:yyl4797] + yyc4797 = true } - yyj4727 := 0 - for ; yyj4727 < yyrr4727; yyj4727++ { - yyh4727.ElemContainerState(yyj4727) + yyj4797 := 0 + for ; yyj4797 < yyrr4797; yyj4797++ { + yyh4797.ElemContainerState(yyj4797) if r.TryDecodeAsNil() { - yyv4727[yyj4727] = "" + yyv4797[yyj4797] = "" } else { - yyv4727[yyj4727] = UniqueVolumeName(r.DecodeString()) + yyv4797[yyj4797] = UniqueVolumeName(r.DecodeString()) } } - if yyrt4727 { - for ; yyj4727 < yyl4727; yyj4727++ { - yyv4727 = append(yyv4727, "") - yyh4727.ElemContainerState(yyj4727) + if yyrt4797 { + for ; yyj4797 < yyl4797; yyj4797++ { + yyv4797 = append(yyv4797, "") + yyh4797.ElemContainerState(yyj4797) if r.TryDecodeAsNil() { - yyv4727[yyj4727] = "" + yyv4797[yyj4797] = "" } else { - yyv4727[yyj4727] = UniqueVolumeName(r.DecodeString()) + yyv4797[yyj4797] = UniqueVolumeName(r.DecodeString()) } } } } else { - yyj4727 := 0 - for ; !r.CheckBreak(); yyj4727++ { + yyj4797 := 0 + for ; !r.CheckBreak(); yyj4797++ { - if yyj4727 >= len(yyv4727) { - yyv4727 = append(yyv4727, "") // var yyz4727 UniqueVolumeName - yyc4727 = true + if yyj4797 >= len(yyv4797) { + yyv4797 = append(yyv4797, "") // var yyz4797 UniqueVolumeName + yyc4797 = true } - yyh4727.ElemContainerState(yyj4727) - if yyj4727 < len(yyv4727) { + yyh4797.ElemContainerState(yyj4797) + if yyj4797 < len(yyv4797) { if r.TryDecodeAsNil() { - yyv4727[yyj4727] = "" + yyv4797[yyj4797] = "" } else { - yyv4727[yyj4727] = UniqueVolumeName(r.DecodeString()) + yyv4797[yyj4797] = UniqueVolumeName(r.DecodeString()) } } else { @@ -60367,17 +61171,17 @@ func (x codecSelfer1234) decSliceUniqueVolumeName(v *[]UniqueVolumeName, d *code } } - if yyj4727 < len(yyv4727) { - yyv4727 = yyv4727[:yyj4727] - yyc4727 = true - } else if yyj4727 == 0 && yyv4727 == nil { - yyv4727 = []UniqueVolumeName{} - yyc4727 = true + if yyj4797 < len(yyv4797) { + yyv4797 = yyv4797[:yyj4797] + yyc4797 = true + } else if yyj4797 == 0 && yyv4797 == nil { + yyv4797 = []UniqueVolumeName{} + yyc4797 = true } } - yyh4727.End() - if yyc4727 { - *v = yyv4727 + yyh4797.End() + if yyc4797 { + *v = yyv4797 } } @@ -60386,10 +61190,10 @@ func (x codecSelfer1234) encSliceAttachedVolume(v []AttachedVolume, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4731 := range v { + for _, yyv4801 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4732 := &yyv4731 - yy4732.CodecEncodeSelf(e) + yy4802 := &yyv4801 + yy4802.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60399,83 +61203,83 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4733 := *v - yyh4733, yyl4733 := z.DecSliceHelperStart() - var yyc4733 bool - if yyl4733 == 0 { - if yyv4733 == nil { - yyv4733 = []AttachedVolume{} - yyc4733 = true - } else if len(yyv4733) != 0 { - yyv4733 = yyv4733[:0] - yyc4733 = true + 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 } - } else if yyl4733 > 0 { - var yyrr4733, yyrl4733 int - var yyrt4733 bool - if yyl4733 > cap(yyv4733) { + } else if yyl4803 > 0 { + var yyrr4803, yyrl4803 int + var yyrt4803 bool + if yyl4803 > cap(yyv4803) { - yyrg4733 := len(yyv4733) > 0 - yyv24733 := yyv4733 - yyrl4733, yyrt4733 = z.DecInferLen(yyl4733, z.DecBasicHandle().MaxInitLen, 32) - if yyrt4733 { - if yyrl4733 <= cap(yyv4733) { - yyv4733 = yyv4733[:yyrl4733] + yyrg4803 := len(yyv4803) > 0 + yyv24803 := yyv4803 + yyrl4803, yyrt4803 = z.DecInferLen(yyl4803, z.DecBasicHandle().MaxInitLen, 32) + if yyrt4803 { + if yyrl4803 <= cap(yyv4803) { + yyv4803 = yyv4803[:yyrl4803] } else { - yyv4733 = make([]AttachedVolume, yyrl4733) + yyv4803 = make([]AttachedVolume, yyrl4803) } } else { - yyv4733 = make([]AttachedVolume, yyrl4733) + yyv4803 = make([]AttachedVolume, yyrl4803) } - yyc4733 = true - yyrr4733 = len(yyv4733) - if yyrg4733 { - copy(yyv4733, yyv24733) + yyc4803 = true + yyrr4803 = len(yyv4803) + if yyrg4803 { + copy(yyv4803, yyv24803) } - } else if yyl4733 != len(yyv4733) { - yyv4733 = yyv4733[:yyl4733] - yyc4733 = true + } else if yyl4803 != len(yyv4803) { + yyv4803 = yyv4803[:yyl4803] + yyc4803 = true } - yyj4733 := 0 - for ; yyj4733 < yyrr4733; yyj4733++ { - yyh4733.ElemContainerState(yyj4733) + yyj4803 := 0 + for ; yyj4803 < yyrr4803; yyj4803++ { + yyh4803.ElemContainerState(yyj4803) if r.TryDecodeAsNil() { - yyv4733[yyj4733] = AttachedVolume{} + yyv4803[yyj4803] = AttachedVolume{} } else { - yyv4734 := &yyv4733[yyj4733] - yyv4734.CodecDecodeSelf(d) + yyv4804 := &yyv4803[yyj4803] + yyv4804.CodecDecodeSelf(d) } } - if yyrt4733 { - for ; yyj4733 < yyl4733; yyj4733++ { - yyv4733 = append(yyv4733, AttachedVolume{}) - yyh4733.ElemContainerState(yyj4733) + if yyrt4803 { + for ; yyj4803 < yyl4803; yyj4803++ { + yyv4803 = append(yyv4803, AttachedVolume{}) + yyh4803.ElemContainerState(yyj4803) if r.TryDecodeAsNil() { - yyv4733[yyj4733] = AttachedVolume{} + yyv4803[yyj4803] = AttachedVolume{} } else { - yyv4735 := &yyv4733[yyj4733] - yyv4735.CodecDecodeSelf(d) + yyv4805 := &yyv4803[yyj4803] + yyv4805.CodecDecodeSelf(d) } } } } else { - yyj4733 := 0 - for ; !r.CheckBreak(); yyj4733++ { + yyj4803 := 0 + for ; !r.CheckBreak(); yyj4803++ { - if yyj4733 >= len(yyv4733) { - yyv4733 = append(yyv4733, AttachedVolume{}) // var yyz4733 AttachedVolume - yyc4733 = true + if yyj4803 >= len(yyv4803) { + yyv4803 = append(yyv4803, AttachedVolume{}) // var yyz4803 AttachedVolume + yyc4803 = true } - yyh4733.ElemContainerState(yyj4733) - if yyj4733 < len(yyv4733) { + yyh4803.ElemContainerState(yyj4803) + if yyj4803 < len(yyv4803) { if r.TryDecodeAsNil() { - yyv4733[yyj4733] = AttachedVolume{} + yyv4803[yyj4803] = AttachedVolume{} } else { - yyv4736 := &yyv4733[yyj4733] - yyv4736.CodecDecodeSelf(d) + yyv4806 := &yyv4803[yyj4803] + yyv4806.CodecDecodeSelf(d) } } else { @@ -60483,17 +61287,17 @@ func (x codecSelfer1234) decSliceAttachedVolume(v *[]AttachedVolume, d *codec197 } } - if yyj4733 < len(yyv4733) { - yyv4733 = yyv4733[:yyj4733] - yyc4733 = true - } else if yyj4733 == 0 && yyv4733 == nil { - yyv4733 = []AttachedVolume{} - yyc4733 = true + if yyj4803 < len(yyv4803) { + yyv4803 = yyv4803[:yyj4803] + yyc4803 = true + } else if yyj4803 == 0 && yyv4803 == nil { + yyv4803 = []AttachedVolume{} + yyc4803 = true } } - yyh4733.End() - if yyc4733 { - *v = yyv4733 + yyh4803.End() + if yyc4803 { + *v = yyv4803 } } @@ -60502,10 +61306,10 @@ func (x codecSelfer1234) encSlicePreferAvoidPodsEntry(v []PreferAvoidPodsEntry, z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4737 := range v { + for _, yyv4807 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4738 := &yyv4737 - yy4738.CodecEncodeSelf(e) + yy4808 := &yyv4807 + yy4808.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60515,83 +61319,83 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4739 := *v - yyh4739, yyl4739 := z.DecSliceHelperStart() - var yyc4739 bool - if yyl4739 == 0 { - if yyv4739 == nil { - yyv4739 = []PreferAvoidPodsEntry{} - yyc4739 = true - } else if len(yyv4739) != 0 { - yyv4739 = yyv4739[:0] - yyc4739 = true + 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 } - } else if yyl4739 > 0 { - var yyrr4739, yyrl4739 int - var yyrt4739 bool - if yyl4739 > cap(yyv4739) { + } else if yyl4809 > 0 { + var yyrr4809, yyrl4809 int + var yyrt4809 bool + if yyl4809 > cap(yyv4809) { - yyrg4739 := len(yyv4739) > 0 - yyv24739 := yyv4739 - yyrl4739, yyrt4739 = z.DecInferLen(yyl4739, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4739 { - if yyrl4739 <= cap(yyv4739) { - yyv4739 = yyv4739[:yyrl4739] + yyrg4809 := len(yyv4809) > 0 + yyv24809 := yyv4809 + yyrl4809, yyrt4809 = z.DecInferLen(yyl4809, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4809 { + if yyrl4809 <= cap(yyv4809) { + yyv4809 = yyv4809[:yyrl4809] } else { - yyv4739 = make([]PreferAvoidPodsEntry, yyrl4739) + yyv4809 = make([]PreferAvoidPodsEntry, yyrl4809) } } else { - yyv4739 = make([]PreferAvoidPodsEntry, yyrl4739) + yyv4809 = make([]PreferAvoidPodsEntry, yyrl4809) } - yyc4739 = true - yyrr4739 = len(yyv4739) - if yyrg4739 { - copy(yyv4739, yyv24739) + yyc4809 = true + yyrr4809 = len(yyv4809) + if yyrg4809 { + copy(yyv4809, yyv24809) } - } else if yyl4739 != len(yyv4739) { - yyv4739 = yyv4739[:yyl4739] - yyc4739 = true + } else if yyl4809 != len(yyv4809) { + yyv4809 = yyv4809[:yyl4809] + yyc4809 = true } - yyj4739 := 0 - for ; yyj4739 < yyrr4739; yyj4739++ { - yyh4739.ElemContainerState(yyj4739) + yyj4809 := 0 + for ; yyj4809 < yyrr4809; yyj4809++ { + yyh4809.ElemContainerState(yyj4809) if r.TryDecodeAsNil() { - yyv4739[yyj4739] = PreferAvoidPodsEntry{} + yyv4809[yyj4809] = PreferAvoidPodsEntry{} } else { - yyv4740 := &yyv4739[yyj4739] - yyv4740.CodecDecodeSelf(d) + yyv4810 := &yyv4809[yyj4809] + yyv4810.CodecDecodeSelf(d) } } - if yyrt4739 { - for ; yyj4739 < yyl4739; yyj4739++ { - yyv4739 = append(yyv4739, PreferAvoidPodsEntry{}) - yyh4739.ElemContainerState(yyj4739) + if yyrt4809 { + for ; yyj4809 < yyl4809; yyj4809++ { + yyv4809 = append(yyv4809, PreferAvoidPodsEntry{}) + yyh4809.ElemContainerState(yyj4809) if r.TryDecodeAsNil() { - yyv4739[yyj4739] = PreferAvoidPodsEntry{} + yyv4809[yyj4809] = PreferAvoidPodsEntry{} } else { - yyv4741 := &yyv4739[yyj4739] - yyv4741.CodecDecodeSelf(d) + yyv4811 := &yyv4809[yyj4809] + yyv4811.CodecDecodeSelf(d) } } } } else { - yyj4739 := 0 - for ; !r.CheckBreak(); yyj4739++ { + yyj4809 := 0 + for ; !r.CheckBreak(); yyj4809++ { - if yyj4739 >= len(yyv4739) { - yyv4739 = append(yyv4739, PreferAvoidPodsEntry{}) // var yyz4739 PreferAvoidPodsEntry - yyc4739 = true + if yyj4809 >= len(yyv4809) { + yyv4809 = append(yyv4809, PreferAvoidPodsEntry{}) // var yyz4809 PreferAvoidPodsEntry + yyc4809 = true } - yyh4739.ElemContainerState(yyj4739) - if yyj4739 < len(yyv4739) { + yyh4809.ElemContainerState(yyj4809) + if yyj4809 < len(yyv4809) { if r.TryDecodeAsNil() { - yyv4739[yyj4739] = PreferAvoidPodsEntry{} + yyv4809[yyj4809] = PreferAvoidPodsEntry{} } else { - yyv4742 := &yyv4739[yyj4739] - yyv4742.CodecDecodeSelf(d) + yyv4812 := &yyv4809[yyj4809] + yyv4812.CodecDecodeSelf(d) } } else { @@ -60599,17 +61403,17 @@ func (x codecSelfer1234) decSlicePreferAvoidPodsEntry(v *[]PreferAvoidPodsEntry, } } - if yyj4739 < len(yyv4739) { - yyv4739 = yyv4739[:yyj4739] - yyc4739 = true - } else if yyj4739 == 0 && yyv4739 == nil { - yyv4739 = []PreferAvoidPodsEntry{} - yyc4739 = true + if yyj4809 < len(yyv4809) { + yyv4809 = yyv4809[:yyj4809] + yyc4809 = true + } else if yyj4809 == 0 && yyv4809 == nil { + yyv4809 = []PreferAvoidPodsEntry{} + yyc4809 = true } } - yyh4739.End() - if yyc4739 { - *v = yyv4739 + yyh4809.End() + if yyc4809 { + *v = yyv4809 } } @@ -60618,19 +61422,19 @@ func (x codecSelfer1234) encResourceList(v ResourceList, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4743, yyv4743 := range v { + for yyk4813, yyv4813 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yyk4743.CodecEncodeSelf(e) + yyk4813.CodecEncodeSelf(e) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy4744 := &yyv4743 - yym4745 := z.EncBinary() - _ = yym4745 + yy4814 := &yyv4813 + yym4815 := z.EncBinary() + _ = yym4815 if false { - } else if z.HasExtensions() && z.EncExt(yy4744) { - } else if !yym4745 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4744) + } else if z.HasExtensions() && z.EncExt(yy4814) { + } else if !yym4815 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4814) } else { - z.EncFallback(yy4744) + z.EncFallback(yy4814) } } z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -60641,86 +61445,86 @@ func (x codecSelfer1234) decResourceList(v *ResourceList, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4746 := *v - yyl4746 := r.ReadMapStart() - yybh4746 := z.DecBasicHandle() - if yyv4746 == nil { - yyrl4746, _ := z.DecInferLen(yyl4746, yybh4746.MaxInitLen, 72) - yyv4746 = make(map[ResourceName]pkg3_resource.Quantity, yyrl4746) - *v = yyv4746 + 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 } - var yymk4746 ResourceName - var yymv4746 pkg3_resource.Quantity - var yymg4746 bool - if yybh4746.MapValueReset { - yymg4746 = true + var yymk4816 ResourceName + var yymv4816 pkg3_resource.Quantity + var yymg4816 bool + if yybh4816.MapValueReset { + yymg4816 = true } - if yyl4746 > 0 { - for yyj4746 := 0; yyj4746 < yyl4746; yyj4746++ { + if yyl4816 > 0 { + for yyj4816 := 0; yyj4816 < yyl4816; yyj4816++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4746 = "" + yymk4816 = "" } else { - yymk4746 = ResourceName(r.DecodeString()) + yymk4816 = ResourceName(r.DecodeString()) } - if yymg4746 { - yymv4746 = yyv4746[yymk4746] + if yymg4816 { + yymv4816 = yyv4816[yymk4816] } else { - yymv4746 = pkg3_resource.Quantity{} + yymv4816 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4746 = pkg3_resource.Quantity{} + yymv4816 = pkg3_resource.Quantity{} } else { - yyv4748 := &yymv4746 - yym4749 := z.DecBinary() - _ = yym4749 + yyv4818 := &yymv4816 + yym4819 := z.DecBinary() + _ = yym4819 if false { - } else if z.HasExtensions() && z.DecExt(yyv4748) { - } else if !yym4749 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4748) + } else if z.HasExtensions() && z.DecExt(yyv4818) { + } else if !yym4819 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4818) } else { - z.DecFallback(yyv4748, false) + z.DecFallback(yyv4818, false) } } - if yyv4746 != nil { - yyv4746[yymk4746] = yymv4746 + if yyv4816 != nil { + yyv4816[yymk4816] = yymv4816 } } - } else if yyl4746 < 0 { - for yyj4746 := 0; !r.CheckBreak(); yyj4746++ { + } else if yyl4816 < 0 { + for yyj4816 := 0; !r.CheckBreak(); yyj4816++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4746 = "" + yymk4816 = "" } else { - yymk4746 = ResourceName(r.DecodeString()) + yymk4816 = ResourceName(r.DecodeString()) } - if yymg4746 { - yymv4746 = yyv4746[yymk4746] + if yymg4816 { + yymv4816 = yyv4816[yymk4816] } else { - yymv4746 = pkg3_resource.Quantity{} + yymv4816 = pkg3_resource.Quantity{} } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4746 = pkg3_resource.Quantity{} + yymv4816 = pkg3_resource.Quantity{} } else { - yyv4751 := &yymv4746 - yym4752 := z.DecBinary() - _ = yym4752 + yyv4821 := &yymv4816 + yym4822 := z.DecBinary() + _ = yym4822 if false { - } else if z.HasExtensions() && z.DecExt(yyv4751) { - } else if !yym4752 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4751) + } else if z.HasExtensions() && z.DecExt(yyv4821) { + } else if !yym4822 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4821) } else { - z.DecFallback(yyv4751, false) + z.DecFallback(yyv4821, false) } } - if yyv4746 != nil { - yyv4746[yymk4746] = yymv4746 + if yyv4816 != nil { + yyv4816[yymk4816] = yymv4816 } } } // else len==0: TODO: Should we clear map entries? @@ -60732,10 +61536,10 @@ func (x codecSelfer1234) encSliceNode(v []Node, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4753 := range v { + for _, yyv4823 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4754 := &yyv4753 - yy4754.CodecEncodeSelf(e) + yy4824 := &yyv4823 + yy4824.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60745,83 +61549,83 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4755 := *v - yyh4755, yyl4755 := z.DecSliceHelperStart() - var yyc4755 bool - if yyl4755 == 0 { - if yyv4755 == nil { - yyv4755 = []Node{} - yyc4755 = true - } else if len(yyv4755) != 0 { - yyv4755 = yyv4755[:0] - yyc4755 = true + 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 } - } else if yyl4755 > 0 { - var yyrr4755, yyrl4755 int - var yyrt4755 bool - if yyl4755 > cap(yyv4755) { + } else if yyl4825 > 0 { + var yyrr4825, yyrl4825 int + var yyrt4825 bool + if yyl4825 > cap(yyv4825) { - yyrg4755 := len(yyv4755) > 0 - yyv24755 := yyv4755 - yyrl4755, yyrt4755 = z.DecInferLen(yyl4755, z.DecBasicHandle().MaxInitLen, 632) - if yyrt4755 { - if yyrl4755 <= cap(yyv4755) { - yyv4755 = yyv4755[:yyrl4755] + yyrg4825 := len(yyv4825) > 0 + yyv24825 := yyv4825 + yyrl4825, yyrt4825 = z.DecInferLen(yyl4825, z.DecBasicHandle().MaxInitLen, 632) + if yyrt4825 { + if yyrl4825 <= cap(yyv4825) { + yyv4825 = yyv4825[:yyrl4825] } else { - yyv4755 = make([]Node, yyrl4755) + yyv4825 = make([]Node, yyrl4825) } } else { - yyv4755 = make([]Node, yyrl4755) + yyv4825 = make([]Node, yyrl4825) } - yyc4755 = true - yyrr4755 = len(yyv4755) - if yyrg4755 { - copy(yyv4755, yyv24755) + yyc4825 = true + yyrr4825 = len(yyv4825) + if yyrg4825 { + copy(yyv4825, yyv24825) } - } else if yyl4755 != len(yyv4755) { - yyv4755 = yyv4755[:yyl4755] - yyc4755 = true + } else if yyl4825 != len(yyv4825) { + yyv4825 = yyv4825[:yyl4825] + yyc4825 = true } - yyj4755 := 0 - for ; yyj4755 < yyrr4755; yyj4755++ { - yyh4755.ElemContainerState(yyj4755) + yyj4825 := 0 + for ; yyj4825 < yyrr4825; yyj4825++ { + yyh4825.ElemContainerState(yyj4825) if r.TryDecodeAsNil() { - yyv4755[yyj4755] = Node{} + yyv4825[yyj4825] = Node{} } else { - yyv4756 := &yyv4755[yyj4755] - yyv4756.CodecDecodeSelf(d) + yyv4826 := &yyv4825[yyj4825] + yyv4826.CodecDecodeSelf(d) } } - if yyrt4755 { - for ; yyj4755 < yyl4755; yyj4755++ { - yyv4755 = append(yyv4755, Node{}) - yyh4755.ElemContainerState(yyj4755) + if yyrt4825 { + for ; yyj4825 < yyl4825; yyj4825++ { + yyv4825 = append(yyv4825, Node{}) + yyh4825.ElemContainerState(yyj4825) if r.TryDecodeAsNil() { - yyv4755[yyj4755] = Node{} + yyv4825[yyj4825] = Node{} } else { - yyv4757 := &yyv4755[yyj4755] - yyv4757.CodecDecodeSelf(d) + yyv4827 := &yyv4825[yyj4825] + yyv4827.CodecDecodeSelf(d) } } } } else { - yyj4755 := 0 - for ; !r.CheckBreak(); yyj4755++ { + yyj4825 := 0 + for ; !r.CheckBreak(); yyj4825++ { - if yyj4755 >= len(yyv4755) { - yyv4755 = append(yyv4755, Node{}) // var yyz4755 Node - yyc4755 = true + if yyj4825 >= len(yyv4825) { + yyv4825 = append(yyv4825, Node{}) // var yyz4825 Node + yyc4825 = true } - yyh4755.ElemContainerState(yyj4755) - if yyj4755 < len(yyv4755) { + yyh4825.ElemContainerState(yyj4825) + if yyj4825 < len(yyv4825) { if r.TryDecodeAsNil() { - yyv4755[yyj4755] = Node{} + yyv4825[yyj4825] = Node{} } else { - yyv4758 := &yyv4755[yyj4755] - yyv4758.CodecDecodeSelf(d) + yyv4828 := &yyv4825[yyj4825] + yyv4828.CodecDecodeSelf(d) } } else { @@ -60829,17 +61633,17 @@ func (x codecSelfer1234) decSliceNode(v *[]Node, d *codec1978.Decoder) { } } - if yyj4755 < len(yyv4755) { - yyv4755 = yyv4755[:yyj4755] - yyc4755 = true - } else if yyj4755 == 0 && yyv4755 == nil { - yyv4755 = []Node{} - yyc4755 = true + if yyj4825 < len(yyv4825) { + yyv4825 = yyv4825[:yyj4825] + yyc4825 = true + } else if yyj4825 == 0 && yyv4825 == nil { + yyv4825 = []Node{} + yyc4825 = true } } - yyh4755.End() - if yyc4755 { - *v = yyv4755 + yyh4825.End() + if yyc4825 { + *v = yyv4825 } } @@ -60848,9 +61652,9 @@ func (x codecSelfer1234) encSliceFinalizerName(v []FinalizerName, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4759 := range v { + for _, yyv4829 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4759.CodecEncodeSelf(e) + yyv4829.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60860,75 +61664,75 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4760 := *v - yyh4760, yyl4760 := z.DecSliceHelperStart() - var yyc4760 bool - if yyl4760 == 0 { - if yyv4760 == nil { - yyv4760 = []FinalizerName{} - yyc4760 = true - } else if len(yyv4760) != 0 { - yyv4760 = yyv4760[:0] - yyc4760 = true + 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 } - } else if yyl4760 > 0 { - var yyrr4760, yyrl4760 int - var yyrt4760 bool - if yyl4760 > cap(yyv4760) { + } else if yyl4830 > 0 { + var yyrr4830, yyrl4830 int + var yyrt4830 bool + if yyl4830 > cap(yyv4830) { - yyrl4760, yyrt4760 = z.DecInferLen(yyl4760, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4760 { - if yyrl4760 <= cap(yyv4760) { - yyv4760 = yyv4760[:yyrl4760] + yyrl4830, yyrt4830 = z.DecInferLen(yyl4830, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4830 { + if yyrl4830 <= cap(yyv4830) { + yyv4830 = yyv4830[:yyrl4830] } else { - yyv4760 = make([]FinalizerName, yyrl4760) + yyv4830 = make([]FinalizerName, yyrl4830) } } else { - yyv4760 = make([]FinalizerName, yyrl4760) + yyv4830 = make([]FinalizerName, yyrl4830) } - yyc4760 = true - yyrr4760 = len(yyv4760) - } else if yyl4760 != len(yyv4760) { - yyv4760 = yyv4760[:yyl4760] - yyc4760 = true + yyc4830 = true + yyrr4830 = len(yyv4830) + } else if yyl4830 != len(yyv4830) { + yyv4830 = yyv4830[:yyl4830] + yyc4830 = true } - yyj4760 := 0 - for ; yyj4760 < yyrr4760; yyj4760++ { - yyh4760.ElemContainerState(yyj4760) + yyj4830 := 0 + for ; yyj4830 < yyrr4830; yyj4830++ { + yyh4830.ElemContainerState(yyj4830) if r.TryDecodeAsNil() { - yyv4760[yyj4760] = "" + yyv4830[yyj4830] = "" } else { - yyv4760[yyj4760] = FinalizerName(r.DecodeString()) + yyv4830[yyj4830] = FinalizerName(r.DecodeString()) } } - if yyrt4760 { - for ; yyj4760 < yyl4760; yyj4760++ { - yyv4760 = append(yyv4760, "") - yyh4760.ElemContainerState(yyj4760) + if yyrt4830 { + for ; yyj4830 < yyl4830; yyj4830++ { + yyv4830 = append(yyv4830, "") + yyh4830.ElemContainerState(yyj4830) if r.TryDecodeAsNil() { - yyv4760[yyj4760] = "" + yyv4830[yyj4830] = "" } else { - yyv4760[yyj4760] = FinalizerName(r.DecodeString()) + yyv4830[yyj4830] = FinalizerName(r.DecodeString()) } } } } else { - yyj4760 := 0 - for ; !r.CheckBreak(); yyj4760++ { + yyj4830 := 0 + for ; !r.CheckBreak(); yyj4830++ { - if yyj4760 >= len(yyv4760) { - yyv4760 = append(yyv4760, "") // var yyz4760 FinalizerName - yyc4760 = true + if yyj4830 >= len(yyv4830) { + yyv4830 = append(yyv4830, "") // var yyz4830 FinalizerName + yyc4830 = true } - yyh4760.ElemContainerState(yyj4760) - if yyj4760 < len(yyv4760) { + yyh4830.ElemContainerState(yyj4830) + if yyj4830 < len(yyv4830) { if r.TryDecodeAsNil() { - yyv4760[yyj4760] = "" + yyv4830[yyj4830] = "" } else { - yyv4760[yyj4760] = FinalizerName(r.DecodeString()) + yyv4830[yyj4830] = FinalizerName(r.DecodeString()) } } else { @@ -60936,17 +61740,17 @@ func (x codecSelfer1234) decSliceFinalizerName(v *[]FinalizerName, d *codec1978. } } - if yyj4760 < len(yyv4760) { - yyv4760 = yyv4760[:yyj4760] - yyc4760 = true - } else if yyj4760 == 0 && yyv4760 == nil { - yyv4760 = []FinalizerName{} - yyc4760 = true + if yyj4830 < len(yyv4830) { + yyv4830 = yyv4830[:yyj4830] + yyc4830 = true + } else if yyj4830 == 0 && yyv4830 == nil { + yyv4830 = []FinalizerName{} + yyc4830 = true } } - yyh4760.End() - if yyc4760 { - *v = yyv4760 + yyh4830.End() + if yyc4830 { + *v = yyv4830 } } @@ -60955,10 +61759,10 @@ func (x codecSelfer1234) encSliceNamespace(v []Namespace, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4764 := range v { + for _, yyv4834 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4765 := &yyv4764 - yy4765.CodecEncodeSelf(e) + yy4835 := &yyv4834 + yy4835.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -60968,83 +61772,83 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4766 := *v - yyh4766, yyl4766 := z.DecSliceHelperStart() - var yyc4766 bool - if yyl4766 == 0 { - if yyv4766 == nil { - yyv4766 = []Namespace{} - yyc4766 = true - } else if len(yyv4766) != 0 { - yyv4766 = yyv4766[:0] - yyc4766 = true + 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 } - } else if yyl4766 > 0 { - var yyrr4766, yyrl4766 int - var yyrt4766 bool - if yyl4766 > cap(yyv4766) { + } else if yyl4836 > 0 { + var yyrr4836, yyrl4836 int + var yyrt4836 bool + if yyl4836 > cap(yyv4836) { - yyrg4766 := len(yyv4766) > 0 - yyv24766 := yyv4766 - yyrl4766, yyrt4766 = z.DecInferLen(yyl4766, z.DecBasicHandle().MaxInitLen, 296) - if yyrt4766 { - if yyrl4766 <= cap(yyv4766) { - yyv4766 = yyv4766[:yyrl4766] + yyrg4836 := len(yyv4836) > 0 + yyv24836 := yyv4836 + yyrl4836, yyrt4836 = z.DecInferLen(yyl4836, z.DecBasicHandle().MaxInitLen, 296) + if yyrt4836 { + if yyrl4836 <= cap(yyv4836) { + yyv4836 = yyv4836[:yyrl4836] } else { - yyv4766 = make([]Namespace, yyrl4766) + yyv4836 = make([]Namespace, yyrl4836) } } else { - yyv4766 = make([]Namespace, yyrl4766) + yyv4836 = make([]Namespace, yyrl4836) } - yyc4766 = true - yyrr4766 = len(yyv4766) - if yyrg4766 { - copy(yyv4766, yyv24766) + yyc4836 = true + yyrr4836 = len(yyv4836) + if yyrg4836 { + copy(yyv4836, yyv24836) } - } else if yyl4766 != len(yyv4766) { - yyv4766 = yyv4766[:yyl4766] - yyc4766 = true + } else if yyl4836 != len(yyv4836) { + yyv4836 = yyv4836[:yyl4836] + yyc4836 = true } - yyj4766 := 0 - for ; yyj4766 < yyrr4766; yyj4766++ { - yyh4766.ElemContainerState(yyj4766) + yyj4836 := 0 + for ; yyj4836 < yyrr4836; yyj4836++ { + yyh4836.ElemContainerState(yyj4836) if r.TryDecodeAsNil() { - yyv4766[yyj4766] = Namespace{} + yyv4836[yyj4836] = Namespace{} } else { - yyv4767 := &yyv4766[yyj4766] - yyv4767.CodecDecodeSelf(d) + yyv4837 := &yyv4836[yyj4836] + yyv4837.CodecDecodeSelf(d) } } - if yyrt4766 { - for ; yyj4766 < yyl4766; yyj4766++ { - yyv4766 = append(yyv4766, Namespace{}) - yyh4766.ElemContainerState(yyj4766) + if yyrt4836 { + for ; yyj4836 < yyl4836; yyj4836++ { + yyv4836 = append(yyv4836, Namespace{}) + yyh4836.ElemContainerState(yyj4836) if r.TryDecodeAsNil() { - yyv4766[yyj4766] = Namespace{} + yyv4836[yyj4836] = Namespace{} } else { - yyv4768 := &yyv4766[yyj4766] - yyv4768.CodecDecodeSelf(d) + yyv4838 := &yyv4836[yyj4836] + yyv4838.CodecDecodeSelf(d) } } } } else { - yyj4766 := 0 - for ; !r.CheckBreak(); yyj4766++ { + yyj4836 := 0 + for ; !r.CheckBreak(); yyj4836++ { - if yyj4766 >= len(yyv4766) { - yyv4766 = append(yyv4766, Namespace{}) // var yyz4766 Namespace - yyc4766 = true + if yyj4836 >= len(yyv4836) { + yyv4836 = append(yyv4836, Namespace{}) // var yyz4836 Namespace + yyc4836 = true } - yyh4766.ElemContainerState(yyj4766) - if yyj4766 < len(yyv4766) { + yyh4836.ElemContainerState(yyj4836) + if yyj4836 < len(yyv4836) { if r.TryDecodeAsNil() { - yyv4766[yyj4766] = Namespace{} + yyv4836[yyj4836] = Namespace{} } else { - yyv4769 := &yyv4766[yyj4766] - yyv4769.CodecDecodeSelf(d) + yyv4839 := &yyv4836[yyj4836] + yyv4839.CodecDecodeSelf(d) } } else { @@ -61052,17 +61856,17 @@ func (x codecSelfer1234) decSliceNamespace(v *[]Namespace, d *codec1978.Decoder) } } - if yyj4766 < len(yyv4766) { - yyv4766 = yyv4766[:yyj4766] - yyc4766 = true - } else if yyj4766 == 0 && yyv4766 == nil { - yyv4766 = []Namespace{} - yyc4766 = true + if yyj4836 < len(yyv4836) { + yyv4836 = yyv4836[:yyj4836] + yyc4836 = true + } else if yyj4836 == 0 && yyv4836 == nil { + yyv4836 = []Namespace{} + yyc4836 = true } } - yyh4766.End() - if yyc4766 { - *v = yyv4766 + yyh4836.End() + if yyc4836 { + *v = yyv4836 } } @@ -61071,10 +61875,10 @@ func (x codecSelfer1234) encSliceEvent(v []Event, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4770 := range v { + for _, yyv4840 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4771 := &yyv4770 - yy4771.CodecEncodeSelf(e) + yy4841 := &yyv4840 + yy4841.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61084,83 +61888,83 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4772 := *v - yyh4772, yyl4772 := z.DecSliceHelperStart() - var yyc4772 bool - if yyl4772 == 0 { - if yyv4772 == nil { - yyv4772 = []Event{} - yyc4772 = true - } else if len(yyv4772) != 0 { - yyv4772 = yyv4772[:0] - yyc4772 = true + 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 } - } else if yyl4772 > 0 { - var yyrr4772, yyrl4772 int - var yyrt4772 bool - if yyl4772 > cap(yyv4772) { + } else if yyl4842 > 0 { + var yyrr4842, yyrl4842 int + var yyrt4842 bool + if yyl4842 > cap(yyv4842) { - yyrg4772 := len(yyv4772) > 0 - yyv24772 := yyv4772 - yyrl4772, yyrt4772 = z.DecInferLen(yyl4772, z.DecBasicHandle().MaxInitLen, 504) - if yyrt4772 { - if yyrl4772 <= cap(yyv4772) { - yyv4772 = yyv4772[:yyrl4772] + yyrg4842 := len(yyv4842) > 0 + yyv24842 := yyv4842 + yyrl4842, yyrt4842 = z.DecInferLen(yyl4842, z.DecBasicHandle().MaxInitLen, 504) + if yyrt4842 { + if yyrl4842 <= cap(yyv4842) { + yyv4842 = yyv4842[:yyrl4842] } else { - yyv4772 = make([]Event, yyrl4772) + yyv4842 = make([]Event, yyrl4842) } } else { - yyv4772 = make([]Event, yyrl4772) + yyv4842 = make([]Event, yyrl4842) } - yyc4772 = true - yyrr4772 = len(yyv4772) - if yyrg4772 { - copy(yyv4772, yyv24772) + yyc4842 = true + yyrr4842 = len(yyv4842) + if yyrg4842 { + copy(yyv4842, yyv24842) } - } else if yyl4772 != len(yyv4772) { - yyv4772 = yyv4772[:yyl4772] - yyc4772 = true + } else if yyl4842 != len(yyv4842) { + yyv4842 = yyv4842[:yyl4842] + yyc4842 = true } - yyj4772 := 0 - for ; yyj4772 < yyrr4772; yyj4772++ { - yyh4772.ElemContainerState(yyj4772) + yyj4842 := 0 + for ; yyj4842 < yyrr4842; yyj4842++ { + yyh4842.ElemContainerState(yyj4842) if r.TryDecodeAsNil() { - yyv4772[yyj4772] = Event{} + yyv4842[yyj4842] = Event{} } else { - yyv4773 := &yyv4772[yyj4772] - yyv4773.CodecDecodeSelf(d) + yyv4843 := &yyv4842[yyj4842] + yyv4843.CodecDecodeSelf(d) } } - if yyrt4772 { - for ; yyj4772 < yyl4772; yyj4772++ { - yyv4772 = append(yyv4772, Event{}) - yyh4772.ElemContainerState(yyj4772) + if yyrt4842 { + for ; yyj4842 < yyl4842; yyj4842++ { + yyv4842 = append(yyv4842, Event{}) + yyh4842.ElemContainerState(yyj4842) if r.TryDecodeAsNil() { - yyv4772[yyj4772] = Event{} + yyv4842[yyj4842] = Event{} } else { - yyv4774 := &yyv4772[yyj4772] - yyv4774.CodecDecodeSelf(d) + yyv4844 := &yyv4842[yyj4842] + yyv4844.CodecDecodeSelf(d) } } } } else { - yyj4772 := 0 - for ; !r.CheckBreak(); yyj4772++ { + yyj4842 := 0 + for ; !r.CheckBreak(); yyj4842++ { - if yyj4772 >= len(yyv4772) { - yyv4772 = append(yyv4772, Event{}) // var yyz4772 Event - yyc4772 = true + if yyj4842 >= len(yyv4842) { + yyv4842 = append(yyv4842, Event{}) // var yyz4842 Event + yyc4842 = true } - yyh4772.ElemContainerState(yyj4772) - if yyj4772 < len(yyv4772) { + yyh4842.ElemContainerState(yyj4842) + if yyj4842 < len(yyv4842) { if r.TryDecodeAsNil() { - yyv4772[yyj4772] = Event{} + yyv4842[yyj4842] = Event{} } else { - yyv4775 := &yyv4772[yyj4772] - yyv4775.CodecDecodeSelf(d) + yyv4845 := &yyv4842[yyj4842] + yyv4845.CodecDecodeSelf(d) } } else { @@ -61168,17 +61972,17 @@ func (x codecSelfer1234) decSliceEvent(v *[]Event, d *codec1978.Decoder) { } } - if yyj4772 < len(yyv4772) { - yyv4772 = yyv4772[:yyj4772] - yyc4772 = true - } else if yyj4772 == 0 && yyv4772 == nil { - yyv4772 = []Event{} - yyc4772 = true + if yyj4842 < len(yyv4842) { + yyv4842 = yyv4842[:yyj4842] + yyc4842 = true + } else if yyj4842 == 0 && yyv4842 == nil { + yyv4842 = []Event{} + yyc4842 = true } } - yyh4772.End() - if yyc4772 { - *v = yyv4772 + yyh4842.End() + if yyc4842 { + *v = yyv4842 } } @@ -61187,17 +61991,17 @@ func (x codecSelfer1234) encSliceruntime_RawExtension(v []pkg5_runtime.RawExtens z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4776 := range v { + for _, yyv4846 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4777 := &yyv4776 - yym4778 := z.EncBinary() - _ = yym4778 + yy4847 := &yyv4846 + yym4848 := z.EncBinary() + _ = yym4848 if false { - } else if z.HasExtensions() && z.EncExt(yy4777) { - } else if !yym4778 && z.IsJSONHandle() { - z.EncJSONMarshal(yy4777) + } else if z.HasExtensions() && z.EncExt(yy4847) { + } else if !yym4848 && z.IsJSONHandle() { + z.EncJSONMarshal(yy4847) } else { - z.EncFallback(yy4777) + z.EncFallback(yy4847) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -61208,78 +62012,78 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4779 := *v - yyh4779, yyl4779 := z.DecSliceHelperStart() - var yyc4779 bool - if yyl4779 == 0 { - if yyv4779 == nil { - yyv4779 = []pkg5_runtime.RawExtension{} - yyc4779 = true - } else if len(yyv4779) != 0 { - yyv4779 = yyv4779[:0] - yyc4779 = true + yyv4849 := *v + yyh4849, yyl4849 := z.DecSliceHelperStart() + var yyc4849 bool + if yyl4849 == 0 { + if yyv4849 == nil { + yyv4849 = []pkg5_runtime.RawExtension{} + yyc4849 = true + } else if len(yyv4849) != 0 { + yyv4849 = yyv4849[:0] + yyc4849 = true } - } else if yyl4779 > 0 { - var yyrr4779, yyrl4779 int - var yyrt4779 bool - if yyl4779 > cap(yyv4779) { + } else if yyl4849 > 0 { + var yyrr4849, yyrl4849 int + var yyrt4849 bool + if yyl4849 > cap(yyv4849) { - yyrg4779 := len(yyv4779) > 0 - yyv24779 := yyv4779 - yyrl4779, yyrt4779 = z.DecInferLen(yyl4779, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4779 { - if yyrl4779 <= cap(yyv4779) { - yyv4779 = yyv4779[:yyrl4779] + yyrg4849 := len(yyv4849) > 0 + yyv24849 := yyv4849 + yyrl4849, yyrt4849 = z.DecInferLen(yyl4849, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4849 { + if yyrl4849 <= cap(yyv4849) { + yyv4849 = yyv4849[:yyrl4849] } else { - yyv4779 = make([]pkg5_runtime.RawExtension, yyrl4779) + yyv4849 = make([]pkg5_runtime.RawExtension, yyrl4849) } } else { - yyv4779 = make([]pkg5_runtime.RawExtension, yyrl4779) + yyv4849 = make([]pkg5_runtime.RawExtension, yyrl4849) } - yyc4779 = true - yyrr4779 = len(yyv4779) - if yyrg4779 { - copy(yyv4779, yyv24779) + yyc4849 = true + yyrr4849 = len(yyv4849) + if yyrg4849 { + copy(yyv4849, yyv24849) } - } else if yyl4779 != len(yyv4779) { - yyv4779 = yyv4779[:yyl4779] - yyc4779 = true + } else if yyl4849 != len(yyv4849) { + yyv4849 = yyv4849[:yyl4849] + yyc4849 = true } - yyj4779 := 0 - for ; yyj4779 < yyrr4779; yyj4779++ { - yyh4779.ElemContainerState(yyj4779) + yyj4849 := 0 + for ; yyj4849 < yyrr4849; yyj4849++ { + yyh4849.ElemContainerState(yyj4849) if r.TryDecodeAsNil() { - yyv4779[yyj4779] = pkg5_runtime.RawExtension{} + yyv4849[yyj4849] = pkg5_runtime.RawExtension{} } else { - yyv4780 := &yyv4779[yyj4779] - yym4781 := z.DecBinary() - _ = yym4781 + yyv4850 := &yyv4849[yyj4849] + yym4851 := z.DecBinary() + _ = yym4851 if false { - } else if z.HasExtensions() && z.DecExt(yyv4780) { - } else if !yym4781 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4780) + } else if z.HasExtensions() && z.DecExt(yyv4850) { + } else if !yym4851 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4850) } else { - z.DecFallback(yyv4780, false) + z.DecFallback(yyv4850, false) } } } - if yyrt4779 { - for ; yyj4779 < yyl4779; yyj4779++ { - yyv4779 = append(yyv4779, pkg5_runtime.RawExtension{}) - yyh4779.ElemContainerState(yyj4779) + if yyrt4849 { + for ; yyj4849 < yyl4849; yyj4849++ { + yyv4849 = append(yyv4849, pkg5_runtime.RawExtension{}) + yyh4849.ElemContainerState(yyj4849) if r.TryDecodeAsNil() { - yyv4779[yyj4779] = pkg5_runtime.RawExtension{} + yyv4849[yyj4849] = pkg5_runtime.RawExtension{} } else { - yyv4782 := &yyv4779[yyj4779] - yym4783 := z.DecBinary() - _ = yym4783 + yyv4852 := &yyv4849[yyj4849] + yym4853 := z.DecBinary() + _ = yym4853 if false { - } else if z.HasExtensions() && z.DecExt(yyv4782) { - } else if !yym4783 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4782) + } else if z.HasExtensions() && z.DecExt(yyv4852) { + } else if !yym4853 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4852) } else { - z.DecFallback(yyv4782, false) + z.DecFallback(yyv4852, false) } } @@ -61287,27 +62091,27 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } else { - yyj4779 := 0 - for ; !r.CheckBreak(); yyj4779++ { + yyj4849 := 0 + for ; !r.CheckBreak(); yyj4849++ { - if yyj4779 >= len(yyv4779) { - yyv4779 = append(yyv4779, pkg5_runtime.RawExtension{}) // var yyz4779 pkg5_runtime.RawExtension - yyc4779 = true + if yyj4849 >= len(yyv4849) { + yyv4849 = append(yyv4849, pkg5_runtime.RawExtension{}) // var yyz4849 pkg5_runtime.RawExtension + yyc4849 = true } - yyh4779.ElemContainerState(yyj4779) - if yyj4779 < len(yyv4779) { + yyh4849.ElemContainerState(yyj4849) + if yyj4849 < len(yyv4849) { if r.TryDecodeAsNil() { - yyv4779[yyj4779] = pkg5_runtime.RawExtension{} + yyv4849[yyj4849] = pkg5_runtime.RawExtension{} } else { - yyv4784 := &yyv4779[yyj4779] - yym4785 := z.DecBinary() - _ = yym4785 + yyv4854 := &yyv4849[yyj4849] + yym4855 := z.DecBinary() + _ = yym4855 if false { - } else if z.HasExtensions() && z.DecExt(yyv4784) { - } else if !yym4785 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv4784) + } else if z.HasExtensions() && z.DecExt(yyv4854) { + } else if !yym4855 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv4854) } else { - z.DecFallback(yyv4784, false) + z.DecFallback(yyv4854, false) } } @@ -61316,17 +62120,17 @@ func (x codecSelfer1234) decSliceruntime_RawExtension(v *[]pkg5_runtime.RawExten } } - if yyj4779 < len(yyv4779) { - yyv4779 = yyv4779[:yyj4779] - yyc4779 = true - } else if yyj4779 == 0 && yyv4779 == nil { - yyv4779 = []pkg5_runtime.RawExtension{} - yyc4779 = true + if yyj4849 < len(yyv4849) { + yyv4849 = yyv4849[:yyj4849] + yyc4849 = true + } else if yyj4849 == 0 && yyv4849 == nil { + yyv4849 = []pkg5_runtime.RawExtension{} + yyc4849 = true } } - yyh4779.End() - if yyc4779 { - *v = yyv4779 + yyh4849.End() + if yyc4849 { + *v = yyv4849 } } @@ -61335,10 +62139,10 @@ func (x codecSelfer1234) encSliceLimitRangeItem(v []LimitRangeItem, e *codec1978 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4786 := range v { + for _, yyv4856 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4787 := &yyv4786 - yy4787.CodecEncodeSelf(e) + yy4857 := &yyv4856 + yy4857.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61348,83 +62152,83 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4788 := *v - yyh4788, yyl4788 := z.DecSliceHelperStart() - var yyc4788 bool - if yyl4788 == 0 { - if yyv4788 == nil { - yyv4788 = []LimitRangeItem{} - yyc4788 = true - } else if len(yyv4788) != 0 { - yyv4788 = yyv4788[:0] - yyc4788 = true + 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 yyl4788 > 0 { - var yyrr4788, yyrl4788 int - var yyrt4788 bool - if yyl4788 > cap(yyv4788) { + } else if yyl4858 > 0 { + var yyrr4858, yyrl4858 int + var yyrt4858 bool + if yyl4858 > cap(yyv4858) { - yyrg4788 := len(yyv4788) > 0 - yyv24788 := yyv4788 - yyrl4788, yyrt4788 = z.DecInferLen(yyl4788, z.DecBasicHandle().MaxInitLen, 56) - if yyrt4788 { - if yyrl4788 <= cap(yyv4788) { - yyv4788 = yyv4788[:yyrl4788] + 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 { - yyv4788 = make([]LimitRangeItem, yyrl4788) + yyv4858 = make([]LimitRangeItem, yyrl4858) } } else { - yyv4788 = make([]LimitRangeItem, yyrl4788) + yyv4858 = make([]LimitRangeItem, yyrl4858) } - yyc4788 = true - yyrr4788 = len(yyv4788) - if yyrg4788 { - copy(yyv4788, yyv24788) + yyc4858 = true + yyrr4858 = len(yyv4858) + if yyrg4858 { + copy(yyv4858, yyv24858) } - } else if yyl4788 != len(yyv4788) { - yyv4788 = yyv4788[:yyl4788] - yyc4788 = true + } else if yyl4858 != len(yyv4858) { + yyv4858 = yyv4858[:yyl4858] + yyc4858 = true } - yyj4788 := 0 - for ; yyj4788 < yyrr4788; yyj4788++ { - yyh4788.ElemContainerState(yyj4788) + yyj4858 := 0 + for ; yyj4858 < yyrr4858; yyj4858++ { + yyh4858.ElemContainerState(yyj4858) if r.TryDecodeAsNil() { - yyv4788[yyj4788] = LimitRangeItem{} + yyv4858[yyj4858] = LimitRangeItem{} } else { - yyv4789 := &yyv4788[yyj4788] - yyv4789.CodecDecodeSelf(d) + yyv4859 := &yyv4858[yyj4858] + yyv4859.CodecDecodeSelf(d) } } - if yyrt4788 { - for ; yyj4788 < yyl4788; yyj4788++ { - yyv4788 = append(yyv4788, LimitRangeItem{}) - yyh4788.ElemContainerState(yyj4788) + if yyrt4858 { + for ; yyj4858 < yyl4858; yyj4858++ { + yyv4858 = append(yyv4858, LimitRangeItem{}) + yyh4858.ElemContainerState(yyj4858) if r.TryDecodeAsNil() { - yyv4788[yyj4788] = LimitRangeItem{} + yyv4858[yyj4858] = LimitRangeItem{} } else { - yyv4790 := &yyv4788[yyj4788] - yyv4790.CodecDecodeSelf(d) + yyv4860 := &yyv4858[yyj4858] + yyv4860.CodecDecodeSelf(d) } } } } else { - yyj4788 := 0 - for ; !r.CheckBreak(); yyj4788++ { + yyj4858 := 0 + for ; !r.CheckBreak(); yyj4858++ { - if yyj4788 >= len(yyv4788) { - yyv4788 = append(yyv4788, LimitRangeItem{}) // var yyz4788 LimitRangeItem - yyc4788 = true + if yyj4858 >= len(yyv4858) { + yyv4858 = append(yyv4858, LimitRangeItem{}) // var yyz4858 LimitRangeItem + yyc4858 = true } - yyh4788.ElemContainerState(yyj4788) - if yyj4788 < len(yyv4788) { + yyh4858.ElemContainerState(yyj4858) + if yyj4858 < len(yyv4858) { if r.TryDecodeAsNil() { - yyv4788[yyj4788] = LimitRangeItem{} + yyv4858[yyj4858] = LimitRangeItem{} } else { - yyv4791 := &yyv4788[yyj4788] - yyv4791.CodecDecodeSelf(d) + yyv4861 := &yyv4858[yyj4858] + yyv4861.CodecDecodeSelf(d) } } else { @@ -61432,17 +62236,17 @@ func (x codecSelfer1234) decSliceLimitRangeItem(v *[]LimitRangeItem, d *codec197 } } - if yyj4788 < len(yyv4788) { - yyv4788 = yyv4788[:yyj4788] - yyc4788 = true - } else if yyj4788 == 0 && yyv4788 == nil { - yyv4788 = []LimitRangeItem{} - yyc4788 = true + if yyj4858 < len(yyv4858) { + yyv4858 = yyv4858[:yyj4858] + yyc4858 = true + } else if yyj4858 == 0 && yyv4858 == nil { + yyv4858 = []LimitRangeItem{} + yyc4858 = true } } - yyh4788.End() - if yyc4788 { - *v = yyv4788 + yyh4858.End() + if yyc4858 { + *v = yyv4858 } } @@ -61451,10 +62255,10 @@ func (x codecSelfer1234) encSliceLimitRange(v []LimitRange, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4792 := range v { + for _, yyv4862 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4793 := &yyv4792 - yy4793.CodecEncodeSelf(e) + yy4863 := &yyv4862 + yy4863.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61464,83 +62268,83 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4794 := *v - yyh4794, yyl4794 := z.DecSliceHelperStart() - var yyc4794 bool - if yyl4794 == 0 { - if yyv4794 == nil { - yyv4794 = []LimitRange{} - yyc4794 = true - } else if len(yyv4794) != 0 { - yyv4794 = yyv4794[:0] - yyc4794 = true + 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 } - } else if yyl4794 > 0 { - var yyrr4794, yyrl4794 int - var yyrt4794 bool - if yyl4794 > cap(yyv4794) { + } else if yyl4864 > 0 { + var yyrr4864, yyrl4864 int + var yyrt4864 bool + if yyl4864 > cap(yyv4864) { - yyrg4794 := len(yyv4794) > 0 - yyv24794 := yyv4794 - yyrl4794, yyrt4794 = z.DecInferLen(yyl4794, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4794 { - if yyrl4794 <= cap(yyv4794) { - yyv4794 = yyv4794[:yyrl4794] + yyrg4864 := len(yyv4864) > 0 + yyv24864 := yyv4864 + yyrl4864, yyrt4864 = z.DecInferLen(yyl4864, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4864 { + if yyrl4864 <= cap(yyv4864) { + yyv4864 = yyv4864[:yyrl4864] } else { - yyv4794 = make([]LimitRange, yyrl4794) + yyv4864 = make([]LimitRange, yyrl4864) } } else { - yyv4794 = make([]LimitRange, yyrl4794) + yyv4864 = make([]LimitRange, yyrl4864) } - yyc4794 = true - yyrr4794 = len(yyv4794) - if yyrg4794 { - copy(yyv4794, yyv24794) + yyc4864 = true + yyrr4864 = len(yyv4864) + if yyrg4864 { + copy(yyv4864, yyv24864) } - } else if yyl4794 != len(yyv4794) { - yyv4794 = yyv4794[:yyl4794] - yyc4794 = true + } else if yyl4864 != len(yyv4864) { + yyv4864 = yyv4864[:yyl4864] + yyc4864 = true } - yyj4794 := 0 - for ; yyj4794 < yyrr4794; yyj4794++ { - yyh4794.ElemContainerState(yyj4794) + yyj4864 := 0 + for ; yyj4864 < yyrr4864; yyj4864++ { + yyh4864.ElemContainerState(yyj4864) if r.TryDecodeAsNil() { - yyv4794[yyj4794] = LimitRange{} + yyv4864[yyj4864] = LimitRange{} } else { - yyv4795 := &yyv4794[yyj4794] - yyv4795.CodecDecodeSelf(d) + yyv4865 := &yyv4864[yyj4864] + yyv4865.CodecDecodeSelf(d) } } - if yyrt4794 { - for ; yyj4794 < yyl4794; yyj4794++ { - yyv4794 = append(yyv4794, LimitRange{}) - yyh4794.ElemContainerState(yyj4794) + if yyrt4864 { + for ; yyj4864 < yyl4864; yyj4864++ { + yyv4864 = append(yyv4864, LimitRange{}) + yyh4864.ElemContainerState(yyj4864) if r.TryDecodeAsNil() { - yyv4794[yyj4794] = LimitRange{} + yyv4864[yyj4864] = LimitRange{} } else { - yyv4796 := &yyv4794[yyj4794] - yyv4796.CodecDecodeSelf(d) + yyv4866 := &yyv4864[yyj4864] + yyv4866.CodecDecodeSelf(d) } } } } else { - yyj4794 := 0 - for ; !r.CheckBreak(); yyj4794++ { + yyj4864 := 0 + for ; !r.CheckBreak(); yyj4864++ { - if yyj4794 >= len(yyv4794) { - yyv4794 = append(yyv4794, LimitRange{}) // var yyz4794 LimitRange - yyc4794 = true + if yyj4864 >= len(yyv4864) { + yyv4864 = append(yyv4864, LimitRange{}) // var yyz4864 LimitRange + yyc4864 = true } - yyh4794.ElemContainerState(yyj4794) - if yyj4794 < len(yyv4794) { + yyh4864.ElemContainerState(yyj4864) + if yyj4864 < len(yyv4864) { if r.TryDecodeAsNil() { - yyv4794[yyj4794] = LimitRange{} + yyv4864[yyj4864] = LimitRange{} } else { - yyv4797 := &yyv4794[yyj4794] - yyv4797.CodecDecodeSelf(d) + yyv4867 := &yyv4864[yyj4864] + yyv4867.CodecDecodeSelf(d) } } else { @@ -61548,17 +62352,17 @@ func (x codecSelfer1234) decSliceLimitRange(v *[]LimitRange, d *codec1978.Decode } } - if yyj4794 < len(yyv4794) { - yyv4794 = yyv4794[:yyj4794] - yyc4794 = true - } else if yyj4794 == 0 && yyv4794 == nil { - yyv4794 = []LimitRange{} - yyc4794 = true + if yyj4864 < len(yyv4864) { + yyv4864 = yyv4864[:yyj4864] + yyc4864 = true + } else if yyj4864 == 0 && yyv4864 == nil { + yyv4864 = []LimitRange{} + yyc4864 = true } } - yyh4794.End() - if yyc4794 { - *v = yyv4794 + yyh4864.End() + if yyc4864 { + *v = yyv4864 } } @@ -61567,9 +62371,9 @@ func (x codecSelfer1234) encSliceResourceQuotaScope(v []ResourceQuotaScope, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4798 := range v { + for _, yyv4868 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv4798.CodecEncodeSelf(e) + yyv4868.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61579,75 +62383,75 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4799 := *v - yyh4799, yyl4799 := z.DecSliceHelperStart() - var yyc4799 bool - if yyl4799 == 0 { - if yyv4799 == nil { - yyv4799 = []ResourceQuotaScope{} - yyc4799 = true - } else if len(yyv4799) != 0 { - yyv4799 = yyv4799[:0] - yyc4799 = true + 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 } - } else if yyl4799 > 0 { - var yyrr4799, yyrl4799 int - var yyrt4799 bool - if yyl4799 > cap(yyv4799) { + } else if yyl4869 > 0 { + var yyrr4869, yyrl4869 int + var yyrt4869 bool + if yyl4869 > cap(yyv4869) { - yyrl4799, yyrt4799 = z.DecInferLen(yyl4799, z.DecBasicHandle().MaxInitLen, 16) - if yyrt4799 { - if yyrl4799 <= cap(yyv4799) { - yyv4799 = yyv4799[:yyrl4799] + yyrl4869, yyrt4869 = z.DecInferLen(yyl4869, z.DecBasicHandle().MaxInitLen, 16) + if yyrt4869 { + if yyrl4869 <= cap(yyv4869) { + yyv4869 = yyv4869[:yyrl4869] } else { - yyv4799 = make([]ResourceQuotaScope, yyrl4799) + yyv4869 = make([]ResourceQuotaScope, yyrl4869) } } else { - yyv4799 = make([]ResourceQuotaScope, yyrl4799) + yyv4869 = make([]ResourceQuotaScope, yyrl4869) } - yyc4799 = true - yyrr4799 = len(yyv4799) - } else if yyl4799 != len(yyv4799) { - yyv4799 = yyv4799[:yyl4799] - yyc4799 = true + yyc4869 = true + yyrr4869 = len(yyv4869) + } else if yyl4869 != len(yyv4869) { + yyv4869 = yyv4869[:yyl4869] + yyc4869 = true } - yyj4799 := 0 - for ; yyj4799 < yyrr4799; yyj4799++ { - yyh4799.ElemContainerState(yyj4799) + yyj4869 := 0 + for ; yyj4869 < yyrr4869; yyj4869++ { + yyh4869.ElemContainerState(yyj4869) if r.TryDecodeAsNil() { - yyv4799[yyj4799] = "" + yyv4869[yyj4869] = "" } else { - yyv4799[yyj4799] = ResourceQuotaScope(r.DecodeString()) + yyv4869[yyj4869] = ResourceQuotaScope(r.DecodeString()) } } - if yyrt4799 { - for ; yyj4799 < yyl4799; yyj4799++ { - yyv4799 = append(yyv4799, "") - yyh4799.ElemContainerState(yyj4799) + if yyrt4869 { + for ; yyj4869 < yyl4869; yyj4869++ { + yyv4869 = append(yyv4869, "") + yyh4869.ElemContainerState(yyj4869) if r.TryDecodeAsNil() { - yyv4799[yyj4799] = "" + yyv4869[yyj4869] = "" } else { - yyv4799[yyj4799] = ResourceQuotaScope(r.DecodeString()) + yyv4869[yyj4869] = ResourceQuotaScope(r.DecodeString()) } } } } else { - yyj4799 := 0 - for ; !r.CheckBreak(); yyj4799++ { + yyj4869 := 0 + for ; !r.CheckBreak(); yyj4869++ { - if yyj4799 >= len(yyv4799) { - yyv4799 = append(yyv4799, "") // var yyz4799 ResourceQuotaScope - yyc4799 = true + if yyj4869 >= len(yyv4869) { + yyv4869 = append(yyv4869, "") // var yyz4869 ResourceQuotaScope + yyc4869 = true } - yyh4799.ElemContainerState(yyj4799) - if yyj4799 < len(yyv4799) { + yyh4869.ElemContainerState(yyj4869) + if yyj4869 < len(yyv4869) { if r.TryDecodeAsNil() { - yyv4799[yyj4799] = "" + yyv4869[yyj4869] = "" } else { - yyv4799[yyj4799] = ResourceQuotaScope(r.DecodeString()) + yyv4869[yyj4869] = ResourceQuotaScope(r.DecodeString()) } } else { @@ -61655,17 +62459,17 @@ func (x codecSelfer1234) decSliceResourceQuotaScope(v *[]ResourceQuotaScope, d * } } - if yyj4799 < len(yyv4799) { - yyv4799 = yyv4799[:yyj4799] - yyc4799 = true - } else if yyj4799 == 0 && yyv4799 == nil { - yyv4799 = []ResourceQuotaScope{} - yyc4799 = true + if yyj4869 < len(yyv4869) { + yyv4869 = yyv4869[:yyj4869] + yyc4869 = true + } else if yyj4869 == 0 && yyv4869 == nil { + yyv4869 = []ResourceQuotaScope{} + yyc4869 = true } } - yyh4799.End() - if yyc4799 { - *v = yyv4799 + yyh4869.End() + if yyc4869 { + *v = yyv4869 } } @@ -61674,10 +62478,10 @@ func (x codecSelfer1234) encSliceResourceQuota(v []ResourceQuota, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4803 := range v { + for _, yyv4873 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4804 := &yyv4803 - yy4804.CodecEncodeSelf(e) + yy4874 := &yyv4873 + yy4874.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61687,83 +62491,83 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4805 := *v - yyh4805, yyl4805 := z.DecSliceHelperStart() - var yyc4805 bool - if yyl4805 == 0 { - if yyv4805 == nil { - yyv4805 = []ResourceQuota{} - yyc4805 = true - } else if len(yyv4805) != 0 { - yyv4805 = yyv4805[:0] - yyc4805 = true + 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 } - } else if yyl4805 > 0 { - var yyrr4805, yyrl4805 int - var yyrt4805 bool - if yyl4805 > cap(yyv4805) { + } else if yyl4875 > 0 { + var yyrr4875, yyrl4875 int + var yyrt4875 bool + if yyl4875 > cap(yyv4875) { - yyrg4805 := len(yyv4805) > 0 - yyv24805 := yyv4805 - yyrl4805, yyrt4805 = z.DecInferLen(yyl4805, z.DecBasicHandle().MaxInitLen, 304) - if yyrt4805 { - if yyrl4805 <= cap(yyv4805) { - yyv4805 = yyv4805[:yyrl4805] + yyrg4875 := len(yyv4875) > 0 + yyv24875 := yyv4875 + yyrl4875, yyrt4875 = z.DecInferLen(yyl4875, z.DecBasicHandle().MaxInitLen, 304) + if yyrt4875 { + if yyrl4875 <= cap(yyv4875) { + yyv4875 = yyv4875[:yyrl4875] } else { - yyv4805 = make([]ResourceQuota, yyrl4805) + yyv4875 = make([]ResourceQuota, yyrl4875) } } else { - yyv4805 = make([]ResourceQuota, yyrl4805) + yyv4875 = make([]ResourceQuota, yyrl4875) } - yyc4805 = true - yyrr4805 = len(yyv4805) - if yyrg4805 { - copy(yyv4805, yyv24805) + yyc4875 = true + yyrr4875 = len(yyv4875) + if yyrg4875 { + copy(yyv4875, yyv24875) } - } else if yyl4805 != len(yyv4805) { - yyv4805 = yyv4805[:yyl4805] - yyc4805 = true + } else if yyl4875 != len(yyv4875) { + yyv4875 = yyv4875[:yyl4875] + yyc4875 = true } - yyj4805 := 0 - for ; yyj4805 < yyrr4805; yyj4805++ { - yyh4805.ElemContainerState(yyj4805) + yyj4875 := 0 + for ; yyj4875 < yyrr4875; yyj4875++ { + yyh4875.ElemContainerState(yyj4875) if r.TryDecodeAsNil() { - yyv4805[yyj4805] = ResourceQuota{} + yyv4875[yyj4875] = ResourceQuota{} } else { - yyv4806 := &yyv4805[yyj4805] - yyv4806.CodecDecodeSelf(d) + yyv4876 := &yyv4875[yyj4875] + yyv4876.CodecDecodeSelf(d) } } - if yyrt4805 { - for ; yyj4805 < yyl4805; yyj4805++ { - yyv4805 = append(yyv4805, ResourceQuota{}) - yyh4805.ElemContainerState(yyj4805) + if yyrt4875 { + for ; yyj4875 < yyl4875; yyj4875++ { + yyv4875 = append(yyv4875, ResourceQuota{}) + yyh4875.ElemContainerState(yyj4875) if r.TryDecodeAsNil() { - yyv4805[yyj4805] = ResourceQuota{} + yyv4875[yyj4875] = ResourceQuota{} } else { - yyv4807 := &yyv4805[yyj4805] - yyv4807.CodecDecodeSelf(d) + yyv4877 := &yyv4875[yyj4875] + yyv4877.CodecDecodeSelf(d) } } } } else { - yyj4805 := 0 - for ; !r.CheckBreak(); yyj4805++ { + yyj4875 := 0 + for ; !r.CheckBreak(); yyj4875++ { - if yyj4805 >= len(yyv4805) { - yyv4805 = append(yyv4805, ResourceQuota{}) // var yyz4805 ResourceQuota - yyc4805 = true + if yyj4875 >= len(yyv4875) { + yyv4875 = append(yyv4875, ResourceQuota{}) // var yyz4875 ResourceQuota + yyc4875 = true } - yyh4805.ElemContainerState(yyj4805) - if yyj4805 < len(yyv4805) { + yyh4875.ElemContainerState(yyj4875) + if yyj4875 < len(yyv4875) { if r.TryDecodeAsNil() { - yyv4805[yyj4805] = ResourceQuota{} + yyv4875[yyj4875] = ResourceQuota{} } else { - yyv4808 := &yyv4805[yyj4805] - yyv4808.CodecDecodeSelf(d) + yyv4878 := &yyv4875[yyj4875] + yyv4878.CodecDecodeSelf(d) } } else { @@ -61771,17 +62575,17 @@ func (x codecSelfer1234) decSliceResourceQuota(v *[]ResourceQuota, d *codec1978. } } - if yyj4805 < len(yyv4805) { - yyv4805 = yyv4805[:yyj4805] - yyc4805 = true - } else if yyj4805 == 0 && yyv4805 == nil { - yyv4805 = []ResourceQuota{} - yyc4805 = true + if yyj4875 < len(yyv4875) { + yyv4875 = yyv4875[:yyj4875] + yyc4875 = true + } else if yyj4875 == 0 && yyv4875 == nil { + yyv4875 = []ResourceQuota{} + yyc4875 = true } } - yyh4805.End() - if yyc4805 { - *v = yyv4805 + yyh4875.End() + if yyc4875 { + *v = yyv4875 } } @@ -61790,23 +62594,23 @@ func (x codecSelfer1234) encMapstringSliceuint8(v map[string][]uint8, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeMapStart(len(v)) - for yyk4809, yyv4809 := range v { + for yyk4879, yyv4879 := range v { z.EncSendContainerState(codecSelfer_containerMapKey1234) - yym4810 := z.EncBinary() - _ = yym4810 + yym4880 := z.EncBinary() + _ = yym4880 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyk4809)) + r.EncodeString(codecSelferC_UTF81234, string(yyk4879)) } z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyv4809 == nil { + if yyv4879 == nil { r.EncodeNil() } else { - yym4811 := z.EncBinary() - _ = yym4811 + yym4881 := z.EncBinary() + _ = yym4881 if false { } else { - r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4809)) + r.EncodeStringBytes(codecSelferC_RAW1234, []byte(yyv4879)) } } } @@ -61818,80 +62622,80 @@ func (x codecSelfer1234) decMapstringSliceuint8(v *map[string][]uint8, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4812 := *v - yyl4812 := r.ReadMapStart() - yybh4812 := z.DecBasicHandle() - if yyv4812 == nil { - yyrl4812, _ := z.DecInferLen(yyl4812, yybh4812.MaxInitLen, 40) - yyv4812 = make(map[string][]uint8, yyrl4812) - *v = yyv4812 + 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 } - var yymk4812 string - var yymv4812 []uint8 - var yymg4812 bool - if yybh4812.MapValueReset { - yymg4812 = true + var yymk4882 string + var yymv4882 []uint8 + var yymg4882 bool + if yybh4882.MapValueReset { + yymg4882 = true } - if yyl4812 > 0 { - for yyj4812 := 0; yyj4812 < yyl4812; yyj4812++ { + if yyl4882 > 0 { + for yyj4882 := 0; yyj4882 < yyl4882; yyj4882++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4812 = "" + yymk4882 = "" } else { - yymk4812 = string(r.DecodeString()) + yymk4882 = string(r.DecodeString()) } - if yymg4812 { - yymv4812 = yyv4812[yymk4812] + if yymg4882 { + yymv4882 = yyv4882[yymk4882] } else { - yymv4812 = nil + yymv4882 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4812 = nil + yymv4882 = nil } else { - yyv4814 := &yymv4812 - yym4815 := z.DecBinary() - _ = yym4815 + yyv4884 := &yymv4882 + yym4885 := z.DecBinary() + _ = yym4885 if false { } else { - *yyv4814 = r.DecodeBytes(*(*[]byte)(yyv4814), false, false) + *yyv4884 = r.DecodeBytes(*(*[]byte)(yyv4884), false, false) } } - if yyv4812 != nil { - yyv4812[yymk4812] = yymv4812 + if yyv4882 != nil { + yyv4882[yymk4882] = yymv4882 } } - } else if yyl4812 < 0 { - for yyj4812 := 0; !r.CheckBreak(); yyj4812++ { + } else if yyl4882 < 0 { + for yyj4882 := 0; !r.CheckBreak(); yyj4882++ { z.DecSendContainerState(codecSelfer_containerMapKey1234) if r.TryDecodeAsNil() { - yymk4812 = "" + yymk4882 = "" } else { - yymk4812 = string(r.DecodeString()) + yymk4882 = string(r.DecodeString()) } - if yymg4812 { - yymv4812 = yyv4812[yymk4812] + if yymg4882 { + yymv4882 = yyv4882[yymk4882] } else { - yymv4812 = nil + yymv4882 = nil } z.DecSendContainerState(codecSelfer_containerMapValue1234) if r.TryDecodeAsNil() { - yymv4812 = nil + yymv4882 = nil } else { - yyv4817 := &yymv4812 - yym4818 := z.DecBinary() - _ = yym4818 + yyv4887 := &yymv4882 + yym4888 := z.DecBinary() + _ = yym4888 if false { } else { - *yyv4817 = r.DecodeBytes(*(*[]byte)(yyv4817), false, false) + *yyv4887 = r.DecodeBytes(*(*[]byte)(yyv4887), false, false) } } - if yyv4812 != nil { - yyv4812[yymk4812] = yymv4812 + if yyv4882 != nil { + yyv4882[yymk4882] = yymv4882 } } } // else len==0: TODO: Should we clear map entries? @@ -61903,10 +62707,10 @@ func (x codecSelfer1234) encSliceSecret(v []Secret, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4819 := range v { + for _, yyv4889 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4820 := &yyv4819 - yy4820.CodecEncodeSelf(e) + yy4890 := &yyv4889 + yy4890.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -61916,83 +62720,83 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4821 := *v - yyh4821, yyl4821 := z.DecSliceHelperStart() - var yyc4821 bool - if yyl4821 == 0 { - if yyv4821 == nil { - yyv4821 = []Secret{} - yyc4821 = true - } else if len(yyv4821) != 0 { - yyv4821 = yyv4821[:0] - yyc4821 = true + 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 } - } else if yyl4821 > 0 { - var yyrr4821, yyrl4821 int - var yyrt4821 bool - if yyl4821 > cap(yyv4821) { + } else if yyl4891 > 0 { + var yyrr4891, yyrl4891 int + var yyrt4891 bool + if yyl4891 > cap(yyv4891) { - yyrg4821 := len(yyv4821) > 0 - yyv24821 := yyv4821 - yyrl4821, yyrt4821 = z.DecInferLen(yyl4821, z.DecBasicHandle().MaxInitLen, 288) - if yyrt4821 { - if yyrl4821 <= cap(yyv4821) { - yyv4821 = yyv4821[:yyrl4821] + yyrg4891 := len(yyv4891) > 0 + yyv24891 := yyv4891 + yyrl4891, yyrt4891 = z.DecInferLen(yyl4891, z.DecBasicHandle().MaxInitLen, 288) + if yyrt4891 { + if yyrl4891 <= cap(yyv4891) { + yyv4891 = yyv4891[:yyrl4891] } else { - yyv4821 = make([]Secret, yyrl4821) + yyv4891 = make([]Secret, yyrl4891) } } else { - yyv4821 = make([]Secret, yyrl4821) + yyv4891 = make([]Secret, yyrl4891) } - yyc4821 = true - yyrr4821 = len(yyv4821) - if yyrg4821 { - copy(yyv4821, yyv24821) + yyc4891 = true + yyrr4891 = len(yyv4891) + if yyrg4891 { + copy(yyv4891, yyv24891) } - } else if yyl4821 != len(yyv4821) { - yyv4821 = yyv4821[:yyl4821] - yyc4821 = true + } else if yyl4891 != len(yyv4891) { + yyv4891 = yyv4891[:yyl4891] + yyc4891 = true } - yyj4821 := 0 - for ; yyj4821 < yyrr4821; yyj4821++ { - yyh4821.ElemContainerState(yyj4821) + yyj4891 := 0 + for ; yyj4891 < yyrr4891; yyj4891++ { + yyh4891.ElemContainerState(yyj4891) if r.TryDecodeAsNil() { - yyv4821[yyj4821] = Secret{} + yyv4891[yyj4891] = Secret{} } else { - yyv4822 := &yyv4821[yyj4821] - yyv4822.CodecDecodeSelf(d) + yyv4892 := &yyv4891[yyj4891] + yyv4892.CodecDecodeSelf(d) } } - if yyrt4821 { - for ; yyj4821 < yyl4821; yyj4821++ { - yyv4821 = append(yyv4821, Secret{}) - yyh4821.ElemContainerState(yyj4821) + if yyrt4891 { + for ; yyj4891 < yyl4891; yyj4891++ { + yyv4891 = append(yyv4891, Secret{}) + yyh4891.ElemContainerState(yyj4891) if r.TryDecodeAsNil() { - yyv4821[yyj4821] = Secret{} + yyv4891[yyj4891] = Secret{} } else { - yyv4823 := &yyv4821[yyj4821] - yyv4823.CodecDecodeSelf(d) + yyv4893 := &yyv4891[yyj4891] + yyv4893.CodecDecodeSelf(d) } } } } else { - yyj4821 := 0 - for ; !r.CheckBreak(); yyj4821++ { + yyj4891 := 0 + for ; !r.CheckBreak(); yyj4891++ { - if yyj4821 >= len(yyv4821) { - yyv4821 = append(yyv4821, Secret{}) // var yyz4821 Secret - yyc4821 = true + if yyj4891 >= len(yyv4891) { + yyv4891 = append(yyv4891, Secret{}) // var yyz4891 Secret + yyc4891 = true } - yyh4821.ElemContainerState(yyj4821) - if yyj4821 < len(yyv4821) { + yyh4891.ElemContainerState(yyj4891) + if yyj4891 < len(yyv4891) { if r.TryDecodeAsNil() { - yyv4821[yyj4821] = Secret{} + yyv4891[yyj4891] = Secret{} } else { - yyv4824 := &yyv4821[yyj4821] - yyv4824.CodecDecodeSelf(d) + yyv4894 := &yyv4891[yyj4891] + yyv4894.CodecDecodeSelf(d) } } else { @@ -62000,17 +62804,17 @@ func (x codecSelfer1234) decSliceSecret(v *[]Secret, d *codec1978.Decoder) { } } - if yyj4821 < len(yyv4821) { - yyv4821 = yyv4821[:yyj4821] - yyc4821 = true - } else if yyj4821 == 0 && yyv4821 == nil { - yyv4821 = []Secret{} - yyc4821 = true + if yyj4891 < len(yyv4891) { + yyv4891 = yyv4891[:yyj4891] + yyc4891 = true + } else if yyj4891 == 0 && yyv4891 == nil { + yyv4891 = []Secret{} + yyc4891 = true } } - yyh4821.End() - if yyc4821 { - *v = yyv4821 + yyh4891.End() + if yyc4891 { + *v = yyv4891 } } @@ -62019,10 +62823,10 @@ func (x codecSelfer1234) encSliceConfigMap(v []ConfigMap, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4825 := range v { + for _, yyv4895 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4826 := &yyv4825 - yy4826.CodecEncodeSelf(e) + yy4896 := &yyv4895 + yy4896.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62032,83 +62836,83 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4827 := *v - yyh4827, yyl4827 := z.DecSliceHelperStart() - var yyc4827 bool - if yyl4827 == 0 { - if yyv4827 == nil { - yyv4827 = []ConfigMap{} - yyc4827 = true - } else if len(yyv4827) != 0 { - yyv4827 = yyv4827[:0] - yyc4827 = true + 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 } - } else if yyl4827 > 0 { - var yyrr4827, yyrl4827 int - var yyrt4827 bool - if yyl4827 > cap(yyv4827) { + } else if yyl4897 > 0 { + var yyrr4897, yyrl4897 int + var yyrt4897 bool + if yyl4897 > cap(yyv4897) { - yyrg4827 := len(yyv4827) > 0 - yyv24827 := yyv4827 - yyrl4827, yyrt4827 = z.DecInferLen(yyl4827, z.DecBasicHandle().MaxInitLen, 264) - if yyrt4827 { - if yyrl4827 <= cap(yyv4827) { - yyv4827 = yyv4827[:yyrl4827] + yyrg4897 := len(yyv4897) > 0 + yyv24897 := yyv4897 + yyrl4897, yyrt4897 = z.DecInferLen(yyl4897, z.DecBasicHandle().MaxInitLen, 264) + if yyrt4897 { + if yyrl4897 <= cap(yyv4897) { + yyv4897 = yyv4897[:yyrl4897] } else { - yyv4827 = make([]ConfigMap, yyrl4827) + yyv4897 = make([]ConfigMap, yyrl4897) } } else { - yyv4827 = make([]ConfigMap, yyrl4827) + yyv4897 = make([]ConfigMap, yyrl4897) } - yyc4827 = true - yyrr4827 = len(yyv4827) - if yyrg4827 { - copy(yyv4827, yyv24827) + yyc4897 = true + yyrr4897 = len(yyv4897) + if yyrg4897 { + copy(yyv4897, yyv24897) } - } else if yyl4827 != len(yyv4827) { - yyv4827 = yyv4827[:yyl4827] - yyc4827 = true + } else if yyl4897 != len(yyv4897) { + yyv4897 = yyv4897[:yyl4897] + yyc4897 = true } - yyj4827 := 0 - for ; yyj4827 < yyrr4827; yyj4827++ { - yyh4827.ElemContainerState(yyj4827) + yyj4897 := 0 + for ; yyj4897 < yyrr4897; yyj4897++ { + yyh4897.ElemContainerState(yyj4897) if r.TryDecodeAsNil() { - yyv4827[yyj4827] = ConfigMap{} + yyv4897[yyj4897] = ConfigMap{} } else { - yyv4828 := &yyv4827[yyj4827] - yyv4828.CodecDecodeSelf(d) + yyv4898 := &yyv4897[yyj4897] + yyv4898.CodecDecodeSelf(d) } } - if yyrt4827 { - for ; yyj4827 < yyl4827; yyj4827++ { - yyv4827 = append(yyv4827, ConfigMap{}) - yyh4827.ElemContainerState(yyj4827) + if yyrt4897 { + for ; yyj4897 < yyl4897; yyj4897++ { + yyv4897 = append(yyv4897, ConfigMap{}) + yyh4897.ElemContainerState(yyj4897) if r.TryDecodeAsNil() { - yyv4827[yyj4827] = ConfigMap{} + yyv4897[yyj4897] = ConfigMap{} } else { - yyv4829 := &yyv4827[yyj4827] - yyv4829.CodecDecodeSelf(d) + yyv4899 := &yyv4897[yyj4897] + yyv4899.CodecDecodeSelf(d) } } } } else { - yyj4827 := 0 - for ; !r.CheckBreak(); yyj4827++ { + yyj4897 := 0 + for ; !r.CheckBreak(); yyj4897++ { - if yyj4827 >= len(yyv4827) { - yyv4827 = append(yyv4827, ConfigMap{}) // var yyz4827 ConfigMap - yyc4827 = true + if yyj4897 >= len(yyv4897) { + yyv4897 = append(yyv4897, ConfigMap{}) // var yyz4897 ConfigMap + yyc4897 = true } - yyh4827.ElemContainerState(yyj4827) - if yyj4827 < len(yyv4827) { + yyh4897.ElemContainerState(yyj4897) + if yyj4897 < len(yyv4897) { if r.TryDecodeAsNil() { - yyv4827[yyj4827] = ConfigMap{} + yyv4897[yyj4897] = ConfigMap{} } else { - yyv4830 := &yyv4827[yyj4827] - yyv4830.CodecDecodeSelf(d) + yyv4900 := &yyv4897[yyj4897] + yyv4900.CodecDecodeSelf(d) } } else { @@ -62116,17 +62920,17 @@ func (x codecSelfer1234) decSliceConfigMap(v *[]ConfigMap, d *codec1978.Decoder) } } - if yyj4827 < len(yyv4827) { - yyv4827 = yyv4827[:yyj4827] - yyc4827 = true - } else if yyj4827 == 0 && yyv4827 == nil { - yyv4827 = []ConfigMap{} - yyc4827 = true + if yyj4897 < len(yyv4897) { + yyv4897 = yyv4897[:yyj4897] + yyc4897 = true + } else if yyj4897 == 0 && yyv4897 == nil { + yyv4897 = []ConfigMap{} + yyc4897 = true } } - yyh4827.End() - if yyc4827 { - *v = yyv4827 + yyh4897.End() + if yyc4897 { + *v = yyv4897 } } @@ -62135,10 +62939,10 @@ func (x codecSelfer1234) encSliceComponentCondition(v []ComponentCondition, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4831 := range v { + for _, yyv4901 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4832 := &yyv4831 - yy4832.CodecEncodeSelf(e) + yy4902 := &yyv4901 + yy4902.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62148,83 +62952,83 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4833 := *v - yyh4833, yyl4833 := z.DecSliceHelperStart() - var yyc4833 bool - if yyl4833 == 0 { - if yyv4833 == nil { - yyv4833 = []ComponentCondition{} - yyc4833 = true - } else if len(yyv4833) != 0 { - yyv4833 = yyv4833[:0] - yyc4833 = true + 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 } - } else if yyl4833 > 0 { - var yyrr4833, yyrl4833 int - var yyrt4833 bool - if yyl4833 > cap(yyv4833) { + } else if yyl4903 > 0 { + var yyrr4903, yyrl4903 int + var yyrt4903 bool + if yyl4903 > cap(yyv4903) { - yyrg4833 := len(yyv4833) > 0 - yyv24833 := yyv4833 - yyrl4833, yyrt4833 = z.DecInferLen(yyl4833, z.DecBasicHandle().MaxInitLen, 64) - if yyrt4833 { - if yyrl4833 <= cap(yyv4833) { - yyv4833 = yyv4833[:yyrl4833] + yyrg4903 := len(yyv4903) > 0 + yyv24903 := yyv4903 + yyrl4903, yyrt4903 = z.DecInferLen(yyl4903, z.DecBasicHandle().MaxInitLen, 64) + if yyrt4903 { + if yyrl4903 <= cap(yyv4903) { + yyv4903 = yyv4903[:yyrl4903] } else { - yyv4833 = make([]ComponentCondition, yyrl4833) + yyv4903 = make([]ComponentCondition, yyrl4903) } } else { - yyv4833 = make([]ComponentCondition, yyrl4833) + yyv4903 = make([]ComponentCondition, yyrl4903) } - yyc4833 = true - yyrr4833 = len(yyv4833) - if yyrg4833 { - copy(yyv4833, yyv24833) + yyc4903 = true + yyrr4903 = len(yyv4903) + if yyrg4903 { + copy(yyv4903, yyv24903) } - } else if yyl4833 != len(yyv4833) { - yyv4833 = yyv4833[:yyl4833] - yyc4833 = true + } else if yyl4903 != len(yyv4903) { + yyv4903 = yyv4903[:yyl4903] + yyc4903 = true } - yyj4833 := 0 - for ; yyj4833 < yyrr4833; yyj4833++ { - yyh4833.ElemContainerState(yyj4833) + yyj4903 := 0 + for ; yyj4903 < yyrr4903; yyj4903++ { + yyh4903.ElemContainerState(yyj4903) if r.TryDecodeAsNil() { - yyv4833[yyj4833] = ComponentCondition{} + yyv4903[yyj4903] = ComponentCondition{} } else { - yyv4834 := &yyv4833[yyj4833] - yyv4834.CodecDecodeSelf(d) + yyv4904 := &yyv4903[yyj4903] + yyv4904.CodecDecodeSelf(d) } } - if yyrt4833 { - for ; yyj4833 < yyl4833; yyj4833++ { - yyv4833 = append(yyv4833, ComponentCondition{}) - yyh4833.ElemContainerState(yyj4833) + if yyrt4903 { + for ; yyj4903 < yyl4903; yyj4903++ { + yyv4903 = append(yyv4903, ComponentCondition{}) + yyh4903.ElemContainerState(yyj4903) if r.TryDecodeAsNil() { - yyv4833[yyj4833] = ComponentCondition{} + yyv4903[yyj4903] = ComponentCondition{} } else { - yyv4835 := &yyv4833[yyj4833] - yyv4835.CodecDecodeSelf(d) + yyv4905 := &yyv4903[yyj4903] + yyv4905.CodecDecodeSelf(d) } } } } else { - yyj4833 := 0 - for ; !r.CheckBreak(); yyj4833++ { + yyj4903 := 0 + for ; !r.CheckBreak(); yyj4903++ { - if yyj4833 >= len(yyv4833) { - yyv4833 = append(yyv4833, ComponentCondition{}) // var yyz4833 ComponentCondition - yyc4833 = true + if yyj4903 >= len(yyv4903) { + yyv4903 = append(yyv4903, ComponentCondition{}) // var yyz4903 ComponentCondition + yyc4903 = true } - yyh4833.ElemContainerState(yyj4833) - if yyj4833 < len(yyv4833) { + yyh4903.ElemContainerState(yyj4903) + if yyj4903 < len(yyv4903) { if r.TryDecodeAsNil() { - yyv4833[yyj4833] = ComponentCondition{} + yyv4903[yyj4903] = ComponentCondition{} } else { - yyv4836 := &yyv4833[yyj4833] - yyv4836.CodecDecodeSelf(d) + yyv4906 := &yyv4903[yyj4903] + yyv4906.CodecDecodeSelf(d) } } else { @@ -62232,17 +63036,17 @@ func (x codecSelfer1234) decSliceComponentCondition(v *[]ComponentCondition, d * } } - if yyj4833 < len(yyv4833) { - yyv4833 = yyv4833[:yyj4833] - yyc4833 = true - } else if yyj4833 == 0 && yyv4833 == nil { - yyv4833 = []ComponentCondition{} - yyc4833 = true + if yyj4903 < len(yyv4903) { + yyv4903 = yyv4903[:yyj4903] + yyc4903 = true + } else if yyj4903 == 0 && yyv4903 == nil { + yyv4903 = []ComponentCondition{} + yyc4903 = true } } - yyh4833.End() - if yyc4833 { - *v = yyv4833 + yyh4903.End() + if yyc4903 { + *v = yyv4903 } } @@ -62251,10 +63055,10 @@ func (x codecSelfer1234) encSliceComponentStatus(v []ComponentStatus, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4837 := range v { + for _, yyv4907 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4838 := &yyv4837 - yy4838.CodecEncodeSelf(e) + yy4908 := &yyv4907 + yy4908.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62264,83 +63068,83 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4839 := *v - yyh4839, yyl4839 := z.DecSliceHelperStart() - var yyc4839 bool - if yyl4839 == 0 { - if yyv4839 == nil { - yyv4839 = []ComponentStatus{} - yyc4839 = true - } else if len(yyv4839) != 0 { - yyv4839 = yyv4839[:0] - yyc4839 = true + 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 } - } else if yyl4839 > 0 { - var yyrr4839, yyrl4839 int - var yyrt4839 bool - if yyl4839 > cap(yyv4839) { + } else if yyl4909 > 0 { + var yyrr4909, yyrl4909 int + var yyrt4909 bool + if yyl4909 > cap(yyv4909) { - yyrg4839 := len(yyv4839) > 0 - yyv24839 := yyv4839 - yyrl4839, yyrt4839 = z.DecInferLen(yyl4839, z.DecBasicHandle().MaxInitLen, 280) - if yyrt4839 { - if yyrl4839 <= cap(yyv4839) { - yyv4839 = yyv4839[:yyrl4839] + yyrg4909 := len(yyv4909) > 0 + yyv24909 := yyv4909 + yyrl4909, yyrt4909 = z.DecInferLen(yyl4909, z.DecBasicHandle().MaxInitLen, 280) + if yyrt4909 { + if yyrl4909 <= cap(yyv4909) { + yyv4909 = yyv4909[:yyrl4909] } else { - yyv4839 = make([]ComponentStatus, yyrl4839) + yyv4909 = make([]ComponentStatus, yyrl4909) } } else { - yyv4839 = make([]ComponentStatus, yyrl4839) + yyv4909 = make([]ComponentStatus, yyrl4909) } - yyc4839 = true - yyrr4839 = len(yyv4839) - if yyrg4839 { - copy(yyv4839, yyv24839) + yyc4909 = true + yyrr4909 = len(yyv4909) + if yyrg4909 { + copy(yyv4909, yyv24909) } - } else if yyl4839 != len(yyv4839) { - yyv4839 = yyv4839[:yyl4839] - yyc4839 = true + } else if yyl4909 != len(yyv4909) { + yyv4909 = yyv4909[:yyl4909] + yyc4909 = true } - yyj4839 := 0 - for ; yyj4839 < yyrr4839; yyj4839++ { - yyh4839.ElemContainerState(yyj4839) + yyj4909 := 0 + for ; yyj4909 < yyrr4909; yyj4909++ { + yyh4909.ElemContainerState(yyj4909) if r.TryDecodeAsNil() { - yyv4839[yyj4839] = ComponentStatus{} + yyv4909[yyj4909] = ComponentStatus{} } else { - yyv4840 := &yyv4839[yyj4839] - yyv4840.CodecDecodeSelf(d) + yyv4910 := &yyv4909[yyj4909] + yyv4910.CodecDecodeSelf(d) } } - if yyrt4839 { - for ; yyj4839 < yyl4839; yyj4839++ { - yyv4839 = append(yyv4839, ComponentStatus{}) - yyh4839.ElemContainerState(yyj4839) + if yyrt4909 { + for ; yyj4909 < yyl4909; yyj4909++ { + yyv4909 = append(yyv4909, ComponentStatus{}) + yyh4909.ElemContainerState(yyj4909) if r.TryDecodeAsNil() { - yyv4839[yyj4839] = ComponentStatus{} + yyv4909[yyj4909] = ComponentStatus{} } else { - yyv4841 := &yyv4839[yyj4839] - yyv4841.CodecDecodeSelf(d) + yyv4911 := &yyv4909[yyj4909] + yyv4911.CodecDecodeSelf(d) } } } } else { - yyj4839 := 0 - for ; !r.CheckBreak(); yyj4839++ { + yyj4909 := 0 + for ; !r.CheckBreak(); yyj4909++ { - if yyj4839 >= len(yyv4839) { - yyv4839 = append(yyv4839, ComponentStatus{}) // var yyz4839 ComponentStatus - yyc4839 = true + if yyj4909 >= len(yyv4909) { + yyv4909 = append(yyv4909, ComponentStatus{}) // var yyz4909 ComponentStatus + yyc4909 = true } - yyh4839.ElemContainerState(yyj4839) - if yyj4839 < len(yyv4839) { + yyh4909.ElemContainerState(yyj4909) + if yyj4909 < len(yyv4909) { if r.TryDecodeAsNil() { - yyv4839[yyj4839] = ComponentStatus{} + yyv4909[yyj4909] = ComponentStatus{} } else { - yyv4842 := &yyv4839[yyj4839] - yyv4842.CodecDecodeSelf(d) + yyv4912 := &yyv4909[yyj4909] + yyv4912.CodecDecodeSelf(d) } } else { @@ -62348,17 +63152,17 @@ func (x codecSelfer1234) decSliceComponentStatus(v *[]ComponentStatus, d *codec1 } } - if yyj4839 < len(yyv4839) { - yyv4839 = yyv4839[:yyj4839] - yyc4839 = true - } else if yyj4839 == 0 && yyv4839 == nil { - yyv4839 = []ComponentStatus{} - yyc4839 = true + if yyj4909 < len(yyv4909) { + yyv4909 = yyv4909[:yyj4909] + yyc4909 = true + } else if yyj4909 == 0 && yyv4909 == nil { + yyv4909 = []ComponentStatus{} + yyc4909 = true } } - yyh4839.End() - if yyc4839 { - *v = yyv4839 + yyh4909.End() + if yyc4909 { + *v = yyv4909 } } @@ -62367,10 +63171,10 @@ func (x codecSelfer1234) encSliceDownwardAPIVolumeFile(v []DownwardAPIVolumeFile z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv4843 := range v { + for _, yyv4913 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy4844 := &yyv4843 - yy4844.CodecEncodeSelf(e) + yy4914 := &yyv4913 + yy4914.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -62380,83 +63184,83 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv4845 := *v - yyh4845, yyl4845 := z.DecSliceHelperStart() - var yyc4845 bool - if yyl4845 == 0 { - if yyv4845 == nil { - yyv4845 = []DownwardAPIVolumeFile{} - yyc4845 = true - } else if len(yyv4845) != 0 { - yyv4845 = yyv4845[:0] - yyc4845 = true + 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 } - } else if yyl4845 > 0 { - var yyrr4845, yyrl4845 int - var yyrt4845 bool - if yyl4845 > cap(yyv4845) { + } else if yyl4915 > 0 { + var yyrr4915, yyrl4915 int + var yyrt4915 bool + if yyl4915 > cap(yyv4915) { - yyrg4845 := len(yyv4845) > 0 - yyv24845 := yyv4845 - yyrl4845, yyrt4845 = z.DecInferLen(yyl4845, z.DecBasicHandle().MaxInitLen, 40) - if yyrt4845 { - if yyrl4845 <= cap(yyv4845) { - yyv4845 = yyv4845[:yyrl4845] + yyrg4915 := len(yyv4915) > 0 + yyv24915 := yyv4915 + yyrl4915, yyrt4915 = z.DecInferLen(yyl4915, z.DecBasicHandle().MaxInitLen, 40) + if yyrt4915 { + if yyrl4915 <= cap(yyv4915) { + yyv4915 = yyv4915[:yyrl4915] } else { - yyv4845 = make([]DownwardAPIVolumeFile, yyrl4845) + yyv4915 = make([]DownwardAPIVolumeFile, yyrl4915) } } else { - yyv4845 = make([]DownwardAPIVolumeFile, yyrl4845) + yyv4915 = make([]DownwardAPIVolumeFile, yyrl4915) } - yyc4845 = true - yyrr4845 = len(yyv4845) - if yyrg4845 { - copy(yyv4845, yyv24845) + yyc4915 = true + yyrr4915 = len(yyv4915) + if yyrg4915 { + copy(yyv4915, yyv24915) } - } else if yyl4845 != len(yyv4845) { - yyv4845 = yyv4845[:yyl4845] - yyc4845 = true + } else if yyl4915 != len(yyv4915) { + yyv4915 = yyv4915[:yyl4915] + yyc4915 = true } - yyj4845 := 0 - for ; yyj4845 < yyrr4845; yyj4845++ { - yyh4845.ElemContainerState(yyj4845) + yyj4915 := 0 + for ; yyj4915 < yyrr4915; yyj4915++ { + yyh4915.ElemContainerState(yyj4915) if r.TryDecodeAsNil() { - yyv4845[yyj4845] = DownwardAPIVolumeFile{} + yyv4915[yyj4915] = DownwardAPIVolumeFile{} } else { - yyv4846 := &yyv4845[yyj4845] - yyv4846.CodecDecodeSelf(d) + yyv4916 := &yyv4915[yyj4915] + yyv4916.CodecDecodeSelf(d) } } - if yyrt4845 { - for ; yyj4845 < yyl4845; yyj4845++ { - yyv4845 = append(yyv4845, DownwardAPIVolumeFile{}) - yyh4845.ElemContainerState(yyj4845) + if yyrt4915 { + for ; yyj4915 < yyl4915; yyj4915++ { + yyv4915 = append(yyv4915, DownwardAPIVolumeFile{}) + yyh4915.ElemContainerState(yyj4915) if r.TryDecodeAsNil() { - yyv4845[yyj4845] = DownwardAPIVolumeFile{} + yyv4915[yyj4915] = DownwardAPIVolumeFile{} } else { - yyv4847 := &yyv4845[yyj4845] - yyv4847.CodecDecodeSelf(d) + yyv4917 := &yyv4915[yyj4915] + yyv4917.CodecDecodeSelf(d) } } } } else { - yyj4845 := 0 - for ; !r.CheckBreak(); yyj4845++ { + yyj4915 := 0 + for ; !r.CheckBreak(); yyj4915++ { - if yyj4845 >= len(yyv4845) { - yyv4845 = append(yyv4845, DownwardAPIVolumeFile{}) // var yyz4845 DownwardAPIVolumeFile - yyc4845 = true + if yyj4915 >= len(yyv4915) { + yyv4915 = append(yyv4915, DownwardAPIVolumeFile{}) // var yyz4915 DownwardAPIVolumeFile + yyc4915 = true } - yyh4845.ElemContainerState(yyj4845) - if yyj4845 < len(yyv4845) { + yyh4915.ElemContainerState(yyj4915) + if yyj4915 < len(yyv4915) { if r.TryDecodeAsNil() { - yyv4845[yyj4845] = DownwardAPIVolumeFile{} + yyv4915[yyj4915] = DownwardAPIVolumeFile{} } else { - yyv4848 := &yyv4845[yyj4845] - yyv4848.CodecDecodeSelf(d) + yyv4918 := &yyv4915[yyj4915] + yyv4918.CodecDecodeSelf(d) } } else { @@ -62464,16 +63268,16 @@ func (x codecSelfer1234) decSliceDownwardAPIVolumeFile(v *[]DownwardAPIVolumeFil } } - if yyj4845 < len(yyv4845) { - yyv4845 = yyv4845[:yyj4845] - yyc4845 = true - } else if yyj4845 == 0 && yyv4845 == nil { - yyv4845 = []DownwardAPIVolumeFile{} - yyc4845 = true + if yyj4915 < len(yyv4915) { + yyv4915 = yyv4915[:yyj4915] + yyc4915 = true + } else if yyj4915 == 0 && yyv4915 == nil { + yyv4915 = []DownwardAPIVolumeFile{} + yyc4915 = true } } - yyh4845.End() - if yyc4845 { - *v = yyv4845 + yyh4915.End() + if yyc4915 { + *v = yyv4915 } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/types.go b/staging/src/k8s.io/client-go/pkg/api/v1/types.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/types.go rename to staging/src/k8s.io/client-go/pkg/api/v1/types.go index 94d8c56f362..a05f6616127 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/types.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/types.go @@ -17,11 +17,11 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/types" - "k8s.io/client-go/1.5/pkg/util/intstr" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/types" + "k8s.io/client-go/pkg/util/intstr" ) // The comments for the structs and fields can be used from go-restful to @@ -71,7 +71,7 @@ type ObjectMeta struct { // automatically. Name is primarily intended for creation idempotence and configuration // definition. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` // GenerateName is an optional prefix, used by the server, to generate a unique @@ -98,7 +98,7 @@ type ObjectMeta struct { // // Must be a DNS_LABEL. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md + // More info: http://kubernetes.io/docs/user-guide/namespaces Namespace string `json:"namespace,omitempty" protobuf:"bytes,3,opt,name=namespace"` // SelfLink is a URL representing this object. @@ -112,7 +112,7 @@ type ObjectMeta struct { // // Populated by the system. // Read-only. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // More info: http://kubernetes.io/docs/user-guide/identifiers#uids 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 @@ -166,13 +166,13 @@ type ObjectMeta struct { // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md + // More info: http://kubernetes.io/docs/user-guide/labels 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://releases.k8s.io/HEAD/docs/user-guide/annotations.md + // More info: http://kubernetes.io/docs/user-guide/annotations 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 @@ -204,7 +204,7 @@ const ( type Volume struct { // Volume's name. // Must be a DNS_LABEL and unique within the pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // VolumeSource represents the location and type of the mounted volume. // If not specified, the Volume is implied to be an EmptyDir. @@ -219,29 +219,29 @@ type VolumeSource struct { // machine that is directly exposed to the container. This is generally // used for system agents or other privileged things that are allowed // to see the host machine. Most containers will NOT need this. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath + // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath // --- // TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not // mount host directories as read/write. 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir + // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore AWSElasticBlockStore *AWSElasticBlockStoreVolumeSource `json:"awsElasticBlockStore,omitempty" protobuf:"bytes,4,opt,name=awsElasticBlockStore"` // GitRepo represents a git repository at a particular revision. GitRepo *GitRepoVolumeSource `json:"gitRepo,omitempty" protobuf:"bytes,5,opt,name=gitRepo"` // Secret represents a secret that should populate this volume. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets + // More info: http://kubernetes.io/docs/user-guide/volumes#secrets 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs 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. @@ -252,7 +252,7 @@ type VolumeSource struct { 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims 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 @@ -290,7 +290,7 @@ type VolumeSource struct { // type of volume that is owned by someone else (the system). type PersistentVolumeClaimVolumeSource struct { // ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims ClaimName string `json:"claimName" protobuf:"bytes,1,opt,name=claimName"` // Will force the ReadOnly setting in VolumeMounts. // Default false. @@ -302,24 +302,24 @@ type PersistentVolumeClaimVolumeSource 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. Provisioned by an admin. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath + // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath 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 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs 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 @@ -355,7 +355,7 @@ type PersistentVolumeSource struct { // PersistentVolume (PV) is a storage resource provisioned by an administrator. // It is analogous to a node. -// More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md +// More info: http://kubernetes.io/docs/user-guide/persistent-volumes type PersistentVolume struct { unversioned.TypeMeta `json:",inline"` // Standard object's metadata. @@ -364,35 +364,35 @@ type PersistentVolume struct { // Spec defines a specification of a persistent volume owned by the cluster. // Provisioned by an administrator. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistent-volumes + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistent-volumes + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistent-volumes Status PersistentVolumeStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } // PersistentVolumeSpec is the specification of a persistent volume. type PersistentVolumeSpec struct { // A description of the persistent volume's resources and capacity. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#binding + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#binding 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#recycling-policy + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#recycling-policy PersistentVolumeReclaimPolicy PersistentVolumeReclaimPolicy `json:"persistentVolumeReclaimPolicy,omitempty" protobuf:"bytes,5,opt,name=persistentVolumeReclaimPolicy,casttype=PersistentVolumeReclaimPolicy"` } @@ -414,7 +414,7 @@ const ( // PersistentVolumeStatus is the current status of a persistent volume. type PersistentVolumeStatus struct { // Phase indicates if a volume is available, bound to a claim, or released by a claim. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#phase + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#phase 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. Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"` @@ -430,7 +430,7 @@ type PersistentVolumeList struct { // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of persistent volumes. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes Items []PersistentVolume `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -444,12 +444,12 @@ type PersistentVolumeClaim struct { 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims Status PersistentVolumeClaimStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` } @@ -460,7 +460,7 @@ type PersistentVolumeClaimList struct { // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // A list of persistent volume claims. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims Items []PersistentVolumeClaim `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -468,12 +468,12 @@ type PersistentVolumeClaimList struct { // and allows a Source for provider-specific attributes type PersistentVolumeClaimSpec struct { // AccessModes contains the desired access modes the volume should have. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes-1 + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,1,rep,name=accessModes,casttype=PersistentVolumeAccessMode"` // A label query over volumes to consider for binding. Selector *unversioned.LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // Resources represents the minimum resources the volume should have. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,2,opt,name=resources"` // VolumeName is the binding reference to the PersistentVolume backing this claim. VolumeName string `json:"volumeName,omitempty" protobuf:"bytes,3,opt,name=volumeName"` @@ -484,7 +484,7 @@ type PersistentVolumeClaimStatus struct { // Phase represents the current phase of PersistentVolumeClaim. 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes-1 + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1 AccessModes []PersistentVolumeAccessMode `json:"accessModes,omitempty" protobuf:"bytes,2,rep,name=accessModes,casttype=PersistentVolumeAccessMode"` // Represents the actual resources of the underlying volume. Capacity ResourceList `json:"capacity,omitempty" protobuf:"bytes,3,rep,name=capacity,casttype=ResourceList,castkey=ResourceName"` @@ -536,7 +536,7 @@ const ( // Host path volumes do not support ownership management or SELinux relabeling. type HostPathVolumeSource struct { // Path of the directory on the host. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath + // More info: http://kubernetes.io/docs/user-guide/volumes#hostpath Path string `json:"path" protobuf:"bytes,1,opt,name=path"` } @@ -546,7 +546,7 @@ type EmptyDirVolumeSource struct { // What type of storage medium should back this directory. // The default is "" which means to use the node's default medium. // Must be an empty string (default) or Memory. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir + // More info: http://kubernetes.io/docs/user-guide/volumes#emptydir Medium StorageMedium `json:"medium,omitempty" protobuf:"bytes,1,opt,name=medium,casttype=StorageMedium"` } @@ -579,7 +579,7 @@ type RBDVolumeSource struct { // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#rbd + // More info: http://kubernetes.io/docs/user-guide/volumes#rbd // TODO: how do we prevent errors in the filesystem from compromising the machine FSType string `json:"fsType,omitempty" protobuf:"bytes,3,opt,name=fsType"` // The rados pool name. @@ -648,10 +648,14 @@ type CephFSVolumeSource struct { } // Represents a Flocker volume mounted by the Flocker agent. +// One and only one of datasetName and datasetUUID should be set. // Flocker volumes do not support ownership management or SELinux relabeling. type FlockerVolumeSource struct { - // Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker - DatasetName string `json:"datasetName" protobuf:"bytes,1,opt,name=datasetName"` + // Name of the dataset stored as metadata -> name on the dataset for Flocker + // should be considered as deprecated + DatasetName string `json:"datasetName,omitempty" protobuf:"bytes,1,opt,name=datasetName"` + // UUID of the dataset. This is unique identifier of a Flocker dataset + DatasetUUID string `json:"datasetUUID,omitempty" protobuf:"bytes,2,opt,name=datasetUUID"` } // StorageMedium defines ways that storage can be allocated to a volume. @@ -680,23 +684,23 @@ const ( // PDs support ownership management and SELinux relabeling. type GCEPersistentDiskVolumeSource struct { // Unique name of the PD resource in GCE. Used to identify the disk in GCE. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk PDName string `json:"pdName" protobuf:"bytes,1,opt,name=pdName"` // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk // TODO: how do we prevent errors in the filesystem from compromising the machine 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk + // More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` } @@ -754,12 +758,12 @@ type FlexVolumeSource struct { // ownership management and SELinux relabeling. type AWSElasticBlockStoreVolumeSource struct { // Unique ID of the persistent disk resource in AWS (Amazon EBS volume). - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore VolumeID string `json:"volumeID" protobuf:"bytes,1,opt,name=volumeID"` // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore // TODO: how do we prevent errors in the filesystem from compromising the machine FSType string `json:"fsType,omitempty" protobuf:"bytes,2,opt,name=fsType"` // The partition in the volume that you want to mount. @@ -769,7 +773,7 @@ type AWSElasticBlockStoreVolumeSource struct { 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore + // More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,4,opt,name=readOnly"` } @@ -795,7 +799,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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets + // More info: http://kubernetes.io/docs/user-guide/volumes#secrets 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 @@ -821,17 +825,17 @@ const ( // NFS volumes do not support ownership management or SELinux relabeling. type NFSVolumeSource struct { // Server is the hostname or IP address of the NFS server. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs Server string `json:"server" protobuf:"bytes,1,opt,name=server"` // Path that is exported by the NFS server. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs Path string `json:"path" protobuf:"bytes,2,opt,name=path"` // ReadOnly here will force // the NFS export to be mounted with read-only permissions. // Defaults to false. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs + // More info: http://kubernetes.io/docs/user-guide/volumes#nfs ReadOnly bool `json:"readOnly,omitempty" protobuf:"varint,3,opt,name=readOnly"` } @@ -851,7 +855,7 @@ type ISCSIVolumeSource struct { // 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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#iscsi + // More info: http://kubernetes.io/docs/user-guide/volumes#iscsi // TODO: how do we prevent errors in the filesystem from compromising the machine FSType string `json:"fsType,omitempty" protobuf:"bytes,5,opt,name=fsType"` // ReadOnly here will force the ReadOnly setting in VolumeMounts. @@ -1131,11 +1135,11 @@ type Probe struct { // The action taken to determine the health of a container 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://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes 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://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes 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. @@ -1195,7 +1199,7 @@ type Container struct { // Cannot be updated. Name string `json:"name" protobuf:"bytes,1,opt,name=name"` // Docker image name. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md + // More info: http://kubernetes.io/docs/user-guide/images 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. @@ -1204,7 +1208,7 @@ type Container struct { // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands + // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands 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. @@ -1213,7 +1217,7 @@ type Container struct { // can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, // regardless of whether the variable exists or not. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands + // More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands 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 @@ -1233,7 +1237,7 @@ type Container struct { 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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources Resources ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,8,opt,name=resources"` // Pod volumes to mount into the container's filesystem. // Cannot be updated. @@ -1241,12 +1245,12 @@ type Container struct { // Periodic probe of container liveness. // Container will be restarted if the probe fails. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes 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://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-probes 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. @@ -1261,7 +1265,7 @@ type Container struct { // One of Always, Never, IfNotPresent. // Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md#updating-images + // More info: http://kubernetes.io/docs/user-guide/images#updating-images 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 @@ -1308,14 +1312,14 @@ type Lifecycle struct { // PostStart is called immediately after a container is created. If the handler fails, // the container is terminated and restarted according to its restart policy. // Other management of the container blocks until the hook completes. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details + // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details 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. // The reason for termination is passed to the handler. // 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://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details + // More info: http://kubernetes.io/docs/user-guide/container-environment#hook-details PreStop *Handler `json:"preStop,omitempty" protobuf:"bytes,2,opt,name=preStop"` } @@ -1392,13 +1396,13 @@ type ContainerStatus struct { // garbage collection. This value will get capped at 5 by GC. RestartCount int32 `json:"restartCount" protobuf:"varint,5,opt,name=restartCount"` // The image the container is running. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md + // More info: http://kubernetes.io/docs/user-guide/images // TODO(dchen1107): Which image the container is running with? Image string `json:"image" protobuf:"bytes,6,opt,name=image"` // ImageID of the container's image. ImageID string `json:"imageID" protobuf:"bytes,7,opt,name=imageID"` // Container's ID in the format 'docker://'. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#container-information + // More info: http://kubernetes.io/docs/user-guide/container-environment#container-information ContainerID string `json:"containerID,omitempty" protobuf:"bytes,8,opt,name=containerID"` } @@ -1441,11 +1445,11 @@ const ( type PodCondition struct { // Type is the type of the condition. // Currently only Ready. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions Type PodConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=PodConditionType"` // Status is the status of the condition. // Can be True, False, Unknown. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions + // 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. LastProbeTime unversioned.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` @@ -1761,7 +1765,7 @@ const ( // PodSpec is a description of a pod. type PodSpec struct { // List of volumes that can be mounted by containers belonging to the pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md + // More info: http://kubernetes.io/docs/user-guide/volumes 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 @@ -1776,18 +1780,18 @@ type PodSpec struct { // Init containers cannot currently be added or removed. // Init containers are in alpha state and may change without notice. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md + // More info: http://kubernetes.io/docs/user-guide/containers InitContainers []Container `json:"-" patchStrategy:"merge" patchMergeKey:"name"` // List of containers belonging to the pod. // Containers cannot currently be added or removed. // There must be at least one container in a Pod. // Cannot be updated. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md + // More info: http://kubernetes.io/docs/user-guide/containers Containers []Container `json:"containers" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,2,rep,name=containers"` // Restart policy for all containers within the pod. // One of Always, OnFailure, Never. // Default to Always. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#restartpolicy + // More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy 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. @@ -1807,7 +1811,7 @@ type PodSpec struct { 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://releases.k8s.io/HEAD/docs/user-guide/node-selection/README.md + // More info: http://kubernetes.io/docs/user-guide/node-selection/README 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. @@ -1841,7 +1845,7 @@ type PodSpec struct { // 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://releases.k8s.io/HEAD/docs/user-guide/images.md#specifying-imagepullsecrets-on-a-pod + // More info: http://kubernetes.io/docs/user-guide/images#specifying-imagepullsecrets-on-a-pod 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. @@ -1894,10 +1898,10 @@ type PodSecurityContext struct { // state of a system. type PodStatus struct { // Current condition of the pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-phase + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase Phase PodPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=PodPhase"` // Current service state of pod. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions + // More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions 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. Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"` @@ -1919,11 +1923,11 @@ type PodStatus struct { // init container will have ready = true, the most recently started container will have // startTime set. // Init containers are in alpha state and may change without notice. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-statuses + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses InitContainerStatuses []ContainerStatus `json:"-"` // The list has one entry per container in the manifest. Each entry is currently the output // of `docker inspect`. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-statuses + // More info: http://kubernetes.io/docs/user-guide/pod-states#container-statuses ContainerStatuses []ContainerStatus `json:"containerStatuses,omitempty" protobuf:"bytes,8,rep,name=containerStatuses"` } @@ -1971,7 +1975,7 @@ type PodList struct { unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of pods. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/pods.md + // More info: http://kubernetes.io/docs/user-guide/pods Items []Pod `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -2016,14 +2020,19 @@ type ReplicationControllerSpec struct { // Replicas is the number of desired replicas. // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller 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) + MinReadySeconds int32 `json:"minReadySeconds,omitempty" protobuf:"varint,4,opt,name=minReadySeconds"` + // Selector is a label query over pods that should match the Replicas count. // If 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 replication // controller, if empty defaulted to labels on Pod template. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors 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 @@ -2033,7 +2042,7 @@ type ReplicationControllerSpec struct { // 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://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template Template *PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"` } @@ -2041,7 +2050,7 @@ type ReplicationControllerSpec struct { // controller. type ReplicationControllerStatus struct { // Replicas is the most recently oberved number of replicas. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller 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. @@ -2050,8 +2059,40 @@ type ReplicationControllerStatus struct { // The number of ready replicas for this replication controller. 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. + AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,5,opt,name=availableReplicas"` + // ObservedGeneration reflects the generation of the most recently observed replication controller. ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` + + // Represents the latest available observations of a replication controller's current state. + Conditions []ReplicationControllerCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` +} + +type ReplicationControllerConditionType string + +// These are valid conditions of a replication controller. +const ( + // ReplicationControllerReplicaFailure is added in a replication controller when one of its pods + // fails to be created due to insufficient quota, limit ranges, pod security policy, node selectors, + // etc. or deleted due to kubelet being down or finalizers are failing. + ReplicationControllerReplicaFailure ReplicationControllerConditionType = "ReplicaFailure" +) + +// ReplicationControllerCondition describes the state of a replication controller at a certain point. +type ReplicationControllerCondition struct { + // Type of replication controller condition. + 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. + 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"` } // +genclient=true @@ -2085,7 +2126,7 @@ type ReplicationControllerList struct { unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of replication controllers. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md + // More info: http://kubernetes.io/docs/user-guide/replication-controller Items []ReplicationController `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -2152,7 +2193,7 @@ type LoadBalancerIngress struct { // ServiceSpec describes the attributes that a user creates on a service. type ServiceSpec struct { // The list of ports that are exposed by this service. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies Ports []ServicePort `json:"ports" patchStrategy:"merge" patchMergeKey:"port" protobuf:"bytes,1,rep,name=ports"` // Route service traffic to pods with label keys and values matching this @@ -2160,7 +2201,7 @@ type ServiceSpec struct { // external process managing its endpoints, which Kubernetes will not // modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. // Ignored if type is ExternalName. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview + // More info: http://kubernetes.io/docs/user-guide/services#overview 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 @@ -2171,7 +2212,7 @@ type ServiceSpec struct { // can be specified for headless services when proxying is not required. // Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if // type is ExternalName. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies ClusterIP string `json:"clusterIP,omitempty" protobuf:"bytes,3,opt,name=clusterIP"` // type determines how the Service is exposed. Defaults to ClusterIP. Valid @@ -2187,7 +2228,7 @@ type ServiceSpec struct { // "LoadBalancer" builds on NodePort and creates an // external load-balancer (if supported in the current cloud) which routes // to the clusterIP. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview + // More info: http://kubernetes.io/docs/user-guide/services#overview 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 @@ -2211,7 +2252,7 @@ type ServiceSpec struct { // Enable client IP based session affinity. // Must be ClientIP or None. // Defaults to None. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies + // More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies SessionAffinity ServiceAffinity `json:"sessionAffinity,omitempty" protobuf:"bytes,7,opt,name=sessionAffinity,casttype=ServiceAffinity"` // Only applies to Service Type: LoadBalancer @@ -2224,7 +2265,7 @@ type ServiceSpec struct { // 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://releases.k8s.io/HEAD/docs/user-guide/services-firewalls.md + // More info: http://kubernetes.io/docs/user-guide/services-firewalls LoadBalancerSourceRanges []string `json:"loadBalancerSourceRanges,omitempty" protobuf:"bytes,9,opt,name=loadBalancerSourceRanges"` // externalName is the external reference that kubedns or equivalent will @@ -2255,14 +2296,14 @@ type ServicePort struct { // of the 'port' field is used (an identity map). // This field is ignored for services with clusterIP=None, and should be // omitted or set equal to the 'port' field. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#defining-a-service + // More info: http://kubernetes.io/docs/user-guide/services#defining-a-service 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. // Usually assigned by the system. If specified, it will be allocated to the service // 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://releases.k8s.io/HEAD/docs/user-guide/services.md#type--nodeport + // More info: http://kubernetes.io/docs/user-guide/services#type--nodeport NodePort int32 `json:"nodePort,omitempty" protobuf:"varint,5,opt,name=nodePort"` } @@ -2318,13 +2359,13 @@ type ServiceAccount struct { 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://releases.k8s.io/HEAD/docs/user-guide/secrets.md + // More info: http://kubernetes.io/docs/user-guide/secrets 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://releases.k8s.io/HEAD/docs/user-guide/secrets.md#manually-specifying-an-imagepullsecret + // More info: http://kubernetes.io/docs/user-guide/secrets#manually-specifying-an-imagepullsecret ImagePullSecrets []LocalObjectReference `json:"imagePullSecrets,omitempty" protobuf:"bytes,3,rep,name=imagePullSecrets"` } @@ -2499,7 +2540,7 @@ type NodeSystemInfo struct { // NodeStatus is information about the current status of a node. type NodeStatus struct { // Capacity represents the total resources of a node. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity for more details. + // More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details. 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. @@ -2755,7 +2796,7 @@ type NamespaceList struct { unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is the list of Namespace objects in the list. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md + // More info: http://kubernetes.io/docs/user-guide/namespaces Items []Namespace `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -2957,10 +2998,10 @@ type OwnerReference struct { // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name" protobuf:"bytes,3,opt,name=name"` // UID of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // 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. Controller *bool `json:"controller,omitempty" protobuf:"varint,6,opt,name=controller"` @@ -2972,13 +3013,13 @@ type ObjectReference struct { // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` // Namespace of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md + // More info: http://kubernetes.io/docs/user-guide/namespaces Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"` // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name,omitempty" protobuf:"bytes,3,opt,name=name"` // UID of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids + // More info: http://kubernetes.io/docs/user-guide/identifiers#uids UID types.UID `json:"uid,omitempty" protobuf:"bytes,4,opt,name=uid,casttype=k8s.io/kubernetes/pkg/types.UID"` // API version of the referent. APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,5,opt,name=apiVersion"` @@ -3001,7 +3042,7 @@ type ObjectReference struct { // referenced object inside the same namespace. type LocalObjectReference struct { // Name of the referent. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // More info: http://kubernetes.io/docs/user-guide/identifiers#names // TODO: Add other useful fields. apiVersion, kind, uid? Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"` } @@ -3097,6 +3138,8 @@ const ( LimitTypePod LimitType = "Pod" // Limit that applies to all containers in a namespace LimitTypeContainer LimitType = "Container" + // Limit that applies to all persistent volume claims in a namespace + LimitTypePersistentVolumeClaim LimitType = "PersistentVolumeClaim" ) // LimitRangeItem defines a min/max usage limit for any resource that matches on kind. @@ -3332,7 +3375,7 @@ type SecretList struct { unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // Items is a list of secret objects. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/secrets.md + // More info: http://kubernetes.io/docs/user-guide/secrets Items []Secret `json:"items" protobuf:"bytes,2,rep,name=items"` } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/api/v1/types_swagger_doc_generated.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/api/v1/types_swagger_doc_generated.go index d9180625e80..23470760846 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/types_swagger_doc_generated.go @@ -29,10 +29,10 @@ package v1 // AUTO-GENERATED FUNCTIONS START HERE var map_AWSElasticBlockStoreVolumeSource = map[string]string{ "": "Represents a Persistent Disk resource in AWS.\n\nAn AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.", - "volumeID": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", - "fsType": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", + "volumeID": "Unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: http://kubernetes.io/docs/user-guide/volumes#awselasticblockstore", + "fsType": "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#awselasticblockstore", "partition": "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).", - "readOnly": "Specify \"true\" to force and set the ReadOnly property in VolumeMounts to \"true\". If omitted, the default is \"false\". More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", + "readOnly": "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", } func (AWSElasticBlockStoreVolumeSource) SwaggerDoc() map[string]string { @@ -212,19 +212,19 @@ func (ConfigMapVolumeSource) SwaggerDoc() map[string]string { var map_Container = map[string]string{ "": "A single application container that you want to run within a pod.", "name": "Name of the container specified as a DNS_LABEL. Each container in a pod must have a unique name (DNS_LABEL). Cannot be updated.", - "image": "Docker image name. More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md", - "command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands", - "args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md#containers-and-commands", + "image": "Docker image name. More info: http://kubernetes.io/docs/user-guide/images", + "command": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", + "args": "Arguments to the entrypoint. The docker image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. The $(VAR_NAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers#containers-and-commands", "workingDir": "Container's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", "ports": "List of ports to expose from the container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", "env": "List of environment variables to set in the container. Cannot be updated.", - "resources": "Compute Resources required by this container. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources", + "resources": "Compute Resources required by this container. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", "volumeMounts": "Pod volumes to mount into the container's filesystem. Cannot be updated.", - "livenessProbe": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes", - "readinessProbe": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes", + "livenessProbe": "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", + "readinessProbe": "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", "lifecycle": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.", "terminationMessagePath": "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.", - "imagePullPolicy": "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://releases.k8s.io/HEAD/docs/user-guide/images.md#updating-images", + "imagePullPolicy": "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", "securityContext": "Security options the pod should run with. More info: http://releases.k8s.io/HEAD/docs/design/security_context.md", "stdin": "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.", "stdinOnce": "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 sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, 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", @@ -310,9 +310,9 @@ var map_ContainerStatus = map[string]string{ "lastState": "Details about the container's last termination condition.", "ready": "Specifies whether the container has passed its readiness probe.", "restartCount": "The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.", - "image": "The image the container is running. More info: http://releases.k8s.io/HEAD/docs/user-guide/images.md", + "image": "The image the container is running. More info: http://kubernetes.io/docs/user-guide/images", "imageID": "ImageID of the container's image.", - "containerID": "Container's ID in the format 'docker://'. More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#container-information", + "containerID": "Container's ID in the format 'docker://'. More info: http://kubernetes.io/docs/user-guide/container-environment#container-information", } func (ContainerStatus) SwaggerDoc() map[string]string { @@ -363,7 +363,7 @@ func (DownwardAPIVolumeSource) SwaggerDoc() map[string]string { var map_EmptyDirVolumeSource = map[string]string{ "": "Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.", - "medium": "What type of storage medium should back this directory. The default is \"\" which means to use the node's default medium. Must be an empty string (default) or Memory. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir", + "medium": "What type of storage medium should back this directory. 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", } func (EmptyDirVolumeSource) SwaggerDoc() map[string]string { @@ -529,8 +529,9 @@ func (FlexVolumeSource) SwaggerDoc() map[string]string { } var map_FlockerVolumeSource = map[string]string{ - "": "Represents a Flocker volume mounted by the Flocker agent. Flocker volumes do not support ownership management or SELinux relabeling.", - "datasetName": "Required: the volume name. This is going to be store on metadata -> name on the payload for Flocker", + "": "Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.", + "datasetName": "Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated", + "datasetUUID": "UUID of the dataset. This is unique identifier of a Flocker dataset", } func (FlockerVolumeSource) SwaggerDoc() map[string]string { @@ -539,10 +540,10 @@ func (FlockerVolumeSource) SwaggerDoc() map[string]string { var map_GCEPersistentDiskVolumeSource = map[string]string{ "": "Represents a Persistent Disk resource in Google Compute Engine.\n\nA GCE PD must exist before mounting to a container. The disk must also be in the same GCE project and zone as the kubelet. A GCE PD can only be mounted as read/write once or read-only many times. GCE PDs support ownership management and SELinux relabeling.", - "pdName": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", - "fsType": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", - "partition": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", - "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", + "pdName": "Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", + "fsType": "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#gcepersistentdisk", + "partition": "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", + "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#gcepersistentdisk", } func (GCEPersistentDiskVolumeSource) SwaggerDoc() map[string]string { @@ -607,7 +608,7 @@ func (Handler) SwaggerDoc() map[string]string { var map_HostPathVolumeSource = map[string]string{ "": "Represents a host path mapped into a pod. Host path volumes do not support ownership management or SELinux relabeling.", - "path": "Path of the directory on the host. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath", + "path": "Path of the directory on the host. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", } func (HostPathVolumeSource) SwaggerDoc() map[string]string { @@ -620,7 +621,7 @@ var map_ISCSIVolumeSource = map[string]string{ "iqn": "Target iSCSI Qualified Name.", "lun": "iSCSI target lun number.", "iscsiInterface": "Optional: Defaults to 'default' (tcp). iSCSI interface name that uses an iSCSI transport.", - "fsType": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#iscsi", + "fsType": "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", "readOnly": "ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.", } @@ -641,8 +642,8 @@ func (KeyToPath) SwaggerDoc() map[string]string { var map_Lifecycle = map[string]string{ "": "Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.", - "postStart": "PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: http://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details", - "preStop": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. 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://releases.k8s.io/HEAD/docs/user-guide/container-environment.md#hook-details", + "postStart": "PostStart is called immediately after a container is created. If the handler fails, 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", + "preStop": "PreStop is called immediately before a container is terminated. The container is terminated after the handler completes. The reason for termination is passed to the handler. 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", } func (Lifecycle) SwaggerDoc() map[string]string { @@ -736,7 +737,7 @@ func (LoadBalancerStatus) SwaggerDoc() map[string]string { var map_LocalObjectReference = map[string]string{ "": "LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.", - "name": "Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", + "name": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", } func (LocalObjectReference) SwaggerDoc() map[string]string { @@ -745,9 +746,9 @@ func (LocalObjectReference) SwaggerDoc() map[string]string { var map_NFSVolumeSource = map[string]string{ "": "Represents an NFS mount that lasts the lifetime of a pod. NFS volumes do not support ownership management or SELinux relabeling.", - "server": "Server is the hostname or IP address of the NFS server. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", - "path": "Path that is exported by the NFS server. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", - "readOnly": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", + "server": "Server is the hostname or IP address of the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "path": "Path that is exported by the NFS server. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", + "readOnly": "ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", } func (NFSVolumeSource) SwaggerDoc() map[string]string { @@ -768,7 +769,7 @@ func (Namespace) SwaggerDoc() map[string]string { var map_NamespaceList = map[string]string{ "": "NamespaceList is a list of Namespaces.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "Items is the list of Namespace objects in the list. More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md", + "items": "Items is the list of Namespace objects in the list. More info: http://kubernetes.io/docs/user-guide/namespaces", } func (NamespaceList) SwaggerDoc() map[string]string { @@ -794,7 +795,7 @@ func (NamespaceStatus) SwaggerDoc() map[string]string { } var map_Node = map[string]string{ - "": "Node is a worker node in Kubernetes.", + "": "Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "spec": "Spec defines the behavior of a node. http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status", "status": "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", @@ -909,7 +910,7 @@ func (NodeSpec) SwaggerDoc() map[string]string { var map_NodeStatus = map[string]string{ "": "NodeStatus is information about the current status of a node.", - "capacity": "Capacity represents the total resources of a node. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity for more details.", + "capacity": "Capacity represents the total resources of a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity for more details.", "allocatable": "Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.", "phase": "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.", "conditions": "Conditions is an array of current observed node conditions. More info: http://releases.k8s.io/HEAD/docs/admin/node.md#node-condition", @@ -955,18 +956,18 @@ func (ObjectFieldSelector) SwaggerDoc() map[string]string { var map_ObjectMeta = map[string]string{ "": "ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.", - "name": "Name must be unique within a namespace. Is required when creating resources, although 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. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", + "name": "Name must be unique within a namespace. Is required when creating resources, although 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. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names", "generateName": "GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - 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).\n\nApplied only if Name is not specified. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#idempotency", - "namespace": "Namespace defines the space within each 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.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md", + "namespace": "Namespace defines the space within each 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.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces", "selfLink": "SelfLink is a URL representing this object. Populated by the system. Read-only.", - "uid": "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.\n\nPopulated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids", + "uid": "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.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "resourceVersion": "An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. 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 passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. 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", "generation": "A sequence number representing a specific generation of the desired state. Populated by the system. Read-only.", "creationTimestamp": "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.\n\nPopulated by the system. Read-only. Null for lists. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "deletionTimestamp": "DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource will be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that 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. If not set, graceful deletion of the object has not been requested.\n\nPopulated by the system when a graceful deletion is requested. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", "deletionGracePeriodSeconds": "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.", - "labels": "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://releases.k8s.io/HEAD/docs/user-guide/labels.md", - "annotations": "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://releases.k8s.io/HEAD/docs/user-guide/annotations.md", + "labels": "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", + "annotations": "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", "ownerReferences": "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.", "finalizers": "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.", "clusterName": "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.", @@ -979,9 +980,9 @@ func (ObjectMeta) SwaggerDoc() map[string]string { var map_ObjectReference = map[string]string{ "": "ObjectReference contains enough information to let you inspect or modify the referred object.", "kind": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "namespace": "Namespace of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/namespaces.md", - "name": "Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", - "uid": "UID of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids", + "namespace": "Namespace of the referent. More info: http://kubernetes.io/docs/user-guide/namespaces", + "name": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "uid": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "apiVersion": "API version of the referent.", "resourceVersion": "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", "fieldPath": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", @@ -995,8 +996,8 @@ var map_OwnerReference = map[string]string{ "": "OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.", "apiVersion": "API version of the referent.", "kind": "Kind of the referent. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "name": "Name of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", - "uid": "UID of the referent. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#uids", + "name": "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "uid": "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids", "controller": "If true, this reference points to the managing controller.", } @@ -1005,10 +1006,10 @@ func (OwnerReference) SwaggerDoc() map[string]string { } var map_PersistentVolume = map[string]string{ - "": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md", + "": "PersistentVolume (PV) is a storage resource provisioned by an administrator. It is analogous to a node. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "spec": "Spec defines a specification of a persistent volume owned by the cluster. Provisioned by an administrator. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistent-volumes", - "status": "Status represents the current information/status for the persistent volume. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistent-volumes", + "spec": "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", + "status": "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", } func (PersistentVolume) SwaggerDoc() map[string]string { @@ -1018,8 +1019,8 @@ func (PersistentVolume) SwaggerDoc() map[string]string { var map_PersistentVolumeClaim = map[string]string{ "": "PersistentVolumeClaim is a user's request for and claim to a persistent volume", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "spec": "Spec defines the desired characteristics of a volume requested by a pod author. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims", - "status": "Status represents the current information/status of a persistent volume claim. Read-only. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims", + "spec": "Spec defines the desired characteristics of a volume requested by a pod author. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", + "status": "Status represents the current information/status of a persistent volume claim. Read-only. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", } func (PersistentVolumeClaim) SwaggerDoc() map[string]string { @@ -1029,7 +1030,7 @@ func (PersistentVolumeClaim) SwaggerDoc() map[string]string { var map_PersistentVolumeClaimList = map[string]string{ "": "PersistentVolumeClaimList is a list of PersistentVolumeClaim items.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "A list of persistent volume claims. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims", + "items": "A list of persistent volume claims. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", } func (PersistentVolumeClaimList) SwaggerDoc() map[string]string { @@ -1038,9 +1039,9 @@ func (PersistentVolumeClaimList) SwaggerDoc() map[string]string { var map_PersistentVolumeClaimSpec = map[string]string{ "": "PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes", - "accessModes": "AccessModes contains the desired access modes the volume should have. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes-1", + "accessModes": "AccessModes contains the desired access modes the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes-1", "selector": "A label query over volumes to consider for binding.", - "resources": "Resources represents the minimum resources the volume should have. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#resources", + "resources": "Resources represents the minimum resources the volume should have. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#resources", "volumeName": "VolumeName is the binding reference to the PersistentVolume backing this claim.", } @@ -1051,7 +1052,7 @@ func (PersistentVolumeClaimSpec) SwaggerDoc() map[string]string { var map_PersistentVolumeClaimStatus = map[string]string{ "": "PersistentVolumeClaimStatus is the current status of a persistent volume claim.", "phase": "Phase represents the current phase of PersistentVolumeClaim.", - "accessModes": "AccessModes contains the actual access modes the volume backing the PVC has. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes-1", + "accessModes": "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", "capacity": "Represents the actual resources of the underlying volume.", } @@ -1061,7 +1062,7 @@ func (PersistentVolumeClaimStatus) SwaggerDoc() map[string]string { var map_PersistentVolumeClaimVolumeSource = map[string]string{ "": "PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).", - "claimName": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims", + "claimName": "ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", "readOnly": "Will force the ReadOnly setting in VolumeMounts. Default false.", } @@ -1072,7 +1073,7 @@ func (PersistentVolumeClaimVolumeSource) SwaggerDoc() map[string]string { var map_PersistentVolumeList = map[string]string{ "": "PersistentVolumeList is a list of PersistentVolume items.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "List of persistent volumes. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md", + "items": "List of persistent volumes. More info: http://kubernetes.io/docs/user-guide/persistent-volumes", } func (PersistentVolumeList) SwaggerDoc() map[string]string { @@ -1081,11 +1082,11 @@ func (PersistentVolumeList) SwaggerDoc() map[string]string { var map_PersistentVolumeSource = map[string]string{ "": "PersistentVolumeSource is similar to VolumeSource but meant for the administrator who creates PVs. Exactly one of its members must be set.", - "gcePersistentDisk": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", - "awsElasticBlockStore": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", - "hostPath": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath", + "gcePersistentDisk": "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", + "awsElasticBlockStore": "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", + "hostPath": "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", "glusterfs": "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", - "nfs": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", + "nfs": "NFS represents an NFS mount on the host. Provisioned by an admin. More info: http://kubernetes.io/docs/user-guide/volumes#nfs", "rbd": "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", "iscsi": "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.", "cinder": "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", @@ -1105,10 +1106,10 @@ func (PersistentVolumeSource) SwaggerDoc() map[string]string { var map_PersistentVolumeSpec = map[string]string{ "": "PersistentVolumeSpec is the specification of a persistent volume.", - "capacity": "A description of the persistent volume's resources and capacity. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#capacity", - "accessModes": "AccessModes contains all ways the volume can be mounted. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#access-modes", - "claimRef": "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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#binding", - "persistentVolumeReclaimPolicy": "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://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#recycling-policy", + "capacity": "A description of the persistent volume's resources and capacity. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#capacity", + "accessModes": "AccessModes contains all ways the volume can be mounted. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#access-modes", + "claimRef": "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", + "persistentVolumeReclaimPolicy": "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", } func (PersistentVolumeSpec) SwaggerDoc() map[string]string { @@ -1117,7 +1118,7 @@ func (PersistentVolumeSpec) SwaggerDoc() map[string]string { var map_PersistentVolumeStatus = map[string]string{ "": "PersistentVolumeStatus is the current status of a persistent volume.", - "phase": "Phase indicates if a volume is available, bound to a claim, or released by a claim. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#phase", + "phase": "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", "message": "A human-readable message indicating details about why the volume is in this state.", "reason": "Reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.", } @@ -1183,8 +1184,8 @@ func (PodAttachOptions) SwaggerDoc() map[string]string { var map_PodCondition = map[string]string{ "": "PodCondition contains details for the current condition of this pod.", - "type": "Type is the type of the condition. Currently only Ready. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions", - "status": "Status is the status of the condition. Can be True, False, Unknown. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions", + "type": "Type is the type of the condition. Currently only Ready. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", + "status": "Status is the status of the condition. Can be True, False, Unknown. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", "lastProbeTime": "Last time we probed the condition.", "lastTransitionTime": "Last time the condition transitioned from one status to another.", "reason": "Unique, one-word, CamelCase reason for the condition's last transition.", @@ -1212,7 +1213,7 @@ func (PodExecOptions) SwaggerDoc() map[string]string { var map_PodList = map[string]string{ "": "PodList is a list of Pods.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "List of pods. More info: http://releases.k8s.io/HEAD/docs/user-guide/pods.md", + "items": "List of pods. More info: http://kubernetes.io/docs/user-guide/pods", } func (PodList) SwaggerDoc() map[string]string { @@ -1268,13 +1269,13 @@ func (PodSignature) SwaggerDoc() map[string]string { var map_PodSpec = map[string]string{ "": "PodSpec is a description of a pod.", - "volumes": "List of volumes that can be mounted by containers belonging to the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md", - "containers": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://releases.k8s.io/HEAD/docs/user-guide/containers.md", - "restartPolicy": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#restartpolicy", + "volumes": "List of volumes that can be mounted by containers belonging to the pod. More info: http://kubernetes.io/docs/user-guide/volumes", + "containers": "List of containers belonging to the pod. Containers cannot currently be added or removed. There must be at least one container in a Pod. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/containers", + "restartPolicy": "Restart policy for all containers within the pod. One of Always, OnFailure, Never. Default to Always. More info: http://kubernetes.io/docs/user-guide/pod-states#restartpolicy", "terminationGracePeriodSeconds": "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. If this value is nil, the default grace period will be used instead. 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. Defaults to 30 seconds.", "activeDeadlineSeconds": "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.", "dnsPolicy": "Set DNS policy for containers within the pod. One of 'ClusterFirst' or 'Default'. Defaults to \"ClusterFirst\".", - "nodeSelector": "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://releases.k8s.io/HEAD/docs/user-guide/node-selection/README.md", + "nodeSelector": "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", "serviceAccountName": "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", "serviceAccount": "DeprecatedServiceAccount is a depreciated alias for ServiceAccountName. Deprecated: Use serviceAccountName instead.", "nodeName": "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.", @@ -1282,7 +1283,7 @@ var map_PodSpec = map[string]string{ "hostPID": "Use the host's pid namespace. Optional: Default to false.", "hostIPC": "Use the host's ipc namespace. Optional: Default to false.", "securityContext": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", - "imagePullSecrets": "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://releases.k8s.io/HEAD/docs/user-guide/images.md#specifying-imagepullsecrets-on-a-pod", + "imagePullSecrets": "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", "hostname": "Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.", "subdomain": "If specified, the fully qualified Pod hostname will be \"...svc.\". If not specified, the pod will not have a domainname at all.", } @@ -1293,14 +1294,14 @@ func (PodSpec) SwaggerDoc() map[string]string { var map_PodStatus = map[string]string{ "": "PodStatus represents information about the status of a pod. Status may trail the actual state of a system.", - "phase": "Current condition of the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-phase", - "conditions": "Current service state of pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#pod-conditions", + "phase": "Current condition of the pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-phase", + "conditions": "Current service state of pod. More info: http://kubernetes.io/docs/user-guide/pod-states#pod-conditions", "message": "A human readable message indicating details about why the pod is in this condition.", "reason": "A brief CamelCase message indicating details about why the pod is in this state. e.g. 'OutOfDisk'", "hostIP": "IP address of the host to which the pod is assigned. Empty if not yet scheduled.", "podIP": "IP address allocated to the pod. Routable at least within the cluster. Empty if not yet allocated.", "startTime": "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.", - "containerStatuses": "The list has one entry per container in the manifest. Each entry is currently the output of `docker inspect`. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-statuses", + "containerStatuses": "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", } func (PodStatus) SwaggerDoc() map[string]string { @@ -1380,8 +1381,8 @@ func (PreferredSchedulingTerm) SwaggerDoc() map[string]string { var map_Probe = map[string]string{ "": "Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.", - "initialDelaySeconds": "Number of seconds after the container has started before liveness probes are initiated. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes", - "timeoutSeconds": "Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/pod-states.md#container-probes", + "initialDelaySeconds": "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", + "timeoutSeconds": "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", "periodSeconds": "How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.", "successThreshold": "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.", "failureThreshold": "Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.", @@ -1408,7 +1409,7 @@ var map_RBDVolumeSource = map[string]string{ "": "Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.", "monitors": "A collection of Ceph monitors. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "image": "The rados image name. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", - "fsType": "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://releases.k8s.io/HEAD/docs/user-guide/volumes.md#rbd", + "fsType": "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#rbd", "pool": "The rados pool name. Default is rbd. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it.", "user": "The rados user name. Default is admin. More info: http://releases.k8s.io/HEAD/examples/volumes/rbd/README.md#how-to-use-it", "keyring": "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", @@ -1442,10 +1443,24 @@ func (ReplicationController) SwaggerDoc() map[string]string { return map_ReplicationController } +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.", +} + +func (ReplicationControllerCondition) SwaggerDoc() map[string]string { + return map_ReplicationControllerCondition +} + var map_ReplicationControllerList = map[string]string{ "": "ReplicationControllerList is a collection of replication controllers.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "List of replication controllers. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md", + "items": "List of replication controllers. More info: http://kubernetes.io/docs/user-guide/replication-controller", } func (ReplicationControllerList) SwaggerDoc() map[string]string { @@ -1453,10 +1468,11 @@ func (ReplicationControllerList) SwaggerDoc() map[string]string { } var map_ReplicationControllerSpec = map[string]string{ - "": "ReplicationControllerSpec is the specification of a replication controller.", - "replicas": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller", - "selector": "Selector is a label query over pods that should match the Replicas count. If 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 replication controller, if empty defaulted to labels on Pod template. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", - "template": "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://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template", + "": "ReplicationControllerSpec is the specification of a replication controller.", + "replicas": "Replicas is the number of desired replicas. 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", + "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)", + "selector": "Selector is a label query over pods that should match the Replicas count. If 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 replication controller, if empty defaulted to labels on 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. This takes precedence over a TemplateRef. More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", } func (ReplicationControllerSpec) SwaggerDoc() map[string]string { @@ -1465,10 +1481,12 @@ func (ReplicationControllerSpec) SwaggerDoc() map[string]string { var map_ReplicationControllerStatus = map[string]string{ "": "ReplicationControllerStatus represents the current status of a replication controller.", - "replicas": "Replicas is the most recently oberved number of replicas. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller", + "replicas": "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", "fullyLabeledReplicas": "The number of pods that have labels matching the labels of the pod template of the replication controller.", "readyReplicas": "The number of ready replicas for this replication controller.", + "availableReplicas": "The number of available replicas (ready for at least minReadySeconds) for this replication controller.", "observedGeneration": "ObservedGeneration reflects the generation of the most recently observed replication controller.", + "conditions": "Represents the latest available observations of a replication controller's current state.", } func (ReplicationControllerStatus) SwaggerDoc() map[string]string { @@ -1573,7 +1591,7 @@ func (SecretKeySelector) SwaggerDoc() map[string]string { var map_SecretList = map[string]string{ "": "SecretList is a list of Secret.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "Items is a list of secret objects. More info: http://releases.k8s.io/HEAD/docs/user-guide/secrets.md", + "items": "Items is a list of secret objects. More info: http://kubernetes.io/docs/user-guide/secrets", } func (SecretList) SwaggerDoc() map[string]string { @@ -1582,7 +1600,7 @@ func (SecretList) SwaggerDoc() map[string]string { var map_SecretVolumeSource = map[string]string{ "": "Adapts a Secret into a volume.\n\nThe contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names. Secret volumes support ownership management and SELinux relabeling.", - "secretName": "Name of the secret in the pod's namespace to use. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets", + "secretName": "Name of the secret in the pod's namespace to use. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", "items": "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 key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be 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 '..'.", "defaultMode": "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.", } @@ -1628,8 +1646,8 @@ func (Service) SwaggerDoc() map[string]string { var map_ServiceAccount = map[string]string{ "": "ServiceAccount binds together: * a name, understood by users, and perhaps by peripheral systems, for an identity * a principal that can be authenticated and authorized * a set of secrets", "metadata": "Standard object's metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata", - "secrets": "Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: http://releases.k8s.io/HEAD/docs/user-guide/secrets.md", - "imagePullSecrets": "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://releases.k8s.io/HEAD/docs/user-guide/secrets.md#manually-specifying-an-imagepullsecret", + "secrets": "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", + "imagePullSecrets": "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", } func (ServiceAccount) SwaggerDoc() map[string]string { @@ -1661,8 +1679,8 @@ var map_ServicePort = map[string]string{ "name": "The name of this port within the service. This must be a DNS_LABEL. 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.", "protocol": "The IP protocol for this port. Supports \"TCP\" and \"UDP\". Default is TCP.", "port": "The port that will be exposed by this service.", - "targetPort": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). This field is ignored for services with clusterIP=None, and should be omitted or set equal to the 'port' field. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#defining-a-service", - "nodePort": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service 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://releases.k8s.io/HEAD/docs/user-guide/services.md#type--nodeport", + "targetPort": "Number or name of the port to access on the pods targeted by the service. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME. If this is a string, it will be looked up as a named port in the target Pod's container ports. If this is not specified, the value of the 'port' field is used (an identity map). 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", + "nodePort": "The port on each node on which this service is exposed when type=NodePort or LoadBalancer. Usually assigned by the system. If specified, it will be allocated to the service 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", } func (ServicePort) SwaggerDoc() map[string]string { @@ -1680,15 +1698,15 @@ func (ServiceProxyOptions) SwaggerDoc() map[string]string { var map_ServiceSpec = map[string]string{ "": "ServiceSpec describes the attributes that a user creates on a service.", - "ports": "The list of ports that are exposed by this service. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies", - "selector": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview", - "clusterIP": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies", - "type": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#overview", + "ports": "The list of ports that are exposed by this service. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", + "selector": "Route service traffic to pods with label keys and values matching this selector. If empty or not present, the service is assumed to have an external process managing its endpoints, which Kubernetes will not modify. Only applies to types ClusterIP, NodePort, and LoadBalancer. Ignored if type is ExternalName. More info: http://kubernetes.io/docs/user-guide/services#overview", + "clusterIP": "clusterIP is the IP address of the service and is usually assigned randomly by the master. If an address is specified manually and is not in use by others, it will be allocated to the service; otherwise, creation of the service will fail. This field can not be changed through updates. Valid values are \"None\", empty string (\"\"), or a valid IP address. \"None\" can be specified for headless services when proxying is not required. 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", + "type": "type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. \"ExternalName\" maps to the specified externalName. \"ClusterIP\" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object. If clusterIP is \"None\", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a stable IP. \"NodePort\" builds on ClusterIP and allocates a port on every node which routes to the clusterIP. \"LoadBalancer\" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the clusterIP. More info: http://kubernetes.io/docs/user-guide/services#overview", "externalIPs": "externalIPs is a list of IP addresses for which nodes in the cluster will also accept traffic for this service. These IPs are not managed by Kubernetes. The user is responsible for ensuring that traffic arrives at a node with this IP. A common example is external load-balancers 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.", "deprecatedPublicIPs": "deprecatedPublicIPs is deprecated and replaced by the externalIPs field with almost the exact same semantics. This field is retained in the v1 API for compatibility until at least 8/20/2016. It will be removed from any new API revisions. If both deprecatedPublicIPs *and* externalIPs are set, deprecatedPublicIPs is used.", - "sessionAffinity": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://releases.k8s.io/HEAD/docs/user-guide/services.md#virtual-ips-and-service-proxies", + "sessionAffinity": "Supports \"ClientIP\" and \"None\". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: http://kubernetes.io/docs/user-guide/services#virtual-ips-and-service-proxies", "loadBalancerIP": "Only applies to Service Type: LoadBalancer LoadBalancer will get created with the IP specified in this field. 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.", - "loadBalancerSourceRanges": "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://releases.k8s.io/HEAD/docs/user-guide/services-firewalls.md", + "loadBalancerSourceRanges": "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", "externalName": "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.", } @@ -1739,7 +1757,7 @@ func (Toleration) SwaggerDoc() map[string]string { var map_Volume = map[string]string{ "": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", - "name": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", + "name": "Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://kubernetes.io/docs/user-guide/identifiers#names", } func (Volume) SwaggerDoc() map[string]string { @@ -1760,16 +1778,16 @@ func (VolumeMount) SwaggerDoc() map[string]string { var map_VolumeSource = map[string]string{ "": "Represents the source of a volume to mount. Only one of its members may be specified.", - "hostPath": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#hostpath", - "emptyDir": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#emptydir", - "gcePersistentDisk": "GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#gcepersistentdisk", - "awsElasticBlockStore": "AWSElasticBlockStore represents an AWS Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#awselasticblockstore", + "hostPath": "HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: http://kubernetes.io/docs/user-guide/volumes#hostpath", + "emptyDir": "EmptyDir represents a temporary directory that shares a pod's lifetime. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir", + "gcePersistentDisk": "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", + "awsElasticBlockStore": "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", "gitRepo": "GitRepo represents a git repository at a particular revision.", - "secret": "Secret represents a secret that should populate this volume. More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#secrets", - "nfs": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://releases.k8s.io/HEAD/docs/user-guide/volumes.md#nfs", + "secret": "Secret represents a secret that should populate this volume. More info: http://kubernetes.io/docs/user-guide/volumes#secrets", + "nfs": "NFS represents an NFS mount on the host that shares a pod's lifetime More info: http://kubernetes.io/docs/user-guide/volumes#nfs", "iscsi": "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", "glusterfs": "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", - "persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://releases.k8s.io/HEAD/docs/user-guide/persistent-volumes.md#persistentvolumeclaims", + "persistentVolumeClaim": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: http://kubernetes.io/docs/user-guide/persistent-volumes#persistentvolumeclaims", "rbd": "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", "flexVolume": "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.", "cinder": "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", diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.conversion.go index 7936a942146..efe872f3776 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.conversion.go @@ -21,11 +21,11 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - resource "k8s.io/client-go/1.5/pkg/api/resource" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" - types "k8s.io/client-go/1.5/pkg/types" + api "k8s.io/client-go/pkg/api" + resource "k8s.io/client-go/pkg/api/resource" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" + types "k8s.io/client-go/pkg/types" ) func init() { @@ -280,6 +280,8 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_api_RangeAllocation_To_v1_RangeAllocation, Convert_v1_ReplicationController_To_api_ReplicationController, Convert_api_ReplicationController_To_v1_ReplicationController, + Convert_v1_ReplicationControllerCondition_To_api_ReplicationControllerCondition, + Convert_api_ReplicationControllerCondition_To_v1_ReplicationControllerCondition, Convert_v1_ReplicationControllerList_To_api_ReplicationControllerList, Convert_api_ReplicationControllerList_To_v1_ReplicationControllerList, Convert_v1_ReplicationControllerSpec_To_api_ReplicationControllerSpec, @@ -2196,6 +2198,7 @@ func Convert_api_FlexVolumeSource_To_v1_FlexVolumeSource(in *api.FlexVolumeSourc func autoConvert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource(in *FlockerVolumeSource, out *api.FlockerVolumeSource, s conversion.Scope) error { out.DatasetName = in.DatasetName + out.DatasetUUID = in.DatasetUUID return nil } @@ -2205,6 +2208,7 @@ func Convert_v1_FlockerVolumeSource_To_api_FlockerVolumeSource(in *FlockerVolume func autoConvert_api_FlockerVolumeSource_To_v1_FlockerVolumeSource(in *api.FlockerVolumeSource, out *FlockerVolumeSource, s conversion.Scope) error { out.DatasetName = in.DatasetName + out.DatasetUUID = in.DatasetUUID return nil } @@ -5599,6 +5603,42 @@ func Convert_api_ReplicationController_To_v1_ReplicationController(in *api.Repli return autoConvert_api_ReplicationController_To_v1_ReplicationController(in, out, s) } +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.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_v1_ReplicationControllerCondition_To_api_ReplicationControllerCondition(in *ReplicationControllerCondition, out *api.ReplicationControllerCondition, s conversion.Scope) error { + return autoConvert_v1_ReplicationControllerCondition_To_api_ReplicationControllerCondition(in, out, s) +} + +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.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_api_ReplicationControllerCondition_To_v1_ReplicationControllerCondition(in *api.ReplicationControllerCondition, out *ReplicationControllerCondition, s conversion.Scope) error { + return autoConvert_api_ReplicationControllerCondition_To_v1_ReplicationControllerCondition(in, out, s) +} + 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 @@ -5653,6 +5693,7 @@ func autoConvert_v1_ReplicationControllerSpec_To_api_ReplicationControllerSpec(i if err := api.Convert_Pointer_int32_To_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } + out.MinReadySeconds = in.MinReadySeconds out.Selector = in.Selector if in.Template != nil { in, out := &in.Template, &out.Template @@ -5670,6 +5711,7 @@ func autoConvert_api_ReplicationControllerSpec_To_v1_ReplicationControllerSpec(i if err := api.Convert_int32_To_Pointer_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } + out.MinReadySeconds = in.MinReadySeconds out.Selector = in.Selector if in.Template != nil { in, out := &in.Template, &out.Template @@ -5687,7 +5729,19 @@ func autoConvert_v1_ReplicationControllerStatus_To_api_ReplicationControllerStat out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]api.ReplicationControllerCondition, len(*in)) + for i := range *in { + if err := Convert_v1_ReplicationControllerCondition_To_api_ReplicationControllerCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } @@ -5699,7 +5753,19 @@ func autoConvert_api_ReplicationControllerStatus_To_v1_ReplicationControllerStat out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]ReplicationControllerCondition, len(*in)) + for i := range *in { + if err := Convert_api_ReplicationControllerCondition_To_v1_ReplicationControllerCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/v1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.deepcopy.go index d25a36fe1fc..9ac9b27e2ab 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/api/v1/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" - types "k8s.io/client-go/1.5/pkg/types" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" + types "k8s.io/client-go/pkg/types" reflect "reflect" ) @@ -158,6 +158,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerCondition, InType: reflect.TypeOf(&ReplicationControllerCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})}, @@ -1150,6 +1151,7 @@ func DeepCopy_v1_FlockerVolumeSource(in interface{}, out interface{}, c *convers in := in.(*FlockerVolumeSource) out := out.(*FlockerVolumeSource) out.DatasetName = in.DatasetName + out.DatasetUUID = in.DatasetUUID return nil } } @@ -2904,7 +2906,23 @@ func DeepCopy_v1_ReplicationController(in interface{}, out interface{}, c *conve if err := DeepCopy_v1_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_v1_ReplicationControllerStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_v1_ReplicationControllerCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*ReplicationControllerCondition) + 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 return nil } } @@ -2941,6 +2959,7 @@ func DeepCopy_v1_ReplicationControllerSpec(in interface{}, out interface{}, c *c } else { out.Replicas = nil } + out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make(map[string]string) @@ -2970,7 +2989,19 @@ func DeepCopy_v1_ReplicationControllerStatus(in interface{}, out interface{}, c out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]ReplicationControllerCondition, len(*in)) + for i := range *in { + if err := DeepCopy_v1_ReplicationControllerCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/validation/path/name.go b/staging/src/k8s.io/client-go/pkg/api/validation/path/name.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/api/validation/path/name.go rename to staging/src/k8s.io/client-go/pkg/api/validation/path/name.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/api/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/api/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/api/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/api/zz_generated.deepcopy.go index 699f073d148..0f45b6a8fab 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/api/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/api/zz_generated.deepcopy.go @@ -21,12 +21,12 @@ limitations under the License. package api import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - fields "k8s.io/client-go/1.5/pkg/fields" - labels "k8s.io/client-go/1.5/pkg/labels" - runtime "k8s.io/client-go/1.5/pkg/runtime" - types "k8s.io/client-go/1.5/pkg/types" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + fields "k8s.io/client-go/pkg/fields" + labels "k8s.io/client-go/pkg/labels" + runtime "k8s.io/client-go/pkg/runtime" + types "k8s.io/client-go/pkg/types" reflect "reflect" ) @@ -162,6 +162,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RBDVolumeSource, InType: reflect.TypeOf(&RBDVolumeSource{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_RangeAllocation, InType: reflect.TypeOf(&RangeAllocation{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationController, InType: reflect.TypeOf(&ReplicationController{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerCondition, InType: reflect.TypeOf(&ReplicationControllerCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerList, InType: reflect.TypeOf(&ReplicationControllerList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerSpec, InType: reflect.TypeOf(&ReplicationControllerSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_api_ReplicationControllerStatus, InType: reflect.TypeOf(&ReplicationControllerStatus{})}, @@ -1178,6 +1179,7 @@ func DeepCopy_api_FlockerVolumeSource(in interface{}, out interface{}, c *conver in := in.(*FlockerVolumeSource) out := out.(*FlockerVolumeSource) out.DatasetName = in.DatasetName + out.DatasetUUID = in.DatasetUUID return nil } } @@ -2962,7 +2964,23 @@ func DeepCopy_api_ReplicationController(in interface{}, out interface{}, c *conv if err := DeepCopy_api_ReplicationControllerSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_api_ReplicationControllerStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_api_ReplicationControllerCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*ReplicationControllerCondition) + 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 return nil } } @@ -2993,6 +3011,7 @@ func DeepCopy_api_ReplicationControllerSpec(in interface{}, out interface{}, c * in := in.(*ReplicationControllerSpec) out := out.(*ReplicationControllerSpec) out.Replicas = in.Replicas + out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = make(map[string]string) @@ -3022,7 +3041,19 @@ func DeepCopy_api_ReplicationControllerStatus(in interface{}, out interface{}, c out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]ReplicationControllerCondition, len(*in)) + for i := range *in { + if err := DeepCopy_api_ReplicationControllerCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/announced/announced.go b/staging/src/k8s.io/client-go/pkg/apimachinery/announced/announced.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apimachinery/announced/announced.go rename to staging/src/k8s.io/client-go/pkg/apimachinery/announced/announced.go index 18195480b18..90bc1005005 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/announced/announced.go +++ b/staging/src/k8s.io/client-go/pkg/apimachinery/announced/announced.go @@ -24,8 +24,8 @@ package announced import ( "fmt" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/announced/group_factory.go b/staging/src/k8s.io/client-go/pkg/apimachinery/announced/group_factory.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apimachinery/announced/group_factory.go rename to staging/src/k8s.io/client-go/pkg/apimachinery/announced/group_factory.go index 2895b15c2a7..9473ee5694c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/announced/group_factory.go +++ b/staging/src/k8s.io/client-go/pkg/apimachinery/announced/group_factory.go @@ -21,13 +21,13 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apimachinery" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/sets" + "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/apimachinery" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/sets" ) type SchemeFunc func(*runtime.Scheme) error diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/doc.go b/staging/src/k8s.io/client-go/pkg/apimachinery/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apimachinery/doc.go rename to staging/src/k8s.io/client-go/pkg/apimachinery/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/registered/registered.go b/staging/src/k8s.io/client-go/pkg/apimachinery/registered/registered.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apimachinery/registered/registered.go rename to staging/src/k8s.io/client-go/pkg/apimachinery/registered/registered.go index 5ca48f5149d..887980ea858 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/registered/registered.go +++ b/staging/src/k8s.io/client-go/pkg/apimachinery/registered/registered.go @@ -25,10 +25,10 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apimachinery" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apimachinery" + "k8s.io/client-go/pkg/util/sets" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/types.go b/staging/src/k8s.io/client-go/pkg/apimachinery/types.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apimachinery/types.go rename to staging/src/k8s.io/client-go/pkg/apimachinery/types.go index b3fc7b83405..f520a1572cf 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apimachinery/types.go +++ b/staging/src/k8s.io/client-go/pkg/apimachinery/types.go @@ -19,9 +19,9 @@ package apimachinery import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupMeta stores the metadata of a group. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/doc.go b/staging/src/k8s.io/client-go/pkg/apis/apps/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/apps/install/install.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/install/install.go index ef8f7e7ad72..8e9c1db6813 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/install/install.go @@ -19,9 +19,9 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/apps" - "k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/apps" + "k8s.io/client-go/pkg/apis/apps/v1alpha1" ) func init() { @@ -29,7 +29,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: apps.GroupName, VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/apps", + ImportPrefix: "k8s.io/client-go/pkg/apis/apps", AddInternalObjectsToScheme: apps.AddToScheme, }, announced.VersionToSchemeFunc{ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/register.go b/staging/src/k8s.io/client-go/pkg/apis/apps/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/register.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/register.go index 26305ac462f..ec3f8e6d5d6 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/register.go @@ -17,9 +17,9 @@ limitations under the License. package apps import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/apps/types.generated.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/types.generated.go index 6e910b94498..afc8959a1ca 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg2_api "k8s.io/client-go/pkg/api" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" @@ -639,7 +639,7 @@ func (x *PetSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + x.Replicas = int32(r.DecodeInt(32)) } case "selector": if r.TryDecodeAsNil() { @@ -711,7 +711,7 @@ func (x *PetSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + x.Replicas = int32(r.DecodeInt(32)) } yyj59++ if yyhl59 { @@ -977,7 +977,7 @@ func (x *PetSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + x.Replicas = int32(r.DecodeInt(32)) } default: z.DecStructFieldNotFound(-1, yys79) @@ -1033,7 +1033,7 @@ func (x *PetSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Replicas = 0 } else { - x.Replicas = int(r.DecodeInt(codecSelferBitsize1234)) + x.Replicas = int32(r.DecodeInt(32)) } for { yyj83++ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/types.go b/staging/src/k8s.io/client-go/pkg/apis/apps/types.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/types.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/types.go index 19c114edd05..bd2bcce7d0e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/types.go @@ -17,8 +17,8 @@ limitations under the License. package apps import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // +genclient=true @@ -49,11 +49,11 @@ type PetSetSpec struct { // same Template, but individual replicas also have a consistent identity. // If unspecified, defaults to 1. // TODO: Consider a rename of this field. - Replicas int `json:"replicas,omitempty"` + 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Template is the object that describes the pod that will be created if @@ -85,7 +85,7 @@ type PetSetStatus struct { ObservedGeneration *int64 `json:"observedGeneration,omitempty"` // Replicas is the number of actual replicas. - Replicas int `json:"replicas"` + Replicas int32 `json:"replicas"` } // PetSetList is a collection of PetSets. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/conversion.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/conversion.go index 04c6f44b195..69ae6218cfc 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/conversion.go @@ -19,16 +19,16 @@ package v1alpha1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/apis/apps" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" + "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/apps" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { - // Add non-generated conversion functions to handle the *int32 -> int + // Add non-generated conversion functions to handle the *int32 -> int32 // conversion. A pointer is useful in the versioned type so we can default // 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. @@ -54,7 +54,7 @@ func addConversionFuncs(scheme *runtime.Scheme) error { func Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.PetSetSpec, s conversion.Scope) error { if in.Replicas != nil { - out.Replicas = int(*in.Replicas) + out.Replicas = *in.Replicas } if in.Selector != nil { in, out := &in.Selector, &out.Selector @@ -85,7 +85,7 @@ func Convert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.Pe func Convert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(in *apps.PetSetSpec, out *PetSetSpec, s conversion.Scope) error { out.Replicas = new(int32) - *out.Replicas = int32(in.Replicas) + *out.Replicas = in.Replicas if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(unversioned.LabelSelector) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/defaults.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/defaults.go index a9bb781ab03..e7fd66f86b3 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/defaults.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/generated.pb.go index 8164d9105fd..334b85dfdde 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/generated.pb.go @@ -36,8 +36,8 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/1.5/pkg/api/v1" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" @@ -70,10 +70,10 @@ func (*PetSetStatus) ProtoMessage() {} func (*PetSetStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } func init() { - proto.RegisterType((*PetSet)(nil), "k8s.io.client-go.1.5.pkg.apis.apps.v1alpha1.PetSet") - proto.RegisterType((*PetSetList)(nil), "k8s.io.client-go.1.5.pkg.apis.apps.v1alpha1.PetSetList") - proto.RegisterType((*PetSetSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.apps.v1alpha1.PetSetSpec") - proto.RegisterType((*PetSetStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.apps.v1alpha1.PetSetStatus") + 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") } func (m *PetSet) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/generated.proto similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/generated.proto index 2338042bfd0..47344eb2448 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.apps.v1alpha1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1alpha1"; @@ -66,7 +66,7 @@ message PetSetSpec { // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional k8s.io.kubernetes.pkg.api.unversioned.LabelSelector selector = 2; // Template is the object that describes the pod that will be created if diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/register.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/register.go index 9a6bb38032b..8908e9a67b0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types.generated.go index 2bea91f51fc..ebba467ffec 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types.go index 7502cc1929e..fb3ba64794a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true @@ -53,7 +53,7 @@ type PetSetSpec struct { // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors 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 diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go index 5191f1224cd..cefaf91906c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/types_swagger_doc_generated.go @@ -48,7 +48,7 @@ func (PetSetList) SwaggerDoc() map[string]string { var map_PetSetSpec = map[string]string{ "": "A PetSetSpec is the specification of a PetSet.", "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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "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.", diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/zz_generated.conversion.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/zz_generated.conversion.go index d93e738b270..aac339bc1a0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/zz_generated.conversion.go @@ -21,11 +21,11 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - apps "k8s.io/client-go/1.5/pkg/apis/apps" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + apps "k8s.io/client-go/pkg/apis/apps" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" ) func init() { @@ -141,7 +141,9 @@ func Convert_apps_PetSetList_To_v1alpha1_PetSetList(in *apps.PetSetList, out *Pe } func autoConvert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *apps.PetSetSpec, s conversion.Scope) error { - // WARNING: in.Replicas requires manual conversion: inconvertible types (*int32 vs int) + if err := api.Convert_Pointer_int32_To_int32(&in.Replicas, &out.Replicas, s); err != nil { + return err + } out.Selector = in.Selector if err := v1.Convert_v1_PodTemplateSpec_To_api_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -163,7 +165,9 @@ func autoConvert_v1alpha1_PetSetSpec_To_apps_PetSetSpec(in *PetSetSpec, out *app } func autoConvert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(in *apps.PetSetSpec, out *PetSetSpec, s conversion.Scope) error { - // WARNING: in.Replicas requires manual conversion: inconvertible types (int vs *int32) + if err := api.Convert_int32_To_Pointer_int32(&in.Replicas, &out.Replicas, s); err != nil { + return err + } out.Selector = in.Selector if err := v1.Convert_api_PodTemplateSpec_To_v1_PodTemplateSpec(&in.Template, &out.Template, s); err != nil { return err @@ -186,7 +190,7 @@ func autoConvert_apps_PetSetSpec_To_v1alpha1_PetSetSpec(in *apps.PetSetSpec, out func autoConvert_v1alpha1_PetSetStatus_To_apps_PetSetStatus(in *PetSetStatus, out *apps.PetSetStatus, s conversion.Scope) error { out.ObservedGeneration = in.ObservedGeneration - out.Replicas = int(in.Replicas) + out.Replicas = in.Replicas return nil } @@ -196,7 +200,7 @@ func Convert_v1alpha1_PetSetStatus_To_apps_PetSetStatus(in *PetSetStatus, out *a func autoConvert_apps_PetSetStatus_To_v1alpha1_PetSetStatus(in *apps.PetSetStatus, out *PetSetStatus, s conversion.Scope) error { out.ObservedGeneration = in.ObservedGeneration - out.Replicas = int32(in.Replicas) + out.Replicas = in.Replicas return nil } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go index 5c36b9e4028..cd982c7487c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/v1alpha1/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package v1alpha1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/apps/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/apps/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/apps/zz_generated.deepcopy.go index adf473b2714..c779b5717c8 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/apps/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/apps/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package apps import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/doc.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/install/install.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/install/install.go index e4caa753d1e..c045d7c5881 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/authentication" - "k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/authentication" + "k8s.io/client-go/pkg/apis/authentication/v1beta1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: authentication.GroupName, VersionPreferenceOrder: []string{v1beta1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/authentication", + ImportPrefix: "k8s.io/client-go/pkg/apis/authentication", RootScopedKinds: sets.NewString("TokenReview"), AddInternalObjectsToScheme: authentication.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/register.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/register.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/register.go index ffef35f18c4..4759c011b9b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/register.go @@ -17,9 +17,9 @@ limitations under the License. package authentication import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/types.generated.go index 09842eeb1ef..b2c9ceb6d70 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_api "k8s.io/client-go/pkg/api" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/types.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/types.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/types.go index 16be1021017..84edf83d952 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/types.go @@ -17,8 +17,8 @@ limitations under the License. package authentication import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/conversion.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/conversion.go index 1f000149826..93cccc5bc21 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/conversion.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/defaults.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/defaults.go index d80bd84c028..f3b22e95603 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/generated.pb.go index 096d955862e..652b2ba957a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/generated.pb.go @@ -73,11 +73,11 @@ func (*UserInfo) ProtoMessage() {} func (*UserInfo) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{4} } func init() { - proto.RegisterType((*ExtraValue)(nil), "k8s.io.client-go.1.5.pkg.apis.authentication.v1beta1.ExtraValue") - proto.RegisterType((*TokenReview)(nil), "k8s.io.client-go.1.5.pkg.apis.authentication.v1beta1.TokenReview") - proto.RegisterType((*TokenReviewSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.authentication.v1beta1.TokenReviewSpec") - proto.RegisterType((*TokenReviewStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.authentication.v1beta1.TokenReviewStatus") - proto.RegisterType((*UserInfo)(nil), "k8s.io.client-go.1.5.pkg.apis.authentication.v1beta1.UserInfo") + proto.RegisterType((*ExtraValue)(nil), "k8s.io.client-go.pkg.apis.authentication.v1beta1.ExtraValue") + proto.RegisterType((*TokenReview)(nil), "k8s.io.client-go.pkg.apis.authentication.v1beta1.TokenReview") + proto.RegisterType((*TokenReviewSpec)(nil), "k8s.io.client-go.pkg.apis.authentication.v1beta1.TokenReviewSpec") + proto.RegisterType((*TokenReviewStatus)(nil), "k8s.io.client-go.pkg.apis.authentication.v1beta1.TokenReviewStatus") + proto.RegisterType((*UserInfo)(nil), "k8s.io.client-go.pkg.apis.authentication.v1beta1.UserInfo") } func (m ExtraValue) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/generated.proto similarity index 90% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/generated.proto index ac148e207d0..bc03ff12e78 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.authentication.v1beta1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1beta1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/register.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/register.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/register.go index 430ff05273a..472e53d1ea5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/register.go @@ -17,9 +17,9 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.generated.go index 8076b845c5e..32f15d31bf2 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.go index aa5943bcd42..2c526f111f4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types.go @@ -19,8 +19,8 @@ package v1beta1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/zz_generated.conversion.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/zz_generated.conversion.go index 9c952e0a16e..769605b9397 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - authentication "k8s.io/client-go/1.5/pkg/apis/authentication" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go index 9f528176630..2d461d26035 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/v1beta1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/authentication/zz_generated.deepcopy.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/authentication/zz_generated.deepcopy.go index 8b1b0a728eb..b86631cacf5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authentication/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authentication/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package authentication import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/doc.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/install/install.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/install/install.go index 49667c72fa2..b758df57203 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/authorization" - "k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/authorization" + "k8s.io/client-go/pkg/apis/authorization/v1beta1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: authorization.GroupName, VersionPreferenceOrder: []string{v1beta1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/authorization", + ImportPrefix: "k8s.io/client-go/pkg/apis/authorization", RootScopedKinds: sets.NewString("SubjectAccessReview", "SelfSubjectAccessReview"), AddInternalObjectsToScheme: authorization.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/register.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/register.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/register.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/register.go index b911d49bdae..55ae357d32c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/register.go @@ -17,8 +17,8 @@ limitations under the License. package authorization import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/types.generated.go index 8625d4b6cda..49bd9cfecba 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_api "k8s.io/client-go/pkg/api" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/types.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/types.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/types.go index 81070c7e8eb..2ac05589d08 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/types.go @@ -17,8 +17,8 @@ limitations under the License. package authorization import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/conversion.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/conversion.go index 84290761354..090160a5601 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/conversion.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/defaults.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/defaults.go index 3ea53fa490e..bcbcbfaf33f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/generated.pb.go index 47aa735988e..592832b2d96 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/generated.pb.go @@ -99,15 +99,15 @@ func (*SubjectAccessReviewStatus) Descriptor() ([]byte, []int) { } func init() { - proto.RegisterType((*ExtraValue)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.ExtraValue") - proto.RegisterType((*LocalSubjectAccessReview)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.LocalSubjectAccessReview") - proto.RegisterType((*NonResourceAttributes)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.NonResourceAttributes") - proto.RegisterType((*ResourceAttributes)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.ResourceAttributes") - proto.RegisterType((*SelfSubjectAccessReview)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.SelfSubjectAccessReview") - proto.RegisterType((*SelfSubjectAccessReviewSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.SelfSubjectAccessReviewSpec") - proto.RegisterType((*SubjectAccessReview)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.SubjectAccessReview") - proto.RegisterType((*SubjectAccessReviewSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.SubjectAccessReviewSpec") - proto.RegisterType((*SubjectAccessReviewStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.authorization.v1beta1.SubjectAccessReviewStatus") + proto.RegisterType((*ExtraValue)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.ExtraValue") + proto.RegisterType((*LocalSubjectAccessReview)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.LocalSubjectAccessReview") + proto.RegisterType((*NonResourceAttributes)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.NonResourceAttributes") + proto.RegisterType((*ResourceAttributes)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.ResourceAttributes") + proto.RegisterType((*SelfSubjectAccessReview)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.SelfSubjectAccessReview") + proto.RegisterType((*SelfSubjectAccessReviewSpec)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.SelfSubjectAccessReviewSpec") + proto.RegisterType((*SubjectAccessReview)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.SubjectAccessReview") + proto.RegisterType((*SubjectAccessReviewSpec)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.SubjectAccessReviewSpec") + proto.RegisterType((*SubjectAccessReviewStatus)(nil), "k8s.io.client-go.pkg.apis.authorization.v1beta1.SubjectAccessReviewStatus") } func (m ExtraValue) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/generated.proto similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/generated.proto index bd98cee0706..d514e8ab7cf 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.authorization.v1beta1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1beta1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/register.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/register.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/register.go index d809d7c9b41..dec64433c85 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types.generated.go index 90178f2d727..011c08fca71 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types.go index 43e931d4b13..ba10b430f19 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types.go @@ -19,8 +19,8 @@ package v1beta1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/zz_generated.conversion.go index b7da2198832..e1c41e5560a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - authorization "k8s.io/client-go/1.5/pkg/apis/authorization" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go index 62f1fef48f1..373c279ec29 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/v1beta1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/authorization/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/authorization/zz_generated.deepcopy.go index 48da2b495c9..ce703736f52 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/authorization/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/authorization/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package authorization import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/doc.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/install/install.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/install/install.go index bf0f08f4136..060aa07747d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/install/install.go @@ -19,9 +19,9 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/autoscaling" - "k8s.io/client-go/1.5/pkg/apis/autoscaling/v1" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/autoscaling" + "k8s.io/client-go/pkg/apis/autoscaling/v1" ) func init() { @@ -29,7 +29,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: autoscaling.GroupName, VersionPreferenceOrder: []string{v1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/autoscaling", + ImportPrefix: "k8s.io/client-go/pkg/apis/autoscaling", AddInternalObjectsToScheme: autoscaling.AddToScheme, }, announced.VersionToSchemeFunc{ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/register.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/register.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/register.go index 9f2e3ccca14..d4aa8ee0188 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/register.go @@ -17,9 +17,9 @@ limitations under the License. package autoscaling import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/types.generated.go index d9c9c3fa0af..89e5ff87e44 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_api "k8s.io/client-go/pkg/api" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/types.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/types.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/types.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/types.go index 183ca49346b..6fff41cbcd8 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/types.go @@ -17,8 +17,8 @@ limitations under the License. package autoscaling import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // Scale represents a scaling request for a resource. @@ -48,7 +48,7 @@ type ScaleStatus struct { // label query over pods that should match the replicas count. This is same // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector string `json:"selector,omitempty"` } @@ -56,7 +56,7 @@ type ScaleStatus struct { type CrossVersionObjectReference struct { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` - // Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // 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 APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"` diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/defaults.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/defaults.go index 38ee1b1de3e..120c6a72d35 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/generated.pb.go index 04f08e9930d..3eae1c17bda 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/generated.pb.go @@ -40,7 +40,7 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" import strings "strings" import reflect "reflect" @@ -97,14 +97,14 @@ func (*ScaleStatus) ProtoMessage() {} func (*ScaleStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{7} } func init() { - proto.RegisterType((*CrossVersionObjectReference)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.CrossVersionObjectReference") - proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.HorizontalPodAutoscaler") - proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.HorizontalPodAutoscalerList") - proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.HorizontalPodAutoscalerSpec") - proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.HorizontalPodAutoscalerStatus") - proto.RegisterType((*Scale)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.Scale") - proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.ScaleSpec") - proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.autoscaling.v1.ScaleStatus") + proto.RegisterType((*CrossVersionObjectReference)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.CrossVersionObjectReference") + proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.HorizontalPodAutoscaler") + proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.HorizontalPodAutoscalerList") + proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.HorizontalPodAutoscalerSpec") + proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.HorizontalPodAutoscalerStatus") + proto.RegisterType((*Scale)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.Scale") + proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.ScaleSpec") + proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.pkg.apis.autoscaling.v1.ScaleStatus") } func (m *CrossVersionObjectReference) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/generated.proto similarity index 90% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/generated.proto index 891aff3b52b..7b601d51e7e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.autoscaling.v1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1"; @@ -35,7 +35,7 @@ message CrossVersionObjectReference { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" optional string kind = 1; - // Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names optional string name = 2; // API version of the referent @@ -126,7 +126,7 @@ message ScaleStatus { // label query over pods that should match the replicas count. This is same // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors optional string selector = 2; } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/register.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/register.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/register.go index c32e44b6e75..8072e81682e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types.generated.go index ef0d82d5c20..9ffaf6b65d8 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types.go index de8985857b8..25b458eae5a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types.go @@ -17,15 +17,15 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // CrossVersionObjectReference contains enough information to let you identify the referred resource. type CrossVersionObjectReference struct { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds" Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` - // Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // 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 APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"` @@ -117,6 +117,6 @@ type ScaleStatus struct { // label query over pods that should match the replicas count. This is same // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info about label selectors: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector string `json:"selector,omitempty" protobuf:"bytes,2,opt,name=selector"` } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go index 6b9bcf47e80..91b3f041c21 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/types_swagger_doc_generated.go @@ -30,7 +30,7 @@ package v1 var map_CrossVersionObjectReference = map[string]string{ "": "CrossVersionObjectReference contains enough information to let you identify the referred resource.", "kind": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds\"", - "name": "Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", + "name": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "apiVersion": "API version of the referent", } @@ -107,7 +107,7 @@ func (ScaleSpec) SwaggerDoc() map[string]string { var map_ScaleStatus = map[string]string{ "": "ScaleStatus represents the current status of a scale subresource.", "replicas": "actual number of observed instances of the scaled object.", - "selector": "label query over pods that should match the replicas count. This is same 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "selector": "label query over pods that should match the replicas count. This is same 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", } func (ScaleStatus) SwaggerDoc() map[string]string { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.conversion.go index cc51da305d1..99f642fbbaa 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - autoscaling "k8s.io/client-go/1.5/pkg/apis/autoscaling" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go index 9146f39251b..b4284f3deea 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/v1/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - api_v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + unversioned "k8s.io/client-go/pkg/api/unversioned" + api_v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/zz_generated.deepcopy.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/autoscaling/zz_generated.deepcopy.go index 1f367bf37a0..fd3adc42d95 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/autoscaling/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/autoscaling/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package autoscaling import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/doc.go b/staging/src/k8s.io/client-go/pkg/apis/batch/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/batch/install/install.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/install/install.go index 9e511cea831..6d511f6d5e3 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/apis/batch/v1" - "k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/batch" + "k8s.io/client-go/pkg/apis/batch/v1" + "k8s.io/client-go/pkg/apis/batch/v2alpha1" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: batch.GroupName, VersionPreferenceOrder: []string{v1.SchemeGroupVersion.Version, v2alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/batch", + ImportPrefix: "k8s.io/client-go/pkg/apis/batch", AddInternalObjectsToScheme: batch.AddToScheme, }, announced.VersionToSchemeFunc{ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/register.go b/staging/src/k8s.io/client-go/pkg/apis/batch/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/register.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/register.go index 19f8e72ae33..9ef7587f777 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/register.go @@ -17,9 +17,9 @@ limitations under the License. package batch import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/batch/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/types.generated.go index cd09a3c7f1f..2610e231230 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg2_api "k8s.io/client-go/pkg/api" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/types.go b/staging/src/k8s.io/client-go/pkg/apis/batch/types.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/types.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/types.go index 3c8aec5a12d..7e8deb42292 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/types.go @@ -17,8 +17,8 @@ limitations under the License. package batch import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/conversion.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/conversion.go index 30bcf44a671..46fe4976590 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/conversion.go @@ -19,12 +19,12 @@ package v1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" + "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" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/defaults.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/defaults.go index bc05051f1ad..70dbaddcff4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/generated.pb.go index 427fc249219..906c26b0fb3 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/generated.pb.go @@ -39,8 +39,8 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/1.5/pkg/api/v1" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" @@ -88,13 +88,13 @@ func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { } func init() { - proto.RegisterType((*Job)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.Job") - proto.RegisterType((*JobCondition)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.JobCondition") - proto.RegisterType((*JobList)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.JobList") - proto.RegisterType((*JobSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.JobSpec") - proto.RegisterType((*JobStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.JobStatus") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v1.LabelSelectorRequirement") + 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() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/generated.proto similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/generated.proto index 264959e4f8c..06d6edc0c11 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.batch.v1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1"; @@ -82,7 +82,7 @@ message JobSpec { // 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional int32 parallelism = 1; // Completions specifies the desired number of successfully finished pods the @@ -90,7 +90,7 @@ message JobSpec { // 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional int32 completions = 2; // Optional duration in seconds relative to the startTime that the job may be active @@ -99,7 +99,7 @@ message JobSpec { // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. @@ -116,14 +116,14 @@ message JobSpec { // Template is the object that describes the pod that will be created when // executing a job. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 6; } // JobStatus represents the current state of a Job. message JobStatus { // Conditions represent the latest available observations of an object's current state. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs repeated JobCondition conditions = 1; // StartTime represents time when the job was acknowledged by the Job Manager. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/register.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/register.go similarity index 87% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/register.go index b9b0c12aaee..b1e4a388492 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/types.generated.go index 14607fc4b0d..c7ad51bfda7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/types.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/types.go index e478737479d..4f23fc4d013 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true @@ -57,7 +57,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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"` // Completions specifies the desired number of successfully finished pods the @@ -65,7 +65,7 @@ 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs 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 @@ -74,7 +74,7 @@ type JobSpec struct { // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // ManualSelector controls generation of pod labels and pod selectors. @@ -91,7 +91,7 @@ type JobSpec struct { // Template is the object that describes the pod that will be created when // executing a job. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,6,opt,name=template"` } @@ -99,7 +99,7 @@ type JobSpec struct { type JobStatus struct { // Conditions represent the latest available observations of an object's current state. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs 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. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/types_swagger_doc_generated.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/types_swagger_doc_generated.go index aa0dbcc2fd1..10d76e29586 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/types_swagger_doc_generated.go @@ -64,12 +64,12 @@ func (JobList) SwaggerDoc() map[string]string { var map_JobSpec = map[string]string{ "": "JobSpec describes how the job execution will look like.", - "parallelism": "Parallelism specifies the maximum desired number of pods the job should 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. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", - "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any 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. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "parallelism": "Parallelism specifies the maximum desired number of pods the job should 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. More info: http://kubernetes.io/docs/user-guide/jobs", + "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any 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. More info: http://kubernetes.io/docs/user-guide/jobs", "activeDeadlineSeconds": "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", - "selector": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "selector": "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", "manualSelector": "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `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", - "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", } func (JobSpec) SwaggerDoc() map[string]string { @@ -78,7 +78,7 @@ func (JobSpec) SwaggerDoc() map[string]string { var map_JobStatus = map[string]string{ "": "JobStatus represents the current state of a Job.", - "conditions": "Conditions represent the latest available observations of an object's current state. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "conditions": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", "startTime": "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.", "completionTime": "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.", "active": "Active is the number of actively running pods.", diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.conversion.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.conversion.go index b4c218138a6..de8a114e754 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.conversion.go @@ -21,12 +21,12 @@ limitations under the License. package v1 import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - api_v1 "k8s.io/client-go/1.5/pkg/api/v1" - batch "k8s.io/client-go/1.5/pkg/apis/batch" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" + runtime "k8s.io/client-go/pkg/runtime" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.deepcopy.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.deepcopy.go index 7655a5cc591..9e75f3508a6 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v1/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package v1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - api_v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + unversioned "k8s.io/client-go/pkg/api/unversioned" + api_v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/conversion.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/conversion.go index 5e78d1f627a..e74ed989ba9 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/conversion.go @@ -20,12 +20,12 @@ import ( "fmt" "reflect" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" + "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" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/defaults.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/defaults.go index 0350f881511..f093ae57293 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v2alpha1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/generated.pb.go index c395bb5f5dc..0d8d2b982bc 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/generated.pb.go @@ -45,8 +45,8 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/1.5/pkg/api/v1" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" @@ -118,19 +118,19 @@ func (*ScheduledJobStatus) ProtoMessage() {} func (*ScheduledJobStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{12} } func init() { - proto.RegisterType((*Job)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.Job") - proto.RegisterType((*JobCondition)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.JobCondition") - proto.RegisterType((*JobList)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.JobList") - proto.RegisterType((*JobSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.JobSpec") - proto.RegisterType((*JobStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.JobStatus") - proto.RegisterType((*JobTemplate)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.JobTemplate") - proto.RegisterType((*JobTemplateSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.JobTemplateSpec") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.LabelSelectorRequirement") - proto.RegisterType((*ScheduledJob)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.ScheduledJob") - proto.RegisterType((*ScheduledJobList)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.ScheduledJobList") - proto.RegisterType((*ScheduledJobSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.ScheduledJobSpec") - proto.RegisterType((*ScheduledJobStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.batch.v2alpha1.ScheduledJobStatus") + proto.RegisterType((*Job)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.Job") + proto.RegisterType((*JobCondition)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.JobCondition") + proto.RegisterType((*JobList)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.JobList") + proto.RegisterType((*JobSpec)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.JobSpec") + 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") + proto.RegisterType((*ScheduledJobStatus)(nil), "k8s.io.client-go.pkg.apis.batch.v2alpha1.ScheduledJobStatus") } func (m *Job) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/generated.proto similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/generated.proto index 95e371e2f7a..7fed5271024 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.batch.v2alpha1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v2alpha1"; @@ -82,7 +82,7 @@ message JobSpec { // 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional int32 parallelism = 1; // Completions specifies the desired number of successfully finished pods the @@ -90,7 +90,7 @@ message JobSpec { // 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional int32 completions = 2; // Optional duration in seconds relative to the startTime that the job may be active @@ -99,7 +99,7 @@ message JobSpec { // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional LabelSelector selector = 4; // ManualSelector controls generation of pod labels and pod selectors. @@ -116,14 +116,14 @@ message JobSpec { // Template is the object that describes the pod that will be created when // executing a job. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 6; } // JobStatus represents the current state of a Job. message JobStatus { // Conditions represent the latest available observations of an object's current state. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs repeated JobCondition conditions = 1; // StartTime represents time when the job was acknowledged by the Job Manager. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/register.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/register.go index 4cf8e85a0b3..8a0675197b0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v2alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types.generated.go index e0e4ad058a0..75afe6f283f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types.go index c8c6025c376..f318c224d5d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v2alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // Job represents the configuration of a single job. @@ -78,7 +78,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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"` // Completions specifies the desired number of successfully finished pods the @@ -86,7 +86,7 @@ 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs 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 @@ -95,7 +95,7 @@ type JobSpec struct { // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // ManualSelector controls generation of pod labels and pod selectors. @@ -112,7 +112,7 @@ type JobSpec struct { // Template is the object that describes the pod that will be created when // executing a job. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,6,opt,name=template"` } @@ -120,7 +120,7 @@ type JobSpec struct { type JobStatus struct { // Conditions represent the latest available observations of an object's current state. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs 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. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go index 17d43318df1..5d965f4fa61 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/types_swagger_doc_generated.go @@ -64,12 +64,12 @@ func (JobList) SwaggerDoc() map[string]string { var map_JobSpec = map[string]string{ "": "JobSpec describes how the job execution will look like.", - "parallelism": "Parallelism specifies the maximum desired number of pods the job should 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. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", - "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any 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. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "parallelism": "Parallelism specifies the maximum desired number of pods the job should 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. More info: http://kubernetes.io/docs/user-guide/jobs", + "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any 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. More info: http://kubernetes.io/docs/user-guide/jobs", "activeDeadlineSeconds": "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", - "selector": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "selector": "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", "manualSelector": "ManualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `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", - "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", } func (JobSpec) SwaggerDoc() map[string]string { @@ -78,7 +78,7 @@ func (JobSpec) SwaggerDoc() map[string]string { var map_JobStatus = map[string]string{ "": "JobStatus represents the current state of a Job.", - "conditions": "Conditions represent the latest available observations of an object's current state. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "conditions": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", "startTime": "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.", "completionTime": "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.", "active": "Active is the number of actively running pods.", diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.conversion.go index ea087e8e70c..6089e8a7a7f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.conversion.go @@ -21,12 +21,12 @@ limitations under the License. package v2alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - batch "k8s.io/client-go/1.5/pkg/apis/batch" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" + runtime "k8s.io/client-go/pkg/runtime" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go index 6d9dd9b2bd6..ff9c6781351 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/v2alpha1/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package v2alpha1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/batch/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/batch/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/batch/zz_generated.deepcopy.go index ef66e4412a2..2014b885ecc 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/batch/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/batch/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package batch import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/doc.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/install/install.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/install/install.go index 6ae04015729..6abe6656a67 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/certificates" - "k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/certificates" + "k8s.io/client-go/pkg/apis/certificates/v1alpha1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: certificates.GroupName, VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/certificates", + ImportPrefix: "k8s.io/client-go/pkg/apis/certificates", RootScopedKinds: sets.NewString("CertificateSigningRequest"), AddInternalObjectsToScheme: certificates.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/register.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/register.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/register.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/register.go index eeac015abe6..e3f45969e50 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/register.go @@ -17,9 +17,9 @@ limitations under the License. package certificates import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/types.generated.go index b377c9ac8c0..5c17d300f3d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_api "k8s.io/client-go/pkg/api" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/types.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/types.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/types.go index 43105fbc6ea..8255ed5d39e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/types.go @@ -17,8 +17,8 @@ limitations under the License. package certificates import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/conversion.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/conversion.go index 171c4cbcf3e..e8e4a29741f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/conversion.go @@ -19,8 +19,8 @@ package v1alpha1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/generated.pb.go index 3124b3d60d2..0ba3e2204b2 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/generated.pb.go @@ -82,11 +82,11 @@ func (*CertificateSigningRequestStatus) Descriptor() ([]byte, []int) { } func init() { - proto.RegisterType((*CertificateSigningRequest)(nil), "k8s.io.client-go.1.5.pkg.apis.certificates.v1alpha1.CertificateSigningRequest") - proto.RegisterType((*CertificateSigningRequestCondition)(nil), "k8s.io.client-go.1.5.pkg.apis.certificates.v1alpha1.CertificateSigningRequestCondition") - proto.RegisterType((*CertificateSigningRequestList)(nil), "k8s.io.client-go.1.5.pkg.apis.certificates.v1alpha1.CertificateSigningRequestList") - proto.RegisterType((*CertificateSigningRequestSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.certificates.v1alpha1.CertificateSigningRequestSpec") - proto.RegisterType((*CertificateSigningRequestStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.certificates.v1alpha1.CertificateSigningRequestStatus") + proto.RegisterType((*CertificateSigningRequest)(nil), "k8s.io.client-go.pkg.apis.certificates.v1alpha1.CertificateSigningRequest") + proto.RegisterType((*CertificateSigningRequestCondition)(nil), "k8s.io.client-go.pkg.apis.certificates.v1alpha1.CertificateSigningRequestCondition") + proto.RegisterType((*CertificateSigningRequestList)(nil), "k8s.io.client-go.pkg.apis.certificates.v1alpha1.CertificateSigningRequestList") + proto.RegisterType((*CertificateSigningRequestSpec)(nil), "k8s.io.client-go.pkg.apis.certificates.v1alpha1.CertificateSigningRequestSpec") + proto.RegisterType((*CertificateSigningRequestStatus)(nil), "k8s.io.client-go.pkg.apis.certificates.v1alpha1.CertificateSigningRequestStatus") } func (m *CertificateSigningRequest) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/generated.proto similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/generated.proto index 5638d1d62af..d2fe12e25f7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.certificates.v1alpha1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1alpha1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/register.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/register.go index d93141b3657..d5047c736fc 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types.generated.go index 96527c1881c..78f2d6086b5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types.go index b1d2b184448..c4cfaa73799 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go index 75b3e55cd40..db000f237e4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - certificates "k8s.io/client-go/1.5/pkg/apis/certificates" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go index 3f6b9099153..f6991dff34f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/v1alpha1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/certificates/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/certificates/zz_generated.deepcopy.go index 347ea299076..6b4580c01cd 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/certificates/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/certificates/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package certificates import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/doc.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/helpers.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/helpers.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/helpers.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/helpers.go index 6111759a07d..dbef6aa1046 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/helpers.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/helpers.go @@ -20,7 +20,7 @@ import ( "fmt" "net" - utilnet "k8s.io/client-go/1.5/pkg/util/net" + utilnet "k8s.io/client-go/pkg/util/net" ) // used for validating command line opts diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/install/install.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/install/install.go index 891ee47a5fc..38e9c02fc2f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/install/install.go @@ -19,9 +19,9 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/componentconfig" - "k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/componentconfig" + "k8s.io/client-go/pkg/apis/componentconfig/v1alpha1" ) func init() { @@ -29,7 +29,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: componentconfig.GroupName, VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/componentconfig", + ImportPrefix: "k8s.io/client-go/pkg/apis/componentconfig", AddInternalObjectsToScheme: componentconfig.AddToScheme, }, announced.VersionToSchemeFunc{ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/register.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/register.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/register.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/register.go index faaf0b1cda0..886f9122c7d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/register.go @@ -17,8 +17,8 @@ limitations under the License. package componentconfig import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/types.generated.go index 26e58aaa0ba..976b63697d4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/types.generated.go @@ -25,8 +25,8 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_config "k8s.io/client-go/1.5/pkg/util/config" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_config "k8s.io/client-go/pkg/util/config" "reflect" "runtime" time "time" @@ -1268,13 +1268,14 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yyq135[54] = x.CloudConfigFile != "" yyq135[55] = x.KubeletCgroups != "" yyq135[56] = x.CgroupsPerQOS != false - yyq135[57] = x.RuntimeCgroups != "" - yyq135[58] = x.SystemCgroups != "" - yyq135[59] = x.CgroupRoot != "" - yyq135[63] = true - yyq135[64] = x.RktPath != "" - yyq135[65] = x.RktAPIEndpoint != "" - yyq135[66] = x.RktStage1Image != "" + 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 != "" @@ -1289,7 +1290,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { if yyr135 || yy2arr135 { r.EncodeArrayStart(108) } else { - yynn135 = 85 + yynn135 = 84 for _, b := range yyq135 { if b { yynn135++ @@ -2495,7 +2496,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[56] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("CgroupsPerQOS")) + r.EncodeString(codecSelferC_UTF81234, string("cgroupsPerQOS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym322 := z.EncBinary() _ = yym322 @@ -2512,7 +2513,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym324 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2520,13 +2521,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[57] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("runtimeCgroups")) + r.EncodeString(codecSelferC_UTF81234, string("cgroupDriver")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym325 := z.EncBinary() _ = yym325 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupDriver)) } } } @@ -2537,7 +2538,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym327 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2545,13 +2546,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[58] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("systemCgroups")) + r.EncodeString(codecSelferC_UTF81234, string("runtimeCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym328 := z.EncBinary() _ = yym328 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) + r.EncodeString(codecSelferC_UTF81234, string(x.RuntimeCgroups)) } } } @@ -2562,7 +2563,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym330 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2570,33 +2571,39 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[59] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cgroupRoot")) + r.EncodeString(codecSelferC_UTF81234, string("systemCgroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym331 := z.EncBinary() _ = yym331 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + r.EncodeString(codecSelferC_UTF81234, string(x.SystemCgroups)) } } } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym333 := z.EncBinary() - _ = yym333 - if false { + if yyq135[60] { + yym333 := z.EncBinary() + _ = yym333 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + } } 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) - yym334 := z.EncBinary() - _ = yym334 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) + if yyq135[60] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("cgroupRoot")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym334 := z.EncBinary() + _ = yym334 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.CgroupRoot)) + } } } if yyr135 || yy2arr135 { @@ -2605,17 +2612,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym336 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("remoteRuntimeEndpoint")) + r.EncodeString(codecSelferC_UTF81234, string("containerRuntime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym337 := z.EncBinary() _ = yym337 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + r.EncodeString(codecSelferC_UTF81234, string(x.ContainerRuntime)) } } if yyr135 || yy2arr135 { @@ -2623,6 +2630,25 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { yym339 := z.EncBinary() _ = yym339 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) + yym340 := z.EncBinary() + _ = yym340 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RemoteRuntimeEndpoint)) + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym342 := z.EncBinary() + _ = yym342 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RemoteImageEndpoint)) } @@ -2630,8 +2656,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("remoteImageEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym340 := z.EncBinary() - _ = yym340 + yym343 := z.EncBinary() + _ = yym343 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RemoteImageEndpoint)) @@ -2639,59 +2665,34 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[63] { - yy342 := &x.RuntimeRequestTimeout - yym343 := z.EncBinary() - _ = yym343 + if yyq135[64] { + yy345 := &x.RuntimeRequestTimeout + yym346 := z.EncBinary() + _ = yym346 if false { - } else if z.HasExtensions() && z.EncExt(yy342) { - } else if !yym343 && z.IsJSONHandle() { - z.EncJSONMarshal(yy342) + } else if z.HasExtensions() && z.EncExt(yy345) { + } else if !yym346 && z.IsJSONHandle() { + z.EncJSONMarshal(yy345) } else { - z.EncFallback(yy342) + z.EncFallback(yy345) } } else { r.EncodeNil() } } else { - if yyq135[63] { + if yyq135[64] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runtimeRequestTimeout")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy344 := &x.RuntimeRequestTimeout - yym345 := z.EncBinary() - _ = yym345 - if false { - } else if z.HasExtensions() && z.EncExt(yy344) { - } else if !yym345 && z.IsJSONHandle() { - z.EncJSONMarshal(yy344) - } else { - z.EncFallback(yy344) - } - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq135[64] { - yym347 := z.EncBinary() - _ = yym347 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq135[64] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktPath")) - 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 { - r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) + z.EncFallback(yy347) } } } @@ -2702,7 +2703,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym350 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) + r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2710,13 +2711,13 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[65] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktAPIEndpoint")) + r.EncodeString(codecSelferC_UTF81234, string("rktPath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym351 := z.EncBinary() _ = yym351 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) + r.EncodeString(codecSelferC_UTF81234, string(x.RktPath)) } } } @@ -2727,7 +2728,7 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym353 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) + r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) } } else { r.EncodeString(codecSelferC_UTF81234, "") @@ -2735,11 +2736,36 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } else { if yyq135[66] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rktStage1Image")) + r.EncodeString(codecSelferC_UTF81234, string("rktAPIEndpoint")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym354 := z.EncBinary() _ = yym354 if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RktAPIEndpoint)) + } + } + } + if yyr135 || yy2arr135 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq135[67] { + yym356 := z.EncBinary() + _ = yym356 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq135[67] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rktStage1Image")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym357 := z.EncBinary() + _ = yym357 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.RktStage1Image)) } @@ -2747,8 +2773,8 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { } if yyr135 || yy2arr135 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym356 := z.EncBinary() - _ = yym356 + yym359 := z.EncBinary() + _ = yym359 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) @@ -2757,30 +2783,11 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("lockFilePath")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym357 := z.EncBinary() - _ = yym357 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) - } - } - if yyr135 || yy2arr135 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym359 := z.EncBinary() - _ = yym359 - if false { - } else { - r.EncodeBool(bool(x.ExitOnLockContention)) - } - } else { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("exitOnLockContention")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) yym360 := z.EncBinary() _ = yym360 if false { } else { - r.EncodeBool(bool(x.ExitOnLockContention)) + r.EncodeString(codecSelferC_UTF81234, string(x.LockFilePath)) } } if yyr135 || yy2arr135 { @@ -2789,17 +2796,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym362 if false { } else { - r.EncodeBool(bool(x.ConfigureCBR0)) + r.EncodeBool(bool(x.ExitOnLockContention)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("configureCbr0")) + r.EncodeString(codecSelferC_UTF81234, string("exitOnLockContention")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym363 := z.EncBinary() _ = yym363 if false { } else { - r.EncodeBool(bool(x.ConfigureCBR0)) + r.EncodeBool(bool(x.ExitOnLockContention)) } } if yyr135 || yy2arr135 { @@ -2808,17 +2815,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym365 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) + r.EncodeBool(bool(x.ConfigureCBR0)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("hairpinMode")) + r.EncodeString(codecSelferC_UTF81234, string("configureCbr0")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym366 := z.EncBinary() _ = yym366 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) + r.EncodeBool(bool(x.ConfigureCBR0)) } } if yyr135 || yy2arr135 { @@ -2827,17 +2834,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym368 if false { } else { - r.EncodeBool(bool(x.BabysitDaemons)) + r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("babysitDaemons")) + r.EncodeString(codecSelferC_UTF81234, string("hairpinMode")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym369 := z.EncBinary() _ = yym369 if false { } else { - r.EncodeBool(bool(x.BabysitDaemons)) + r.EncodeString(codecSelferC_UTF81234, string(x.HairpinMode)) } } if yyr135 || yy2arr135 { @@ -2846,17 +2853,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym371 if false { } else { - r.EncodeInt(int64(x.MaxPods)) + r.EncodeBool(bool(x.BabysitDaemons)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxPods")) + r.EncodeString(codecSelferC_UTF81234, string("babysitDaemons")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym372 := z.EncBinary() _ = yym372 if false { } else { - r.EncodeInt(int64(x.MaxPods)) + r.EncodeBool(bool(x.BabysitDaemons)) } } if yyr135 || yy2arr135 { @@ -2865,17 +2872,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym374 if false { } else { - r.EncodeInt(int64(x.NvidiaGPUs)) + r.EncodeInt(int64(x.MaxPods)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("nvidiaGPUs")) + r.EncodeString(codecSelferC_UTF81234, string("maxPods")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym375 := z.EncBinary() _ = yym375 if false { } else { - r.EncodeInt(int64(x.NvidiaGPUs)) + r.EncodeInt(int64(x.MaxPods)) } } if yyr135 || yy2arr135 { @@ -2884,17 +2891,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym377 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) + r.EncodeInt(int64(x.NvidiaGPUs)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("dockerExecHandlerName")) + r.EncodeString(codecSelferC_UTF81234, string("nvidiaGPUs")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym378 := z.EncBinary() _ = yym378 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) + r.EncodeInt(int64(x.NvidiaGPUs)) } } if yyr135 || yy2arr135 { @@ -2903,17 +2910,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym380 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) + r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) + r.EncodeString(codecSelferC_UTF81234, string("dockerExecHandlerName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym381 := z.EncBinary() _ = yym381 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) + r.EncodeString(codecSelferC_UTF81234, string(x.DockerExecHandlerName)) } } if yyr135 || yy2arr135 { @@ -2922,17 +2929,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym383 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resolvConf")) + r.EncodeString(codecSelferC_UTF81234, string("podCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym384 := z.EncBinary() _ = yym384 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) + r.EncodeString(codecSelferC_UTF81234, string(x.PodCIDR)) } } if yyr135 || yy2arr135 { @@ -2941,17 +2948,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym386 if false { } else { - r.EncodeBool(bool(x.CPUCFSQuota)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("cpuCFSQuota")) + r.EncodeString(codecSelferC_UTF81234, string("resolvConf")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym387 := z.EncBinary() _ = yym387 if false { } else { - r.EncodeBool(bool(x.CPUCFSQuota)) + r.EncodeString(codecSelferC_UTF81234, string(x.ResolverConfig)) } } if yyr135 || yy2arr135 { @@ -2960,17 +2967,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym389 if false { } else { - r.EncodeBool(bool(x.Containerized)) + r.EncodeBool(bool(x.CPUCFSQuota)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("containerized")) + r.EncodeString(codecSelferC_UTF81234, string("cpuCFSQuota")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym390 := z.EncBinary() _ = yym390 if false { } else { - r.EncodeBool(bool(x.Containerized)) + r.EncodeBool(bool(x.CPUCFSQuota)) } } if yyr135 || yy2arr135 { @@ -2979,17 +2986,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym392 if false { } else { - r.EncodeInt(int64(x.MaxOpenFiles)) + r.EncodeBool(bool(x.Containerized)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("maxOpenFiles")) + r.EncodeString(codecSelferC_UTF81234, string("containerized")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym393 := z.EncBinary() _ = yym393 if false { } else { - r.EncodeInt(int64(x.MaxOpenFiles)) + r.EncodeBool(bool(x.Containerized)) } } if yyr135 || yy2arr135 { @@ -2998,17 +3005,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym395 if false { } else { - r.EncodeBool(bool(x.ReconcileCIDR)) + r.EncodeInt(int64(x.MaxOpenFiles)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reconcileCIDR")) + r.EncodeString(codecSelferC_UTF81234, string("maxOpenFiles")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym396 := z.EncBinary() _ = yym396 if false { } else { - r.EncodeBool(bool(x.ReconcileCIDR)) + r.EncodeInt(int64(x.MaxOpenFiles)) } } if yyr135 || yy2arr135 { @@ -3017,17 +3024,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym398 if false { } else { - r.EncodeBool(bool(x.RegisterSchedulable)) + r.EncodeBool(bool(x.ReconcileCIDR)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("registerSchedulable")) + r.EncodeString(codecSelferC_UTF81234, string("reconcileCIDR")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym399 := z.EncBinary() _ = yym399 if false { } else { - r.EncodeBool(bool(x.RegisterSchedulable)) + r.EncodeBool(bool(x.ReconcileCIDR)) } } if yyr135 || yy2arr135 { @@ -3036,17 +3043,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym401 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + r.EncodeBool(bool(x.RegisterSchedulable)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("contentType")) + r.EncodeString(codecSelferC_UTF81234, string("registerSchedulable")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym402 := z.EncBinary() _ = yym402 if false { } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) + r.EncodeBool(bool(x.RegisterSchedulable)) } } if yyr135 || yy2arr135 { @@ -3055,17 +3062,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym404 if false { } else { - r.EncodeInt(int64(x.KubeAPIQPS)) + r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) + r.EncodeString(codecSelferC_UTF81234, string("contentType")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym405 := z.EncBinary() _ = yym405 if false { } else { - r.EncodeInt(int64(x.KubeAPIQPS)) + r.EncodeString(codecSelferC_UTF81234, string(x.ContentType)) } } if yyr135 || yy2arr135 { @@ -3074,17 +3081,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym407 if false { } else { - r.EncodeInt(int64(x.KubeAPIBurst)) + r.EncodeInt(int64(x.KubeAPIQPS)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) + r.EncodeString(codecSelferC_UTF81234, string("kubeAPIQPS")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym408 := z.EncBinary() _ = yym408 if false { } else { - r.EncodeInt(int64(x.KubeAPIBurst)) + r.EncodeInt(int64(x.KubeAPIQPS)) } } if yyr135 || yy2arr135 { @@ -3093,17 +3100,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym410 if false { } else { - r.EncodeBool(bool(x.SerializeImagePulls)) + r.EncodeInt(int64(x.KubeAPIBurst)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("serializeImagePulls")) + r.EncodeString(codecSelferC_UTF81234, string("kubeAPIBurst")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym411 := z.EncBinary() _ = yym411 if false { } else { - r.EncodeBool(bool(x.SerializeImagePulls)) + r.EncodeInt(int64(x.KubeAPIBurst)) } } if yyr135 || yy2arr135 { @@ -3112,17 +3119,17 @@ func (x *KubeletConfiguration) CodecEncodeSelf(e *codec1978.Encoder) { _ = yym413 if false { } else { - r.EncodeBool(bool(x.ExperimentalFlannelOverlay)) + r.EncodeBool(bool(x.SerializeImagePulls)) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("experimentalFlannelOverlay")) + r.EncodeString(codecSelferC_UTF81234, string("serializeImagePulls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) yym414 := z.EncBinary() _ = yym414 if false { } else { - r.EncodeBool(bool(x.ExperimentalFlannelOverlay)) + r.EncodeBool(bool(x.SerializeImagePulls)) } } if yyr135 || yy2arr135 { @@ -4123,12 +4130,18 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.KubeletCgroups = string(r.DecodeString()) } - case "CgroupsPerQOS": + case "cgroupsPerQOS": if r.TryDecodeAsNil() { x.CgroupsPerQOS = false } else { x.CgroupsPerQOS = bool(r.DecodeBool()) } + case "cgroupDriver": + if r.TryDecodeAsNil() { + x.CgroupDriver = "" + } else { + x.CgroupDriver = string(r.DecodeString()) + } case "runtimeCgroups": if r.TryDecodeAsNil() { x.RuntimeCgroups = "" @@ -4169,15 +4182,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv559 := &x.RuntimeRequestTimeout - yym560 := z.DecBinary() - _ = yym560 + yyv560 := &x.RuntimeRequestTimeout + yym561 := z.DecBinary() + _ = yym561 if false { - } else if z.HasExtensions() && z.DecExt(yyv559) { - } else if !yym560 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv559) + } else if z.HasExtensions() && z.DecExt(yyv560) { + } else if !yym561 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv560) } else { - z.DecFallback(yyv559, false) + z.DecFallback(yyv560, false) } } case "rktPath": @@ -4312,12 +4325,6 @@ func (x *KubeletConfiguration) codecDecodeSelfFromMap(l int, d *codec1978.Decode } else { x.SerializeImagePulls = bool(r.DecodeBool()) } - case "experimentalFlannelOverlay": - if r.TryDecodeAsNil() { - x.ExperimentalFlannelOverlay = false - } else { - x.ExperimentalFlannelOverlay = bool(r.DecodeBool()) - } case "outOfDiskTransitionFrequency": if r.TryDecodeAsNil() { x.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} @@ -5515,6 +5522,22 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.CgroupDriver = "" + } else { + x.CgroupDriver = 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.RuntimeCgroups = "" } else { @@ -5614,15 +5637,15 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.RuntimeRequestTimeout = pkg1_unversioned.Duration{} } else { - yyv686 := &x.RuntimeRequestTimeout - yym687 := z.DecBinary() - _ = yym687 + yyv687 := &x.RuntimeRequestTimeout + yym688 := z.DecBinary() + _ = yym688 if false { - } else if z.HasExtensions() && z.DecExt(yyv686) { - } else if !yym687 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv686) + } else if z.HasExtensions() && z.DecExt(yyv687) { + } else if !yym688 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv687) } else { - z.DecFallback(yyv686, false) + z.DecFallback(yyv687, false) } } yyj611++ @@ -5988,22 +6011,6 @@ func (x *KubeletConfiguration) codecDecodeSelfFromArray(l int, d *codec1978.Deco return } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ExperimentalFlannelOverlay = false - } else { - x.ExperimentalFlannelOverlay = 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.OutOfDiskTransitionFrequency = pkg1_unversioned.Duration{} } else { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/types.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/types.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/types.go index 089ede98392..72412e55134 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/types.go @@ -17,8 +17,8 @@ limitations under the License. package componentconfig import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - utilconfig "k8s.io/client-go/1.5/pkg/util/config" + "k8s.io/client-go/pkg/api/unversioned" + utilconfig "k8s.io/client-go/pkg/util/config" ) type KubeProxyConfiguration struct { @@ -279,7 +279,9 @@ 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. - CgroupsPerQOS bool `json:"CgroupsPerQOS,omitempty"` + CgroupsPerQOS bool `json:"cgroupsPerQOS,omitempty"` + // driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd) + CgroupDriver string `json:"cgroupDriver,omitempty"` // Cgroups that container runtime is expected to be isolated in. RuntimeCgroups string `json:"runtimeCgroups,omitempty"` // SystemCgroups is absolute name of cgroups in which to place @@ -369,10 +371,6 @@ type KubeletConfiguration struct { // run docker daemon with version < 1.9 or an Aufs storage backend. // Issue #10959 has more details. SerializeImagePulls bool `json:"serializeImagePulls"` - // experimentalFlannelOverlay enables experimental support for starting the - // kubelet with the default overlay network (flannel). Assumes flanneld - // is already running in client mode. - ExperimentalFlannelOverlay bool `json:"experimentalFlannelOverlay"` // outOfDiskTransitionFrequency is duration for which the kubelet has to // wait before transitioning out of out-of-disk node condition status. OutOfDiskTransitionFrequency unversioned.Duration `json:"outOfDiskTransitionFrequency,omitempty"` @@ -406,12 +404,12 @@ type KubeletConfiguration struct { // A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs // that describe resources reserved for non-kubernetes components. // Currently only cpu and memory are supported. [default=none] - // See http://releases.k8s.io/HEAD/docs/user-guide/compute-resources.md for more detail. + // See http://kubernetes.io/docs/user-guide/compute-resources for more detail. SystemReserved utilconfig.ConfigurationMap `json:"systemReserved"` // A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs // that describe resources reserved for kubernetes system components. // Currently only cpu and memory are supported. [default=none] - // See http://releases.k8s.io/HEAD/docs/user-guide/compute-resources.md for more detail. + // See http://kubernetes.io/docs/user-guide/compute-resources for more detail. KubeReserved utilconfig.ConfigurationMap `json:"kubeReserved"` // Default behaviour for kernel tuning ProtectKernelDefaults bool `json:"protectKernelDefaults"` diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/defaults.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/defaults.go index 2dc12ab3995..4a09a72bacc 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/defaults.go @@ -21,12 +21,12 @@ import ( "runtime" "time" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/kubelet/qos" - kubetypes "k8s.io/client-go/1.5/pkg/kubelet/types" - "k8s.io/client-go/1.5/pkg/master/ports" - kruntime "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/kubelet/qos" + kubetypes "k8s.io/client-go/pkg/kubelet/types" + "k8s.io/client-go/pkg/master/ports" + kruntime "k8s.io/client-go/pkg/runtime" ) const ( @@ -351,6 +351,13 @@ func SetDefaults_KubeletConfiguration(obj *KubeletConfiguration) { temp := int32(defaultIPTablesDropBit) obj.IPTablesDropBit = &temp } + if obj.CgroupDriver == "" { + obj.CgroupDriver = "cgroupfs" + } + if obj.CgroupsPerQOS == nil { + temp := false + obj.CgroupsPerQOS = &temp + } } func boolVar(b bool) *bool { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/register.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/register.go index 7f301fdda51..4f3a6ae7cae 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/register.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/types.go index 39295541866..973e92ef044 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/types.go @@ -16,7 +16,7 @@ limitations under the License. package v1alpha1 -import "k8s.io/client-go/1.5/pkg/api/unversioned" +import "k8s.io/client-go/pkg/api/unversioned" type KubeProxyConfiguration struct { unversioned.TypeMeta @@ -343,7 +343,9 @@ 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. - CgroupsPerQOS *bool `json:"CgroupsPerQOS,omitempty"` + CgroupsPerQOS *bool `json:"cgroupsPerQOS,omitempty"` + // driver that the kubelet uses to manipulate cgroups on the host (cgroupfs or systemd) + CgroupDriver string `json:"cgroupDriver,omitempty"` // containerRuntime is the container runtime to use. ContainerRuntime string `json:"containerRuntime"` // remoteRuntimeEndpoint is the endpoint of remote runtime service @@ -424,10 +426,6 @@ type KubeletConfiguration struct { // run docker daemon with version < 1.9 or an Aufs storage backend. // Issue #10959 has more details. SerializeImagePulls *bool `json:"serializeImagePulls"` - // experimentalFlannelOverlay enables experimental support for starting the - // kubelet with the default overlay network (flannel). Assumes flanneld - // is already running in client mode. - ExperimentalFlannelOverlay bool `json:"experimentalFlannelOverlay"` // outOfDiskTransitionFrequency is duration for which the kubelet has to // wait before transitioning out of out-of-disk node condition status. OutOfDiskTransitionFrequency unversioned.Duration `json:"outOfDiskTransitionFrequency"` @@ -461,12 +459,12 @@ type KubeletConfiguration struct { // A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs // that describe resources reserved for non-kubernetes components. // Currently only cpu and memory are supported. [default=none] - // See http://releases.k8s.io/HEAD/docs/user-guide/compute-resources.md for more detail. + // See http://kubernetes.io/docs/user-guide/compute-resources for more detail. SystemReserved map[string]string `json:"systemReserved"` // A set of ResourceName=ResourceQuantity (e.g. cpu=200m,memory=150G) pairs // that describe resources reserved for kubernetes system components. // Currently only cpu and memory are supported. [default=none] - // See http://releases.k8s.io/HEAD/docs/user-guide/compute-resources.md for more detail. + // See http://kubernetes.io/docs/user-guide/compute-resources for more detail. KubeReserved map[string]string `json:"kubeReserved"` // Default behaviour for kernel tuning ProtectKernelDefaults bool `json:"protectKernelDefaults"` diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go index 1a29cff33d8..36abbeb2f9e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/zz_generated.conversion.go @@ -21,11 +21,11 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - componentconfig "k8s.io/client-go/1.5/pkg/apis/componentconfig" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" - config "k8s.io/client-go/1.5/pkg/util/config" + api "k8s.io/client-go/pkg/api" + componentconfig "k8s.io/client-go/pkg/apis/componentconfig" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" + config "k8s.io/client-go/pkg/util/config" ) func init() { @@ -248,6 +248,7 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu if err := api.Convert_Pointer_bool_To_bool(&in.CgroupsPerQOS, &out.CgroupsPerQOS, s); err != nil { return err } + out.CgroupDriver = in.CgroupDriver out.ContainerRuntime = in.ContainerRuntime out.RemoteRuntimeEndpoint = in.RemoteRuntimeEndpoint out.RemoteImageEndpoint = in.RemoteImageEndpoint @@ -290,7 +291,6 @@ func autoConvert_v1alpha1_KubeletConfiguration_To_componentconfig_KubeletConfigu if err := api.Convert_Pointer_bool_To_bool(&in.SerializeImagePulls, &out.SerializeImagePulls, s); err != nil { return err } - out.ExperimentalFlannelOverlay = in.ExperimentalFlannelOverlay out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency out.NodeIP = in.NodeIP out.NodeLabels = in.NodeLabels @@ -426,6 +426,7 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu if err := api.Convert_bool_To_Pointer_bool(&in.CgroupsPerQOS, &out.CgroupsPerQOS, s); err != nil { return err } + out.CgroupDriver = in.CgroupDriver out.RuntimeCgroups = in.RuntimeCgroups out.SystemCgroups = in.SystemCgroups out.CgroupRoot = in.CgroupRoot @@ -471,7 +472,6 @@ func autoConvert_componentconfig_KubeletConfiguration_To_v1alpha1_KubeletConfigu if err := api.Convert_bool_To_Pointer_bool(&in.SerializeImagePulls, &out.SerializeImagePulls, s); err != nil { return err } - out.ExperimentalFlannelOverlay = in.ExperimentalFlannelOverlay out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency out.NodeIP = in.NodeIP out.NodeLabels = in.NodeLabels diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go index b3185ddbc9a..a771b3d0119 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/v1alpha1/zz_generated.deepcopy.go @@ -21,8 +21,8 @@ limitations under the License. package v1alpha1 import ( - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) @@ -257,6 +257,7 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * } else { out.CgroupsPerQOS = nil } + out.CgroupDriver = in.CgroupDriver out.ContainerRuntime = in.ContainerRuntime out.RemoteRuntimeEndpoint = in.RemoteRuntimeEndpoint out.RemoteImageEndpoint = in.RemoteImageEndpoint @@ -331,7 +332,6 @@ func DeepCopy_v1alpha1_KubeletConfiguration(in interface{}, out interface{}, c * } else { out.SerializeImagePulls = nil } - out.ExperimentalFlannelOverlay = in.ExperimentalFlannelOverlay out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency out.NodeIP = in.NodeIP if in.NodeLabels != nil { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/componentconfig/zz_generated.deepcopy.go index d2b05983402..ae5294ee254 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/componentconfig/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/componentconfig/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package componentconfig import ( - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" - config "k8s.io/client-go/1.5/pkg/util/config" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" + config "k8s.io/client-go/pkg/util/config" reflect "reflect" ) @@ -268,6 +268,7 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface out.CloudConfigFile = in.CloudConfigFile out.KubeletCgroups = in.KubeletCgroups out.CgroupsPerQOS = in.CgroupsPerQOS + out.CgroupDriver = in.CgroupDriver out.RuntimeCgroups = in.RuntimeCgroups out.SystemCgroups = in.SystemCgroups out.CgroupRoot = in.CgroupRoot @@ -297,7 +298,6 @@ func DeepCopy_componentconfig_KubeletConfiguration(in interface{}, out interface out.KubeAPIQPS = in.KubeAPIQPS out.KubeAPIBurst = in.KubeAPIBurst out.SerializeImagePulls = in.SerializeImagePulls - out.ExperimentalFlannelOverlay = in.ExperimentalFlannelOverlay out.OutOfDiskTransitionFrequency = in.OutOfDiskTransitionFrequency out.NodeIP = in.NodeIP if in.NodeLabels != nil { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/doc.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/helpers.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/helpers.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/helpers.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/helpers.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/install/install.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/install/install.go index 4d1d1cdc942..f774a2b81fb 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/extensions" - "k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/extensions" + "k8s.io/client-go/pkg/apis/extensions/v1beta1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: extensions.GroupName, VersionPreferenceOrder: []string{v1beta1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/extensions", + ImportPrefix: "k8s.io/client-go/pkg/apis/extensions", RootScopedKinds: sets.NewString("PodSecurityPolicy", "ThirdPartyResource"), AddInternalObjectsToScheme: extensions.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/register.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/register.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/register.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/register.go index 35ad88d1c75..074a7f74d41 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/register.go @@ -17,11 +17,11 @@ limitations under the License. package extensions import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apis/autoscaling" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apis/autoscaling" + "k8s.io/client-go/pkg/apis/batch" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/types.generated.go similarity index 70% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/types.generated.go index a2fd0549d5b..cb59f1effd4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg2_api "k8s.io/client-go/pkg/api" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" @@ -5977,14 +5977,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep492 := !z.EncBinary() yy2arr492 := z.EncBasicHandle().StructToArray - var yyq492 [3]bool + var yyq492 [4]bool _, _, _ = yysep492, yyq492, yy2arr492 const yyr492 bool = false var yynn492 int if yyr492 || yy2arr492 { - r.EncodeArrayStart(3) + r.EncodeArrayStart(4) } else { - yynn492 = 3 + yynn492 = 4 for _, b := range yyq492 { if b { yynn492++ @@ -6050,6 +6050,25 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } + if yyr492 || yy2arr492 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym503 := z.EncBinary() + _ = yym503 + if false { + } else { + r.EncodeInt(int64(x.NumberReady)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("numberReady")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym504 := z.EncBinary() + _ = yym504 + if false { + } else { + r.EncodeInt(int64(x.NumberReady)) + } + } if yyr492 || yy2arr492 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -6063,25 +6082,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym502 := z.DecBinary() - _ = yym502 + yym505 := z.DecBinary() + _ = yym505 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct503 := r.ContainerType() - if yyct503 == codecSelferValueTypeMap1234 { - yyl503 := r.ReadMapStart() - if yyl503 == 0 { + yyct506 := r.ContainerType() + if yyct506 == codecSelferValueTypeMap1234 { + yyl506 := r.ReadMapStart() + if yyl506 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl503, d) + x.codecDecodeSelfFromMap(yyl506, d) } - } else if yyct503 == codecSelferValueTypeArray1234 { - yyl503 := r.ReadArrayStart() - if yyl503 == 0 { + } else if yyct506 == codecSelferValueTypeArray1234 { + yyl506 := r.ReadArrayStart() + if yyl506 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl503, d) + x.codecDecodeSelfFromArray(yyl506, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6093,12 +6112,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys504Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys504Slc - var yyhl504 bool = l >= 0 - for yyj504 := 0; ; yyj504++ { - if yyhl504 { - if yyj504 >= l { + var yys507Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys507Slc + var yyhl507 bool = l >= 0 + for yyj507 := 0; ; yyj507++ { + if yyhl507 { + if yyj507 >= l { break } } else { @@ -6107,10 +6126,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys504Slc = r.DecodeBytes(yys504Slc, true, true) - yys504 := string(yys504Slc) + yys507Slc = r.DecodeBytes(yys507Slc, true, true) + yys507 := string(yys507Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys504 { + switch yys507 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -6129,10 +6148,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } + case "numberReady": + if r.TryDecodeAsNil() { + x.NumberReady = 0 + } else { + x.NumberReady = int32(r.DecodeInt(32)) + } default: - z.DecStructFieldNotFound(-1, yys504) - } // end switch yys504 - } // end for yyj504 + z.DecStructFieldNotFound(-1, yys507) + } // end switch yys507 + } // end for yyj507 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6140,16 +6165,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj508 int - var yyb508 bool - var yyhl508 bool = l >= 0 - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + var yyj512 int + var yyb512 bool + var yyhl512 bool = l >= 0 + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb508 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb508 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6159,13 +6184,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb508 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb508 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6175,13 +6200,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb508 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb508 { + if yyb512 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6191,18 +6216,34 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l + } else { + yyb512 = r.CheckBreak() + } + if yyb512 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NumberReady = 0 + } else { + x.NumberReady = int32(r.DecodeInt(32)) + } for { - yyj508++ - if yyhl508 { - yyb508 = yyj508 > l + yyj512++ + if yyhl512 { + yyb512 = yyj512 > l } else { - yyb508 = r.CheckBreak() + yyb512 = r.CheckBreak() } - if yyb508 { + if yyb512 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj508-1, "") + z.DecStructFieldNotFound(yyj512-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6214,39 +6255,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym512 := z.EncBinary() - _ = yym512 + yym517 := z.EncBinary() + _ = yym517 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep513 := !z.EncBinary() - yy2arr513 := z.EncBasicHandle().StructToArray - var yyq513 [5]bool - _, _, _ = yysep513, yyq513, yy2arr513 - const yyr513 bool = false - yyq513[0] = x.Kind != "" - yyq513[1] = x.APIVersion != "" - yyq513[2] = true - yyq513[3] = true - yyq513[4] = true - var yynn513 int - if yyr513 || yy2arr513 { + 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 { r.EncodeArrayStart(5) } else { - yynn513 = 0 - for _, b := range yyq513 { + yynn518 = 0 + for _, b := range yyq518 { if b { - yynn513++ + yynn518++ } } - r.EncodeMapStart(yynn513) - yynn513 = 0 + r.EncodeMapStart(yynn518) + yynn518 = 0 } - if yyr513 || yy2arr513 { + if yyr518 || yy2arr518 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq513[0] { - yym515 := z.EncBinary() - _ = yym515 + if yyq518[0] { + yym520 := z.EncBinary() + _ = yym520 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6255,23 +6296,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq513[0] { + if yyq518[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym516 := z.EncBinary() - _ = yym516 + yym521 := z.EncBinary() + _ = yym521 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr513 || yy2arr513 { + if yyr518 || yy2arr518 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq513[1] { - yym518 := z.EncBinary() - _ = yym518 + if yyq518[1] { + yym523 := z.EncBinary() + _ = yym523 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6280,70 +6321,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq513[1] { + if yyq518[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym519 := z.EncBinary() - _ = yym519 + yym524 := z.EncBinary() + _ = yym524 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr513 || yy2arr513 { + if yyr518 || yy2arr518 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq513[2] { - yy521 := &x.ObjectMeta - yy521.CodecEncodeSelf(e) + if yyq518[2] { + yy526 := &x.ObjectMeta + yy526.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq513[2] { + if yyq518[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy522 := &x.ObjectMeta - yy522.CodecEncodeSelf(e) + yy527 := &x.ObjectMeta + yy527.CodecEncodeSelf(e) } } - if yyr513 || yy2arr513 { + if yyr518 || yy2arr518 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq513[3] { - yy524 := &x.Spec - yy524.CodecEncodeSelf(e) + if yyq518[3] { + yy529 := &x.Spec + yy529.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq513[3] { + if yyq518[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy525 := &x.Spec - yy525.CodecEncodeSelf(e) + yy530 := &x.Spec + yy530.CodecEncodeSelf(e) } } - if yyr513 || yy2arr513 { + if yyr518 || yy2arr518 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq513[4] { - yy527 := &x.Status - yy527.CodecEncodeSelf(e) + if yyq518[4] { + yy532 := &x.Status + yy532.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq513[4] { + if yyq518[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy528 := &x.Status - yy528.CodecEncodeSelf(e) + yy533 := &x.Status + yy533.CodecEncodeSelf(e) } } - if yyr513 || yy2arr513 { + if yyr518 || yy2arr518 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6356,25 +6397,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym529 := z.DecBinary() - _ = yym529 + yym534 := z.DecBinary() + _ = yym534 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct530 := r.ContainerType() - if yyct530 == codecSelferValueTypeMap1234 { - yyl530 := r.ReadMapStart() - if yyl530 == 0 { + yyct535 := r.ContainerType() + if yyct535 == codecSelferValueTypeMap1234 { + yyl535 := r.ReadMapStart() + if yyl535 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl530, d) + x.codecDecodeSelfFromMap(yyl535, d) } - } else if yyct530 == codecSelferValueTypeArray1234 { - yyl530 := r.ReadArrayStart() - if yyl530 == 0 { + } else if yyct535 == codecSelferValueTypeArray1234 { + yyl535 := r.ReadArrayStart() + if yyl535 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl530, d) + x.codecDecodeSelfFromArray(yyl535, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6386,12 +6427,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys531Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys531Slc - var yyhl531 bool = l >= 0 - for yyj531 := 0; ; yyj531++ { - if yyhl531 { - if yyj531 >= l { + var yys536Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys536Slc + var yyhl536 bool = l >= 0 + for yyj536 := 0; ; yyj536++ { + if yyhl536 { + if yyj536 >= l { break } } else { @@ -6400,10 +6441,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys531Slc = r.DecodeBytes(yys531Slc, true, true) - yys531 := string(yys531Slc) + yys536Slc = r.DecodeBytes(yys536Slc, true, true) + yys536 := string(yys536Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys531 { + switch yys536 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6420,27 +6461,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv534 := &x.ObjectMeta - yyv534.CodecDecodeSelf(d) + yyv539 := &x.ObjectMeta + yyv539.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv535 := &x.Spec - yyv535.CodecDecodeSelf(d) + yyv540 := &x.Spec + yyv540.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv536 := &x.Status - yyv536.CodecDecodeSelf(d) + yyv541 := &x.Status + yyv541.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys531) - } // end switch yys531 - } // end for yyj531 + z.DecStructFieldNotFound(-1, yys536) + } // end switch yys536 + } // end for yyj536 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6448,16 +6489,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj537 int - var yyb537 bool - var yyhl537 bool = l >= 0 - yyj537++ - if yyhl537 { - yyb537 = yyj537 > l + var yyj542 int + var yyb542 bool + var yyhl542 bool = l >= 0 + yyj542++ + if yyhl542 { + yyb542 = yyj542 > l } else { - yyb537 = r.CheckBreak() + yyb542 = r.CheckBreak() } - if yyb537 { + if yyb542 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6467,13 +6508,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj537++ - if yyhl537 { - yyb537 = yyj537 > l + yyj542++ + if yyhl542 { + yyb542 = yyj542 > l } else { - yyb537 = r.CheckBreak() + yyb542 = r.CheckBreak() } - if yyb537 { + if yyb542 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6483,13 +6524,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj537++ - if yyhl537 { - yyb537 = yyj537 > l + yyj542++ + if yyhl542 { + yyb542 = yyj542 > l } else { - yyb537 = r.CheckBreak() + yyb542 = r.CheckBreak() } - if yyb537 { + if yyb542 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6497,16 +6538,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv540 := &x.ObjectMeta - yyv540.CodecDecodeSelf(d) + yyv545 := &x.ObjectMeta + yyv545.CodecDecodeSelf(d) } - yyj537++ - if yyhl537 { - yyb537 = yyj537 > l + yyj542++ + if yyhl542 { + yyb542 = yyj542 > l } else { - yyb537 = r.CheckBreak() + yyb542 = r.CheckBreak() } - if yyb537 { + if yyb542 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6514,16 +6555,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv541 := &x.Spec - yyv541.CodecDecodeSelf(d) + yyv546 := &x.Spec + yyv546.CodecDecodeSelf(d) } - yyj537++ - if yyhl537 { - yyb537 = yyj537 > l + yyj542++ + if yyhl542 { + yyb542 = yyj542 > l } else { - yyb537 = r.CheckBreak() + yyb542 = r.CheckBreak() } - if yyb537 { + if yyb542 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6531,21 +6572,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv542 := &x.Status - yyv542.CodecDecodeSelf(d) + yyv547 := &x.Status + yyv547.CodecDecodeSelf(d) } for { - yyj537++ - if yyhl537 { - yyb537 = yyj537 > l + yyj542++ + if yyhl542 { + yyb542 = yyj542 > l } else { - yyb537 = r.CheckBreak() + yyb542 = r.CheckBreak() } - if yyb537 { + if yyb542 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj537-1, "") + z.DecStructFieldNotFound(yyj542-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6557,37 +6598,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym543 := z.EncBinary() - _ = yym543 + yym548 := z.EncBinary() + _ = yym548 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep544 := !z.EncBinary() - yy2arr544 := z.EncBasicHandle().StructToArray - var yyq544 [4]bool - _, _, _ = yysep544, yyq544, yy2arr544 - const yyr544 bool = false - yyq544[0] = x.Kind != "" - yyq544[1] = x.APIVersion != "" - yyq544[2] = true - var yynn544 int - if yyr544 || yy2arr544 { + 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 { r.EncodeArrayStart(4) } else { - yynn544 = 1 - for _, b := range yyq544 { + yynn549 = 1 + for _, b := range yyq549 { if b { - yynn544++ + yynn549++ } } - r.EncodeMapStart(yynn544) - yynn544 = 0 + r.EncodeMapStart(yynn549) + yynn549 = 0 } - if yyr544 || yy2arr544 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[0] { - yym546 := z.EncBinary() - _ = yym546 + if yyq549[0] { + yym551 := z.EncBinary() + _ = yym551 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6596,23 +6637,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq544[0] { + if yyq549[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym547 := z.EncBinary() - _ = yym547 + yym552 := z.EncBinary() + _ = yym552 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr544 || yy2arr544 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[1] { - yym549 := z.EncBinary() - _ = yym549 + if yyq549[1] { + yym554 := z.EncBinary() + _ = yym554 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6621,54 +6662,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq544[1] { + if yyq549[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym550 := z.EncBinary() - _ = yym550 + yym555 := z.EncBinary() + _ = yym555 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr544 || yy2arr544 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq544[2] { - yy552 := &x.ListMeta - yym553 := z.EncBinary() - _ = yym553 + if yyq549[2] { + yy557 := &x.ListMeta + yym558 := z.EncBinary() + _ = yym558 if false { - } else if z.HasExtensions() && z.EncExt(yy552) { + } else if z.HasExtensions() && z.EncExt(yy557) { } else { - z.EncFallback(yy552) + z.EncFallback(yy557) } } else { r.EncodeNil() } } else { - if yyq544[2] { + if yyq549[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy554 := &x.ListMeta - yym555 := z.EncBinary() - _ = yym555 + yy559 := &x.ListMeta + yym560 := z.EncBinary() + _ = yym560 if false { - } else if z.HasExtensions() && z.EncExt(yy554) { + } else if z.HasExtensions() && z.EncExt(yy559) { } else { - z.EncFallback(yy554) + z.EncFallback(yy559) } } } - if yyr544 || yy2arr544 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym557 := z.EncBinary() - _ = yym557 + yym562 := z.EncBinary() + _ = yym562 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -6681,15 +6722,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym558 := z.EncBinary() - _ = yym558 + yym563 := z.EncBinary() + _ = yym563 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr544 || yy2arr544 { + if yyr549 || yy2arr549 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -6702,25 +6743,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym559 := z.DecBinary() - _ = yym559 + yym564 := z.DecBinary() + _ = yym564 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct560 := r.ContainerType() - if yyct560 == codecSelferValueTypeMap1234 { - yyl560 := r.ReadMapStart() - if yyl560 == 0 { + yyct565 := r.ContainerType() + if yyct565 == codecSelferValueTypeMap1234 { + yyl565 := r.ReadMapStart() + if yyl565 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl560, d) + x.codecDecodeSelfFromMap(yyl565, d) } - } else if yyct560 == codecSelferValueTypeArray1234 { - yyl560 := r.ReadArrayStart() - if yyl560 == 0 { + } else if yyct565 == codecSelferValueTypeArray1234 { + yyl565 := r.ReadArrayStart() + if yyl565 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl560, d) + x.codecDecodeSelfFromArray(yyl565, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -6732,12 +6773,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys561Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys561Slc - var yyhl561 bool = l >= 0 - for yyj561 := 0; ; yyj561++ { - if yyhl561 { - if yyj561 >= l { + var yys566Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys566Slc + var yyhl566 bool = l >= 0 + for yyj566 := 0; ; yyj566++ { + if yyhl566 { + if yyj566 >= l { break } } else { @@ -6746,10 +6787,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys561Slc = r.DecodeBytes(yys561Slc, true, true) - yys561 := string(yys561Slc) + yys566Slc = r.DecodeBytes(yys566Slc, true, true) + yys566 := string(yys566Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys561 { + switch yys566 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -6766,31 +6807,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv564 := &x.ListMeta - yym565 := z.DecBinary() - _ = yym565 + yyv569 := &x.ListMeta + yym570 := z.DecBinary() + _ = yym570 if false { - } else if z.HasExtensions() && z.DecExt(yyv564) { + } else if z.HasExtensions() && z.DecExt(yyv569) { } else { - z.DecFallback(yyv564, false) + z.DecFallback(yyv569, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv566 := &x.Items - yym567 := z.DecBinary() - _ = yym567 + yyv571 := &x.Items + yym572 := z.DecBinary() + _ = yym572 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv566), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv571), d) } } default: - z.DecStructFieldNotFound(-1, yys561) - } // end switch yys561 - } // end for yyj561 + z.DecStructFieldNotFound(-1, yys566) + } // end switch yys566 + } // end for yyj566 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -6798,16 +6839,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj568 int - var yyb568 bool - var yyhl568 bool = l >= 0 - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + var yyj573 int + var yyb573 bool + var yyhl573 bool = l >= 0 + yyj573++ + if yyhl573 { + yyb573 = yyj573 > l } else { - yyb568 = r.CheckBreak() + yyb573 = r.CheckBreak() } - if yyb568 { + if yyb573 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6817,13 +6858,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + yyj573++ + if yyhl573 { + yyb573 = yyj573 > l } else { - yyb568 = r.CheckBreak() + yyb573 = r.CheckBreak() } - if yyb568 { + if yyb573 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6833,13 +6874,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + yyj573++ + if yyhl573 { + yyb573 = yyj573 > l } else { - yyb568 = r.CheckBreak() + yyb573 = r.CheckBreak() } - if yyb568 { + if yyb573 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6847,22 +6888,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv571 := &x.ListMeta - yym572 := z.DecBinary() - _ = yym572 + yyv576 := &x.ListMeta + yym577 := z.DecBinary() + _ = yym577 if false { - } else if z.HasExtensions() && z.DecExt(yyv571) { + } else if z.HasExtensions() && z.DecExt(yyv576) { } else { - z.DecFallback(yyv571, false) + z.DecFallback(yyv576, false) } } - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + yyj573++ + if yyhl573 { + yyb573 = yyj573 > l } else { - yyb568 = r.CheckBreak() + yyb573 = r.CheckBreak() } - if yyb568 { + if yyb573 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -6870,26 +6911,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv573 := &x.Items - yym574 := z.DecBinary() - _ = yym574 + yyv578 := &x.Items + yym579 := z.DecBinary() + _ = yym579 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv573), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv578), d) } } for { - yyj568++ - if yyhl568 { - yyb568 = yyj568 > l + yyj573++ + if yyhl573 { + yyb573 = yyj573 > l } else { - yyb568 = r.CheckBreak() + yyb573 = r.CheckBreak() } - if yyb568 { + if yyb573 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj568-1, "") + z.DecStructFieldNotFound(yyj573-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -6901,37 +6942,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym575 := z.EncBinary() - _ = yym575 + yym580 := z.EncBinary() + _ = yym580 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep576 := !z.EncBinary() - yy2arr576 := z.EncBasicHandle().StructToArray - var yyq576 [4]bool - _, _, _ = yysep576, yyq576, yy2arr576 - const yyr576 bool = false - yyq576[0] = x.Kind != "" - yyq576[1] = x.APIVersion != "" - yyq576[2] = true - var yynn576 int - if yyr576 || yy2arr576 { + 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 { r.EncodeArrayStart(4) } else { - yynn576 = 1 - for _, b := range yyq576 { + yynn581 = 1 + for _, b := range yyq581 { if b { - yynn576++ + yynn581++ } } - r.EncodeMapStart(yynn576) - yynn576 = 0 + r.EncodeMapStart(yynn581) + yynn581 = 0 } - if yyr576 || yy2arr576 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq576[0] { - yym578 := z.EncBinary() - _ = yym578 + if yyq581[0] { + yym583 := z.EncBinary() + _ = yym583 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -6940,23 +6981,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq576[0] { + if yyq581[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym579 := z.EncBinary() - _ = yym579 + yym584 := z.EncBinary() + _ = yym584 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr576 || yy2arr576 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq576[1] { - yym581 := z.EncBinary() - _ = yym581 + if yyq581[1] { + yym586 := z.EncBinary() + _ = yym586 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -6965,54 +7006,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq576[1] { + if yyq581[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym582 := z.EncBinary() - _ = yym582 + yym587 := z.EncBinary() + _ = yym587 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr576 || yy2arr576 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq576[2] { - yy584 := &x.ListMeta - yym585 := z.EncBinary() - _ = yym585 + if yyq581[2] { + yy589 := &x.ListMeta + yym590 := z.EncBinary() + _ = yym590 if false { - } else if z.HasExtensions() && z.EncExt(yy584) { + } else if z.HasExtensions() && z.EncExt(yy589) { } else { - z.EncFallback(yy584) + z.EncFallback(yy589) } } else { r.EncodeNil() } } else { - if yyq576[2] { + if yyq581[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy586 := &x.ListMeta - yym587 := z.EncBinary() - _ = yym587 + yy591 := &x.ListMeta + yym592 := z.EncBinary() + _ = yym592 if false { - } else if z.HasExtensions() && z.EncExt(yy586) { + } else if z.HasExtensions() && z.EncExt(yy591) { } else { - z.EncFallback(yy586) + z.EncFallback(yy591) } } } - if yyr576 || yy2arr576 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym589 := z.EncBinary() - _ = yym589 + yym594 := z.EncBinary() + _ = yym594 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -7025,15 +7066,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym590 := z.EncBinary() - _ = yym590 + yym595 := z.EncBinary() + _ = yym595 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr576 || yy2arr576 { + if yyr581 || yy2arr581 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7046,25 +7087,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym591 := z.DecBinary() - _ = yym591 + yym596 := z.DecBinary() + _ = yym596 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct592 := r.ContainerType() - if yyct592 == codecSelferValueTypeMap1234 { - yyl592 := r.ReadMapStart() - if yyl592 == 0 { + yyct597 := r.ContainerType() + if yyct597 == codecSelferValueTypeMap1234 { + yyl597 := r.ReadMapStart() + if yyl597 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl592, d) + x.codecDecodeSelfFromMap(yyl597, d) } - } else if yyct592 == codecSelferValueTypeArray1234 { - yyl592 := r.ReadArrayStart() - if yyl592 == 0 { + } else if yyct597 == codecSelferValueTypeArray1234 { + yyl597 := r.ReadArrayStart() + if yyl597 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl592, d) + x.codecDecodeSelfFromArray(yyl597, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7076,12 +7117,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys593Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys593Slc - var yyhl593 bool = l >= 0 - for yyj593 := 0; ; yyj593++ { - if yyhl593 { - if yyj593 >= l { + var yys598Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys598Slc + var yyhl598 bool = l >= 0 + for yyj598 := 0; ; yyj598++ { + if yyhl598 { + if yyj598 >= l { break } } else { @@ -7090,10 +7131,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys593Slc = r.DecodeBytes(yys593Slc, true, true) - yys593 := string(yys593Slc) + yys598Slc = r.DecodeBytes(yys598Slc, true, true) + yys598 := string(yys598Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys593 { + switch yys598 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7110,31 +7151,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv596 := &x.ListMeta - yym597 := z.DecBinary() - _ = yym597 + yyv601 := &x.ListMeta + yym602 := z.DecBinary() + _ = yym602 if false { - } else if z.HasExtensions() && z.DecExt(yyv596) { + } else if z.HasExtensions() && z.DecExt(yyv601) { } else { - z.DecFallback(yyv596, false) + z.DecFallback(yyv601, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv598 := &x.Items - yym599 := z.DecBinary() - _ = yym599 + yyv603 := &x.Items + yym604 := z.DecBinary() + _ = yym604 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv598), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv603), d) } } default: - z.DecStructFieldNotFound(-1, yys593) - } // end switch yys593 - } // end for yyj593 + z.DecStructFieldNotFound(-1, yys598) + } // end switch yys598 + } // end for yyj598 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7142,16 +7183,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj600 int - var yyb600 bool - var yyhl600 bool = l >= 0 - yyj600++ - if yyhl600 { - yyb600 = yyj600 > l + var yyj605 int + var yyb605 bool + var yyhl605 bool = l >= 0 + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb600 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb600 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7161,13 +7202,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj600++ - if yyhl600 { - yyb600 = yyj600 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb600 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb600 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7177,13 +7218,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj600++ - if yyhl600 { - yyb600 = yyj600 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb600 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb600 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7191,22 +7232,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv603 := &x.ListMeta - yym604 := z.DecBinary() - _ = yym604 + yyv608 := &x.ListMeta + yym609 := z.DecBinary() + _ = yym609 if false { - } else if z.HasExtensions() && z.DecExt(yyv603) { + } else if z.HasExtensions() && z.DecExt(yyv608) { } else { - z.DecFallback(yyv603, false) + z.DecFallback(yyv608, false) } } - yyj600++ - if yyhl600 { - yyb600 = yyj600 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb600 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb600 { + if yyb605 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7214,26 +7255,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv605 := &x.Items - yym606 := z.DecBinary() - _ = yym606 + yyv610 := &x.Items + yym611 := z.DecBinary() + _ = yym611 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv605), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv610), d) } } for { - yyj600++ - if yyhl600 { - yyb600 = yyj600 > l + yyj605++ + if yyhl605 { + yyb605 = yyj605 > l } else { - yyb600 = r.CheckBreak() + yyb605 = r.CheckBreak() } - if yyb600 { + if yyb605 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj600-1, "") + z.DecStructFieldNotFound(yyj605-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7245,39 +7286,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym607 := z.EncBinary() - _ = yym607 + yym612 := z.EncBinary() + _ = yym612 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep608 := !z.EncBinary() - yy2arr608 := z.EncBasicHandle().StructToArray - var yyq608 [5]bool - _, _, _ = yysep608, yyq608, yy2arr608 - const yyr608 bool = false - yyq608[0] = x.Kind != "" - yyq608[1] = x.APIVersion != "" - yyq608[2] = true - yyq608[3] = true - yyq608[4] = true - var yynn608 int - if yyr608 || yy2arr608 { + 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 { r.EncodeArrayStart(5) } else { - yynn608 = 0 - for _, b := range yyq608 { + yynn613 = 0 + for _, b := range yyq613 { if b { - yynn608++ + yynn613++ } } - r.EncodeMapStart(yynn608) - yynn608 = 0 + r.EncodeMapStart(yynn613) + yynn613 = 0 } - if yyr608 || yy2arr608 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[0] { - yym610 := z.EncBinary() - _ = yym610 + if yyq613[0] { + yym615 := z.EncBinary() + _ = yym615 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7286,23 +7327,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq608[0] { + if yyq613[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym611 := z.EncBinary() - _ = yym611 + yym616 := z.EncBinary() + _ = yym616 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr608 || yy2arr608 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[1] { - yym613 := z.EncBinary() - _ = yym613 + if yyq613[1] { + yym618 := z.EncBinary() + _ = yym618 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7311,70 +7352,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq608[1] { + if yyq613[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym614 := z.EncBinary() - _ = yym614 + yym619 := z.EncBinary() + _ = yym619 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr608 || yy2arr608 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[2] { - yy616 := &x.ObjectMeta - yy616.CodecEncodeSelf(e) + if yyq613[2] { + yy621 := &x.ObjectMeta + yy621.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq608[2] { + if yyq613[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy617 := &x.ObjectMeta - yy617.CodecEncodeSelf(e) + yy622 := &x.ObjectMeta + yy622.CodecEncodeSelf(e) } } - if yyr608 || yy2arr608 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[3] { - yy619 := &x.Spec - yy619.CodecEncodeSelf(e) + if yyq613[3] { + yy624 := &x.Spec + yy624.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq608[3] { + if yyq613[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy620 := &x.Spec - yy620.CodecEncodeSelf(e) + yy625 := &x.Spec + yy625.CodecEncodeSelf(e) } } - if yyr608 || yy2arr608 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq608[4] { - yy622 := &x.Status - yy622.CodecEncodeSelf(e) + if yyq613[4] { + yy627 := &x.Status + yy627.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq608[4] { + if yyq613[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy623 := &x.Status - yy623.CodecEncodeSelf(e) + yy628 := &x.Status + yy628.CodecEncodeSelf(e) } } - if yyr608 || yy2arr608 { + if yyr613 || yy2arr613 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7387,25 +7428,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym624 := z.DecBinary() - _ = yym624 + yym629 := z.DecBinary() + _ = yym629 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct625 := r.ContainerType() - if yyct625 == codecSelferValueTypeMap1234 { - yyl625 := r.ReadMapStart() - if yyl625 == 0 { + yyct630 := r.ContainerType() + if yyct630 == codecSelferValueTypeMap1234 { + yyl630 := r.ReadMapStart() + if yyl630 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl625, d) + x.codecDecodeSelfFromMap(yyl630, d) } - } else if yyct625 == codecSelferValueTypeArray1234 { - yyl625 := r.ReadArrayStart() - if yyl625 == 0 { + } else if yyct630 == codecSelferValueTypeArray1234 { + yyl630 := r.ReadArrayStart() + if yyl630 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl625, d) + x.codecDecodeSelfFromArray(yyl630, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7417,12 +7458,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys626Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys626Slc - var yyhl626 bool = l >= 0 - for yyj626 := 0; ; yyj626++ { - if yyhl626 { - if yyj626 >= l { + var yys631Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys631Slc + var yyhl631 bool = l >= 0 + for yyj631 := 0; ; yyj631++ { + if yyhl631 { + if yyj631 >= l { break } } else { @@ -7431,10 +7472,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys626Slc = r.DecodeBytes(yys626Slc, true, true) - yys626 := string(yys626Slc) + yys631Slc = r.DecodeBytes(yys631Slc, true, true) + yys631 := string(yys631Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys626 { + switch yys631 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7451,27 +7492,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv629 := &x.ObjectMeta - yyv629.CodecDecodeSelf(d) + yyv634 := &x.ObjectMeta + yyv634.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv630 := &x.Spec - yyv630.CodecDecodeSelf(d) + yyv635 := &x.Spec + yyv635.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv631 := &x.Status - yyv631.CodecDecodeSelf(d) + yyv636 := &x.Status + yyv636.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys626) - } // end switch yys626 - } // end for yyj626 + z.DecStructFieldNotFound(-1, yys631) + } // end switch yys631 + } // end for yyj631 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7479,16 +7520,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj632 int - var yyb632 bool - var yyhl632 bool = l >= 0 - yyj632++ - if yyhl632 { - yyb632 = yyj632 > l + var yyj637 int + var yyb637 bool + var yyhl637 bool = l >= 0 + yyj637++ + if yyhl637 { + yyb637 = yyj637 > l } else { - yyb632 = r.CheckBreak() + yyb637 = r.CheckBreak() } - if yyb632 { + if yyb637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7498,13 +7539,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj632++ - if yyhl632 { - yyb632 = yyj632 > l + yyj637++ + if yyhl637 { + yyb637 = yyj637 > l } else { - yyb632 = r.CheckBreak() + yyb637 = r.CheckBreak() } - if yyb632 { + if yyb637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7514,13 +7555,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj632++ - if yyhl632 { - yyb632 = yyj632 > l + yyj637++ + if yyhl637 { + yyb637 = yyj637 > l } else { - yyb632 = r.CheckBreak() + yyb637 = r.CheckBreak() } - if yyb632 { + if yyb637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7528,16 +7569,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv635 := &x.ObjectMeta - yyv635.CodecDecodeSelf(d) + yyv640 := &x.ObjectMeta + yyv640.CodecDecodeSelf(d) } - yyj632++ - if yyhl632 { - yyb632 = yyj632 > l + yyj637++ + if yyhl637 { + yyb637 = yyj637 > l } else { - yyb632 = r.CheckBreak() + yyb637 = r.CheckBreak() } - if yyb632 { + if yyb637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7545,16 +7586,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv636 := &x.Spec - yyv636.CodecDecodeSelf(d) + yyv641 := &x.Spec + yyv641.CodecDecodeSelf(d) } - yyj632++ - if yyhl632 { - yyb632 = yyj632 > l + yyj637++ + if yyhl637 { + yyb637 = yyj637 > l } else { - yyb632 = r.CheckBreak() + yyb637 = r.CheckBreak() } - if yyb632 { + if yyb637 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7562,21 +7603,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv637 := &x.Status - yyv637.CodecDecodeSelf(d) + yyv642 := &x.Status + yyv642.CodecDecodeSelf(d) } for { - yyj632++ - if yyhl632 { - yyb632 = yyj632 > l + yyj637++ + if yyhl637 { + yyb637 = yyj637 > l } else { - yyb632 = r.CheckBreak() + yyb637 = r.CheckBreak() } - if yyb632 { + if yyb637 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj632-1, "") + z.DecStructFieldNotFound(yyj637-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7588,37 +7629,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym638 := z.EncBinary() - _ = yym638 + yym643 := z.EncBinary() + _ = yym643 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep639 := !z.EncBinary() - yy2arr639 := z.EncBasicHandle().StructToArray - var yyq639 [4]bool - _, _, _ = yysep639, yyq639, yy2arr639 - const yyr639 bool = false - yyq639[0] = x.Kind != "" - yyq639[1] = x.APIVersion != "" - yyq639[2] = true - var yynn639 int - if yyr639 || yy2arr639 { + 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 { r.EncodeArrayStart(4) } else { - yynn639 = 1 - for _, b := range yyq639 { + yynn644 = 1 + for _, b := range yyq644 { if b { - yynn639++ + yynn644++ } } - r.EncodeMapStart(yynn639) - yynn639 = 0 + r.EncodeMapStart(yynn644) + yynn644 = 0 } - if yyr639 || yy2arr639 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq639[0] { - yym641 := z.EncBinary() - _ = yym641 + if yyq644[0] { + yym646 := z.EncBinary() + _ = yym646 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -7627,23 +7668,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq639[0] { + if yyq644[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym642 := z.EncBinary() - _ = yym642 + yym647 := z.EncBinary() + _ = yym647 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr639 || yy2arr639 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq639[1] { - yym644 := z.EncBinary() - _ = yym644 + if yyq644[1] { + yym649 := z.EncBinary() + _ = yym649 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -7652,54 +7693,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq639[1] { + if yyq644[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym645 := z.EncBinary() - _ = yym645 + yym650 := z.EncBinary() + _ = yym650 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr639 || yy2arr639 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq639[2] { - yy647 := &x.ListMeta - yym648 := z.EncBinary() - _ = yym648 + if yyq644[2] { + yy652 := &x.ListMeta + yym653 := z.EncBinary() + _ = yym653 if false { - } else if z.HasExtensions() && z.EncExt(yy647) { + } else if z.HasExtensions() && z.EncExt(yy652) { } else { - z.EncFallback(yy647) + z.EncFallback(yy652) } } else { r.EncodeNil() } } else { - if yyq639[2] { + if yyq644[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy649 := &x.ListMeta - yym650 := z.EncBinary() - _ = yym650 + yy654 := &x.ListMeta + yym655 := z.EncBinary() + _ = yym655 if false { - } else if z.HasExtensions() && z.EncExt(yy649) { + } else if z.HasExtensions() && z.EncExt(yy654) { } else { - z.EncFallback(yy649) + z.EncFallback(yy654) } } } - if yyr639 || yy2arr639 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym652 := z.EncBinary() - _ = yym652 + yym657 := z.EncBinary() + _ = yym657 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -7712,15 +7753,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym653 := z.EncBinary() - _ = yym653 + yym658 := z.EncBinary() + _ = yym658 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr639 || yy2arr639 { + if yyr644 || yy2arr644 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -7733,25 +7774,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym654 := z.DecBinary() - _ = yym654 + yym659 := z.DecBinary() + _ = yym659 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct655 := r.ContainerType() - if yyct655 == codecSelferValueTypeMap1234 { - yyl655 := r.ReadMapStart() - if yyl655 == 0 { + yyct660 := r.ContainerType() + if yyct660 == codecSelferValueTypeMap1234 { + yyl660 := r.ReadMapStart() + if yyl660 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl655, d) + x.codecDecodeSelfFromMap(yyl660, d) } - } else if yyct655 == codecSelferValueTypeArray1234 { - yyl655 := r.ReadArrayStart() - if yyl655 == 0 { + } else if yyct660 == codecSelferValueTypeArray1234 { + yyl660 := r.ReadArrayStart() + if yyl660 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl655, d) + x.codecDecodeSelfFromArray(yyl660, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -7763,12 +7804,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys656Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys656Slc - var yyhl656 bool = l >= 0 - for yyj656 := 0; ; yyj656++ { - if yyhl656 { - if yyj656 >= l { + var yys661Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys661Slc + var yyhl661 bool = l >= 0 + for yyj661 := 0; ; yyj661++ { + if yyhl661 { + if yyj661 >= l { break } } else { @@ -7777,10 +7818,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys656Slc = r.DecodeBytes(yys656Slc, true, true) - yys656 := string(yys656Slc) + yys661Slc = r.DecodeBytes(yys661Slc, true, true) + yys661 := string(yys661Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys656 { + switch yys661 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -7797,31 +7838,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv659 := &x.ListMeta - yym660 := z.DecBinary() - _ = yym660 + yyv664 := &x.ListMeta + yym665 := z.DecBinary() + _ = yym665 if false { - } else if z.HasExtensions() && z.DecExt(yyv659) { + } else if z.HasExtensions() && z.DecExt(yyv664) { } else { - z.DecFallback(yyv659, false) + z.DecFallback(yyv664, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv661 := &x.Items - yym662 := z.DecBinary() - _ = yym662 + yyv666 := &x.Items + yym667 := z.DecBinary() + _ = yym667 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv661), d) + h.decSliceIngress((*[]Ingress)(yyv666), d) } } default: - z.DecStructFieldNotFound(-1, yys656) - } // end switch yys656 - } // end for yyj656 + z.DecStructFieldNotFound(-1, yys661) + } // end switch yys661 + } // end for yyj661 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -7829,16 +7870,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj663 int - var yyb663 bool - var yyhl663 bool = l >= 0 - yyj663++ - if yyhl663 { - yyb663 = yyj663 > l + var yyj668 int + var yyb668 bool + var yyhl668 bool = l >= 0 + yyj668++ + if yyhl668 { + yyb668 = yyj668 > l } else { - yyb663 = r.CheckBreak() + yyb668 = r.CheckBreak() } - if yyb663 { + if yyb668 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7848,13 +7889,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj663++ - if yyhl663 { - yyb663 = yyj663 > l + yyj668++ + if yyhl668 { + yyb668 = yyj668 > l } else { - yyb663 = r.CheckBreak() + yyb668 = r.CheckBreak() } - if yyb663 { + if yyb668 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7864,13 +7905,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj663++ - if yyhl663 { - yyb663 = yyj663 > l + yyj668++ + if yyhl668 { + yyb668 = yyj668 > l } else { - yyb663 = r.CheckBreak() + yyb668 = r.CheckBreak() } - if yyb663 { + if yyb668 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7878,22 +7919,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv666 := &x.ListMeta - yym667 := z.DecBinary() - _ = yym667 + yyv671 := &x.ListMeta + yym672 := z.DecBinary() + _ = yym672 if false { - } else if z.HasExtensions() && z.DecExt(yyv666) { + } else if z.HasExtensions() && z.DecExt(yyv671) { } else { - z.DecFallback(yyv666, false) + z.DecFallback(yyv671, false) } } - yyj663++ - if yyhl663 { - yyb663 = yyj663 > l + yyj668++ + if yyhl668 { + yyb668 = yyj668 > l } else { - yyb663 = r.CheckBreak() + yyb668 = r.CheckBreak() } - if yyb663 { + if yyb668 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -7901,26 +7942,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv668 := &x.Items - yym669 := z.DecBinary() - _ = yym669 + yyv673 := &x.Items + yym674 := z.DecBinary() + _ = yym674 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv668), d) + h.decSliceIngress((*[]Ingress)(yyv673), d) } } for { - yyj663++ - if yyhl663 { - yyb663 = yyj663 > l + yyj668++ + if yyhl668 { + yyb668 = yyj668 > l } else { - yyb663 = r.CheckBreak() + yyb668 = r.CheckBreak() } - if yyb663 { + if yyb668 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj663-1, "") + z.DecStructFieldNotFound(yyj668-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -7932,35 +7973,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym670 := z.EncBinary() - _ = yym670 + yym675 := z.EncBinary() + _ = yym675 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep671 := !z.EncBinary() - yy2arr671 := z.EncBasicHandle().StructToArray - var yyq671 [3]bool - _, _, _ = yysep671, yyq671, yy2arr671 - const yyr671 bool = false - yyq671[0] = x.Backend != nil - yyq671[1] = len(x.TLS) != 0 - yyq671[2] = len(x.Rules) != 0 - var yynn671 int - if yyr671 || yy2arr671 { + 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 { r.EncodeArrayStart(3) } else { - yynn671 = 0 - for _, b := range yyq671 { + yynn676 = 0 + for _, b := range yyq676 { if b { - yynn671++ + yynn676++ } } - r.EncodeMapStart(yynn671) - yynn671 = 0 + r.EncodeMapStart(yynn676) + yynn676 = 0 } - if yyr671 || yy2arr671 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq671[0] { + if yyq676[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -7970,7 +8011,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq671[0] { + if yyq676[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -7981,14 +8022,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr671 || yy2arr671 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq671[1] { + if yyq676[1] { if x.TLS == nil { r.EncodeNil() } else { - yym674 := z.EncBinary() - _ = yym674 + yym679 := z.EncBinary() + _ = yym679 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -7998,15 +8039,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq671[1] { + if yyq676[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym675 := z.EncBinary() - _ = yym675 + yym680 := z.EncBinary() + _ = yym680 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -8014,14 +8055,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr671 || yy2arr671 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq671[2] { + if yyq676[2] { if x.Rules == nil { r.EncodeNil() } else { - yym677 := z.EncBinary() - _ = yym677 + yym682 := z.EncBinary() + _ = yym682 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8031,15 +8072,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq671[2] { + if yyq676[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym678 := z.EncBinary() - _ = yym678 + yym683 := z.EncBinary() + _ = yym683 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -8047,7 +8088,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr671 || yy2arr671 { + if yyr676 || yy2arr676 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8060,25 +8101,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym679 := z.DecBinary() - _ = yym679 + yym684 := z.DecBinary() + _ = yym684 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct680 := r.ContainerType() - if yyct680 == codecSelferValueTypeMap1234 { - yyl680 := r.ReadMapStart() - if yyl680 == 0 { + yyct685 := r.ContainerType() + if yyct685 == codecSelferValueTypeMap1234 { + yyl685 := r.ReadMapStart() + if yyl685 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl680, d) + x.codecDecodeSelfFromMap(yyl685, d) } - } else if yyct680 == codecSelferValueTypeArray1234 { - yyl680 := r.ReadArrayStart() - if yyl680 == 0 { + } else if yyct685 == codecSelferValueTypeArray1234 { + yyl685 := r.ReadArrayStart() + if yyl685 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl680, d) + x.codecDecodeSelfFromArray(yyl685, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8090,12 +8131,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys681Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys681Slc - var yyhl681 bool = l >= 0 - for yyj681 := 0; ; yyj681++ { - if yyhl681 { - if yyj681 >= l { + 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 { @@ -8104,10 +8145,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys681Slc = r.DecodeBytes(yys681Slc, true, true) - yys681 := string(yys681Slc) + yys686Slc = r.DecodeBytes(yys686Slc, true, true) + yys686 := string(yys686Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys681 { + switch yys686 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -8123,30 +8164,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv683 := &x.TLS - yym684 := z.DecBinary() - _ = yym684 + yyv688 := &x.TLS + yym689 := z.DecBinary() + _ = yym689 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv683), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv688), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv685 := &x.Rules - yym686 := z.DecBinary() - _ = yym686 + yyv690 := &x.Rules + yym691 := z.DecBinary() + _ = yym691 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv685), d) + h.decSliceIngressRule((*[]IngressRule)(yyv690), d) } } default: - z.DecStructFieldNotFound(-1, yys681) - } // end switch yys681 - } // end for yyj681 + z.DecStructFieldNotFound(-1, yys686) + } // end switch yys686 + } // end for yyj686 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8154,16 +8195,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj687 int - var yyb687 bool - var yyhl687 bool = l >= 0 - yyj687++ - if yyhl687 { - yyb687 = yyj687 > l + var yyj692 int + var yyb692 bool + var yyhl692 bool = l >= 0 + yyj692++ + if yyhl692 { + yyb692 = yyj692 > l } else { - yyb687 = r.CheckBreak() + yyb692 = r.CheckBreak() } - if yyb687 { + if yyb692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8178,13 +8219,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj687++ - if yyhl687 { - yyb687 = yyj687 > l + yyj692++ + if yyhl692 { + yyb692 = yyj692 > l } else { - yyb687 = r.CheckBreak() + yyb692 = r.CheckBreak() } - if yyb687 { + if yyb692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8192,21 +8233,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv689 := &x.TLS - yym690 := z.DecBinary() - _ = yym690 + yyv694 := &x.TLS + yym695 := z.DecBinary() + _ = yym695 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv689), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv694), d) } } - yyj687++ - if yyhl687 { - yyb687 = yyj687 > l + yyj692++ + if yyhl692 { + yyb692 = yyj692 > l } else { - yyb687 = r.CheckBreak() + yyb692 = r.CheckBreak() } - if yyb687 { + if yyb692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8214,26 +8255,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv691 := &x.Rules - yym692 := z.DecBinary() - _ = yym692 + yyv696 := &x.Rules + yym697 := z.DecBinary() + _ = yym697 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv691), d) + h.decSliceIngressRule((*[]IngressRule)(yyv696), d) } } for { - yyj687++ - if yyhl687 { - yyb687 = yyj687 > l + yyj692++ + if yyhl692 { + yyb692 = yyj692 > l } else { - yyb687 = r.CheckBreak() + yyb692 = r.CheckBreak() } - if yyb687 { + if yyb692 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj687-1, "") + z.DecStructFieldNotFound(yyj692-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8245,39 +8286,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym693 := z.EncBinary() - _ = yym693 + yym698 := z.EncBinary() + _ = yym698 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep694 := !z.EncBinary() - yy2arr694 := z.EncBasicHandle().StructToArray - var yyq694 [2]bool - _, _, _ = yysep694, yyq694, yy2arr694 - const yyr694 bool = false - yyq694[0] = len(x.Hosts) != 0 - yyq694[1] = x.SecretName != "" - var yynn694 int - if yyr694 || yy2arr694 { + 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 { - yynn694 = 0 - for _, b := range yyq694 { + yynn699 = 0 + for _, b := range yyq699 { if b { - yynn694++ + yynn699++ } } - r.EncodeMapStart(yynn694) - yynn694 = 0 + r.EncodeMapStart(yynn699) + yynn699 = 0 } - if yyr694 || yy2arr694 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq694[0] { + if yyq699[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym696 := z.EncBinary() - _ = yym696 + yym701 := z.EncBinary() + _ = yym701 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -8287,15 +8328,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq694[0] { + if yyq699[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym697 := z.EncBinary() - _ = yym697 + yym702 := z.EncBinary() + _ = yym702 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -8303,11 +8344,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr694 || yy2arr694 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq694[1] { - yym699 := z.EncBinary() - _ = yym699 + if yyq699[1] { + yym704 := z.EncBinary() + _ = yym704 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -8316,19 +8357,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq694[1] { + if yyq699[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym700 := z.EncBinary() - _ = yym700 + yym705 := z.EncBinary() + _ = yym705 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr694 || yy2arr694 { + if yyr699 || yy2arr699 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8341,25 +8382,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym701 := z.DecBinary() - _ = yym701 + yym706 := z.DecBinary() + _ = yym706 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct702 := r.ContainerType() - if yyct702 == codecSelferValueTypeMap1234 { - yyl702 := r.ReadMapStart() - if yyl702 == 0 { + yyct707 := r.ContainerType() + if yyct707 == codecSelferValueTypeMap1234 { + yyl707 := r.ReadMapStart() + if yyl707 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl702, d) + x.codecDecodeSelfFromMap(yyl707, d) } - } else if yyct702 == codecSelferValueTypeArray1234 { - yyl702 := r.ReadArrayStart() - if yyl702 == 0 { + } else if yyct707 == codecSelferValueTypeArray1234 { + yyl707 := r.ReadArrayStart() + if yyl707 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl702, d) + x.codecDecodeSelfFromArray(yyl707, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8371,12 +8412,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys703Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys703Slc - var yyhl703 bool = l >= 0 - for yyj703 := 0; ; yyj703++ { - if yyhl703 { - if yyj703 >= l { + var 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 { @@ -8385,20 +8426,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys703Slc = r.DecodeBytes(yys703Slc, true, true) - yys703 := string(yys703Slc) + yys708Slc = r.DecodeBytes(yys708Slc, true, true) + yys708 := string(yys708Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys703 { + switch yys708 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv704 := &x.Hosts - yym705 := z.DecBinary() - _ = yym705 + yyv709 := &x.Hosts + yym710 := z.DecBinary() + _ = yym710 if false { } else { - z.F.DecSliceStringX(yyv704, false, d) + z.F.DecSliceStringX(yyv709, false, d) } } case "secretName": @@ -8408,9 +8449,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys703) - } // end switch yys703 - } // end for yyj703 + z.DecStructFieldNotFound(-1, yys708) + } // end switch yys708 + } // end for yyj708 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8418,16 +8459,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj707 int - var yyb707 bool - var yyhl707 bool = l >= 0 - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + var yyj712 int + var yyb712 bool + var yyhl712 bool = l >= 0 + yyj712++ + if yyhl712 { + yyb712 = yyj712 > l } else { - yyb707 = r.CheckBreak() + yyb712 = r.CheckBreak() } - if yyb707 { + if yyb712 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8435,21 +8476,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv708 := &x.Hosts - yym709 := z.DecBinary() - _ = yym709 + yyv713 := &x.Hosts + yym714 := z.DecBinary() + _ = yym714 if false { } else { - z.F.DecSliceStringX(yyv708, false, d) + z.F.DecSliceStringX(yyv713, false, d) } } - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + yyj712++ + if yyhl712 { + yyb712 = yyj712 > l } else { - yyb707 = r.CheckBreak() + yyb712 = r.CheckBreak() } - if yyb707 { + if yyb712 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8460,17 +8501,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj707++ - if yyhl707 { - yyb707 = yyj707 > l + yyj712++ + if yyhl712 { + yyb712 = yyj712 > l } else { - yyb707 = r.CheckBreak() + yyb712 = r.CheckBreak() } - if yyb707 { + if yyb712 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj707-1, "") + z.DecStructFieldNotFound(yyj712-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8482,48 +8523,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym711 := z.EncBinary() - _ = yym711 + yym716 := z.EncBinary() + _ = yym716 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep712 := !z.EncBinary() - yy2arr712 := z.EncBasicHandle().StructToArray - var yyq712 [1]bool - _, _, _ = yysep712, yyq712, yy2arr712 - const yyr712 bool = false - yyq712[0] = true - var yynn712 int - if yyr712 || yy2arr712 { + 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 { - yynn712 = 0 - for _, b := range yyq712 { + yynn717 = 0 + for _, b := range yyq717 { if b { - yynn712++ + yynn717++ } } - r.EncodeMapStart(yynn712) - yynn712 = 0 + r.EncodeMapStart(yynn717) + yynn717 = 0 } - if yyr712 || yy2arr712 { + if yyr717 || yy2arr717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq712[0] { - yy714 := &x.LoadBalancer - yy714.CodecEncodeSelf(e) + if yyq717[0] { + yy719 := &x.LoadBalancer + yy719.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq712[0] { + if yyq717[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy715 := &x.LoadBalancer - yy715.CodecEncodeSelf(e) + yy720 := &x.LoadBalancer + yy720.CodecEncodeSelf(e) } } - if yyr712 || yy2arr712 { + if yyr717 || yy2arr717 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8536,25 +8577,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym716 := z.DecBinary() - _ = yym716 + yym721 := z.DecBinary() + _ = yym721 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct717 := r.ContainerType() - if yyct717 == codecSelferValueTypeMap1234 { - yyl717 := r.ReadMapStart() - if yyl717 == 0 { + yyct722 := r.ContainerType() + if yyct722 == codecSelferValueTypeMap1234 { + yyl722 := r.ReadMapStart() + if yyl722 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl717, d) + x.codecDecodeSelfFromMap(yyl722, d) } - } else if yyct717 == codecSelferValueTypeArray1234 { - yyl717 := r.ReadArrayStart() - if yyl717 == 0 { + } else if yyct722 == codecSelferValueTypeArray1234 { + yyl722 := r.ReadArrayStart() + if yyl722 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl717, d) + x.codecDecodeSelfFromArray(yyl722, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8566,12 +8607,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys718Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys718Slc - var yyhl718 bool = l >= 0 - for yyj718 := 0; ; yyj718++ { - if yyhl718 { - if yyj718 >= l { + 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 { @@ -8580,21 +8621,21 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys718Slc = r.DecodeBytes(yys718Slc, true, true) - yys718 := string(yys718Slc) + yys723Slc = r.DecodeBytes(yys723Slc, true, true) + yys723 := string(yys723Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys718 { + switch yys723 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_api.LoadBalancerStatus{} } else { - yyv719 := &x.LoadBalancer - yyv719.CodecDecodeSelf(d) + yyv724 := &x.LoadBalancer + yyv724.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys718) - } // end switch yys718 - } // end for yyj718 + z.DecStructFieldNotFound(-1, yys723) + } // end switch yys723 + } // end for yyj723 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8602,16 +8643,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj720 int - var yyb720 bool - var yyhl720 bool = l >= 0 - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + var yyj725 int + var yyb725 bool + var yyhl725 bool = l >= 0 + yyj725++ + if yyhl725 { + yyb725 = yyj725 > l } else { - yyb720 = r.CheckBreak() + yyb725 = r.CheckBreak() } - if yyb720 { + if yyb725 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8619,21 +8660,21 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_api.LoadBalancerStatus{} } else { - yyv721 := &x.LoadBalancer - yyv721.CodecDecodeSelf(d) + yyv726 := &x.LoadBalancer + yyv726.CodecDecodeSelf(d) } for { - yyj720++ - if yyhl720 { - yyb720 = yyj720 > l + yyj725++ + if yyhl725 { + yyb725 = yyj725 > l } else { - yyb720 = r.CheckBreak() + yyb725 = r.CheckBreak() } - if yyb720 { + if yyb725 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj720-1, "") + z.DecStructFieldNotFound(yyj725-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8645,36 +8686,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym722 := z.EncBinary() - _ = yym722 + yym727 := z.EncBinary() + _ = yym727 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep723 := !z.EncBinary() - yy2arr723 := z.EncBasicHandle().StructToArray - var yyq723 [2]bool - _, _, _ = yysep723, yyq723, yy2arr723 - const yyr723 bool = false - yyq723[0] = x.Host != "" - yyq723[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn723 int - if yyr723 || yy2arr723 { + 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 { - yynn723 = 0 - for _, b := range yyq723 { + yynn728 = 0 + for _, b := range yyq728 { if b { - yynn723++ + yynn728++ } } - r.EncodeMapStart(yynn723) - yynn723 = 0 + r.EncodeMapStart(yynn728) + yynn728 = 0 } - if yyr723 || yy2arr723 { + if yyr728 || yy2arr728 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[0] { - yym725 := z.EncBinary() - _ = yym725 + if yyq728[0] { + yym730 := z.EncBinary() + _ = yym730 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -8683,30 +8724,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq723[0] { + if yyq728[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym726 := z.EncBinary() - _ = yym726 + yym731 := z.EncBinary() + _ = yym731 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn727 bool + var yyn732 bool if x.IngressRuleValue.HTTP == nil { - yyn727 = true - goto LABEL727 + yyn732 = true + goto LABEL732 } - LABEL727: - if yyr723 || yy2arr723 { - if yyn727 { + LABEL732: + if yyr728 || yy2arr728 { + if yyn732 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq723[1] { + if yyq728[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -8717,11 +8758,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq723[1] { + if yyq728[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn727 { + if yyn732 { r.EncodeNil() } else { if x.HTTP == nil { @@ -8732,7 +8773,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr723 || yy2arr723 { + if yyr728 || yy2arr728 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8745,25 +8786,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym728 := z.DecBinary() - _ = yym728 + yym733 := z.DecBinary() + _ = yym733 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct729 := r.ContainerType() - if yyct729 == codecSelferValueTypeMap1234 { - yyl729 := r.ReadMapStart() - if yyl729 == 0 { + yyct734 := r.ContainerType() + if yyct734 == codecSelferValueTypeMap1234 { + yyl734 := r.ReadMapStart() + if yyl734 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl729, d) + x.codecDecodeSelfFromMap(yyl734, d) } - } else if yyct729 == codecSelferValueTypeArray1234 { - yyl729 := r.ReadArrayStart() - if yyl729 == 0 { + } else if yyct734 == codecSelferValueTypeArray1234 { + yyl734 := r.ReadArrayStart() + if yyl734 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl729, d) + x.codecDecodeSelfFromArray(yyl734, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8775,12 +8816,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys730Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys730Slc - var yyhl730 bool = l >= 0 - for yyj730 := 0; ; yyj730++ { - if yyhl730 { - if yyj730 >= l { + 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 { @@ -8789,10 +8830,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys730Slc = r.DecodeBytes(yys730Slc, true, true) - yys730 := string(yys730Slc) + yys735Slc = r.DecodeBytes(yys735Slc, true, true) + yys735 := string(yys735Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys730 { + switch yys735 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -8814,9 +8855,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys730) - } // end switch yys730 - } // end for yyj730 + z.DecStructFieldNotFound(-1, yys735) + } // end switch yys735 + } // end for yyj735 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8824,16 +8865,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj733 int - var yyb733 bool - var yyhl733 bool = l >= 0 - yyj733++ - if yyhl733 { - yyb733 = yyj733 > l + var yyj738 int + var yyb738 bool + var yyhl738 bool = l >= 0 + yyj738++ + if yyhl738 { + yyb738 = yyj738 > l } else { - yyb733 = r.CheckBreak() + yyb738 = r.CheckBreak() } - if yyb733 { + if yyb738 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8846,13 +8887,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj733++ - if yyhl733 { - yyb733 = yyj733 > l + yyj738++ + if yyhl738 { + yyb738 = yyj738 > l } else { - yyb733 = r.CheckBreak() + yyb738 = r.CheckBreak() } - if yyb733 { + if yyb738 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8868,17 +8909,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj733++ - if yyhl733 { - yyb733 = yyj733 > l + yyj738++ + if yyhl738 { + yyb738 = yyj738 > l } else { - yyb733 = r.CheckBreak() + yyb738 = r.CheckBreak() } - if yyb733 { + if yyb738 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj733-1, "") + z.DecStructFieldNotFound(yyj738-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8890,33 +8931,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym736 := z.EncBinary() - _ = yym736 + yym741 := z.EncBinary() + _ = yym741 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep737 := !z.EncBinary() - yy2arr737 := z.EncBasicHandle().StructToArray - var yyq737 [1]bool - _, _, _ = yysep737, yyq737, yy2arr737 - const yyr737 bool = false - yyq737[0] = x.HTTP != nil - var yynn737 int - if yyr737 || yy2arr737 { + 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 { - yynn737 = 0 - for _, b := range yyq737 { + yynn742 = 0 + for _, b := range yyq742 { if b { - yynn737++ + yynn742++ } } - r.EncodeMapStart(yynn737) - yynn737 = 0 + r.EncodeMapStart(yynn742) + yynn742 = 0 } - if yyr737 || yy2arr737 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq737[0] { + if yyq742[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -8926,7 +8967,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq737[0] { + if yyq742[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -8937,7 +8978,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr737 || yy2arr737 { + if yyr742 || yy2arr742 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8950,25 +8991,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym739 := z.DecBinary() - _ = yym739 + yym744 := z.DecBinary() + _ = yym744 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct740 := r.ContainerType() - if yyct740 == codecSelferValueTypeMap1234 { - yyl740 := r.ReadMapStart() - if yyl740 == 0 { + yyct745 := r.ContainerType() + if yyct745 == codecSelferValueTypeMap1234 { + yyl745 := r.ReadMapStart() + if yyl745 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl740, d) + x.codecDecodeSelfFromMap(yyl745, d) } - } else if yyct740 == codecSelferValueTypeArray1234 { - yyl740 := r.ReadArrayStart() - if yyl740 == 0 { + } else if yyct745 == codecSelferValueTypeArray1234 { + yyl745 := r.ReadArrayStart() + if yyl745 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl740, d) + x.codecDecodeSelfFromArray(yyl745, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8980,12 +9021,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys741Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys741Slc - var yyhl741 bool = l >= 0 - for yyj741 := 0; ; yyj741++ { - if yyhl741 { - if yyj741 >= l { + var yys746Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys746Slc + var yyhl746 bool = l >= 0 + for yyj746 := 0; ; yyj746++ { + if yyhl746 { + if yyj746 >= l { break } } else { @@ -8994,10 +9035,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys741Slc = r.DecodeBytes(yys741Slc, true, true) - yys741 := string(yys741Slc) + yys746Slc = r.DecodeBytes(yys746Slc, true, true) + yys746 := string(yys746Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys741 { + switch yys746 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -9010,9 +9051,9 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys741) - } // end switch yys741 - } // end for yyj741 + z.DecStructFieldNotFound(-1, yys746) + } // end switch yys746 + } // end for yyj746 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9020,16 +9061,16 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj743 int - var yyb743 bool - var yyhl743 bool = l >= 0 - yyj743++ - if yyhl743 { - yyb743 = yyj743 > l + var yyj748 int + var yyb748 bool + var yyhl748 bool = l >= 0 + yyj748++ + if yyhl748 { + yyb748 = yyj748 > l } else { - yyb743 = r.CheckBreak() + yyb748 = r.CheckBreak() } - if yyb743 { + if yyb748 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9045,17 +9086,17 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj743++ - if yyhl743 { - yyb743 = yyj743 > l + yyj748++ + if yyhl748 { + yyb748 = yyj748 > l } else { - yyb743 = r.CheckBreak() + yyb748 = r.CheckBreak() } - if yyb743 { + if yyb748 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj743-1, "") + z.DecStructFieldNotFound(yyj748-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9067,36 +9108,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym745 := z.EncBinary() - _ = yym745 + yym750 := z.EncBinary() + _ = yym750 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep746 := !z.EncBinary() - yy2arr746 := z.EncBasicHandle().StructToArray - var yyq746 [1]bool - _, _, _ = yysep746, yyq746, yy2arr746 - const yyr746 bool = false - var yynn746 int - if yyr746 || yy2arr746 { + yysep751 := !z.EncBinary() + yy2arr751 := z.EncBasicHandle().StructToArray + var yyq751 [1]bool + _, _, _ = yysep751, yyq751, yy2arr751 + const yyr751 bool = false + var yynn751 int + if yyr751 || yy2arr751 { r.EncodeArrayStart(1) } else { - yynn746 = 1 - for _, b := range yyq746 { + yynn751 = 1 + for _, b := range yyq751 { if b { - yynn746++ + yynn751++ } } - r.EncodeMapStart(yynn746) - yynn746 = 0 + r.EncodeMapStart(yynn751) + yynn751 = 0 } - if yyr746 || yy2arr746 { + if yyr751 || yy2arr751 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym748 := z.EncBinary() - _ = yym748 + yym753 := z.EncBinary() + _ = yym753 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -9109,15 +9150,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym749 := z.EncBinary() - _ = yym749 + yym754 := z.EncBinary() + _ = yym754 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr746 || yy2arr746 { + if yyr751 || yy2arr751 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9130,25 +9171,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym750 := z.DecBinary() - _ = yym750 + yym755 := z.DecBinary() + _ = yym755 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct751 := r.ContainerType() - if yyct751 == codecSelferValueTypeMap1234 { - yyl751 := r.ReadMapStart() - if yyl751 == 0 { + yyct756 := r.ContainerType() + if yyct756 == codecSelferValueTypeMap1234 { + yyl756 := r.ReadMapStart() + if yyl756 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl751, d) + x.codecDecodeSelfFromMap(yyl756, d) } - } else if yyct751 == codecSelferValueTypeArray1234 { - yyl751 := r.ReadArrayStart() - if yyl751 == 0 { + } else if yyct756 == codecSelferValueTypeArray1234 { + yyl756 := r.ReadArrayStart() + if yyl756 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl751, d) + x.codecDecodeSelfFromArray(yyl756, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9160,12 +9201,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys752Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys752Slc - var yyhl752 bool = l >= 0 - for yyj752 := 0; ; yyj752++ { - if yyhl752 { - if yyj752 >= l { + var yys757Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys757Slc + var yyhl757 bool = l >= 0 + for yyj757 := 0; ; yyj757++ { + if yyhl757 { + if yyj757 >= l { break } } else { @@ -9174,26 +9215,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys752Slc = r.DecodeBytes(yys752Slc, true, true) - yys752 := string(yys752Slc) + yys757Slc = r.DecodeBytes(yys757Slc, true, true) + yys757 := string(yys757Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys752 { + switch yys757 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv753 := &x.Paths - yym754 := z.DecBinary() - _ = yym754 + yyv758 := &x.Paths + yym759 := z.DecBinary() + _ = yym759 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv753), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv758), d) } } default: - z.DecStructFieldNotFound(-1, yys752) - } // end switch yys752 - } // end for yyj752 + z.DecStructFieldNotFound(-1, yys757) + } // end switch yys757 + } // end for yyj757 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9201,16 +9242,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj755 int - var yyb755 bool - var yyhl755 bool = l >= 0 - yyj755++ - if yyhl755 { - yyb755 = yyj755 > l + var yyj760 int + var yyb760 bool + var yyhl760 bool = l >= 0 + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb755 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb755 { + if yyb760 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9218,26 +9259,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv756 := &x.Paths - yym757 := z.DecBinary() - _ = yym757 + yyv761 := &x.Paths + yym762 := z.DecBinary() + _ = yym762 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv756), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv761), d) } } for { - yyj755++ - if yyhl755 { - yyb755 = yyj755 > l + yyj760++ + if yyhl760 { + yyb760 = yyj760 > l } else { - yyb755 = r.CheckBreak() + yyb760 = r.CheckBreak() } - if yyb755 { + if yyb760 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj755-1, "") + z.DecStructFieldNotFound(yyj760-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9249,35 +9290,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym758 := z.EncBinary() - _ = yym758 + yym763 := z.EncBinary() + _ = yym763 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] = x.Path != "" - var yynn759 int - if yyr759 || yy2arr759 { + 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 { r.EncodeArrayStart(2) } else { - yynn759 = 1 - for _, b := range yyq759 { + yynn764 = 1 + for _, b := range yyq764 { if b { - yynn759++ + yynn764++ } } - r.EncodeMapStart(yynn759) - yynn759 = 0 + r.EncodeMapStart(yynn764) + yynn764 = 0 } - if yyr759 || yy2arr759 { + if yyr764 || yy2arr764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq759[0] { - yym761 := z.EncBinary() - _ = yym761 + if yyq764[0] { + yym766 := z.EncBinary() + _ = yym766 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -9286,30 +9327,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq759[0] { + if yyq764[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym762 := z.EncBinary() - _ = yym762 + yym767 := z.EncBinary() + _ = yym767 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr759 || yy2arr759 { + if yyr764 || yy2arr764 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy764 := &x.Backend - yy764.CodecEncodeSelf(e) + yy769 := &x.Backend + yy769.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy765 := &x.Backend - yy765.CodecEncodeSelf(e) + yy770 := &x.Backend + yy770.CodecEncodeSelf(e) } - if yyr759 || yy2arr759 { + if yyr764 || yy2arr764 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9322,25 +9363,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym766 := z.DecBinary() - _ = yym766 + yym771 := z.DecBinary() + _ = yym771 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct767 := r.ContainerType() - if yyct767 == codecSelferValueTypeMap1234 { - yyl767 := r.ReadMapStart() - if yyl767 == 0 { + yyct772 := r.ContainerType() + if yyct772 == codecSelferValueTypeMap1234 { + yyl772 := r.ReadMapStart() + if yyl772 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl767, d) + x.codecDecodeSelfFromMap(yyl772, d) } - } else if yyct767 == codecSelferValueTypeArray1234 { - yyl767 := r.ReadArrayStart() - if yyl767 == 0 { + } else if yyct772 == codecSelferValueTypeArray1234 { + yyl772 := r.ReadArrayStart() + if yyl772 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl767, d) + x.codecDecodeSelfFromArray(yyl772, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9352,12 +9393,12 @@ func (x *HTTPIngressPath) 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 { + var yys773Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys773Slc + var yyhl773 bool = l >= 0 + for yyj773 := 0; ; yyj773++ { + if yyhl773 { + if yyj773 >= l { break } } else { @@ -9366,10 +9407,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys768Slc = r.DecodeBytes(yys768Slc, true, true) - yys768 := string(yys768Slc) + yys773Slc = r.DecodeBytes(yys773Slc, true, true) + yys773 := string(yys773Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys768 { + switch yys773 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -9380,13 +9421,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv770 := &x.Backend - yyv770.CodecDecodeSelf(d) + yyv775 := &x.Backend + yyv775.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys768) - } // end switch yys768 - } // end for yyj768 + z.DecStructFieldNotFound(-1, yys773) + } // end switch yys773 + } // end for yyj773 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9394,16 +9435,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) 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 yyj776 int + var yyb776 bool + var yyhl776 bool = l >= 0 + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9413,13 +9454,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9427,21 +9468,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv773 := &x.Backend - yyv773.CodecDecodeSelf(d) + yyv778 := &x.Backend + yyv778.CodecDecodeSelf(d) } for { - yyj771++ - if yyhl771 { - yyb771 = yyj771 > l + yyj776++ + if yyhl776 { + yyb776 = yyj776 > l } else { - yyb771 = r.CheckBreak() + yyb776 = r.CheckBreak() } - if yyb771 { + if yyb776 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj771-1, "") + z.DecStructFieldNotFound(yyj776-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9453,33 +9494,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym774 := z.EncBinary() - _ = yym774 + yym779 := z.EncBinary() + _ = yym779 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep775 := !z.EncBinary() - yy2arr775 := z.EncBasicHandle().StructToArray - var yyq775 [2]bool - _, _, _ = yysep775, yyq775, yy2arr775 - const yyr775 bool = false - var yynn775 int - if yyr775 || yy2arr775 { + yysep780 := !z.EncBinary() + yy2arr780 := z.EncBasicHandle().StructToArray + var yyq780 [2]bool + _, _, _ = yysep780, yyq780, yy2arr780 + const yyr780 bool = false + var yynn780 int + if yyr780 || yy2arr780 { r.EncodeArrayStart(2) } else { - yynn775 = 2 - for _, b := range yyq775 { + yynn780 = 2 + for _, b := range yyq780 { if b { - yynn775++ + yynn780++ } } - r.EncodeMapStart(yynn775) - yynn775 = 0 + r.EncodeMapStart(yynn780) + yynn780 = 0 } - if yyr775 || yy2arr775 { + if yyr780 || yy2arr780 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym777 := z.EncBinary() - _ = yym777 + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -9488,41 +9529,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym778 := z.EncBinary() - _ = yym778 + yym783 := z.EncBinary() + _ = yym783 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr775 || yy2arr775 { + if yyr780 || yy2arr780 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy780 := &x.ServicePort - yym781 := z.EncBinary() - _ = yym781 + yy785 := &x.ServicePort + yym786 := z.EncBinary() + _ = yym786 if false { - } else if z.HasExtensions() && z.EncExt(yy780) { - } else if !yym781 && z.IsJSONHandle() { - z.EncJSONMarshal(yy780) + } else if z.HasExtensions() && z.EncExt(yy785) { + } else if !yym786 && z.IsJSONHandle() { + z.EncJSONMarshal(yy785) } else { - z.EncFallback(yy780) + z.EncFallback(yy785) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy782 := &x.ServicePort - yym783 := z.EncBinary() - _ = yym783 + yy787 := &x.ServicePort + yym788 := z.EncBinary() + _ = yym788 if false { - } else if z.HasExtensions() && z.EncExt(yy782) { - } else if !yym783 && z.IsJSONHandle() { - z.EncJSONMarshal(yy782) + } else if z.HasExtensions() && z.EncExt(yy787) { + } else if !yym788 && z.IsJSONHandle() { + z.EncJSONMarshal(yy787) } else { - z.EncFallback(yy782) + z.EncFallback(yy787) } } - if yyr775 || yy2arr775 { + if yyr780 || yy2arr780 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9535,25 +9576,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym784 := z.DecBinary() - _ = yym784 + yym789 := z.DecBinary() + _ = yym789 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct785 := r.ContainerType() - if yyct785 == codecSelferValueTypeMap1234 { - yyl785 := r.ReadMapStart() - if yyl785 == 0 { + yyct790 := r.ContainerType() + if yyct790 == codecSelferValueTypeMap1234 { + yyl790 := r.ReadMapStart() + if yyl790 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl785, d) + x.codecDecodeSelfFromMap(yyl790, d) } - } else if yyct785 == codecSelferValueTypeArray1234 { - yyl785 := r.ReadArrayStart() - if yyl785 == 0 { + } else if yyct790 == codecSelferValueTypeArray1234 { + yyl790 := r.ReadArrayStart() + if yyl790 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl785, d) + x.codecDecodeSelfFromArray(yyl790, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9565,12 +9606,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys786Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys786Slc - var yyhl786 bool = l >= 0 - for yyj786 := 0; ; yyj786++ { - if yyhl786 { - if yyj786 >= l { + var yys791Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys791Slc + var yyhl791 bool = l >= 0 + for yyj791 := 0; ; yyj791++ { + if yyhl791 { + if yyj791 >= l { break } } else { @@ -9579,10 +9620,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys786Slc = r.DecodeBytes(yys786Slc, true, true) - yys786 := string(yys786Slc) + yys791Slc = r.DecodeBytes(yys791Slc, true, true) + yys791 := string(yys791Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys786 { + switch yys791 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -9593,21 +9634,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv788 := &x.ServicePort - yym789 := z.DecBinary() - _ = yym789 + yyv793 := &x.ServicePort + yym794 := z.DecBinary() + _ = yym794 if false { - } else if z.HasExtensions() && z.DecExt(yyv788) { - } else if !yym789 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv788) + } else if z.HasExtensions() && z.DecExt(yyv793) { + } else if !yym794 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv793) } else { - z.DecFallback(yyv788, false) + z.DecFallback(yyv793, false) } } default: - z.DecStructFieldNotFound(-1, yys786) - } // end switch yys786 - } // end for yyj786 + z.DecStructFieldNotFound(-1, yys791) + } // end switch yys791 + } // end for yyj791 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9615,16 +9656,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj790 int - var yyb790 bool - var yyhl790 bool = l >= 0 - yyj790++ - if yyhl790 { - yyb790 = yyj790 > l + var yyj795 int + var yyb795 bool + var yyhl795 bool = l >= 0 + yyj795++ + if yyhl795 { + yyb795 = yyj795 > l } else { - yyb790 = r.CheckBreak() + yyb795 = r.CheckBreak() } - if yyb790 { + if yyb795 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9634,13 +9675,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj790++ - if yyhl790 { - yyb790 = yyj790 > l + yyj795++ + if yyhl795 { + yyb795 = yyj795 > l } else { - yyb790 = r.CheckBreak() + yyb795 = r.CheckBreak() } - if yyb790 { + if yyb795 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9648,29 +9689,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv792 := &x.ServicePort - yym793 := z.DecBinary() - _ = yym793 + yyv797 := &x.ServicePort + yym798 := z.DecBinary() + _ = yym798 if false { - } else if z.HasExtensions() && z.DecExt(yyv792) { - } else if !yym793 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv792) + } else if z.HasExtensions() && z.DecExt(yyv797) { + } else if !yym798 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv797) } else { - z.DecFallback(yyv792, false) + z.DecFallback(yyv797, false) } } for { - yyj790++ - if yyhl790 { - yyb790 = yyj790 > l + yyj795++ + if yyhl795 { + yyb795 = yyj795 > l } else { - yyb790 = r.CheckBreak() + yyb795 = r.CheckBreak() } - if yyb790 { + if yyb795 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj790-1, "") + z.DecStructFieldNotFound(yyj795-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9682,39 +9723,39 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym794 := z.EncBinary() - _ = yym794 + yym799 := z.EncBinary() + _ = yym799 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep795 := !z.EncBinary() - yy2arr795 := z.EncBasicHandle().StructToArray - var yyq795 [5]bool - _, _, _ = yysep795, yyq795, yy2arr795 - const yyr795 bool = false - yyq795[0] = x.Kind != "" - yyq795[1] = x.APIVersion != "" - yyq795[2] = true - yyq795[3] = true - yyq795[4] = true - var yynn795 int - if yyr795 || yy2arr795 { + 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 { - yynn795 = 0 - for _, b := range yyq795 { + yynn800 = 0 + for _, b := range yyq800 { if b { - yynn795++ + yynn800++ } } - r.EncodeMapStart(yynn795) - yynn795 = 0 + r.EncodeMapStart(yynn800) + yynn800 = 0 } - if yyr795 || yy2arr795 { + if yyr800 || yy2arr800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq795[0] { - yym797 := z.EncBinary() - _ = yym797 + if yyq800[0] { + yym802 := z.EncBinary() + _ = yym802 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9723,23 +9764,23 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq795[0] { + if yyq800[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym798 := z.EncBinary() - _ = yym798 + yym803 := z.EncBinary() + _ = yym803 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr795 || yy2arr795 { + if yyr800 || yy2arr800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq795[1] { - yym800 := z.EncBinary() - _ = yym800 + if yyq800[1] { + yym805 := z.EncBinary() + _ = yym805 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9748,70 +9789,70 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq795[1] { + if yyq800[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym801 := z.EncBinary() - _ = yym801 + yym806 := z.EncBinary() + _ = yym806 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr795 || yy2arr795 { + if yyr800 || yy2arr800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq795[2] { - yy803 := &x.ObjectMeta - yy803.CodecEncodeSelf(e) + if yyq800[2] { + yy808 := &x.ObjectMeta + yy808.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq795[2] { + if yyq800[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy804 := &x.ObjectMeta - yy804.CodecEncodeSelf(e) + yy809 := &x.ObjectMeta + yy809.CodecEncodeSelf(e) } } - if yyr795 || yy2arr795 { + if yyr800 || yy2arr800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq795[3] { - yy806 := &x.Spec - yy806.CodecEncodeSelf(e) + if yyq800[3] { + yy811 := &x.Spec + yy811.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq795[3] { + if yyq800[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy807 := &x.Spec - yy807.CodecEncodeSelf(e) + yy812 := &x.Spec + yy812.CodecEncodeSelf(e) } } - if yyr795 || yy2arr795 { + if yyr800 || yy2arr800 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq795[4] { - yy809 := &x.Status - yy809.CodecEncodeSelf(e) + if yyq800[4] { + yy814 := &x.Status + yy814.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq795[4] { + if yyq800[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy810 := &x.Status - yy810.CodecEncodeSelf(e) + yy815 := &x.Status + yy815.CodecEncodeSelf(e) } } - if yyr795 || yy2arr795 { + if yyr800 || yy2arr800 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9824,25 +9865,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym811 := z.DecBinary() - _ = yym811 + yym816 := z.DecBinary() + _ = yym816 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct812 := r.ContainerType() - if yyct812 == codecSelferValueTypeMap1234 { - yyl812 := r.ReadMapStart() - if yyl812 == 0 { + yyct817 := r.ContainerType() + if yyct817 == codecSelferValueTypeMap1234 { + yyl817 := r.ReadMapStart() + if yyl817 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl812, d) + x.codecDecodeSelfFromMap(yyl817, d) } - } else if yyct812 == codecSelferValueTypeArray1234 { - yyl812 := r.ReadArrayStart() - if yyl812 == 0 { + } else if yyct817 == codecSelferValueTypeArray1234 { + yyl817 := r.ReadArrayStart() + if yyl817 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl812, d) + x.codecDecodeSelfFromArray(yyl817, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9854,12 +9895,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys813Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys813Slc - var yyhl813 bool = l >= 0 - for yyj813 := 0; ; yyj813++ { - if yyhl813 { - if yyj813 >= l { + 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 { @@ -9868,10 +9909,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys813Slc = r.DecodeBytes(yys813Slc, true, true) - yys813 := string(yys813Slc) + yys818Slc = r.DecodeBytes(yys818Slc, true, true) + yys818 := string(yys818Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys813 { + switch yys818 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9888,27 +9929,27 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv816 := &x.ObjectMeta - yyv816.CodecDecodeSelf(d) + yyv821 := &x.ObjectMeta + yyv821.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv817 := &x.Spec - yyv817.CodecDecodeSelf(d) + yyv822 := &x.Spec + yyv822.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv818 := &x.Status - yyv818.CodecDecodeSelf(d) + yyv823 := &x.Status + yyv823.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys813) - } // end switch yys813 - } // end for yyj813 + z.DecStructFieldNotFound(-1, yys818) + } // end switch yys818 + } // end for yyj818 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9916,16 +9957,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj819 int - var yyb819 bool - var yyhl819 bool = l >= 0 - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + var yyj824 int + var yyb824 bool + var yyhl824 bool = l >= 0 + yyj824++ + if yyhl824 { + yyb824 = yyj824 > l } else { - yyb819 = r.CheckBreak() + yyb824 = r.CheckBreak() } - if yyb819 { + if yyb824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9935,13 +9976,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj824++ + if yyhl824 { + yyb824 = yyj824 > l } else { - yyb819 = r.CheckBreak() + yyb824 = r.CheckBreak() } - if yyb819 { + if yyb824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9951,13 +9992,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj824++ + if yyhl824 { + yyb824 = yyj824 > l } else { - yyb819 = r.CheckBreak() + yyb824 = r.CheckBreak() } - if yyb819 { + if yyb824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9965,16 +10006,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv822 := &x.ObjectMeta - yyv822.CodecDecodeSelf(d) + yyv827 := &x.ObjectMeta + yyv827.CodecDecodeSelf(d) } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj824++ + if yyhl824 { + yyb824 = yyj824 > l } else { - yyb819 = r.CheckBreak() + yyb824 = r.CheckBreak() } - if yyb819 { + if yyb824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9982,16 +10023,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv823 := &x.Spec - yyv823.CodecDecodeSelf(d) + yyv828 := &x.Spec + yyv828.CodecDecodeSelf(d) } - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj824++ + if yyhl824 { + yyb824 = yyj824 > l } else { - yyb819 = r.CheckBreak() + yyb824 = r.CheckBreak() } - if yyb819 { + if yyb824 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9999,21 +10040,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv824 := &x.Status - yyv824.CodecDecodeSelf(d) + yyv829 := &x.Status + yyv829.CodecDecodeSelf(d) } for { - yyj819++ - if yyhl819 { - yyb819 = yyj819 > l + yyj824++ + if yyhl824 { + yyb824 = yyj824 > l } else { - yyb819 = r.CheckBreak() + yyb824 = r.CheckBreak() } - if yyb819 { + if yyb824 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj819-1, "") + z.DecStructFieldNotFound(yyj824-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10025,37 +10066,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym825 := z.EncBinary() - _ = yym825 + yym830 := z.EncBinary() + _ = yym830 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep826 := !z.EncBinary() - yy2arr826 := z.EncBasicHandle().StructToArray - var yyq826 [4]bool - _, _, _ = yysep826, yyq826, yy2arr826 - const yyr826 bool = false - yyq826[0] = x.Kind != "" - yyq826[1] = x.APIVersion != "" - yyq826[2] = true - var yynn826 int - if yyr826 || yy2arr826 { + 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 { - yynn826 = 1 - for _, b := range yyq826 { + yynn831 = 1 + for _, b := range yyq831 { if b { - yynn826++ + yynn831++ } } - r.EncodeMapStart(yynn826) - yynn826 = 0 + r.EncodeMapStart(yynn831) + yynn831 = 0 } - if yyr826 || yy2arr826 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq826[0] { - yym828 := z.EncBinary() - _ = yym828 + if yyq831[0] { + yym833 := z.EncBinary() + _ = yym833 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -10064,23 +10105,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq826[0] { + if yyq831[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym829 := z.EncBinary() - _ = yym829 + yym834 := z.EncBinary() + _ = yym834 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr826 || yy2arr826 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq826[1] { - yym831 := z.EncBinary() - _ = yym831 + if yyq831[1] { + yym836 := z.EncBinary() + _ = yym836 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -10089,54 +10130,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq826[1] { + if yyq831[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym832 := z.EncBinary() - _ = yym832 + yym837 := z.EncBinary() + _ = yym837 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr826 || yy2arr826 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq826[2] { - yy834 := &x.ListMeta - yym835 := z.EncBinary() - _ = yym835 + if yyq831[2] { + yy839 := &x.ListMeta + yym840 := z.EncBinary() + _ = yym840 if false { - } else if z.HasExtensions() && z.EncExt(yy834) { + } else if z.HasExtensions() && z.EncExt(yy839) { } else { - z.EncFallback(yy834) + z.EncFallback(yy839) } } else { r.EncodeNil() } } else { - if yyq826[2] { + if yyq831[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy836 := &x.ListMeta - yym837 := z.EncBinary() - _ = yym837 + yy841 := &x.ListMeta + yym842 := z.EncBinary() + _ = yym842 if false { - } else if z.HasExtensions() && z.EncExt(yy836) { + } else if z.HasExtensions() && z.EncExt(yy841) { } else { - z.EncFallback(yy836) + z.EncFallback(yy841) } } } - if yyr826 || yy2arr826 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym839 := z.EncBinary() - _ = yym839 + yym844 := z.EncBinary() + _ = yym844 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -10149,15 +10190,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym840 := z.EncBinary() - _ = yym840 + yym845 := z.EncBinary() + _ = yym845 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr826 || yy2arr826 { + if yyr831 || yy2arr831 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10170,25 +10211,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym841 := z.DecBinary() - _ = yym841 + yym846 := z.DecBinary() + _ = yym846 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct842 := r.ContainerType() - if yyct842 == codecSelferValueTypeMap1234 { - yyl842 := r.ReadMapStart() - if yyl842 == 0 { + yyct847 := r.ContainerType() + if yyct847 == codecSelferValueTypeMap1234 { + yyl847 := r.ReadMapStart() + if yyl847 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl842, d) + x.codecDecodeSelfFromMap(yyl847, d) } - } else if yyct842 == codecSelferValueTypeArray1234 { - yyl842 := r.ReadArrayStart() - if yyl842 == 0 { + } else if yyct847 == codecSelferValueTypeArray1234 { + yyl847 := r.ReadArrayStart() + if yyl847 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl842, d) + x.codecDecodeSelfFromArray(yyl847, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10200,12 +10241,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys843Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys843Slc - var yyhl843 bool = l >= 0 - for yyj843 := 0; ; yyj843++ { - if yyhl843 { - if yyj843 >= l { + 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 { @@ -10214,10 +10255,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys843Slc = r.DecodeBytes(yys843Slc, true, true) - yys843 := string(yys843Slc) + yys848Slc = r.DecodeBytes(yys848Slc, true, true) + yys848 := string(yys848Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys843 { + switch yys848 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -10234,31 +10275,31 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv846 := &x.ListMeta - yym847 := z.DecBinary() - _ = yym847 + yyv851 := &x.ListMeta + yym852 := z.DecBinary() + _ = yym852 if false { - } else if z.HasExtensions() && z.DecExt(yyv846) { + } else if z.HasExtensions() && z.DecExt(yyv851) { } else { - z.DecFallback(yyv846, false) + z.DecFallback(yyv851, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv848 := &x.Items - yym849 := z.DecBinary() - _ = yym849 + yyv853 := &x.Items + yym854 := z.DecBinary() + _ = yym854 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv848), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv853), d) } } default: - z.DecStructFieldNotFound(-1, yys843) - } // end switch yys843 - } // end for yyj843 + z.DecStructFieldNotFound(-1, yys848) + } // end switch yys848 + } // end for yyj848 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10266,16 +10307,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj850 int - var yyb850 bool - var yyhl850 bool = l >= 0 - yyj850++ - if yyhl850 { - yyb850 = yyj850 > l + var yyj855 int + var yyb855 bool + var yyhl855 bool = l >= 0 + yyj855++ + if yyhl855 { + yyb855 = yyj855 > l } else { - yyb850 = r.CheckBreak() + yyb855 = r.CheckBreak() } - if yyb850 { + if yyb855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10285,13 +10326,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj850++ - if yyhl850 { - yyb850 = yyj850 > l + yyj855++ + if yyhl855 { + yyb855 = yyj855 > l } else { - yyb850 = r.CheckBreak() + yyb855 = r.CheckBreak() } - if yyb850 { + if yyb855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10301,13 +10342,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj850++ - if yyhl850 { - yyb850 = yyj850 > l + yyj855++ + if yyhl855 { + yyb855 = yyj855 > l } else { - yyb850 = r.CheckBreak() + yyb855 = r.CheckBreak() } - if yyb850 { + if yyb855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10315,22 +10356,22 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv853 := &x.ListMeta - yym854 := z.DecBinary() - _ = yym854 + yyv858 := &x.ListMeta + yym859 := z.DecBinary() + _ = yym859 if false { - } else if z.HasExtensions() && z.DecExt(yyv853) { + } else if z.HasExtensions() && z.DecExt(yyv858) { } else { - z.DecFallback(yyv853, false) + z.DecFallback(yyv858, false) } } - yyj850++ - if yyhl850 { - yyb850 = yyj850 > l + yyj855++ + if yyhl855 { + yyb855 = yyj855 > l } else { - yyb850 = r.CheckBreak() + yyb855 = r.CheckBreak() } - if yyb850 { + if yyb855 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10338,26 +10379,26 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv855 := &x.Items - yym856 := z.DecBinary() - _ = yym856 + yyv860 := &x.Items + yym861 := z.DecBinary() + _ = yym861 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv855), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv860), d) } } for { - yyj850++ - if yyhl850 { - yyb850 = yyj850 > l + yyj855++ + if yyhl855 { + yyb855 = yyj855 > l } else { - yyb850 = r.CheckBreak() + yyb855 = r.CheckBreak() } - if yyb850 { + if yyb855 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj850-1, "") + z.DecStructFieldNotFound(yyj855-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10369,35 +10410,36 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym857 := z.EncBinary() - _ = yym857 + yym862 := z.EncBinary() + _ = yym862 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep858 := !z.EncBinary() - yy2arr858 := z.EncBasicHandle().StructToArray - var yyq858 [3]bool - _, _, _ = yysep858, yyq858, yy2arr858 - const yyr858 bool = false - yyq858[1] = x.Selector != nil - yyq858[2] = true - var yynn858 int - if yyr858 || yy2arr858 { - r.EncodeArrayStart(3) + 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) } else { - yynn858 = 1 - for _, b := range yyq858 { + yynn863 = 1 + for _, b := range yyq863 { if b { - yynn858++ + yynn863++ } } - r.EncodeMapStart(yynn858) - yynn858 = 0 + r.EncodeMapStart(yynn863) + yynn863 = 0 } - if yyr858 || yy2arr858 { + if yyr863 || yy2arr863 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym860 := z.EncBinary() - _ = yym860 + yym865 := z.EncBinary() + _ = yym865 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -10406,21 +10448,46 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym861 := z.EncBinary() - _ = yym861 + yym866 := z.EncBinary() + _ = yym866 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr858 || yy2arr858 { + if yyr863 || yy2arr863 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq858[1] { + if yyq863[1] { + yym868 := z.EncBinary() + _ = yym868 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq863[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("minReadySeconds")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym869 := z.EncBinary() + _ = yym869 + if false { + } else { + r.EncodeInt(int64(x.MinReadySeconds)) + } + } + } + if yyr863 || yy2arr863 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq863[2] { if x.Selector == nil { r.EncodeNil() } else { - yym863 := z.EncBinary() - _ = yym863 + yym871 := z.EncBinary() + _ = yym871 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -10431,15 +10498,15 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq858[1] { + if yyq863[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Selector == nil { r.EncodeNil() } else { - yym864 := z.EncBinary() - _ = yym864 + yym872 := z.EncBinary() + _ = yym872 if false { } else if z.HasExtensions() && z.EncExt(x.Selector) { } else { @@ -10448,24 +10515,24 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr858 || yy2arr858 { + if yyr863 || yy2arr863 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq858[2] { - yy866 := &x.Template - yy866.CodecEncodeSelf(e) + if yyq863[3] { + yy874 := &x.Template + yy874.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq858[2] { + if yyq863[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy867 := &x.Template - yy867.CodecEncodeSelf(e) + yy875 := &x.Template + yy875.CodecEncodeSelf(e) } } - if yyr858 || yy2arr858 { + if yyr863 || yy2arr863 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10478,25 +10545,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym868 := z.DecBinary() - _ = yym868 + yym876 := z.DecBinary() + _ = yym876 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct869 := r.ContainerType() - if yyct869 == codecSelferValueTypeMap1234 { - yyl869 := r.ReadMapStart() - if yyl869 == 0 { + yyct877 := r.ContainerType() + if yyct877 == codecSelferValueTypeMap1234 { + yyl877 := r.ReadMapStart() + if yyl877 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl869, d) + x.codecDecodeSelfFromMap(yyl877, d) } - } else if yyct869 == codecSelferValueTypeArray1234 { - yyl869 := r.ReadArrayStart() - if yyl869 == 0 { + } else if yyct877 == codecSelferValueTypeArray1234 { + yyl877 := r.ReadArrayStart() + if yyl877 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl869, d) + x.codecDecodeSelfFromArray(yyl877, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10508,12 +10575,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys870Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys870Slc - var yyhl870 bool = l >= 0 - for yyj870 := 0; ; yyj870++ { - if yyhl870 { - if yyj870 >= l { + var yys878Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys878Slc + var yyhl878 bool = l >= 0 + for yyj878 := 0; ; yyj878++ { + if yyhl878 { + if yyj878 >= l { break } } else { @@ -10522,16 +10589,22 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys870Slc = r.DecodeBytes(yys870Slc, true, true) - yys870 := string(yys870Slc) + yys878Slc = r.DecodeBytes(yys878Slc, true, true) + yys878 := string(yys878Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys870 { + switch yys878 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 } else { 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 { @@ -10541,8 +10614,8 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym873 := z.DecBinary() - _ = yym873 + yym882 := z.DecBinary() + _ = yym882 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { @@ -10553,13 +10626,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv874 := &x.Template - yyv874.CodecDecodeSelf(d) + yyv883 := &x.Template + yyv883.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys870) - } // end switch yys870 - } // end for yyj870 + z.DecStructFieldNotFound(-1, yys878) + } // end switch yys878 + } // end for yyj878 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10567,16 +10640,16 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj875 int - var yyb875 bool - var yyhl875 bool = l >= 0 - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + var yyj884 int + var yyb884 bool + var yyhl884 bool = l >= 0 + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l } else { - yyb875 = r.CheckBreak() + yyb884 = r.CheckBreak() } - if yyb875 { + if yyb884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10586,13 +10659,29 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l } else { - yyb875 = r.CheckBreak() + yyb884 = r.CheckBreak() } - if yyb875 { + if yyb884 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.MinReadySeconds = 0 + } else { + x.MinReadySeconds = int32(r.DecodeInt(32)) + } + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l + } else { + yyb884 = r.CheckBreak() + } + if yyb884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10605,21 +10694,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Selector == nil { x.Selector = new(pkg1_unversioned.LabelSelector) } - yym878 := z.DecBinary() - _ = yym878 + yym888 := z.DecBinary() + _ = yym888 if false { } else if z.HasExtensions() && z.DecExt(x.Selector) { } else { z.DecFallback(x.Selector, false) } } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l } else { - yyb875 = r.CheckBreak() + yyb884 = r.CheckBreak() } - if yyb875 { + if yyb884 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10627,21 +10716,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_api.PodTemplateSpec{} } else { - yyv879 := &x.Template - yyv879.CodecDecodeSelf(d) + yyv889 := &x.Template + yyv889.CodecDecodeSelf(d) } for { - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj884++ + if yyhl884 { + yyb884 = yyj884 > l } else { - yyb875 = r.CheckBreak() + yyb884 = r.CheckBreak() } - if yyb875 { + if yyb884 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj875-1, "") + z.DecStructFieldNotFound(yyj884-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10653,36 +10742,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym880 := z.EncBinary() - _ = yym880 + yym890 := z.EncBinary() + _ = yym890 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep881 := !z.EncBinary() - yy2arr881 := z.EncBasicHandle().StructToArray - var yyq881 [4]bool - _, _, _ = yysep881, yyq881, yy2arr881 - const yyr881 bool = false - yyq881[1] = x.FullyLabeledReplicas != 0 - yyq881[2] = x.ReadyReplicas != 0 - yyq881[3] = x.ObservedGeneration != 0 - var yynn881 int - if yyr881 || yy2arr881 { - r.EncodeArrayStart(4) + 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 { + r.EncodeArrayStart(6) } else { - yynn881 = 1 - for _, b := range yyq881 { + yynn891 = 1 + for _, b := range yyq891 { if b { - yynn881++ + yynn891++ } } - r.EncodeMapStart(yynn881) - yynn881 = 0 + r.EncodeMapStart(yynn891) + yynn891 = 0 } - if yyr881 || yy2arr881 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym883 := z.EncBinary() - _ = yym883 + yym893 := z.EncBinary() + _ = yym893 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -10691,18 +10782,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym884 := z.EncBinary() - _ = yym884 + yym894 := z.EncBinary() + _ = yym894 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr881 || yy2arr881 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq881[1] { - yym886 := z.EncBinary() - _ = yym886 + if yyq891[1] { + yym896 := z.EncBinary() + _ = yym896 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -10711,23 +10802,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq881[1] { + if yyq891[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym887 := z.EncBinary() - _ = yym887 + yym897 := z.EncBinary() + _ = yym897 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr881 || yy2arr881 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq881[2] { - yym889 := z.EncBinary() - _ = yym889 + if yyq891[2] { + yym899 := z.EncBinary() + _ = yym899 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -10736,23 +10827,48 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq881[2] { + if yyq891[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym890 := z.EncBinary() - _ = yym890 + yym900 := z.EncBinary() + _ = yym900 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr881 || yy2arr881 { + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq881[3] { - yym892 := z.EncBinary() - _ = yym892 + if yyq891[3] { + yym902 := z.EncBinary() + _ = yym902 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq891[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym903 := z.EncBinary() + _ = yym903 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } + } + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[4] { + yym905 := z.EncBinary() + _ = yym905 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -10761,19 +10877,52 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq881[3] { + if yyq891[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym893 := z.EncBinary() - _ = yym893 + yym906 := z.EncBinary() + _ = yym906 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr881 || yy2arr881 { + if yyr891 || yy2arr891 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq891[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym908 := z.EncBinary() + _ = yym908 + if false { + } else { + h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq891[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 + if false { + } else { + h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) + } + } + } + } + if yyr891 || yy2arr891 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10786,25 +10935,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym894 := z.DecBinary() - _ = yym894 + yym910 := z.DecBinary() + _ = yym910 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct895 := r.ContainerType() - if yyct895 == codecSelferValueTypeMap1234 { - yyl895 := r.ReadMapStart() - if yyl895 == 0 { + yyct911 := r.ContainerType() + if yyct911 == codecSelferValueTypeMap1234 { + yyl911 := r.ReadMapStart() + if yyl911 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl895, d) + x.codecDecodeSelfFromMap(yyl911, d) } - } else if yyct895 == codecSelferValueTypeArray1234 { - yyl895 := r.ReadArrayStart() - if yyl895 == 0 { + } else if yyct911 == codecSelferValueTypeArray1234 { + yyl911 := r.ReadArrayStart() + if yyl911 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl895, d) + x.codecDecodeSelfFromArray(yyl911, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10816,12 +10965,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys896Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys896Slc - var yyhl896 bool = l >= 0 - for yyj896 := 0; ; yyj896++ { - if yyhl896 { - if yyj896 >= l { + var yys912Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys912Slc + var yyhl912 bool = l >= 0 + for yyj912 := 0; ; yyj912++ { + if yyhl912 { + if yyj912 >= l { break } } else { @@ -10830,10 +10979,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys896Slc = r.DecodeBytes(yys896Slc, true, true) - yys896 := string(yys896Slc) + yys912Slc = r.DecodeBytes(yys912Slc, true, true) + yys912 := string(yys912Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys896 { + switch yys912 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -10852,16 +11001,34 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } + case "availableReplicas": + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv918 := &x.Conditions + yym919 := z.DecBinary() + _ = yym919 + if false { + } else { + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv918), d) + } + } default: - z.DecStructFieldNotFound(-1, yys896) - } // end switch yys896 - } // end for yyj896 + z.DecStructFieldNotFound(-1, yys912) + } // end switch yys912 + } // end for yyj912 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10869,16 +11036,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj901 int - var yyb901 bool - var yyhl901 bool = l >= 0 - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + var yyj920 int + var yyb920 bool + var yyhl920 bool = l >= 0 + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l } else { - yyb901 = r.CheckBreak() + yyb920 = r.CheckBreak() } - if yyb901 { + if yyb920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10888,13 +11055,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l } else { - yyb901 = r.CheckBreak() + yyb920 = r.CheckBreak() } - if yyb901 { + if yyb920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10904,13 +11071,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l } else { - yyb901 = r.CheckBreak() + yyb920 = r.CheckBreak() } - if yyb901 { + if yyb920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10920,13 +11087,29 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l } else { - yyb901 = r.CheckBreak() + yyb920 = r.CheckBreak() } - if yyb901 { + if yyb920 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l + } else { + yyb920 = r.CheckBreak() + } + if yyb920 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10936,18 +11119,521 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - for { - yyj901++ - if yyhl901 { - yyb901 = yyj901 > l + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l + } else { + yyb920 = r.CheckBreak() + } + if yyb920 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv926 := &x.Conditions + yym927 := z.DecBinary() + _ = yym927 + if false { } else { - yyb901 = r.CheckBreak() + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv926), d) } - if yyb901 { + } + for { + yyj920++ + if yyhl920 { + yyb920 = yyj920 > l + } else { + yyb920 = r.CheckBreak() + } + if yyb920 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj901-1, "") + z.DecStructFieldNotFound(yyj920-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym928 := z.EncBinary() + _ = yym928 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym929 := z.DecBinary() + _ = yym929 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym930 := z.EncBinary() + _ = yym930 + 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) + } else { + yynn931 = 2 + for _, b := range yyq931 { + if b { + yynn931++ + } + } + r.EncodeMapStart(yynn931) + yynn931 = 0 + } + if yyr931 || yy2arr931 { + 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 yyr931 || yy2arr931 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym934 := z.EncBinary() + _ = yym934 + 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) + yym935 := z.EncBinary() + _ = yym935 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } + if yyr931 || yy2arr931 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq931[2] { + yy937 := &x.LastProbeTime + yym938 := z.EncBinary() + _ = yym938 + if false { + } else if z.HasExtensions() && z.EncExt(yy937) { + } else if yym938 { + z.EncBinaryMarshal(yy937) + } else if !yym938 && z.IsJSONHandle() { + z.EncJSONMarshal(yy937) + } else { + z.EncFallback(yy937) + } + } 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] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy944 := &x.LastTransitionTime + yym945 := z.EncBinary() + _ = yym945 + if false { + } else if z.HasExtensions() && z.EncExt(yy944) { + } else if yym945 { + z.EncBinaryMarshal(yy944) + } else if !yym945 && z.IsJSONHandle() { + z.EncJSONMarshal(yy944) + } else { + z.EncFallback(yy944) + } + } + } + if yyr931 || yy2arr931 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq931[4] { + yym947 := z.EncBinary() + _ = yym947 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq931[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym948 := z.EncBinary() + _ = yym948 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr931 || yy2arr931 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq931[5] { + yym950 := z.EncBinary() + _ = yym950 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq931[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym951 := z.EncBinary() + _ = yym951 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr931 || yy2arr931 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym952 := z.DecBinary() + _ = yym952 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct953 := r.ContainerType() + if yyct953 == codecSelferValueTypeMap1234 { + yyl953 := r.ReadMapStart() + if yyl953 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl953, d) + } + } else if yyct953 == codecSelferValueTypeArray1234 { + yyl953 := r.ReadArrayStart() + if yyl953 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl953, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys954Slc = r.DecodeBytes(yys954Slc, true, true) + yys954 := string(yys954Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys954 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicaSetConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } 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 + if false { + } else if z.HasExtensions() && z.DecExt(yyv959) { + } else if yym960 { + z.DecBinaryUnmarshal(yyv959) + } else if !yym960 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv959) + } else { + z.DecFallback(yyv959, 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, yys954) + } // end switch yys954 + } // end for yyj954 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb963 = r.CheckBreak() + } + if yyb963 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicaSetConditionType(r.DecodeString()) + } + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l + } else { + yyb963 = r.CheckBreak() + } + if yyb963 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_api.ConditionStatus(r.DecodeString()) + } + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l + } else { + yyb963 = 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 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv968 := &x.LastTransitionTime + yym969 := z.DecBinary() + _ = yym969 + if false { + } else if z.HasExtensions() && z.DecExt(yyv968) { + } else if yym969 { + z.DecBinaryUnmarshal(yyv968) + } else if !yym969 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv968) + } else { + z.DecFallback(yyv968, false) + } + } + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l + } else { + yyb963 = r.CheckBreak() + } + if yyb963 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l + } else { + yyb963 = r.CheckBreak() + } + if yyb963 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj963++ + if yyhl963 { + yyb963 = yyj963 > l + } else { + yyb963 = r.CheckBreak() + } + if yyb963 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj963-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10959,38 +11645,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym906 := z.EncBinary() - _ = yym906 + yym972 := z.EncBinary() + _ = yym972 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep907 := !z.EncBinary() - yy2arr907 := z.EncBasicHandle().StructToArray - var yyq907 [4]bool - _, _, _ = yysep907, yyq907, yy2arr907 - const yyr907 bool = false - yyq907[0] = x.Kind != "" - yyq907[1] = x.APIVersion != "" - yyq907[2] = true - yyq907[3] = true - var yynn907 int - if yyr907 || yy2arr907 { + 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 { r.EncodeArrayStart(4) } else { - yynn907 = 0 - for _, b := range yyq907 { + yynn973 = 0 + for _, b := range yyq973 { if b { - yynn907++ + yynn973++ } } - r.EncodeMapStart(yynn907) - yynn907 = 0 + r.EncodeMapStart(yynn973) + yynn973 = 0 } - if yyr907 || yy2arr907 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq907[0] { - yym909 := z.EncBinary() - _ = yym909 + if yyq973[0] { + yym975 := z.EncBinary() + _ = yym975 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -10999,23 +11685,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq907[0] { + if yyq973[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym910 := z.EncBinary() - _ = yym910 + yym976 := z.EncBinary() + _ = yym976 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr907 || yy2arr907 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq907[1] { - yym912 := z.EncBinary() - _ = yym912 + if yyq973[1] { + yym978 := z.EncBinary() + _ = yym978 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11024,53 +11710,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq907[1] { + if yyq973[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym913 := z.EncBinary() - _ = yym913 + yym979 := z.EncBinary() + _ = yym979 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr907 || yy2arr907 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq907[2] { - yy915 := &x.ObjectMeta - yy915.CodecEncodeSelf(e) + if yyq973[2] { + yy981 := &x.ObjectMeta + yy981.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq907[2] { + if yyq973[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy916 := &x.ObjectMeta - yy916.CodecEncodeSelf(e) + yy982 := &x.ObjectMeta + yy982.CodecEncodeSelf(e) } } - if yyr907 || yy2arr907 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq907[3] { - yy918 := &x.Spec - yy918.CodecEncodeSelf(e) + if yyq973[3] { + yy984 := &x.Spec + yy984.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq907[3] { + if yyq973[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy919 := &x.Spec - yy919.CodecEncodeSelf(e) + yy985 := &x.Spec + yy985.CodecEncodeSelf(e) } } - if yyr907 || yy2arr907 { + if yyr973 || yy2arr973 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11083,25 +11769,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym920 := z.DecBinary() - _ = yym920 + yym986 := z.DecBinary() + _ = yym986 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct921 := r.ContainerType() - if yyct921 == codecSelferValueTypeMap1234 { - yyl921 := r.ReadMapStart() - if yyl921 == 0 { + yyct987 := r.ContainerType() + if yyct987 == codecSelferValueTypeMap1234 { + yyl987 := r.ReadMapStart() + if yyl987 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl921, d) + x.codecDecodeSelfFromMap(yyl987, d) } - } else if yyct921 == codecSelferValueTypeArray1234 { - yyl921 := r.ReadArrayStart() - if yyl921 == 0 { + } else if yyct987 == codecSelferValueTypeArray1234 { + yyl987 := r.ReadArrayStart() + if yyl987 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl921, d) + x.codecDecodeSelfFromArray(yyl987, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11113,12 +11799,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys922Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys922Slc - var yyhl922 bool = l >= 0 - for yyj922 := 0; ; yyj922++ { - if yyhl922 { - if yyj922 >= l { + var yys988Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys988Slc + var yyhl988 bool = l >= 0 + for yyj988 := 0; ; yyj988++ { + if yyhl988 { + if yyj988 >= l { break } } else { @@ -11127,10 +11813,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys922Slc = r.DecodeBytes(yys922Slc, true, true) - yys922 := string(yys922Slc) + yys988Slc = r.DecodeBytes(yys988Slc, true, true) + yys988 := string(yys988Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys922 { + switch yys988 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11147,20 +11833,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv925 := &x.ObjectMeta - yyv925.CodecDecodeSelf(d) + yyv991 := &x.ObjectMeta + yyv991.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv926 := &x.Spec - yyv926.CodecDecodeSelf(d) + yyv992 := &x.Spec + yyv992.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys922) - } // end switch yys922 - } // end for yyj922 + z.DecStructFieldNotFound(-1, yys988) + } // end switch yys988 + } // end for yyj988 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11168,16 +11854,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj927 int - var yyb927 bool - var yyhl927 bool = l >= 0 - yyj927++ - if yyhl927 { - yyb927 = yyj927 > l + var yyj993 int + var yyb993 bool + var yyhl993 bool = l >= 0 + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb927 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb927 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11187,13 +11873,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj927++ - if yyhl927 { - yyb927 = yyj927 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb927 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb927 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11203,13 +11889,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj927++ - if yyhl927 { - yyb927 = yyj927 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb927 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb927 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11217,16 +11903,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv930 := &x.ObjectMeta - yyv930.CodecDecodeSelf(d) + yyv996 := &x.ObjectMeta + yyv996.CodecDecodeSelf(d) } - yyj927++ - if yyhl927 { - yyb927 = yyj927 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb927 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb927 { + if yyb993 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11234,21 +11920,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv931 := &x.Spec - yyv931.CodecDecodeSelf(d) + yyv997 := &x.Spec + yyv997.CodecDecodeSelf(d) } for { - yyj927++ - if yyhl927 { - yyb927 = yyj927 > l + yyj993++ + if yyhl993 { + yyb993 = yyj993 > l } else { - yyb927 = r.CheckBreak() + yyb993 = r.CheckBreak() } - if yyb927 { + if yyb993 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj927-1, "") + z.DecStructFieldNotFound(yyj993-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11260,44 +11946,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym932 := z.EncBinary() - _ = yym932 + yym998 := z.EncBinary() + _ = yym998 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep933 := !z.EncBinary() - yy2arr933 := z.EncBasicHandle().StructToArray - var yyq933 [14]bool - _, _, _ = yysep933, yyq933, yy2arr933 - const yyr933 bool = false - yyq933[0] = x.Privileged != false - yyq933[1] = len(x.DefaultAddCapabilities) != 0 - yyq933[2] = len(x.RequiredDropCapabilities) != 0 - yyq933[3] = len(x.AllowedCapabilities) != 0 - yyq933[4] = len(x.Volumes) != 0 - yyq933[5] = x.HostNetwork != false - yyq933[6] = len(x.HostPorts) != 0 - yyq933[7] = x.HostPID != false - yyq933[8] = x.HostIPC != false - yyq933[13] = x.ReadOnlyRootFilesystem != false - var yynn933 int - if yyr933 || yy2arr933 { + 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 { r.EncodeArrayStart(14) } else { - yynn933 = 4 - for _, b := range yyq933 { + yynn999 = 4 + for _, b := range yyq999 { if b { - yynn933++ + yynn999++ } } - r.EncodeMapStart(yynn933) - yynn933 = 0 + r.EncodeMapStart(yynn999) + yynn999 = 0 } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[0] { - yym935 := z.EncBinary() - _ = yym935 + if yyq999[0] { + yym1001 := z.EncBinary() + _ = yym1001 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -11306,26 +11992,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq933[0] { + if yyq999[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym936 := z.EncBinary() - _ = yym936 + yym1002 := z.EncBinary() + _ = yym1002 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[1] { + if yyq999[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym938 := z.EncBinary() - _ = yym938 + yym1004 := z.EncBinary() + _ = yym1004 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -11335,15 +12021,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq933[1] { + if yyq999[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym939 := z.EncBinary() - _ = yym939 + yym1005 := z.EncBinary() + _ = yym1005 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.DefaultAddCapabilities), e) @@ -11351,14 +12037,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[2] { + if yyq999[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym941 := z.EncBinary() - _ = yym941 + yym1007 := z.EncBinary() + _ = yym1007 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -11368,15 +12054,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq933[2] { + if yyq999[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym942 := z.EncBinary() - _ = yym942 + yym1008 := z.EncBinary() + _ = yym1008 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.RequiredDropCapabilities), e) @@ -11384,14 +12070,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[3] { + if yyq999[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym944 := z.EncBinary() - _ = yym944 + yym1010 := z.EncBinary() + _ = yym1010 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -11401,15 +12087,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq933[3] { + if yyq999[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym945 := z.EncBinary() - _ = yym945 + yym1011 := z.EncBinary() + _ = yym1011 if false { } else { h.encSliceapi_Capability(([]pkg2_api.Capability)(x.AllowedCapabilities), e) @@ -11417,14 +12103,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[4] { + if yyq999[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym947 := z.EncBinary() - _ = yym947 + yym1013 := z.EncBinary() + _ = yym1013 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -11434,15 +12120,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq933[4] { + if yyq999[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym948 := z.EncBinary() - _ = yym948 + yym1014 := z.EncBinary() + _ = yym1014 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -11450,11 +12136,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[5] { - yym950 := z.EncBinary() - _ = yym950 + if yyq999[5] { + yym1016 := z.EncBinary() + _ = yym1016 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -11463,26 +12149,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq933[5] { + if yyq999[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym951 := z.EncBinary() - _ = yym951 + yym1017 := z.EncBinary() + _ = yym1017 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[6] { + if yyq999[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym953 := z.EncBinary() - _ = yym953 + yym1019 := z.EncBinary() + _ = yym1019 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -11492,15 +12178,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq933[6] { + if yyq999[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym954 := z.EncBinary() - _ = yym954 + yym1020 := z.EncBinary() + _ = yym1020 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -11508,11 +12194,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[7] { - yym956 := z.EncBinary() - _ = yym956 + if yyq999[7] { + yym1022 := z.EncBinary() + _ = yym1022 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -11521,23 +12207,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq933[7] { + if yyq999[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym957 := z.EncBinary() - _ = yym957 + yym1023 := z.EncBinary() + _ = yym1023 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[8] { - yym959 := z.EncBinary() - _ = yym959 + if yyq999[8] { + yym1025 := z.EncBinary() + _ = yym1025 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -11546,67 +12232,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq933[8] { + if yyq999[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym960 := z.EncBinary() - _ = yym960 + yym1026 := z.EncBinary() + _ = yym1026 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy962 := &x.SELinux - yy962.CodecEncodeSelf(e) + yy1028 := &x.SELinux + yy1028.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy963 := &x.SELinux - yy963.CodecEncodeSelf(e) + yy1029 := &x.SELinux + yy1029.CodecEncodeSelf(e) } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy965 := &x.RunAsUser - yy965.CodecEncodeSelf(e) + yy1031 := &x.RunAsUser + yy1031.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy966 := &x.RunAsUser - yy966.CodecEncodeSelf(e) + yy1032 := &x.RunAsUser + yy1032.CodecEncodeSelf(e) } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy968 := &x.SupplementalGroups - yy968.CodecEncodeSelf(e) + yy1034 := &x.SupplementalGroups + yy1034.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy969 := &x.SupplementalGroups - yy969.CodecEncodeSelf(e) + yy1035 := &x.SupplementalGroups + yy1035.CodecEncodeSelf(e) } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy971 := &x.FSGroup - yy971.CodecEncodeSelf(e) + yy1037 := &x.FSGroup + yy1037.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy972 := &x.FSGroup - yy972.CodecEncodeSelf(e) + yy1038 := &x.FSGroup + yy1038.CodecEncodeSelf(e) } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq933[13] { - yym974 := z.EncBinary() - _ = yym974 + if yyq999[13] { + yym1040 := z.EncBinary() + _ = yym1040 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -11615,19 +12301,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq933[13] { + if yyq999[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym975 := z.EncBinary() - _ = yym975 + yym1041 := z.EncBinary() + _ = yym1041 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr933 || yy2arr933 { + if yyr999 || yy2arr999 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11640,25 +12326,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym976 := z.DecBinary() - _ = yym976 + yym1042 := z.DecBinary() + _ = yym1042 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct977 := r.ContainerType() - if yyct977 == codecSelferValueTypeMap1234 { - yyl977 := r.ReadMapStart() - if yyl977 == 0 { + yyct1043 := r.ContainerType() + if yyct1043 == codecSelferValueTypeMap1234 { + yyl1043 := r.ReadMapStart() + if yyl1043 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl977, d) + x.codecDecodeSelfFromMap(yyl1043, d) } - } else if yyct977 == codecSelferValueTypeArray1234 { - yyl977 := r.ReadArrayStart() - if yyl977 == 0 { + } else if yyct1043 == codecSelferValueTypeArray1234 { + yyl1043 := r.ReadArrayStart() + if yyl1043 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl977, d) + x.codecDecodeSelfFromArray(yyl1043, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11670,12 +12356,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys978Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys978Slc - var yyhl978 bool = l >= 0 - for yyj978 := 0; ; yyj978++ { - if yyhl978 { - if yyj978 >= l { + var yys1044Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1044Slc + var yyhl1044 bool = l >= 0 + for yyj1044 := 0; ; yyj1044++ { + if yyhl1044 { + if yyj1044 >= l { break } } else { @@ -11684,10 +12370,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys978Slc = r.DecodeBytes(yys978Slc, true, true) - yys978 := string(yys978Slc) + yys1044Slc = r.DecodeBytes(yys1044Slc, true, true) + yys1044 := string(yys1044Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys978 { + switch yys1044 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -11698,48 +12384,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv980 := &x.DefaultAddCapabilities - yym981 := z.DecBinary() - _ = yym981 + yyv1046 := &x.DefaultAddCapabilities + yym1047 := z.DecBinary() + _ = yym1047 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv980), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1046), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv982 := &x.RequiredDropCapabilities - yym983 := z.DecBinary() - _ = yym983 + yyv1048 := &x.RequiredDropCapabilities + yym1049 := z.DecBinary() + _ = yym1049 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv982), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1048), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv984 := &x.AllowedCapabilities - yym985 := z.DecBinary() - _ = yym985 + yyv1050 := &x.AllowedCapabilities + yym1051 := z.DecBinary() + _ = yym1051 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv984), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1050), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv986 := &x.Volumes - yym987 := z.DecBinary() - _ = yym987 + yyv1052 := &x.Volumes + yym1053 := z.DecBinary() + _ = yym1053 if false { } else { - h.decSliceFSType((*[]FSType)(yyv986), d) + h.decSliceFSType((*[]FSType)(yyv1052), d) } } case "hostNetwork": @@ -11752,12 +12438,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv989 := &x.HostPorts - yym990 := z.DecBinary() - _ = yym990 + yyv1055 := &x.HostPorts + yym1056 := z.DecBinary() + _ = yym1056 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv989), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1055), d) } } case "hostPID": @@ -11776,29 +12462,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv993 := &x.SELinux - yyv993.CodecDecodeSelf(d) + yyv1059 := &x.SELinux + yyv1059.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv994 := &x.RunAsUser - yyv994.CodecDecodeSelf(d) + yyv1060 := &x.RunAsUser + yyv1060.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv995 := &x.SupplementalGroups - yyv995.CodecDecodeSelf(d) + yyv1061 := &x.SupplementalGroups + yyv1061.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv996 := &x.FSGroup - yyv996.CodecDecodeSelf(d) + yyv1062 := &x.FSGroup + yyv1062.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -11807,9 +12493,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys978) - } // end switch yys978 - } // end for yyj978 + z.DecStructFieldNotFound(-1, yys1044) + } // end switch yys1044 + } // end for yyj1044 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11817,16 +12503,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj998 int - var yyb998 bool - var yyhl998 bool = l >= 0 - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + var yyj1064 int + var yyb1064 bool + var yyhl1064 bool = l >= 0 + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11836,13 +12522,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11850,21 +12536,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1000 := &x.DefaultAddCapabilities - yym1001 := z.DecBinary() - _ = yym1001 + yyv1066 := &x.DefaultAddCapabilities + yym1067 := z.DecBinary() + _ = yym1067 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1000), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1066), d) } } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11872,21 +12558,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1002 := &x.RequiredDropCapabilities - yym1003 := z.DecBinary() - _ = yym1003 + yyv1068 := &x.RequiredDropCapabilities + yym1069 := z.DecBinary() + _ = yym1069 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1002), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1068), d) } } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11894,21 +12580,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1004 := &x.AllowedCapabilities - yym1005 := z.DecBinary() - _ = yym1005 + yyv1070 := &x.AllowedCapabilities + yym1071 := z.DecBinary() + _ = yym1071 if false { } else { - h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1004), d) + h.decSliceapi_Capability((*[]pkg2_api.Capability)(yyv1070), d) } } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11916,21 +12602,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1006 := &x.Volumes - yym1007 := z.DecBinary() - _ = yym1007 + yyv1072 := &x.Volumes + yym1073 := z.DecBinary() + _ = yym1073 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1006), d) + h.decSliceFSType((*[]FSType)(yyv1072), d) } } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11940,13 +12626,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11954,21 +12640,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1009 := &x.HostPorts - yym1010 := z.DecBinary() - _ = yym1010 + yyv1075 := &x.HostPorts + yym1076 := z.DecBinary() + _ = yym1076 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1009), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1075), d) } } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11978,13 +12664,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11994,13 +12680,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12008,16 +12694,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1013 := &x.SELinux - yyv1013.CodecDecodeSelf(d) + yyv1079 := &x.SELinux + yyv1079.CodecDecodeSelf(d) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12025,16 +12711,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1014 := &x.RunAsUser - yyv1014.CodecDecodeSelf(d) + yyv1080 := &x.RunAsUser + yyv1080.CodecDecodeSelf(d) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12042,16 +12728,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1015 := &x.SupplementalGroups - yyv1015.CodecDecodeSelf(d) + yyv1081 := &x.SupplementalGroups + yyv1081.CodecDecodeSelf(d) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12059,16 +12745,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1016 := &x.FSGroup - yyv1016.CodecDecodeSelf(d) + yyv1082 := &x.FSGroup + yyv1082.CodecDecodeSelf(d) } - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12079,17 +12765,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj998++ - if yyhl998 { - yyb998 = yyj998 > l + yyj1064++ + if yyhl1064 { + yyb1064 = yyj1064 > l } else { - yyb998 = r.CheckBreak() + yyb1064 = r.CheckBreak() } - if yyb998 { + if yyb1064 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj998-1, "") + z.DecStructFieldNotFound(yyj1064-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12101,33 +12787,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1018 := z.EncBinary() - _ = yym1018 + yym1084 := z.EncBinary() + _ = yym1084 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1019 := !z.EncBinary() - yy2arr1019 := z.EncBasicHandle().StructToArray - var yyq1019 [2]bool - _, _, _ = yysep1019, yyq1019, yy2arr1019 - const yyr1019 bool = false - var yynn1019 int - if yyr1019 || yy2arr1019 { + yysep1085 := !z.EncBinary() + yy2arr1085 := z.EncBasicHandle().StructToArray + var yyq1085 [2]bool + _, _, _ = yysep1085, yyq1085, yy2arr1085 + const yyr1085 bool = false + var yynn1085 int + if yyr1085 || yy2arr1085 { r.EncodeArrayStart(2) } else { - yynn1019 = 2 - for _, b := range yyq1019 { + yynn1085 = 2 + for _, b := range yyq1085 { if b { - yynn1019++ + yynn1085++ } } - r.EncodeMapStart(yynn1019) - yynn1019 = 0 + r.EncodeMapStart(yynn1085) + yynn1085 = 0 } - if yyr1019 || yy2arr1019 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1021 := z.EncBinary() - _ = yym1021 + yym1087 := z.EncBinary() + _ = yym1087 if false { } else { r.EncodeInt(int64(x.Min)) @@ -12136,17 +12822,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1022 := z.EncBinary() - _ = yym1022 + yym1088 := z.EncBinary() + _ = yym1088 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1019 || yy2arr1019 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1024 := z.EncBinary() - _ = yym1024 + yym1090 := z.EncBinary() + _ = yym1090 if false { } else { r.EncodeInt(int64(x.Max)) @@ -12155,14 +12841,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1025 := z.EncBinary() - _ = yym1025 + yym1091 := z.EncBinary() + _ = yym1091 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1019 || yy2arr1019 { + if yyr1085 || yy2arr1085 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12175,25 +12861,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1026 := z.DecBinary() - _ = yym1026 + yym1092 := z.DecBinary() + _ = yym1092 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1027 := r.ContainerType() - if yyct1027 == codecSelferValueTypeMap1234 { - yyl1027 := r.ReadMapStart() - if yyl1027 == 0 { + yyct1093 := r.ContainerType() + if yyct1093 == codecSelferValueTypeMap1234 { + yyl1093 := r.ReadMapStart() + if yyl1093 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1027, d) + x.codecDecodeSelfFromMap(yyl1093, d) } - } else if yyct1027 == codecSelferValueTypeArray1234 { - yyl1027 := r.ReadArrayStart() - if yyl1027 == 0 { + } else if yyct1093 == codecSelferValueTypeArray1234 { + yyl1093 := r.ReadArrayStart() + if yyl1093 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1027, d) + x.codecDecodeSelfFromArray(yyl1093, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12205,12 +12891,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1028Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1028Slc - var yyhl1028 bool = l >= 0 - for yyj1028 := 0; ; yyj1028++ { - if yyhl1028 { - if yyj1028 >= l { + var yys1094Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1094Slc + var yyhl1094 bool = l >= 0 + for yyj1094 := 0; ; yyj1094++ { + if yyhl1094 { + if yyj1094 >= l { break } } else { @@ -12219,10 +12905,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1028Slc = r.DecodeBytes(yys1028Slc, true, true) - yys1028 := string(yys1028Slc) + yys1094Slc = r.DecodeBytes(yys1094Slc, true, true) + yys1094 := string(yys1094Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1028 { + switch yys1094 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -12236,9 +12922,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } default: - z.DecStructFieldNotFound(-1, yys1028) - } // end switch yys1028 - } // end for yyj1028 + z.DecStructFieldNotFound(-1, yys1094) + } // end switch yys1094 + } // end for yyj1094 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12246,16 +12932,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1031 int - var yyb1031 bool - var yyhl1031 bool = l >= 0 - yyj1031++ - if yyhl1031 { - yyb1031 = yyj1031 > l + var yyj1097 int + var yyb1097 bool + var yyhl1097 bool = l >= 0 + yyj1097++ + if yyhl1097 { + yyb1097 = yyj1097 > l } else { - yyb1031 = r.CheckBreak() + yyb1097 = r.CheckBreak() } - if yyb1031 { + if yyb1097 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12265,13 +12951,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int(r.DecodeInt(codecSelferBitsize1234)) } - yyj1031++ - if yyhl1031 { - yyb1031 = yyj1031 > l + yyj1097++ + if yyhl1097 { + yyb1097 = yyj1097 > l } else { - yyb1031 = r.CheckBreak() + yyb1097 = r.CheckBreak() } - if yyb1031 { + if yyb1097 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12282,17 +12968,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int(r.DecodeInt(codecSelferBitsize1234)) } for { - yyj1031++ - if yyhl1031 { - yyb1031 = yyj1031 > l + yyj1097++ + if yyhl1097 { + yyb1097 = yyj1097 > l } else { - yyb1031 = r.CheckBreak() + yyb1097 = r.CheckBreak() } - if yyb1031 { + if yyb1097 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1031-1, "") + z.DecStructFieldNotFound(yyj1097-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12301,8 +12987,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1034 := z.EncBinary() - _ = yym1034 + yym1100 := z.EncBinary() + _ = yym1100 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -12314,8 +13000,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1035 := z.DecBinary() - _ = yym1035 + yym1101 := z.DecBinary() + _ = yym1101 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -12330,31 +13016,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1036 := z.EncBinary() - _ = yym1036 + yym1102 := z.EncBinary() + _ = yym1102 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1037 := !z.EncBinary() - yy2arr1037 := z.EncBasicHandle().StructToArray - var yyq1037 [2]bool - _, _, _ = yysep1037, yyq1037, yy2arr1037 - const yyr1037 bool = false - yyq1037[1] = x.SELinuxOptions != nil - var yynn1037 int - if yyr1037 || yy2arr1037 { + 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 { r.EncodeArrayStart(2) } else { - yynn1037 = 1 - for _, b := range yyq1037 { + yynn1103 = 1 + for _, b := range yyq1103 { if b { - yynn1037++ + yynn1103++ } } - r.EncodeMapStart(yynn1037) - yynn1037 = 0 + r.EncodeMapStart(yynn1103) + yynn1103 = 0 } - if yyr1037 || yy2arr1037 { + if yyr1103 || yy2arr1103 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -12363,9 +13049,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1037 || yy2arr1037 { + if yyr1103 || yy2arr1103 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1037[1] { + if yyq1103[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -12375,7 +13061,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1037[1] { + if yyq1103[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12386,7 +13072,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1037 || yy2arr1037 { + if yyr1103 || yy2arr1103 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12399,25 +13085,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1040 := z.DecBinary() - _ = yym1040 + yym1106 := z.DecBinary() + _ = yym1106 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1041 := r.ContainerType() - if yyct1041 == codecSelferValueTypeMap1234 { - yyl1041 := r.ReadMapStart() - if yyl1041 == 0 { + yyct1107 := r.ContainerType() + if yyct1107 == codecSelferValueTypeMap1234 { + yyl1107 := r.ReadMapStart() + if yyl1107 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1041, d) + x.codecDecodeSelfFromMap(yyl1107, d) } - } else if yyct1041 == codecSelferValueTypeArray1234 { - yyl1041 := r.ReadArrayStart() - if yyl1041 == 0 { + } else if yyct1107 == codecSelferValueTypeArray1234 { + yyl1107 := r.ReadArrayStart() + if yyl1107 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1041, d) + x.codecDecodeSelfFromArray(yyl1107, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12429,12 +13115,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1042Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1042Slc - var yyhl1042 bool = l >= 0 - for yyj1042 := 0; ; yyj1042++ { - if yyhl1042 { - if yyj1042 >= l { + var yys1108Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1108Slc + var yyhl1108 bool = l >= 0 + for yyj1108 := 0; ; yyj1108++ { + if yyhl1108 { + if yyj1108 >= l { break } } else { @@ -12443,10 +13129,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1042Slc = r.DecodeBytes(yys1042Slc, true, true) - yys1042 := string(yys1042Slc) + yys1108Slc = r.DecodeBytes(yys1108Slc, true, true) + yys1108 := string(yys1108Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1042 { + switch yys1108 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -12465,9 +13151,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1042) - } // end switch yys1042 - } // end for yyj1042 + z.DecStructFieldNotFound(-1, yys1108) + } // end switch yys1108 + } // end for yyj1108 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12475,16 +13161,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1045 int - var yyb1045 bool - var yyhl1045 bool = l >= 0 - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + var yyj1111 int + var yyb1111 bool + var yyhl1111 bool = l >= 0 + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1045 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1045 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12494,13 +13180,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1045 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1045 { + if yyb1111 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12516,17 +13202,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1045++ - if yyhl1045 { - yyb1045 = yyj1045 > l + yyj1111++ + if yyhl1111 { + yyb1111 = yyj1111 > l } else { - yyb1045 = r.CheckBreak() + yyb1111 = r.CheckBreak() } - if yyb1045 { + if yyb1111 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1045-1, "") + z.DecStructFieldNotFound(yyj1111-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12535,8 +13221,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1048 := z.EncBinary() - _ = yym1048 + yym1114 := z.EncBinary() + _ = yym1114 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -12548,8 +13234,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1049 := z.DecBinary() - _ = yym1049 + yym1115 := z.DecBinary() + _ = yym1115 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -12564,31 +13250,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1050 := z.EncBinary() - _ = yym1050 + yym1116 := z.EncBinary() + _ = yym1116 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1051 := !z.EncBinary() - yy2arr1051 := z.EncBasicHandle().StructToArray - var yyq1051 [2]bool - _, _, _ = yysep1051, yyq1051, yy2arr1051 - const yyr1051 bool = false - yyq1051[1] = len(x.Ranges) != 0 - var yynn1051 int - if yyr1051 || yy2arr1051 { + 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 { - yynn1051 = 1 - for _, b := range yyq1051 { + yynn1117 = 1 + for _, b := range yyq1117 { if b { - yynn1051++ + yynn1117++ } } - r.EncodeMapStart(yynn1051) - yynn1051 = 0 + r.EncodeMapStart(yynn1117) + yynn1117 = 0 } - if yyr1051 || yy2arr1051 { + if yyr1117 || yy2arr1117 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -12597,14 +13283,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1051 || yy2arr1051 { + if yyr1117 || yy2arr1117 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1051[1] { + if yyq1117[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1054 := z.EncBinary() - _ = yym1054 + yym1120 := z.EncBinary() + _ = yym1120 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -12614,15 +13300,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1051[1] { + if yyq1117[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1055 := z.EncBinary() - _ = yym1055 + yym1121 := z.EncBinary() + _ = yym1121 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -12630,7 +13316,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1051 || yy2arr1051 { + if yyr1117 || yy2arr1117 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12643,25 +13329,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1056 := z.DecBinary() - _ = yym1056 + yym1122 := z.DecBinary() + _ = yym1122 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1057 := r.ContainerType() - if yyct1057 == codecSelferValueTypeMap1234 { - yyl1057 := r.ReadMapStart() - if yyl1057 == 0 { + yyct1123 := r.ContainerType() + if yyct1123 == codecSelferValueTypeMap1234 { + yyl1123 := r.ReadMapStart() + if yyl1123 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1057, d) + x.codecDecodeSelfFromMap(yyl1123, d) } - } else if yyct1057 == codecSelferValueTypeArray1234 { - yyl1057 := r.ReadArrayStart() - if yyl1057 == 0 { + } else if yyct1123 == codecSelferValueTypeArray1234 { + yyl1123 := r.ReadArrayStart() + if yyl1123 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1057, d) + x.codecDecodeSelfFromArray(yyl1123, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12673,12 +13359,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1058Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1058Slc - var yyhl1058 bool = l >= 0 - for yyj1058 := 0; ; yyj1058++ { - if yyhl1058 { - if yyj1058 >= l { + 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 { @@ -12687,10 +13373,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1058Slc = r.DecodeBytes(yys1058Slc, true, true) - yys1058 := string(yys1058Slc) + yys1124Slc = r.DecodeBytes(yys1124Slc, true, true) + yys1124 := string(yys1124Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1058 { + switch yys1124 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -12701,18 +13387,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1060 := &x.Ranges - yym1061 := z.DecBinary() - _ = yym1061 + yyv1126 := &x.Ranges + yym1127 := z.DecBinary() + _ = yym1127 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1060), d) + h.decSliceIDRange((*[]IDRange)(yyv1126), d) } } default: - z.DecStructFieldNotFound(-1, yys1058) - } // end switch yys1058 - } // end for yyj1058 + z.DecStructFieldNotFound(-1, yys1124) + } // end switch yys1124 + } // end for yyj1124 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12720,16 +13406,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1062 int - var yyb1062 bool - var yyhl1062 bool = l >= 0 - yyj1062++ - if yyhl1062 { - yyb1062 = yyj1062 > l + var yyj1128 int + var yyb1128 bool + var yyhl1128 bool = l >= 0 + yyj1128++ + if yyhl1128 { + yyb1128 = yyj1128 > l } else { - yyb1062 = r.CheckBreak() + yyb1128 = r.CheckBreak() } - if yyb1062 { + if yyb1128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12739,13 +13425,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1062++ - if yyhl1062 { - yyb1062 = yyj1062 > l + yyj1128++ + if yyhl1128 { + yyb1128 = yyj1128 > l } else { - yyb1062 = r.CheckBreak() + yyb1128 = r.CheckBreak() } - if yyb1062 { + if yyb1128 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12753,26 +13439,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1064 := &x.Ranges - yym1065 := z.DecBinary() - _ = yym1065 + yyv1130 := &x.Ranges + yym1131 := z.DecBinary() + _ = yym1131 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1064), d) + h.decSliceIDRange((*[]IDRange)(yyv1130), d) } } for { - yyj1062++ - if yyhl1062 { - yyb1062 = yyj1062 > l + yyj1128++ + if yyhl1128 { + yyb1128 = yyj1128 > l } else { - yyb1062 = r.CheckBreak() + yyb1128 = r.CheckBreak() } - if yyb1062 { + if yyb1128 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1062-1, "") + z.DecStructFieldNotFound(yyj1128-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12784,33 +13470,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1066 := z.EncBinary() - _ = yym1066 + yym1132 := z.EncBinary() + _ = yym1132 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1067 := !z.EncBinary() - yy2arr1067 := z.EncBasicHandle().StructToArray - var yyq1067 [2]bool - _, _, _ = yysep1067, yyq1067, yy2arr1067 - const yyr1067 bool = false - var yynn1067 int - if yyr1067 || yy2arr1067 { + 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 { - yynn1067 = 2 - for _, b := range yyq1067 { + yynn1133 = 2 + for _, b := range yyq1133 { if b { - yynn1067++ + yynn1133++ } } - r.EncodeMapStart(yynn1067) - yynn1067 = 0 + r.EncodeMapStart(yynn1133) + yynn1133 = 0 } - if yyr1067 || yy2arr1067 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1069 := z.EncBinary() - _ = yym1069 + yym1135 := z.EncBinary() + _ = yym1135 if false { } else { r.EncodeInt(int64(x.Min)) @@ -12819,17 +13505,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1070 := z.EncBinary() - _ = yym1070 + yym1136 := z.EncBinary() + _ = yym1136 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1067 || yy2arr1067 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1072 := z.EncBinary() - _ = yym1072 + yym1138 := z.EncBinary() + _ = yym1138 if false { } else { r.EncodeInt(int64(x.Max)) @@ -12838,14 +13524,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1073 := z.EncBinary() - _ = yym1073 + yym1139 := z.EncBinary() + _ = yym1139 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1067 || yy2arr1067 { + if yyr1133 || yy2arr1133 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12858,25 +13544,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1074 := z.DecBinary() - _ = yym1074 + yym1140 := z.DecBinary() + _ = yym1140 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1075 := r.ContainerType() - if yyct1075 == codecSelferValueTypeMap1234 { - yyl1075 := r.ReadMapStart() - if yyl1075 == 0 { + yyct1141 := r.ContainerType() + if yyct1141 == codecSelferValueTypeMap1234 { + yyl1141 := r.ReadMapStart() + if yyl1141 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1075, d) + x.codecDecodeSelfFromMap(yyl1141, d) } - } else if yyct1075 == codecSelferValueTypeArray1234 { - yyl1075 := r.ReadArrayStart() - if yyl1075 == 0 { + } else if yyct1141 == codecSelferValueTypeArray1234 { + yyl1141 := r.ReadArrayStart() + if yyl1141 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1075, d) + x.codecDecodeSelfFromArray(yyl1141, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12888,12 +13574,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1076Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1076Slc - var yyhl1076 bool = l >= 0 - for yyj1076 := 0; ; yyj1076++ { - if yyhl1076 { - if yyj1076 >= l { + 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 { @@ -12902,10 +13588,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1076Slc = r.DecodeBytes(yys1076Slc, true, true) - yys1076 := string(yys1076Slc) + yys1142Slc = r.DecodeBytes(yys1142Slc, true, true) + yys1142 := string(yys1142Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1076 { + switch yys1142 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -12919,844 +13605,13 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1076) - } // end switch yys1076 - } // end for yyj1076 + 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 yyj1079 int - var yyb1079 bool - var yyhl1079 bool = l >= 0 - yyj1079++ - if yyhl1079 { - yyb1079 = yyj1079 > l - } else { - yyb1079 = r.CheckBreak() - } - if yyb1079 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Min = 0 - } else { - x.Min = int64(r.DecodeInt(64)) - } - yyj1079++ - if yyhl1079 { - yyb1079 = yyj1079 > l - } else { - yyb1079 = r.CheckBreak() - } - if yyb1079 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Max = 0 - } else { - x.Max = int64(r.DecodeInt(64)) - } - for { - yyj1079++ - if yyhl1079 { - yyb1079 = yyj1079 > l - } else { - yyb1079 = r.CheckBreak() - } - if yyb1079 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1079-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1082 := z.EncBinary() - _ = yym1082 - 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 - yym1083 := z.DecBinary() - _ = yym1083 - 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 { - yym1084 := z.EncBinary() - _ = yym1084 - 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 - yyq1085[0] = x.Rule != "" - yyq1085[1] = len(x.Ranges) != 0 - var yynn1085 int - if yyr1085 || yy2arr1085 { - r.EncodeArrayStart(2) - } else { - yynn1085 = 0 - for _, b := range yyq1085 { - if b { - yynn1085++ - } - } - r.EncodeMapStart(yynn1085) - yynn1085 = 0 - } - if yyr1085 || yy2arr1085 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1085[0] { - x.Rule.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1085[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rule")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Rule.CodecEncodeSelf(e) - } - } - if yyr1085 || yy2arr1085 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1085[1] { - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1088 := z.EncBinary() - _ = yym1088 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1085[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ranges")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1089 := z.EncBinary() - _ = yym1089 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } - } - if yyr1085 || yy2arr1085 { - 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 - yym1090 := z.DecBinary() - _ = yym1090 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1091 := r.ContainerType() - if yyct1091 == codecSelferValueTypeMap1234 { - yyl1091 := r.ReadMapStart() - if yyl1091 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1091, d) - } - } else if yyct1091 == codecSelferValueTypeArray1234 { - yyl1091 := r.ReadArrayStart() - if yyl1091 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1091, 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 yys1092Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1092Slc - var yyhl1092 bool = l >= 0 - for yyj1092 := 0; ; yyj1092++ { - if yyhl1092 { - if yyj1092 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1092Slc = r.DecodeBytes(yys1092Slc, true, true) - yys1092 := string(yys1092Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1092 { - case "rule": - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = FSGroupStrategyType(r.DecodeString()) - } - case "ranges": - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1094 := &x.Ranges - yym1095 := z.DecBinary() - _ = yym1095 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1094), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1092) - } // end switch yys1092 - } // end for yyj1092 - 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 yyj1096 int - var yyb1096 bool - var yyhl1096 bool = l >= 0 - yyj1096++ - if yyhl1096 { - yyb1096 = yyj1096 > l - } else { - yyb1096 = r.CheckBreak() - } - if yyb1096 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = FSGroupStrategyType(r.DecodeString()) - } - yyj1096++ - if yyhl1096 { - yyb1096 = yyj1096 > l - } else { - yyb1096 = r.CheckBreak() - } - if yyb1096 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1098 := &x.Ranges - yym1099 := z.DecBinary() - _ = yym1099 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1098), d) - } - } - for { - yyj1096++ - if yyhl1096 { - yyb1096 = yyj1096 > l - } else { - yyb1096 = r.CheckBreak() - } - if yyb1096 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1096-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1100 := z.EncBinary() - _ = yym1100 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1101 := z.DecBinary() - _ = yym1101 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1102 := z.EncBinary() - _ = yym1102 - 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[0] = x.Rule != "" - yyq1103[1] = len(x.Ranges) != 0 - var yynn1103 int - if yyr1103 || yy2arr1103 { - r.EncodeArrayStart(2) - } else { - yynn1103 = 0 - for _, b := range yyq1103 { - if b { - yynn1103++ - } - } - r.EncodeMapStart(yynn1103) - yynn1103 = 0 - } - if yyr1103 || yy2arr1103 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1103[0] { - x.Rule.CodecEncodeSelf(e) - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1103[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("rule")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - x.Rule.CodecEncodeSelf(e) - } - } - if yyr1103 || yy2arr1103 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1103[1] { - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1106 := z.EncBinary() - _ = yym1106 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1103[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("ranges")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Ranges == nil { - r.EncodeNil() - } else { - yym1107 := z.EncBinary() - _ = yym1107 - if false { - } else { - h.encSliceIDRange(([]IDRange)(x.Ranges), e) - } - } - } - } - if yyr1103 || yy2arr1103 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1108 := z.DecBinary() - _ = yym1108 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1109 := r.ContainerType() - if yyct1109 == codecSelferValueTypeMap1234 { - yyl1109 := r.ReadMapStart() - if yyl1109 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1109, d) - } - } else if yyct1109 == codecSelferValueTypeArray1234 { - yyl1109 := r.ReadArrayStart() - if yyl1109 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1109, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1110Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1110Slc - var yyhl1110 bool = l >= 0 - for yyj1110 := 0; ; yyj1110++ { - if yyhl1110 { - if yyj1110 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1110Slc = r.DecodeBytes(yys1110Slc, true, true) - yys1110 := string(yys1110Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1110 { - case "rule": - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) - } - case "ranges": - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1112 := &x.Ranges - yym1113 := z.DecBinary() - _ = yym1113 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1112), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1110) - } // end switch yys1110 - } // end for yyj1110 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1114 int - var yyb1114 bool - var yyhl1114 bool = l >= 0 - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l - } else { - yyb1114 = r.CheckBreak() - } - if yyb1114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Rule = "" - } else { - x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) - } - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l - } else { - yyb1114 = r.CheckBreak() - } - if yyb1114 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Ranges = nil - } else { - yyv1116 := &x.Ranges - yym1117 := z.DecBinary() - _ = yym1117 - if false { - } else { - h.decSliceIDRange((*[]IDRange)(yyv1116), d) - } - } - for { - yyj1114++ - if yyhl1114 { - yyb1114 = yyj1114 > l - } else { - yyb1114 = r.CheckBreak() - } - if yyb1114 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1114-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - yym1118 := z.EncBinary() - _ = yym1118 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x)) - } -} - -func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1119 := z.DecBinary() - _ = yym1119 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - *((*string)(x)) = r.DecodeString() - } -} - -func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1120 := z.EncBinary() - _ = yym1120 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1121 := !z.EncBinary() - yy2arr1121 := z.EncBasicHandle().StructToArray - var yyq1121 [4]bool - _, _, _ = yysep1121, yyq1121, yy2arr1121 - const yyr1121 bool = false - yyq1121[0] = x.Kind != "" - yyq1121[1] = x.APIVersion != "" - yyq1121[2] = true - var yynn1121 int - if yyr1121 || yy2arr1121 { - r.EncodeArrayStart(4) - } else { - yynn1121 = 1 - for _, b := range yyq1121 { - if b { - yynn1121++ - } - } - r.EncodeMapStart(yynn1121) - yynn1121 = 0 - } - if yyr1121 || yy2arr1121 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1121[0] { - yym1123 := z.EncBinary() - _ = yym1123 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1121[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1124 := z.EncBinary() - _ = yym1124 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1121 || yy2arr1121 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1121[1] { - yym1126 := z.EncBinary() - _ = yym1126 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1121[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1127 := z.EncBinary() - _ = yym1127 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1121 || yy2arr1121 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1121[2] { - yy1129 := &x.ListMeta - yym1130 := z.EncBinary() - _ = yym1130 - if false { - } else if z.HasExtensions() && z.EncExt(yy1129) { - } else { - z.EncFallback(yy1129) - } - } else { - r.EncodeNil() - } - } else { - if yyq1121[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("metadata")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1131 := &x.ListMeta - yym1132 := z.EncBinary() - _ = yym1132 - if false { - } else if z.HasExtensions() && z.EncExt(yy1131) { - } else { - z.EncFallback(yy1131) - } - } - } - if yyr1121 || yy2arr1121 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if x.Items == nil { - r.EncodeNil() - } else { - yym1134 := z.EncBinary() - _ = yym1134 - if false { - } else { - h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(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 { - yym1135 := z.EncBinary() - _ = yym1135 - if false { - } else { - h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) - } - } - } - if yyr1121 || yy2arr1121 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *PodSecurityPolicyList) 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 *PodSecurityPolicyList) 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 "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 { - yyv1141 := &x.ListMeta - yym1142 := z.DecBinary() - _ = yym1142 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1141) { - } else { - z.DecFallback(yyv1141, false) - } - } - case "items": - if r.TryDecodeAsNil() { - x.Items = nil - } else { - yyv1143 := &x.Items - yym1144 := z.DecBinary() - _ = yym1144 - if false { - } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1143), d) - } - } - default: - z.DecStructFieldNotFound(-1, yys1138) - } // end switch yys1138 - } // end for yyj1138 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -13775,9 +13630,9 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.Kind = "" + x.Min = 0 } else { - x.Kind = string(r.DecodeString()) + x.Min = int64(r.DecodeInt(64)) } yyj1145++ if yyhl1145 { @@ -13791,54 +13646,9 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } z.DecSendContainerState(codecSelfer_containerArrayElem1234) if r.TryDecodeAsNil() { - x.APIVersion = "" + x.Max = 0 } else { - x.APIVersion = string(r.DecodeString()) - } - 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.ListMeta = pkg1_unversioned.ListMeta{} - } else { - yyv1148 := &x.ListMeta - yym1149 := z.DecBinary() - _ = yym1149 - if false { - } else if z.HasExtensions() && z.DecExt(yyv1148) { - } else { - z.DecFallback(yyv1148, false) - } - } - 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.Items = nil - } else { - yyv1150 := &x.Items - yym1151 := z.DecBinary() - _ = yym1151 - if false { - } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1150), d) - } + x.Max = int64(r.DecodeInt(64)) } for { yyj1145++ @@ -13856,6 +13666,882 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec 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 + var yyj1162 int + var yyb1162 bool + var yyhl1162 bool = l >= 0 + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l + } else { + yyb1162 = r.CheckBreak() + } + if yyb1162 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = FSGroupStrategyType(r.DecodeString()) + } + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l + } else { + yyb1162 = r.CheckBreak() + } + if yyb1162 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + 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) + } + } + for { + yyj1162++ + if yyhl1162 { + yyb1162 = yyj1162 > l + } else { + yyb1162 = r.CheckBreak() + } + if yyb1162 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1162-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 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1167 := z.DecBinary() + _ = yym1167 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1168 := z.EncBinary() + _ = yym1168 + 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 { + r.EncodeArrayStart(2) + } else { + yynn1169 = 0 + for _, b := range yyq1169 { + if b { + yynn1169++ + } + } + r.EncodeMapStart(yynn1169) + yynn1169 = 0 + } + if yyr1169 || yy2arr1169 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1169[0] { + x.Rule.CodecEncodeSelf(e) + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1169[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("rule")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + x.Rule.CodecEncodeSelf(e) + } + } + if yyr1169 || yy2arr1169 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1169[1] { + if x.Ranges == nil { + r.EncodeNil() + } else { + yym1172 := z.EncBinary() + _ = yym1172 + if false { + } else { + h.encSliceIDRange(([]IDRange)(x.Ranges), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1169[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 + if false { + } else { + h.encSliceIDRange(([]IDRange)(x.Ranges), e) + } + } + } + } + if yyr1169 || yy2arr1169 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1174 := z.DecBinary() + _ = yym1174 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1175 := r.ContainerType() + if yyct1175 == codecSelferValueTypeMap1234 { + yyl1175 := r.ReadMapStart() + if yyl1175 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1175, d) + } + } else if yyct1175 == codecSelferValueTypeArray1234 { + yyl1175 := r.ReadArrayStart() + if yyl1175 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1175, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1176Slc = r.DecodeBytes(yys1176Slc, true, true) + yys1176 := string(yys1176Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1176 { + case "rule": + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) + } + case "ranges": + if r.TryDecodeAsNil() { + x.Ranges = nil + } else { + yyv1178 := &x.Ranges + yym1179 := z.DecBinary() + _ = yym1179 + if false { + } else { + h.decSliceIDRange((*[]IDRange)(yyv1178), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1176) + } // end switch yys1176 + } // end for yyj1176 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb1180 = r.CheckBreak() + } + if yyb1180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Rule = "" + } else { + x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) + } + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l + } else { + yyb1180 = r.CheckBreak() + } + if yyb1180 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Ranges = nil + } else { + yyv1182 := &x.Ranges + yym1183 := z.DecBinary() + _ = yym1183 + if false { + } else { + h.decSliceIDRange((*[]IDRange)(yyv1182), d) + } + } + for { + yyj1180++ + if yyhl1180 { + yyb1180 = yyj1180 > l + } else { + yyb1180 = r.CheckBreak() + } + if yyb1180 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1180-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1184 := z.EncBinary() + _ = yym1184 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1185 := z.DecBinary() + _ = yym1185 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1186 := z.EncBinary() + _ = yym1186 + 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 { + r.EncodeArrayStart(4) + } else { + yynn1187 = 1 + for _, b := range yyq1187 { + if b { + yynn1187++ + } + } + r.EncodeMapStart(yynn1187) + yynn1187 = 0 + } + if yyr1187 || yy2arr1187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1187[0] { + yym1189 := z.EncBinary() + _ = yym1189 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1187[0] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("kind")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1190 := z.EncBinary() + _ = yym1190 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) + } + } + } + if yyr1187 || yy2arr1187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1187[1] { + yym1192 := z.EncBinary() + _ = yym1192 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1187[1] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1193 := z.EncBinary() + _ = yym1193 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) + } + } + } + if yyr1187 || yy2arr1187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1187[2] { + yy1195 := &x.ListMeta + yym1196 := z.EncBinary() + _ = yym1196 + if false { + } else if z.HasExtensions() && z.EncExt(yy1195) { + } else { + z.EncFallback(yy1195) + } + } else { + r.EncodeNil() + } + } else { + if yyq1187[2] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("metadata")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1197 := &x.ListMeta + yym1198 := z.EncBinary() + _ = yym1198 + if false { + } else if z.HasExtensions() && z.EncExt(yy1197) { + } else { + z.EncFallback(yy1197) + } + } + } + if yyr1187 || yy2arr1187 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if x.Items == nil { + r.EncodeNil() + } else { + yym1200 := z.EncBinary() + _ = yym1200 + if false { + } else { + h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(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 { + yym1201 := z.EncBinary() + _ = yym1201 + if false { + } else { + h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) + } + } + } + if yyr1187 || yy2arr1187 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1202 := z.DecBinary() + _ = yym1202 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1203 := r.ContainerType() + if yyct1203 == codecSelferValueTypeMap1234 { + yyl1203 := r.ReadMapStart() + if yyl1203 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1203, d) + } + } else if yyct1203 == codecSelferValueTypeArray1234 { + yyl1203 := r.ReadArrayStart() + if yyl1203 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1203, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { + 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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1204Slc = r.DecodeBytes(yys1204Slc, true, true) + yys1204 := string(yys1204Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1204 { + 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 { + yyv1207 := &x.ListMeta + yym1208 := z.DecBinary() + _ = yym1208 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1207) { + } else { + z.DecFallback(yyv1207, false) + } + } + case "items": + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1209 := &x.Items + yym1210 := z.DecBinary() + _ = yym1210 + if false { + } else { + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1209), d) + } + } + default: + z.DecStructFieldNotFound(-1, yys1204) + } // end switch yys1204 + } // end for yyj1204 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb1211 = r.CheckBreak() + } + if yyb1211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Kind = "" + } else { + x.Kind = string(r.DecodeString()) + } + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l + } else { + yyb1211 = r.CheckBreak() + } + if yyb1211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.APIVersion = "" + } else { + x.APIVersion = string(r.DecodeString()) + } + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l + } else { + yyb1211 = r.CheckBreak() + } + if yyb1211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.ListMeta = pkg1_unversioned.ListMeta{} + } else { + yyv1214 := &x.ListMeta + yym1215 := z.DecBinary() + _ = yym1215 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1214) { + } else { + z.DecFallback(yyv1214, false) + } + } + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l + } else { + yyb1211 = r.CheckBreak() + } + if yyb1211 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Items = nil + } else { + yyv1216 := &x.Items + yym1217 := z.DecBinary() + _ = yym1217 + if false { + } else { + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1216), d) + } + } + for { + yyj1211++ + if yyhl1211 { + yyb1211 = yyj1211 > l + } else { + yyb1211 = r.CheckBreak() + } + if yyb1211 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1211-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) @@ -13863,38 +14549,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1152 := z.EncBinary() - _ = yym1152 + yym1218 := z.EncBinary() + _ = yym1218 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1153 := !z.EncBinary() - yy2arr1153 := z.EncBasicHandle().StructToArray - var yyq1153 [4]bool - _, _, _ = yysep1153, yyq1153, yy2arr1153 - const yyr1153 bool = false - yyq1153[0] = x.Kind != "" - yyq1153[1] = x.APIVersion != "" - yyq1153[2] = true - yyq1153[3] = true - var yynn1153 int - if yyr1153 || yy2arr1153 { + 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 { r.EncodeArrayStart(4) } else { - yynn1153 = 0 - for _, b := range yyq1153 { + yynn1219 = 0 + for _, b := range yyq1219 { if b { - yynn1153++ + yynn1219++ } } - r.EncodeMapStart(yynn1153) - yynn1153 = 0 + r.EncodeMapStart(yynn1219) + yynn1219 = 0 } - if yyr1153 || yy2arr1153 { + if yyr1219 || yy2arr1219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1153[0] { - yym1155 := z.EncBinary() - _ = yym1155 + if yyq1219[0] { + yym1221 := z.EncBinary() + _ = yym1221 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13903,23 +14589,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1153[0] { + if yyq1219[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1156 := z.EncBinary() - _ = yym1156 + yym1222 := z.EncBinary() + _ = yym1222 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1153 || yy2arr1153 { + if yyr1219 || yy2arr1219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1153[1] { - yym1158 := z.EncBinary() - _ = yym1158 + if yyq1219[1] { + yym1224 := z.EncBinary() + _ = yym1224 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13928,53 +14614,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1153[1] { + if yyq1219[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1159 := z.EncBinary() - _ = yym1159 + yym1225 := z.EncBinary() + _ = yym1225 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1153 || yy2arr1153 { + if yyr1219 || yy2arr1219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1153[2] { - yy1161 := &x.ObjectMeta - yy1161.CodecEncodeSelf(e) + if yyq1219[2] { + yy1227 := &x.ObjectMeta + yy1227.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1153[2] { + if yyq1219[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1162 := &x.ObjectMeta - yy1162.CodecEncodeSelf(e) + yy1228 := &x.ObjectMeta + yy1228.CodecEncodeSelf(e) } } - if yyr1153 || yy2arr1153 { + if yyr1219 || yy2arr1219 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1153[3] { - yy1164 := &x.Spec - yy1164.CodecEncodeSelf(e) + if yyq1219[3] { + yy1230 := &x.Spec + yy1230.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1153[3] { + if yyq1219[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1165 := &x.Spec - yy1165.CodecEncodeSelf(e) + yy1231 := &x.Spec + yy1231.CodecEncodeSelf(e) } } - if yyr1153 || yy2arr1153 { + if yyr1219 || yy2arr1219 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13987,25 +14673,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1166 := z.DecBinary() - _ = yym1166 + yym1232 := z.DecBinary() + _ = yym1232 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1167 := r.ContainerType() - if yyct1167 == codecSelferValueTypeMap1234 { - yyl1167 := r.ReadMapStart() - if yyl1167 == 0 { + yyct1233 := r.ContainerType() + if yyct1233 == codecSelferValueTypeMap1234 { + yyl1233 := r.ReadMapStart() + if yyl1233 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1167, d) + x.codecDecodeSelfFromMap(yyl1233, d) } - } else if yyct1167 == codecSelferValueTypeArray1234 { - yyl1167 := r.ReadArrayStart() - if yyl1167 == 0 { + } else if yyct1233 == codecSelferValueTypeArray1234 { + yyl1233 := r.ReadArrayStart() + if yyl1233 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1167, d) + x.codecDecodeSelfFromArray(yyl1233, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14017,12 +14703,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1168Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1168Slc - var yyhl1168 bool = l >= 0 - for yyj1168 := 0; ; yyj1168++ { - if yyhl1168 { - if yyj1168 >= l { + var yys1234Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1234Slc + var yyhl1234 bool = l >= 0 + for yyj1234 := 0; ; yyj1234++ { + if yyhl1234 { + if yyj1234 >= l { break } } else { @@ -14031,10 +14717,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1168Slc = r.DecodeBytes(yys1168Slc, true, true) - yys1168 := string(yys1168Slc) + yys1234Slc = r.DecodeBytes(yys1234Slc, true, true) + yys1234 := string(yys1234Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1168 { + switch yys1234 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14051,20 +14737,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1171 := &x.ObjectMeta - yyv1171.CodecDecodeSelf(d) + yyv1237 := &x.ObjectMeta + yyv1237.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1172 := &x.Spec - yyv1172.CodecDecodeSelf(d) + yyv1238 := &x.Spec + yyv1238.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1168) - } // end switch yys1168 - } // end for yyj1168 + z.DecStructFieldNotFound(-1, yys1234) + } // end switch yys1234 + } // end for yyj1234 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14072,16 +14758,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1173 int - var yyb1173 bool - var yyhl1173 bool = l >= 0 - yyj1173++ - if yyhl1173 { - yyb1173 = yyj1173 > l + var yyj1239 int + var yyb1239 bool + var yyhl1239 bool = l >= 0 + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1173 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1173 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14091,13 +14777,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1173++ - if yyhl1173 { - yyb1173 = yyj1173 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1173 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1173 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14107,13 +14793,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1173++ - if yyhl1173 { - yyb1173 = yyj1173 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1173 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1173 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14121,16 +14807,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_api.ObjectMeta{} } else { - yyv1176 := &x.ObjectMeta - yyv1176.CodecDecodeSelf(d) + yyv1242 := &x.ObjectMeta + yyv1242.CodecDecodeSelf(d) } - yyj1173++ - if yyhl1173 { - yyb1173 = yyj1173 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1173 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1173 { + if yyb1239 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14138,21 +14824,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1177 := &x.Spec - yyv1177.CodecDecodeSelf(d) + yyv1243 := &x.Spec + yyv1243.CodecDecodeSelf(d) } for { - yyj1173++ - if yyhl1173 { - yyb1173 = yyj1173 > l + yyj1239++ + if yyhl1239 { + yyb1239 = yyj1239 > l } else { - yyb1173 = r.CheckBreak() + yyb1239 = r.CheckBreak() } - if yyb1173 { + if yyb1239 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1173-1, "") + z.DecStructFieldNotFound(yyj1239-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14164,61 +14850,61 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1178 := z.EncBinary() - _ = yym1178 + yym1244 := z.EncBinary() + _ = yym1244 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1179 := !z.EncBinary() - yy2arr1179 := z.EncBasicHandle().StructToArray - var yyq1179 [2]bool - _, _, _ = yysep1179, yyq1179, yy2arr1179 - const yyr1179 bool = false - yyq1179[1] = len(x.Ingress) != 0 - var yynn1179 int - if yyr1179 || yy2arr1179 { + 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 { r.EncodeArrayStart(2) } else { - yynn1179 = 1 - for _, b := range yyq1179 { + yynn1245 = 1 + for _, b := range yyq1245 { if b { - yynn1179++ + yynn1245++ } } - r.EncodeMapStart(yynn1179) - yynn1179 = 0 + r.EncodeMapStart(yynn1245) + yynn1245 = 0 } - if yyr1179 || yy2arr1179 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1181 := &x.PodSelector - yym1182 := z.EncBinary() - _ = yym1182 + yy1247 := &x.PodSelector + yym1248 := z.EncBinary() + _ = yym1248 if false { - } else if z.HasExtensions() && z.EncExt(yy1181) { + } else if z.HasExtensions() && z.EncExt(yy1247) { } else { - z.EncFallback(yy1181) + z.EncFallback(yy1247) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1183 := &x.PodSelector - yym1184 := z.EncBinary() - _ = yym1184 + yy1249 := &x.PodSelector + yym1250 := z.EncBinary() + _ = yym1250 if false { - } else if z.HasExtensions() && z.EncExt(yy1183) { + } else if z.HasExtensions() && z.EncExt(yy1249) { } else { - z.EncFallback(yy1183) + z.EncFallback(yy1249) } } - if yyr1179 || yy2arr1179 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1179[1] { + if yyq1245[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1186 := z.EncBinary() - _ = yym1186 + yym1252 := z.EncBinary() + _ = yym1252 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14228,15 +14914,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1179[1] { + if yyq1245[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1187 := z.EncBinary() - _ = yym1187 + yym1253 := z.EncBinary() + _ = yym1253 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -14244,7 +14930,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1179 || yy2arr1179 { + if yyr1245 || yy2arr1245 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14257,25 +14943,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1188 := z.DecBinary() - _ = yym1188 + yym1254 := z.DecBinary() + _ = yym1254 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1189 := r.ContainerType() - if yyct1189 == codecSelferValueTypeMap1234 { - yyl1189 := r.ReadMapStart() - if yyl1189 == 0 { + yyct1255 := r.ContainerType() + if yyct1255 == codecSelferValueTypeMap1234 { + yyl1255 := r.ReadMapStart() + if yyl1255 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1189, d) + x.codecDecodeSelfFromMap(yyl1255, d) } - } else if yyct1189 == codecSelferValueTypeArray1234 { - yyl1189 := r.ReadArrayStart() - if yyl1189 == 0 { + } else if yyct1255 == codecSelferValueTypeArray1234 { + yyl1255 := r.ReadArrayStart() + if yyl1255 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1189, d) + x.codecDecodeSelfFromArray(yyl1255, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14287,12 +14973,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1190Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1190Slc - var yyhl1190 bool = l >= 0 - for yyj1190 := 0; ; yyj1190++ { - if yyhl1190 { - if yyj1190 >= l { + var yys1256Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1256Slc + var yyhl1256 bool = l >= 0 + for yyj1256 := 0; ; yyj1256++ { + if yyhl1256 { + if yyj1256 >= l { break } } else { @@ -14301,39 +14987,39 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1190Slc = r.DecodeBytes(yys1190Slc, true, true) - yys1190 := string(yys1190Slc) + yys1256Slc = r.DecodeBytes(yys1256Slc, true, true) + yys1256 := string(yys1256Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1190 { + switch yys1256 { case "podSelector": if r.TryDecodeAsNil() { x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1191 := &x.PodSelector - yym1192 := z.DecBinary() - _ = yym1192 + yyv1257 := &x.PodSelector + yym1258 := z.DecBinary() + _ = yym1258 if false { - } else if z.HasExtensions() && z.DecExt(yyv1191) { + } else if z.HasExtensions() && z.DecExt(yyv1257) { } else { - z.DecFallback(yyv1191, false) + z.DecFallback(yyv1257, false) } } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1193 := &x.Ingress - yym1194 := z.DecBinary() - _ = yym1194 + yyv1259 := &x.Ingress + yym1260 := z.DecBinary() + _ = yym1260 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1193), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1259), d) } } default: - z.DecStructFieldNotFound(-1, yys1190) - } // end switch yys1190 - } // end for yyj1190 + z.DecStructFieldNotFound(-1, yys1256) + } // end switch yys1256 + } // end for yyj1256 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14341,16 +15027,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1195 int - var yyb1195 bool - var yyhl1195 bool = l >= 0 - yyj1195++ - if yyhl1195 { - yyb1195 = yyj1195 > l + var yyj1261 int + var yyb1261 bool + var yyhl1261 bool = l >= 0 + yyj1261++ + if yyhl1261 { + yyb1261 = yyj1261 > l } else { - yyb1195 = r.CheckBreak() + yyb1261 = r.CheckBreak() } - if yyb1195 { + if yyb1261 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14358,22 +15044,22 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PodSelector = pkg1_unversioned.LabelSelector{} } else { - yyv1196 := &x.PodSelector - yym1197 := z.DecBinary() - _ = yym1197 + yyv1262 := &x.PodSelector + yym1263 := z.DecBinary() + _ = yym1263 if false { - } else if z.HasExtensions() && z.DecExt(yyv1196) { + } else if z.HasExtensions() && z.DecExt(yyv1262) { } else { - z.DecFallback(yyv1196, false) + z.DecFallback(yyv1262, false) } } - yyj1195++ - if yyhl1195 { - yyb1195 = yyj1195 > l + yyj1261++ + if yyhl1261 { + yyb1261 = yyj1261 > l } else { - yyb1195 = r.CheckBreak() + yyb1261 = r.CheckBreak() } - if yyb1195 { + if yyb1261 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14381,26 +15067,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1198 := &x.Ingress - yym1199 := z.DecBinary() - _ = yym1199 + yyv1264 := &x.Ingress + yym1265 := z.DecBinary() + _ = yym1265 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1198), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1264), d) } } for { - yyj1195++ - if yyhl1195 { - yyb1195 = yyj1195 > l + yyj1261++ + if yyhl1261 { + yyb1261 = yyj1261 > l } else { - yyb1195 = r.CheckBreak() + yyb1261 = r.CheckBreak() } - if yyb1195 { + if yyb1261 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1195-1, "") + z.DecStructFieldNotFound(yyj1261-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14412,39 +15098,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1200 := z.EncBinary() - _ = yym1200 + yym1266 := z.EncBinary() + _ = yym1266 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] = len(x.Ports) != 0 - yyq1201[1] = len(x.From) != 0 - var yynn1201 int - if yyr1201 || yy2arr1201 { + 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 { r.EncodeArrayStart(2) } else { - yynn1201 = 0 - for _, b := range yyq1201 { + yynn1267 = 0 + for _, b := range yyq1267 { if b { - yynn1201++ + yynn1267++ } } - r.EncodeMapStart(yynn1201) - yynn1201 = 0 + r.EncodeMapStart(yynn1267) + yynn1267 = 0 } - if yyr1201 || yy2arr1201 { + if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1201[0] { + if yyq1267[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1203 := z.EncBinary() - _ = yym1203 + yym1269 := z.EncBinary() + _ = yym1269 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -14454,15 +15140,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1201[0] { + if yyq1267[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1204 := z.EncBinary() - _ = yym1204 + yym1270 := z.EncBinary() + _ = yym1270 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -14470,14 +15156,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1201 || yy2arr1201 { + if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1201[1] { + if yyq1267[1] { if x.From == nil { r.EncodeNil() } else { - yym1206 := z.EncBinary() - _ = yym1206 + yym1272 := z.EncBinary() + _ = yym1272 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -14487,15 +15173,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1201[1] { + if yyq1267[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1207 := z.EncBinary() - _ = yym1207 + yym1273 := z.EncBinary() + _ = yym1273 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -14503,7 +15189,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1201 || yy2arr1201 { + if yyr1267 || yy2arr1267 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14516,25 +15202,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1208 := z.DecBinary() - _ = yym1208 + yym1274 := z.DecBinary() + _ = yym1274 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1209 := r.ContainerType() - if yyct1209 == codecSelferValueTypeMap1234 { - yyl1209 := r.ReadMapStart() - if yyl1209 == 0 { + yyct1275 := r.ContainerType() + if yyct1275 == codecSelferValueTypeMap1234 { + yyl1275 := r.ReadMapStart() + if yyl1275 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1209, d) + x.codecDecodeSelfFromMap(yyl1275, d) } - } else if yyct1209 == codecSelferValueTypeArray1234 { - yyl1209 := r.ReadArrayStart() - if yyl1209 == 0 { + } else if yyct1275 == codecSelferValueTypeArray1234 { + yyl1275 := r.ReadArrayStart() + if yyl1275 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1209, d) + x.codecDecodeSelfFromArray(yyl1275, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14546,12 +15232,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De 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 { + var yys1276Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1276Slc + var yyhl1276 bool = l >= 0 + for yyj1276 := 0; ; yyj1276++ { + if yyhl1276 { + if yyj1276 >= l { break } } else { @@ -14560,38 +15246,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1210Slc = r.DecodeBytes(yys1210Slc, true, true) - yys1210 := string(yys1210Slc) + yys1276Slc = r.DecodeBytes(yys1276Slc, true, true) + yys1276 := string(yys1276Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1210 { + switch yys1276 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1211 := &x.Ports - yym1212 := z.DecBinary() - _ = yym1212 + yyv1277 := &x.Ports + yym1278 := z.DecBinary() + _ = yym1278 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1211), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1277), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1213 := &x.From - yym1214 := z.DecBinary() - _ = yym1214 + yyv1279 := &x.From + yym1280 := z.DecBinary() + _ = yym1280 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1213), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1279), d) } } default: - z.DecStructFieldNotFound(-1, yys1210) - } // end switch yys1210 - } // end for yyj1210 + z.DecStructFieldNotFound(-1, yys1276) + } // end switch yys1276 + } // end for yyj1276 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14599,16 +15285,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1215 int - var yyb1215 bool - var yyhl1215 bool = l >= 0 - yyj1215++ - if yyhl1215 { - yyb1215 = yyj1215 > l + var yyj1281 int + var yyb1281 bool + var yyhl1281 bool = l >= 0 + yyj1281++ + if yyhl1281 { + yyb1281 = yyj1281 > l } else { - yyb1215 = r.CheckBreak() + yyb1281 = r.CheckBreak() } - if yyb1215 { + if yyb1281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14616,21 +15302,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1216 := &x.Ports - yym1217 := z.DecBinary() - _ = yym1217 + yyv1282 := &x.Ports + yym1283 := z.DecBinary() + _ = yym1283 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1216), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1282), d) } } - yyj1215++ - if yyhl1215 { - yyb1215 = yyj1215 > l + yyj1281++ + if yyhl1281 { + yyb1281 = yyj1281 > l } else { - yyb1215 = r.CheckBreak() + yyb1281 = r.CheckBreak() } - if yyb1215 { + if yyb1281 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14638,26 +15324,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1218 := &x.From - yym1219 := z.DecBinary() - _ = yym1219 + yyv1284 := &x.From + yym1285 := z.DecBinary() + _ = yym1285 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1218), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1284), d) } } for { - yyj1215++ - if yyhl1215 { - yyb1215 = yyj1215 > l + yyj1281++ + if yyhl1281 { + yyb1281 = yyj1281 > l } else { - yyb1215 = r.CheckBreak() + yyb1281 = r.CheckBreak() } - if yyb1215 { + if yyb1281 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1215-1, "") + z.DecStructFieldNotFound(yyj1281-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14669,79 +15355,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1220 := z.EncBinary() - _ = yym1220 + yym1286 := z.EncBinary() + _ = yym1286 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1221 := !z.EncBinary() - yy2arr1221 := z.EncBasicHandle().StructToArray - var yyq1221 [2]bool - _, _, _ = yysep1221, yyq1221, yy2arr1221 - const yyr1221 bool = false - yyq1221[0] = x.Protocol != nil - yyq1221[1] = x.Port != nil - var yynn1221 int - if yyr1221 || yy2arr1221 { + 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 { r.EncodeArrayStart(2) } else { - yynn1221 = 0 - for _, b := range yyq1221 { + yynn1287 = 0 + for _, b := range yyq1287 { if b { - yynn1221++ + yynn1287++ } } - r.EncodeMapStart(yynn1221) - yynn1221 = 0 + r.EncodeMapStart(yynn1287) + yynn1287 = 0 } - if yyr1221 || yy2arr1221 { + if yyr1287 || yy2arr1287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1221[0] { + if yyq1287[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1223 := *x.Protocol - yym1224 := z.EncBinary() - _ = yym1224 + yy1289 := *x.Protocol + yym1290 := z.EncBinary() + _ = yym1290 if false { - } else if z.HasExtensions() && z.EncExt(yy1223) { + } else if z.HasExtensions() && z.EncExt(yy1289) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1223)) + r.EncodeString(codecSelferC_UTF81234, string(yy1289)) } } } else { r.EncodeNil() } } else { - if yyq1221[0] { + if yyq1287[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1225 := *x.Protocol - yym1226 := z.EncBinary() - _ = yym1226 + yy1291 := *x.Protocol + yym1292 := z.EncBinary() + _ = yym1292 if false { - } else if z.HasExtensions() && z.EncExt(yy1225) { + } else if z.HasExtensions() && z.EncExt(yy1291) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1225)) + r.EncodeString(codecSelferC_UTF81234, string(yy1291)) } } } } - if yyr1221 || yy2arr1221 { + if yyr1287 || yy2arr1287 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1221[1] { + if yyq1287[1] { if x.Port == nil { r.EncodeNil() } else { - yym1228 := z.EncBinary() - _ = yym1228 + yym1294 := z.EncBinary() + _ = yym1294 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1228 && z.IsJSONHandle() { + } else if !yym1294 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -14751,18 +15437,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1221[1] { + if yyq1287[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1229 := z.EncBinary() - _ = yym1229 + yym1295 := z.EncBinary() + _ = yym1295 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1229 && z.IsJSONHandle() { + } else if !yym1295 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -14770,7 +15456,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1221 || yy2arr1221 { + if yyr1287 || yy2arr1287 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14783,25 +15469,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1230 := z.DecBinary() - _ = yym1230 + yym1296 := z.DecBinary() + _ = yym1296 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1231 := r.ContainerType() - if yyct1231 == codecSelferValueTypeMap1234 { - yyl1231 := r.ReadMapStart() - if yyl1231 == 0 { + yyct1297 := r.ContainerType() + if yyct1297 == codecSelferValueTypeMap1234 { + yyl1297 := r.ReadMapStart() + if yyl1297 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1231, d) + x.codecDecodeSelfFromMap(yyl1297, d) } - } else if yyct1231 == codecSelferValueTypeArray1234 { - yyl1231 := r.ReadArrayStart() - if yyl1231 == 0 { + } else if yyct1297 == codecSelferValueTypeArray1234 { + yyl1297 := r.ReadArrayStart() + if yyl1297 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1231, d) + x.codecDecodeSelfFromArray(yyl1297, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14813,12 +15499,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1232Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1232Slc - var yyhl1232 bool = l >= 0 - for yyj1232 := 0; ; yyj1232++ { - if yyhl1232 { - if yyj1232 >= l { + var yys1298Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1298Slc + var yyhl1298 bool = l >= 0 + for yyj1298 := 0; ; yyj1298++ { + if yyhl1298 { + if yyj1298 >= l { break } } else { @@ -14827,10 +15513,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1232Slc = r.DecodeBytes(yys1232Slc, true, true) - yys1232 := string(yys1232Slc) + yys1298Slc = r.DecodeBytes(yys1298Slc, true, true) + yys1298 := string(yys1298Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1232 { + switch yys1298 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -14851,20 +15537,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1235 := z.DecBinary() - _ = yym1235 + yym1301 := z.DecBinary() + _ = yym1301 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1235 && z.IsJSONHandle() { + } else if !yym1301 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1232) - } // end switch yys1232 - } // end for yyj1232 + z.DecStructFieldNotFound(-1, yys1298) + } // end switch yys1298 + } // end for yyj1298 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14872,16 +15558,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1236 int - var yyb1236 bool - var yyhl1236 bool = l >= 0 - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + var yyj1302 int + var yyb1302 bool + var yyhl1302 bool = l >= 0 + yyj1302++ + if yyhl1302 { + yyb1302 = yyj1302 > l } else { - yyb1236 = r.CheckBreak() + yyb1302 = r.CheckBreak() } - if yyb1236 { + if yyb1302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14896,13 +15582,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + yyj1302++ + if yyhl1302 { + yyb1302 = yyj1302 > l } else { - yyb1236 = r.CheckBreak() + yyb1302 = r.CheckBreak() } - if yyb1236 { + if yyb1302 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14915,28 +15601,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1239 := z.DecBinary() - _ = yym1239 + yym1305 := z.DecBinary() + _ = yym1305 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1239 && z.IsJSONHandle() { + } else if !yym1305 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1236++ - if yyhl1236 { - yyb1236 = yyj1236 > l + yyj1302++ + if yyhl1302 { + yyb1302 = yyj1302 > l } else { - yyb1236 = r.CheckBreak() + yyb1302 = r.CheckBreak() } - if yyb1236 { + if yyb1302 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1236-1, "") + z.DecStructFieldNotFound(yyj1302-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14948,39 +15634,39 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1240 := z.EncBinary() - _ = yym1240 + yym1306 := z.EncBinary() + _ = yym1306 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1241 := !z.EncBinary() - yy2arr1241 := z.EncBasicHandle().StructToArray - var yyq1241 [2]bool - _, _, _ = yysep1241, yyq1241, yy2arr1241 - const yyr1241 bool = false - yyq1241[0] = x.PodSelector != nil - yyq1241[1] = x.NamespaceSelector != nil - var yynn1241 int - if yyr1241 || yy2arr1241 { + 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 { r.EncodeArrayStart(2) } else { - yynn1241 = 0 - for _, b := range yyq1241 { + yynn1307 = 0 + for _, b := range yyq1307 { if b { - yynn1241++ + yynn1307++ } } - r.EncodeMapStart(yynn1241) - yynn1241 = 0 + r.EncodeMapStart(yynn1307) + yynn1307 = 0 } - if yyr1241 || yy2arr1241 { + if yyr1307 || yy2arr1307 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1241[0] { + if yyq1307[0] { if x.PodSelector == nil { r.EncodeNil() } else { - yym1243 := z.EncBinary() - _ = yym1243 + yym1309 := z.EncBinary() + _ = yym1309 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -14991,15 +15677,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1241[0] { + if yyq1307[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.PodSelector == nil { r.EncodeNil() } else { - yym1244 := z.EncBinary() - _ = yym1244 + yym1310 := z.EncBinary() + _ = yym1310 if false { } else if z.HasExtensions() && z.EncExt(x.PodSelector) { } else { @@ -15008,14 +15694,14 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1241 || yy2arr1241 { + if yyr1307 || yy2arr1307 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1241[1] { + if yyq1307[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1246 := z.EncBinary() - _ = yym1246 + yym1312 := z.EncBinary() + _ = yym1312 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -15026,15 +15712,15 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1241[1] { + if yyq1307[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.NamespaceSelector == nil { r.EncodeNil() } else { - yym1247 := z.EncBinary() - _ = yym1247 + yym1313 := z.EncBinary() + _ = yym1313 if false { } else if z.HasExtensions() && z.EncExt(x.NamespaceSelector) { } else { @@ -15043,7 +15729,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1241 || yy2arr1241 { + if yyr1307 || yy2arr1307 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15056,25 +15742,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1248 := z.DecBinary() - _ = yym1248 + yym1314 := z.DecBinary() + _ = yym1314 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1249 := r.ContainerType() - if yyct1249 == codecSelferValueTypeMap1234 { - yyl1249 := r.ReadMapStart() - if yyl1249 == 0 { + yyct1315 := r.ContainerType() + if yyct1315 == codecSelferValueTypeMap1234 { + yyl1315 := r.ReadMapStart() + if yyl1315 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1249, d) + x.codecDecodeSelfFromMap(yyl1315, d) } - } else if yyct1249 == codecSelferValueTypeArray1234 { - yyl1249 := r.ReadArrayStart() - if yyl1249 == 0 { + } else if yyct1315 == codecSelferValueTypeArray1234 { + yyl1315 := r.ReadArrayStart() + if yyl1315 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1249, d) + x.codecDecodeSelfFromArray(yyl1315, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15086,12 +15772,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1250Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1250Slc - var yyhl1250 bool = l >= 0 - for yyj1250 := 0; ; yyj1250++ { - if yyhl1250 { - if yyj1250 >= l { + var yys1316Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1316Slc + var yyhl1316 bool = l >= 0 + for yyj1316 := 0; ; yyj1316++ { + if yyhl1316 { + if yyj1316 >= l { break } } else { @@ -15100,10 +15786,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1250Slc = r.DecodeBytes(yys1250Slc, true, true) - yys1250 := string(yys1250Slc) + yys1316Slc = r.DecodeBytes(yys1316Slc, true, true) + yys1316 := string(yys1316Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1250 { + switch yys1316 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -15113,8 +15799,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.PodSelector == nil { x.PodSelector = new(pkg1_unversioned.LabelSelector) } - yym1252 := z.DecBinary() - _ = yym1252 + yym1318 := z.DecBinary() + _ = yym1318 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { @@ -15130,8 +15816,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) } - yym1254 := z.DecBinary() - _ = yym1254 + yym1320 := z.DecBinary() + _ = yym1320 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -15139,9 +15825,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } default: - z.DecStructFieldNotFound(-1, yys1250) - } // end switch yys1250 - } // end for yyj1250 + z.DecStructFieldNotFound(-1, yys1316) + } // end switch yys1316 + } // end for yyj1316 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15149,16 +15835,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1255 int - var yyb1255 bool - var yyhl1255 bool = l >= 0 - yyj1255++ - if yyhl1255 { - yyb1255 = yyj1255 > l + var yyj1321 int + var yyb1321 bool + var yyhl1321 bool = l >= 0 + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1255 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1255 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15171,21 +15857,21 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.PodSelector == nil { x.PodSelector = new(pkg1_unversioned.LabelSelector) } - yym1257 := z.DecBinary() - _ = yym1257 + yym1323 := z.DecBinary() + _ = yym1323 if false { } else if z.HasExtensions() && z.DecExt(x.PodSelector) { } else { z.DecFallback(x.PodSelector, false) } } - yyj1255++ - if yyhl1255 { - yyb1255 = yyj1255 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1255 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1255 { + if yyb1321 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15198,8 +15884,8 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.NamespaceSelector == nil { x.NamespaceSelector = new(pkg1_unversioned.LabelSelector) } - yym1259 := z.DecBinary() - _ = yym1259 + yym1325 := z.DecBinary() + _ = yym1325 if false { } else if z.HasExtensions() && z.DecExt(x.NamespaceSelector) { } else { @@ -15207,17 +15893,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } } for { - yyj1255++ - if yyhl1255 { - yyb1255 = yyj1255 > l + yyj1321++ + if yyhl1321 { + yyb1321 = yyj1321 > l } else { - yyb1255 = r.CheckBreak() + yyb1321 = r.CheckBreak() } - if yyb1255 { + if yyb1321 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1255-1, "") + z.DecStructFieldNotFound(yyj1321-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15229,37 +15915,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1260 := z.EncBinary() - _ = yym1260 + yym1326 := z.EncBinary() + _ = yym1326 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1261 := !z.EncBinary() - yy2arr1261 := z.EncBasicHandle().StructToArray - var yyq1261 [4]bool - _, _, _ = yysep1261, yyq1261, yy2arr1261 - const yyr1261 bool = false - yyq1261[0] = x.Kind != "" - yyq1261[1] = x.APIVersion != "" - yyq1261[2] = true - var yynn1261 int - if yyr1261 || yy2arr1261 { + 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 { r.EncodeArrayStart(4) } else { - yynn1261 = 1 - for _, b := range yyq1261 { + yynn1327 = 1 + for _, b := range yyq1327 { if b { - yynn1261++ + yynn1327++ } } - r.EncodeMapStart(yynn1261) - yynn1261 = 0 + r.EncodeMapStart(yynn1327) + yynn1327 = 0 } - if yyr1261 || yy2arr1261 { + if yyr1327 || yy2arr1327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1261[0] { - yym1263 := z.EncBinary() - _ = yym1263 + if yyq1327[0] { + yym1329 := z.EncBinary() + _ = yym1329 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15268,23 +15954,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1261[0] { + if yyq1327[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1264 := z.EncBinary() - _ = yym1264 + yym1330 := z.EncBinary() + _ = yym1330 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1261 || yy2arr1261 { + if yyr1327 || yy2arr1327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1261[1] { - yym1266 := z.EncBinary() - _ = yym1266 + if yyq1327[1] { + yym1332 := z.EncBinary() + _ = yym1332 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15293,54 +15979,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1261[1] { + if yyq1327[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1267 := z.EncBinary() - _ = yym1267 + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1261 || yy2arr1261 { + if yyr1327 || yy2arr1327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1261[2] { - yy1269 := &x.ListMeta - yym1270 := z.EncBinary() - _ = yym1270 + if yyq1327[2] { + yy1335 := &x.ListMeta + yym1336 := z.EncBinary() + _ = yym1336 if false { - } else if z.HasExtensions() && z.EncExt(yy1269) { + } else if z.HasExtensions() && z.EncExt(yy1335) { } else { - z.EncFallback(yy1269) + z.EncFallback(yy1335) } } else { r.EncodeNil() } } else { - if yyq1261[2] { + if yyq1327[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1271 := &x.ListMeta - yym1272 := z.EncBinary() - _ = yym1272 + yy1337 := &x.ListMeta + yym1338 := z.EncBinary() + _ = yym1338 if false { - } else if z.HasExtensions() && z.EncExt(yy1271) { + } else if z.HasExtensions() && z.EncExt(yy1337) { } else { - z.EncFallback(yy1271) + z.EncFallback(yy1337) } } } - if yyr1261 || yy2arr1261 { + if yyr1327 || yy2arr1327 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1274 := z.EncBinary() - _ = yym1274 + yym1340 := z.EncBinary() + _ = yym1340 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -15353,15 +16039,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1275 := z.EncBinary() - _ = yym1275 + yym1341 := z.EncBinary() + _ = yym1341 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1261 || yy2arr1261 { + if yyr1327 || yy2arr1327 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15374,25 +16060,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1276 := z.DecBinary() - _ = yym1276 + yym1342 := z.DecBinary() + _ = yym1342 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1277 := r.ContainerType() - if yyct1277 == codecSelferValueTypeMap1234 { - yyl1277 := r.ReadMapStart() - if yyl1277 == 0 { + yyct1343 := r.ContainerType() + if yyct1343 == codecSelferValueTypeMap1234 { + yyl1343 := r.ReadMapStart() + if yyl1343 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1277, d) + x.codecDecodeSelfFromMap(yyl1343, d) } - } else if yyct1277 == codecSelferValueTypeArray1234 { - yyl1277 := r.ReadArrayStart() - if yyl1277 == 0 { + } else if yyct1343 == codecSelferValueTypeArray1234 { + yyl1343 := r.ReadArrayStart() + if yyl1343 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1277, d) + x.codecDecodeSelfFromArray(yyl1343, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15404,12 +16090,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1278Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1278Slc - var yyhl1278 bool = l >= 0 - for yyj1278 := 0; ; yyj1278++ { - if yyhl1278 { - if yyj1278 >= l { + var yys1344Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1344Slc + var yyhl1344 bool = l >= 0 + for yyj1344 := 0; ; yyj1344++ { + if yyhl1344 { + if yyj1344 >= l { break } } else { @@ -15418,10 +16104,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1278Slc = r.DecodeBytes(yys1278Slc, true, true) - yys1278 := string(yys1278Slc) + yys1344Slc = r.DecodeBytes(yys1344Slc, true, true) + yys1344 := string(yys1344Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1278 { + switch yys1344 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15438,31 +16124,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1281 := &x.ListMeta - yym1282 := z.DecBinary() - _ = yym1282 + yyv1347 := &x.ListMeta + yym1348 := z.DecBinary() + _ = yym1348 if false { - } else if z.HasExtensions() && z.DecExt(yyv1281) { + } else if z.HasExtensions() && z.DecExt(yyv1347) { } else { - z.DecFallback(yyv1281, false) + z.DecFallback(yyv1347, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1283 := &x.Items - yym1284 := z.DecBinary() - _ = yym1284 + yyv1349 := &x.Items + yym1350 := z.DecBinary() + _ = yym1350 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1283), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1349), d) } } default: - z.DecStructFieldNotFound(-1, yys1278) - } // end switch yys1278 - } // end for yyj1278 + z.DecStructFieldNotFound(-1, yys1344) + } // end switch yys1344 + } // end for yyj1344 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15470,16 +16156,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1285 int - var yyb1285 bool - var yyhl1285 bool = l >= 0 - yyj1285++ - if yyhl1285 { - yyb1285 = yyj1285 > l + var yyj1351 int + var yyb1351 bool + var yyhl1351 bool = l >= 0 + yyj1351++ + if yyhl1351 { + yyb1351 = yyj1351 > l } else { - yyb1285 = r.CheckBreak() + yyb1351 = r.CheckBreak() } - if yyb1285 { + if yyb1351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15489,13 +16175,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1285++ - if yyhl1285 { - yyb1285 = yyj1285 > l + yyj1351++ + if yyhl1351 { + yyb1351 = yyj1351 > l } else { - yyb1285 = r.CheckBreak() + yyb1351 = r.CheckBreak() } - if yyb1285 { + if yyb1351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15505,13 +16191,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1285++ - if yyhl1285 { - yyb1285 = yyj1285 > l + yyj1351++ + if yyhl1351 { + yyb1351 = yyj1351 > l } else { - yyb1285 = r.CheckBreak() + yyb1351 = r.CheckBreak() } - if yyb1285 { + if yyb1351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15519,22 +16205,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1288 := &x.ListMeta - yym1289 := z.DecBinary() - _ = yym1289 + yyv1354 := &x.ListMeta + yym1355 := z.DecBinary() + _ = yym1355 if false { - } else if z.HasExtensions() && z.DecExt(yyv1288) { + } else if z.HasExtensions() && z.DecExt(yyv1354) { } else { - z.DecFallback(yyv1288, false) + z.DecFallback(yyv1354, false) } } - yyj1285++ - if yyhl1285 { - yyb1285 = yyj1285 > l + yyj1351++ + if yyhl1351 { + yyb1351 = yyj1351 > l } else { - yyb1285 = r.CheckBreak() + yyb1351 = r.CheckBreak() } - if yyb1285 { + if yyb1351 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15542,1307 +16228,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1290 := &x.Items - yym1291 := z.DecBinary() - _ = yym1291 + yyv1356 := &x.Items + yym1357 := z.DecBinary() + _ = yym1357 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1290), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1356), d) } } for { - yyj1285++ - if yyhl1285 { - yyb1285 = yyj1285 > l + yyj1351++ + if yyhl1351 { + yyb1351 = yyj1351 > l } else { - yyb1285 = r.CheckBreak() + yyb1351 = r.CheckBreak() } - if yyb1285 { + if yyb1351 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1285-1, "") + z.DecStructFieldNotFound(yyj1351-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 _, yyv1292 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1293 := &yyv1292 - yy1293.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 - - yyv1294 := *v - yyh1294, yyl1294 := z.DecSliceHelperStart() - var yyc1294 bool - if yyl1294 == 0 { - if yyv1294 == nil { - yyv1294 = []CustomMetricTarget{} - yyc1294 = true - } else if len(yyv1294) != 0 { - yyv1294 = yyv1294[:0] - yyc1294 = true - } - } else if yyl1294 > 0 { - var yyrr1294, yyrl1294 int - var yyrt1294 bool - if yyl1294 > cap(yyv1294) { - - yyrg1294 := len(yyv1294) > 0 - yyv21294 := yyv1294 - yyrl1294, yyrt1294 = z.DecInferLen(yyl1294, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1294 { - if yyrl1294 <= cap(yyv1294) { - yyv1294 = yyv1294[:yyrl1294] - } else { - yyv1294 = make([]CustomMetricTarget, yyrl1294) - } - } else { - yyv1294 = make([]CustomMetricTarget, yyrl1294) - } - yyc1294 = true - yyrr1294 = len(yyv1294) - if yyrg1294 { - copy(yyv1294, yyv21294) - } - } else if yyl1294 != len(yyv1294) { - yyv1294 = yyv1294[:yyl1294] - yyc1294 = true - } - yyj1294 := 0 - for ; yyj1294 < yyrr1294; yyj1294++ { - yyh1294.ElemContainerState(yyj1294) - if r.TryDecodeAsNil() { - yyv1294[yyj1294] = CustomMetricTarget{} - } else { - yyv1295 := &yyv1294[yyj1294] - yyv1295.CodecDecodeSelf(d) - } - - } - if yyrt1294 { - for ; yyj1294 < yyl1294; yyj1294++ { - yyv1294 = append(yyv1294, CustomMetricTarget{}) - yyh1294.ElemContainerState(yyj1294) - if r.TryDecodeAsNil() { - yyv1294[yyj1294] = CustomMetricTarget{} - } else { - yyv1296 := &yyv1294[yyj1294] - yyv1296.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1294 := 0 - for ; !r.CheckBreak(); yyj1294++ { - - if yyj1294 >= len(yyv1294) { - yyv1294 = append(yyv1294, CustomMetricTarget{}) // var yyz1294 CustomMetricTarget - yyc1294 = true - } - yyh1294.ElemContainerState(yyj1294) - if yyj1294 < len(yyv1294) { - if r.TryDecodeAsNil() { - yyv1294[yyj1294] = CustomMetricTarget{} - } else { - yyv1297 := &yyv1294[yyj1294] - yyv1297.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1294 < len(yyv1294) { - yyv1294 = yyv1294[:yyj1294] - yyc1294 = true - } else if yyj1294 == 0 && yyv1294 == nil { - yyv1294 = []CustomMetricTarget{} - yyc1294 = true - } - } - yyh1294.End() - if yyc1294 { - *v = yyv1294 - } -} - -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 _, yyv1298 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1299 := &yyv1298 - yy1299.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 - - yyv1300 := *v - yyh1300, yyl1300 := z.DecSliceHelperStart() - var yyc1300 bool - if yyl1300 == 0 { - if yyv1300 == nil { - yyv1300 = []CustomMetricCurrentStatus{} - yyc1300 = true - } else if len(yyv1300) != 0 { - yyv1300 = yyv1300[:0] - yyc1300 = true - } - } else if yyl1300 > 0 { - var yyrr1300, yyrl1300 int - var yyrt1300 bool - if yyl1300 > cap(yyv1300) { - - yyrg1300 := len(yyv1300) > 0 - yyv21300 := yyv1300 - yyrl1300, yyrt1300 = z.DecInferLen(yyl1300, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1300 { - if yyrl1300 <= cap(yyv1300) { - yyv1300 = yyv1300[:yyrl1300] - } else { - yyv1300 = make([]CustomMetricCurrentStatus, yyrl1300) - } - } else { - yyv1300 = make([]CustomMetricCurrentStatus, yyrl1300) - } - yyc1300 = true - yyrr1300 = len(yyv1300) - if yyrg1300 { - copy(yyv1300, yyv21300) - } - } else if yyl1300 != len(yyv1300) { - yyv1300 = yyv1300[:yyl1300] - yyc1300 = true - } - yyj1300 := 0 - for ; yyj1300 < yyrr1300; yyj1300++ { - yyh1300.ElemContainerState(yyj1300) - if r.TryDecodeAsNil() { - yyv1300[yyj1300] = CustomMetricCurrentStatus{} - } else { - yyv1301 := &yyv1300[yyj1300] - yyv1301.CodecDecodeSelf(d) - } - - } - if yyrt1300 { - for ; yyj1300 < yyl1300; yyj1300++ { - yyv1300 = append(yyv1300, CustomMetricCurrentStatus{}) - yyh1300.ElemContainerState(yyj1300) - if r.TryDecodeAsNil() { - yyv1300[yyj1300] = CustomMetricCurrentStatus{} - } else { - yyv1302 := &yyv1300[yyj1300] - yyv1302.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1300 := 0 - for ; !r.CheckBreak(); yyj1300++ { - - if yyj1300 >= len(yyv1300) { - yyv1300 = append(yyv1300, CustomMetricCurrentStatus{}) // var yyz1300 CustomMetricCurrentStatus - yyc1300 = true - } - yyh1300.ElemContainerState(yyj1300) - if yyj1300 < len(yyv1300) { - if r.TryDecodeAsNil() { - yyv1300[yyj1300] = CustomMetricCurrentStatus{} - } else { - yyv1303 := &yyv1300[yyj1300] - yyv1303.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1300 < len(yyv1300) { - yyv1300 = yyv1300[:yyj1300] - yyc1300 = true - } else if yyj1300 == 0 && yyv1300 == nil { - yyv1300 = []CustomMetricCurrentStatus{} - yyc1300 = true - } - } - yyh1300.End() - if yyc1300 { - *v = yyv1300 - } -} - -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 _, yyv1304 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1305 := &yyv1304 - yy1305.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 - - yyv1306 := *v - yyh1306, yyl1306 := z.DecSliceHelperStart() - var yyc1306 bool - if yyl1306 == 0 { - if yyv1306 == nil { - yyv1306 = []APIVersion{} - yyc1306 = true - } else if len(yyv1306) != 0 { - yyv1306 = yyv1306[:0] - yyc1306 = true - } - } else if yyl1306 > 0 { - var yyrr1306, yyrl1306 int - var yyrt1306 bool - if yyl1306 > cap(yyv1306) { - - yyrg1306 := len(yyv1306) > 0 - yyv21306 := yyv1306 - yyrl1306, yyrt1306 = z.DecInferLen(yyl1306, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1306 { - if yyrl1306 <= cap(yyv1306) { - yyv1306 = yyv1306[:yyrl1306] - } else { - yyv1306 = make([]APIVersion, yyrl1306) - } - } else { - yyv1306 = make([]APIVersion, yyrl1306) - } - yyc1306 = true - yyrr1306 = len(yyv1306) - if yyrg1306 { - copy(yyv1306, yyv21306) - } - } else if yyl1306 != len(yyv1306) { - yyv1306 = yyv1306[:yyl1306] - yyc1306 = true - } - yyj1306 := 0 - for ; yyj1306 < yyrr1306; yyj1306++ { - yyh1306.ElemContainerState(yyj1306) - if r.TryDecodeAsNil() { - yyv1306[yyj1306] = APIVersion{} - } else { - yyv1307 := &yyv1306[yyj1306] - yyv1307.CodecDecodeSelf(d) - } - - } - if yyrt1306 { - for ; yyj1306 < yyl1306; yyj1306++ { - yyv1306 = append(yyv1306, APIVersion{}) - yyh1306.ElemContainerState(yyj1306) - if r.TryDecodeAsNil() { - yyv1306[yyj1306] = APIVersion{} - } else { - yyv1308 := &yyv1306[yyj1306] - yyv1308.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1306 := 0 - for ; !r.CheckBreak(); yyj1306++ { - - if yyj1306 >= len(yyv1306) { - yyv1306 = append(yyv1306, APIVersion{}) // var yyz1306 APIVersion - yyc1306 = true - } - yyh1306.ElemContainerState(yyj1306) - if yyj1306 < len(yyv1306) { - if r.TryDecodeAsNil() { - yyv1306[yyj1306] = APIVersion{} - } else { - yyv1309 := &yyv1306[yyj1306] - yyv1309.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1306 < len(yyv1306) { - yyv1306 = yyv1306[:yyj1306] - yyc1306 = true - } else if yyj1306 == 0 && yyv1306 == nil { - yyv1306 = []APIVersion{} - yyc1306 = true - } - } - yyh1306.End() - if yyc1306 { - *v = yyv1306 - } -} - -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 _, yyv1310 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1311 := &yyv1310 - yy1311.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 - - yyv1312 := *v - yyh1312, yyl1312 := z.DecSliceHelperStart() - var yyc1312 bool - if yyl1312 == 0 { - if yyv1312 == nil { - yyv1312 = []ThirdPartyResource{} - yyc1312 = true - } else if len(yyv1312) != 0 { - yyv1312 = yyv1312[:0] - yyc1312 = true - } - } else if yyl1312 > 0 { - var yyrr1312, yyrl1312 int - var yyrt1312 bool - if yyl1312 > cap(yyv1312) { - - yyrg1312 := len(yyv1312) > 0 - yyv21312 := yyv1312 - yyrl1312, yyrt1312 = z.DecInferLen(yyl1312, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1312 { - if yyrl1312 <= cap(yyv1312) { - yyv1312 = yyv1312[:yyrl1312] - } else { - yyv1312 = make([]ThirdPartyResource, yyrl1312) - } - } else { - yyv1312 = make([]ThirdPartyResource, yyrl1312) - } - yyc1312 = true - yyrr1312 = len(yyv1312) - if yyrg1312 { - copy(yyv1312, yyv21312) - } - } else if yyl1312 != len(yyv1312) { - yyv1312 = yyv1312[:yyl1312] - yyc1312 = true - } - yyj1312 := 0 - for ; yyj1312 < yyrr1312; yyj1312++ { - yyh1312.ElemContainerState(yyj1312) - if r.TryDecodeAsNil() { - yyv1312[yyj1312] = ThirdPartyResource{} - } else { - yyv1313 := &yyv1312[yyj1312] - yyv1313.CodecDecodeSelf(d) - } - - } - if yyrt1312 { - for ; yyj1312 < yyl1312; yyj1312++ { - yyv1312 = append(yyv1312, ThirdPartyResource{}) - yyh1312.ElemContainerState(yyj1312) - if r.TryDecodeAsNil() { - yyv1312[yyj1312] = ThirdPartyResource{} - } else { - yyv1314 := &yyv1312[yyj1312] - yyv1314.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1312 := 0 - for ; !r.CheckBreak(); yyj1312++ { - - if yyj1312 >= len(yyv1312) { - yyv1312 = append(yyv1312, ThirdPartyResource{}) // var yyz1312 ThirdPartyResource - yyc1312 = true - } - yyh1312.ElemContainerState(yyj1312) - if yyj1312 < len(yyv1312) { - if r.TryDecodeAsNil() { - yyv1312[yyj1312] = ThirdPartyResource{} - } else { - yyv1315 := &yyv1312[yyj1312] - yyv1315.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1312 < len(yyv1312) { - yyv1312 = yyv1312[:yyj1312] - yyc1312 = true - } else if yyj1312 == 0 && yyv1312 == nil { - yyv1312 = []ThirdPartyResource{} - yyc1312 = true - } - } - yyh1312.End() - if yyc1312 { - *v = yyv1312 - } -} - -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 _, yyv1316 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1317 := &yyv1316 - yy1317.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 - - yyv1318 := *v - yyh1318, yyl1318 := z.DecSliceHelperStart() - var yyc1318 bool - if yyl1318 == 0 { - if yyv1318 == nil { - yyv1318 = []Deployment{} - yyc1318 = true - } else if len(yyv1318) != 0 { - yyv1318 = yyv1318[:0] - yyc1318 = true - } - } else if yyl1318 > 0 { - var yyrr1318, yyrl1318 int - var yyrt1318 bool - if yyl1318 > cap(yyv1318) { - - yyrg1318 := len(yyv1318) > 0 - yyv21318 := yyv1318 - yyrl1318, yyrt1318 = z.DecInferLen(yyl1318, z.DecBasicHandle().MaxInitLen, 800) - if yyrt1318 { - if yyrl1318 <= cap(yyv1318) { - yyv1318 = yyv1318[:yyrl1318] - } else { - yyv1318 = make([]Deployment, yyrl1318) - } - } else { - yyv1318 = make([]Deployment, yyrl1318) - } - yyc1318 = true - yyrr1318 = len(yyv1318) - if yyrg1318 { - copy(yyv1318, yyv21318) - } - } else if yyl1318 != len(yyv1318) { - yyv1318 = yyv1318[:yyl1318] - yyc1318 = true - } - yyj1318 := 0 - for ; yyj1318 < yyrr1318; yyj1318++ { - yyh1318.ElemContainerState(yyj1318) - if r.TryDecodeAsNil() { - yyv1318[yyj1318] = Deployment{} - } else { - yyv1319 := &yyv1318[yyj1318] - yyv1319.CodecDecodeSelf(d) - } - - } - if yyrt1318 { - for ; yyj1318 < yyl1318; yyj1318++ { - yyv1318 = append(yyv1318, Deployment{}) - yyh1318.ElemContainerState(yyj1318) - if r.TryDecodeAsNil() { - yyv1318[yyj1318] = Deployment{} - } else { - yyv1320 := &yyv1318[yyj1318] - yyv1320.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1318 := 0 - for ; !r.CheckBreak(); yyj1318++ { - - if yyj1318 >= len(yyv1318) { - yyv1318 = append(yyv1318, Deployment{}) // var yyz1318 Deployment - yyc1318 = true - } - yyh1318.ElemContainerState(yyj1318) - if yyj1318 < len(yyv1318) { - if r.TryDecodeAsNil() { - yyv1318[yyj1318] = Deployment{} - } else { - yyv1321 := &yyv1318[yyj1318] - yyv1321.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1318 < len(yyv1318) { - yyv1318 = yyv1318[:yyj1318] - yyc1318 = true - } else if yyj1318 == 0 && yyv1318 == nil { - yyv1318 = []Deployment{} - yyc1318 = true - } - } - yyh1318.End() - if yyc1318 { - *v = yyv1318 - } -} - -func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1322 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1323 := &yyv1322 - yy1323.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1324 := *v - yyh1324, yyl1324 := z.DecSliceHelperStart() - var yyc1324 bool - if yyl1324 == 0 { - if yyv1324 == nil { - yyv1324 = []DaemonSet{} - yyc1324 = true - } else if len(yyv1324) != 0 { - yyv1324 = yyv1324[:0] - yyc1324 = true - } - } else if yyl1324 > 0 { - var yyrr1324, yyrl1324 int - var yyrt1324 bool - if yyl1324 > cap(yyv1324) { - - yyrg1324 := len(yyv1324) > 0 - yyv21324 := yyv1324 - yyrl1324, yyrt1324 = z.DecInferLen(yyl1324, z.DecBasicHandle().MaxInitLen, 728) - if yyrt1324 { - if yyrl1324 <= cap(yyv1324) { - yyv1324 = yyv1324[:yyrl1324] - } else { - yyv1324 = make([]DaemonSet, yyrl1324) - } - } else { - yyv1324 = make([]DaemonSet, yyrl1324) - } - yyc1324 = true - yyrr1324 = len(yyv1324) - if yyrg1324 { - copy(yyv1324, yyv21324) - } - } else if yyl1324 != len(yyv1324) { - yyv1324 = yyv1324[:yyl1324] - yyc1324 = true - } - yyj1324 := 0 - for ; yyj1324 < yyrr1324; yyj1324++ { - yyh1324.ElemContainerState(yyj1324) - if r.TryDecodeAsNil() { - yyv1324[yyj1324] = DaemonSet{} - } else { - yyv1325 := &yyv1324[yyj1324] - yyv1325.CodecDecodeSelf(d) - } - - } - if yyrt1324 { - for ; yyj1324 < yyl1324; yyj1324++ { - yyv1324 = append(yyv1324, DaemonSet{}) - yyh1324.ElemContainerState(yyj1324) - if r.TryDecodeAsNil() { - yyv1324[yyj1324] = DaemonSet{} - } else { - yyv1326 := &yyv1324[yyj1324] - yyv1326.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1324 := 0 - for ; !r.CheckBreak(); yyj1324++ { - - if yyj1324 >= len(yyv1324) { - yyv1324 = append(yyv1324, DaemonSet{}) // var yyz1324 DaemonSet - yyc1324 = true - } - yyh1324.ElemContainerState(yyj1324) - if yyj1324 < len(yyv1324) { - if r.TryDecodeAsNil() { - yyv1324[yyj1324] = DaemonSet{} - } else { - yyv1327 := &yyv1324[yyj1324] - yyv1327.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1324 < len(yyv1324) { - yyv1324 = yyv1324[:yyj1324] - yyc1324 = true - } else if yyj1324 == 0 && yyv1324 == nil { - yyv1324 = []DaemonSet{} - yyc1324 = true - } - } - yyh1324.End() - if yyc1324 { - *v = yyv1324 - } -} - -func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - r.EncodeArrayStart(len(v)) - for _, yyv1328 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1329 := &yyv1328 - yy1329.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1330 := *v - yyh1330, yyl1330 := z.DecSliceHelperStart() - var yyc1330 bool - if yyl1330 == 0 { - if yyv1330 == nil { - yyv1330 = []ThirdPartyResourceData{} - yyc1330 = true - } else if len(yyv1330) != 0 { - yyv1330 = yyv1330[:0] - yyc1330 = true - } - } else if yyl1330 > 0 { - var yyrr1330, yyrl1330 int - var yyrt1330 bool - if yyl1330 > cap(yyv1330) { - - yyrg1330 := len(yyv1330) > 0 - yyv21330 := yyv1330 - yyrl1330, yyrt1330 = z.DecInferLen(yyl1330, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1330 { - if yyrl1330 <= cap(yyv1330) { - yyv1330 = yyv1330[:yyrl1330] - } else { - yyv1330 = make([]ThirdPartyResourceData, yyrl1330) - } - } else { - yyv1330 = make([]ThirdPartyResourceData, yyrl1330) - } - yyc1330 = true - yyrr1330 = len(yyv1330) - if yyrg1330 { - copy(yyv1330, yyv21330) - } - } else if yyl1330 != len(yyv1330) { - yyv1330 = yyv1330[:yyl1330] - yyc1330 = true - } - yyj1330 := 0 - for ; yyj1330 < yyrr1330; yyj1330++ { - yyh1330.ElemContainerState(yyj1330) - if r.TryDecodeAsNil() { - yyv1330[yyj1330] = ThirdPartyResourceData{} - } else { - yyv1331 := &yyv1330[yyj1330] - yyv1331.CodecDecodeSelf(d) - } - - } - if yyrt1330 { - for ; yyj1330 < yyl1330; yyj1330++ { - yyv1330 = append(yyv1330, ThirdPartyResourceData{}) - yyh1330.ElemContainerState(yyj1330) - if r.TryDecodeAsNil() { - yyv1330[yyj1330] = ThirdPartyResourceData{} - } else { - yyv1332 := &yyv1330[yyj1330] - yyv1332.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1330 := 0 - for ; !r.CheckBreak(); yyj1330++ { - - if yyj1330 >= len(yyv1330) { - yyv1330 = append(yyv1330, ThirdPartyResourceData{}) // var yyz1330 ThirdPartyResourceData - yyc1330 = true - } - yyh1330.ElemContainerState(yyj1330) - if yyj1330 < len(yyv1330) { - if r.TryDecodeAsNil() { - yyv1330[yyj1330] = ThirdPartyResourceData{} - } else { - yyv1333 := &yyv1330[yyj1330] - yyv1333.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1330 < len(yyv1330) { - yyv1330 = yyv1330[:yyj1330] - yyc1330 = true - } else if yyj1330 == 0 && yyv1330 == nil { - yyv1330 = []ThirdPartyResourceData{} - yyc1330 = true - } - } - yyh1330.End() - if yyc1330 { - *v = yyv1330 - } -} - -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 _, yyv1334 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1335 := &yyv1334 - yy1335.CodecEncodeSelf(e) - } - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - - yyv1336 := *v - yyh1336, yyl1336 := z.DecSliceHelperStart() - var yyc1336 bool - if yyl1336 == 0 { - if yyv1336 == nil { - yyv1336 = []Ingress{} - yyc1336 = true - } else if len(yyv1336) != 0 { - yyv1336 = yyv1336[:0] - yyc1336 = true - } - } else if yyl1336 > 0 { - var yyrr1336, yyrl1336 int - var yyrt1336 bool - if yyl1336 > cap(yyv1336) { - - yyrg1336 := len(yyv1336) > 0 - yyv21336 := yyv1336 - yyrl1336, yyrt1336 = z.DecInferLen(yyl1336, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1336 { - if yyrl1336 <= cap(yyv1336) { - yyv1336 = yyv1336[:yyrl1336] - } else { - yyv1336 = make([]Ingress, yyrl1336) - } - } else { - yyv1336 = make([]Ingress, yyrl1336) - } - yyc1336 = true - yyrr1336 = len(yyv1336) - if yyrg1336 { - copy(yyv1336, yyv21336) - } - } else if yyl1336 != len(yyv1336) { - yyv1336 = yyv1336[:yyl1336] - yyc1336 = true - } - yyj1336 := 0 - for ; yyj1336 < yyrr1336; yyj1336++ { - yyh1336.ElemContainerState(yyj1336) - if r.TryDecodeAsNil() { - yyv1336[yyj1336] = Ingress{} - } else { - yyv1337 := &yyv1336[yyj1336] - yyv1337.CodecDecodeSelf(d) - } - - } - if yyrt1336 { - for ; yyj1336 < yyl1336; yyj1336++ { - yyv1336 = append(yyv1336, Ingress{}) - yyh1336.ElemContainerState(yyj1336) - if r.TryDecodeAsNil() { - yyv1336[yyj1336] = Ingress{} - } else { - yyv1338 := &yyv1336[yyj1336] - yyv1338.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1336 := 0 - for ; !r.CheckBreak(); yyj1336++ { - - if yyj1336 >= len(yyv1336) { - yyv1336 = append(yyv1336, Ingress{}) // var yyz1336 Ingress - yyc1336 = true - } - yyh1336.ElemContainerState(yyj1336) - if yyj1336 < len(yyv1336) { - if r.TryDecodeAsNil() { - yyv1336[yyj1336] = Ingress{} - } else { - yyv1339 := &yyv1336[yyj1336] - yyv1339.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1336 < len(yyv1336) { - yyv1336 = yyv1336[:yyj1336] - yyc1336 = true - } else if yyj1336 == 0 && yyv1336 == nil { - yyv1336 = []Ingress{} - yyc1336 = true - } - } - yyh1336.End() - if yyc1336 { - *v = yyv1336 - } -} - -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 _, yyv1340 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1341 := &yyv1340 - yy1341.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 - - yyv1342 := *v - yyh1342, yyl1342 := z.DecSliceHelperStart() - var yyc1342 bool - if yyl1342 == 0 { - if yyv1342 == nil { - yyv1342 = []IngressTLS{} - yyc1342 = true - } else if len(yyv1342) != 0 { - yyv1342 = yyv1342[:0] - yyc1342 = true - } - } else if yyl1342 > 0 { - var yyrr1342, yyrl1342 int - var yyrt1342 bool - if yyl1342 > cap(yyv1342) { - - yyrg1342 := len(yyv1342) > 0 - yyv21342 := yyv1342 - yyrl1342, yyrt1342 = z.DecInferLen(yyl1342, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1342 { - if yyrl1342 <= cap(yyv1342) { - yyv1342 = yyv1342[:yyrl1342] - } else { - yyv1342 = make([]IngressTLS, yyrl1342) - } - } else { - yyv1342 = make([]IngressTLS, yyrl1342) - } - yyc1342 = true - yyrr1342 = len(yyv1342) - if yyrg1342 { - copy(yyv1342, yyv21342) - } - } else if yyl1342 != len(yyv1342) { - yyv1342 = yyv1342[:yyl1342] - yyc1342 = true - } - yyj1342 := 0 - for ; yyj1342 < yyrr1342; yyj1342++ { - yyh1342.ElemContainerState(yyj1342) - if r.TryDecodeAsNil() { - yyv1342[yyj1342] = IngressTLS{} - } else { - yyv1343 := &yyv1342[yyj1342] - yyv1343.CodecDecodeSelf(d) - } - - } - if yyrt1342 { - for ; yyj1342 < yyl1342; yyj1342++ { - yyv1342 = append(yyv1342, IngressTLS{}) - yyh1342.ElemContainerState(yyj1342) - if r.TryDecodeAsNil() { - yyv1342[yyj1342] = IngressTLS{} - } else { - yyv1344 := &yyv1342[yyj1342] - yyv1344.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1342 := 0 - for ; !r.CheckBreak(); yyj1342++ { - - if yyj1342 >= len(yyv1342) { - yyv1342 = append(yyv1342, IngressTLS{}) // var yyz1342 IngressTLS - yyc1342 = true - } - yyh1342.ElemContainerState(yyj1342) - if yyj1342 < len(yyv1342) { - if r.TryDecodeAsNil() { - yyv1342[yyj1342] = IngressTLS{} - } else { - yyv1345 := &yyv1342[yyj1342] - yyv1345.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1342 < len(yyv1342) { - yyv1342 = yyv1342[:yyj1342] - yyc1342 = true - } else if yyj1342 == 0 && yyv1342 == nil { - yyv1342 = []IngressTLS{} - yyc1342 = true - } - } - yyh1342.End() - if yyc1342 { - *v = yyv1342 - } -} - -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 _, yyv1346 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1347 := &yyv1346 - yy1347.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 - - yyv1348 := *v - yyh1348, yyl1348 := z.DecSliceHelperStart() - var yyc1348 bool - if yyl1348 == 0 { - if yyv1348 == nil { - yyv1348 = []IngressRule{} - yyc1348 = true - } else if len(yyv1348) != 0 { - yyv1348 = yyv1348[:0] - yyc1348 = true - } - } else if yyl1348 > 0 { - var yyrr1348, yyrl1348 int - var yyrt1348 bool - if yyl1348 > cap(yyv1348) { - - yyrg1348 := len(yyv1348) > 0 - yyv21348 := yyv1348 - yyrl1348, yyrt1348 = z.DecInferLen(yyl1348, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1348 { - if yyrl1348 <= cap(yyv1348) { - yyv1348 = yyv1348[:yyrl1348] - } else { - yyv1348 = make([]IngressRule, yyrl1348) - } - } else { - yyv1348 = make([]IngressRule, yyrl1348) - } - yyc1348 = true - yyrr1348 = len(yyv1348) - if yyrg1348 { - copy(yyv1348, yyv21348) - } - } else if yyl1348 != len(yyv1348) { - yyv1348 = yyv1348[:yyl1348] - yyc1348 = true - } - yyj1348 := 0 - for ; yyj1348 < yyrr1348; yyj1348++ { - yyh1348.ElemContainerState(yyj1348) - if r.TryDecodeAsNil() { - yyv1348[yyj1348] = IngressRule{} - } else { - yyv1349 := &yyv1348[yyj1348] - yyv1349.CodecDecodeSelf(d) - } - - } - if yyrt1348 { - for ; yyj1348 < yyl1348; yyj1348++ { - yyv1348 = append(yyv1348, IngressRule{}) - yyh1348.ElemContainerState(yyj1348) - if r.TryDecodeAsNil() { - yyv1348[yyj1348] = IngressRule{} - } else { - yyv1350 := &yyv1348[yyj1348] - yyv1350.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1348 := 0 - for ; !r.CheckBreak(); yyj1348++ { - - if yyj1348 >= len(yyv1348) { - yyv1348 = append(yyv1348, IngressRule{}) // var yyz1348 IngressRule - yyc1348 = true - } - yyh1348.ElemContainerState(yyj1348) - if yyj1348 < len(yyv1348) { - if r.TryDecodeAsNil() { - yyv1348[yyj1348] = IngressRule{} - } else { - yyv1351 := &yyv1348[yyj1348] - yyv1351.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1348 < len(yyv1348) { - yyv1348 = yyv1348[:yyj1348] - yyc1348 = true - } else if yyj1348 == 0 && yyv1348 == nil { - yyv1348 = []IngressRule{} - yyc1348 = true - } - } - yyh1348.End() - if yyc1348 { - *v = yyv1348 - } -} - -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 _, yyv1352 := range v { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1353 := &yyv1352 - yy1353.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 - - yyv1354 := *v - yyh1354, yyl1354 := z.DecSliceHelperStart() - var yyc1354 bool - if yyl1354 == 0 { - if yyv1354 == nil { - yyv1354 = []HTTPIngressPath{} - yyc1354 = true - } else if len(yyv1354) != 0 { - yyv1354 = yyv1354[:0] - yyc1354 = true - } - } else if yyl1354 > 0 { - var yyrr1354, yyrl1354 int - var yyrt1354 bool - if yyl1354 > cap(yyv1354) { - - yyrg1354 := len(yyv1354) > 0 - yyv21354 := yyv1354 - yyrl1354, yyrt1354 = z.DecInferLen(yyl1354, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1354 { - if yyrl1354 <= cap(yyv1354) { - yyv1354 = yyv1354[:yyrl1354] - } else { - yyv1354 = make([]HTTPIngressPath, yyrl1354) - } - } else { - yyv1354 = make([]HTTPIngressPath, yyrl1354) - } - yyc1354 = true - yyrr1354 = len(yyv1354) - if yyrg1354 { - copy(yyv1354, yyv21354) - } - } else if yyl1354 != len(yyv1354) { - yyv1354 = yyv1354[:yyl1354] - yyc1354 = true - } - yyj1354 := 0 - for ; yyj1354 < yyrr1354; yyj1354++ { - yyh1354.ElemContainerState(yyj1354) - if r.TryDecodeAsNil() { - yyv1354[yyj1354] = HTTPIngressPath{} - } else { - yyv1355 := &yyv1354[yyj1354] - yyv1355.CodecDecodeSelf(d) - } - - } - if yyrt1354 { - for ; yyj1354 < yyl1354; yyj1354++ { - yyv1354 = append(yyv1354, HTTPIngressPath{}) - yyh1354.ElemContainerState(yyj1354) - if r.TryDecodeAsNil() { - yyv1354[yyj1354] = HTTPIngressPath{} - } else { - yyv1356 := &yyv1354[yyj1354] - yyv1356.CodecDecodeSelf(d) - } - - } - } - - } else { - yyj1354 := 0 - for ; !r.CheckBreak(); yyj1354++ { - - if yyj1354 >= len(yyv1354) { - yyv1354 = append(yyv1354, HTTPIngressPath{}) // var yyz1354 HTTPIngressPath - yyc1354 = true - } - yyh1354.ElemContainerState(yyj1354) - if yyj1354 < len(yyv1354) { - if r.TryDecodeAsNil() { - yyv1354[yyj1354] = HTTPIngressPath{} - } else { - yyv1357 := &yyv1354[yyj1354] - yyv1357.CodecDecodeSelf(d) - } - - } else { - z.DecSwallow() - } - - } - if yyj1354 < len(yyv1354) { - yyv1354 = yyv1354[:yyj1354] - yyc1354 = true - } else if yyj1354 == 0 && yyv1354 == nil { - yyv1354 = []HTTPIngressPath{} - yyc1354 = true - } - } - yyh1354.End() - if yyc1354 { - *v = yyv1354 - } -} - -func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r @@ -16855,7 +16265,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) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16865,7 +16275,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode var yyc1360 bool if yyl1360 == 0 { if yyv1360 == nil { - yyv1360 = []ReplicaSet{} + yyv1360 = []CustomMetricTarget{} yyc1360 = true } else if len(yyv1360) != 0 { yyv1360 = yyv1360[:0] @@ -16878,15 +16288,15 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyrg1360 := len(yyv1360) > 0 yyv21360 := yyv1360 - yyrl1360, yyrt1360 = z.DecInferLen(yyl1360, z.DecBasicHandle().MaxInitLen, 744) + yyrl1360, yyrt1360 = z.DecInferLen(yyl1360, z.DecBasicHandle().MaxInitLen, 72) if yyrt1360 { if yyrl1360 <= cap(yyv1360) { yyv1360 = yyv1360[:yyrl1360] } else { - yyv1360 = make([]ReplicaSet, yyrl1360) + yyv1360 = make([]CustomMetricTarget, yyrl1360) } } else { - yyv1360 = make([]ReplicaSet, yyrl1360) + yyv1360 = make([]CustomMetricTarget, yyrl1360) } yyc1360 = true yyrr1360 = len(yyv1360) @@ -16901,7 +16311,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; yyj1360 < yyrr1360; yyj1360++ { yyh1360.ElemContainerState(yyj1360) if r.TryDecodeAsNil() { - yyv1360[yyj1360] = ReplicaSet{} + yyv1360[yyj1360] = CustomMetricTarget{} } else { yyv1361 := &yyv1360[yyj1360] yyv1361.CodecDecodeSelf(d) @@ -16910,10 +16320,10 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } if yyrt1360 { for ; yyj1360 < yyl1360; yyj1360++ { - yyv1360 = append(yyv1360, ReplicaSet{}) + yyv1360 = append(yyv1360, CustomMetricTarget{}) yyh1360.ElemContainerState(yyj1360) if r.TryDecodeAsNil() { - yyv1360[yyj1360] = ReplicaSet{} + yyv1360[yyj1360] = CustomMetricTarget{} } else { yyv1362 := &yyv1360[yyj1360] yyv1362.CodecDecodeSelf(d) @@ -16927,13 +16337,13 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode for ; !r.CheckBreak(); yyj1360++ { if yyj1360 >= len(yyv1360) { - yyv1360 = append(yyv1360, ReplicaSet{}) // var yyz1360 ReplicaSet + yyv1360 = append(yyv1360, CustomMetricTarget{}) // var yyz1360 CustomMetricTarget yyc1360 = true } yyh1360.ElemContainerState(yyj1360) if yyj1360 < len(yyv1360) { if r.TryDecodeAsNil() { - yyv1360[yyj1360] = ReplicaSet{} + yyv1360[yyj1360] = CustomMetricTarget{} } else { yyv1363 := &yyv1360[yyj1360] yyv1363.CodecDecodeSelf(d) @@ -16948,7 +16358,7 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode yyv1360 = yyv1360[:yyj1360] yyc1360 = true } else if yyj1360 == 0 && yyv1360 == nil { - yyv1360 = []ReplicaSet{} + yyv1360 = []CustomMetricTarget{} yyc1360 = true } } @@ -16958,25 +16368,20 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } -func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *codec1978.Encoder) { +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 _, yyv1364 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1365 := z.EncBinary() - _ = yym1365 - if false { - } else if z.HasExtensions() && z.EncExt(yyv1364) { - } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1364)) - } + yy1365 := &yyv1364 + yy1365.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } -func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *codec1978.Decoder) { +func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurrentStatus, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r @@ -16986,7 +16391,7 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod var yyc1366 bool if yyl1366 == 0 { if yyv1366 == nil { - yyv1366 = []pkg2_api.Capability{} + yyv1366 = []CustomMetricCurrentStatus{} yyc1366 = true } else if len(yyv1366) != 0 { yyv1366 = yyv1366[:0] @@ -16997,18 +16402,23 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod var yyrt1366 bool if yyl1366 > cap(yyv1366) { - yyrl1366, yyrt1366 = z.DecInferLen(yyl1366, z.DecBasicHandle().MaxInitLen, 16) + yyrg1366 := len(yyv1366) > 0 + yyv21366 := yyv1366 + yyrl1366, yyrt1366 = z.DecInferLen(yyl1366, z.DecBasicHandle().MaxInitLen, 72) if yyrt1366 { if yyrl1366 <= cap(yyv1366) { yyv1366 = yyv1366[:yyrl1366] } else { - yyv1366 = make([]pkg2_api.Capability, yyrl1366) + yyv1366 = make([]CustomMetricCurrentStatus, yyrl1366) } } else { - yyv1366 = make([]pkg2_api.Capability, yyrl1366) + yyv1366 = make([]CustomMetricCurrentStatus, yyrl1366) } yyc1366 = true yyrr1366 = len(yyv1366) + if yyrg1366 { + copy(yyv1366, yyv21366) + } } else if yyl1366 != len(yyv1366) { yyv1366 = yyv1366[:yyl1366] yyc1366 = true @@ -17017,20 +16427,22 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod for ; yyj1366 < yyrr1366; yyj1366++ { yyh1366.ElemContainerState(yyj1366) if r.TryDecodeAsNil() { - yyv1366[yyj1366] = "" + yyv1366[yyj1366] = CustomMetricCurrentStatus{} } else { - yyv1366[yyj1366] = pkg2_api.Capability(r.DecodeString()) + yyv1367 := &yyv1366[yyj1366] + yyv1367.CodecDecodeSelf(d) } } if yyrt1366 { for ; yyj1366 < yyl1366; yyj1366++ { - yyv1366 = append(yyv1366, "") + yyv1366 = append(yyv1366, CustomMetricCurrentStatus{}) yyh1366.ElemContainerState(yyj1366) if r.TryDecodeAsNil() { - yyv1366[yyj1366] = "" + yyv1366[yyj1366] = CustomMetricCurrentStatus{} } else { - yyv1366[yyj1366] = pkg2_api.Capability(r.DecodeString()) + yyv1368 := &yyv1366[yyj1366] + yyv1368.CodecDecodeSelf(d) } } @@ -17041,15 +16453,16 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod for ; !r.CheckBreak(); yyj1366++ { if yyj1366 >= len(yyv1366) { - yyv1366 = append(yyv1366, "") // var yyz1366 pkg2_api.Capability + yyv1366 = append(yyv1366, CustomMetricCurrentStatus{}) // var yyz1366 CustomMetricCurrentStatus yyc1366 = true } yyh1366.ElemContainerState(yyj1366) if yyj1366 < len(yyv1366) { if r.TryDecodeAsNil() { - yyv1366[yyj1366] = "" + yyv1366[yyj1366] = CustomMetricCurrentStatus{} } else { - yyv1366[yyj1366] = pkg2_api.Capability(r.DecodeString()) + yyv1369 := &yyv1366[yyj1366] + yyv1369.CodecDecodeSelf(d) } } else { @@ -17061,7 +16474,7 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod yyv1366 = yyv1366[:yyj1366] yyc1366 = true } else if yyj1366 == 0 && yyv1366 == nil { - yyv1366 = []pkg2_api.Capability{} + yyv1366 = []CustomMetricCurrentStatus{} yyc1366 = true } } @@ -17071,14 +16484,1403 @@ func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *cod } } -func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { +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 _, yyv1370 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1370.CodecEncodeSelf(e) + yy1371 := &yyv1370 + yy1371.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 + + 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 + } + } else if yyl1372 > 0 { + var yyrr1372, yyrl1372 int + var yyrt1372 bool + if yyl1372 > cap(yyv1372) { + + yyrg1372 := len(yyv1372) > 0 + yyv21372 := yyv1372 + yyrl1372, yyrt1372 = z.DecInferLen(yyl1372, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1372 { + if yyrl1372 <= cap(yyv1372) { + yyv1372 = yyv1372[:yyrl1372] + } else { + yyv1372 = make([]APIVersion, yyrl1372) + } + } else { + yyv1372 = make([]APIVersion, yyrl1372) + } + yyc1372 = true + yyrr1372 = len(yyv1372) + if yyrg1372 { + copy(yyv1372, yyv21372) + } + } else if yyl1372 != len(yyv1372) { + yyv1372 = yyv1372[:yyl1372] + yyc1372 = true + } + yyj1372 := 0 + for ; yyj1372 < yyrr1372; yyj1372++ { + yyh1372.ElemContainerState(yyj1372) + if r.TryDecodeAsNil() { + yyv1372[yyj1372] = APIVersion{} + } else { + yyv1373 := &yyv1372[yyj1372] + yyv1373.CodecDecodeSelf(d) + } + + } + if yyrt1372 { + for ; yyj1372 < yyl1372; yyj1372++ { + yyv1372 = append(yyv1372, APIVersion{}) + yyh1372.ElemContainerState(yyj1372) + if r.TryDecodeAsNil() { + yyv1372[yyj1372] = APIVersion{} + } else { + yyv1374 := &yyv1372[yyj1372] + yyv1374.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1372 := 0 + for ; !r.CheckBreak(); yyj1372++ { + + if yyj1372 >= len(yyv1372) { + yyv1372 = append(yyv1372, APIVersion{}) // var yyz1372 APIVersion + yyc1372 = true + } + yyh1372.ElemContainerState(yyj1372) + if yyj1372 < len(yyv1372) { + if r.TryDecodeAsNil() { + yyv1372[yyj1372] = APIVersion{} + } else { + yyv1375 := &yyv1372[yyj1372] + yyv1375.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1372 < len(yyv1372) { + yyv1372 = yyv1372[:yyj1372] + yyc1372 = true + } else if yyj1372 == 0 && yyv1372 == nil { + yyv1372 = []APIVersion{} + yyc1372 = true + } + } + yyh1372.End() + if yyc1372 { + *v = yyv1372 + } +} + +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 _, yyv1376 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1377 := &yyv1376 + yy1377.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 + + 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 + } + } else if yyl1378 > 0 { + var yyrr1378, yyrl1378 int + var yyrt1378 bool + if yyl1378 > cap(yyv1378) { + + yyrg1378 := len(yyv1378) > 0 + yyv21378 := yyv1378 + yyrl1378, yyrt1378 = z.DecInferLen(yyl1378, z.DecBasicHandle().MaxInitLen, 296) + if yyrt1378 { + if yyrl1378 <= cap(yyv1378) { + yyv1378 = yyv1378[:yyrl1378] + } else { + yyv1378 = make([]ThirdPartyResource, yyrl1378) + } + } else { + yyv1378 = make([]ThirdPartyResource, yyrl1378) + } + yyc1378 = true + yyrr1378 = len(yyv1378) + if yyrg1378 { + copy(yyv1378, yyv21378) + } + } else if yyl1378 != len(yyv1378) { + yyv1378 = yyv1378[:yyl1378] + yyc1378 = true + } + yyj1378 := 0 + for ; yyj1378 < yyrr1378; yyj1378++ { + yyh1378.ElemContainerState(yyj1378) + if r.TryDecodeAsNil() { + yyv1378[yyj1378] = ThirdPartyResource{} + } else { + yyv1379 := &yyv1378[yyj1378] + yyv1379.CodecDecodeSelf(d) + } + + } + if yyrt1378 { + for ; yyj1378 < yyl1378; yyj1378++ { + yyv1378 = append(yyv1378, ThirdPartyResource{}) + yyh1378.ElemContainerState(yyj1378) + if r.TryDecodeAsNil() { + yyv1378[yyj1378] = ThirdPartyResource{} + } else { + yyv1380 := &yyv1378[yyj1378] + yyv1380.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1378 := 0 + for ; !r.CheckBreak(); yyj1378++ { + + if yyj1378 >= len(yyv1378) { + yyv1378 = append(yyv1378, ThirdPartyResource{}) // var yyz1378 ThirdPartyResource + yyc1378 = true + } + yyh1378.ElemContainerState(yyj1378) + if yyj1378 < len(yyv1378) { + if r.TryDecodeAsNil() { + yyv1378[yyj1378] = ThirdPartyResource{} + } else { + yyv1381 := &yyv1378[yyj1378] + yyv1381.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1378 < len(yyv1378) { + yyv1378 = yyv1378[:yyj1378] + yyc1378 = true + } else if yyj1378 == 0 && yyv1378 == nil { + yyv1378 = []ThirdPartyResource{} + yyc1378 = true + } + } + yyh1378.End() + if yyc1378 { + *v = yyv1378 + } +} + +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 _, yyv1382 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1383 := &yyv1382 + yy1383.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 + + 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 + } + } else if yyl1384 > 0 { + var yyrr1384, yyrl1384 int + var yyrt1384 bool + if yyl1384 > cap(yyv1384) { + + yyrg1384 := len(yyv1384) > 0 + yyv21384 := yyv1384 + yyrl1384, yyrt1384 = z.DecInferLen(yyl1384, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1384 { + if yyrl1384 <= cap(yyv1384) { + yyv1384 = yyv1384[:yyrl1384] + } else { + yyv1384 = make([]Deployment, yyrl1384) + } + } else { + yyv1384 = make([]Deployment, yyrl1384) + } + yyc1384 = true + yyrr1384 = len(yyv1384) + if yyrg1384 { + copy(yyv1384, yyv21384) + } + } else if yyl1384 != len(yyv1384) { + yyv1384 = yyv1384[:yyl1384] + yyc1384 = true + } + yyj1384 := 0 + for ; yyj1384 < yyrr1384; yyj1384++ { + yyh1384.ElemContainerState(yyj1384) + if r.TryDecodeAsNil() { + yyv1384[yyj1384] = Deployment{} + } else { + yyv1385 := &yyv1384[yyj1384] + yyv1385.CodecDecodeSelf(d) + } + + } + if yyrt1384 { + for ; yyj1384 < yyl1384; yyj1384++ { + yyv1384 = append(yyv1384, Deployment{}) + yyh1384.ElemContainerState(yyj1384) + if r.TryDecodeAsNil() { + yyv1384[yyj1384] = Deployment{} + } else { + yyv1386 := &yyv1384[yyj1384] + yyv1386.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1384 := 0 + for ; !r.CheckBreak(); yyj1384++ { + + if yyj1384 >= len(yyv1384) { + yyv1384 = append(yyv1384, Deployment{}) // var yyz1384 Deployment + yyc1384 = true + } + yyh1384.ElemContainerState(yyj1384) + if yyj1384 < len(yyv1384) { + if r.TryDecodeAsNil() { + yyv1384[yyj1384] = Deployment{} + } else { + yyv1387 := &yyv1384[yyj1384] + yyv1387.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1384 < len(yyv1384) { + yyv1384 = yyv1384[:yyj1384] + yyc1384 = true + } else if yyj1384 == 0 && yyv1384 == nil { + yyv1384 = []Deployment{} + yyc1384 = true + } + } + yyh1384.End() + if yyc1384 { + *v = yyv1384 + } +} + +func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1388 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1389 := &yyv1388 + yy1389.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl1390 > 0 { + var yyrr1390, yyrl1390 int + var yyrt1390 bool + if yyl1390 > cap(yyv1390) { + + yyrg1390 := len(yyv1390) > 0 + yyv21390 := yyv1390 + yyrl1390, yyrt1390 = z.DecInferLen(yyl1390, z.DecBasicHandle().MaxInitLen, 728) + if yyrt1390 { + if yyrl1390 <= cap(yyv1390) { + yyv1390 = yyv1390[:yyrl1390] + } else { + yyv1390 = make([]DaemonSet, yyrl1390) + } + } else { + yyv1390 = make([]DaemonSet, yyrl1390) + } + yyc1390 = true + yyrr1390 = len(yyv1390) + if yyrg1390 { + copy(yyv1390, yyv21390) + } + } else if yyl1390 != len(yyv1390) { + yyv1390 = yyv1390[:yyl1390] + yyc1390 = true + } + yyj1390 := 0 + for ; yyj1390 < yyrr1390; yyj1390++ { + yyh1390.ElemContainerState(yyj1390) + if r.TryDecodeAsNil() { + yyv1390[yyj1390] = DaemonSet{} + } else { + yyv1391 := &yyv1390[yyj1390] + yyv1391.CodecDecodeSelf(d) + } + + } + if yyrt1390 { + for ; yyj1390 < yyl1390; yyj1390++ { + yyv1390 = append(yyv1390, DaemonSet{}) + yyh1390.ElemContainerState(yyj1390) + if r.TryDecodeAsNil() { + yyv1390[yyj1390] = DaemonSet{} + } else { + yyv1392 := &yyv1390[yyj1390] + yyv1392.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1390 := 0 + for ; !r.CheckBreak(); yyj1390++ { + + if yyj1390 >= len(yyv1390) { + yyv1390 = append(yyv1390, DaemonSet{}) // var yyz1390 DaemonSet + yyc1390 = true + } + yyh1390.ElemContainerState(yyj1390) + if yyj1390 < len(yyv1390) { + if r.TryDecodeAsNil() { + yyv1390[yyj1390] = DaemonSet{} + } else { + yyv1393 := &yyv1390[yyj1390] + yyv1393.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1390 < len(yyv1390) { + yyv1390 = yyv1390[:yyj1390] + yyc1390 = true + } else if yyj1390 == 0 && yyv1390 == nil { + yyv1390 = []DaemonSet{} + yyc1390 = true + } + } + yyh1390.End() + if yyc1390 { + *v = yyv1390 + } +} + +func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceData, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1394 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1395 := &yyv1394 + yy1395.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceData, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl1396 > 0 { + var yyrr1396, yyrl1396 int + var yyrt1396 bool + if yyl1396 > cap(yyv1396) { + + yyrg1396 := len(yyv1396) > 0 + yyv21396 := yyv1396 + yyrl1396, yyrt1396 = z.DecInferLen(yyl1396, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1396 { + if yyrl1396 <= cap(yyv1396) { + yyv1396 = yyv1396[:yyrl1396] + } else { + yyv1396 = make([]ThirdPartyResourceData, yyrl1396) + } + } else { + yyv1396 = make([]ThirdPartyResourceData, yyrl1396) + } + yyc1396 = true + yyrr1396 = len(yyv1396) + if yyrg1396 { + copy(yyv1396, yyv21396) + } + } else if yyl1396 != len(yyv1396) { + yyv1396 = yyv1396[:yyl1396] + yyc1396 = true + } + yyj1396 := 0 + for ; yyj1396 < yyrr1396; yyj1396++ { + yyh1396.ElemContainerState(yyj1396) + if r.TryDecodeAsNil() { + yyv1396[yyj1396] = ThirdPartyResourceData{} + } else { + yyv1397 := &yyv1396[yyj1396] + yyv1397.CodecDecodeSelf(d) + } + + } + if yyrt1396 { + for ; yyj1396 < yyl1396; yyj1396++ { + yyv1396 = append(yyv1396, ThirdPartyResourceData{}) + yyh1396.ElemContainerState(yyj1396) + if r.TryDecodeAsNil() { + yyv1396[yyj1396] = ThirdPartyResourceData{} + } else { + yyv1398 := &yyv1396[yyj1396] + yyv1398.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1396 := 0 + for ; !r.CheckBreak(); yyj1396++ { + + if yyj1396 >= len(yyv1396) { + yyv1396 = append(yyv1396, ThirdPartyResourceData{}) // var yyz1396 ThirdPartyResourceData + yyc1396 = true + } + yyh1396.ElemContainerState(yyj1396) + if yyj1396 < len(yyv1396) { + if r.TryDecodeAsNil() { + yyv1396[yyj1396] = ThirdPartyResourceData{} + } else { + yyv1399 := &yyv1396[yyj1396] + yyv1399.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1396 < len(yyv1396) { + yyv1396 = yyv1396[:yyj1396] + yyc1396 = true + } else if yyj1396 == 0 && yyv1396 == nil { + yyv1396 = []ThirdPartyResourceData{} + yyc1396 = true + } + } + yyh1396.End() + if yyc1396 { + *v = yyv1396 + } +} + +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 _, yyv1400 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1401 := &yyv1400 + yy1401.CodecEncodeSelf(e) + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl1402 > 0 { + var yyrr1402, yyrl1402 int + var yyrt1402 bool + if yyl1402 > cap(yyv1402) { + + yyrg1402 := len(yyv1402) > 0 + yyv21402 := yyv1402 + yyrl1402, yyrt1402 = z.DecInferLen(yyl1402, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1402 { + if yyrl1402 <= cap(yyv1402) { + yyv1402 = yyv1402[:yyrl1402] + } else { + yyv1402 = make([]Ingress, yyrl1402) + } + } else { + yyv1402 = make([]Ingress, yyrl1402) + } + yyc1402 = true + yyrr1402 = len(yyv1402) + if yyrg1402 { + copy(yyv1402, yyv21402) + } + } else if yyl1402 != len(yyv1402) { + yyv1402 = yyv1402[:yyl1402] + yyc1402 = true + } + yyj1402 := 0 + for ; yyj1402 < yyrr1402; yyj1402++ { + yyh1402.ElemContainerState(yyj1402) + if r.TryDecodeAsNil() { + yyv1402[yyj1402] = Ingress{} + } else { + yyv1403 := &yyv1402[yyj1402] + yyv1403.CodecDecodeSelf(d) + } + + } + if yyrt1402 { + for ; yyj1402 < yyl1402; yyj1402++ { + yyv1402 = append(yyv1402, Ingress{}) + yyh1402.ElemContainerState(yyj1402) + if r.TryDecodeAsNil() { + yyv1402[yyj1402] = Ingress{} + } else { + yyv1404 := &yyv1402[yyj1402] + yyv1404.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1402 := 0 + for ; !r.CheckBreak(); yyj1402++ { + + if yyj1402 >= len(yyv1402) { + yyv1402 = append(yyv1402, Ingress{}) // var yyz1402 Ingress + yyc1402 = true + } + yyh1402.ElemContainerState(yyj1402) + if yyj1402 < len(yyv1402) { + if r.TryDecodeAsNil() { + yyv1402[yyj1402] = Ingress{} + } else { + yyv1405 := &yyv1402[yyj1402] + yyv1405.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1402 < len(yyv1402) { + yyv1402 = yyv1402[:yyj1402] + yyc1402 = true + } else if yyj1402 == 0 && yyv1402 == nil { + yyv1402 = []Ingress{} + yyc1402 = true + } + } + yyh1402.End() + if yyc1402 { + *v = yyv1402 + } +} + +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 _, yyv1406 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1407 := &yyv1406 + yy1407.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 + + 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 + } + } else if yyl1408 > 0 { + var yyrr1408, yyrl1408 int + var yyrt1408 bool + if yyl1408 > cap(yyv1408) { + + yyrg1408 := len(yyv1408) > 0 + yyv21408 := yyv1408 + yyrl1408, yyrt1408 = z.DecInferLen(yyl1408, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1408 { + if yyrl1408 <= cap(yyv1408) { + yyv1408 = yyv1408[:yyrl1408] + } else { + yyv1408 = make([]IngressTLS, yyrl1408) + } + } else { + yyv1408 = make([]IngressTLS, yyrl1408) + } + yyc1408 = true + yyrr1408 = len(yyv1408) + if yyrg1408 { + copy(yyv1408, yyv21408) + } + } else if yyl1408 != len(yyv1408) { + yyv1408 = yyv1408[:yyl1408] + yyc1408 = true + } + yyj1408 := 0 + for ; yyj1408 < yyrr1408; yyj1408++ { + yyh1408.ElemContainerState(yyj1408) + if r.TryDecodeAsNil() { + yyv1408[yyj1408] = IngressTLS{} + } else { + yyv1409 := &yyv1408[yyj1408] + yyv1409.CodecDecodeSelf(d) + } + + } + if yyrt1408 { + for ; yyj1408 < yyl1408; yyj1408++ { + yyv1408 = append(yyv1408, IngressTLS{}) + yyh1408.ElemContainerState(yyj1408) + if r.TryDecodeAsNil() { + yyv1408[yyj1408] = IngressTLS{} + } else { + yyv1410 := &yyv1408[yyj1408] + yyv1410.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1408 := 0 + for ; !r.CheckBreak(); yyj1408++ { + + if yyj1408 >= len(yyv1408) { + yyv1408 = append(yyv1408, IngressTLS{}) // var yyz1408 IngressTLS + yyc1408 = true + } + yyh1408.ElemContainerState(yyj1408) + if yyj1408 < len(yyv1408) { + if r.TryDecodeAsNil() { + yyv1408[yyj1408] = IngressTLS{} + } else { + yyv1411 := &yyv1408[yyj1408] + yyv1411.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1408 < len(yyv1408) { + yyv1408 = yyv1408[:yyj1408] + yyc1408 = true + } else if yyj1408 == 0 && yyv1408 == nil { + yyv1408 = []IngressTLS{} + yyc1408 = true + } + } + yyh1408.End() + if yyc1408 { + *v = yyv1408 + } +} + +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 _, yyv1412 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1413 := &yyv1412 + yy1413.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 + + 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 + } + } else if yyl1414 > 0 { + var yyrr1414, yyrl1414 int + var yyrt1414 bool + if yyl1414 > cap(yyv1414) { + + yyrg1414 := len(yyv1414) > 0 + yyv21414 := yyv1414 + yyrl1414, yyrt1414 = z.DecInferLen(yyl1414, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1414 { + if yyrl1414 <= cap(yyv1414) { + yyv1414 = yyv1414[:yyrl1414] + } else { + yyv1414 = make([]IngressRule, yyrl1414) + } + } else { + yyv1414 = make([]IngressRule, yyrl1414) + } + yyc1414 = true + yyrr1414 = len(yyv1414) + if yyrg1414 { + copy(yyv1414, yyv21414) + } + } else if yyl1414 != len(yyv1414) { + yyv1414 = yyv1414[:yyl1414] + yyc1414 = true + } + yyj1414 := 0 + for ; yyj1414 < yyrr1414; yyj1414++ { + yyh1414.ElemContainerState(yyj1414) + if r.TryDecodeAsNil() { + yyv1414[yyj1414] = IngressRule{} + } else { + yyv1415 := &yyv1414[yyj1414] + yyv1415.CodecDecodeSelf(d) + } + + } + if yyrt1414 { + for ; yyj1414 < yyl1414; yyj1414++ { + yyv1414 = append(yyv1414, IngressRule{}) + yyh1414.ElemContainerState(yyj1414) + if r.TryDecodeAsNil() { + yyv1414[yyj1414] = IngressRule{} + } else { + yyv1416 := &yyv1414[yyj1414] + yyv1416.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1414 := 0 + for ; !r.CheckBreak(); yyj1414++ { + + if yyj1414 >= len(yyv1414) { + yyv1414 = append(yyv1414, IngressRule{}) // var yyz1414 IngressRule + yyc1414 = true + } + yyh1414.ElemContainerState(yyj1414) + if yyj1414 < len(yyv1414) { + if r.TryDecodeAsNil() { + yyv1414[yyj1414] = IngressRule{} + } else { + yyv1417 := &yyv1414[yyj1414] + yyv1417.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1414 < len(yyv1414) { + yyv1414 = yyv1414[:yyj1414] + yyc1414 = true + } else if yyj1414 == 0 && yyv1414 == nil { + yyv1414 = []IngressRule{} + yyc1414 = true + } + } + yyh1414.End() + if yyc1414 { + *v = yyv1414 + } +} + +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 _, yyv1418 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1419 := &yyv1418 + yy1419.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 + + 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 + } + } else if yyl1420 > 0 { + var yyrr1420, yyrl1420 int + var yyrt1420 bool + if yyl1420 > cap(yyv1420) { + + yyrg1420 := len(yyv1420) > 0 + yyv21420 := yyv1420 + yyrl1420, yyrt1420 = z.DecInferLen(yyl1420, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1420 { + if yyrl1420 <= cap(yyv1420) { + yyv1420 = yyv1420[:yyrl1420] + } else { + yyv1420 = make([]HTTPIngressPath, yyrl1420) + } + } else { + yyv1420 = make([]HTTPIngressPath, yyrl1420) + } + yyc1420 = true + yyrr1420 = len(yyv1420) + if yyrg1420 { + copy(yyv1420, yyv21420) + } + } else if yyl1420 != len(yyv1420) { + yyv1420 = yyv1420[:yyl1420] + yyc1420 = true + } + yyj1420 := 0 + for ; yyj1420 < yyrr1420; yyj1420++ { + yyh1420.ElemContainerState(yyj1420) + if r.TryDecodeAsNil() { + yyv1420[yyj1420] = HTTPIngressPath{} + } else { + yyv1421 := &yyv1420[yyj1420] + yyv1421.CodecDecodeSelf(d) + } + + } + if yyrt1420 { + for ; yyj1420 < yyl1420; yyj1420++ { + yyv1420 = append(yyv1420, HTTPIngressPath{}) + yyh1420.ElemContainerState(yyj1420) + if r.TryDecodeAsNil() { + yyv1420[yyj1420] = HTTPIngressPath{} + } else { + yyv1422 := &yyv1420[yyj1420] + yyv1422.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1420 := 0 + for ; !r.CheckBreak(); yyj1420++ { + + if yyj1420 >= len(yyv1420) { + yyv1420 = append(yyv1420, HTTPIngressPath{}) // var yyz1420 HTTPIngressPath + yyc1420 = true + } + yyh1420.ElemContainerState(yyj1420) + if yyj1420 < len(yyv1420) { + if r.TryDecodeAsNil() { + yyv1420[yyj1420] = HTTPIngressPath{} + } else { + yyv1423 := &yyv1420[yyj1420] + yyv1423.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1420 < len(yyv1420) { + yyv1420 = yyv1420[:yyj1420] + yyc1420 = true + } else if yyj1420 == 0 && yyv1420 == nil { + yyv1420 = []HTTPIngressPath{} + yyc1420 = true + } + } + yyh1420.End() + if yyc1420 { + *v = yyv1420 + } +} + +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 _, yyv1424 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1425 := &yyv1424 + yy1425.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 + + 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 + } + } else if yyl1426 > 0 { + var yyrr1426, yyrl1426 int + var yyrt1426 bool + if yyl1426 > cap(yyv1426) { + + yyrg1426 := len(yyv1426) > 0 + yyv21426 := yyv1426 + yyrl1426, yyrt1426 = z.DecInferLen(yyl1426, z.DecBasicHandle().MaxInitLen, 768) + if yyrt1426 { + if yyrl1426 <= cap(yyv1426) { + yyv1426 = yyv1426[:yyrl1426] + } else { + yyv1426 = make([]ReplicaSet, yyrl1426) + } + } else { + yyv1426 = make([]ReplicaSet, yyrl1426) + } + yyc1426 = true + yyrr1426 = len(yyv1426) + if yyrg1426 { + copy(yyv1426, yyv21426) + } + } else if yyl1426 != len(yyv1426) { + yyv1426 = yyv1426[:yyl1426] + yyc1426 = true + } + yyj1426 := 0 + for ; yyj1426 < yyrr1426; yyj1426++ { + yyh1426.ElemContainerState(yyj1426) + if r.TryDecodeAsNil() { + yyv1426[yyj1426] = ReplicaSet{} + } else { + yyv1427 := &yyv1426[yyj1426] + yyv1427.CodecDecodeSelf(d) + } + + } + if yyrt1426 { + for ; yyj1426 < yyl1426; yyj1426++ { + yyv1426 = append(yyv1426, ReplicaSet{}) + yyh1426.ElemContainerState(yyj1426) + if r.TryDecodeAsNil() { + yyv1426[yyj1426] = ReplicaSet{} + } else { + yyv1428 := &yyv1426[yyj1426] + yyv1428.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1426 := 0 + for ; !r.CheckBreak(); yyj1426++ { + + if yyj1426 >= len(yyv1426) { + yyv1426 = append(yyv1426, ReplicaSet{}) // var yyz1426 ReplicaSet + yyc1426 = true + } + yyh1426.ElemContainerState(yyj1426) + if yyj1426 < len(yyv1426) { + if r.TryDecodeAsNil() { + yyv1426[yyj1426] = ReplicaSet{} + } else { + yyv1429 := &yyv1426[yyj1426] + yyv1429.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1426 < len(yyv1426) { + yyv1426 = yyv1426[:yyj1426] + yyc1426 = true + } else if yyj1426 == 0 && yyv1426 == nil { + yyv1426 = []ReplicaSet{} + yyc1426 = true + } + } + yyh1426.End() + if yyc1426 { + *v = yyv1426 + } +} + +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 _, yyv1430 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1431 := &yyv1430 + yy1431.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 + + 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 + } + } else if yyl1432 > 0 { + var yyrr1432, yyrl1432 int + var yyrt1432 bool + if yyl1432 > cap(yyv1432) { + + yyrg1432 := len(yyv1432) > 0 + yyv21432 := yyv1432 + yyrl1432, yyrt1432 = z.DecInferLen(yyl1432, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1432 { + if yyrl1432 <= cap(yyv1432) { + yyv1432 = yyv1432[:yyrl1432] + } else { + yyv1432 = make([]ReplicaSetCondition, yyrl1432) + } + } else { + yyv1432 = make([]ReplicaSetCondition, yyrl1432) + } + yyc1432 = true + yyrr1432 = len(yyv1432) + if yyrg1432 { + copy(yyv1432, yyv21432) + } + } else if yyl1432 != len(yyv1432) { + yyv1432 = yyv1432[:yyl1432] + yyc1432 = true + } + yyj1432 := 0 + for ; yyj1432 < yyrr1432; yyj1432++ { + yyh1432.ElemContainerState(yyj1432) + if r.TryDecodeAsNil() { + yyv1432[yyj1432] = ReplicaSetCondition{} + } else { + yyv1433 := &yyv1432[yyj1432] + yyv1433.CodecDecodeSelf(d) + } + + } + if yyrt1432 { + for ; yyj1432 < yyl1432; yyj1432++ { + yyv1432 = append(yyv1432, ReplicaSetCondition{}) + yyh1432.ElemContainerState(yyj1432) + if r.TryDecodeAsNil() { + yyv1432[yyj1432] = ReplicaSetCondition{} + } else { + yyv1434 := &yyv1432[yyj1432] + yyv1434.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1432 := 0 + for ; !r.CheckBreak(); yyj1432++ { + + if yyj1432 >= len(yyv1432) { + yyv1432 = append(yyv1432, ReplicaSetCondition{}) // var yyz1432 ReplicaSetCondition + yyc1432 = true + } + yyh1432.ElemContainerState(yyj1432) + if yyj1432 < len(yyv1432) { + if r.TryDecodeAsNil() { + yyv1432[yyj1432] = ReplicaSetCondition{} + } else { + yyv1435 := &yyv1432[yyj1432] + yyv1435.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1432 < len(yyv1432) { + yyv1432 = yyv1432[:yyj1432] + yyc1432 = true + } else if yyj1432 == 0 && yyv1432 == nil { + yyv1432 = []ReplicaSetCondition{} + yyc1432 = true + } + } + yyh1432.End() + if yyc1432 { + *v = yyv1432 + } +} + +func (x codecSelfer1234) encSliceapi_Capability(v []pkg2_api.Capability, e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + r.EncodeArrayStart(len(v)) + for _, yyv1436 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1437 := z.EncBinary() + _ = yym1437 + if false { + } else if z.HasExtensions() && z.EncExt(yyv1436) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(yyv1436)) + } + } + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x codecSelfer1234) decSliceapi_Capability(v *[]pkg2_api.Capability, d *codec1978.Decoder) { + var h codecSelfer1234 + 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 + } + } else if yyl1438 > 0 { + var yyrr1438, yyrl1438 int + var yyrt1438 bool + if yyl1438 > cap(yyv1438) { + + yyrl1438, yyrt1438 = z.DecInferLen(yyl1438, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1438 { + if yyrl1438 <= cap(yyv1438) { + yyv1438 = yyv1438[:yyrl1438] + } else { + yyv1438 = make([]pkg2_api.Capability, yyrl1438) + } + } else { + yyv1438 = make([]pkg2_api.Capability, yyrl1438) + } + yyc1438 = true + yyrr1438 = len(yyv1438) + } else if yyl1438 != len(yyv1438) { + yyv1438 = yyv1438[:yyl1438] + yyc1438 = true + } + yyj1438 := 0 + for ; yyj1438 < yyrr1438; yyj1438++ { + yyh1438.ElemContainerState(yyj1438) + if r.TryDecodeAsNil() { + yyv1438[yyj1438] = "" + } else { + yyv1438[yyj1438] = pkg2_api.Capability(r.DecodeString()) + } + + } + if yyrt1438 { + for ; yyj1438 < yyl1438; yyj1438++ { + yyv1438 = append(yyv1438, "") + yyh1438.ElemContainerState(yyj1438) + if r.TryDecodeAsNil() { + yyv1438[yyj1438] = "" + } else { + yyv1438[yyj1438] = pkg2_api.Capability(r.DecodeString()) + } + + } + } + + } else { + yyj1438 := 0 + for ; !r.CheckBreak(); yyj1438++ { + + if yyj1438 >= len(yyv1438) { + yyv1438 = append(yyv1438, "") // var yyz1438 pkg2_api.Capability + yyc1438 = true + } + yyh1438.ElemContainerState(yyj1438) + if yyj1438 < len(yyv1438) { + if r.TryDecodeAsNil() { + yyv1438[yyj1438] = "" + } else { + yyv1438[yyj1438] = pkg2_api.Capability(r.DecodeString()) + } + + } else { + z.DecSwallow() + } + + } + if yyj1438 < len(yyv1438) { + yyv1438 = yyv1438[:yyj1438] + yyc1438 = true + } else if yyj1438 == 0 && yyv1438 == nil { + yyv1438 = []pkg2_api.Capability{} + yyc1438 = true + } + } + yyh1438.End() + if yyc1438 { + *v = yyv1438 + } +} + +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 _, yyv1442 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yyv1442.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17088,75 +17890,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1371 := *v - yyh1371, yyl1371 := z.DecSliceHelperStart() - var yyc1371 bool - if yyl1371 == 0 { - if yyv1371 == nil { - yyv1371 = []FSType{} - yyc1371 = true - } else if len(yyv1371) != 0 { - yyv1371 = yyv1371[:0] - yyc1371 = true + 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 } - } else if yyl1371 > 0 { - var yyrr1371, yyrl1371 int - var yyrt1371 bool - if yyl1371 > cap(yyv1371) { + } else if yyl1443 > 0 { + var yyrr1443, yyrl1443 int + var yyrt1443 bool + if yyl1443 > cap(yyv1443) { - yyrl1371, yyrt1371 = z.DecInferLen(yyl1371, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1371 { - if yyrl1371 <= cap(yyv1371) { - yyv1371 = yyv1371[:yyrl1371] + yyrl1443, yyrt1443 = z.DecInferLen(yyl1443, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1443 { + if yyrl1443 <= cap(yyv1443) { + yyv1443 = yyv1443[:yyrl1443] } else { - yyv1371 = make([]FSType, yyrl1371) + yyv1443 = make([]FSType, yyrl1443) } } else { - yyv1371 = make([]FSType, yyrl1371) + yyv1443 = make([]FSType, yyrl1443) } - yyc1371 = true - yyrr1371 = len(yyv1371) - } else if yyl1371 != len(yyv1371) { - yyv1371 = yyv1371[:yyl1371] - yyc1371 = true + yyc1443 = true + yyrr1443 = len(yyv1443) + } else if yyl1443 != len(yyv1443) { + yyv1443 = yyv1443[:yyl1443] + yyc1443 = true } - yyj1371 := 0 - for ; yyj1371 < yyrr1371; yyj1371++ { - yyh1371.ElemContainerState(yyj1371) + yyj1443 := 0 + for ; yyj1443 < yyrr1443; yyj1443++ { + yyh1443.ElemContainerState(yyj1443) if r.TryDecodeAsNil() { - yyv1371[yyj1371] = "" + yyv1443[yyj1443] = "" } else { - yyv1371[yyj1371] = FSType(r.DecodeString()) + yyv1443[yyj1443] = FSType(r.DecodeString()) } } - if yyrt1371 { - for ; yyj1371 < yyl1371; yyj1371++ { - yyv1371 = append(yyv1371, "") - yyh1371.ElemContainerState(yyj1371) + if yyrt1443 { + for ; yyj1443 < yyl1443; yyj1443++ { + yyv1443 = append(yyv1443, "") + yyh1443.ElemContainerState(yyj1443) if r.TryDecodeAsNil() { - yyv1371[yyj1371] = "" + yyv1443[yyj1443] = "" } else { - yyv1371[yyj1371] = FSType(r.DecodeString()) + yyv1443[yyj1443] = FSType(r.DecodeString()) } } } } else { - yyj1371 := 0 - for ; !r.CheckBreak(); yyj1371++ { + yyj1443 := 0 + for ; !r.CheckBreak(); yyj1443++ { - if yyj1371 >= len(yyv1371) { - yyv1371 = append(yyv1371, "") // var yyz1371 FSType - yyc1371 = true + if yyj1443 >= len(yyv1443) { + yyv1443 = append(yyv1443, "") // var yyz1443 FSType + yyc1443 = true } - yyh1371.ElemContainerState(yyj1371) - if yyj1371 < len(yyv1371) { + yyh1443.ElemContainerState(yyj1443) + if yyj1443 < len(yyv1443) { if r.TryDecodeAsNil() { - yyv1371[yyj1371] = "" + yyv1443[yyj1443] = "" } else { - yyv1371[yyj1371] = FSType(r.DecodeString()) + yyv1443[yyj1443] = FSType(r.DecodeString()) } } else { @@ -17164,17 +17966,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1371 < len(yyv1371) { - yyv1371 = yyv1371[:yyj1371] - yyc1371 = true - } else if yyj1371 == 0 && yyv1371 == nil { - yyv1371 = []FSType{} - yyc1371 = true + if yyj1443 < len(yyv1443) { + yyv1443 = yyv1443[:yyj1443] + yyc1443 = true + } else if yyj1443 == 0 && yyv1443 == nil { + yyv1443 = []FSType{} + yyc1443 = true } } - yyh1371.End() - if yyc1371 { - *v = yyv1371 + yyh1443.End() + if yyc1443 { + *v = yyv1443 } } @@ -17183,10 +17985,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1375 := range v { + for _, yyv1447 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1376 := &yyv1375 - yy1376.CodecEncodeSelf(e) + yy1448 := &yyv1447 + yy1448.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17196,83 +17998,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1377 := *v - yyh1377, yyl1377 := z.DecSliceHelperStart() - var yyc1377 bool - if yyl1377 == 0 { - if yyv1377 == nil { - yyv1377 = []HostPortRange{} - yyc1377 = true - } else if len(yyv1377) != 0 { - yyv1377 = yyv1377[:0] - yyc1377 = true + 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 } - } else if yyl1377 > 0 { - var yyrr1377, yyrl1377 int - var yyrt1377 bool - if yyl1377 > cap(yyv1377) { + } else if yyl1449 > 0 { + var yyrr1449, yyrl1449 int + var yyrt1449 bool + if yyl1449 > cap(yyv1449) { - yyrg1377 := len(yyv1377) > 0 - yyv21377 := yyv1377 - yyrl1377, yyrt1377 = z.DecInferLen(yyl1377, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1377 { - if yyrl1377 <= cap(yyv1377) { - yyv1377 = yyv1377[:yyrl1377] + yyrg1449 := len(yyv1449) > 0 + yyv21449 := yyv1449 + yyrl1449, yyrt1449 = z.DecInferLen(yyl1449, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1449 { + if yyrl1449 <= cap(yyv1449) { + yyv1449 = yyv1449[:yyrl1449] } else { - yyv1377 = make([]HostPortRange, yyrl1377) + yyv1449 = make([]HostPortRange, yyrl1449) } } else { - yyv1377 = make([]HostPortRange, yyrl1377) + yyv1449 = make([]HostPortRange, yyrl1449) } - yyc1377 = true - yyrr1377 = len(yyv1377) - if yyrg1377 { - copy(yyv1377, yyv21377) + yyc1449 = true + yyrr1449 = len(yyv1449) + if yyrg1449 { + copy(yyv1449, yyv21449) } - } else if yyl1377 != len(yyv1377) { - yyv1377 = yyv1377[:yyl1377] - yyc1377 = true + } else if yyl1449 != len(yyv1449) { + yyv1449 = yyv1449[:yyl1449] + yyc1449 = true } - yyj1377 := 0 - for ; yyj1377 < yyrr1377; yyj1377++ { - yyh1377.ElemContainerState(yyj1377) + yyj1449 := 0 + for ; yyj1449 < yyrr1449; yyj1449++ { + yyh1449.ElemContainerState(yyj1449) if r.TryDecodeAsNil() { - yyv1377[yyj1377] = HostPortRange{} + yyv1449[yyj1449] = HostPortRange{} } else { - yyv1378 := &yyv1377[yyj1377] - yyv1378.CodecDecodeSelf(d) + yyv1450 := &yyv1449[yyj1449] + yyv1450.CodecDecodeSelf(d) } } - if yyrt1377 { - for ; yyj1377 < yyl1377; yyj1377++ { - yyv1377 = append(yyv1377, HostPortRange{}) - yyh1377.ElemContainerState(yyj1377) + if yyrt1449 { + for ; yyj1449 < yyl1449; yyj1449++ { + yyv1449 = append(yyv1449, HostPortRange{}) + yyh1449.ElemContainerState(yyj1449) if r.TryDecodeAsNil() { - yyv1377[yyj1377] = HostPortRange{} + yyv1449[yyj1449] = HostPortRange{} } else { - yyv1379 := &yyv1377[yyj1377] - yyv1379.CodecDecodeSelf(d) + yyv1451 := &yyv1449[yyj1449] + yyv1451.CodecDecodeSelf(d) } } } } else { - yyj1377 := 0 - for ; !r.CheckBreak(); yyj1377++ { + yyj1449 := 0 + for ; !r.CheckBreak(); yyj1449++ { - if yyj1377 >= len(yyv1377) { - yyv1377 = append(yyv1377, HostPortRange{}) // var yyz1377 HostPortRange - yyc1377 = true + if yyj1449 >= len(yyv1449) { + yyv1449 = append(yyv1449, HostPortRange{}) // var yyz1449 HostPortRange + yyc1449 = true } - yyh1377.ElemContainerState(yyj1377) - if yyj1377 < len(yyv1377) { + yyh1449.ElemContainerState(yyj1449) + if yyj1449 < len(yyv1449) { if r.TryDecodeAsNil() { - yyv1377[yyj1377] = HostPortRange{} + yyv1449[yyj1449] = HostPortRange{} } else { - yyv1380 := &yyv1377[yyj1377] - yyv1380.CodecDecodeSelf(d) + yyv1452 := &yyv1449[yyj1449] + yyv1452.CodecDecodeSelf(d) } } else { @@ -17280,17 +18082,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1377 < len(yyv1377) { - yyv1377 = yyv1377[:yyj1377] - yyc1377 = true - } else if yyj1377 == 0 && yyv1377 == nil { - yyv1377 = []HostPortRange{} - yyc1377 = true + if yyj1449 < len(yyv1449) { + yyv1449 = yyv1449[:yyj1449] + yyc1449 = true + } else if yyj1449 == 0 && yyv1449 == nil { + yyv1449 = []HostPortRange{} + yyc1449 = true } } - yyh1377.End() - if yyc1377 { - *v = yyv1377 + yyh1449.End() + if yyc1449 { + *v = yyv1449 } } @@ -17299,10 +18101,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1381 := range v { + for _, yyv1453 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1382 := &yyv1381 - yy1382.CodecEncodeSelf(e) + yy1454 := &yyv1453 + yy1454.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17312,83 +18114,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1383 := *v - yyh1383, yyl1383 := z.DecSliceHelperStart() - var yyc1383 bool - if yyl1383 == 0 { - if yyv1383 == nil { - yyv1383 = []IDRange{} - yyc1383 = true - } else if len(yyv1383) != 0 { - yyv1383 = yyv1383[:0] - yyc1383 = true + 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 } - } else if yyl1383 > 0 { - var yyrr1383, yyrl1383 int - var yyrt1383 bool - if yyl1383 > cap(yyv1383) { + } else if yyl1455 > 0 { + var yyrr1455, yyrl1455 int + var yyrt1455 bool + if yyl1455 > cap(yyv1455) { - yyrg1383 := len(yyv1383) > 0 - yyv21383 := yyv1383 - yyrl1383, yyrt1383 = z.DecInferLen(yyl1383, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1383 { - if yyrl1383 <= cap(yyv1383) { - yyv1383 = yyv1383[:yyrl1383] + yyrg1455 := len(yyv1455) > 0 + yyv21455 := yyv1455 + yyrl1455, yyrt1455 = z.DecInferLen(yyl1455, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1455 { + if yyrl1455 <= cap(yyv1455) { + yyv1455 = yyv1455[:yyrl1455] } else { - yyv1383 = make([]IDRange, yyrl1383) + yyv1455 = make([]IDRange, yyrl1455) } } else { - yyv1383 = make([]IDRange, yyrl1383) + yyv1455 = make([]IDRange, yyrl1455) } - yyc1383 = true - yyrr1383 = len(yyv1383) - if yyrg1383 { - copy(yyv1383, yyv21383) + yyc1455 = true + yyrr1455 = len(yyv1455) + if yyrg1455 { + copy(yyv1455, yyv21455) } - } else if yyl1383 != len(yyv1383) { - yyv1383 = yyv1383[:yyl1383] - yyc1383 = true + } else if yyl1455 != len(yyv1455) { + yyv1455 = yyv1455[:yyl1455] + yyc1455 = true } - yyj1383 := 0 - for ; yyj1383 < yyrr1383; yyj1383++ { - yyh1383.ElemContainerState(yyj1383) + yyj1455 := 0 + for ; yyj1455 < yyrr1455; yyj1455++ { + yyh1455.ElemContainerState(yyj1455) if r.TryDecodeAsNil() { - yyv1383[yyj1383] = IDRange{} + yyv1455[yyj1455] = IDRange{} } else { - yyv1384 := &yyv1383[yyj1383] - yyv1384.CodecDecodeSelf(d) + yyv1456 := &yyv1455[yyj1455] + yyv1456.CodecDecodeSelf(d) } } - if yyrt1383 { - for ; yyj1383 < yyl1383; yyj1383++ { - yyv1383 = append(yyv1383, IDRange{}) - yyh1383.ElemContainerState(yyj1383) + if yyrt1455 { + for ; yyj1455 < yyl1455; yyj1455++ { + yyv1455 = append(yyv1455, IDRange{}) + yyh1455.ElemContainerState(yyj1455) if r.TryDecodeAsNil() { - yyv1383[yyj1383] = IDRange{} + yyv1455[yyj1455] = IDRange{} } else { - yyv1385 := &yyv1383[yyj1383] - yyv1385.CodecDecodeSelf(d) + yyv1457 := &yyv1455[yyj1455] + yyv1457.CodecDecodeSelf(d) } } } } else { - yyj1383 := 0 - for ; !r.CheckBreak(); yyj1383++ { + yyj1455 := 0 + for ; !r.CheckBreak(); yyj1455++ { - if yyj1383 >= len(yyv1383) { - yyv1383 = append(yyv1383, IDRange{}) // var yyz1383 IDRange - yyc1383 = true + if yyj1455 >= len(yyv1455) { + yyv1455 = append(yyv1455, IDRange{}) // var yyz1455 IDRange + yyc1455 = true } - yyh1383.ElemContainerState(yyj1383) - if yyj1383 < len(yyv1383) { + yyh1455.ElemContainerState(yyj1455) + if yyj1455 < len(yyv1455) { if r.TryDecodeAsNil() { - yyv1383[yyj1383] = IDRange{} + yyv1455[yyj1455] = IDRange{} } else { - yyv1386 := &yyv1383[yyj1383] - yyv1386.CodecDecodeSelf(d) + yyv1458 := &yyv1455[yyj1455] + yyv1458.CodecDecodeSelf(d) } } else { @@ -17396,17 +18198,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1383 < len(yyv1383) { - yyv1383 = yyv1383[:yyj1383] - yyc1383 = true - } else if yyj1383 == 0 && yyv1383 == nil { - yyv1383 = []IDRange{} - yyc1383 = true + if yyj1455 < len(yyv1455) { + yyv1455 = yyv1455[:yyj1455] + yyc1455 = true + } else if yyj1455 == 0 && yyv1455 == nil { + yyv1455 = []IDRange{} + yyc1455 = true } } - yyh1383.End() - if yyc1383 { - *v = yyv1383 + yyh1455.End() + if yyc1455 { + *v = yyv1455 } } @@ -17415,10 +18217,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1387 := range v { + for _, yyv1459 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1388 := &yyv1387 - yy1388.CodecEncodeSelf(e) + yy1460 := &yyv1459 + yy1460.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17428,83 +18230,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1389 := *v - yyh1389, yyl1389 := z.DecSliceHelperStart() - var yyc1389 bool - if yyl1389 == 0 { - if yyv1389 == nil { - yyv1389 = []PodSecurityPolicy{} - yyc1389 = true - } else if len(yyv1389) != 0 { - yyv1389 = yyv1389[:0] - yyc1389 = true + 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 } - } else if yyl1389 > 0 { - var yyrr1389, yyrl1389 int - var yyrt1389 bool - if yyl1389 > cap(yyv1389) { + } else if yyl1461 > 0 { + var yyrr1461, yyrl1461 int + var yyrt1461 bool + if yyl1461 > cap(yyv1461) { - yyrg1389 := len(yyv1389) > 0 - yyv21389 := yyv1389 - yyrl1389, yyrt1389 = z.DecInferLen(yyl1389, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1389 { - if yyrl1389 <= cap(yyv1389) { - yyv1389 = yyv1389[:yyrl1389] + yyrg1461 := len(yyv1461) > 0 + yyv21461 := yyv1461 + yyrl1461, yyrt1461 = z.DecInferLen(yyl1461, z.DecBasicHandle().MaxInitLen, 552) + if yyrt1461 { + if yyrl1461 <= cap(yyv1461) { + yyv1461 = yyv1461[:yyrl1461] } else { - yyv1389 = make([]PodSecurityPolicy, yyrl1389) + yyv1461 = make([]PodSecurityPolicy, yyrl1461) } } else { - yyv1389 = make([]PodSecurityPolicy, yyrl1389) + yyv1461 = make([]PodSecurityPolicy, yyrl1461) } - yyc1389 = true - yyrr1389 = len(yyv1389) - if yyrg1389 { - copy(yyv1389, yyv21389) + yyc1461 = true + yyrr1461 = len(yyv1461) + if yyrg1461 { + copy(yyv1461, yyv21461) } - } else if yyl1389 != len(yyv1389) { - yyv1389 = yyv1389[:yyl1389] - yyc1389 = true + } else if yyl1461 != len(yyv1461) { + yyv1461 = yyv1461[:yyl1461] + yyc1461 = true } - yyj1389 := 0 - for ; yyj1389 < yyrr1389; yyj1389++ { - yyh1389.ElemContainerState(yyj1389) + yyj1461 := 0 + for ; yyj1461 < yyrr1461; yyj1461++ { + yyh1461.ElemContainerState(yyj1461) if r.TryDecodeAsNil() { - yyv1389[yyj1389] = PodSecurityPolicy{} + yyv1461[yyj1461] = PodSecurityPolicy{} } else { - yyv1390 := &yyv1389[yyj1389] - yyv1390.CodecDecodeSelf(d) + yyv1462 := &yyv1461[yyj1461] + yyv1462.CodecDecodeSelf(d) } } - if yyrt1389 { - for ; yyj1389 < yyl1389; yyj1389++ { - yyv1389 = append(yyv1389, PodSecurityPolicy{}) - yyh1389.ElemContainerState(yyj1389) + if yyrt1461 { + for ; yyj1461 < yyl1461; yyj1461++ { + yyv1461 = append(yyv1461, PodSecurityPolicy{}) + yyh1461.ElemContainerState(yyj1461) if r.TryDecodeAsNil() { - yyv1389[yyj1389] = PodSecurityPolicy{} + yyv1461[yyj1461] = PodSecurityPolicy{} } else { - yyv1391 := &yyv1389[yyj1389] - yyv1391.CodecDecodeSelf(d) + yyv1463 := &yyv1461[yyj1461] + yyv1463.CodecDecodeSelf(d) } } } } else { - yyj1389 := 0 - for ; !r.CheckBreak(); yyj1389++ { + yyj1461 := 0 + for ; !r.CheckBreak(); yyj1461++ { - if yyj1389 >= len(yyv1389) { - yyv1389 = append(yyv1389, PodSecurityPolicy{}) // var yyz1389 PodSecurityPolicy - yyc1389 = true + if yyj1461 >= len(yyv1461) { + yyv1461 = append(yyv1461, PodSecurityPolicy{}) // var yyz1461 PodSecurityPolicy + yyc1461 = true } - yyh1389.ElemContainerState(yyj1389) - if yyj1389 < len(yyv1389) { + yyh1461.ElemContainerState(yyj1461) + if yyj1461 < len(yyv1461) { if r.TryDecodeAsNil() { - yyv1389[yyj1389] = PodSecurityPolicy{} + yyv1461[yyj1461] = PodSecurityPolicy{} } else { - yyv1392 := &yyv1389[yyj1389] - yyv1392.CodecDecodeSelf(d) + yyv1464 := &yyv1461[yyj1461] + yyv1464.CodecDecodeSelf(d) } } else { @@ -17512,17 +18314,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1389 < len(yyv1389) { - yyv1389 = yyv1389[:yyj1389] - yyc1389 = true - } else if yyj1389 == 0 && yyv1389 == nil { - yyv1389 = []PodSecurityPolicy{} - yyc1389 = true + if yyj1461 < len(yyv1461) { + yyv1461 = yyv1461[:yyj1461] + yyc1461 = true + } else if yyj1461 == 0 && yyv1461 == nil { + yyv1461 = []PodSecurityPolicy{} + yyc1461 = true } } - yyh1389.End() - if yyc1389 { - *v = yyv1389 + yyh1461.End() + if yyc1461 { + *v = yyv1461 } } @@ -17531,10 +18333,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1393 := range v { + for _, yyv1465 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1394 := &yyv1393 - yy1394.CodecEncodeSelf(e) + yy1466 := &yyv1465 + yy1466.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17544,83 +18346,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1395 := *v - yyh1395, yyl1395 := z.DecSliceHelperStart() - var yyc1395 bool - if yyl1395 == 0 { - if yyv1395 == nil { - yyv1395 = []NetworkPolicyIngressRule{} - yyc1395 = true - } else if len(yyv1395) != 0 { - yyv1395 = yyv1395[:0] - yyc1395 = true + 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 } - } else if yyl1395 > 0 { - var yyrr1395, yyrl1395 int - var yyrt1395 bool - if yyl1395 > cap(yyv1395) { + } else if yyl1467 > 0 { + var yyrr1467, yyrl1467 int + var yyrt1467 bool + if yyl1467 > cap(yyv1467) { - yyrg1395 := len(yyv1395) > 0 - yyv21395 := yyv1395 - yyrl1395, yyrt1395 = z.DecInferLen(yyl1395, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1395 { - if yyrl1395 <= cap(yyv1395) { - yyv1395 = yyv1395[:yyrl1395] + yyrg1467 := len(yyv1467) > 0 + yyv21467 := yyv1467 + yyrl1467, yyrt1467 = z.DecInferLen(yyl1467, z.DecBasicHandle().MaxInitLen, 48) + if yyrt1467 { + if yyrl1467 <= cap(yyv1467) { + yyv1467 = yyv1467[:yyrl1467] } else { - yyv1395 = make([]NetworkPolicyIngressRule, yyrl1395) + yyv1467 = make([]NetworkPolicyIngressRule, yyrl1467) } } else { - yyv1395 = make([]NetworkPolicyIngressRule, yyrl1395) + yyv1467 = make([]NetworkPolicyIngressRule, yyrl1467) } - yyc1395 = true - yyrr1395 = len(yyv1395) - if yyrg1395 { - copy(yyv1395, yyv21395) + yyc1467 = true + yyrr1467 = len(yyv1467) + if yyrg1467 { + copy(yyv1467, yyv21467) } - } else if yyl1395 != len(yyv1395) { - yyv1395 = yyv1395[:yyl1395] - yyc1395 = true + } else if yyl1467 != len(yyv1467) { + yyv1467 = yyv1467[:yyl1467] + yyc1467 = true } - yyj1395 := 0 - for ; yyj1395 < yyrr1395; yyj1395++ { - yyh1395.ElemContainerState(yyj1395) + yyj1467 := 0 + for ; yyj1467 < yyrr1467; yyj1467++ { + yyh1467.ElemContainerState(yyj1467) if r.TryDecodeAsNil() { - yyv1395[yyj1395] = NetworkPolicyIngressRule{} + yyv1467[yyj1467] = NetworkPolicyIngressRule{} } else { - yyv1396 := &yyv1395[yyj1395] - yyv1396.CodecDecodeSelf(d) + yyv1468 := &yyv1467[yyj1467] + yyv1468.CodecDecodeSelf(d) } } - if yyrt1395 { - for ; yyj1395 < yyl1395; yyj1395++ { - yyv1395 = append(yyv1395, NetworkPolicyIngressRule{}) - yyh1395.ElemContainerState(yyj1395) + if yyrt1467 { + for ; yyj1467 < yyl1467; yyj1467++ { + yyv1467 = append(yyv1467, NetworkPolicyIngressRule{}) + yyh1467.ElemContainerState(yyj1467) if r.TryDecodeAsNil() { - yyv1395[yyj1395] = NetworkPolicyIngressRule{} + yyv1467[yyj1467] = NetworkPolicyIngressRule{} } else { - yyv1397 := &yyv1395[yyj1395] - yyv1397.CodecDecodeSelf(d) + yyv1469 := &yyv1467[yyj1467] + yyv1469.CodecDecodeSelf(d) } } } } else { - yyj1395 := 0 - for ; !r.CheckBreak(); yyj1395++ { + yyj1467 := 0 + for ; !r.CheckBreak(); yyj1467++ { - if yyj1395 >= len(yyv1395) { - yyv1395 = append(yyv1395, NetworkPolicyIngressRule{}) // var yyz1395 NetworkPolicyIngressRule - yyc1395 = true + if yyj1467 >= len(yyv1467) { + yyv1467 = append(yyv1467, NetworkPolicyIngressRule{}) // var yyz1467 NetworkPolicyIngressRule + yyc1467 = true } - yyh1395.ElemContainerState(yyj1395) - if yyj1395 < len(yyv1395) { + yyh1467.ElemContainerState(yyj1467) + if yyj1467 < len(yyv1467) { if r.TryDecodeAsNil() { - yyv1395[yyj1395] = NetworkPolicyIngressRule{} + yyv1467[yyj1467] = NetworkPolicyIngressRule{} } else { - yyv1398 := &yyv1395[yyj1395] - yyv1398.CodecDecodeSelf(d) + yyv1470 := &yyv1467[yyj1467] + yyv1470.CodecDecodeSelf(d) } } else { @@ -17628,17 +18430,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1395 < len(yyv1395) { - yyv1395 = yyv1395[:yyj1395] - yyc1395 = true - } else if yyj1395 == 0 && yyv1395 == nil { - yyv1395 = []NetworkPolicyIngressRule{} - yyc1395 = true + if yyj1467 < len(yyv1467) { + yyv1467 = yyv1467[:yyj1467] + yyc1467 = true + } else if yyj1467 == 0 && yyv1467 == nil { + yyv1467 = []NetworkPolicyIngressRule{} + yyc1467 = true } } - yyh1395.End() - if yyc1395 { - *v = yyv1395 + yyh1467.End() + if yyc1467 { + *v = yyv1467 } } @@ -17647,10 +18449,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1399 := range v { + for _, yyv1471 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1400 := &yyv1399 - yy1400.CodecEncodeSelf(e) + yy1472 := &yyv1471 + yy1472.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17660,83 +18462,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1401 := *v - yyh1401, yyl1401 := z.DecSliceHelperStart() - var yyc1401 bool - if yyl1401 == 0 { - if yyv1401 == nil { - yyv1401 = []NetworkPolicyPort{} - yyc1401 = true - } else if len(yyv1401) != 0 { - yyv1401 = yyv1401[:0] - yyc1401 = true + 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 } - } else if yyl1401 > 0 { - var yyrr1401, yyrl1401 int - var yyrt1401 bool - if yyl1401 > cap(yyv1401) { + } else if yyl1473 > 0 { + var yyrr1473, yyrl1473 int + var yyrt1473 bool + if yyl1473 > cap(yyv1473) { - yyrg1401 := len(yyv1401) > 0 - yyv21401 := yyv1401 - yyrl1401, yyrt1401 = z.DecInferLen(yyl1401, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1401 { - if yyrl1401 <= cap(yyv1401) { - yyv1401 = yyv1401[:yyrl1401] + yyrg1473 := len(yyv1473) > 0 + yyv21473 := yyv1473 + yyrl1473, yyrt1473 = z.DecInferLen(yyl1473, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1473 { + if yyrl1473 <= cap(yyv1473) { + yyv1473 = yyv1473[:yyrl1473] } else { - yyv1401 = make([]NetworkPolicyPort, yyrl1401) + yyv1473 = make([]NetworkPolicyPort, yyrl1473) } } else { - yyv1401 = make([]NetworkPolicyPort, yyrl1401) + yyv1473 = make([]NetworkPolicyPort, yyrl1473) } - yyc1401 = true - yyrr1401 = len(yyv1401) - if yyrg1401 { - copy(yyv1401, yyv21401) + yyc1473 = true + yyrr1473 = len(yyv1473) + if yyrg1473 { + copy(yyv1473, yyv21473) } - } else if yyl1401 != len(yyv1401) { - yyv1401 = yyv1401[:yyl1401] - yyc1401 = true + } else if yyl1473 != len(yyv1473) { + yyv1473 = yyv1473[:yyl1473] + yyc1473 = true } - yyj1401 := 0 - for ; yyj1401 < yyrr1401; yyj1401++ { - yyh1401.ElemContainerState(yyj1401) + yyj1473 := 0 + for ; yyj1473 < yyrr1473; yyj1473++ { + yyh1473.ElemContainerState(yyj1473) if r.TryDecodeAsNil() { - yyv1401[yyj1401] = NetworkPolicyPort{} + yyv1473[yyj1473] = NetworkPolicyPort{} } else { - yyv1402 := &yyv1401[yyj1401] - yyv1402.CodecDecodeSelf(d) + yyv1474 := &yyv1473[yyj1473] + yyv1474.CodecDecodeSelf(d) } } - if yyrt1401 { - for ; yyj1401 < yyl1401; yyj1401++ { - yyv1401 = append(yyv1401, NetworkPolicyPort{}) - yyh1401.ElemContainerState(yyj1401) + if yyrt1473 { + for ; yyj1473 < yyl1473; yyj1473++ { + yyv1473 = append(yyv1473, NetworkPolicyPort{}) + yyh1473.ElemContainerState(yyj1473) if r.TryDecodeAsNil() { - yyv1401[yyj1401] = NetworkPolicyPort{} + yyv1473[yyj1473] = NetworkPolicyPort{} } else { - yyv1403 := &yyv1401[yyj1401] - yyv1403.CodecDecodeSelf(d) + yyv1475 := &yyv1473[yyj1473] + yyv1475.CodecDecodeSelf(d) } } } } else { - yyj1401 := 0 - for ; !r.CheckBreak(); yyj1401++ { + yyj1473 := 0 + for ; !r.CheckBreak(); yyj1473++ { - if yyj1401 >= len(yyv1401) { - yyv1401 = append(yyv1401, NetworkPolicyPort{}) // var yyz1401 NetworkPolicyPort - yyc1401 = true + if yyj1473 >= len(yyv1473) { + yyv1473 = append(yyv1473, NetworkPolicyPort{}) // var yyz1473 NetworkPolicyPort + yyc1473 = true } - yyh1401.ElemContainerState(yyj1401) - if yyj1401 < len(yyv1401) { + yyh1473.ElemContainerState(yyj1473) + if yyj1473 < len(yyv1473) { if r.TryDecodeAsNil() { - yyv1401[yyj1401] = NetworkPolicyPort{} + yyv1473[yyj1473] = NetworkPolicyPort{} } else { - yyv1404 := &yyv1401[yyj1401] - yyv1404.CodecDecodeSelf(d) + yyv1476 := &yyv1473[yyj1473] + yyv1476.CodecDecodeSelf(d) } } else { @@ -17744,17 +18546,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1401 < len(yyv1401) { - yyv1401 = yyv1401[:yyj1401] - yyc1401 = true - } else if yyj1401 == 0 && yyv1401 == nil { - yyv1401 = []NetworkPolicyPort{} - yyc1401 = true + if yyj1473 < len(yyv1473) { + yyv1473 = yyv1473[:yyj1473] + yyc1473 = true + } else if yyj1473 == 0 && yyv1473 == nil { + yyv1473 = []NetworkPolicyPort{} + yyc1473 = true } } - yyh1401.End() - if yyc1401 { - *v = yyv1401 + yyh1473.End() + if yyc1473 { + *v = yyv1473 } } @@ -17763,10 +18565,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1405 := range v { + for _, yyv1477 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1406 := &yyv1405 - yy1406.CodecEncodeSelf(e) + yy1478 := &yyv1477 + yy1478.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17776,83 +18578,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1407 := *v - yyh1407, yyl1407 := z.DecSliceHelperStart() - var yyc1407 bool - if yyl1407 == 0 { - if yyv1407 == nil { - yyv1407 = []NetworkPolicyPeer{} - yyc1407 = true - } else if len(yyv1407) != 0 { - yyv1407 = yyv1407[:0] - yyc1407 = true + 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 } - } else if yyl1407 > 0 { - var yyrr1407, yyrl1407 int - var yyrt1407 bool - if yyl1407 > cap(yyv1407) { + } else if yyl1479 > 0 { + var yyrr1479, yyrl1479 int + var yyrt1479 bool + if yyl1479 > cap(yyv1479) { - yyrg1407 := len(yyv1407) > 0 - yyv21407 := yyv1407 - yyrl1407, yyrt1407 = z.DecInferLen(yyl1407, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1407 { - if yyrl1407 <= cap(yyv1407) { - yyv1407 = yyv1407[:yyrl1407] + yyrg1479 := len(yyv1479) > 0 + yyv21479 := yyv1479 + yyrl1479, yyrt1479 = z.DecInferLen(yyl1479, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1479 { + if yyrl1479 <= cap(yyv1479) { + yyv1479 = yyv1479[:yyrl1479] } else { - yyv1407 = make([]NetworkPolicyPeer, yyrl1407) + yyv1479 = make([]NetworkPolicyPeer, yyrl1479) } } else { - yyv1407 = make([]NetworkPolicyPeer, yyrl1407) + yyv1479 = make([]NetworkPolicyPeer, yyrl1479) } - yyc1407 = true - yyrr1407 = len(yyv1407) - if yyrg1407 { - copy(yyv1407, yyv21407) + yyc1479 = true + yyrr1479 = len(yyv1479) + if yyrg1479 { + copy(yyv1479, yyv21479) } - } else if yyl1407 != len(yyv1407) { - yyv1407 = yyv1407[:yyl1407] - yyc1407 = true + } else if yyl1479 != len(yyv1479) { + yyv1479 = yyv1479[:yyl1479] + yyc1479 = true } - yyj1407 := 0 - for ; yyj1407 < yyrr1407; yyj1407++ { - yyh1407.ElemContainerState(yyj1407) + yyj1479 := 0 + for ; yyj1479 < yyrr1479; yyj1479++ { + yyh1479.ElemContainerState(yyj1479) if r.TryDecodeAsNil() { - yyv1407[yyj1407] = NetworkPolicyPeer{} + yyv1479[yyj1479] = NetworkPolicyPeer{} } else { - yyv1408 := &yyv1407[yyj1407] - yyv1408.CodecDecodeSelf(d) + yyv1480 := &yyv1479[yyj1479] + yyv1480.CodecDecodeSelf(d) } } - if yyrt1407 { - for ; yyj1407 < yyl1407; yyj1407++ { - yyv1407 = append(yyv1407, NetworkPolicyPeer{}) - yyh1407.ElemContainerState(yyj1407) + if yyrt1479 { + for ; yyj1479 < yyl1479; yyj1479++ { + yyv1479 = append(yyv1479, NetworkPolicyPeer{}) + yyh1479.ElemContainerState(yyj1479) if r.TryDecodeAsNil() { - yyv1407[yyj1407] = NetworkPolicyPeer{} + yyv1479[yyj1479] = NetworkPolicyPeer{} } else { - yyv1409 := &yyv1407[yyj1407] - yyv1409.CodecDecodeSelf(d) + yyv1481 := &yyv1479[yyj1479] + yyv1481.CodecDecodeSelf(d) } } } } else { - yyj1407 := 0 - for ; !r.CheckBreak(); yyj1407++ { + yyj1479 := 0 + for ; !r.CheckBreak(); yyj1479++ { - if yyj1407 >= len(yyv1407) { - yyv1407 = append(yyv1407, NetworkPolicyPeer{}) // var yyz1407 NetworkPolicyPeer - yyc1407 = true + if yyj1479 >= len(yyv1479) { + yyv1479 = append(yyv1479, NetworkPolicyPeer{}) // var yyz1479 NetworkPolicyPeer + yyc1479 = true } - yyh1407.ElemContainerState(yyj1407) - if yyj1407 < len(yyv1407) { + yyh1479.ElemContainerState(yyj1479) + if yyj1479 < len(yyv1479) { if r.TryDecodeAsNil() { - yyv1407[yyj1407] = NetworkPolicyPeer{} + yyv1479[yyj1479] = NetworkPolicyPeer{} } else { - yyv1410 := &yyv1407[yyj1407] - yyv1410.CodecDecodeSelf(d) + yyv1482 := &yyv1479[yyj1479] + yyv1482.CodecDecodeSelf(d) } } else { @@ -17860,17 +18662,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1407 < len(yyv1407) { - yyv1407 = yyv1407[:yyj1407] - yyc1407 = true - } else if yyj1407 == 0 && yyv1407 == nil { - yyv1407 = []NetworkPolicyPeer{} - yyc1407 = true + if yyj1479 < len(yyv1479) { + yyv1479 = yyv1479[:yyj1479] + yyc1479 = true + } else if yyj1479 == 0 && yyv1479 == nil { + yyv1479 = []NetworkPolicyPeer{} + yyc1479 = true } } - yyh1407.End() - if yyc1407 { - *v = yyv1407 + yyh1479.End() + if yyc1479 { + *v = yyv1479 } } @@ -17879,10 +18681,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1411 := range v { + for _, yyv1483 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1412 := &yyv1411 - yy1412.CodecEncodeSelf(e) + yy1484 := &yyv1483 + yy1484.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17892,83 +18694,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1413 := *v - yyh1413, yyl1413 := z.DecSliceHelperStart() - var yyc1413 bool - if yyl1413 == 0 { - if yyv1413 == nil { - yyv1413 = []NetworkPolicy{} - yyc1413 = true - } else if len(yyv1413) != 0 { - yyv1413 = yyv1413[:0] - yyc1413 = true + 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 } - } else if yyl1413 > 0 { - var yyrr1413, yyrl1413 int - var yyrt1413 bool - if yyl1413 > cap(yyv1413) { + } else if yyl1485 > 0 { + var yyrr1485, yyrl1485 int + var yyrt1485 bool + if yyl1485 > cap(yyv1485) { - yyrg1413 := len(yyv1413) > 0 - yyv21413 := yyv1413 - yyrl1413, yyrt1413 = z.DecInferLen(yyl1413, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1413 { - if yyrl1413 <= cap(yyv1413) { - yyv1413 = yyv1413[:yyrl1413] + yyrg1485 := len(yyv1485) > 0 + yyv21485 := yyv1485 + yyrl1485, yyrt1485 = z.DecInferLen(yyl1485, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1485 { + if yyrl1485 <= cap(yyv1485) { + yyv1485 = yyv1485[:yyrl1485] } else { - yyv1413 = make([]NetworkPolicy, yyrl1413) + yyv1485 = make([]NetworkPolicy, yyrl1485) } } else { - yyv1413 = make([]NetworkPolicy, yyrl1413) + yyv1485 = make([]NetworkPolicy, yyrl1485) } - yyc1413 = true - yyrr1413 = len(yyv1413) - if yyrg1413 { - copy(yyv1413, yyv21413) + yyc1485 = true + yyrr1485 = len(yyv1485) + if yyrg1485 { + copy(yyv1485, yyv21485) } - } else if yyl1413 != len(yyv1413) { - yyv1413 = yyv1413[:yyl1413] - yyc1413 = true + } else if yyl1485 != len(yyv1485) { + yyv1485 = yyv1485[:yyl1485] + yyc1485 = true } - yyj1413 := 0 - for ; yyj1413 < yyrr1413; yyj1413++ { - yyh1413.ElemContainerState(yyj1413) + yyj1485 := 0 + for ; yyj1485 < yyrr1485; yyj1485++ { + yyh1485.ElemContainerState(yyj1485) if r.TryDecodeAsNil() { - yyv1413[yyj1413] = NetworkPolicy{} + yyv1485[yyj1485] = NetworkPolicy{} } else { - yyv1414 := &yyv1413[yyj1413] - yyv1414.CodecDecodeSelf(d) + yyv1486 := &yyv1485[yyj1485] + yyv1486.CodecDecodeSelf(d) } } - if yyrt1413 { - for ; yyj1413 < yyl1413; yyj1413++ { - yyv1413 = append(yyv1413, NetworkPolicy{}) - yyh1413.ElemContainerState(yyj1413) + if yyrt1485 { + for ; yyj1485 < yyl1485; yyj1485++ { + yyv1485 = append(yyv1485, NetworkPolicy{}) + yyh1485.ElemContainerState(yyj1485) if r.TryDecodeAsNil() { - yyv1413[yyj1413] = NetworkPolicy{} + yyv1485[yyj1485] = NetworkPolicy{} } else { - yyv1415 := &yyv1413[yyj1413] - yyv1415.CodecDecodeSelf(d) + yyv1487 := &yyv1485[yyj1485] + yyv1487.CodecDecodeSelf(d) } } } } else { - yyj1413 := 0 - for ; !r.CheckBreak(); yyj1413++ { + yyj1485 := 0 + for ; !r.CheckBreak(); yyj1485++ { - if yyj1413 >= len(yyv1413) { - yyv1413 = append(yyv1413, NetworkPolicy{}) // var yyz1413 NetworkPolicy - yyc1413 = true + if yyj1485 >= len(yyv1485) { + yyv1485 = append(yyv1485, NetworkPolicy{}) // var yyz1485 NetworkPolicy + yyc1485 = true } - yyh1413.ElemContainerState(yyj1413) - if yyj1413 < len(yyv1413) { + yyh1485.ElemContainerState(yyj1485) + if yyj1485 < len(yyv1485) { if r.TryDecodeAsNil() { - yyv1413[yyj1413] = NetworkPolicy{} + yyv1485[yyj1485] = NetworkPolicy{} } else { - yyv1416 := &yyv1413[yyj1413] - yyv1416.CodecDecodeSelf(d) + yyv1488 := &yyv1485[yyj1485] + yyv1488.CodecDecodeSelf(d) } } else { @@ -17976,16 +18778,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1413 < len(yyv1413) { - yyv1413 = yyv1413[:yyj1413] - yyc1413 = true - } else if yyj1413 == 0 && yyv1413 == nil { - yyv1413 = []NetworkPolicy{} - yyc1413 = true + if yyj1485 < len(yyv1485) { + yyv1485 = yyv1485[:yyj1485] + yyc1485 = true + } else if yyj1485 == 0 && yyv1485 == nil { + yyv1485 = []NetworkPolicy{} + yyc1485 = true } } - yyh1413.End() - if yyc1413 { - *v = yyv1413 + yyh1485.End() + if yyc1485 { + *v = yyv1485 } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/types.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/types.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/types.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/types.go index a2fd99ae688..d4df8666a0a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/types.go @@ -29,10 +29,10 @@ support is experimental. package extensions import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/util/intstr" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/util/intstr" ) const ( @@ -54,7 +54,7 @@ type ScaleStatus struct { Replicas int32 `json:"replicas"` // label query over pods that should match the replicas count. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *unversioned.LabelSelector `json:"selector,omitempty"` } @@ -339,14 +339,14 @@ type DaemonSetSpec struct { // Selector is a label query over pods that are managed by the daemon set. // Must match in order to be controlled. // If empty, defaulted to labels on Pod template. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *unversioned.LabelSelector `json:"selector,omitempty"` // 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 // that matches the template's node selector (or on every node if no node // selector is specified). - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template Template api.PodTemplateSpec `json:"template"` // TODO(madhusudancs): Uncomment while implementing DaemonSet updates. @@ -385,6 +385,10 @@ type DaemonSetStatus struct { // DesiredNumberScheduled is the total number of nodes that should be running the daemon // pod (including nodes correctly running the daemon pod). DesiredNumberScheduled int32 `json:"desiredNumberScheduled"` + + // NumberReady is the number of nodes that should be running the daemon pod and have one + // or more of the daemon pod running and ready. + NumberReady int32 `json:"numberReady"` } // +genclient=true @@ -610,10 +614,15 @@ type ReplicaSetSpec struct { // Replicas is the number of desired replicas. Replicas int32 `json:"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) + 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *unversioned.LabelSelector `json:"selector,omitempty"` // Template is the object that describes the pod that will be created if @@ -632,8 +641,40 @@ type ReplicaSetStatus struct { // The number of ready replicas for this replica set. ReadyReplicas int32 `json:"readyReplicas,omitempty"` + // The number of available replicas (ready for at least minReadySeconds) for this replica set. + AvailableReplicas int32 `json:"availableReplicas,omitempty"` + // ObservedGeneration is the most recent generation observed by the controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` + + // Represents the latest available observations of a replica set's current state. + Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` +} + +type ReplicaSetConditionType string + +// These are valid conditions of a replica set. +const ( + // ReplicaSetReplicaFailure is added in a replica set when one of its pods fails to be created + // due to insufficient quota, limit ranges, pod security policy, node selectors, etc. or deleted + // due to kubelet being down or finalizers are failing. + ReplicaSetReplicaFailure ReplicaSetConditionType = "ReplicaFailure" +) + +// ReplicaSetCondition describes the state of a replica set at a certain point. +type ReplicaSetCondition struct { + // Type of replica set condition. + 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. + 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"` } // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/conversion.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/conversion.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/conversion.go index 56f605e51e9..9374784fa3a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/conversion.go @@ -19,15 +19,15 @@ package v1beta1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/apis/autoscaling" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/apis/extensions" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/intstr" + "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/autoscaling" + "k8s.io/client-go/pkg/apis/batch" + "k8s.io/client-go/pkg/apis/extensions" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/intstr" ) func addConversionFuncs(scheme *runtime.Scheme) error { @@ -249,6 +249,7 @@ func Convert_v1beta1_RollingUpdateDeployment_To_extensions_RollingUpdateDeployme func Convert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensions.ReplicaSetSpec, out *ReplicaSetSpec, s conversion.Scope) error { 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 { @@ -268,6 +269,7 @@ func Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *ReplicaSetS if in.Replicas != nil { 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 { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/defaults.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/defaults.go index ae30a2bb31b..473edbe3b85 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/defaults.go @@ -17,9 +17,9 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/intstr" + "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 { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.pb.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.pb.go index 67b6a9c5a65..0a2266d1868 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.pb.go @@ -66,7 +66,6 @@ limitations under the License. JobStatus LabelSelector LabelSelectorRequirement - ListOptions NetworkPolicy NetworkPolicyIngressRule NetworkPolicyList @@ -77,6 +76,7 @@ limitations under the License. PodSecurityPolicyList PodSecurityPolicySpec ReplicaSet + ReplicaSetCondition ReplicaSetList ReplicaSetSpec ReplicaSetStatus @@ -101,10 +101,10 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/1.5/pkg/api/v1" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" -import k8s_io_kubernetes_pkg_util_intstr "k8s.io/client-go/1.5/pkg/util/intstr" +import k8s_io_kubernetes_pkg_util_intstr "k8s.io/client-go/pkg/util/intstr" import strings "strings" import reflect "reflect" @@ -299,51 +299,51 @@ func (*LabelSelectorRequirement) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{40} } -func (m *ListOptions) Reset() { *m = ListOptions{} } -func (*ListOptions) ProtoMessage() {} -func (*ListOptions) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } - func (m *NetworkPolicy) Reset() { *m = NetworkPolicy{} } func (*NetworkPolicy) ProtoMessage() {} -func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{42} } +func (*NetworkPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{41} } func (m *NetworkPolicyIngressRule) Reset() { *m = NetworkPolicyIngressRule{} } func (*NetworkPolicyIngressRule) ProtoMessage() {} func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int) { - return fileDescriptorGenerated, []int{43} + return fileDescriptorGenerated, []int{42} } func (m *NetworkPolicyList) Reset() { *m = NetworkPolicyList{} } func (*NetworkPolicyList) ProtoMessage() {} -func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } +func (*NetworkPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{43} } func (m *NetworkPolicyPeer) Reset() { *m = NetworkPolicyPeer{} } func (*NetworkPolicyPeer) ProtoMessage() {} -func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } +func (*NetworkPolicyPeer) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{44} } func (m *NetworkPolicyPort) Reset() { *m = NetworkPolicyPort{} } func (*NetworkPolicyPort) ProtoMessage() {} -func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } +func (*NetworkPolicyPort) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{45} } func (m *NetworkPolicySpec) Reset() { *m = NetworkPolicySpec{} } func (*NetworkPolicySpec) ProtoMessage() {} -func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } +func (*NetworkPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{46} } func (m *PodSecurityPolicy) Reset() { *m = PodSecurityPolicy{} } func (*PodSecurityPolicy) ProtoMessage() {} -func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } +func (*PodSecurityPolicy) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{47} } func (m *PodSecurityPolicyList) Reset() { *m = PodSecurityPolicyList{} } func (*PodSecurityPolicyList) ProtoMessage() {} -func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } +func (*PodSecurityPolicyList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{48} } func (m *PodSecurityPolicySpec) Reset() { *m = PodSecurityPolicySpec{} } func (*PodSecurityPolicySpec) ProtoMessage() {} -func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } +func (*PodSecurityPolicySpec) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{49} } func (m *ReplicaSet) Reset() { *m = ReplicaSet{} } func (*ReplicaSet) ProtoMessage() {} -func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } +func (*ReplicaSet) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{50} } + +func (m *ReplicaSetCondition) Reset() { *m = ReplicaSetCondition{} } +func (*ReplicaSetCondition) ProtoMessage() {} +func (*ReplicaSetCondition) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{51} } func (m *ReplicaSetList) Reset() { *m = ReplicaSetList{} } func (*ReplicaSetList) ProtoMessage() {} @@ -424,75 +424,75 @@ func (*ThirdPartyResourceList) ProtoMessage() {} func (*ThirdPartyResourceList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{68} } func init() { - proto.RegisterType((*APIVersion)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.APIVersion") - proto.RegisterType((*CPUTargetUtilization)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.CPUTargetUtilization") - proto.RegisterType((*CustomMetricCurrentStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatus") - proto.RegisterType((*CustomMetricCurrentStatusList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatusList") - proto.RegisterType((*CustomMetricTarget)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.CustomMetricTarget") - proto.RegisterType((*CustomMetricTargetList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.CustomMetricTargetList") - proto.RegisterType((*DaemonSet)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DaemonSet") - proto.RegisterType((*DaemonSetList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DaemonSetList") - proto.RegisterType((*DaemonSetSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DaemonSetSpec") - proto.RegisterType((*DaemonSetStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DaemonSetStatus") - proto.RegisterType((*Deployment)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.Deployment") - proto.RegisterType((*DeploymentList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DeploymentList") - proto.RegisterType((*DeploymentRollback)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DeploymentRollback") - proto.RegisterType((*DeploymentSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DeploymentSpec") - proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DeploymentStatus") - proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.DeploymentStrategy") - proto.RegisterType((*ExportOptions)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ExportOptions") - proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.FSGroupStrategyOptions") - proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HTTPIngressPath") - proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HTTPIngressRuleValue") - proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HorizontalPodAutoscaler") - proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerList") - proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerSpec") - proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerStatus") - proto.RegisterType((*HostPortRange)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.HostPortRange") - proto.RegisterType((*IDRange)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IDRange") - proto.RegisterType((*Ingress)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.Ingress") - proto.RegisterType((*IngressBackend)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressBackend") - proto.RegisterType((*IngressList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressList") - proto.RegisterType((*IngressRule)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressRule") - proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressRuleValue") - proto.RegisterType((*IngressSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressSpec") - proto.RegisterType((*IngressStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressStatus") - proto.RegisterType((*IngressTLS)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.IngressTLS") - proto.RegisterType((*Job)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.Job") - proto.RegisterType((*JobCondition)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.JobCondition") - proto.RegisterType((*JobList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.JobList") - proto.RegisterType((*JobSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.JobSpec") - proto.RegisterType((*JobStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.JobStatus") - proto.RegisterType((*LabelSelector)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.LabelSelector") - proto.RegisterType((*LabelSelectorRequirement)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.LabelSelectorRequirement") - proto.RegisterType((*ListOptions)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ListOptions") - proto.RegisterType((*NetworkPolicy)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.NetworkPolicy") - proto.RegisterType((*NetworkPolicyIngressRule)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.NetworkPolicyIngressRule") - proto.RegisterType((*NetworkPolicyList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.NetworkPolicyList") - proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.NetworkPolicyPeer") - proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.NetworkPolicyPort") - proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.NetworkPolicySpec") - proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.PodSecurityPolicy") - proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.PodSecurityPolicyList") - proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.PodSecurityPolicySpec") - proto.RegisterType((*ReplicaSet)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ReplicaSet") - proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ReplicaSetList") - proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ReplicaSetSpec") - proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ReplicaSetStatus") - proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ReplicationControllerDummy") - proto.RegisterType((*RollbackConfig)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.RollbackConfig") - proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.RollingUpdateDeployment") - proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.RunAsUserStrategyOptions") - proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.SELinuxStrategyOptions") - proto.RegisterType((*Scale)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.Scale") - proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ScaleSpec") - proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ScaleStatus") - proto.RegisterType((*SubresourceReference)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.SubresourceReference") - proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.SupplementalGroupsStrategyOptions") - proto.RegisterType((*ThirdPartyResource)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ThirdPartyResource") - proto.RegisterType((*ThirdPartyResourceData)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ThirdPartyResourceData") - proto.RegisterType((*ThirdPartyResourceDataList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ThirdPartyResourceDataList") - proto.RegisterType((*ThirdPartyResourceList)(nil), "k8s.io.client-go.1.5.pkg.apis.extensions.v1beta1.ThirdPartyResourceList") + proto.RegisterType((*APIVersion)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.APIVersion") + proto.RegisterType((*CPUTargetUtilization)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CPUTargetUtilization") + proto.RegisterType((*CustomMetricCurrentStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatus") + proto.RegisterType((*CustomMetricCurrentStatusList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricCurrentStatusList") + proto.RegisterType((*CustomMetricTarget)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricTarget") + proto.RegisterType((*CustomMetricTargetList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.CustomMetricTargetList") + proto.RegisterType((*DaemonSet)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSet") + proto.RegisterType((*DaemonSetList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DaemonSetList") + 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((*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") + proto.RegisterType((*DeploymentStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentStatus") + proto.RegisterType((*DeploymentStrategy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.DeploymentStrategy") + proto.RegisterType((*ExportOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ExportOptions") + proto.RegisterType((*FSGroupStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.FSGroupStrategyOptions") + proto.RegisterType((*HTTPIngressPath)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HTTPIngressPath") + proto.RegisterType((*HTTPIngressRuleValue)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HTTPIngressRuleValue") + proto.RegisterType((*HorizontalPodAutoscaler)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HorizontalPodAutoscaler") + proto.RegisterType((*HorizontalPodAutoscalerList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerList") + proto.RegisterType((*HorizontalPodAutoscalerSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerSpec") + proto.RegisterType((*HorizontalPodAutoscalerStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HorizontalPodAutoscalerStatus") + proto.RegisterType((*HostPortRange)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.HostPortRange") + proto.RegisterType((*IDRange)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IDRange") + proto.RegisterType((*Ingress)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Ingress") + proto.RegisterType((*IngressBackend)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressBackend") + proto.RegisterType((*IngressList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressList") + proto.RegisterType((*IngressRule)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressRule") + proto.RegisterType((*IngressRuleValue)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressRuleValue") + proto.RegisterType((*IngressSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressSpec") + proto.RegisterType((*IngressStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressStatus") + proto.RegisterType((*IngressTLS)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.IngressTLS") + proto.RegisterType((*Job)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Job") + proto.RegisterType((*JobCondition)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.JobCondition") + 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") + proto.RegisterType((*NetworkPolicyPeer)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyPeer") + proto.RegisterType((*NetworkPolicyPort)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicyPort") + proto.RegisterType((*NetworkPolicySpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.NetworkPolicySpec") + proto.RegisterType((*PodSecurityPolicy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.PodSecurityPolicy") + proto.RegisterType((*PodSecurityPolicyList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.PodSecurityPolicyList") + proto.RegisterType((*PodSecurityPolicySpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.PodSecurityPolicySpec") + proto.RegisterType((*ReplicaSet)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSet") + proto.RegisterType((*ReplicaSetCondition)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetCondition") + proto.RegisterType((*ReplicaSetList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetList") + proto.RegisterType((*ReplicaSetSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetSpec") + proto.RegisterType((*ReplicaSetStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicaSetStatus") + proto.RegisterType((*ReplicationControllerDummy)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ReplicationControllerDummy") + proto.RegisterType((*RollbackConfig)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RollbackConfig") + proto.RegisterType((*RollingUpdateDeployment)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RollingUpdateDeployment") + proto.RegisterType((*RunAsUserStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.RunAsUserStrategyOptions") + proto.RegisterType((*SELinuxStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.SELinuxStrategyOptions") + proto.RegisterType((*Scale)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.Scale") + proto.RegisterType((*ScaleSpec)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ScaleSpec") + proto.RegisterType((*ScaleStatus)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ScaleStatus") + proto.RegisterType((*SubresourceReference)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.SubresourceReference") + proto.RegisterType((*SupplementalGroupsStrategyOptions)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.SupplementalGroupsStrategyOptions") + proto.RegisterType((*ThirdPartyResource)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResource") + proto.RegisterType((*ThirdPartyResourceData)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResourceData") + proto.RegisterType((*ThirdPartyResourceDataList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResourceDataList") + proto.RegisterType((*ThirdPartyResourceList)(nil), "k8s.io.client-go.pkg.apis.extensions.v1beta1.ThirdPartyResourceList") } func (m *APIVersion) Marshal() (data []byte, err error) { size := m.Size() @@ -797,6 +797,9 @@ func (m *DaemonSetStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x18 i++ i = encodeVarintGenerated(data, i, uint64(m.DesiredNumberScheduled)) + data[i] = 0x20 + i++ + i = encodeVarintGenerated(data, i, uint64(m.NumberReady)) return i, nil } @@ -2032,49 +2035,6 @@ func (m *LabelSelectorRequirement) MarshalTo(data []byte) (int, error) { return i, nil } -func (m *ListOptions) 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 *ListOptions) MarshalTo(data []byte) (int, error) { - var i int - _ = i - var l int - _ = l - data[i] = 0xa - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.LabelSelector))) - i += copy(data[i:], m.LabelSelector) - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.FieldSelector))) - i += copy(data[i:], m.FieldSelector) - data[i] = 0x18 - i++ - if m.Watch { - data[i] = 1 - } else { - data[i] = 0 - } - i++ - data[i] = 0x22 - i++ - i = encodeVarintGenerated(data, i, uint64(len(m.ResourceVersion))) - i += copy(data[i:], m.ResourceVersion) - if m.TimeoutSeconds != nil { - data[i] = 0x28 - i++ - i = encodeVarintGenerated(data, i, uint64(*m.TimeoutSeconds)) - } - return i, nil -} - func (m *NetworkPolicy) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -2575,6 +2535,56 @@ func (m *ReplicaSet) MarshalTo(data []byte) (int, error) { return i, nil } +func (m *ReplicaSetCondition) 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 *ReplicaSetCondition) 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] = 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:]) + if err != nil { + return 0, err + } + i += n64 + data[i] = 0x2a + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Reason))) + i += copy(data[i:], m.Reason) + data[i] = 0x32 + i++ + i = encodeVarintGenerated(data, i, uint64(len(m.Message))) + i += copy(data[i:], m.Message) + return i, nil +} + func (m *ReplicaSetList) Marshal() (data []byte, err error) { size := m.Size() data = make([]byte, size) @@ -2593,11 +2603,11 @@ func (m *ReplicaSetList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n63, err := m.ListMeta.MarshalTo(data[i:]) + n65, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n63 + i += n65 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -2637,20 +2647,23 @@ func (m *ReplicaSetSpec) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.Selector.Size())) - n64, err := m.Selector.MarshalTo(data[i:]) + n66, err := m.Selector.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n64 + i += n66 } data[i] = 0x1a i++ i = encodeVarintGenerated(data, i, uint64(m.Template.Size())) - n65, err := m.Template.MarshalTo(data[i:]) + n67, err := m.Template.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n65 + i += n67 + data[i] = 0x20 + i++ + i = encodeVarintGenerated(data, i, uint64(m.MinReadySeconds)) return i, nil } @@ -2681,6 +2694,21 @@ func (m *ReplicaSetStatus) MarshalTo(data []byte) (int, error) { data[i] = 0x20 i++ i = encodeVarintGenerated(data, i, uint64(m.ReadyReplicas)) + data[i] = 0x28 + i++ + i = encodeVarintGenerated(data, i, uint64(m.AvailableReplicas)) + 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 } @@ -2742,21 +2770,21 @@ func (m *RollingUpdateDeployment) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.MaxUnavailable.Size())) - n66, err := m.MaxUnavailable.MarshalTo(data[i:]) + n68, err := m.MaxUnavailable.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n66 + i += n68 } if m.MaxSurge != nil { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.MaxSurge.Size())) - n67, err := m.MaxSurge.MarshalTo(data[i:]) + n69, err := m.MaxSurge.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n67 + i += n69 } return i, nil } @@ -2818,11 +2846,11 @@ func (m *SELinuxStrategyOptions) MarshalTo(data []byte) (int, error) { data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(m.SELinuxOptions.Size())) - n68, err := m.SELinuxOptions.MarshalTo(data[i:]) + n70, err := m.SELinuxOptions.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n68 + i += n70 } return i, nil } @@ -2845,27 +2873,27 @@ func (m *Scale) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n69, err := m.ObjectMeta.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n69 - data[i] = 0x12 - i++ - i = encodeVarintGenerated(data, i, uint64(m.Spec.Size())) - n70, err := m.Spec.MarshalTo(data[i:]) - if err != nil { - return 0, err - } - i += n70 - data[i] = 0x1a - i++ - i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) - n71, err := m.Status.MarshalTo(data[i:]) + 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:]) + if err != nil { + return 0, err + } + i += n72 + data[i] = 0x1a + i++ + i = encodeVarintGenerated(data, i, uint64(m.Status.Size())) + n73, err := m.Status.MarshalTo(data[i:]) + if err != nil { + return 0, err + } + i += n73 return i, nil } @@ -3018,11 +3046,11 @@ func (m *ThirdPartyResource) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n72, err := m.ObjectMeta.MarshalTo(data[i:]) + n74, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n72 + i += n74 data[i] = 0x12 i++ i = encodeVarintGenerated(data, i, uint64(len(m.Description))) @@ -3060,11 +3088,11 @@ func (m *ThirdPartyResourceData) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ObjectMeta.Size())) - n73, err := m.ObjectMeta.MarshalTo(data[i:]) + n75, err := m.ObjectMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n73 + i += n75 if m.Data != nil { data[i] = 0x12 i++ @@ -3092,11 +3120,11 @@ func (m *ThirdPartyResourceDataList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n74, err := m.ListMeta.MarshalTo(data[i:]) + n76, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n74 + i += n76 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3130,11 +3158,11 @@ func (m *ThirdPartyResourceList) MarshalTo(data []byte) (int, error) { data[i] = 0xa i++ i = encodeVarintGenerated(data, i, uint64(m.ListMeta.Size())) - n75, err := m.ListMeta.MarshalTo(data[i:]) + n77, err := m.ListMeta.MarshalTo(data[i:]) if err != nil { return 0, err } - i += n75 + i += n77 if len(m.Items) > 0 { for _, msg := range m.Items { data[i] = 0x12 @@ -3280,6 +3308,7 @@ func (m *DaemonSetStatus) Size() (n int) { n += 1 + sovGenerated(uint64(m.CurrentNumberScheduled)) n += 1 + sovGenerated(uint64(m.NumberMisscheduled)) n += 1 + sovGenerated(uint64(m.DesiredNumberScheduled)) + n += 1 + sovGenerated(uint64(m.NumberReady)) return n } @@ -3723,22 +3752,6 @@ func (m *LabelSelectorRequirement) Size() (n int) { return n } -func (m *ListOptions) Size() (n int) { - var l int - _ = l - l = len(m.LabelSelector) - n += 1 + l + sovGenerated(uint64(l)) - l = len(m.FieldSelector) - n += 1 + l + sovGenerated(uint64(l)) - n += 2 - l = len(m.ResourceVersion) - n += 1 + l + sovGenerated(uint64(l)) - if m.TimeoutSeconds != nil { - n += 1 + sovGenerated(uint64(*m.TimeoutSeconds)) - } - return n -} - func (m *NetworkPolicy) Size() (n int) { var l int _ = l @@ -3908,6 +3921,24 @@ func (m *ReplicaSet) Size() (n int) { return n } +func (m *ReplicaSetCondition) 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 = m.LastProbeTime.Size() + n += 1 + l + sovGenerated(uint64(l)) + l = m.LastTransitionTime.Size() + 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)) + return n +} + func (m *ReplicaSetList) Size() (n int) { var l int _ = l @@ -3934,6 +3965,7 @@ func (m *ReplicaSetSpec) Size() (n int) { } l = m.Template.Size() n += 1 + l + sovGenerated(uint64(l)) + n += 1 + sovGenerated(uint64(m.MinReadySeconds)) return n } @@ -3944,6 +3976,13 @@ func (m *ReplicaSetStatus) Size() (n int) { n += 1 + sovGenerated(uint64(m.FullyLabeledReplicas)) n += 1 + sovGenerated(uint64(m.ObservedGeneration)) n += 1 + sovGenerated(uint64(m.ReadyReplicas)) + n += 1 + sovGenerated(uint64(m.AvailableReplicas)) + if len(m.Conditions) > 0 { + for _, e := range m.Conditions { + l = e.Size() + n += 1 + l + sovGenerated(uint64(l)) + } + } return n } @@ -4237,6 +4276,7 @@ func (this *DaemonSetStatus) String() string { `CurrentNumberScheduled:` + fmt.Sprintf("%v", this.CurrentNumberScheduled) + `,`, `NumberMisscheduled:` + fmt.Sprintf("%v", this.NumberMisscheduled) + `,`, `DesiredNumberScheduled:` + fmt.Sprintf("%v", this.DesiredNumberScheduled) + `,`, + `NumberReady:` + fmt.Sprintf("%v", this.NumberReady) + `,`, `}`, }, "") return s @@ -4632,20 +4672,6 @@ func (this *LabelSelectorRequirement) String() string { }, "") return s } -func (this *ListOptions) String() string { - if this == nil { - return "nil" - } - s := strings.Join([]string{`&ListOptions{`, - `LabelSelector:` + fmt.Sprintf("%v", this.LabelSelector) + `,`, - `FieldSelector:` + fmt.Sprintf("%v", this.FieldSelector) + `,`, - `Watch:` + fmt.Sprintf("%v", this.Watch) + `,`, - `ResourceVersion:` + fmt.Sprintf("%v", this.ResourceVersion) + `,`, - `TimeoutSeconds:` + valueToStringGenerated(this.TimeoutSeconds) + `,`, - `}`, - }, "") - return s -} func (this *NetworkPolicy) String() string { if this == nil { return "nil" @@ -4769,6 +4795,21 @@ func (this *ReplicaSet) String() string { }, "") return s } +func (this *ReplicaSetCondition) String() string { + if this == nil { + return "nil" + } + 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) + `,`, + `}`, + }, "") + return s +} func (this *ReplicaSetList) String() string { if this == nil { return "nil" @@ -4788,6 +4829,7 @@ func (this *ReplicaSetSpec) String() string { `Replicas:` + valueToStringGenerated(this.Replicas) + `,`, `Selector:` + strings.Replace(fmt.Sprintf("%v", this.Selector), "LabelSelector", "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) + `,`, `}`, }, "") return s @@ -4801,6 +4843,8 @@ func (this *ReplicaSetStatus) String() string { `FullyLabeledReplicas:` + fmt.Sprintf("%v", this.FullyLabeledReplicas) + `,`, `ObservedGeneration:` + fmt.Sprintf("%v", this.ObservedGeneration) + `,`, `ReadyReplicas:` + fmt.Sprintf("%v", this.ReadyReplicas) + `,`, + `AvailableReplicas:` + fmt.Sprintf("%v", this.AvailableReplicas) + `,`, + `Conditions:` + strings.Replace(strings.Replace(fmt.Sprintf("%v", this.Conditions), "ReplicaSetCondition", "ReplicaSetCondition", 1), `&`, ``, 1) + `,`, `}`, }, "") return s @@ -5956,6 +6000,25 @@ func (m *DaemonSetStatus) Unmarshal(data []byte) error { break } } + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field NumberReady", wireType) + } + m.NumberReady = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.NumberReady |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -10179,183 +10242,6 @@ func (m *LabelSelectorRequirement) Unmarshal(data []byte) error { } return nil } -func (m *ListOptions) 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: ListOptions: wiretype end group for non-group") - } - if fieldNum <= 0 { - return fmt.Errorf("proto: ListOptions: illegal tag %d (wire type %d)", fieldNum, wire) - } - switch fieldNum { - case 1: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field LabelSelector", 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.LabelSelector = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 2: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field FieldSelector", 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.FieldSelector = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 3: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Watch", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - v |= (int(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.Watch = bool(v != 0) - case 4: - if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field ResourceVersion", 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.ResourceVersion = string(data[iNdEx:postIndex]) - iNdEx = postIndex - case 5: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field TimeoutSeconds", wireType) - } - var v int64 - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowGenerated - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := data[iNdEx] - iNdEx++ - v |= (int64(b) & 0x7F) << shift - if b < 0x80 { - break - } - } - m.TimeoutSeconds = &v - 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 @@ -11807,6 +11693,232 @@ func (m *ReplicaSet) Unmarshal(data []byte) error { } return nil } +func (m *ReplicaSetCondition) 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: ReplicaSetCondition: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ReplicaSetCondition: 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 = ReplicaSetConditionType(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 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) + } + 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 + case 5: + 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 6: + 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 + 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 *ReplicaSetList) Unmarshal(data []byte) error { l := len(data) iNdEx := 0 @@ -12030,6 +12142,25 @@ func (m *ReplicaSetSpec) Unmarshal(data []byte) error { return err } iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinReadySeconds", wireType) + } + m.MinReadySeconds = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.MinReadySeconds |= (int32(b) & 0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipGenerated(data[iNdEx:]) @@ -12156,6 +12287,56 @@ func (m *ReplicaSetStatus) Unmarshal(data []byte) error { break } } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AvailableReplicas", wireType) + } + m.AvailableReplicas = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowGenerated + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := data[iNdEx] + iNdEx++ + m.AvailableReplicas |= (int32(b) & 0x7F) << shift + if b < 0x80 { + 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, ReplicaSetCondition{}) + 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:]) @@ -13907,251 +14088,250 @@ var ( ) var fileDescriptorGenerated = []byte{ - // 3921 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe4, 0x1b, 0x4d, 0x8f, 0x1c, 0x47, - 0x35, 0x33, 0xb3, 0x1f, 0x33, 0xb5, 0x1f, 0x5e, 0x97, 0xd7, 0xf6, 0x64, 0x93, 0xd8, 0x49, 0x47, - 0x84, 0x44, 0xc4, 0xb3, 0xd8, 0x24, 0xc1, 0x71, 0x12, 0x27, 0x3b, 0xfb, 0x61, 0x3b, 0xd9, 0xb5, - 0x27, 0x35, 0x6b, 0x27, 0xe4, 0x93, 0xde, 0x99, 0xda, 0xd9, 0xf6, 0xf6, 0x4c, 0x4f, 0xfa, 0x63, - 0xbd, 0x13, 0x84, 0x08, 0x02, 0x24, 0x2e, 0x09, 0xb9, 0x11, 0x09, 0x38, 0x20, 0x81, 0x38, 0x20, - 0x22, 0x90, 0x90, 0x72, 0xe0, 0x02, 0x48, 0x08, 0x73, 0x40, 0x04, 0x04, 0x82, 0x0b, 0x09, 0x04, - 0x41, 0xc4, 0x5f, 0x08, 0x48, 0xf0, 0xaa, 0xba, 0xba, 0xbb, 0xaa, 0xa7, 0x7b, 0xec, 0x99, 0xfd, - 0x90, 0x10, 0x87, 0x95, 0xdd, 0xf5, 0x3e, 0xeb, 0xd5, 0xab, 0xf7, 0x5e, 0x55, 0xbd, 0x41, 0x8f, - 0x6d, 0x9e, 0x76, 0x4a, 0x86, 0x35, 0xbb, 0xe9, 0xad, 0x51, 0xbb, 0x45, 0x5d, 0xea, 0xcc, 0xb6, - 0x37, 0x1b, 0xb3, 0x7a, 0xdb, 0x70, 0x66, 0xe9, 0xb6, 0x4b, 0x5b, 0x8e, 0x61, 0xb5, 0x9c, 0xd9, - 0xad, 0x93, 0x6b, 0xd4, 0xd5, 0x4f, 0xce, 0x36, 0x68, 0x8b, 0xda, 0xba, 0x4b, 0xeb, 0xa5, 0xb6, - 0x6d, 0xb9, 0x16, 0x3e, 0xe1, 0x93, 0x97, 0x22, 0xf2, 0x12, 0x90, 0x97, 0x18, 0x79, 0x29, 0x22, - 0x2f, 0x09, 0xf2, 0x99, 0x13, 0x0d, 0xc3, 0xdd, 0xf0, 0xd6, 0x4a, 0x35, 0xab, 0x39, 0xdb, 0xb0, - 0x1a, 0xd6, 0x2c, 0xe7, 0xb2, 0xe6, 0xad, 0xf3, 0x2f, 0xfe, 0xc1, 0xff, 0xe7, 0x73, 0x9f, 0x39, - 0x95, 0xaa, 0xdc, 0xac, 0x4d, 0x1d, 0xcb, 0xb3, 0x6b, 0x34, 0xae, 0xd1, 0xcc, 0x83, 0xe9, 0x34, - 0x5e, 0x6b, 0x8b, 0xda, 0x4c, 0x21, 0x5a, 0xef, 0x22, 0xbb, 0x3f, 0x9d, 0x6c, 0xab, 0x6b, 0xda, - 0x33, 0x27, 0x92, 0xb1, 0x6d, 0xaf, 0xe5, 0x1a, 0xcd, 0x6e, 0x9d, 0x4e, 0x26, 0xa3, 0x7b, 0xae, - 0x61, 0xce, 0x1a, 0x2d, 0xd7, 0x71, 0xed, 0x38, 0x89, 0x56, 0x42, 0x68, 0xae, 0x72, 0xe1, 0x8a, - 0xaf, 0x2f, 0xbe, 0x13, 0x0d, 0xb5, 0xf4, 0x26, 0x2d, 0x66, 0xee, 0xcc, 0xdc, 0x5b, 0x28, 0x8f, - 0x5f, 0x7f, 0xef, 0xf8, 0x2d, 0x1f, 0xbc, 0x77, 0x7c, 0xe8, 0x22, 0x8c, 0x11, 0x0e, 0xd1, 0x5e, - 0x40, 0xd3, 0xf3, 0x95, 0xcb, 0xab, 0xba, 0xdd, 0xa0, 0xee, 0x65, 0xe0, 0x6b, 0xbc, 0xaa, 0xbb, - 0x8c, 0x72, 0x01, 0x4d, 0xb9, 0x7c, 0xb0, 0x42, 0xc1, 0x5a, 0x2d, 0x57, 0x6f, 0xf8, 0x5c, 0x86, - 0xcb, 0x45, 0xc1, 0x65, 0x6a, 0x35, 0x06, 0x27, 0x5d, 0x14, 0xda, 0xd7, 0x33, 0xe8, 0xd6, 0x79, - 0xcf, 0x71, 0xad, 0xe6, 0x0a, 0x75, 0x6d, 0xa3, 0x36, 0xef, 0xd9, 0x36, 0x80, 0xaa, 0xae, 0xee, - 0x7a, 0xce, 0x8d, 0xb5, 0xc3, 0xcf, 0xa2, 0xe1, 0x2d, 0xdd, 0xf4, 0x68, 0x31, 0x0b, 0x28, 0x63, - 0xa7, 0xee, 0x2f, 0xa5, 0xba, 0x4d, 0x29, 0x58, 0xd8, 0xd2, 0xd3, 0x9e, 0x0e, 0xd6, 0x74, 0x3b, - 0xe5, 0x69, 0xc1, 0x70, 0x5c, 0x48, 0xbd, 0xc2, 0x38, 0x11, 0x9f, 0xa1, 0xf6, 0x46, 0x06, 0xdd, - 0x91, 0xaa, 0xd9, 0xb2, 0xe1, 0xb8, 0xb8, 0x89, 0x86, 0x0d, 0x97, 0x36, 0x1d, 0x50, 0x2f, 0x07, - 0xb2, 0xcf, 0x97, 0xfa, 0x72, 0xd9, 0x52, 0x2a, 0xf3, 0xf2, 0x84, 0xd0, 0x6b, 0xf8, 0x02, 0x63, - 0x4f, 0x7c, 0x29, 0xda, 0xd7, 0x32, 0x08, 0xcb, 0x34, 0xbe, 0x75, 0x6f, 0xc2, 0x46, 0xcf, 0xec, - 0xc4, 0x46, 0x87, 0x04, 0xc3, 0x31, 0x5f, 0x9c, 0x62, 0xa2, 0xd7, 0x32, 0xe8, 0x48, 0xb7, 0x46, - 0xdc, 0x36, 0xeb, 0xaa, 0x6d, 0xe6, 0x76, 0x60, 0x1b, 0x9f, 0x6b, 0x8a, 0x51, 0x7e, 0x90, 0x45, - 0x85, 0x05, 0x9d, 0x36, 0xad, 0x56, 0x15, 0x6c, 0xf1, 0x2c, 0xca, 0x37, 0x81, 0xbe, 0xae, 0xbb, - 0x3a, 0xb7, 0xc7, 0xd8, 0xa9, 0x7b, 0x7b, 0x4c, 0x76, 0xeb, 0x64, 0xe9, 0xd2, 0xda, 0x55, 0x5a, - 0x73, 0x41, 0x8e, 0x5e, 0xc6, 0x82, 0x3f, 0x8a, 0xc6, 0x48, 0xc8, 0x0d, 0xbf, 0x84, 0x86, 0x9c, - 0x36, 0xad, 0x09, 0x13, 0x3e, 0xda, 0xe7, 0x74, 0x42, 0x0d, 0xab, 0xc0, 0x23, 0x5a, 0x23, 0xf6, - 0x45, 0x38, 0x5f, 0xb0, 0xd7, 0x88, 0xc3, 0x17, 0xbf, 0x98, 0xe3, 0x12, 0xce, 0x0e, 0x2c, 0xc1, - 0x77, 0xa1, 0x49, 0x21, 0x63, 0xc4, 0xff, 0x26, 0x82, 0xbb, 0xf6, 0xeb, 0x0c, 0x9a, 0x08, 0x71, - 0xf9, 0x4a, 0xbd, 0xd8, 0x65, 0xb3, 0xd9, 0x1e, 0x36, 0x93, 0x22, 0x5d, 0x89, 0x91, 0x73, 0xd3, - 0x4d, 0x09, 0x61, 0xf9, 0x60, 0x44, 0x32, 0xdc, 0x8b, 0x81, 0x23, 0x64, 0xb9, 0x23, 0x9c, 0x1e, - 0x74, 0x5e, 0x29, 0xeb, 0xff, 0x7b, 0x79, 0x3e, 0x55, 0xdf, 0x92, 0x79, 0x87, 0x9a, 0xb0, 0x82, - 0x96, 0x2d, 0xe6, 0xd3, 0xef, 0x6a, 0x2d, 0xeb, 0x6b, 0xd4, 0xac, 0x0a, 0x1e, 0xe5, 0x71, 0x36, - 0xb1, 0xe0, 0x8b, 0x84, 0xbc, 0xf1, 0xf3, 0x28, 0x0f, 0x1a, 0xb4, 0x4d, 0x08, 0xad, 0xc2, 0x2b, - 0x4e, 0xf4, 0xf6, 0xb5, 0x8a, 0x55, 0x5f, 0x15, 0x04, 0xdc, 0x0d, 0x42, 0xab, 0x05, 0xa3, 0x24, - 0x64, 0xa8, 0xbd, 0x9e, 0x45, 0x07, 0x62, 0x4b, 0x8a, 0xaf, 0xa0, 0x23, 0x35, 0x3f, 0x4c, 0x5c, - 0xf4, 0x9a, 0x20, 0xa0, 0x5a, 0xdb, 0xa0, 0x75, 0xcf, 0xa4, 0x75, 0x11, 0x76, 0x8f, 0x09, 0x7e, - 0x47, 0xe6, 0x13, 0xb1, 0x48, 0x0a, 0x35, 0x7e, 0x12, 0xe1, 0x16, 0x1f, 0x5a, 0x31, 0x1c, 0x27, - 0xe4, 0x99, 0xe5, 0x3c, 0x67, 0x04, 0x4f, 0x7c, 0xb1, 0x0b, 0x83, 0x24, 0x50, 0x31, 0x1d, 0xeb, - 0xd4, 0x31, 0x6c, 0x5a, 0x8f, 0xeb, 0x98, 0x53, 0x75, 0x5c, 0x48, 0xc4, 0x22, 0x29, 0xd4, 0xda, - 0x0f, 0xb3, 0x08, 0x2d, 0xd0, 0xb6, 0x69, 0x75, 0x9a, 0x30, 0x83, 0x3d, 0xdc, 0xe7, 0x2f, 0x2b, - 0xfb, 0xfc, 0xb1, 0x7e, 0xbd, 0x35, 0x54, 0x31, 0x75, 0xa3, 0x37, 0x62, 0x1b, 0xfd, 0xf1, 0xc1, - 0x45, 0xf4, 0xde, 0xe9, 0xbf, 0xc9, 0xa0, 0xc9, 0x08, 0x79, 0x3f, 0xb6, 0xfa, 0x4b, 0xea, 0x56, - 0x7f, 0x78, 0xe0, 0x99, 0xa5, 0xec, 0xf5, 0xb7, 0x72, 0x08, 0x47, 0x48, 0xc4, 0x32, 0xcd, 0x35, - 0xbd, 0xb6, 0x79, 0x13, 0x09, 0xf0, 0xbb, 0x90, 0x39, 0xbd, 0x76, 0x9d, 0x15, 0x41, 0x73, 0xad, - 0x96, 0xe5, 0xf2, 0x02, 0x26, 0x50, 0xf3, 0x33, 0x03, 0xab, 0x19, 0x68, 0x50, 0xba, 0xdc, 0xc5, - 0x7b, 0xb1, 0xe5, 0xda, 0x9d, 0x68, 0xf7, 0x74, 0x23, 0x90, 0x04, 0x85, 0xf0, 0x2b, 0x08, 0xd9, - 0x82, 0xe7, 0xaa, 0x25, 0xfc, 0xa3, 0x5f, 0x17, 0x0c, 0x94, 0x9a, 0xb7, 0x5a, 0xeb, 0x46, 0x23, - 0xf2, 0x76, 0x12, 0x32, 0x26, 0x92, 0x90, 0x99, 0x45, 0x74, 0x34, 0x45, 0x7b, 0x3c, 0x85, 0x72, - 0x9b, 0xb4, 0xe3, 0x9b, 0x95, 0xb0, 0xff, 0xe2, 0x69, 0xb9, 0x90, 0x28, 0x88, 0x2a, 0xe0, 0x4c, - 0xf6, 0x74, 0x46, 0x7b, 0x6b, 0x58, 0x76, 0x36, 0x1e, 0x87, 0xef, 0x45, 0x79, 0x1b, 0x46, 0x8c, - 0x9a, 0xee, 0x88, 0x00, 0xc5, 0x23, 0x29, 0x11, 0x63, 0x24, 0x84, 0x2a, 0x11, 0x3b, 0xbb, 0x4f, - 0x11, 0x3b, 0xb7, 0xcb, 0x11, 0x1b, 0x5b, 0x30, 0x09, 0x97, 0xd5, 0xd9, 0x8d, 0x4e, 0x71, 0x88, - 0x33, 0x9f, 0xdb, 0xc1, 0xce, 0xf6, 0x19, 0x45, 0x02, 0x83, 0x11, 0x12, 0x0a, 0xc1, 0x73, 0xe8, - 0x40, 0xd3, 0x68, 0x11, 0xaa, 0xd7, 0x3b, 0x55, 0x5a, 0xb3, 0x5a, 0x75, 0xa7, 0x38, 0xcc, 0xcd, - 0x7c, 0x54, 0x10, 0x1d, 0x58, 0x51, 0xc1, 0x24, 0x8e, 0x8f, 0x97, 0xd1, 0xb4, 0x4d, 0xb7, 0x0c, - 0xa6, 0xc6, 0x79, 0xd8, 0xce, 0x96, 0xdd, 0x59, 0x36, 0x9a, 0x86, 0x5b, 0x1c, 0xf1, 0xcb, 0x78, - 0xe0, 0x31, 0x4d, 0x12, 0xe0, 0x24, 0x91, 0x0a, 0xdf, 0x83, 0x46, 0xda, 0xba, 0xe7, 0x40, 0xac, - 0x1f, 0x05, 0xfa, 0x7c, 0x14, 0x98, 0x2a, 0x7c, 0x94, 0x08, 0x28, 0x94, 0xcd, 0xb2, 0x97, 0xe7, - 0x77, 0xc3, 0xcb, 0x27, 0xd3, 0x3d, 0x5c, 0xfb, 0x30, 0x8b, 0xa6, 0xe2, 0x41, 0x93, 0xe5, 0x3c, - 0x6b, 0xcd, 0xa1, 0xf6, 0x16, 0xad, 0x9f, 0xf3, 0xcf, 0x47, 0xc0, 0x9e, 0xbb, 0x69, 0x2e, 0xda, - 0xb5, 0x97, 0xba, 0x30, 0x48, 0x02, 0x15, 0xbe, 0x5f, 0x72, 0x74, 0x3f, 0x6b, 0x86, 0xcb, 0x96, - 0xe0, 0xec, 0xb0, 0x6c, 0x62, 0xe7, 0x07, 0x40, 0x91, 0x1a, 0xc3, 0x65, 0xbb, 0xac, 0x82, 0x49, - 0x1c, 0x1f, 0x9f, 0x43, 0x07, 0xf5, 0x2d, 0xdd, 0x30, 0xf5, 0x35, 0x93, 0x86, 0x4c, 0x86, 0x38, - 0x93, 0x5b, 0x05, 0x93, 0x83, 0x73, 0x71, 0x04, 0xd2, 0x4d, 0x83, 0x57, 0xd0, 0x21, 0xaf, 0xd5, - 0xcd, 0xca, 0x77, 0xa3, 0xdb, 0x04, 0xab, 0x43, 0x97, 0xbb, 0x51, 0x48, 0x12, 0x9d, 0xf6, 0xdb, - 0x8c, 0x1c, 0x9f, 0x03, 0x97, 0xc5, 0x67, 0xd0, 0x90, 0xdb, 0x69, 0x07, 0xf1, 0xf9, 0x9e, 0x20, - 0x3e, 0xaf, 0xc2, 0xd8, 0x47, 0xbc, 0x12, 0x88, 0x53, 0x30, 0x08, 0xe1, 0x34, 0xf8, 0x0b, 0x68, - 0x82, 0x2d, 0xa5, 0xd1, 0x6a, 0xf8, 0x56, 0x11, 0xf1, 0x61, 0x69, 0x00, 0x77, 0x09, 0x79, 0x48, - 0x79, 0xe6, 0x20, 0x28, 0x32, 0xa1, 0x00, 0x89, 0x2a, 0x0f, 0x4e, 0xbf, 0x13, 0x8b, 0xdb, 0x6d, - 0xcb, 0x76, 0x2f, 0xb5, 0xfd, 0x18, 0x0d, 0x5e, 0x4e, 0xf9, 0x00, 0x9f, 0x8f, 0xe4, 0xe5, 0x3e, - 0x1a, 0x11, 0x50, 0x7c, 0x37, 0x1a, 0xa6, 0xdb, 0x7a, 0xcd, 0xe5, 0x1a, 0xe7, 0xa3, 0x8c, 0xb6, - 0xc8, 0x06, 0x89, 0x0f, 0xd3, 0x7e, 0x04, 0x07, 0xa8, 0xa5, 0xea, 0x39, 0xdb, 0xf2, 0xda, 0xc1, - 0xe4, 0x03, 0x39, 0x9f, 0x46, 0x43, 0x36, 0x94, 0x3e, 0xc2, 0x6a, 0x77, 0x07, 0x56, 0x23, 0x30, - 0x06, 0x56, 0x3b, 0x14, 0xa3, 0xf2, 0x4d, 0xc6, 0x08, 0x20, 0x0b, 0x8f, 0xd8, 0x7a, 0xab, 0x41, - 0x83, 0xfc, 0xf6, 0x50, 0x9f, 0xb6, 0xba, 0xb0, 0x40, 0x18, 0x79, 0x34, 0x31, 0xfe, 0x09, 0x75, - 0x85, 0xcf, 0x55, 0xfb, 0x56, 0x06, 0x1d, 0x38, 0xbf, 0xba, 0x5a, 0xb9, 0xd0, 0x6a, 0xc0, 0x69, - 0xd1, 0xa9, 0xe8, 0xee, 0x06, 0x4b, 0xc1, 0x6d, 0xf8, 0x37, 0x9e, 0x82, 0x19, 0x8c, 0x70, 0x08, - 0xde, 0x40, 0xa3, 0x6c, 0x3f, 0xd2, 0x56, 0x7d, 0xc0, 0xd2, 0x4a, 0x88, 0x2b, 0xfb, 0x4c, 0xca, - 0x07, 0x84, 0x8c, 0x51, 0x31, 0x40, 0x02, 0xf6, 0xda, 0xe7, 0xd0, 0xb4, 0xa4, 0x1e, 0xb3, 0x17, - 0x3f, 0xb3, 0xe2, 0x1a, 0x1a, 0x66, 0x9a, 0x04, 0x27, 0xd2, 0x7e, 0x0f, 0x58, 0xb1, 0x29, 0x47, - 0x0b, 0xca, 0xbe, 0xa0, 0x44, 0xe1, 0xbc, 0xb5, 0x3f, 0x66, 0xd1, 0xd1, 0xf3, 0x96, 0x6d, 0xbc, - 0x6a, 0xb5, 0x5c, 0xdd, 0x84, 0xfc, 0x31, 0xe7, 0xb9, 0x96, 0x53, 0xd3, 0x4d, 0x6a, 0xef, 0x61, - 0xd1, 0x6a, 0x2a, 0x45, 0xeb, 0x93, 0xfd, 0xce, 0x2c, 0x59, 0xdf, 0xd4, 0x0a, 0xd6, 0x8d, 0x55, - 0xb0, 0xcb, 0xbb, 0x24, 0xaf, 0x77, 0x39, 0xfb, 0xcf, 0x0c, 0xba, 0x2d, 0x85, 0x72, 0x3f, 0x6a, - 0xdb, 0x4d, 0xb5, 0xb6, 0x5d, 0xda, 0x9d, 0x39, 0xa7, 0x14, 0xba, 0xff, 0xca, 0xa6, 0xce, 0x95, - 0x97, 0x56, 0xaf, 0x40, 0xad, 0xc1, 0xbe, 0x08, 0x5d, 0x17, 0x73, 0x9d, 0xef, 0x53, 0x9f, 0xaa, - 0xb7, 0x16, 0x5c, 0xf5, 0x00, 0x13, 0x0a, 0xc7, 0xc2, 0x1a, 0x95, 0xaa, 0x0d, 0xc1, 0x9c, 0x84, - 0x62, 0xf0, 0x49, 0x34, 0xc6, 0xab, 0x07, 0x25, 0xcf, 0x1d, 0x60, 0xf7, 0x42, 0x2b, 0xd1, 0x30, - 0x91, 0x71, 0xf0, 0x83, 0x40, 0xa2, 0x6f, 0xc7, 0xb2, 0x5c, 0x78, 0x9d, 0xb4, 0x12, 0x81, 0x88, - 0x8c, 0x07, 0x21, 0x7f, 0xb2, 0xd6, 0xf6, 0xa4, 0x9b, 0x46, 0x51, 0x4e, 0xf5, 0x3b, 0xc5, 0xa4, - 0x4b, 0xcb, 0x32, 0x06, 0xd1, 0x93, 0x00, 0x91, 0xc6, 0x48, 0x4c, 0x9c, 0xf6, 0xf3, 0x1c, 0xba, - 0xa3, 0xa7, 0x8f, 0xe2, 0xa5, 0x1e, 0xd5, 0xc3, 0x91, 0x3e, 0x2a, 0x87, 0x3a, 0x9a, 0x30, 0x75, - 0xc7, 0xe5, 0xe6, 0x5e, 0x35, 0x9a, 0x41, 0x76, 0xfb, 0xc4, 0x4d, 0x3a, 0x2e, 0x23, 0xf1, 0x53, - 0xd8, 0xb2, 0xcc, 0x85, 0xa8, 0x4c, 0x59, 0xc5, 0x21, 0x4e, 0xfe, 0x69, 0x15, 0xc7, 0xbc, 0x0a, - 0x26, 0x71, 0x7c, 0xc6, 0x42, 0x1c, 0xcc, 0x63, 0xf5, 0x46, 0xc8, 0x62, 0x41, 0x05, 0x93, 0x38, - 0x3e, 0x54, 0x7d, 0xc7, 0x05, 0x57, 0xd5, 0xfc, 0xd2, 0xed, 0xb1, 0x5f, 0x77, 0xdc, 0x0d, 0xec, - 0x8e, 0xcf, 0xf7, 0x46, 0x25, 0x37, 0xe2, 0xa5, 0xad, 0xa0, 0x89, 0xf3, 0x96, 0xe3, 0x56, 0x58, - 0x4a, 0x66, 0x79, 0x0b, 0xdf, 0x81, 0x72, 0xe0, 0x9c, 0xe2, 0x24, 0x32, 0x26, 0xd4, 0xce, 0x31, - 0xe7, 0x65, 0xe3, 0x1c, 0xac, 0x6f, 0x0b, 0xbf, 0x8e, 0xc0, 0xe0, 0x97, 0x6c, 0x5c, 0x3b, 0x87, - 0x46, 0x45, 0x5e, 0x94, 0x19, 0xe5, 0x7a, 0x33, 0xca, 0x25, 0x30, 0xfa, 0x5e, 0x16, 0x38, 0xf9, - 0x69, 0x64, 0x0f, 0x13, 0xc2, 0x0b, 0x4a, 0x42, 0x38, 0x33, 0x58, 0xaa, 0x4d, 0x4d, 0x00, 0xf5, - 0x58, 0x02, 0x78, 0x74, 0x40, 0xfe, 0xbd, 0x03, 0xfe, 0xdb, 0x19, 0x34, 0xa9, 0x26, 0x7d, 0x16, - 0x51, 0xd8, 0x1e, 0x32, 0x6a, 0xf4, 0x62, 0x74, 0xe0, 0x0f, 0x23, 0x4a, 0x35, 0x02, 0x11, 0x19, - 0x0f, 0xd3, 0x90, 0x8c, 0xb9, 0x83, 0x30, 0x4a, 0x29, 0x45, 0x69, 0xf6, 0x74, 0x52, 0xf2, 0x9f, - 0x4e, 0x40, 0x51, 0xf7, 0x12, 0xec, 0x79, 0x1b, 0xca, 0xc1, 0x2e, 0x31, 0xdc, 0xb3, 0x64, 0xbe, - 0xda, 0xaf, 0x32, 0x68, 0x4c, 0x28, 0xbc, 0x1f, 0x19, 0xe9, 0x79, 0x35, 0x23, 0x3d, 0x34, 0x60, - 0x3d, 0x95, 0x9c, 0x81, 0xde, 0x89, 0xe6, 0xc2, 0x2a, 0x28, 0x56, 0xe0, 0x6d, 0xc0, 0x76, 0x8a, - 0x17, 0x78, 0x6c, 0x8b, 0x11, 0x0e, 0xc1, 0x5f, 0xc9, 0xa0, 0x29, 0x23, 0x56, 0x73, 0x09, 0x53, - 0x3f, 0x3e, 0x98, 0x6a, 0x21, 0x9b, 0xe8, 0x41, 0x29, 0x0e, 0x21, 0x5d, 0x22, 0x35, 0x0f, 0x75, - 0x61, 0x61, 0x1d, 0xb4, 0x77, 0xdd, 0xf6, 0x80, 0xb9, 0x32, 0xa9, 0x9a, 0x2c, 0xe7, 0xf9, 0xf4, - 0x01, 0x42, 0x38, 0x6b, 0xed, 0xed, 0x6c, 0x68, 0xb0, 0xaa, 0xbf, 0x47, 0xc2, 0x7a, 0x37, 0xb3, - 0x1b, 0xf5, 0xee, 0x58, 0x52, 0xad, 0x0b, 0x11, 0x24, 0xe7, 0x9a, 0x83, 0xde, 0xb7, 0x09, 0x09, - 0xab, 0xcb, 0xd5, 0x28, 0x4e, 0xc1, 0x07, 0x61, 0x2c, 0xf1, 0xcb, 0x68, 0x98, 0x9d, 0x26, 0xd8, - 0x16, 0xcf, 0x0d, 0x1e, 0x42, 0x98, 0xbd, 0x22, 0x0f, 0x63, 0x5f, 0xe0, 0x61, 0x9c, 0x2f, 0x94, - 0xe9, 0x13, 0x4a, 0x1c, 0xc0, 0x57, 0xd1, 0xb8, 0x69, 0xe9, 0xf5, 0xb2, 0x6e, 0xea, 0x50, 0x8c, - 0x04, 0x77, 0xf7, 0x9f, 0xec, 0x1d, 0x11, 0x97, 0x25, 0x0a, 0x11, 0x4f, 0xc2, 0x47, 0x3d, 0x19, - 0x46, 0x14, 0xde, 0x9a, 0x8e, 0x50, 0x34, 0x7b, 0x7c, 0x1c, 0x0d, 0x33, 0x17, 0xf6, 0x4f, 0x06, - 0x85, 0x72, 0x81, 0xe9, 0xca, 0x3c, 0x1b, 0x74, 0xe5, 0xe3, 0xf8, 0x14, 0x42, 0x0e, 0xad, 0xd9, - 0xd4, 0xe5, 0x61, 0x87, 0x5f, 0x7e, 0x45, 0x01, 0xb8, 0x1a, 0x42, 0x88, 0x84, 0xa5, 0x7d, 0x23, - 0x8b, 0x72, 0x4f, 0x5a, 0x6b, 0x7b, 0x18, 0xe4, 0x9f, 0x55, 0x82, 0x7c, 0xbf, 0xfb, 0x1f, 0x74, - 0x4b, 0x0d, 0xf0, 0x9f, 0x8d, 0x05, 0xf8, 0xd3, 0x03, 0xf0, 0xee, 0x1d, 0xdc, 0x7f, 0x97, 0x43, - 0xe3, 0x80, 0x35, 0x6f, 0xb5, 0xea, 0x06, 0x2f, 0x85, 0x1e, 0x50, 0x2e, 0x09, 0xee, 0x8c, 0x5d, - 0x12, 0x4c, 0xc9, 0xb8, 0xd2, 0xf5, 0xc0, 0x95, 0x50, 0x51, 0x7f, 0x51, 0xce, 0xaa, 0xe2, 0x80, - 0xb2, 0xe7, 0xeb, 0x7b, 0x29, 0xe4, 0xa9, 0xaa, 0x07, 0xa7, 0x55, 0x5e, 0x43, 0x55, 0x6c, 0x6b, - 0xcd, 0x2f, 0xcc, 0x72, 0xfd, 0x17, 0x66, 0x87, 0x85, 0x2e, 0xbc, 0x38, 0x0b, 0x39, 0x11, 0x95, - 0x31, 0xbe, 0x86, 0x30, 0x1b, 0x58, 0x85, 0xc3, 0xb5, 0xe3, 0xcf, 0x8e, 0x89, 0x1b, 0xea, 0x5f, - 0x5c, 0x78, 0x6b, 0xb5, 0xdc, 0xc5, 0x8e, 0x24, 0x88, 0x60, 0xf7, 0x18, 0x36, 0xd5, 0x1d, 0xa8, - 0x5b, 0x87, 0xb9, 0xe9, 0xa2, 0xe3, 0x3e, 0x1f, 0x25, 0x02, 0x8a, 0xef, 0x43, 0xa3, 0x4d, 0xd8, - 0x27, 0xac, 0x3e, 0x1b, 0xe1, 0x88, 0xe1, 0xc9, 0x7b, 0xc5, 0x1f, 0x26, 0x01, 0x5c, 0xfb, 0x59, - 0x06, 0x8d, 0xc2, 0x42, 0xed, 0x47, 0xf2, 0x7b, 0x46, 0x4d, 0x7e, 0xa7, 0xfa, 0x77, 0xd0, 0x94, - 0xc4, 0xf7, 0x93, 0x1c, 0x9f, 0x03, 0x8f, 0xe1, 0x70, 0xe6, 0x69, 0xeb, 0xb6, 0x6e, 0x9a, 0xd4, - 0x34, 0x9c, 0xa6, 0x28, 0x1d, 0xf9, 0x99, 0xa7, 0x12, 0x0d, 0x13, 0x19, 0x87, 0x91, 0xd4, 0xac, - 0x66, 0xdb, 0xa4, 0xc1, 0x0b, 0x43, 0x48, 0x32, 0x1f, 0x0d, 0x13, 0x19, 0x07, 0x5f, 0x42, 0x87, - 0xf5, 0x9a, 0x6b, 0x6c, 0xd1, 0x05, 0xaa, 0xd7, 0x4d, 0xa3, 0x45, 0x83, 0xdb, 0xdc, 0x1c, 0x2f, - 0x21, 0x6f, 0x05, 0xe2, 0xc3, 0x73, 0x49, 0x08, 0x24, 0x99, 0x4e, 0xb9, 0x4e, 0x1f, 0xda, 0xc3, - 0xeb, 0xf4, 0x07, 0xd0, 0xb8, 0x0e, 0x27, 0xa3, 0x00, 0xc2, 0xfd, 0x28, 0x5f, 0x9e, 0x62, 0xa1, - 0x77, 0x4e, 0x1a, 0x27, 0x0a, 0x96, 0x72, 0x09, 0x3f, 0xb2, 0xdb, 0xcf, 0xa6, 0x3f, 0xcd, 0xa1, - 0x42, 0x18, 0x7c, 0xb0, 0x85, 0x50, 0x2d, 0xd8, 0xe0, 0xc1, 0xb5, 0xcf, 0x23, 0xfd, 0x7b, 0x4a, - 0x18, 0x24, 0xa2, 0x78, 0x1c, 0x0e, 0x39, 0x44, 0x12, 0x01, 0x11, 0xb9, 0x00, 0x01, 0xc4, 0x76, - 0x07, 0x3d, 0xcb, 0x4d, 0x00, 0xef, 0x42, 0x35, 0xe0, 0x40, 0x22, 0x66, 0xb8, 0x01, 0x87, 0xe2, - 0xd0, 0x67, 0x06, 0x8d, 0x48, 0xfe, 0xe1, 0x57, 0x61, 0x43, 0x62, 0x6c, 0x59, 0x58, 0xf0, 0xbd, - 0x4a, 0x1c, 0xf0, 0xc2, 0xb0, 0xe0, 0xbb, 0x20, 0x11, 0x50, 0x3c, 0x0b, 0x53, 0xf5, 0x6a, 0x35, - 0x4a, 0xeb, 0xb4, 0x2e, 0x0e, 0x6e, 0x07, 0x05, 0x6a, 0xa1, 0x1a, 0x00, 0x48, 0x84, 0xc3, 0x18, - 0xaf, 0xeb, 0x06, 0x7b, 0x09, 0x1e, 0x51, 0x19, 0x2f, 0xf1, 0x51, 0x22, 0xa0, 0xda, 0x3f, 0xb2, - 0x68, 0x42, 0xf1, 0x3f, 0xfc, 0xe5, 0x0c, 0xbb, 0x48, 0x70, 0x6b, 0x1b, 0x7c, 0x38, 0x58, 0xc8, - 0x95, 0x9d, 0xf8, 0x74, 0x69, 0x25, 0xe2, 0xe7, 0x3f, 0xd5, 0x49, 0xf7, 0x12, 0x21, 0x84, 0xc8, - 0x62, 0xf1, 0xeb, 0x50, 0xe0, 0xf2, 0xef, 0xc5, 0xed, 0x36, 0xab, 0x1c, 0xa4, 0x27, 0xc4, 0x73, - 0x3b, 0xd1, 0x85, 0xd0, 0x57, 0x3c, 0x38, 0x29, 0xf3, 0xfb, 0xe8, 0xb0, 0xd0, 0x5d, 0x89, 0x09, - 0x22, 0x5d, 0xa2, 0x67, 0xce, 0xa2, 0xa9, 0xf8, 0x2c, 0xfa, 0x7a, 0xb2, 0xfb, 0x4e, 0x06, 0x15, - 0xd3, 0x14, 0x61, 0xa7, 0xd8, 0x90, 0x51, 0x54, 0x1d, 0x3e, 0x45, 0x3b, 0x3e, 0xd7, 0x45, 0x94, - 0xb7, 0xda, 0xec, 0x16, 0x43, 0xbc, 0xd8, 0x15, 0xca, 0xf7, 0x05, 0xbb, 0xf2, 0x92, 0x18, 0x87, - 0xdc, 0x7b, 0x58, 0x61, 0x1f, 0x00, 0x48, 0x48, 0x8a, 0x35, 0x34, 0xc2, 0xf5, 0xf1, 0xab, 0xcc, - 0x42, 0x19, 0x31, 0x7f, 0xe0, 0xf5, 0x35, 0xa4, 0x62, 0x1f, 0xa2, 0x7d, 0x1f, 0x0a, 0x6b, 0x96, - 0x00, 0x82, 0x7b, 0xf1, 0x47, 0x58, 0x6a, 0x96, 0xd8, 0x0a, 0x1d, 0xa5, 0x6c, 0x2b, 0x4f, 0x49, - 0xc5, 0x65, 0xc4, 0xeb, 0x06, 0x35, 0xeb, 0x55, 0xf9, 0xb9, 0x51, 0x22, 0x5e, 0x92, 0x81, 0x44, - 0xc5, 0x65, 0x37, 0xfa, 0xd7, 0x98, 0xc1, 0xf9, 0xd6, 0x93, 0x6e, 0xf4, 0x9f, 0x61, 0x83, 0xc4, - 0x87, 0xb1, 0x9b, 0x92, 0xe0, 0x62, 0x4d, 0xb4, 0xd8, 0xf1, 0x8d, 0x54, 0x88, 0x6e, 0x4a, 0x88, - 0x0a, 0x26, 0x71, 0x7c, 0x7c, 0x06, 0x4d, 0xb2, 0x5e, 0x3f, 0xcb, 0x73, 0xe5, 0x77, 0xbd, 0x9c, - 0xbf, 0x7d, 0x57, 0x15, 0x08, 0x89, 0x61, 0xf2, 0xf6, 0x9e, 0x8b, 0xd4, 0xbd, 0x66, 0xd9, 0x9b, - 0x15, 0xcb, 0x34, 0x6a, 0x9d, 0x3d, 0xac, 0x3f, 0xd7, 0x94, 0xfa, 0xf3, 0x89, 0x3e, 0xf7, 0x80, - 0xa2, 0x65, 0x5a, 0x25, 0xaa, 0xfd, 0x1d, 0x9c, 0x54, 0xc1, 0x94, 0x0f, 0xa5, 0x14, 0x0d, 0xb3, - 0xa7, 0x96, 0x20, 0x22, 0xec, 0x48, 0x03, 0x76, 0x82, 0x97, 0xee, 0xf4, 0x19, 0x5b, 0xe2, 0x73, - 0x67, 0xf3, 0x5c, 0xb7, 0xad, 0xa6, 0xd8, 0xeb, 0x3b, 0x93, 0x42, 0xa9, 0x1d, 0xcd, 0x73, 0x09, - 0xb8, 0x12, 0xce, 0x5b, 0xfb, 0x43, 0x06, 0x1d, 0x54, 0x30, 0xf7, 0xa3, 0x88, 0xd2, 0xd5, 0x22, - 0xea, 0xd1, 0x9d, 0xcc, 0x2c, 0xa5, 0x9c, 0xfa, 0x6a, 0x36, 0x36, 0x2f, 0x66, 0x01, 0x48, 0xcc, - 0x63, 0x6d, 0xab, 0x5e, 0xdd, 0xcd, 0x2e, 0x2d, 0xbf, 0x2c, 0x8b, 0x98, 0x12, 0x59, 0x02, 0xfe, - 0x22, 0x98, 0x97, 0x75, 0x82, 0x38, 0x6d, 0xbd, 0x46, 0xab, 0xbb, 0xd9, 0x6b, 0x70, 0x98, 0x3d, - 0xb6, 0x5e, 0x8c, 0xb3, 0x26, 0xdd, 0xd2, 0xb4, 0x1f, 0xc7, 0x97, 0x98, 0x39, 0x19, 0x7e, 0x1a, - 0xe5, 0x79, 0x5b, 0x6e, 0xcd, 0x32, 0x45, 0x24, 0x7b, 0x90, 0xad, 0x56, 0x45, 0x8c, 0x41, 0x14, - 0xfd, 0x58, 0xcf, 0x13, 0x4c, 0x80, 0x48, 0x42, 0x36, 0x78, 0x19, 0x0d, 0xb5, 0x07, 0xbf, 0xe7, - 0xe2, 0x17, 0x1b, 0xfc, 0x72, 0x8b, 0x73, 0xd1, 0xfe, 0x1d, 0x57, 0x9b, 0x97, 0xc6, 0xce, 0xee, - 0xaf, 0x60, 0x98, 0x81, 0x53, 0x57, 0xd1, 0x46, 0xa3, 0xe2, 0xba, 0x67, 0xc0, 0xbc, 0x9b, 0x16, - 0x49, 0xa2, 0x33, 0x4d, 0x30, 0x18, 0x08, 0xe2, 0x1b, 0x93, 0x2b, 0x54, 0xf3, 0x6c, 0xc3, 0xed, - 0xec, 0x79, 0x50, 0x5d, 0x57, 0x82, 0xea, 0x42, 0x9f, 0x13, 0xec, 0xd2, 0x34, 0x35, 0xb0, 0xfe, - 0x39, 0x83, 0x0e, 0x77, 0x61, 0xef, 0x47, 0xd0, 0xa1, 0x6a, 0xd0, 0x79, 0x62, 0xa7, 0x33, 0x4c, - 0x09, 0x3c, 0xd7, 0x51, 0xc2, 0xfc, 0xb8, 0xeb, 0x9e, 0x42, 0xa8, 0x6d, 0x1b, 0x5b, 0x50, 0x6c, - 0x36, 0x44, 0xeb, 0x64, 0x3e, 0x5a, 0x93, 0x4a, 0x08, 0x21, 0x12, 0x16, 0xfe, 0x3c, 0x6b, 0x6b, - 0x5c, 0xd7, 0x3d, 0xd3, 0x9d, 0xab, 0xd7, 0xe7, 0xf5, 0xb6, 0xbe, 0x66, 0x98, 0x50, 0xf3, 0x8b, - 0x37, 0xf6, 0x42, 0x79, 0xd1, 0x6f, 0x69, 0x4c, 0xc2, 0x80, 0x1d, 0xfc, 0xf1, 0xde, 0x77, 0x10, - 0x01, 0x72, 0x87, 0xa4, 0x08, 0xc1, 0x5f, 0x82, 0x2c, 0x68, 0xfb, 0xd5, 0x59, 0x7d, 0xc1, 0xb6, - 0xda, 0x8a, 0x06, 0x7e, 0xe9, 0x74, 0x0e, 0x34, 0x28, 0x92, 0x14, 0x9c, 0x7e, 0x74, 0x48, 0x15, - 0x84, 0x5d, 0x74, 0x08, 0xce, 0xb9, 0xd6, 0x35, 0xaa, 0x5a, 0x60, 0x88, 0xcb, 0x2f, 0xb3, 0x4e, - 0x91, 0xb9, 0x6e, 0x70, 0x3f, 0xa2, 0x93, 0xd8, 0xc3, 0x41, 0x63, 0x74, 0xcb, 0x32, 0x3d, 0x88, - 0xa6, 0x50, 0x06, 0x31, 0x49, 0x2c, 0xe2, 0x8e, 0x5e, 0xf1, 0x87, 0x3e, 0x62, 0xe7, 0x87, 0x2a, - 0xbf, 0x10, 0x0a, 0xb0, 0xd8, 0x23, 0x01, 0xbb, 0xb5, 0x13, 0x7b, 0x9d, 0x9f, 0x36, 0xf2, 0x51, - 0x70, 0x39, 0x1f, 0x81, 0x88, 0x8c, 0x87, 0x9b, 0xa8, 0xb0, 0x21, 0x1e, 0x8c, 0x9c, 0xe2, 0xe8, - 0x40, 0x09, 0x51, 0x79, 0x70, 0x8a, 0x8e, 0x43, 0xc1, 0xb0, 0x43, 0x22, 0x09, 0xec, 0x5a, 0x85, - 0x7f, 0x5c, 0x58, 0xe0, 0x1d, 0x50, 0xf9, 0x28, 0x04, 0x9d, 0xf7, 0x87, 0x49, 0x00, 0x0f, 0x50, - 0x2f, 0x54, 0xe6, 0x8b, 0x85, 0x6e, 0x54, 0x18, 0x26, 0x01, 0x1c, 0xb7, 0xd1, 0xa8, 0x43, 0x97, - 0x8d, 0x96, 0xb7, 0x5d, 0x44, 0x7c, 0xeb, 0x2e, 0xf6, 0xfb, 0x2e, 0xbc, 0xc8, 0xa9, 0x63, 0xcd, - 0x28, 0x91, 0x44, 0x01, 0x27, 0x81, 0x18, 0xbc, 0x8d, 0x0a, 0xb6, 0xd7, 0x9a, 0x73, 0x2e, 0x3b, - 0xd4, 0x2e, 0x8e, 0x71, 0x99, 0xfd, 0x46, 0x65, 0x12, 0xd0, 0xc7, 0xa5, 0x86, 0x16, 0x0c, 0x31, - 0x48, 0x24, 0x0c, 0x7f, 0x33, 0x83, 0xb0, 0xe3, 0xb5, 0xe1, 0xf0, 0xca, 0x4e, 0x2c, 0xba, 0xc9, - 0xfb, 0x61, 0x9c, 0xe2, 0x38, 0xd7, 0xa1, 0xd2, 0xf7, 0x7b, 0x78, 0x9c, 0x51, 0x5c, 0x99, 0xf0, - 0x7e, 0xad, 0x1b, 0x95, 0x24, 0xe8, 0xc1, 0x96, 0x62, 0xdd, 0xe1, 0xff, 0x2f, 0x4e, 0x0c, 0xb4, - 0x14, 0xc9, 0x7d, 0x41, 0xd1, 0x52, 0x08, 0x38, 0x09, 0xc4, 0xb0, 0xde, 0x6b, 0x9b, 0xea, 0xf5, - 0x4b, 0x2d, 0xb3, 0x43, 0x2c, 0xcb, 0x5d, 0x82, 0xd8, 0xe5, 0x74, 0x1c, 0x88, 0x86, 0xc5, 0x49, - 0xee, 0x36, 0x61, 0xef, 0x35, 0x49, 0xc4, 0x22, 0x29, 0xd4, 0xbc, 0xf7, 0x5a, 0x3c, 0xe3, 0xee, - 0xed, 0x6f, 0x2c, 0x76, 0xd6, 0x7b, 0x1d, 0xa9, 0xb8, 0x67, 0xbd, 0xd7, 0x92, 0x88, 0x1b, 0xf7, - 0x5e, 0x47, 0xc8, 0xff, 0x03, 0xbd, 0xd7, 0x91, 0xb2, 0x29, 0xf9, 0xf4, 0x3f, 0xca, 0x8c, 0xfe, - 0x0f, 0x1b, 0x7c, 0xd9, 0x83, 0xce, 0x54, 0xdc, 0x01, 0x94, 0xde, 0xcf, 0xcc, 0x0d, 0x7b, 0x3f, - 0x2b, 0x68, 0x7a, 0xdd, 0x33, 0xcd, 0x0e, 0x9f, 0x8d, 0xd4, 0x4b, 0xe1, 0x5f, 0x13, 0xdf, 0x2e, - 0x28, 0xa7, 0x97, 0x12, 0x70, 0x48, 0x22, 0x65, 0x4a, 0x1f, 0x6b, 0x6e, 0xa0, 0x3e, 0xd6, 0x47, - 0xd0, 0x04, 0x8b, 0x00, 0x9d, 0x58, 0x8b, 0x47, 0x78, 0x39, 0x42, 0x64, 0x20, 0x51, 0x71, 0xb5, - 0xdb, 0xd1, 0x8c, 0xf8, 0x3f, 0xe3, 0x35, 0x6f, 0xb5, 0x5c, 0xd6, 0x47, 0x49, 0xed, 0x05, 0xaf, - 0xd9, 0xec, 0x68, 0x67, 0xc1, 0x79, 0x94, 0x8e, 0x5d, 0xdf, 0x70, 0x7e, 0x13, 0xb1, 0x68, 0xa5, - 0x90, 0x0c, 0xe7, 0x8f, 0x93, 0x10, 0x43, 0x7b, 0x3f, 0x83, 0x8e, 0xa6, 0xf4, 0x70, 0xe2, 0xab, - 0x68, 0xb2, 0xa9, 0x6f, 0x4b, 0x4d, 0xaa, 0x62, 0x7b, 0xf5, 0x7b, 0xf0, 0xe1, 0xd7, 0x2b, 0x2b, - 0x0a, 0x27, 0x12, 0xe3, 0xcc, 0x63, 0x9f, 0xbe, 0x5d, 0xf5, 0xec, 0x06, 0x1d, 0xf0, 0x78, 0xc5, - 0x5d, 0x77, 0x45, 0xf0, 0x20, 0x21, 0x37, 0xd6, 0x09, 0x5a, 0x4c, 0x4b, 0x84, 0x50, 0xd2, 0xc8, - 0xbd, 0xa0, 0x77, 0xc5, 0x7a, 0x41, 0x0f, 0x76, 0xd1, 0xed, 0x53, 0x27, 0xe8, 0x3b, 0x19, 0x74, - 0x24, 0xb9, 0x60, 0xc0, 0x9f, 0x52, 0x34, 0x3e, 0x1e, 0xd3, 0xf8, 0x40, 0x8c, 0x4a, 0xe8, 0xbb, - 0x81, 0x26, 0x45, 0x59, 0x21, 0xd8, 0xdc, 0xc4, 0x0f, 0x16, 0xb7, 0xc2, 0x9a, 0x25, 0x48, 0x90, - 0x7c, 0x1d, 0xd5, 0x31, 0x12, 0xe3, 0xab, 0x7d, 0x3b, 0x8b, 0x86, 0x79, 0x83, 0xd4, 0x1e, 0x66, - 0xb3, 0xe7, 0x94, 0x6c, 0xd6, 0xef, 0x13, 0x2a, 0xd7, 0x2e, 0x35, 0x91, 0xad, 0xc5, 0x12, 0xd9, - 0x99, 0x81, 0xb8, 0xf7, 0xce, 0x61, 0x0f, 0xa3, 0x42, 0xa8, 0x44, 0x7f, 0x71, 0x8e, 0x55, 0x0c, - 0x63, 0x92, 0x88, 0x3e, 0xa3, 0xe4, 0x96, 0x92, 0x2d, 0x06, 0xf9, 0x65, 0xad, 0x24, 0xbb, 0x14, - 0xa4, 0x09, 0xff, 0x9a, 0x3f, 0x6a, 0x71, 0xec, 0xce, 0x1e, 0x10, 0xa4, 0xfc, 0x9f, 0x27, 0x87, - 0xd7, 0x1a, 0x39, 0xee, 0xbd, 0x47, 0x04, 0xcd, 0xe4, 0xaa, 0x02, 0x25, 0x31, 0xec, 0x19, 0x88, - 0x9f, 0x8a, 0xb0, 0xbe, 0x6e, 0xe3, 0x7f, 0x91, 0x41, 0xd3, 0x49, 0x4d, 0x99, 0xac, 0xf3, 0x66, - 0xd3, 0x10, 0x5d, 0x24, 0x52, 0xe7, 0xcd, 0x53, 0x30, 0x46, 0x38, 0x24, 0xfc, 0xfd, 0x53, 0x36, - 0xf5, 0xf7, 0x4f, 0x70, 0xe4, 0x05, 0x53, 0x05, 0xf7, 0xd1, 0x39, 0xb5, 0x7f, 0x21, 0xfa, 0x31, - 0x38, 0x91, 0xb0, 0x78, 0xaf, 0x55, 0xa4, 0x8f, 0xb8, 0xc4, 0x8e, 0x9a, 0xa0, 0x24, 0x55, 0x65, - 0x3c, 0xed, 0x97, 0x19, 0x74, 0xd7, 0x0d, 0x8b, 0x69, 0x5c, 0x56, 0xc2, 0x43, 0x29, 0x16, 0x1e, - 0x8e, 0xa5, 0x33, 0xd8, 0xc7, 0x3e, 0xf7, 0x37, 0xb2, 0x08, 0xaf, 0x6e, 0x18, 0x76, 0xbd, 0xa2, - 0xdb, 0x70, 0x38, 0x15, 0x13, 0xdc, 0xc3, 0x80, 0x01, 0x16, 0xaf, 0x53, 0xa7, 0x66, 0x1b, 0xdc, - 0x48, 0x62, 0x39, 0x43, 0x8b, 0x2f, 0x44, 0x20, 0x22, 0xe3, 0x41, 0x51, 0x9b, 0x17, 0xb5, 0x62, - 0xd0, 0xac, 0xd3, 0x6f, 0xf1, 0x17, 0x79, 0x40, 0xb4, 0x3f, 0xc4, 0x00, 0xec, 0xcb, 0x80, 0xb9, - 0xf6, 0x26, 0x84, 0xfb, 0x6e, 0x83, 0x2c, 0xf8, 0xad, 0x28, 0x7b, 0x65, 0x94, 0xdb, 0xd1, 0x10, - 0xe7, 0xca, 0xac, 0x31, 0xee, 0x5f, 0x4e, 0x32, 0x89, 0x84, 0x8f, 0x6a, 0x1f, 0x66, 0xd0, 0x4c, - 0xb2, 0x4a, 0xfb, 0x51, 0x73, 0x5f, 0x55, 0x6b, 0xee, 0x7e, 0x0f, 0x78, 0xc9, 0x8a, 0xa7, 0xd4, - 0xdf, 0xef, 0x27, 0x1a, 0x7f, 0x3f, 0x66, 0xb9, 0xae, 0xce, 0x72, 0x6e, 0xc7, 0xb3, 0x4c, 0x9e, - 0x61, 0xf9, 0xbe, 0xeb, 0x7f, 0x3d, 0x76, 0xcb, 0xbb, 0xf0, 0xf7, 0x27, 0xf8, 0x7b, 0xed, 0x83, - 0x63, 0x99, 0xeb, 0xf0, 0xf7, 0x2e, 0xfc, 0xfd, 0x05, 0xfe, 0xde, 0xfc, 0xdb, 0xb1, 0x5b, 0x9e, - 0x1b, 0x15, 0x3c, 0xff, 0x1b, 0x00, 0x00, 0xff, 0xff, 0x58, 0xd8, 0xcd, 0xc3, 0x5b, 0x44, 0x00, - 0x00, + // 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, } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.proto similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.proto index d0c891c8db2..308329ba381 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.extensions.v1beta1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1beta1"; @@ -100,14 +100,14 @@ message DaemonSetSpec { // Selector is a label query over pods that are managed by the daemon set. // Must match in order to be controlled. // If empty, defaulted to labels on Pod template. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional 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 // that matches the template's node selector (or on every node if no node // selector is specified). - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 2; } @@ -127,6 +127,10 @@ message DaemonSetStatus { // pod (including nodes correctly running the daemon pod). // More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md optional int32 desiredNumberScheduled = 3; + + // NumberReady is the number of nodes that should be running the daemon pod and have one + // or more of the daemon pod running and ready. + optional int32 numberReady = 4; } // Deployment enables declarative updates for Pods and ReplicaSets. @@ -514,7 +518,7 @@ message JobSpec { // 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional int32 parallelism = 1; // Completions specifies the desired number of successfully finished pods the @@ -522,7 +526,7 @@ message JobSpec { // 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional int32 completions = 2; // Optional duration in seconds relative to the startTime that the job may be active @@ -531,7 +535,7 @@ message JobSpec { // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional LabelSelector selector = 4; // AutoSelector controls generation of pod labels and pod selectors. @@ -543,14 +547,14 @@ message JobSpec { // Template is the object that describes the pod that will be created when // executing a job. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 6; } // JobStatus represents the current state of a Job. message JobStatus { // Conditions represent the latest available observations of an object's current state. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs repeated JobCondition conditions = 1; // StartTime represents time when the job was acknowledged by the Job Manager. @@ -603,28 +607,6 @@ message LabelSelectorRequirement { repeated string values = 3; } -// ListOptions is the query options to a standard REST list call. -message ListOptions { - // A selector to restrict the list of returned objects by their labels. - // Defaults to everything. - optional string labelSelector = 1; - - // A selector to restrict the list of returned objects by their fields. - // Defaults to everything. - 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 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 string resourceVersion = 4; - - // Timeout for the list/watch call. - optional int64 timeoutSeconds = 5; -} - message NetworkPolicy { // Standard object's metadata. // More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata @@ -807,6 +789,27 @@ message ReplicaSet { optional ReplicaSetStatus status = 3; } +// ReplicaSetCondition describes the state of a replica set at a certain point. +message ReplicaSetCondition { + // Type of replica set condition. + optional string type = 1; + + // 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; + + // The reason for the condition's last transition. + optional string reason = 5; + + // A human readable message indicating details about the transition. + optional string message = 6; +} + // ReplicaSetList is a collection of ReplicaSets. message ReplicaSetList { // Standard list metadata. @@ -814,7 +817,7 @@ message ReplicaSetList { optional k8s.io.kubernetes.pkg.api.unversioned.ListMeta metadata = 1; // List of ReplicaSets. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md + // More info: http://kubernetes.io/docs/user-guide/replication-controller repeated ReplicaSet items = 2; } @@ -823,25 +826,30 @@ message ReplicaSetSpec { // Replicas is the number of desired replicas. // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller 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 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional LabelSelector selector = 2; // Template is the object that describes the pod that will be created if // insufficient replicas are detected. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template optional k8s.io.kubernetes.pkg.api.v1.PodTemplateSpec template = 3; } // ReplicaSetStatus represents the current status of a ReplicaSet. message ReplicaSetStatus { // Replicas is the most recently oberved number of replicas. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller optional int32 replicas = 1; // The number of pods that have labels matching the labels of the pod template of the replicaset. @@ -850,8 +858,14 @@ message ReplicaSetStatus { // The number of ready replicas for this replica set. optional int32 readyReplicas = 4; + // The number of available replicas (ready for at least minReadySeconds) for this replica set. + optional int32 availableReplicas = 5; + // ObservedGeneration reflects the generation of the most recently observed ReplicaSet. optional int64 observedGeneration = 3; + + // Represents the latest available observations of a replica set's current state. + repeated ReplicaSetCondition conditions = 6; } // Dummy definition @@ -933,7 +947,7 @@ message ScaleStatus { // actual number of observed instances of the scaled object. optional int32 replicas = 1; - // label query over pods that should match the replicas count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors map selector = 2; // label selector for pods that should match the replicas count. This is a serializated @@ -941,7 +955,7 @@ message ScaleStatus { // avoid introspection in the clients. The string will be in the same format as the // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors optional string targetSelector = 3; } @@ -950,7 +964,7 @@ message SubresourceReference { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds optional string kind = 1; - // Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names optional string name = 2; // API version of the referent diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/register.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/register.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/register.go index fb6bf0c5b6b..1f97e9cc53d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package @@ -54,7 +54,7 @@ func addKnownTypes(scheme *runtime.Scheme) error { &ThirdPartyResourceDataList{}, &Ingress{}, &IngressList{}, - &ListOptions{}, + &v1.ListOptions{}, &v1.DeleteOptions{}, &ReplicaSet{}, &ReplicaSetList{}, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.generated.go similarity index 72% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.generated.go index 05642626ed7..160a8b36f64 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.generated.go @@ -25,11 +25,11 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg4_resource "k8s.io/client-go/1.5/pkg/api/resource" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" - pkg5_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg4_resource "k8s.io/client-go/pkg/api/resource" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" + pkg5_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" @@ -7971,14 +7971,14 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { } else { yysep658 := !z.EncBinary() yy2arr658 := z.EncBasicHandle().StructToArray - var yyq658 [3]bool + var yyq658 [4]bool _, _, _ = yysep658, yyq658, yy2arr658 const yyr658 bool = false var yynn658 int if yyr658 || yy2arr658 { - r.EncodeArrayStart(3) + r.EncodeArrayStart(4) } else { - yynn658 = 3 + yynn658 = 4 for _, b := range yyq658 { if b { yynn658++ @@ -8044,6 +8044,25 @@ func (x *DaemonSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(int64(x.DesiredNumberScheduled)) } } + if yyr658 || yy2arr658 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym669 := z.EncBinary() + _ = yym669 + if false { + } else { + r.EncodeInt(int64(x.NumberReady)) + } + } else { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("numberReady")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym670 := z.EncBinary() + _ = yym670 + if false { + } else { + r.EncodeInt(int64(x.NumberReady)) + } + } if yyr658 || yy2arr658 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { @@ -8057,25 +8076,25 @@ func (x *DaemonSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym668 := z.DecBinary() - _ = yym668 + yym671 := z.DecBinary() + _ = yym671 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct669 := r.ContainerType() - if yyct669 == codecSelferValueTypeMap1234 { - yyl669 := r.ReadMapStart() - if yyl669 == 0 { + yyct672 := r.ContainerType() + if yyct672 == codecSelferValueTypeMap1234 { + yyl672 := r.ReadMapStart() + if yyl672 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl669, d) + x.codecDecodeSelfFromMap(yyl672, d) } - } else if yyct669 == codecSelferValueTypeArray1234 { - yyl669 := r.ReadArrayStart() - if yyl669 == 0 { + } else if yyct672 == codecSelferValueTypeArray1234 { + yyl672 := r.ReadArrayStart() + if yyl672 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl669, d) + x.codecDecodeSelfFromArray(yyl672, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8087,12 +8106,12 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys670Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys670Slc - var yyhl670 bool = l >= 0 - for yyj670 := 0; ; yyj670++ { - if yyhl670 { - if yyj670 >= l { + var yys673Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys673Slc + var yyhl673 bool = l >= 0 + for yyj673 := 0; ; yyj673++ { + if yyhl673 { + if yyj673 >= l { break } } else { @@ -8101,10 +8120,10 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys670Slc = r.DecodeBytes(yys670Slc, true, true) - yys670 := string(yys670Slc) + yys673Slc = r.DecodeBytes(yys673Slc, true, true) + yys673 := string(yys673Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys670 { + switch yys673 { case "currentNumberScheduled": if r.TryDecodeAsNil() { x.CurrentNumberScheduled = 0 @@ -8123,10 +8142,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } + case "numberReady": + if r.TryDecodeAsNil() { + x.NumberReady = 0 + } else { + x.NumberReady = int32(r.DecodeInt(32)) + } default: - z.DecStructFieldNotFound(-1, yys670) - } // end switch yys670 - } // end for yyj670 + z.DecStructFieldNotFound(-1, yys673) + } // end switch yys673 + } // end for yyj673 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8134,16 +8159,16 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj674 int - var yyb674 bool - var yyhl674 bool = l >= 0 - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + var yyj678 int + var yyb678 bool + var yyhl678 bool = l >= 0 + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb674 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb674 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8153,13 +8178,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.CurrentNumberScheduled = int32(r.DecodeInt(32)) } - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb674 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb674 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8169,13 +8194,13 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.NumberMisscheduled = int32(r.DecodeInt(32)) } - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb674 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb674 { + if yyb678 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8185,18 +8210,34 @@ func (x *DaemonSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.DesiredNumberScheduled = int32(r.DecodeInt(32)) } + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l + } else { + yyb678 = r.CheckBreak() + } + if yyb678 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.NumberReady = 0 + } else { + x.NumberReady = int32(r.DecodeInt(32)) + } for { - yyj674++ - if yyhl674 { - yyb674 = yyj674 > l + yyj678++ + if yyhl678 { + yyb678 = yyj678 > l } else { - yyb674 = r.CheckBreak() + yyb678 = r.CheckBreak() } - if yyb674 { + if yyb678 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj674-1, "") + z.DecStructFieldNotFound(yyj678-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8208,39 +8249,39 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym678 := z.EncBinary() - _ = yym678 + yym683 := z.EncBinary() + _ = yym683 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep679 := !z.EncBinary() - yy2arr679 := z.EncBasicHandle().StructToArray - var yyq679 [5]bool - _, _, _ = yysep679, yyq679, yy2arr679 - const yyr679 bool = false - yyq679[0] = x.Kind != "" - yyq679[1] = x.APIVersion != "" - yyq679[2] = true - yyq679[3] = true - yyq679[4] = true - var yynn679 int - if yyr679 || yy2arr679 { + 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 { r.EncodeArrayStart(5) } else { - yynn679 = 0 - for _, b := range yyq679 { + yynn684 = 0 + for _, b := range yyq684 { if b { - yynn679++ + yynn684++ } } - r.EncodeMapStart(yynn679) - yynn679 = 0 + r.EncodeMapStart(yynn684) + yynn684 = 0 } - if yyr679 || yy2arr679 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq679[0] { - yym681 := z.EncBinary() - _ = yym681 + if yyq684[0] { + yym686 := z.EncBinary() + _ = yym686 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8249,23 +8290,23 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq679[0] { + if yyq684[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym682 := z.EncBinary() - _ = yym682 + yym687 := z.EncBinary() + _ = yym687 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr679 || yy2arr679 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq679[1] { - yym684 := z.EncBinary() - _ = yym684 + if yyq684[1] { + yym689 := z.EncBinary() + _ = yym689 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8274,70 +8315,70 @@ func (x *DaemonSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq679[1] { + if yyq684[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym685 := z.EncBinary() - _ = yym685 + yym690 := z.EncBinary() + _ = yym690 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr679 || yy2arr679 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq679[2] { - yy687 := &x.ObjectMeta - yy687.CodecEncodeSelf(e) + if yyq684[2] { + yy692 := &x.ObjectMeta + yy692.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq679[2] { + if yyq684[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy688 := &x.ObjectMeta - yy688.CodecEncodeSelf(e) + yy693 := &x.ObjectMeta + yy693.CodecEncodeSelf(e) } } - if yyr679 || yy2arr679 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq679[3] { - yy690 := &x.Spec - yy690.CodecEncodeSelf(e) + if yyq684[3] { + yy695 := &x.Spec + yy695.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq679[3] { + if yyq684[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy691 := &x.Spec - yy691.CodecEncodeSelf(e) + yy696 := &x.Spec + yy696.CodecEncodeSelf(e) } } - if yyr679 || yy2arr679 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq679[4] { - yy693 := &x.Status - yy693.CodecEncodeSelf(e) + if yyq684[4] { + yy698 := &x.Status + yy698.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq679[4] { + if yyq684[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy694 := &x.Status - yy694.CodecEncodeSelf(e) + yy699 := &x.Status + yy699.CodecEncodeSelf(e) } } - if yyr679 || yy2arr679 { + if yyr684 || yy2arr684 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8350,25 +8391,25 @@ func (x *DaemonSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym695 := z.DecBinary() - _ = yym695 + yym700 := z.DecBinary() + _ = yym700 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct696 := r.ContainerType() - if yyct696 == codecSelferValueTypeMap1234 { - yyl696 := r.ReadMapStart() - if yyl696 == 0 { + yyct701 := r.ContainerType() + if yyct701 == codecSelferValueTypeMap1234 { + yyl701 := r.ReadMapStart() + if yyl701 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl696, d) + x.codecDecodeSelfFromMap(yyl701, d) } - } else if yyct696 == codecSelferValueTypeArray1234 { - yyl696 := r.ReadArrayStart() - if yyl696 == 0 { + } else if yyct701 == codecSelferValueTypeArray1234 { + yyl701 := r.ReadArrayStart() + if yyl701 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl696, d) + x.codecDecodeSelfFromArray(yyl701, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8380,12 +8421,12 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys697Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys697Slc - var yyhl697 bool = l >= 0 - for yyj697 := 0; ; yyj697++ { - if yyhl697 { - if yyj697 >= l { + var yys702Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys702Slc + var yyhl702 bool = l >= 0 + for yyj702 := 0; ; yyj702++ { + if yyhl702 { + if yyj702 >= l { break } } else { @@ -8394,10 +8435,10 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys697Slc = r.DecodeBytes(yys697Slc, true, true) - yys697 := string(yys697Slc) + yys702Slc = r.DecodeBytes(yys702Slc, true, true) + yys702 := string(yys702Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys697 { + switch yys702 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8414,27 +8455,27 @@ func (x *DaemonSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv700 := &x.ObjectMeta - yyv700.CodecDecodeSelf(d) + yyv705 := &x.ObjectMeta + yyv705.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv701 := &x.Spec - yyv701.CodecDecodeSelf(d) + yyv706 := &x.Spec + yyv706.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv702 := &x.Status - yyv702.CodecDecodeSelf(d) + yyv707 := &x.Status + yyv707.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys697) - } // end switch yys697 - } // end for yyj697 + z.DecStructFieldNotFound(-1, yys702) + } // end switch yys702 + } // end for yyj702 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8442,16 +8483,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj703 int - var yyb703 bool - var yyhl703 bool = l >= 0 - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + var yyj708 int + var yyb708 bool + var yyhl708 bool = l >= 0 + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb703 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb703 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8461,13 +8502,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb703 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb703 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8477,13 +8518,13 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb703 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb703 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8491,16 +8532,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv706 := &x.ObjectMeta - yyv706.CodecDecodeSelf(d) + yyv711 := &x.ObjectMeta + yyv711.CodecDecodeSelf(d) } - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb703 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb703 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8508,16 +8549,16 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = DaemonSetSpec{} } else { - yyv707 := &x.Spec - yyv707.CodecDecodeSelf(d) + yyv712 := &x.Spec + yyv712.CodecDecodeSelf(d) } - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb703 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb703 { + if yyb708 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8525,21 +8566,21 @@ func (x *DaemonSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = DaemonSetStatus{} } else { - yyv708 := &x.Status - yyv708.CodecDecodeSelf(d) + yyv713 := &x.Status + yyv713.CodecDecodeSelf(d) } for { - yyj703++ - if yyhl703 { - yyb703 = yyj703 > l + yyj708++ + if yyhl708 { + yyb708 = yyj708 > l } else { - yyb703 = r.CheckBreak() + yyb708 = r.CheckBreak() } - if yyb703 { + if yyb708 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj703-1, "") + z.DecStructFieldNotFound(yyj708-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8551,37 +8592,37 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym709 := z.EncBinary() - _ = yym709 + yym714 := z.EncBinary() + _ = yym714 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep710 := !z.EncBinary() - yy2arr710 := z.EncBasicHandle().StructToArray - var yyq710 [4]bool - _, _, _ = yysep710, yyq710, yy2arr710 - const yyr710 bool = false - yyq710[0] = x.Kind != "" - yyq710[1] = x.APIVersion != "" - yyq710[2] = true - var yynn710 int - if yyr710 || yy2arr710 { + 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 { r.EncodeArrayStart(4) } else { - yynn710 = 1 - for _, b := range yyq710 { + yynn715 = 1 + for _, b := range yyq715 { if b { - yynn710++ + yynn715++ } } - r.EncodeMapStart(yynn710) - yynn710 = 0 + r.EncodeMapStart(yynn715) + yynn715 = 0 } - if yyr710 || yy2arr710 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq710[0] { - yym712 := z.EncBinary() - _ = yym712 + if yyq715[0] { + yym717 := z.EncBinary() + _ = yym717 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8590,23 +8631,23 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq710[0] { + if yyq715[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym713 := z.EncBinary() - _ = yym713 + yym718 := z.EncBinary() + _ = yym718 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr710 || yy2arr710 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq710[1] { - yym715 := z.EncBinary() - _ = yym715 + if yyq715[1] { + yym720 := z.EncBinary() + _ = yym720 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8615,54 +8656,54 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq710[1] { + if yyq715[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym716 := z.EncBinary() - _ = yym716 + yym721 := z.EncBinary() + _ = yym721 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr710 || yy2arr710 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq710[2] { - yy718 := &x.ListMeta - yym719 := z.EncBinary() - _ = yym719 + if yyq715[2] { + yy723 := &x.ListMeta + yym724 := z.EncBinary() + _ = yym724 if false { - } else if z.HasExtensions() && z.EncExt(yy718) { + } else if z.HasExtensions() && z.EncExt(yy723) { } else { - z.EncFallback(yy718) + z.EncFallback(yy723) } } else { r.EncodeNil() } } else { - if yyq710[2] { + if yyq715[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy720 := &x.ListMeta - yym721 := z.EncBinary() - _ = yym721 + yy725 := &x.ListMeta + yym726 := z.EncBinary() + _ = yym726 if false { - } else if z.HasExtensions() && z.EncExt(yy720) { + } else if z.HasExtensions() && z.EncExt(yy725) { } else { - z.EncFallback(yy720) + z.EncFallback(yy725) } } } - if yyr710 || yy2arr710 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym723 := z.EncBinary() - _ = yym723 + yym728 := z.EncBinary() + _ = yym728 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) @@ -8675,15 +8716,15 @@ func (x *DaemonSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym724 := z.EncBinary() - _ = yym724 + yym729 := z.EncBinary() + _ = yym729 if false { } else { h.encSliceDaemonSet(([]DaemonSet)(x.Items), e) } } } - if yyr710 || yy2arr710 { + if yyr715 || yy2arr715 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -8696,25 +8737,25 @@ func (x *DaemonSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym725 := z.DecBinary() - _ = yym725 + yym730 := z.DecBinary() + _ = yym730 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct726 := r.ContainerType() - if yyct726 == codecSelferValueTypeMap1234 { - yyl726 := r.ReadMapStart() - if yyl726 == 0 { + yyct731 := r.ContainerType() + if yyct731 == codecSelferValueTypeMap1234 { + yyl731 := r.ReadMapStart() + if yyl731 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl726, d) + x.codecDecodeSelfFromMap(yyl731, d) } - } else if yyct726 == codecSelferValueTypeArray1234 { - yyl726 := r.ReadArrayStart() - if yyl726 == 0 { + } else if yyct731 == codecSelferValueTypeArray1234 { + yyl731 := r.ReadArrayStart() + if yyl731 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl726, d) + x.codecDecodeSelfFromArray(yyl731, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -8726,12 +8767,12 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys727Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys727Slc - var yyhl727 bool = l >= 0 - for yyj727 := 0; ; yyj727++ { - if yyhl727 { - if yyj727 >= l { + var yys732Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys732Slc + var yyhl732 bool = l >= 0 + for yyj732 := 0; ; yyj732++ { + if yyhl732 { + if yyj732 >= l { break } } else { @@ -8740,10 +8781,10 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys727Slc = r.DecodeBytes(yys727Slc, true, true) - yys727 := string(yys727Slc) + yys732Slc = r.DecodeBytes(yys732Slc, true, true) + yys732 := string(yys732Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys727 { + switch yys732 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -8760,31 +8801,31 @@ func (x *DaemonSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv730 := &x.ListMeta - yym731 := z.DecBinary() - _ = yym731 + yyv735 := &x.ListMeta + yym736 := z.DecBinary() + _ = yym736 if false { - } else if z.HasExtensions() && z.DecExt(yyv730) { + } else if z.HasExtensions() && z.DecExt(yyv735) { } else { - z.DecFallback(yyv730, false) + z.DecFallback(yyv735, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv732 := &x.Items - yym733 := z.DecBinary() - _ = yym733 + yyv737 := &x.Items + yym738 := z.DecBinary() + _ = yym738 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv732), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv737), d) } } default: - z.DecStructFieldNotFound(-1, yys727) - } // end switch yys727 - } // end for yyj727 + z.DecStructFieldNotFound(-1, yys732) + } // end switch yys732 + } // end for yyj732 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -8792,16 +8833,16 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj734 int - var yyb734 bool - var yyhl734 bool = l >= 0 - yyj734++ - if yyhl734 { - yyb734 = yyj734 > l + var yyj739 int + var yyb739 bool + var yyhl739 bool = l >= 0 + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb734 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb734 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8811,13 +8852,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj734++ - if yyhl734 { - yyb734 = yyj734 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb734 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb734 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8827,13 +8868,13 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj734++ - if yyhl734 { - yyb734 = yyj734 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb734 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb734 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8841,22 +8882,22 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv737 := &x.ListMeta - yym738 := z.DecBinary() - _ = yym738 + yyv742 := &x.ListMeta + yym743 := z.DecBinary() + _ = yym743 if false { - } else if z.HasExtensions() && z.DecExt(yyv737) { + } else if z.HasExtensions() && z.DecExt(yyv742) { } else { - z.DecFallback(yyv737, false) + z.DecFallback(yyv742, false) } } - yyj734++ - if yyhl734 { - yyb734 = yyj734 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb734 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb734 { + if yyb739 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -8864,26 +8905,26 @@ func (x *DaemonSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv739 := &x.Items - yym740 := z.DecBinary() - _ = yym740 + yyv744 := &x.Items + yym745 := z.DecBinary() + _ = yym745 if false { } else { - h.decSliceDaemonSet((*[]DaemonSet)(yyv739), d) + h.decSliceDaemonSet((*[]DaemonSet)(yyv744), d) } } for { - yyj734++ - if yyhl734 { - yyb734 = yyj734 > l + yyj739++ + if yyhl739 { + yyb739 = yyj739 > l } else { - yyb734 = r.CheckBreak() + yyb739 = r.CheckBreak() } - if yyb734 { + if yyb739 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj734-1, "") + z.DecStructFieldNotFound(yyj739-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -8895,37 +8936,37 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym741 := z.EncBinary() - _ = yym741 + yym746 := z.EncBinary() + _ = yym746 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep742 := !z.EncBinary() - yy2arr742 := z.EncBasicHandle().StructToArray - var yyq742 [4]bool - _, _, _ = yysep742, yyq742, yy2arr742 - const yyr742 bool = false - yyq742[0] = x.Kind != "" - yyq742[1] = x.APIVersion != "" - yyq742[2] = true - var yynn742 int - if yyr742 || yy2arr742 { + 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 { r.EncodeArrayStart(4) } else { - yynn742 = 1 - for _, b := range yyq742 { + yynn747 = 1 + for _, b := range yyq747 { if b { - yynn742++ + yynn747++ } } - r.EncodeMapStart(yynn742) - yynn742 = 0 + r.EncodeMapStart(yynn747) + yynn747 = 0 } - if yyr742 || yy2arr742 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq742[0] { - yym744 := z.EncBinary() - _ = yym744 + if yyq747[0] { + yym749 := z.EncBinary() + _ = yym749 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -8934,23 +8975,23 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq742[0] { + if yyq747[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym745 := z.EncBinary() - _ = yym745 + yym750 := z.EncBinary() + _ = yym750 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr742 || yy2arr742 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq742[1] { - yym747 := z.EncBinary() - _ = yym747 + if yyq747[1] { + yym752 := z.EncBinary() + _ = yym752 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -8959,54 +9000,54 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq742[1] { + if yyq747[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym748 := z.EncBinary() - _ = yym748 + yym753 := z.EncBinary() + _ = yym753 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr742 || yy2arr742 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq742[2] { - yy750 := &x.ListMeta - yym751 := z.EncBinary() - _ = yym751 + if yyq747[2] { + yy755 := &x.ListMeta + yym756 := z.EncBinary() + _ = yym756 if false { - } else if z.HasExtensions() && z.EncExt(yy750) { + } else if z.HasExtensions() && z.EncExt(yy755) { } else { - z.EncFallback(yy750) + z.EncFallback(yy755) } } else { r.EncodeNil() } } else { - if yyq742[2] { + if yyq747[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy752 := &x.ListMeta - yym753 := z.EncBinary() - _ = yym753 + yy757 := &x.ListMeta + yym758 := z.EncBinary() + _ = yym758 if false { - } else if z.HasExtensions() && z.EncExt(yy752) { + } else if z.HasExtensions() && z.EncExt(yy757) { } else { - z.EncFallback(yy752) + z.EncFallback(yy757) } } } - if yyr742 || yy2arr742 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym755 := z.EncBinary() - _ = yym755 + yym760 := z.EncBinary() + _ = yym760 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) @@ -9019,15 +9060,15 @@ func (x *ThirdPartyResourceDataList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym756 := z.EncBinary() - _ = yym756 + yym761 := z.EncBinary() + _ = yym761 if false { } else { h.encSliceThirdPartyResourceData(([]ThirdPartyResourceData)(x.Items), e) } } } - if yyr742 || yy2arr742 { + if yyr747 || yy2arr747 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9040,25 +9081,25 @@ func (x *ThirdPartyResourceDataList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym757 := z.DecBinary() - _ = yym757 + yym762 := z.DecBinary() + _ = yym762 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct758 := r.ContainerType() - if yyct758 == codecSelferValueTypeMap1234 { - yyl758 := r.ReadMapStart() - if yyl758 == 0 { + yyct763 := r.ContainerType() + if yyct763 == codecSelferValueTypeMap1234 { + yyl763 := r.ReadMapStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl758, d) + x.codecDecodeSelfFromMap(yyl763, d) } - } else if yyct758 == codecSelferValueTypeArray1234 { - yyl758 := r.ReadArrayStart() - if yyl758 == 0 { + } else if yyct763 == codecSelferValueTypeArray1234 { + yyl763 := r.ReadArrayStart() + if yyl763 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl758, d) + x.codecDecodeSelfFromArray(yyl763, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9070,12 +9111,12 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys759Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys759Slc - var yyhl759 bool = l >= 0 - for yyj759 := 0; ; yyj759++ { - if yyhl759 { - if yyj759 >= l { + var yys764Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys764Slc + var yyhl764 bool = l >= 0 + for yyj764 := 0; ; yyj764++ { + if yyhl764 { + if yyj764 >= l { break } } else { @@ -9084,10 +9125,10 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys759Slc = r.DecodeBytes(yys759Slc, true, true) - yys759 := string(yys759Slc) + yys764Slc = r.DecodeBytes(yys764Slc, true, true) + yys764 := string(yys764Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys759 { + switch yys764 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9104,31 +9145,31 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromMap(l int, d *codec1978. if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv762 := &x.ListMeta - yym763 := z.DecBinary() - _ = yym763 + yyv767 := &x.ListMeta + yym768 := z.DecBinary() + _ = yym768 if false { - } else if z.HasExtensions() && z.DecExt(yyv762) { + } else if z.HasExtensions() && z.DecExt(yyv767) { } else { - z.DecFallback(yyv762, false) + z.DecFallback(yyv767, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv764 := &x.Items - yym765 := z.DecBinary() - _ = yym765 + yyv769 := &x.Items + yym770 := z.DecBinary() + _ = yym770 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv764), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv769), d) } } default: - z.DecStructFieldNotFound(-1, yys759) - } // end switch yys759 - } // end for yyj759 + z.DecStructFieldNotFound(-1, yys764) + } // end switch yys764 + } // end for yyj764 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9136,16 +9177,16 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 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 + var yyj771 int + var yyb771 bool + var yyhl771 bool = l >= 0 + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb766 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb766 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9155,13 +9196,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.Kind = string(r.DecodeString()) } - yyj766++ - if yyhl766 { - yyb766 = yyj766 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb766 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb766 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9171,13 +9212,13 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 } else { x.APIVersion = string(r.DecodeString()) } - yyj766++ - if yyhl766 { - yyb766 = yyj766 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb766 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb766 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9185,22 +9226,22 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv769 := &x.ListMeta - yym770 := z.DecBinary() - _ = yym770 + yyv774 := &x.ListMeta + yym775 := z.DecBinary() + _ = yym775 if false { - } else if z.HasExtensions() && z.DecExt(yyv769) { + } else if z.HasExtensions() && z.DecExt(yyv774) { } else { - z.DecFallback(yyv769, false) + z.DecFallback(yyv774, false) } } - yyj766++ - if yyhl766 { - yyb766 = yyj766 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb766 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb766 { + if yyb771 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9208,26 +9249,26 @@ func (x *ThirdPartyResourceDataList) codecDecodeSelfFromArray(l int, d *codec197 if r.TryDecodeAsNil() { x.Items = nil } else { - yyv771 := &x.Items - yym772 := z.DecBinary() - _ = yym772 + yyv776 := &x.Items + yym777 := z.DecBinary() + _ = yym777 if false { } else { - h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv771), d) + h.decSliceThirdPartyResourceData((*[]ThirdPartyResourceData)(yyv776), d) } } for { - yyj766++ - if yyhl766 { - yyb766 = yyj766 > l + yyj771++ + if yyhl771 { + yyb771 = yyj771 > l } else { - yyb766 = r.CheckBreak() + yyb771 = r.CheckBreak() } - if yyb766 { + if yyb771 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj766-1, "") + z.DecStructFieldNotFound(yyj771-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9239,39 +9280,39 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym773 := z.EncBinary() - _ = yym773 + yym778 := z.EncBinary() + _ = yym778 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep774 := !z.EncBinary() - yy2arr774 := z.EncBasicHandle().StructToArray - var yyq774 [5]bool - _, _, _ = yysep774, yyq774, yy2arr774 - const yyr774 bool = false - yyq774[0] = x.Kind != "" - yyq774[1] = x.APIVersion != "" - yyq774[2] = true - yyq774[3] = true - yyq774[4] = true - var yynn774 int - if yyr774 || yy2arr774 { + 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 { r.EncodeArrayStart(5) } else { - yynn774 = 0 - for _, b := range yyq774 { + yynn779 = 0 + for _, b := range yyq779 { if b { - yynn774++ + yynn779++ } } - r.EncodeMapStart(yynn774) - yynn774 = 0 + r.EncodeMapStart(yynn779) + yynn779 = 0 } - if yyr774 || yy2arr774 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq774[0] { - yym776 := z.EncBinary() - _ = yym776 + if yyq779[0] { + yym781 := z.EncBinary() + _ = yym781 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9280,23 +9321,23 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq774[0] { + if yyq779[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym777 := z.EncBinary() - _ = yym777 + yym782 := z.EncBinary() + _ = yym782 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr774 || yy2arr774 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq774[1] { - yym779 := z.EncBinary() - _ = yym779 + if yyq779[1] { + yym784 := z.EncBinary() + _ = yym784 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9305,70 +9346,70 @@ func (x *Job) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq774[1] { + if yyq779[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym780 := z.EncBinary() - _ = yym780 + yym785 := z.EncBinary() + _ = yym785 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr774 || yy2arr774 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq774[2] { - yy782 := &x.ObjectMeta - yy782.CodecEncodeSelf(e) + if yyq779[2] { + yy787 := &x.ObjectMeta + yy787.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq774[2] { + if yyq779[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy783 := &x.ObjectMeta - yy783.CodecEncodeSelf(e) + yy788 := &x.ObjectMeta + yy788.CodecEncodeSelf(e) } } - if yyr774 || yy2arr774 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq774[3] { - yy785 := &x.Spec - yy785.CodecEncodeSelf(e) + if yyq779[3] { + yy790 := &x.Spec + yy790.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq774[3] { + if yyq779[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy786 := &x.Spec - yy786.CodecEncodeSelf(e) + yy791 := &x.Spec + yy791.CodecEncodeSelf(e) } } - if yyr774 || yy2arr774 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq774[4] { - yy788 := &x.Status - yy788.CodecEncodeSelf(e) + if yyq779[4] { + yy793 := &x.Status + yy793.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq774[4] { + if yyq779[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy789 := &x.Status - yy789.CodecEncodeSelf(e) + yy794 := &x.Status + yy794.CodecEncodeSelf(e) } } - if yyr774 || yy2arr774 { + if yyr779 || yy2arr779 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9381,25 +9422,25 @@ func (x *Job) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym790 := z.DecBinary() - _ = yym790 + yym795 := z.DecBinary() + _ = yym795 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct791 := r.ContainerType() - if yyct791 == codecSelferValueTypeMap1234 { - yyl791 := r.ReadMapStart() - if yyl791 == 0 { + yyct796 := r.ContainerType() + if yyct796 == codecSelferValueTypeMap1234 { + yyl796 := r.ReadMapStart() + if yyl796 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl791, d) + x.codecDecodeSelfFromMap(yyl796, d) } - } else if yyct791 == codecSelferValueTypeArray1234 { - yyl791 := r.ReadArrayStart() - if yyl791 == 0 { + } else if yyct796 == codecSelferValueTypeArray1234 { + yyl796 := r.ReadArrayStart() + if yyl796 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl791, d) + x.codecDecodeSelfFromArray(yyl796, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9411,12 +9452,12 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys792Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys792Slc - var yyhl792 bool = l >= 0 - for yyj792 := 0; ; yyj792++ { - if yyhl792 { - if yyj792 >= l { + var yys797Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys797Slc + var yyhl797 bool = l >= 0 + for yyj797 := 0; ; yyj797++ { + if yyhl797 { + if yyj797 >= l { break } } else { @@ -9425,10 +9466,10 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys792Slc = r.DecodeBytes(yys792Slc, true, true) - yys792 := string(yys792Slc) + yys797Slc = r.DecodeBytes(yys797Slc, true, true) + yys797 := string(yys797Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys792 { + switch yys797 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9445,27 +9486,27 @@ func (x *Job) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv795 := &x.ObjectMeta - yyv795.CodecDecodeSelf(d) + yyv800 := &x.ObjectMeta + yyv800.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv796 := &x.Spec - yyv796.CodecDecodeSelf(d) + yyv801 := &x.Spec + yyv801.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv797 := &x.Status - yyv797.CodecDecodeSelf(d) + yyv802 := &x.Status + yyv802.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys792) - } // end switch yys792 - } // end for yyj792 + z.DecStructFieldNotFound(-1, yys797) + } // end switch yys797 + } // end for yyj797 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9473,16 +9514,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj798 int - var yyb798 bool - var yyhl798 bool = l >= 0 - yyj798++ - if yyhl798 { - yyb798 = yyj798 > l + var yyj803 int + var yyb803 bool + var yyhl803 bool = l >= 0 + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb798 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb798 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9492,13 +9533,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj798++ - if yyhl798 { - yyb798 = yyj798 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb798 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb798 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9508,13 +9549,13 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj798++ - if yyhl798 { - yyb798 = yyj798 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb798 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb798 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9522,16 +9563,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv801 := &x.ObjectMeta - yyv801.CodecDecodeSelf(d) + yyv806 := &x.ObjectMeta + yyv806.CodecDecodeSelf(d) } - yyj798++ - if yyhl798 { - yyb798 = yyj798 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb798 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb798 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9539,16 +9580,16 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = JobSpec{} } else { - yyv802 := &x.Spec - yyv802.CodecDecodeSelf(d) + yyv807 := &x.Spec + yyv807.CodecDecodeSelf(d) } - yyj798++ - if yyhl798 { - yyb798 = yyj798 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb798 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb798 { + if yyb803 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9556,21 +9597,21 @@ func (x *Job) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = JobStatus{} } else { - yyv803 := &x.Status - yyv803.CodecDecodeSelf(d) + yyv808 := &x.Status + yyv808.CodecDecodeSelf(d) } for { - yyj798++ - if yyhl798 { - yyb798 = yyj798 > l + yyj803++ + if yyhl803 { + yyb803 = yyj803 > l } else { - yyb798 = r.CheckBreak() + yyb803 = r.CheckBreak() } - if yyb798 { + if yyb803 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj798-1, "") + z.DecStructFieldNotFound(yyj803-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9582,37 +9623,37 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym804 := z.EncBinary() - _ = yym804 + yym809 := z.EncBinary() + _ = yym809 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep805 := !z.EncBinary() - yy2arr805 := z.EncBasicHandle().StructToArray - var yyq805 [4]bool - _, _, _ = yysep805, yyq805, yy2arr805 - const yyr805 bool = false - yyq805[0] = x.Kind != "" - yyq805[1] = x.APIVersion != "" - yyq805[2] = true - var yynn805 int - if yyr805 || yy2arr805 { + 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 { r.EncodeArrayStart(4) } else { - yynn805 = 1 - for _, b := range yyq805 { + yynn810 = 1 + for _, b := range yyq810 { if b { - yynn805++ + yynn810++ } } - r.EncodeMapStart(yynn805) - yynn805 = 0 + r.EncodeMapStart(yynn810) + yynn810 = 0 } - if yyr805 || yy2arr805 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq805[0] { - yym807 := z.EncBinary() - _ = yym807 + if yyq810[0] { + yym812 := z.EncBinary() + _ = yym812 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -9621,23 +9662,23 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq805[0] { + if yyq810[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym808 := z.EncBinary() - _ = yym808 + yym813 := z.EncBinary() + _ = yym813 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr805 || yy2arr805 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq805[1] { - yym810 := z.EncBinary() - _ = yym810 + if yyq810[1] { + yym815 := z.EncBinary() + _ = yym815 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -9646,54 +9687,54 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq805[1] { + if yyq810[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym811 := z.EncBinary() - _ = yym811 + yym816 := z.EncBinary() + _ = yym816 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr805 || yy2arr805 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq805[2] { - yy813 := &x.ListMeta - yym814 := z.EncBinary() - _ = yym814 + if yyq810[2] { + yy818 := &x.ListMeta + yym819 := z.EncBinary() + _ = yym819 if false { - } else if z.HasExtensions() && z.EncExt(yy813) { + } else if z.HasExtensions() && z.EncExt(yy818) { } else { - z.EncFallback(yy813) + z.EncFallback(yy818) } } else { r.EncodeNil() } } else { - if yyq805[2] { + if yyq810[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy815 := &x.ListMeta - yym816 := z.EncBinary() - _ = yym816 + yy820 := &x.ListMeta + yym821 := z.EncBinary() + _ = yym821 if false { - } else if z.HasExtensions() && z.EncExt(yy815) { + } else if z.HasExtensions() && z.EncExt(yy820) { } else { - z.EncFallback(yy815) + z.EncFallback(yy820) } } } - if yyr805 || yy2arr805 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym818 := z.EncBinary() - _ = yym818 + yym823 := z.EncBinary() + _ = yym823 if false { } else { h.encSliceJob(([]Job)(x.Items), e) @@ -9706,15 +9747,15 @@ func (x *JobList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym819 := z.EncBinary() - _ = yym819 + yym824 := z.EncBinary() + _ = yym824 if false { } else { h.encSliceJob(([]Job)(x.Items), e) } } } - if yyr805 || yy2arr805 { + if yyr810 || yy2arr810 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -9727,25 +9768,25 @@ func (x *JobList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym820 := z.DecBinary() - _ = yym820 + yym825 := z.DecBinary() + _ = yym825 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct821 := r.ContainerType() - if yyct821 == codecSelferValueTypeMap1234 { - yyl821 := r.ReadMapStart() - if yyl821 == 0 { + yyct826 := r.ContainerType() + if yyct826 == codecSelferValueTypeMap1234 { + yyl826 := r.ReadMapStart() + if yyl826 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl821, d) + x.codecDecodeSelfFromMap(yyl826, d) } - } else if yyct821 == codecSelferValueTypeArray1234 { - yyl821 := r.ReadArrayStart() - if yyl821 == 0 { + } else if yyct826 == codecSelferValueTypeArray1234 { + yyl826 := r.ReadArrayStart() + if yyl826 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl821, d) + x.codecDecodeSelfFromArray(yyl826, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -9757,12 +9798,12 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys822Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys822Slc - var yyhl822 bool = l >= 0 - for yyj822 := 0; ; yyj822++ { - if yyhl822 { - if yyj822 >= l { + var yys827Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys827Slc + var yyhl827 bool = l >= 0 + for yyj827 := 0; ; yyj827++ { + if yyhl827 { + if yyj827 >= l { break } } else { @@ -9771,10 +9812,10 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys822Slc = r.DecodeBytes(yys822Slc, true, true) - yys822 := string(yys822Slc) + yys827Slc = r.DecodeBytes(yys827Slc, true, true) + yys827 := string(yys827Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys822 { + switch yys827 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -9791,31 +9832,31 @@ func (x *JobList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv825 := &x.ListMeta - yym826 := z.DecBinary() - _ = yym826 + yyv830 := &x.ListMeta + yym831 := z.DecBinary() + _ = yym831 if false { - } else if z.HasExtensions() && z.DecExt(yyv825) { + } else if z.HasExtensions() && z.DecExt(yyv830) { } else { - z.DecFallback(yyv825, false) + z.DecFallback(yyv830, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv827 := &x.Items - yym828 := z.DecBinary() - _ = yym828 + yyv832 := &x.Items + yym833 := z.DecBinary() + _ = yym833 if false { } else { - h.decSliceJob((*[]Job)(yyv827), d) + h.decSliceJob((*[]Job)(yyv832), d) } } default: - z.DecStructFieldNotFound(-1, yys822) - } // end switch yys822 - } // end for yyj822 + z.DecStructFieldNotFound(-1, yys827) + } // end switch yys827 + } // end for yyj827 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -9823,16 +9864,16 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj829 int - var yyb829 bool - var yyhl829 bool = l >= 0 - yyj829++ - if yyhl829 { - yyb829 = yyj829 > l + var yyj834 int + var yyb834 bool + var yyhl834 bool = l >= 0 + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb829 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb829 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9842,13 +9883,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj829++ - if yyhl829 { - yyb829 = yyj829 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb829 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb829 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9858,13 +9899,13 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj829++ - if yyhl829 { - yyb829 = yyj829 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb829 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb829 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9872,22 +9913,22 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv832 := &x.ListMeta - yym833 := z.DecBinary() - _ = yym833 + yyv837 := &x.ListMeta + yym838 := z.DecBinary() + _ = yym838 if false { - } else if z.HasExtensions() && z.DecExt(yyv832) { + } else if z.HasExtensions() && z.DecExt(yyv837) { } else { - z.DecFallback(yyv832, false) + z.DecFallback(yyv837, false) } } - yyj829++ - if yyhl829 { - yyb829 = yyj829 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb829 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb829 { + if yyb834 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -9895,26 +9936,26 @@ func (x *JobList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv834 := &x.Items - yym835 := z.DecBinary() - _ = yym835 + yyv839 := &x.Items + yym840 := z.DecBinary() + _ = yym840 if false { } else { - h.decSliceJob((*[]Job)(yyv834), d) + h.decSliceJob((*[]Job)(yyv839), d) } } for { - yyj829++ - if yyhl829 { - yyb829 = yyj829 > l + yyj834++ + if yyhl834 { + yyb834 = yyj834 > l } else { - yyb829 = r.CheckBreak() + yyb834 = r.CheckBreak() } - if yyb829 { + if yyb834 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj829-1, "") + z.DecStructFieldNotFound(yyj834-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -9926,76 +9967,41 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym836 := z.EncBinary() - _ = yym836 + yym841 := z.EncBinary() + _ = yym841 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep837 := !z.EncBinary() - yy2arr837 := z.EncBasicHandle().StructToArray - var yyq837 [6]bool - _, _, _ = yysep837, yyq837, yy2arr837 - const yyr837 bool = false - yyq837[0] = x.Parallelism != nil - yyq837[1] = x.Completions != nil - yyq837[2] = x.ActiveDeadlineSeconds != nil - yyq837[3] = x.Selector != nil - yyq837[4] = x.AutoSelector != nil - var yynn837 int - if yyr837 || yy2arr837 { + 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 { r.EncodeArrayStart(6) } else { - yynn837 = 1 - for _, b := range yyq837 { + yynn842 = 1 + for _, b := range yyq842 { if b { - yynn837++ + yynn842++ } } - r.EncodeMapStart(yynn837) - yynn837 = 0 + r.EncodeMapStart(yynn842) + yynn842 = 0 } - if yyr837 || yy2arr837 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq837[0] { + if yyq842[0] { if x.Parallelism == nil { r.EncodeNil() } else { - yy839 := *x.Parallelism - yym840 := z.EncBinary() - _ = yym840 - if false { - } else { - r.EncodeInt(int64(yy839)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq837[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("parallelism")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Parallelism == nil { - r.EncodeNil() - } else { - yy841 := *x.Parallelism - yym842 := z.EncBinary() - _ = yym842 - if false { - } else { - r.EncodeInt(int64(yy841)) - } - } - } - } - if yyr837 || yy2arr837 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq837[1] { - if x.Completions == nil { - r.EncodeNil() - } else { - yy844 := *x.Completions + yy844 := *x.Parallelism yym845 := z.EncBinary() _ = yym845 if false { @@ -10007,14 +10013,14 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq837[1] { + if yyq842[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("completions")) + r.EncodeString(codecSelferC_UTF81234, string("parallelism")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.Completions == nil { + if x.Parallelism == nil { r.EncodeNil() } else { - yy846 := *x.Completions + yy846 := *x.Parallelism yym847 := z.EncBinary() _ = yym847 if false { @@ -10024,13 +10030,13 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr837 || yy2arr837 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq837[2] { - if x.ActiveDeadlineSeconds == nil { + if yyq842[1] { + if x.Completions == nil { r.EncodeNil() } else { - yy849 := *x.ActiveDeadlineSeconds + yy849 := *x.Completions yym850 := z.EncBinary() _ = yym850 if false { @@ -10042,14 +10048,14 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq837[2] { + if yyq842[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("activeDeadlineSeconds")) + r.EncodeString(codecSelferC_UTF81234, string("completions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.ActiveDeadlineSeconds == nil { + if x.Completions == nil { r.EncodeNil() } else { - yy851 := *x.ActiveDeadlineSeconds + yy851 := *x.Completions yym852 := z.EncBinary() _ = yym852 if false { @@ -10059,9 +10065,44 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr837 || yy2arr837 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq837[3] { + if yyq842[2] { + if x.ActiveDeadlineSeconds == nil { + r.EncodeNil() + } else { + yy854 := *x.ActiveDeadlineSeconds + yym855 := z.EncBinary() + _ = yym855 + if false { + } else { + r.EncodeInt(int64(yy854)) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq842[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 + if false { + } else { + r.EncodeInt(int64(yy856)) + } + } + } + } + if yyr842 || yy2arr842 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq842[3] { if x.Selector == nil { r.EncodeNil() } else { @@ -10071,7 +10112,7 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq837[3] { + if yyq842[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -10082,53 +10123,53 @@ func (x *JobSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr837 || yy2arr837 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq837[4] { + if yyq842[4] { if x.AutoSelector == nil { r.EncodeNil() } else { - yy855 := *x.AutoSelector - yym856 := z.EncBinary() - _ = yym856 + yy860 := *x.AutoSelector + yym861 := z.EncBinary() + _ = yym861 if false { } else { - r.EncodeBool(bool(yy855)) + r.EncodeBool(bool(yy860)) } } } else { r.EncodeNil() } } else { - if yyq837[4] { + if yyq842[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("autoSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AutoSelector == nil { r.EncodeNil() } else { - yy857 := *x.AutoSelector - yym858 := z.EncBinary() - _ = yym858 + yy862 := *x.AutoSelector + yym863 := z.EncBinary() + _ = yym863 if false { } else { - r.EncodeBool(bool(yy857)) + r.EncodeBool(bool(yy862)) } } } } - if yyr837 || yy2arr837 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy860 := &x.Template - yy860.CodecEncodeSelf(e) + yy865 := &x.Template + yy865.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy861 := &x.Template - yy861.CodecEncodeSelf(e) + yy866 := &x.Template + yy866.CodecEncodeSelf(e) } - if yyr837 || yy2arr837 { + if yyr842 || yy2arr842 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10141,25 +10182,25 @@ func (x *JobSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym862 := z.DecBinary() - _ = yym862 + yym867 := z.DecBinary() + _ = yym867 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct863 := r.ContainerType() - if yyct863 == codecSelferValueTypeMap1234 { - yyl863 := r.ReadMapStart() - if yyl863 == 0 { + yyct868 := r.ContainerType() + if yyct868 == codecSelferValueTypeMap1234 { + yyl868 := r.ReadMapStart() + if yyl868 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl863, d) + x.codecDecodeSelfFromMap(yyl868, d) } - } else if yyct863 == codecSelferValueTypeArray1234 { - yyl863 := r.ReadArrayStart() - if yyl863 == 0 { + } else if yyct868 == codecSelferValueTypeArray1234 { + yyl868 := r.ReadArrayStart() + if yyl868 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl863, d) + x.codecDecodeSelfFromArray(yyl868, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10171,12 +10212,12 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys864Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys864Slc - var yyhl864 bool = l >= 0 - for yyj864 := 0; ; yyj864++ { - if yyhl864 { - if yyj864 >= l { + var yys869Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys869Slc + var yyhl869 bool = l >= 0 + for yyj869 := 0; ; yyj869++ { + if yyhl869 { + if yyj869 >= l { break } } else { @@ -10185,10 +10226,10 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys864Slc = r.DecodeBytes(yys864Slc, true, true) - yys864 := string(yys864Slc) + yys869Slc = r.DecodeBytes(yys869Slc, true, true) + yys869 := string(yys869Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys864 { + switch yys869 { case "parallelism": if r.TryDecodeAsNil() { if x.Parallelism != nil { @@ -10198,8 +10239,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym866 := z.DecBinary() - _ = yym866 + yym871 := z.DecBinary() + _ = yym871 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) @@ -10214,8 +10255,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym868 := z.DecBinary() - _ = yym868 + yym873 := z.DecBinary() + _ = yym873 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) @@ -10230,8 +10271,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym870 := z.DecBinary() - _ = yym870 + yym875 := z.DecBinary() + _ = yym875 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) @@ -10257,8 +10298,8 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym873 := z.DecBinary() - _ = yym873 + yym878 := z.DecBinary() + _ = yym878 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() @@ -10268,13 +10309,13 @@ func (x *JobSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv874 := &x.Template - yyv874.CodecDecodeSelf(d) + yyv879 := &x.Template + yyv879.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys864) - } // end switch yys864 - } // end for yyj864 + z.DecStructFieldNotFound(-1, yys869) + } // end switch yys869 + } // end for yyj869 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10282,16 +10323,16 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj875 int - var yyb875 bool - var yyhl875 bool = l >= 0 - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + var yyj880 int + var yyb880 bool + var yyhl880 bool = l >= 0 + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10304,20 +10345,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Parallelism == nil { x.Parallelism = new(int32) } - yym877 := z.DecBinary() - _ = yym877 + yym882 := z.DecBinary() + _ = yym882 if false { } else { *((*int32)(x.Parallelism)) = int32(r.DecodeInt(32)) } } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10330,20 +10371,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Completions == nil { x.Completions = new(int32) } - yym879 := z.DecBinary() - _ = yym879 + yym884 := z.DecBinary() + _ = yym884 if false { } else { *((*int32)(x.Completions)) = int32(r.DecodeInt(32)) } } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10356,20 +10397,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.ActiveDeadlineSeconds == nil { x.ActiveDeadlineSeconds = new(int64) } - yym881 := z.DecBinary() - _ = yym881 + yym886 := z.DecBinary() + _ = yym886 if false { } else { *((*int64)(x.ActiveDeadlineSeconds)) = int64(r.DecodeInt(64)) } } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10384,13 +10425,13 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10403,20 +10444,20 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.AutoSelector == nil { x.AutoSelector = new(bool) } - yym884 := z.DecBinary() - _ = yym884 + yym889 := z.DecBinary() + _ = yym889 if false { } else { *((*bool)(x.AutoSelector)) = r.DecodeBool() } } - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10424,21 +10465,21 @@ func (x *JobSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv885 := &x.Template - yyv885.CodecDecodeSelf(d) + yyv890 := &x.Template + yyv890.CodecDecodeSelf(d) } for { - yyj875++ - if yyhl875 { - yyb875 = yyj875 > l + yyj880++ + if yyhl880 { + yyb880 = yyj880 > l } else { - yyb875 = r.CheckBreak() + yyb880 = r.CheckBreak() } - if yyb875 { + if yyb880 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj875-1, "") + z.DecStructFieldNotFound(yyj880-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10450,43 +10491,43 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym886 := z.EncBinary() - _ = yym886 + yym891 := z.EncBinary() + _ = yym891 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep887 := !z.EncBinary() - yy2arr887 := z.EncBasicHandle().StructToArray - var yyq887 [6]bool - _, _, _ = yysep887, yyq887, yy2arr887 - const yyr887 bool = false - yyq887[0] = len(x.Conditions) != 0 - yyq887[1] = x.StartTime != nil - yyq887[2] = x.CompletionTime != nil - yyq887[3] = x.Active != 0 - yyq887[4] = x.Succeeded != 0 - yyq887[5] = x.Failed != 0 - var yynn887 int - if yyr887 || yy2arr887 { + 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 { r.EncodeArrayStart(6) } else { - yynn887 = 0 - for _, b := range yyq887 { + yynn892 = 0 + for _, b := range yyq892 { if b { - yynn887++ + yynn892++ } } - r.EncodeMapStart(yynn887) - yynn887 = 0 + r.EncodeMapStart(yynn892) + yynn892 = 0 } - if yyr887 || yy2arr887 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[0] { + if yyq892[0] { if x.Conditions == nil { r.EncodeNil() } else { - yym889 := z.EncBinary() - _ = yym889 + yym894 := z.EncBinary() + _ = yym894 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10496,15 +10537,15 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq887[0] { + if yyq892[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("conditions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Conditions == nil { r.EncodeNil() } else { - yym890 := z.EncBinary() - _ = yym890 + yym895 := z.EncBinary() + _ = yym895 if false { } else { h.encSliceJobCondition(([]JobCondition)(x.Conditions), e) @@ -10512,19 +10553,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr887 || yy2arr887 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[1] { + if yyq892[1] { if x.StartTime == nil { r.EncodeNil() } else { - yym892 := z.EncBinary() - _ = yym892 + yym897 := z.EncBinary() + _ = yym897 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym892 { + } else if yym897 { z.EncBinaryMarshal(x.StartTime) - } else if !yym892 && z.IsJSONHandle() { + } else if !yym897 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10534,20 +10575,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq887[1] { + if yyq892[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("startTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.StartTime == nil { r.EncodeNil() } else { - yym893 := z.EncBinary() - _ = yym893 + yym898 := z.EncBinary() + _ = yym898 if false { } else if z.HasExtensions() && z.EncExt(x.StartTime) { - } else if yym893 { + } else if yym898 { z.EncBinaryMarshal(x.StartTime) - } else if !yym893 && z.IsJSONHandle() { + } else if !yym898 && z.IsJSONHandle() { z.EncJSONMarshal(x.StartTime) } else { z.EncFallback(x.StartTime) @@ -10555,19 +10596,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr887 || yy2arr887 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[2] { + if yyq892[2] { if x.CompletionTime == nil { r.EncodeNil() } else { - yym895 := z.EncBinary() - _ = yym895 + yym900 := z.EncBinary() + _ = yym900 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym895 { + } else if yym900 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym895 && z.IsJSONHandle() { + } else if !yym900 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10577,20 +10618,20 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq887[2] { + if yyq892[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("completionTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.CompletionTime == nil { r.EncodeNil() } else { - yym896 := z.EncBinary() - _ = yym896 + yym901 := z.EncBinary() + _ = yym901 if false { } else if z.HasExtensions() && z.EncExt(x.CompletionTime) { - } else if yym896 { + } else if yym901 { z.EncBinaryMarshal(x.CompletionTime) - } else if !yym896 && z.IsJSONHandle() { + } else if !yym901 && z.IsJSONHandle() { z.EncJSONMarshal(x.CompletionTime) } else { z.EncFallback(x.CompletionTime) @@ -10598,11 +10639,11 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr887 || yy2arr887 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[3] { - yym898 := z.EncBinary() - _ = yym898 + if yyq892[3] { + yym903 := z.EncBinary() + _ = yym903 if false { } else { r.EncodeInt(int64(x.Active)) @@ -10611,49 +10652,49 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq887[3] { + if yyq892[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("active")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym899 := z.EncBinary() - _ = yym899 - if false { - } else { - r.EncodeInt(int64(x.Active)) - } - } - } - if yyr887 || yy2arr887 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[4] { - yym901 := z.EncBinary() - _ = yym901 - if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } else { - r.EncodeInt(0) - } - } else { - if yyq887[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("succeeded")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym902 := z.EncBinary() - _ = yym902 - if false { - } else { - r.EncodeInt(int64(x.Succeeded)) - } - } - } - if yyr887 || yy2arr887 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq887[5] { yym904 := z.EncBinary() _ = yym904 if false { + } else { + r.EncodeInt(int64(x.Active)) + } + } + } + if yyr892 || yy2arr892 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq892[4] { + yym906 := z.EncBinary() + _ = yym906 + if false { + } else { + r.EncodeInt(int64(x.Succeeded)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq892[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("succeeded")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym907 := z.EncBinary() + _ = yym907 + if false { + } else { + r.EncodeInt(int64(x.Succeeded)) + } + } + } + if yyr892 || yy2arr892 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq892[5] { + yym909 := z.EncBinary() + _ = yym909 + if false { } else { r.EncodeInt(int64(x.Failed)) } @@ -10661,19 +10702,19 @@ func (x *JobStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq887[5] { + if yyq892[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("failed")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym905 := z.EncBinary() - _ = yym905 + yym910 := z.EncBinary() + _ = yym910 if false { } else { r.EncodeInt(int64(x.Failed)) } } } - if yyr887 || yy2arr887 { + if yyr892 || yy2arr892 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -10686,25 +10727,25 @@ func (x *JobStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym906 := z.DecBinary() - _ = yym906 + yym911 := z.DecBinary() + _ = yym911 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct907 := r.ContainerType() - if yyct907 == codecSelferValueTypeMap1234 { - yyl907 := r.ReadMapStart() - if yyl907 == 0 { + yyct912 := r.ContainerType() + if yyct912 == codecSelferValueTypeMap1234 { + yyl912 := r.ReadMapStart() + if yyl912 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl907, d) + x.codecDecodeSelfFromMap(yyl912, d) } - } else if yyct907 == codecSelferValueTypeArray1234 { - yyl907 := r.ReadArrayStart() - if yyl907 == 0 { + } else if yyct912 == codecSelferValueTypeArray1234 { + yyl912 := r.ReadArrayStart() + if yyl912 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl907, d) + x.codecDecodeSelfFromArray(yyl912, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -10716,12 +10757,12 @@ func (x *JobStatus) 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 { + var yys913Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys913Slc + var yyhl913 bool = l >= 0 + for yyj913 := 0; ; yyj913++ { + if yyhl913 { + if yyj913 >= l { break } } else { @@ -10730,20 +10771,20 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys908Slc = r.DecodeBytes(yys908Slc, true, true) - yys908 := string(yys908Slc) + yys913Slc = r.DecodeBytes(yys913Slc, true, true) + yys913 := string(yys913Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys908 { + switch yys913 { case "conditions": if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv909 := &x.Conditions - yym910 := z.DecBinary() - _ = yym910 + yyv914 := &x.Conditions + yym915 := z.DecBinary() + _ = yym915 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv909), d) + h.decSliceJobCondition((*[]JobCondition)(yyv914), d) } } case "startTime": @@ -10755,13 +10796,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym912 := z.DecBinary() - _ = yym912 + yym917 := z.DecBinary() + _ = yym917 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym912 { + } else if yym917 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym912 && z.IsJSONHandle() { + } else if !yym917 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) @@ -10776,13 +10817,13 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym914 := z.DecBinary() - _ = yym914 + yym919 := z.DecBinary() + _ = yym919 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym914 { + } else if yym919 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym914 && z.IsJSONHandle() { + } else if !yym919 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) @@ -10807,9 +10848,9 @@ func (x *JobStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys908) - } // end switch yys908 - } // end for yyj908 + z.DecStructFieldNotFound(-1, yys913) + } // end switch yys913 + } // end for yyj913 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -10817,16 +10858,16 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj918 int - var yyb918 bool - var yyhl918 bool = l >= 0 - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + var yyj923 int + var yyb923 bool + var yyhl923 bool = l >= 0 + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10834,21 +10875,21 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Conditions = nil } else { - yyv919 := &x.Conditions - yym920 := z.DecBinary() - _ = yym920 + yyv924 := &x.Conditions + yym925 := z.DecBinary() + _ = yym925 if false { } else { - h.decSliceJobCondition((*[]JobCondition)(yyv919), d) + h.decSliceJobCondition((*[]JobCondition)(yyv924), d) } } - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10861,25 +10902,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.StartTime == nil { x.StartTime = new(pkg1_unversioned.Time) } - yym922 := z.DecBinary() - _ = yym922 + yym927 := z.DecBinary() + _ = yym927 if false { } else if z.HasExtensions() && z.DecExt(x.StartTime) { - } else if yym922 { + } else if yym927 { z.DecBinaryUnmarshal(x.StartTime) - } else if !yym922 && z.IsJSONHandle() { + } else if !yym927 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.StartTime) } else { z.DecFallback(x.StartTime, false) } } - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10892,25 +10933,25 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.CompletionTime == nil { x.CompletionTime = new(pkg1_unversioned.Time) } - yym924 := z.DecBinary() - _ = yym924 + yym929 := z.DecBinary() + _ = yym929 if false { } else if z.HasExtensions() && z.DecExt(x.CompletionTime) { - } else if yym924 { + } else if yym929 { z.DecBinaryUnmarshal(x.CompletionTime) - } else if !yym924 && z.IsJSONHandle() { + } else if !yym929 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.CompletionTime) } else { z.DecFallback(x.CompletionTime, false) } } - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10920,13 +10961,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Active = int32(r.DecodeInt(32)) } - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10936,13 +10977,13 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Succeeded = int32(r.DecodeInt(32)) } - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -10953,17 +10994,17 @@ func (x *JobStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Failed = int32(r.DecodeInt(32)) } for { - yyj918++ - if yyhl918 { - yyb918 = yyj918 > l + yyj923++ + if yyhl923 { + yyb923 = yyj923 > l } else { - yyb918 = r.CheckBreak() + yyb923 = r.CheckBreak() } - if yyb918 { + if yyb923 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj918-1, "") + z.DecStructFieldNotFound(yyj923-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -10972,8 +11013,8 @@ func (x JobConditionType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym928 := z.EncBinary() - _ = yym928 + yym933 := z.EncBinary() + _ = yym933 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -10985,8 +11026,8 @@ func (x *JobConditionType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym929 := z.DecBinary() - _ = yym929 + yym934 := z.DecBinary() + _ = yym934 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -11001,34 +11042,34 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym930 := z.EncBinary() - _ = yym930 + yym935 := z.EncBinary() + _ = yym935 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 { + 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 { r.EncodeArrayStart(6) } else { - yynn931 = 2 - for _, b := range yyq931 { + yynn936 = 2 + for _, b := range yyq936 { if b { - yynn931++ + yynn936++ } } - r.EncodeMapStart(yynn931) - yynn931 = 0 + r.EncodeMapStart(yynn936) + yynn936 = 0 } - if yyr931 || yy2arr931 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Type.CodecEncodeSelf(e) } else { @@ -11037,10 +11078,10 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Type.CodecEncodeSelf(e) } - if yyr931 || yy2arr931 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym934 := z.EncBinary() - _ = yym934 + yym939 := z.EncBinary() + _ = yym939 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { @@ -11050,55 +11091,18 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym935 := z.EncBinary() - _ = yym935 + yym940 := z.EncBinary() + _ = yym940 if false { } else if z.HasExtensions() && z.EncExt(x.Status) { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Status)) } } - if yyr931 || yy2arr931 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[2] { - yy937 := &x.LastProbeTime - yym938 := z.EncBinary() - _ = yym938 - if false { - } else if z.HasExtensions() && z.EncExt(yy937) { - } else if yym938 { - z.EncBinaryMarshal(yy937) - } else if !yym938 && z.IsJSONHandle() { - z.EncJSONMarshal(yy937) - } else { - z.EncFallback(yy937) - } - } 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 + if yyq936[2] { + yy942 := &x.LastProbeTime yym943 := z.EncBinary() _ = yym943 if false { @@ -11114,11 +11118,11 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq931[3] { + if yyq936[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + r.EncodeString(codecSelferC_UTF81234, string("lastProbeTime")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy944 := &x.LastTransitionTime + yy944 := &x.LastProbeTime yym945 := z.EncBinary() _ = yym945 if false { @@ -11132,36 +11136,73 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr931 || yy2arr931 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[4] { - yym947 := z.EncBinary() - _ = yym947 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq931[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("reason")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) + if yyq936[3] { + yy947 := &x.LastTransitionTime yym948 := z.EncBinary() _ = yym948 if false { + } else if z.HasExtensions() && z.EncExt(yy947) { + } else if yym948 { + z.EncBinaryMarshal(yy947) + } else if !yym948 && z.IsJSONHandle() { + z.EncJSONMarshal(yy947) + } else { + z.EncFallback(yy947) + } + } else { + r.EncodeNil() + } + } else { + if yyq936[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy949 := &x.LastTransitionTime + yym950 := z.EncBinary() + _ = yym950 + if false { + } else if z.HasExtensions() && z.EncExt(yy949) { + } else if yym950 { + z.EncBinaryMarshal(yy949) + } else if !yym950 && z.IsJSONHandle() { + z.EncJSONMarshal(yy949) + } else { + z.EncFallback(yy949) + } + } + } + if yyr936 || yy2arr936 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq936[4] { + yym952 := z.EncBinary() + _ = yym952 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq936[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym953 := z.EncBinary() + _ = yym953 + if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) } } } - if yyr931 || yy2arr931 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq931[5] { - yym950 := z.EncBinary() - _ = yym950 + if yyq936[5] { + yym955 := z.EncBinary() + _ = yym955 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) @@ -11170,19 +11211,19 @@ func (x *JobCondition) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq931[5] { + if yyq936[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("message")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym951 := z.EncBinary() - _ = yym951 + yym956 := z.EncBinary() + _ = yym956 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Message)) } } } - if yyr931 || yy2arr931 { + if yyr936 || yy2arr936 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11195,25 +11236,25 @@ func (x *JobCondition) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym952 := z.DecBinary() - _ = yym952 + yym957 := z.DecBinary() + _ = yym957 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct953 := r.ContainerType() - if yyct953 == codecSelferValueTypeMap1234 { - yyl953 := r.ReadMapStart() - if yyl953 == 0 { + yyct958 := r.ContainerType() + if yyct958 == codecSelferValueTypeMap1234 { + yyl958 := r.ReadMapStart() + if yyl958 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl953, d) + x.codecDecodeSelfFromMap(yyl958, d) } - } else if yyct953 == codecSelferValueTypeArray1234 { - yyl953 := r.ReadArrayStart() - if yyl953 == 0 { + } else if yyct958 == codecSelferValueTypeArray1234 { + yyl958 := r.ReadArrayStart() + if yyl958 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl953, d) + x.codecDecodeSelfFromArray(yyl958, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11225,12 +11266,12 @@ func (x *JobCondition) 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 yys959Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys959Slc + var yyhl959 bool = l >= 0 + for yyj959 := 0; ; yyj959++ { + if yyhl959 { + if yyj959 >= l { break } } else { @@ -11239,10 +11280,10 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys954Slc = r.DecodeBytes(yys954Slc, true, true) - yys954 := string(yys954Slc) + yys959Slc = r.DecodeBytes(yys959Slc, true, true) + yys959 := string(yys959Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys954 { + switch yys959 { case "type": if r.TryDecodeAsNil() { x.Type = "" @@ -11259,34 +11300,34 @@ func (x *JobCondition) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv957 := &x.LastProbeTime - yym958 := z.DecBinary() - _ = yym958 + yyv962 := &x.LastProbeTime + yym963 := z.DecBinary() + _ = yym963 if false { - } else if z.HasExtensions() && z.DecExt(yyv957) { - } else if yym958 { - z.DecBinaryUnmarshal(yyv957) - } else if !yym958 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv957) + } else if z.HasExtensions() && z.DecExt(yyv962) { + } else if yym963 { + z.DecBinaryUnmarshal(yyv962) + } else if !yym963 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv962) } else { - z.DecFallback(yyv957, false) + z.DecFallback(yyv962, false) } } case "lastTransitionTime": if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv959 := &x.LastTransitionTime - yym960 := z.DecBinary() - _ = yym960 + yyv964 := &x.LastTransitionTime + yym965 := z.DecBinary() + _ = yym965 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(yyv964) { + } else if yym965 { + z.DecBinaryUnmarshal(yyv964) + } else if !yym965 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv964) } else { - z.DecFallback(yyv959, false) + z.DecFallback(yyv964, false) } } case "reason": @@ -11302,9 +11343,9 @@ func (x *JobCondition) 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, yys959) + } // end switch yys959 + } // end for yyj959 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11312,16 +11353,16 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj968 int + var yyb968 bool + var yyhl968 bool = l >= 0 + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11331,13 +11372,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Type = JobConditionType(r.DecodeString()) } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11347,13 +11388,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11361,26 +11402,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastProbeTime = pkg1_unversioned.Time{} } else { - yyv966 := &x.LastProbeTime - yym967 := z.DecBinary() - _ = yym967 + yyv971 := &x.LastProbeTime + yym972 := z.DecBinary() + _ = yym972 if false { - } else if z.HasExtensions() && z.DecExt(yyv966) { - } else if yym967 { - z.DecBinaryUnmarshal(yyv966) - } else if !yym967 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv966) + } else if z.HasExtensions() && z.DecExt(yyv971) { + } else if yym972 { + z.DecBinaryUnmarshal(yyv971) + } else if !yym972 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv971) } else { - z.DecFallback(yyv966, false) + z.DecFallback(yyv971, false) } } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11388,26 +11429,26 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LastTransitionTime = pkg1_unversioned.Time{} } else { - yyv968 := &x.LastTransitionTime - yym969 := z.DecBinary() - _ = yym969 + yyv973 := &x.LastTransitionTime + yym974 := z.DecBinary() + _ = yym974 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(yyv973) { + } else if yym974 { + z.DecBinaryUnmarshal(yyv973) + } else if !yym974 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv973) } else { - z.DecFallback(yyv968, false) + z.DecFallback(yyv973, false) } } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11417,13 +11458,13 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Reason = string(r.DecodeString()) } - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11434,17 +11475,17 @@ func (x *JobCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Message = string(r.DecodeString()) } for { - yyj963++ - if yyhl963 { - yyb963 = yyj963 > l + yyj968++ + if yyhl968 { + yyb968 = yyj968 > l } else { - yyb963 = r.CheckBreak() + yyb968 = r.CheckBreak() } - if yyb963 { + if yyb968 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj963-1, "") + z.DecStructFieldNotFound(yyj968-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11456,39 +11497,39 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym972 := z.EncBinary() - _ = yym972 + yym977 := z.EncBinary() + _ = yym977 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep973 := !z.EncBinary() - yy2arr973 := z.EncBasicHandle().StructToArray - var yyq973 [5]bool - _, _, _ = yysep973, yyq973, yy2arr973 - const yyr973 bool = false - yyq973[0] = x.Kind != "" - yyq973[1] = x.APIVersion != "" - yyq973[2] = true - yyq973[3] = true - yyq973[4] = true - var yynn973 int - if yyr973 || yy2arr973 { + 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 { r.EncodeArrayStart(5) } else { - yynn973 = 0 - for _, b := range yyq973 { + yynn978 = 0 + for _, b := range yyq978 { if b { - yynn973++ + yynn978++ } } - r.EncodeMapStart(yynn973) - yynn973 = 0 + r.EncodeMapStart(yynn978) + yynn978 = 0 } - if yyr973 || yy2arr973 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[0] { - yym975 := z.EncBinary() - _ = yym975 + if yyq978[0] { + yym980 := z.EncBinary() + _ = yym980 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11497,23 +11538,23 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq973[0] { + if yyq978[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym976 := z.EncBinary() - _ = yym976 + yym981 := z.EncBinary() + _ = yym981 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr973 || yy2arr973 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[1] { - yym978 := z.EncBinary() - _ = yym978 + if yyq978[1] { + yym983 := z.EncBinary() + _ = yym983 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11522,70 +11563,70 @@ func (x *Ingress) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq973[1] { + if yyq978[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym979 := z.EncBinary() - _ = yym979 + yym984 := z.EncBinary() + _ = yym984 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr973 || yy2arr973 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[2] { - yy981 := &x.ObjectMeta - yy981.CodecEncodeSelf(e) + if yyq978[2] { + yy986 := &x.ObjectMeta + yy986.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq973[2] { + if yyq978[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy982 := &x.ObjectMeta - yy982.CodecEncodeSelf(e) + yy987 := &x.ObjectMeta + yy987.CodecEncodeSelf(e) } } - if yyr973 || yy2arr973 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[3] { - yy984 := &x.Spec - yy984.CodecEncodeSelf(e) + if yyq978[3] { + yy989 := &x.Spec + yy989.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq973[3] { + if yyq978[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy985 := &x.Spec - yy985.CodecEncodeSelf(e) + yy990 := &x.Spec + yy990.CodecEncodeSelf(e) } } - if yyr973 || yy2arr973 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq973[4] { - yy987 := &x.Status - yy987.CodecEncodeSelf(e) + if yyq978[4] { + yy992 := &x.Status + yy992.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq973[4] { + if yyq978[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy988 := &x.Status - yy988.CodecEncodeSelf(e) + yy993 := &x.Status + yy993.CodecEncodeSelf(e) } } - if yyr973 || yy2arr973 { + if yyr978 || yy2arr978 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11598,25 +11639,25 @@ func (x *Ingress) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym989 := z.DecBinary() - _ = yym989 + yym994 := z.DecBinary() + _ = yym994 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct990 := r.ContainerType() - if yyct990 == codecSelferValueTypeMap1234 { - yyl990 := r.ReadMapStart() - if yyl990 == 0 { + yyct995 := r.ContainerType() + if yyct995 == codecSelferValueTypeMap1234 { + yyl995 := r.ReadMapStart() + if yyl995 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl990, d) + x.codecDecodeSelfFromMap(yyl995, d) } - } else if yyct990 == codecSelferValueTypeArray1234 { - yyl990 := r.ReadArrayStart() - if yyl990 == 0 { + } else if yyct995 == codecSelferValueTypeArray1234 { + yyl995 := r.ReadArrayStart() + if yyl995 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl990, d) + x.codecDecodeSelfFromArray(yyl995, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11628,12 +11669,12 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys991Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys991Slc - var yyhl991 bool = l >= 0 - for yyj991 := 0; ; yyj991++ { - if yyhl991 { - if yyj991 >= l { + var yys996Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys996Slc + var yyhl996 bool = l >= 0 + for yyj996 := 0; ; yyj996++ { + if yyhl996 { + if yyj996 >= l { break } } else { @@ -11642,10 +11683,10 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys991Slc = r.DecodeBytes(yys991Slc, true, true) - yys991 := string(yys991Slc) + yys996Slc = r.DecodeBytes(yys996Slc, true, true) + yys996 := string(yys996Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys991 { + switch yys996 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -11662,27 +11703,27 @@ func (x *Ingress) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv994 := &x.ObjectMeta - yyv994.CodecDecodeSelf(d) + yyv999 := &x.ObjectMeta + yyv999.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv995 := &x.Spec - yyv995.CodecDecodeSelf(d) + yyv1000 := &x.Spec + yyv1000.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv996 := &x.Status - yyv996.CodecDecodeSelf(d) + yyv1001 := &x.Status + yyv1001.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys991) - } // end switch yys991 - } // end for yyj991 + z.DecStructFieldNotFound(-1, yys996) + } // end switch yys996 + } // end for yyj996 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -11690,16 +11731,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj997 int - var yyb997 bool - var yyhl997 bool = l >= 0 - yyj997++ - if yyhl997 { - yyb997 = yyj997 > l + var yyj1002 int + var yyb1002 bool + var yyhl1002 bool = l >= 0 + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb997 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb997 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11709,13 +11750,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj997++ - if yyhl997 { - yyb997 = yyj997 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb997 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb997 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11725,13 +11766,13 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj997++ - if yyhl997 { - yyb997 = yyj997 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb997 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb997 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11739,16 +11780,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1000 := &x.ObjectMeta - yyv1000.CodecDecodeSelf(d) + yyv1005 := &x.ObjectMeta + yyv1005.CodecDecodeSelf(d) } - yyj997++ - if yyhl997 { - yyb997 = yyj997 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb997 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb997 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11756,16 +11797,16 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = IngressSpec{} } else { - yyv1001 := &x.Spec - yyv1001.CodecDecodeSelf(d) + yyv1006 := &x.Spec + yyv1006.CodecDecodeSelf(d) } - yyj997++ - if yyhl997 { - yyb997 = yyj997 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb997 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb997 { + if yyb1002 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -11773,21 +11814,21 @@ func (x *Ingress) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = IngressStatus{} } else { - yyv1002 := &x.Status - yyv1002.CodecDecodeSelf(d) + yyv1007 := &x.Status + yyv1007.CodecDecodeSelf(d) } for { - yyj997++ - if yyhl997 { - yyb997 = yyj997 > l + yyj1002++ + if yyhl1002 { + yyb1002 = yyj1002 > l } else { - yyb997 = r.CheckBreak() + yyb1002 = r.CheckBreak() } - if yyb997 { + if yyb1002 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj997-1, "") + z.DecStructFieldNotFound(yyj1002-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -11799,37 +11840,37 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1003 := z.EncBinary() - _ = yym1003 + yym1008 := z.EncBinary() + _ = yym1008 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1004 := !z.EncBinary() - yy2arr1004 := z.EncBasicHandle().StructToArray - var yyq1004 [4]bool - _, _, _ = yysep1004, yyq1004, yy2arr1004 - const yyr1004 bool = false - yyq1004[0] = x.Kind != "" - yyq1004[1] = x.APIVersion != "" - yyq1004[2] = true - var yynn1004 int - if yyr1004 || yy2arr1004 { + 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 { r.EncodeArrayStart(4) } else { - yynn1004 = 1 - for _, b := range yyq1004 { + yynn1009 = 1 + for _, b := range yyq1009 { if b { - yynn1004++ + yynn1009++ } } - r.EncodeMapStart(yynn1004) - yynn1004 = 0 + r.EncodeMapStart(yynn1009) + yynn1009 = 0 } - if yyr1004 || yy2arr1004 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1004[0] { - yym1006 := z.EncBinary() - _ = yym1006 + if yyq1009[0] { + yym1011 := z.EncBinary() + _ = yym1011 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -11838,23 +11879,23 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1004[0] { + if yyq1009[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1007 := z.EncBinary() - _ = yym1007 + yym1012 := z.EncBinary() + _ = yym1012 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1004 || yy2arr1004 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1004[1] { - yym1009 := z.EncBinary() - _ = yym1009 + if yyq1009[1] { + yym1014 := z.EncBinary() + _ = yym1014 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -11863,54 +11904,54 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1004[1] { + if yyq1009[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1010 := z.EncBinary() - _ = yym1010 + yym1015 := z.EncBinary() + _ = yym1015 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1004 || yy2arr1004 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1004[2] { - yy1012 := &x.ListMeta - yym1013 := z.EncBinary() - _ = yym1013 + if yyq1009[2] { + yy1017 := &x.ListMeta + yym1018 := z.EncBinary() + _ = yym1018 if false { - } else if z.HasExtensions() && z.EncExt(yy1012) { + } else if z.HasExtensions() && z.EncExt(yy1017) { } else { - z.EncFallback(yy1012) + z.EncFallback(yy1017) } } else { r.EncodeNil() } } else { - if yyq1004[2] { + if yyq1009[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1014 := &x.ListMeta - yym1015 := z.EncBinary() - _ = yym1015 + yy1019 := &x.ListMeta + yym1020 := z.EncBinary() + _ = yym1020 if false { - } else if z.HasExtensions() && z.EncExt(yy1014) { + } else if z.HasExtensions() && z.EncExt(yy1019) { } else { - z.EncFallback(yy1014) + z.EncFallback(yy1019) } } } - if yyr1004 || yy2arr1004 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1017 := z.EncBinary() - _ = yym1017 + yym1022 := z.EncBinary() + _ = yym1022 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) @@ -11923,15 +11964,15 @@ func (x *IngressList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1018 := z.EncBinary() - _ = yym1018 + yym1023 := z.EncBinary() + _ = yym1023 if false { } else { h.encSliceIngress(([]Ingress)(x.Items), e) } } } - if yyr1004 || yy2arr1004 { + if yyr1009 || yy2arr1009 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -11944,25 +11985,25 @@ func (x *IngressList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1019 := z.DecBinary() - _ = yym1019 + yym1024 := z.DecBinary() + _ = yym1024 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1020 := r.ContainerType() - if yyct1020 == codecSelferValueTypeMap1234 { - yyl1020 := r.ReadMapStart() - if yyl1020 == 0 { + yyct1025 := r.ContainerType() + if yyct1025 == codecSelferValueTypeMap1234 { + yyl1025 := r.ReadMapStart() + if yyl1025 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1020, d) + x.codecDecodeSelfFromMap(yyl1025, d) } - } else if yyct1020 == codecSelferValueTypeArray1234 { - yyl1020 := r.ReadArrayStart() - if yyl1020 == 0 { + } else if yyct1025 == codecSelferValueTypeArray1234 { + yyl1025 := r.ReadArrayStart() + if yyl1025 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1020, d) + x.codecDecodeSelfFromArray(yyl1025, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -11974,12 +12015,12 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1021Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1021Slc - var yyhl1021 bool = l >= 0 - for yyj1021 := 0; ; yyj1021++ { - if yyhl1021 { - if yyj1021 >= l { + var yys1026Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1026Slc + var yyhl1026 bool = l >= 0 + for yyj1026 := 0; ; yyj1026++ { + if yyhl1026 { + if yyj1026 >= l { break } } else { @@ -11988,10 +12029,10 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1021Slc = r.DecodeBytes(yys1021Slc, true, true) - yys1021 := string(yys1021Slc) + yys1026Slc = r.DecodeBytes(yys1026Slc, true, true) + yys1026 := string(yys1026Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1021 { + switch yys1026 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -12008,31 +12049,31 @@ func (x *IngressList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1024 := &x.ListMeta - yym1025 := z.DecBinary() - _ = yym1025 + yyv1029 := &x.ListMeta + yym1030 := z.DecBinary() + _ = yym1030 if false { - } else if z.HasExtensions() && z.DecExt(yyv1024) { + } else if z.HasExtensions() && z.DecExt(yyv1029) { } else { - z.DecFallback(yyv1024, false) + z.DecFallback(yyv1029, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1026 := &x.Items - yym1027 := z.DecBinary() - _ = yym1027 + yyv1031 := &x.Items + yym1032 := z.DecBinary() + _ = yym1032 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1026), d) + h.decSliceIngress((*[]Ingress)(yyv1031), d) } } default: - z.DecStructFieldNotFound(-1, yys1021) - } // end switch yys1021 - } // end for yyj1021 + z.DecStructFieldNotFound(-1, yys1026) + } // end switch yys1026 + } // end for yyj1026 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12040,16 +12081,16 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1028 int - var yyb1028 bool - var yyhl1028 bool = l >= 0 - yyj1028++ - if yyhl1028 { - yyb1028 = yyj1028 > l + var yyj1033 int + var yyb1033 bool + var yyhl1033 bool = l >= 0 + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1028 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1028 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12059,13 +12100,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1028++ - if yyhl1028 { - yyb1028 = yyj1028 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1028 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1028 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12075,13 +12116,13 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1028++ - if yyhl1028 { - yyb1028 = yyj1028 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1028 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1028 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12089,22 +12130,22 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1031 := &x.ListMeta - yym1032 := z.DecBinary() - _ = yym1032 + yyv1036 := &x.ListMeta + yym1037 := z.DecBinary() + _ = yym1037 if false { - } else if z.HasExtensions() && z.DecExt(yyv1031) { + } else if z.HasExtensions() && z.DecExt(yyv1036) { } else { - z.DecFallback(yyv1031, false) + z.DecFallback(yyv1036, false) } } - yyj1028++ - if yyhl1028 { - yyb1028 = yyj1028 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1028 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1028 { + if yyb1033 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12112,26 +12153,26 @@ func (x *IngressList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1033 := &x.Items - yym1034 := z.DecBinary() - _ = yym1034 + yyv1038 := &x.Items + yym1039 := z.DecBinary() + _ = yym1039 if false { } else { - h.decSliceIngress((*[]Ingress)(yyv1033), d) + h.decSliceIngress((*[]Ingress)(yyv1038), d) } } for { - yyj1028++ - if yyhl1028 { - yyb1028 = yyj1028 > l + yyj1033++ + if yyhl1033 { + yyb1033 = yyj1033 > l } else { - yyb1028 = r.CheckBreak() + yyb1033 = r.CheckBreak() } - if yyb1028 { + if yyb1033 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1028-1, "") + z.DecStructFieldNotFound(yyj1033-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12143,35 +12184,35 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1035 := z.EncBinary() - _ = yym1035 + yym1040 := z.EncBinary() + _ = yym1040 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1036 := !z.EncBinary() - yy2arr1036 := z.EncBasicHandle().StructToArray - var yyq1036 [3]bool - _, _, _ = yysep1036, yyq1036, yy2arr1036 - const yyr1036 bool = false - yyq1036[0] = x.Backend != nil - yyq1036[1] = len(x.TLS) != 0 - yyq1036[2] = len(x.Rules) != 0 - var yynn1036 int - if yyr1036 || yy2arr1036 { + 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 { r.EncodeArrayStart(3) } else { - yynn1036 = 0 - for _, b := range yyq1036 { + yynn1041 = 0 + for _, b := range yyq1041 { if b { - yynn1036++ + yynn1041++ } } - r.EncodeMapStart(yynn1036) - yynn1036 = 0 + r.EncodeMapStart(yynn1041) + yynn1041 = 0 } - if yyr1036 || yy2arr1036 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1036[0] { + if yyq1041[0] { if x.Backend == nil { r.EncodeNil() } else { @@ -12181,7 +12222,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1036[0] { + if yyq1041[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -12192,14 +12233,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1036 || yy2arr1036 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1036[1] { + if yyq1041[1] { if x.TLS == nil { r.EncodeNil() } else { - yym1039 := z.EncBinary() - _ = yym1039 + yym1044 := z.EncBinary() + _ = yym1044 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12209,15 +12250,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1036[1] { + if yyq1041[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("tls")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.TLS == nil { r.EncodeNil() } else { - yym1040 := z.EncBinary() - _ = yym1040 + yym1045 := z.EncBinary() + _ = yym1045 if false { } else { h.encSliceIngressTLS(([]IngressTLS)(x.TLS), e) @@ -12225,14 +12266,14 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1036 || yy2arr1036 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1036[2] { + if yyq1041[2] { if x.Rules == nil { r.EncodeNil() } else { - yym1042 := z.EncBinary() - _ = yym1042 + yym1047 := z.EncBinary() + _ = yym1047 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12242,15 +12283,15 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1036[2] { + if yyq1041[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rules")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Rules == nil { r.EncodeNil() } else { - yym1043 := z.EncBinary() - _ = yym1043 + yym1048 := z.EncBinary() + _ = yym1048 if false { } else { h.encSliceIngressRule(([]IngressRule)(x.Rules), e) @@ -12258,7 +12299,7 @@ func (x *IngressSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1036 || yy2arr1036 { + if yyr1041 || yy2arr1041 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12271,25 +12312,25 @@ func (x *IngressSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1044 := z.DecBinary() - _ = yym1044 + yym1049 := z.DecBinary() + _ = yym1049 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1045 := r.ContainerType() - if yyct1045 == codecSelferValueTypeMap1234 { - yyl1045 := r.ReadMapStart() - if yyl1045 == 0 { + yyct1050 := r.ContainerType() + if yyct1050 == codecSelferValueTypeMap1234 { + yyl1050 := r.ReadMapStart() + if yyl1050 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1045, d) + x.codecDecodeSelfFromMap(yyl1050, d) } - } else if yyct1045 == codecSelferValueTypeArray1234 { - yyl1045 := r.ReadArrayStart() - if yyl1045 == 0 { + } else if yyct1050 == codecSelferValueTypeArray1234 { + yyl1050 := r.ReadArrayStart() + if yyl1050 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1045, d) + x.codecDecodeSelfFromArray(yyl1050, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12301,12 +12342,12 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1046Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1046Slc - var yyhl1046 bool = l >= 0 - for yyj1046 := 0; ; yyj1046++ { - if yyhl1046 { - if yyj1046 >= l { + var yys1051Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1051Slc + var yyhl1051 bool = l >= 0 + for yyj1051 := 0; ; yyj1051++ { + if yyhl1051 { + if yyj1051 >= l { break } } else { @@ -12315,10 +12356,10 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1046Slc = r.DecodeBytes(yys1046Slc, true, true) - yys1046 := string(yys1046Slc) + yys1051Slc = r.DecodeBytes(yys1051Slc, true, true) + yys1051 := string(yys1051Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1046 { + switch yys1051 { case "backend": if r.TryDecodeAsNil() { if x.Backend != nil { @@ -12334,30 +12375,30 @@ func (x *IngressSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1048 := &x.TLS - yym1049 := z.DecBinary() - _ = yym1049 + yyv1053 := &x.TLS + yym1054 := z.DecBinary() + _ = yym1054 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1048), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1053), d) } } case "rules": if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1050 := &x.Rules - yym1051 := z.DecBinary() - _ = yym1051 + yyv1055 := &x.Rules + yym1056 := z.DecBinary() + _ = yym1056 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1050), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1055), d) } } default: - z.DecStructFieldNotFound(-1, yys1046) - } // end switch yys1046 - } // end for yyj1046 + z.DecStructFieldNotFound(-1, yys1051) + } // end switch yys1051 + } // end for yyj1051 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12365,16 +12406,16 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1052 int - var yyb1052 bool - var yyhl1052 bool = l >= 0 - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + var yyj1057 int + var yyb1057 bool + var yyhl1057 bool = l >= 0 + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1052 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1052 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12389,13 +12430,13 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Backend.CodecDecodeSelf(d) } - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1052 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1052 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12403,21 +12444,21 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.TLS = nil } else { - yyv1054 := &x.TLS - yym1055 := z.DecBinary() - _ = yym1055 + yyv1059 := &x.TLS + yym1060 := z.DecBinary() + _ = yym1060 if false { } else { - h.decSliceIngressTLS((*[]IngressTLS)(yyv1054), d) + h.decSliceIngressTLS((*[]IngressTLS)(yyv1059), d) } } - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1052 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1052 { + if yyb1057 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12425,26 +12466,26 @@ func (x *IngressSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Rules = nil } else { - yyv1056 := &x.Rules - yym1057 := z.DecBinary() - _ = yym1057 + yyv1061 := &x.Rules + yym1062 := z.DecBinary() + _ = yym1062 if false { } else { - h.decSliceIngressRule((*[]IngressRule)(yyv1056), d) + h.decSliceIngressRule((*[]IngressRule)(yyv1061), d) } } for { - yyj1052++ - if yyhl1052 { - yyb1052 = yyj1052 > l + yyj1057++ + if yyhl1057 { + yyb1057 = yyj1057 > l } else { - yyb1052 = r.CheckBreak() + yyb1057 = r.CheckBreak() } - if yyb1052 { + if yyb1057 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1052-1, "") + z.DecStructFieldNotFound(yyj1057-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12456,39 +12497,39 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1058 := z.EncBinary() - _ = yym1058 + yym1063 := z.EncBinary() + _ = yym1063 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1059 := !z.EncBinary() - yy2arr1059 := z.EncBasicHandle().StructToArray - var yyq1059 [2]bool - _, _, _ = yysep1059, yyq1059, yy2arr1059 - const yyr1059 bool = false - yyq1059[0] = len(x.Hosts) != 0 - yyq1059[1] = x.SecretName != "" - var yynn1059 int - if yyr1059 || yy2arr1059 { + 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 { r.EncodeArrayStart(2) } else { - yynn1059 = 0 - for _, b := range yyq1059 { + yynn1064 = 0 + for _, b := range yyq1064 { if b { - yynn1059++ + yynn1064++ } } - r.EncodeMapStart(yynn1059) - yynn1059 = 0 + r.EncodeMapStart(yynn1064) + yynn1064 = 0 } - if yyr1059 || yy2arr1059 { + if yyr1064 || yy2arr1064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1059[0] { + if yyq1064[0] { if x.Hosts == nil { r.EncodeNil() } else { - yym1061 := z.EncBinary() - _ = yym1061 + yym1066 := z.EncBinary() + _ = yym1066 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12498,15 +12539,15 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1059[0] { + if yyq1064[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hosts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Hosts == nil { r.EncodeNil() } else { - yym1062 := z.EncBinary() - _ = yym1062 + yym1067 := z.EncBinary() + _ = yym1067 if false { } else { z.F.EncSliceStringV(x.Hosts, false, e) @@ -12514,11 +12555,11 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1059 || yy2arr1059 { + if yyr1064 || yy2arr1064 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1059[1] { - yym1064 := z.EncBinary() - _ = yym1064 + if yyq1064[1] { + yym1069 := z.EncBinary() + _ = yym1069 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) @@ -12527,19 +12568,19 @@ func (x *IngressTLS) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1059[1] { + if yyq1064[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("secretName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1065 := z.EncBinary() - _ = yym1065 + yym1070 := z.EncBinary() + _ = yym1070 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.SecretName)) } } } - if yyr1059 || yy2arr1059 { + if yyr1064 || yy2arr1064 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12552,25 +12593,25 @@ func (x *IngressTLS) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1066 := z.DecBinary() - _ = yym1066 + yym1071 := z.DecBinary() + _ = yym1071 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1067 := r.ContainerType() - if yyct1067 == codecSelferValueTypeMap1234 { - yyl1067 := r.ReadMapStart() - if yyl1067 == 0 { + yyct1072 := r.ContainerType() + if yyct1072 == codecSelferValueTypeMap1234 { + yyl1072 := r.ReadMapStart() + if yyl1072 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1067, d) + x.codecDecodeSelfFromMap(yyl1072, d) } - } else if yyct1067 == codecSelferValueTypeArray1234 { - yyl1067 := r.ReadArrayStart() - if yyl1067 == 0 { + } else if yyct1072 == codecSelferValueTypeArray1234 { + yyl1072 := r.ReadArrayStart() + if yyl1072 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1067, d) + x.codecDecodeSelfFromArray(yyl1072, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12582,12 +12623,12 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1068Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1068Slc - var yyhl1068 bool = l >= 0 - for yyj1068 := 0; ; yyj1068++ { - if yyhl1068 { - if yyj1068 >= l { + var yys1073Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1073Slc + var yyhl1073 bool = l >= 0 + for yyj1073 := 0; ; yyj1073++ { + if yyhl1073 { + if yyj1073 >= l { break } } else { @@ -12596,20 +12637,20 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1068Slc = r.DecodeBytes(yys1068Slc, true, true) - yys1068 := string(yys1068Slc) + yys1073Slc = r.DecodeBytes(yys1073Slc, true, true) + yys1073 := string(yys1073Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1068 { + switch yys1073 { case "hosts": if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1069 := &x.Hosts - yym1070 := z.DecBinary() - _ = yym1070 + yyv1074 := &x.Hosts + yym1075 := z.DecBinary() + _ = yym1075 if false { } else { - z.F.DecSliceStringX(yyv1069, false, d) + z.F.DecSliceStringX(yyv1074, false, d) } } case "secretName": @@ -12619,9 +12660,9 @@ func (x *IngressTLS) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } default: - z.DecStructFieldNotFound(-1, yys1068) - } // end switch yys1068 - } // end for yyj1068 + z.DecStructFieldNotFound(-1, yys1073) + } // end switch yys1073 + } // end for yyj1073 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12629,16 +12670,16 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1072 int - var yyb1072 bool - var yyhl1072 bool = l >= 0 - yyj1072++ - if yyhl1072 { - yyb1072 = yyj1072 > l + var yyj1077 int + var yyb1077 bool + var yyhl1077 bool = l >= 0 + yyj1077++ + if yyhl1077 { + yyb1077 = yyj1077 > l } else { - yyb1072 = r.CheckBreak() + yyb1077 = r.CheckBreak() } - if yyb1072 { + if yyb1077 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12646,21 +12687,21 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Hosts = nil } else { - yyv1073 := &x.Hosts - yym1074 := z.DecBinary() - _ = yym1074 + yyv1078 := &x.Hosts + yym1079 := z.DecBinary() + _ = yym1079 if false { } else { - z.F.DecSliceStringX(yyv1073, false, d) + z.F.DecSliceStringX(yyv1078, false, d) } } - yyj1072++ - if yyhl1072 { - yyb1072 = yyj1072 > l + yyj1077++ + if yyhl1077 { + yyb1077 = yyj1077 > l } else { - yyb1072 = r.CheckBreak() + yyb1077 = r.CheckBreak() } - if yyb1072 { + if yyb1077 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12671,17 +12712,17 @@ func (x *IngressTLS) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.SecretName = string(r.DecodeString()) } for { - yyj1072++ - if yyhl1072 { - yyb1072 = yyj1072 > l + yyj1077++ + if yyhl1077 { + yyb1077 = yyj1077 > l } else { - yyb1072 = r.CheckBreak() + yyb1077 = r.CheckBreak() } - if yyb1072 { + if yyb1077 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1072-1, "") + z.DecStructFieldNotFound(yyj1077-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12693,48 +12734,48 @@ func (x *IngressStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1076 := z.EncBinary() - _ = yym1076 + yym1081 := z.EncBinary() + _ = yym1081 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1077 := !z.EncBinary() - yy2arr1077 := z.EncBasicHandle().StructToArray - var yyq1077 [1]bool - _, _, _ = yysep1077, yyq1077, yy2arr1077 - const yyr1077 bool = false - yyq1077[0] = true - var yynn1077 int - if yyr1077 || yy2arr1077 { + 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 { r.EncodeArrayStart(1) } else { - yynn1077 = 0 - for _, b := range yyq1077 { + yynn1082 = 0 + for _, b := range yyq1082 { if b { - yynn1077++ + yynn1082++ } } - r.EncodeMapStart(yynn1077) - yynn1077 = 0 + r.EncodeMapStart(yynn1082) + yynn1082 = 0 } - if yyr1077 || yy2arr1077 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1077[0] { - yy1079 := &x.LoadBalancer - yy1079.CodecEncodeSelf(e) + if yyq1082[0] { + yy1084 := &x.LoadBalancer + yy1084.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1077[0] { + if yyq1082[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("loadBalancer")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1080 := &x.LoadBalancer - yy1080.CodecEncodeSelf(e) + yy1085 := &x.LoadBalancer + yy1085.CodecEncodeSelf(e) } } - if yyr1077 || yy2arr1077 { + if yyr1082 || yy2arr1082 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12747,25 +12788,25 @@ func (x *IngressStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1081 := z.DecBinary() - _ = yym1081 + yym1086 := z.DecBinary() + _ = yym1086 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1082 := r.ContainerType() - if yyct1082 == codecSelferValueTypeMap1234 { - yyl1082 := r.ReadMapStart() - if yyl1082 == 0 { + yyct1087 := r.ContainerType() + if yyct1087 == codecSelferValueTypeMap1234 { + yyl1087 := r.ReadMapStart() + if yyl1087 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1082, d) + x.codecDecodeSelfFromMap(yyl1087, d) } - } else if yyct1082 == codecSelferValueTypeArray1234 { - yyl1082 := r.ReadArrayStart() - if yyl1082 == 0 { + } else if yyct1087 == codecSelferValueTypeArray1234 { + yyl1087 := r.ReadArrayStart() + if yyl1087 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1082, d) + x.codecDecodeSelfFromArray(yyl1087, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12777,12 +12818,12 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1083Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1083Slc - var yyhl1083 bool = l >= 0 - for yyj1083 := 0; ; yyj1083++ { - if yyhl1083 { - if yyj1083 >= l { + var yys1088Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1088Slc + var yyhl1088 bool = l >= 0 + for yyj1088 := 0; ; yyj1088++ { + if yyhl1088 { + if yyj1088 >= l { break } } else { @@ -12791,21 +12832,21 @@ func (x *IngressStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1083Slc = r.DecodeBytes(yys1083Slc, true, true) - yys1083 := string(yys1083Slc) + yys1088Slc = r.DecodeBytes(yys1088Slc, true, true) + yys1088 := string(yys1088Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1083 { + switch yys1088 { case "loadBalancer": if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv1084 := &x.LoadBalancer - yyv1084.CodecDecodeSelf(d) + yyv1089 := &x.LoadBalancer + yyv1089.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1083) - } // end switch yys1083 - } // end for yyj1083 + z.DecStructFieldNotFound(-1, yys1088) + } // end switch yys1088 + } // end for yyj1088 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -12813,16 +12854,16 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1085 int - var yyb1085 bool - var yyhl1085 bool = l >= 0 - yyj1085++ - if yyhl1085 { - yyb1085 = yyj1085 > l + var yyj1090 int + var yyb1090 bool + var yyhl1090 bool = l >= 0 + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb1085 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb1085 { + if yyb1090 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -12830,21 +12871,21 @@ func (x *IngressStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.LoadBalancer = pkg2_v1.LoadBalancerStatus{} } else { - yyv1086 := &x.LoadBalancer - yyv1086.CodecDecodeSelf(d) + yyv1091 := &x.LoadBalancer + yyv1091.CodecDecodeSelf(d) } for { - yyj1085++ - if yyhl1085 { - yyb1085 = yyj1085 > l + yyj1090++ + if yyhl1090 { + yyb1090 = yyj1090 > l } else { - yyb1085 = r.CheckBreak() + yyb1090 = r.CheckBreak() } - if yyb1085 { + if yyb1090 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1085-1, "") + z.DecStructFieldNotFound(yyj1090-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -12856,36 +12897,36 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1087 := z.EncBinary() - _ = yym1087 + yym1092 := z.EncBinary() + _ = yym1092 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1088 := !z.EncBinary() - yy2arr1088 := z.EncBasicHandle().StructToArray - var yyq1088 [2]bool - _, _, _ = yysep1088, yyq1088, yy2arr1088 - const yyr1088 bool = false - yyq1088[0] = x.Host != "" - yyq1088[1] = x.IngressRuleValue.HTTP != nil && x.HTTP != nil - var yynn1088 int - if yyr1088 || yy2arr1088 { + 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 { r.EncodeArrayStart(2) } else { - yynn1088 = 0 - for _, b := range yyq1088 { + yynn1093 = 0 + for _, b := range yyq1093 { if b { - yynn1088++ + yynn1093++ } } - r.EncodeMapStart(yynn1088) - yynn1088 = 0 + r.EncodeMapStart(yynn1093) + yynn1093 = 0 } - if yyr1088 || yy2arr1088 { + if yyr1093 || yy2arr1093 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[0] { - yym1090 := z.EncBinary() - _ = yym1090 + if yyq1093[0] { + yym1095 := z.EncBinary() + _ = yym1095 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) @@ -12894,30 +12935,30 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1088[0] { + if yyq1093[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("host")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1091 := z.EncBinary() - _ = yym1091 + yym1096 := z.EncBinary() + _ = yym1096 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Host)) } } } - var yyn1092 bool + var yyn1097 bool if x.IngressRuleValue.HTTP == nil { - yyn1092 = true - goto LABEL1092 + yyn1097 = true + goto LABEL1097 } - LABEL1092: - if yyr1088 || yy2arr1088 { - if yyn1092 { + LABEL1097: + if yyr1093 || yy2arr1093 { + if yyn1097 { r.EncodeNil() } else { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1088[1] { + if yyq1093[1] { if x.HTTP == nil { r.EncodeNil() } else { @@ -12928,11 +12969,11 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } else { - if yyq1088[1] { + if yyq1093[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - if yyn1092 { + if yyn1097 { r.EncodeNil() } else { if x.HTTP == nil { @@ -12943,7 +12984,7 @@ func (x *IngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1088 || yy2arr1088 { + if yyr1093 || yy2arr1093 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -12956,25 +12997,25 @@ func (x *IngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1093 := z.DecBinary() - _ = yym1093 + yym1098 := z.DecBinary() + _ = yym1098 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1094 := r.ContainerType() - if yyct1094 == codecSelferValueTypeMap1234 { - yyl1094 := r.ReadMapStart() - if yyl1094 == 0 { + yyct1099 := r.ContainerType() + if yyct1099 == codecSelferValueTypeMap1234 { + yyl1099 := r.ReadMapStart() + if yyl1099 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1094, d) + x.codecDecodeSelfFromMap(yyl1099, d) } - } else if yyct1094 == codecSelferValueTypeArray1234 { - yyl1094 := r.ReadArrayStart() - if yyl1094 == 0 { + } else if yyct1099 == codecSelferValueTypeArray1234 { + yyl1099 := r.ReadArrayStart() + if yyl1099 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1094, d) + x.codecDecodeSelfFromArray(yyl1099, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -12986,12 +13027,12 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1095Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1095Slc - var yyhl1095 bool = l >= 0 - for yyj1095 := 0; ; yyj1095++ { - if yyhl1095 { - if yyj1095 >= l { + var yys1100Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1100Slc + var yyhl1100 bool = l >= 0 + for yyj1100 := 0; ; yyj1100++ { + if yyhl1100 { + if yyj1100 >= l { break } } else { @@ -13000,10 +13041,10 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1095Slc = r.DecodeBytes(yys1095Slc, true, true) - yys1095 := string(yys1095Slc) + yys1100Slc = r.DecodeBytes(yys1100Slc, true, true) + yys1100 := string(yys1100Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1095 { + switch yys1100 { case "host": if r.TryDecodeAsNil() { x.Host = "" @@ -13025,9 +13066,9 @@ func (x *IngressRule) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1095) - } // end switch yys1095 - } // end for yyj1095 + z.DecStructFieldNotFound(-1, yys1100) + } // end switch yys1100 + } // end for yyj1100 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13035,16 +13076,16 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1098 int - var yyb1098 bool - var yyhl1098 bool = l >= 0 - yyj1098++ - if yyhl1098 { - yyb1098 = yyj1098 > l + var yyj1103 int + var yyb1103 bool + var yyhl1103 bool = l >= 0 + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb1098 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb1098 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13057,13 +13098,13 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.IngressRuleValue.HTTP == nil { x.IngressRuleValue.HTTP = new(HTTPIngressRuleValue) } - yyj1098++ - if yyhl1098 { - yyb1098 = yyj1098 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb1098 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb1098 { + if yyb1103 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13079,17 +13120,17 @@ func (x *IngressRule) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } for { - yyj1098++ - if yyhl1098 { - yyb1098 = yyj1098 > l + yyj1103++ + if yyhl1103 { + yyb1103 = yyj1103 > l } else { - yyb1098 = r.CheckBreak() + yyb1103 = r.CheckBreak() } - if yyb1098 { + if yyb1103 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1098-1, "") + z.DecStructFieldNotFound(yyj1103-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13101,33 +13142,33 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1101 := z.EncBinary() - _ = yym1101 + yym1106 := z.EncBinary() + _ = yym1106 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1102 := !z.EncBinary() - yy2arr1102 := z.EncBasicHandle().StructToArray - var yyq1102 [1]bool - _, _, _ = yysep1102, yyq1102, yy2arr1102 - const yyr1102 bool = false - yyq1102[0] = x.HTTP != nil - var yynn1102 int - if yyr1102 || yy2arr1102 { + 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 { r.EncodeArrayStart(1) } else { - yynn1102 = 0 - for _, b := range yyq1102 { + yynn1107 = 0 + for _, b := range yyq1107 { if b { - yynn1102++ + yynn1107++ } } - r.EncodeMapStart(yynn1102) - yynn1102 = 0 + r.EncodeMapStart(yynn1107) + yynn1107 = 0 } - if yyr1102 || yy2arr1102 { + if yyr1107 || yy2arr1107 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1102[0] { + if yyq1107[0] { if x.HTTP == nil { r.EncodeNil() } else { @@ -13137,7 +13178,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1102[0] { + if yyq1107[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("http")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -13148,7 +13189,7 @@ func (x *IngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1102 || yy2arr1102 { + if yyr1107 || yy2arr1107 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13161,25 +13202,25 @@ func (x *IngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1104 := z.DecBinary() - _ = yym1104 + yym1109 := z.DecBinary() + _ = yym1109 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1105 := r.ContainerType() - if yyct1105 == codecSelferValueTypeMap1234 { - yyl1105 := r.ReadMapStart() - if yyl1105 == 0 { + yyct1110 := r.ContainerType() + if yyct1110 == codecSelferValueTypeMap1234 { + yyl1110 := r.ReadMapStart() + if yyl1110 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1105, d) + x.codecDecodeSelfFromMap(yyl1110, d) } - } else if yyct1105 == codecSelferValueTypeArray1234 { - yyl1105 := r.ReadArrayStart() - if yyl1105 == 0 { + } else if yyct1110 == codecSelferValueTypeArray1234 { + yyl1110 := r.ReadArrayStart() + if yyl1110 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1105, d) + x.codecDecodeSelfFromArray(yyl1110, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13191,12 +13232,12 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1106Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1106Slc - var yyhl1106 bool = l >= 0 - for yyj1106 := 0; ; yyj1106++ { - if yyhl1106 { - if yyj1106 >= l { + var yys1111Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1111Slc + var yyhl1111 bool = l >= 0 + for yyj1111 := 0; ; yyj1111++ { + if yyhl1111 { + if yyj1111 >= l { break } } else { @@ -13205,10 +13246,10 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1106Slc = r.DecodeBytes(yys1106Slc, true, true) - yys1106 := string(yys1106Slc) + yys1111Slc = r.DecodeBytes(yys1111Slc, true, true) + yys1111 := string(yys1111Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1106 { + switch yys1111 { case "http": if r.TryDecodeAsNil() { if x.HTTP != nil { @@ -13221,9 +13262,9 @@ func (x *IngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.HTTP.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1106) - } // end switch yys1106 - } // end for yyj1106 + z.DecStructFieldNotFound(-1, yys1111) + } // end switch yys1111 + } // end for yyj1111 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13231,16 +13272,16 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1108 int - var yyb1108 bool - var yyhl1108 bool = l >= 0 - yyj1108++ - if yyhl1108 { - yyb1108 = yyj1108 > l + var yyj1113 int + var yyb1113 bool + var yyhl1113 bool = l >= 0 + yyj1113++ + if yyhl1113 { + yyb1113 = yyj1113 > l } else { - yyb1108 = r.CheckBreak() + yyb1113 = r.CheckBreak() } - if yyb1108 { + if yyb1113 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13256,17 +13297,17 @@ func (x *IngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) x.HTTP.CodecDecodeSelf(d) } for { - yyj1108++ - if yyhl1108 { - yyb1108 = yyj1108 > l + yyj1113++ + if yyhl1113 { + yyb1113 = yyj1113 > l } else { - yyb1108 = r.CheckBreak() + yyb1113 = r.CheckBreak() } - if yyb1108 { + if yyb1113 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1108-1, "") + z.DecStructFieldNotFound(yyj1113-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13278,36 +13319,36 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1110 := z.EncBinary() - _ = yym1110 + yym1115 := z.EncBinary() + _ = yym1115 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1111 := !z.EncBinary() - yy2arr1111 := z.EncBasicHandle().StructToArray - var yyq1111 [1]bool - _, _, _ = yysep1111, yyq1111, yy2arr1111 - const yyr1111 bool = false - var yynn1111 int - if yyr1111 || yy2arr1111 { + 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 { - yynn1111 = 1 - for _, b := range yyq1111 { + yynn1116 = 1 + for _, b := range yyq1116 { if b { - yynn1111++ + yynn1116++ } } - r.EncodeMapStart(yynn1111) - yynn1111 = 0 + r.EncodeMapStart(yynn1116) + yynn1116 = 0 } - if yyr1111 || yy2arr1111 { + if yyr1116 || yy2arr1116 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Paths == nil { r.EncodeNil() } else { - yym1113 := z.EncBinary() - _ = yym1113 + yym1118 := z.EncBinary() + _ = yym1118 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) @@ -13320,15 +13361,15 @@ func (x *HTTPIngressRuleValue) CodecEncodeSelf(e *codec1978.Encoder) { if x.Paths == nil { r.EncodeNil() } else { - yym1114 := z.EncBinary() - _ = yym1114 + yym1119 := z.EncBinary() + _ = yym1119 if false { } else { h.encSliceHTTPIngressPath(([]HTTPIngressPath)(x.Paths), e) } } } - if yyr1111 || yy2arr1111 { + if yyr1116 || yy2arr1116 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13341,25 +13382,25 @@ func (x *HTTPIngressRuleValue) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1115 := z.DecBinary() - _ = yym1115 + yym1120 := z.DecBinary() + _ = yym1120 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1116 := r.ContainerType() - if yyct1116 == codecSelferValueTypeMap1234 { - yyl1116 := r.ReadMapStart() - if yyl1116 == 0 { + yyct1121 := r.ContainerType() + if yyct1121 == codecSelferValueTypeMap1234 { + yyl1121 := r.ReadMapStart() + if yyl1121 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1116, d) + x.codecDecodeSelfFromMap(yyl1121, d) } - } else if yyct1116 == codecSelferValueTypeArray1234 { - yyl1116 := r.ReadArrayStart() - if yyl1116 == 0 { + } else if yyct1121 == codecSelferValueTypeArray1234 { + yyl1121 := r.ReadArrayStart() + if yyl1121 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1116, d) + x.codecDecodeSelfFromArray(yyl1121, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13371,12 +13412,12 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1117Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1117Slc - var yyhl1117 bool = l >= 0 - for yyj1117 := 0; ; yyj1117++ { - if yyhl1117 { - if yyj1117 >= l { + 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 { @@ -13385,26 +13426,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromMap(l int, d *codec1978.Decode } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1117Slc = r.DecodeBytes(yys1117Slc, true, true) - yys1117 := string(yys1117Slc) + yys1122Slc = r.DecodeBytes(yys1122Slc, true, true) + yys1122 := string(yys1122Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1117 { + switch yys1122 { case "paths": if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv1118 := &x.Paths - yym1119 := z.DecBinary() - _ = yym1119 + yyv1123 := &x.Paths + yym1124 := z.DecBinary() + _ = yym1124 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1118), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1123), d) } } default: - z.DecStructFieldNotFound(-1, yys1117) - } // end switch yys1117 - } // end for yyj1117 + z.DecStructFieldNotFound(-1, yys1122) + } // end switch yys1122 + } // end for yyj1122 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13412,16 +13453,16 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1120 int - var yyb1120 bool - var yyhl1120 bool = l >= 0 - yyj1120++ - if yyhl1120 { - yyb1120 = yyj1120 > l + var yyj1125 int + var yyb1125 bool + var yyhl1125 bool = l >= 0 + yyj1125++ + if yyhl1125 { + yyb1125 = yyj1125 > l } else { - yyb1120 = r.CheckBreak() + yyb1125 = r.CheckBreak() } - if yyb1120 { + if yyb1125 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13429,26 +13470,26 @@ func (x *HTTPIngressRuleValue) codecDecodeSelfFromArray(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Paths = nil } else { - yyv1121 := &x.Paths - yym1122 := z.DecBinary() - _ = yym1122 + yyv1126 := &x.Paths + yym1127 := z.DecBinary() + _ = yym1127 if false { } else { - h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1121), d) + h.decSliceHTTPIngressPath((*[]HTTPIngressPath)(yyv1126), d) } } for { - yyj1120++ - if yyhl1120 { - yyb1120 = yyj1120 > l + yyj1125++ + if yyhl1125 { + yyb1125 = yyj1125 > l } else { - yyb1120 = r.CheckBreak() + yyb1125 = r.CheckBreak() } - if yyb1120 { + if yyb1125 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1120-1, "") + z.DecStructFieldNotFound(yyj1125-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13460,35 +13501,35 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1123 := z.EncBinary() - _ = yym1123 + yym1128 := z.EncBinary() + _ = yym1128 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1124 := !z.EncBinary() - yy2arr1124 := z.EncBasicHandle().StructToArray - var yyq1124 [2]bool - _, _, _ = yysep1124, yyq1124, yy2arr1124 - const yyr1124 bool = false - yyq1124[0] = x.Path != "" - var yynn1124 int - if yyr1124 || yy2arr1124 { + 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 { - yynn1124 = 1 - for _, b := range yyq1124 { + yynn1129 = 1 + for _, b := range yyq1129 { if b { - yynn1124++ + yynn1129++ } } - r.EncodeMapStart(yynn1124) - yynn1124 = 0 + r.EncodeMapStart(yynn1129) + yynn1129 = 0 } - if yyr1124 || yy2arr1124 { + if yyr1129 || yy2arr1129 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1124[0] { - yym1126 := z.EncBinary() - _ = yym1126 + if yyq1129[0] { + yym1131 := z.EncBinary() + _ = yym1131 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) @@ -13497,30 +13538,30 @@ func (x *HTTPIngressPath) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1124[0] { + if yyq1129[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("path")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1127 := z.EncBinary() - _ = yym1127 + yym1132 := z.EncBinary() + _ = yym1132 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Path)) } } } - if yyr1124 || yy2arr1124 { + if yyr1129 || yy2arr1129 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1129 := &x.Backend - yy1129.CodecEncodeSelf(e) + yy1134 := &x.Backend + yy1134.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("backend")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1130 := &x.Backend - yy1130.CodecEncodeSelf(e) + yy1135 := &x.Backend + yy1135.CodecEncodeSelf(e) } - if yyr1124 || yy2arr1124 { + if yyr1129 || yy2arr1129 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13533,25 +13574,25 @@ func (x *HTTPIngressPath) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1131 := z.DecBinary() - _ = yym1131 + yym1136 := z.DecBinary() + _ = yym1136 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1132 := r.ContainerType() - if yyct1132 == codecSelferValueTypeMap1234 { - yyl1132 := r.ReadMapStart() - if yyl1132 == 0 { + yyct1137 := r.ContainerType() + if yyct1137 == codecSelferValueTypeMap1234 { + yyl1137 := r.ReadMapStart() + if yyl1137 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1132, d) + x.codecDecodeSelfFromMap(yyl1137, d) } - } else if yyct1132 == codecSelferValueTypeArray1234 { - yyl1132 := r.ReadArrayStart() - if yyl1132 == 0 { + } else if yyct1137 == codecSelferValueTypeArray1234 { + yyl1137 := r.ReadArrayStart() + if yyl1137 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1132, d) + x.codecDecodeSelfFromArray(yyl1137, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13563,12 +13604,12 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1133Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1133Slc - var yyhl1133 bool = l >= 0 - for yyj1133 := 0; ; yyj1133++ { - if yyhl1133 { - if yyj1133 >= l { + 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 { @@ -13577,10 +13618,10 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1133Slc = r.DecodeBytes(yys1133Slc, true, true) - yys1133 := string(yys1133Slc) + yys1138Slc = r.DecodeBytes(yys1138Slc, true, true) + yys1138 := string(yys1138Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1133 { + switch yys1138 { case "path": if r.TryDecodeAsNil() { x.Path = "" @@ -13591,13 +13632,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1135 := &x.Backend - yyv1135.CodecDecodeSelf(d) + yyv1140 := &x.Backend + yyv1140.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1133) - } // end switch yys1133 - } // end for yyj1133 + z.DecStructFieldNotFound(-1, yys1138) + } // end switch yys1138 + } // end for yyj1138 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13605,16 +13646,16 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1136 int - var yyb1136 bool - var yyhl1136 bool = l >= 0 - yyj1136++ - if yyhl1136 { - yyb1136 = yyj1136 > l + var yyj1141 int + var yyb1141 bool + var yyhl1141 bool = l >= 0 + yyj1141++ + if yyhl1141 { + yyb1141 = yyj1141 > l } else { - yyb1136 = r.CheckBreak() + yyb1141 = r.CheckBreak() } - if yyb1136 { + if yyb1141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13624,13 +13665,13 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Path = string(r.DecodeString()) } - yyj1136++ - if yyhl1136 { - yyb1136 = yyj1136 > l + yyj1141++ + if yyhl1141 { + yyb1141 = yyj1141 > l } else { - yyb1136 = r.CheckBreak() + yyb1141 = r.CheckBreak() } - if yyb1136 { + if yyb1141 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13638,21 +13679,21 @@ func (x *HTTPIngressPath) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.Backend = IngressBackend{} } else { - yyv1138 := &x.Backend - yyv1138.CodecDecodeSelf(d) + yyv1143 := &x.Backend + yyv1143.CodecDecodeSelf(d) } for { - yyj1136++ - if yyhl1136 { - yyb1136 = yyj1136 > l + yyj1141++ + if yyhl1141 { + yyb1141 = yyj1141 > l } else { - yyb1136 = r.CheckBreak() + yyb1141 = r.CheckBreak() } - if yyb1136 { + if yyb1141 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1136-1, "") + z.DecStructFieldNotFound(yyj1141-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13664,33 +13705,33 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1139 := z.EncBinary() - _ = yym1139 + yym1144 := z.EncBinary() + _ = yym1144 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1140 := !z.EncBinary() - yy2arr1140 := z.EncBasicHandle().StructToArray - var yyq1140 [2]bool - _, _, _ = yysep1140, yyq1140, yy2arr1140 - const yyr1140 bool = false - var yynn1140 int - if yyr1140 || yy2arr1140 { + 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 { - yynn1140 = 2 - for _, b := range yyq1140 { + yynn1145 = 2 + for _, b := range yyq1145 { if b { - yynn1140++ + yynn1145++ } } - r.EncodeMapStart(yynn1140) - yynn1140 = 0 + r.EncodeMapStart(yynn1145) + yynn1145 = 0 } - if yyr1140 || yy2arr1140 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1142 := z.EncBinary() - _ = yym1142 + yym1147 := z.EncBinary() + _ = yym1147 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) @@ -13699,41 +13740,41 @@ func (x *IngressBackend) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("serviceName")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1143 := z.EncBinary() - _ = yym1143 + yym1148 := z.EncBinary() + _ = yym1148 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.ServiceName)) } } - if yyr1140 || yy2arr1140 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1145 := &x.ServicePort - yym1146 := z.EncBinary() - _ = yym1146 + yy1150 := &x.ServicePort + yym1151 := z.EncBinary() + _ = yym1151 if false { - } else if z.HasExtensions() && z.EncExt(yy1145) { - } else if !yym1146 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1145) + } else if z.HasExtensions() && z.EncExt(yy1150) { + } else if !yym1151 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1150) } else { - z.EncFallback(yy1145) + z.EncFallback(yy1150) } } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("servicePort")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1147 := &x.ServicePort - yym1148 := z.EncBinary() - _ = yym1148 + yy1152 := &x.ServicePort + yym1153 := z.EncBinary() + _ = yym1153 if false { - } else if z.HasExtensions() && z.EncExt(yy1147) { - } else if !yym1148 && z.IsJSONHandle() { - z.EncJSONMarshal(yy1147) + } else if z.HasExtensions() && z.EncExt(yy1152) { + } else if !yym1153 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1152) } else { - z.EncFallback(yy1147) + z.EncFallback(yy1152) } } - if yyr1140 || yy2arr1140 { + if yyr1145 || yy2arr1145 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -13746,25 +13787,25 @@ func (x *IngressBackend) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1149 := z.DecBinary() - _ = yym1149 + yym1154 := z.DecBinary() + _ = yym1154 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1150 := r.ContainerType() - if yyct1150 == codecSelferValueTypeMap1234 { - yyl1150 := r.ReadMapStart() - if yyl1150 == 0 { + yyct1155 := r.ContainerType() + if yyct1155 == codecSelferValueTypeMap1234 { + yyl1155 := r.ReadMapStart() + if yyl1155 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1150, d) + x.codecDecodeSelfFromMap(yyl1155, d) } - } else if yyct1150 == codecSelferValueTypeArray1234 { - yyl1150 := r.ReadArrayStart() - if yyl1150 == 0 { + } else if yyct1155 == codecSelferValueTypeArray1234 { + yyl1155 := r.ReadArrayStart() + if yyl1155 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1150, d) + x.codecDecodeSelfFromArray(yyl1155, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -13776,12 +13817,12 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1151Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1151Slc - var yyhl1151 bool = l >= 0 - for yyj1151 := 0; ; yyj1151++ { - if yyhl1151 { - if yyj1151 >= l { + 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 { @@ -13790,10 +13831,10 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1151Slc = r.DecodeBytes(yys1151Slc, true, true) - yys1151 := string(yys1151Slc) + yys1156Slc = r.DecodeBytes(yys1156Slc, true, true) + yys1156 := string(yys1156Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1151 { + switch yys1156 { case "serviceName": if r.TryDecodeAsNil() { x.ServiceName = "" @@ -13804,21 +13845,21 @@ func (x *IngressBackend) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1153 := &x.ServicePort - yym1154 := z.DecBinary() - _ = yym1154 + yyv1158 := &x.ServicePort + yym1159 := z.DecBinary() + _ = yym1159 if false { - } else if z.HasExtensions() && z.DecExt(yyv1153) { - } else if !yym1154 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1153) + } else if z.HasExtensions() && z.DecExt(yyv1158) { + } else if !yym1159 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1158) } else { - z.DecFallback(yyv1153, false) + z.DecFallback(yyv1158, false) } } default: - z.DecStructFieldNotFound(-1, yys1151) - } // end switch yys1151 - } // end for yyj1151 + z.DecStructFieldNotFound(-1, yys1156) + } // end switch yys1156 + } // end for yyj1156 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -13826,16 +13867,16 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1155 int - var yyb1155 bool - var yyhl1155 bool = l >= 0 - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + var yyj1160 int + var yyb1160 bool + var yyhl1160 bool = l >= 0 + yyj1160++ + if yyhl1160 { + yyb1160 = yyj1160 > l } else { - yyb1155 = r.CheckBreak() + yyb1160 = r.CheckBreak() } - if yyb1155 { + if yyb1160 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13845,13 +13886,13 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.ServiceName = string(r.DecodeString()) } - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1160++ + if yyhl1160 { + yyb1160 = yyj1160 > l } else { - yyb1155 = r.CheckBreak() + yyb1160 = r.CheckBreak() } - if yyb1155 { + if yyb1160 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -13859,29 +13900,29 @@ func (x *IngressBackend) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ServicePort = pkg5_intstr.IntOrString{} } else { - yyv1157 := &x.ServicePort - yym1158 := z.DecBinary() - _ = yym1158 + yyv1162 := &x.ServicePort + yym1163 := z.DecBinary() + _ = yym1163 if false { - } else if z.HasExtensions() && z.DecExt(yyv1157) { - } else if !yym1158 && z.IsJSONHandle() { - z.DecJSONUnmarshal(yyv1157) + } else if z.HasExtensions() && z.DecExt(yyv1162) { + } else if !yym1163 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1162) } else { - z.DecFallback(yyv1157, false) + z.DecFallback(yyv1162, false) } } for { - yyj1155++ - if yyhl1155 { - yyb1155 = yyj1155 > l + yyj1160++ + if yyhl1160 { + yyb1160 = yyj1160 > l } else { - yyb1155 = r.CheckBreak() + yyb1160 = r.CheckBreak() } - if yyb1155 { + if yyb1160 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1155-1, "") + z.DecStructFieldNotFound(yyj1160-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -13893,36 +13934,36 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1159 := z.EncBinary() - _ = yym1159 + yym1164 := z.EncBinary() + _ = yym1164 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1160 := !z.EncBinary() - yy2arr1160 := z.EncBasicHandle().StructToArray - var yyq1160 [4]bool - _, _, _ = yysep1160, yyq1160, yy2arr1160 - const yyr1160 bool = false - yyq1160[0] = x.Kind != "" - yyq1160[1] = x.APIVersion != "" - var yynn1160 int - if yyr1160 || yy2arr1160 { + 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 { - yynn1160 = 2 - for _, b := range yyq1160 { + yynn1165 = 2 + for _, b := range yyq1165 { if b { - yynn1160++ + yynn1165++ } } - r.EncodeMapStart(yynn1160) - yynn1160 = 0 + r.EncodeMapStart(yynn1165) + yynn1165 = 0 } - if yyr1160 || yy2arr1160 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1160[0] { - yym1162 := z.EncBinary() - _ = yym1162 + if yyq1165[0] { + yym1167 := z.EncBinary() + _ = yym1167 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -13931,23 +13972,23 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1160[0] { + if yyq1165[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1163 := z.EncBinary() - _ = yym1163 + yym1168 := z.EncBinary() + _ = yym1168 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1160 || yy2arr1160 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1160[1] { - yym1165 := z.EncBinary() - _ = yym1165 + if yyq1165[1] { + yym1170 := z.EncBinary() + _ = yym1170 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -13956,22 +13997,22 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1160[1] { + if yyq1165[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1166 := z.EncBinary() - _ = yym1166 + yym1171 := z.EncBinary() + _ = yym1171 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1160 || yy2arr1160 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1168 := z.EncBinary() - _ = yym1168 + yym1173 := z.EncBinary() + _ = yym1173 if false { } else { r.EncodeBool(bool(x.Export)) @@ -13980,17 +14021,17 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("export")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1169 := z.EncBinary() - _ = yym1169 + yym1174 := z.EncBinary() + _ = yym1174 if false { } else { r.EncodeBool(bool(x.Export)) } } - if yyr1160 || yy2arr1160 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1171 := z.EncBinary() - _ = yym1171 + yym1176 := z.EncBinary() + _ = yym1176 if false { } else { r.EncodeBool(bool(x.Exact)) @@ -13999,14 +14040,14 @@ func (x *ExportOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("exact")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1172 := z.EncBinary() - _ = yym1172 + yym1177 := z.EncBinary() + _ = yym1177 if false { } else { r.EncodeBool(bool(x.Exact)) } } - if yyr1160 || yy2arr1160 { + if yyr1165 || yy2arr1165 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14019,25 +14060,25 @@ func (x *ExportOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1173 := z.DecBinary() - _ = yym1173 + yym1178 := z.DecBinary() + _ = yym1178 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1174 := r.ContainerType() - if yyct1174 == codecSelferValueTypeMap1234 { - yyl1174 := r.ReadMapStart() - if yyl1174 == 0 { + yyct1179 := r.ContainerType() + if yyct1179 == codecSelferValueTypeMap1234 { + yyl1179 := r.ReadMapStart() + if yyl1179 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1174, d) + x.codecDecodeSelfFromMap(yyl1179, d) } - } else if yyct1174 == codecSelferValueTypeArray1234 { - yyl1174 := r.ReadArrayStart() - if yyl1174 == 0 { + } else if yyct1179 == codecSelferValueTypeArray1234 { + yyl1179 := r.ReadArrayStart() + if yyl1179 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1174, d) + x.codecDecodeSelfFromArray(yyl1179, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14049,12 +14090,12 @@ func (x *ExportOptions) 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 { + 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 { @@ -14063,10 +14104,10 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1175Slc = r.DecodeBytes(yys1175Slc, true, true) - yys1175 := string(yys1175Slc) + yys1180Slc = r.DecodeBytes(yys1180Slc, true, true) + yys1180 := string(yys1180Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1175 { + switch yys1180 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -14092,9 +14133,9 @@ func (x *ExportOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1175) - } // end switch yys1175 - } // end for yyj1175 + z.DecStructFieldNotFound(-1, yys1180) + } // end switch yys1180 + } // end for yyj1180 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14102,16 +14143,16 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { 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 yyj1185 int + var yyb1185 bool + var yyhl1185 bool = l >= 0 + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1180 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1180 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14121,13 +14162,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1180 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1180 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14137,13 +14178,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1180 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1180 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14153,13 +14194,13 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Export = bool(r.DecodeBool()) } - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1180 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1180 { + if yyb1185 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14170,504 +14211,17 @@ func (x *ExportOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Exact = bool(r.DecodeBool()) } for { - yyj1180++ - if yyhl1180 { - yyb1180 = yyj1180 > l + yyj1185++ + if yyhl1185 { + yyb1185 = yyj1185 > l } else { - yyb1180 = r.CheckBreak() + yyb1185 = r.CheckBreak() } - if yyb1180 { + if yyb1185 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1180-1, "") - } - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) -} - -func (x *ListOptions) CodecEncodeSelf(e *codec1978.Encoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperEncoder(e) - _, _, _ = h, z, r - if x == nil { - r.EncodeNil() - } else { - yym1185 := z.EncBinary() - _ = yym1185 - if false { - } else if z.HasExtensions() && z.EncExt(x) { - } else { - yysep1186 := !z.EncBinary() - yy2arr1186 := z.EncBasicHandle().StructToArray - var yyq1186 [7]bool - _, _, _ = yysep1186, yyq1186, yy2arr1186 - const yyr1186 bool = false - yyq1186[0] = x.Kind != "" - yyq1186[1] = x.APIVersion != "" - yyq1186[2] = x.LabelSelector != "" - yyq1186[3] = x.FieldSelector != "" - yyq1186[4] = x.Watch != false - yyq1186[5] = x.ResourceVersion != "" - yyq1186[6] = x.TimeoutSeconds != nil - var yynn1186 int - if yyr1186 || yy2arr1186 { - r.EncodeArrayStart(7) - } else { - yynn1186 = 0 - for _, b := range yyq1186 { - if b { - yynn1186++ - } - } - r.EncodeMapStart(yynn1186) - yynn1186 = 0 - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[0] { - yym1188 := z.EncBinary() - _ = yym1188 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1186[0] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("kind")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1189 := z.EncBinary() - _ = yym1189 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[1] { - yym1191 := z.EncBinary() - _ = yym1191 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1186[1] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1192 := z.EncBinary() - _ = yym1192 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[2] { - yym1194 := z.EncBinary() - _ = yym1194 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1186[2] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("labelSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1195 := z.EncBinary() - _ = yym1195 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.LabelSelector)) - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[3] { - yym1197 := z.EncBinary() - _ = yym1197 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1186[3] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("fieldSelector")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1198 := z.EncBinary() - _ = yym1198 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.FieldSelector)) - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[4] { - yym1200 := z.EncBinary() - _ = yym1200 - if false { - } else { - r.EncodeBool(bool(x.Watch)) - } - } else { - r.EncodeBool(false) - } - } else { - if yyq1186[4] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("watch")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1201 := z.EncBinary() - _ = yym1201 - if false { - } else { - r.EncodeBool(bool(x.Watch)) - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[5] { - yym1203 := z.EncBinary() - _ = yym1203 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } else { - r.EncodeString(codecSelferC_UTF81234, "") - } - } else { - if yyq1186[5] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("resourceVersion")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1204 := z.EncBinary() - _ = yym1204 - if false { - } else { - r.EncodeString(codecSelferC_UTF81234, string(x.ResourceVersion)) - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1186[6] { - if x.TimeoutSeconds == nil { - r.EncodeNil() - } else { - yy1206 := *x.TimeoutSeconds - yym1207 := z.EncBinary() - _ = yym1207 - if false { - } else { - r.EncodeInt(int64(yy1206)) - } - } - } else { - r.EncodeNil() - } - } else { - if yyq1186[6] { - z.EncSendContainerState(codecSelfer_containerMapKey1234) - r.EncodeString(codecSelferC_UTF81234, string("timeoutSeconds")) - z.EncSendContainerState(codecSelfer_containerMapValue1234) - if x.TimeoutSeconds == nil { - r.EncodeNil() - } else { - yy1208 := *x.TimeoutSeconds - yym1209 := z.EncBinary() - _ = yym1209 - if false { - } else { - r.EncodeInt(int64(yy1208)) - } - } - } - } - if yyr1186 || yy2arr1186 { - z.EncSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - z.EncSendContainerState(codecSelfer_containerMapEnd1234) - } - } - } -} - -func (x *ListOptions) CodecDecodeSelf(d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - yym1210 := z.DecBinary() - _ = yym1210 - if false { - } else if z.HasExtensions() && z.DecExt(x) { - } else { - yyct1211 := r.ContainerType() - if yyct1211 == codecSelferValueTypeMap1234 { - yyl1211 := r.ReadMapStart() - if yyl1211 == 0 { - z.DecSendContainerState(codecSelfer_containerMapEnd1234) - } else { - x.codecDecodeSelfFromMap(yyl1211, d) - } - } else if yyct1211 == codecSelferValueTypeArray1234 { - yyl1211 := r.ReadArrayStart() - if yyl1211 == 0 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - } else { - x.codecDecodeSelfFromArray(yyl1211, d) - } - } else { - panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) - } - } -} - -func (x *ListOptions) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yys1212Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1212Slc - var yyhl1212 bool = l >= 0 - for yyj1212 := 0; ; yyj1212++ { - if yyhl1212 { - if yyj1212 >= l { - break - } - } else { - if r.CheckBreak() { - break - } - } - z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1212Slc = r.DecodeBytes(yys1212Slc, true, true) - yys1212 := string(yys1212Slc) - z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1212 { - 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 "labelSelector": - if r.TryDecodeAsNil() { - x.LabelSelector = "" - } else { - x.LabelSelector = string(r.DecodeString()) - } - case "fieldSelector": - if r.TryDecodeAsNil() { - x.FieldSelector = "" - } else { - x.FieldSelector = string(r.DecodeString()) - } - case "watch": - if r.TryDecodeAsNil() { - x.Watch = false - } else { - x.Watch = bool(r.DecodeBool()) - } - case "resourceVersion": - if r.TryDecodeAsNil() { - x.ResourceVersion = "" - } else { - x.ResourceVersion = string(r.DecodeString()) - } - case "timeoutSeconds": - if r.TryDecodeAsNil() { - if x.TimeoutSeconds != nil { - x.TimeoutSeconds = nil - } - } else { - if x.TimeoutSeconds == nil { - x.TimeoutSeconds = new(int64) - } - yym1220 := z.DecBinary() - _ = yym1220 - if false { - } else { - *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) - } - } - default: - z.DecStructFieldNotFound(-1, yys1212) - } // end switch yys1212 - } // end for yyj1212 - z.DecSendContainerState(codecSelfer_containerMapEnd1234) -} - -func (x *ListOptions) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { - var h codecSelfer1234 - z, r := codec1978.GenHelperDecoder(d) - _, _, _ = h, z, r - var yyj1221 int - var yyb1221 bool - var yyhl1221 bool = l >= 0 - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Kind = "" - } else { - x.Kind = string(r.DecodeString()) - } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.APIVersion = "" - } else { - x.APIVersion = string(r.DecodeString()) - } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.LabelSelector = "" - } else { - x.LabelSelector = string(r.DecodeString()) - } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.FieldSelector = "" - } else { - x.FieldSelector = string(r.DecodeString()) - } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.Watch = false - } else { - x.Watch = bool(r.DecodeBool()) - } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - x.ResourceVersion = "" - } else { - x.ResourceVersion = string(r.DecodeString()) - } - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - z.DecSendContainerState(codecSelfer_containerArrayEnd1234) - return - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - if r.TryDecodeAsNil() { - if x.TimeoutSeconds != nil { - x.TimeoutSeconds = nil - } - } else { - if x.TimeoutSeconds == nil { - x.TimeoutSeconds = new(int64) - } - yym1229 := z.DecBinary() - _ = yym1229 - if false { - } else { - *((*int64)(x.TimeoutSeconds)) = int64(r.DecodeInt(64)) - } - } - for { - yyj1221++ - if yyhl1221 { - yyb1221 = yyj1221 > l - } else { - yyb1221 = r.CheckBreak() - } - if yyb1221 { - break - } - z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1221-1, "") + z.DecStructFieldNotFound(yyj1185-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14679,39 +14233,39 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1230 := z.EncBinary() - _ = yym1230 + yym1190 := z.EncBinary() + _ = yym1190 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1231 := !z.EncBinary() - yy2arr1231 := z.EncBasicHandle().StructToArray - var yyq1231 [2]bool - _, _, _ = yysep1231, yyq1231, yy2arr1231 - const yyr1231 bool = false - yyq1231[0] = len(x.MatchLabels) != 0 - yyq1231[1] = len(x.MatchExpressions) != 0 - var yynn1231 int - if yyr1231 || yy2arr1231 { + 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) } else { - yynn1231 = 0 - for _, b := range yyq1231 { + yynn1191 = 0 + for _, b := range yyq1191 { if b { - yynn1231++ + yynn1191++ } } - r.EncodeMapStart(yynn1231) - yynn1231 = 0 + r.EncodeMapStart(yynn1191) + yynn1191 = 0 } - if yyr1231 || yy2arr1231 { + if yyr1191 || yy2arr1191 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1231[0] { + if yyq1191[0] { if x.MatchLabels == nil { r.EncodeNil() } else { - yym1233 := z.EncBinary() - _ = yym1233 + yym1193 := z.EncBinary() + _ = yym1193 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -14721,15 +14275,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1231[0] { + if yyq1191[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchLabels")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchLabels == nil { r.EncodeNil() } else { - yym1234 := z.EncBinary() - _ = yym1234 + yym1194 := z.EncBinary() + _ = yym1194 if false { } else { z.F.EncMapStringStringV(x.MatchLabels, false, e) @@ -14737,14 +14291,14 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1231 || yy2arr1231 { + if yyr1191 || yy2arr1191 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1231[1] { + if yyq1191[1] { if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1236 := z.EncBinary() - _ = yym1236 + yym1196 := z.EncBinary() + _ = yym1196 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -14754,15 +14308,15 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1231[1] { + if yyq1191[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("matchExpressions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.MatchExpressions == nil { r.EncodeNil() } else { - yym1237 := z.EncBinary() - _ = yym1237 + yym1197 := z.EncBinary() + _ = yym1197 if false { } else { h.encSliceLabelSelectorRequirement(([]LabelSelectorRequirement)(x.MatchExpressions), e) @@ -14770,7 +14324,7 @@ func (x *LabelSelector) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1231 || yy2arr1231 { + if yyr1191 || yy2arr1191 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -14783,25 +14337,25 @@ func (x *LabelSelector) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1238 := z.DecBinary() - _ = yym1238 + yym1198 := z.DecBinary() + _ = yym1198 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1239 := r.ContainerType() - if yyct1239 == codecSelferValueTypeMap1234 { - yyl1239 := r.ReadMapStart() - if yyl1239 == 0 { + yyct1199 := r.ContainerType() + if yyct1199 == codecSelferValueTypeMap1234 { + yyl1199 := r.ReadMapStart() + if yyl1199 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1239, d) + x.codecDecodeSelfFromMap(yyl1199, d) } - } else if yyct1239 == codecSelferValueTypeArray1234 { - yyl1239 := r.ReadArrayStart() - if yyl1239 == 0 { + } else if yyct1199 == codecSelferValueTypeArray1234 { + yyl1199 := r.ReadArrayStart() + if yyl1199 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1239, d) + x.codecDecodeSelfFromArray(yyl1199, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -14813,12 +14367,12 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1240Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1240Slc - var yyhl1240 bool = l >= 0 - for yyj1240 := 0; ; yyj1240++ { - if yyhl1240 { - if yyj1240 >= l { + 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 { @@ -14827,38 +14381,38 @@ func (x *LabelSelector) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1240Slc = r.DecodeBytes(yys1240Slc, true, true) - yys1240 := string(yys1240Slc) + yys1200Slc = r.DecodeBytes(yys1200Slc, true, true) + yys1200 := string(yys1200Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1240 { + switch yys1200 { case "matchLabels": if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1241 := &x.MatchLabels - yym1242 := z.DecBinary() - _ = yym1242 + yyv1201 := &x.MatchLabels + yym1202 := z.DecBinary() + _ = yym1202 if false { } else { - z.F.DecMapStringStringX(yyv1241, false, d) + z.F.DecMapStringStringX(yyv1201, false, d) } } case "matchExpressions": if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1243 := &x.MatchExpressions - yym1244 := z.DecBinary() - _ = yym1244 + yyv1203 := &x.MatchExpressions + yym1204 := z.DecBinary() + _ = yym1204 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1243), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1203), d) } } default: - z.DecStructFieldNotFound(-1, yys1240) - } // end switch yys1240 - } // end for yyj1240 + z.DecStructFieldNotFound(-1, yys1200) + } // end switch yys1200 + } // end for yyj1200 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -14866,16 +14420,16 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1245 int - var yyb1245 bool - var yyhl1245 bool = l >= 0 - yyj1245++ - if yyhl1245 { - yyb1245 = yyj1245 > l + var yyj1205 int + var yyb1205 bool + var yyhl1205 bool = l >= 0 + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1245 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1245 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14883,21 +14437,21 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchLabels = nil } else { - yyv1246 := &x.MatchLabels - yym1247 := z.DecBinary() - _ = yym1247 + yyv1206 := &x.MatchLabels + yym1207 := z.DecBinary() + _ = yym1207 if false { } else { - z.F.DecMapStringStringX(yyv1246, false, d) + z.F.DecMapStringStringX(yyv1206, false, d) } } - yyj1245++ - if yyhl1245 { - yyb1245 = yyj1245 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1245 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1245 { + if yyb1205 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -14905,26 +14459,26 @@ func (x *LabelSelector) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.MatchExpressions = nil } else { - yyv1248 := &x.MatchExpressions - yym1249 := z.DecBinary() - _ = yym1249 + yyv1208 := &x.MatchExpressions + yym1209 := z.DecBinary() + _ = yym1209 if false { } else { - h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1248), d) + h.decSliceLabelSelectorRequirement((*[]LabelSelectorRequirement)(yyv1208), d) } } for { - yyj1245++ - if yyhl1245 { - yyb1245 = yyj1245 > l + yyj1205++ + if yyhl1205 { + yyb1205 = yyj1205 > l } else { - yyb1245 = r.CheckBreak() + yyb1205 = r.CheckBreak() } - if yyb1245 { + if yyb1205 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1245-1, "") + z.DecStructFieldNotFound(yyj1205-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -14936,34 +14490,34 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1250 := z.EncBinary() - _ = yym1250 + yym1210 := z.EncBinary() + _ = yym1210 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1251 := !z.EncBinary() - yy2arr1251 := z.EncBasicHandle().StructToArray - var yyq1251 [3]bool - _, _, _ = yysep1251, yyq1251, yy2arr1251 - const yyr1251 bool = false - yyq1251[2] = len(x.Values) != 0 - var yynn1251 int - if yyr1251 || yy2arr1251 { + 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 { - yynn1251 = 2 - for _, b := range yyq1251 { + yynn1211 = 2 + for _, b := range yyq1211 { if b { - yynn1251++ + yynn1211++ } } - r.EncodeMapStart(yynn1251) - yynn1251 = 0 + r.EncodeMapStart(yynn1211) + yynn1211 = 0 } - if yyr1251 || yy2arr1251 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1253 := z.EncBinary() - _ = yym1253 + yym1213 := z.EncBinary() + _ = yym1213 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) @@ -14972,14 +14526,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("key")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1254 := z.EncBinary() - _ = yym1254 + yym1214 := z.EncBinary() + _ = yym1214 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Key)) } } - if yyr1251 || yy2arr1251 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Operator.CodecEncodeSelf(e) } else { @@ -14988,14 +14542,14 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Operator.CodecEncodeSelf(e) } - if yyr1251 || yy2arr1251 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1251[2] { + if yyq1211[2] { if x.Values == nil { r.EncodeNil() } else { - yym1257 := z.EncBinary() - _ = yym1257 + yym1217 := z.EncBinary() + _ = yym1217 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -15005,15 +14559,15 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1251[2] { + if yyq1211[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("values")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Values == nil { r.EncodeNil() } else { - yym1258 := z.EncBinary() - _ = yym1258 + yym1218 := z.EncBinary() + _ = yym1218 if false { } else { z.F.EncSliceStringV(x.Values, false, e) @@ -15021,7 +14575,7 @@ func (x *LabelSelectorRequirement) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1251 || yy2arr1251 { + if yyr1211 || yy2arr1211 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15034,25 +14588,25 @@ func (x *LabelSelectorRequirement) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1259 := z.DecBinary() - _ = yym1259 + yym1219 := z.DecBinary() + _ = yym1219 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1260 := r.ContainerType() - if yyct1260 == codecSelferValueTypeMap1234 { - yyl1260 := r.ReadMapStart() - if yyl1260 == 0 { + yyct1220 := r.ContainerType() + if yyct1220 == codecSelferValueTypeMap1234 { + yyl1220 := r.ReadMapStart() + if yyl1220 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1260, d) + x.codecDecodeSelfFromMap(yyl1220, d) } - } else if yyct1260 == codecSelferValueTypeArray1234 { - yyl1260 := r.ReadArrayStart() - if yyl1260 == 0 { + } else if yyct1220 == codecSelferValueTypeArray1234 { + yyl1220 := r.ReadArrayStart() + if yyl1220 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1260, d) + x.codecDecodeSelfFromArray(yyl1220, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15064,12 +14618,12 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1261Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1261Slc - var yyhl1261 bool = l >= 0 - for yyj1261 := 0; ; yyj1261++ { - if yyhl1261 { - if yyj1261 >= l { + 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 { @@ -15078,10 +14632,10 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1261Slc = r.DecodeBytes(yys1261Slc, true, true) - yys1261 := string(yys1261Slc) + yys1221Slc = r.DecodeBytes(yys1221Slc, true, true) + yys1221 := string(yys1221Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1261 { + switch yys1221 { case "key": if r.TryDecodeAsNil() { x.Key = "" @@ -15098,18 +14652,18 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1264 := &x.Values - yym1265 := z.DecBinary() - _ = yym1265 + yyv1224 := &x.Values + yym1225 := z.DecBinary() + _ = yym1225 if false { } else { - z.F.DecSliceStringX(yyv1264, false, d) + z.F.DecSliceStringX(yyv1224, false, d) } } default: - z.DecStructFieldNotFound(-1, yys1261) - } // end switch yys1261 - } // end for yyj1261 + z.DecStructFieldNotFound(-1, yys1221) + } // end switch yys1221 + } // end for yyj1221 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15117,16 +14671,16 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1266 int - var yyb1266 bool - var yyhl1266 bool = l >= 0 - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + var yyj1226 int + var yyb1226 bool + var yyhl1226 bool = l >= 0 + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1266 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1266 { + if yyb1226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15136,13 +14690,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Key = string(r.DecodeString()) } - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1266 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1266 { + if yyb1226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15152,13 +14706,13 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Operator = LabelSelectorOperator(r.DecodeString()) } - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1266 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1266 { + if yyb1226 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15166,26 +14720,26 @@ func (x *LabelSelectorRequirement) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Values = nil } else { - yyv1269 := &x.Values - yym1270 := z.DecBinary() - _ = yym1270 + yyv1229 := &x.Values + yym1230 := z.DecBinary() + _ = yym1230 if false { } else { - z.F.DecSliceStringX(yyv1269, false, d) + z.F.DecSliceStringX(yyv1229, false, d) } } for { - yyj1266++ - if yyhl1266 { - yyb1266 = yyj1266 > l + yyj1226++ + if yyhl1226 { + yyb1226 = yyj1226 > l } else { - yyb1266 = r.CheckBreak() + yyb1226 = r.CheckBreak() } - if yyb1266 { + if yyb1226 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1266-1, "") + z.DecStructFieldNotFound(yyj1226-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15194,8 +14748,8 @@ func (x LabelSelectorOperator) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1271 := z.EncBinary() - _ = yym1271 + yym1231 := z.EncBinary() + _ = yym1231 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -15207,8 +14761,8 @@ func (x *LabelSelectorOperator) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1272 := z.DecBinary() - _ = yym1272 + yym1232 := z.DecBinary() + _ = yym1232 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -15223,39 +14777,39 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1273 := z.EncBinary() - _ = yym1273 + yym1233 := z.EncBinary() + _ = yym1233 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1274 := !z.EncBinary() - yy2arr1274 := z.EncBasicHandle().StructToArray - var yyq1274 [5]bool - _, _, _ = yysep1274, yyq1274, yy2arr1274 - const yyr1274 bool = false - yyq1274[0] = x.Kind != "" - yyq1274[1] = x.APIVersion != "" - yyq1274[2] = true - yyq1274[3] = true - yyq1274[4] = true - var yynn1274 int - if yyr1274 || yy2arr1274 { + 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 { - yynn1274 = 0 - for _, b := range yyq1274 { + yynn1234 = 0 + for _, b := range yyq1234 { if b { - yynn1274++ + yynn1234++ } } - r.EncodeMapStart(yynn1274) - yynn1274 = 0 + r.EncodeMapStart(yynn1234) + yynn1234 = 0 } - if yyr1274 || yy2arr1274 { + if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1274[0] { - yym1276 := z.EncBinary() - _ = yym1276 + if yyq1234[0] { + yym1236 := z.EncBinary() + _ = yym1236 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15264,23 +14818,23 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1274[0] { + if yyq1234[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1277 := z.EncBinary() - _ = yym1277 + yym1237 := z.EncBinary() + _ = yym1237 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1274 || yy2arr1274 { + if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1274[1] { - yym1279 := z.EncBinary() - _ = yym1279 + if yyq1234[1] { + yym1239 := z.EncBinary() + _ = yym1239 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15289,70 +14843,70 @@ func (x *ReplicaSet) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1274[1] { + if yyq1234[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1280 := z.EncBinary() - _ = yym1280 + yym1240 := z.EncBinary() + _ = yym1240 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1274 || yy2arr1274 { + if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1274[2] { - yy1282 := &x.ObjectMeta - yy1282.CodecEncodeSelf(e) + if yyq1234[2] { + yy1242 := &x.ObjectMeta + yy1242.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1274[2] { + if yyq1234[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1283 := &x.ObjectMeta - yy1283.CodecEncodeSelf(e) + yy1243 := &x.ObjectMeta + yy1243.CodecEncodeSelf(e) } } - if yyr1274 || yy2arr1274 { + if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1274[3] { - yy1285 := &x.Spec - yy1285.CodecEncodeSelf(e) + if yyq1234[3] { + yy1245 := &x.Spec + yy1245.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1274[3] { + if yyq1234[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1286 := &x.Spec - yy1286.CodecEncodeSelf(e) + yy1246 := &x.Spec + yy1246.CodecEncodeSelf(e) } } - if yyr1274 || yy2arr1274 { + if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1274[4] { - yy1288 := &x.Status - yy1288.CodecEncodeSelf(e) + if yyq1234[4] { + yy1248 := &x.Status + yy1248.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1274[4] { + if yyq1234[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("status")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1289 := &x.Status - yy1289.CodecEncodeSelf(e) + yy1249 := &x.Status + yy1249.CodecEncodeSelf(e) } } - if yyr1274 || yy2arr1274 { + if yyr1234 || yy2arr1234 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15365,25 +14919,25 @@ func (x *ReplicaSet) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1290 := z.DecBinary() - _ = yym1290 + yym1250 := z.DecBinary() + _ = yym1250 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1291 := r.ContainerType() - if yyct1291 == codecSelferValueTypeMap1234 { - yyl1291 := r.ReadMapStart() - if yyl1291 == 0 { + yyct1251 := r.ContainerType() + if yyct1251 == codecSelferValueTypeMap1234 { + yyl1251 := r.ReadMapStart() + if yyl1251 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1291, d) + x.codecDecodeSelfFromMap(yyl1251, d) } - } else if yyct1291 == codecSelferValueTypeArray1234 { - yyl1291 := r.ReadArrayStart() - if yyl1291 == 0 { + } else if yyct1251 == codecSelferValueTypeArray1234 { + yyl1251 := r.ReadArrayStart() + if yyl1251 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1291, d) + x.codecDecodeSelfFromArray(yyl1251, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15395,12 +14949,12 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1292Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1292Slc - var yyhl1292 bool = l >= 0 - for yyj1292 := 0; ; yyj1292++ { - if yyhl1292 { - if yyj1292 >= l { + var yys1252Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1252Slc + var yyhl1252 bool = l >= 0 + for yyj1252 := 0; ; yyj1252++ { + if yyhl1252 { + if yyj1252 >= l { break } } else { @@ -15409,10 +14963,10 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1292Slc = r.DecodeBytes(yys1292Slc, true, true) - yys1292 := string(yys1292Slc) + yys1252Slc = r.DecodeBytes(yys1252Slc, true, true) + yys1252 := string(yys1252Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1292 { + switch yys1252 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15429,27 +14983,27 @@ func (x *ReplicaSet) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1295 := &x.ObjectMeta - yyv1295.CodecDecodeSelf(d) + yyv1255 := &x.ObjectMeta + yyv1255.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1296 := &x.Spec - yyv1296.CodecDecodeSelf(d) + yyv1256 := &x.Spec + yyv1256.CodecDecodeSelf(d) } case "status": if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1297 := &x.Status - yyv1297.CodecDecodeSelf(d) + yyv1257 := &x.Status + yyv1257.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1292) - } // end switch yys1292 - } // end for yyj1292 + z.DecStructFieldNotFound(-1, yys1252) + } // end switch yys1252 + } // end for yyj1252 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15457,16 +15011,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1298 int - var yyb1298 bool - var yyhl1298 bool = l >= 0 - yyj1298++ - if yyhl1298 { - yyb1298 = yyj1298 > l + var yyj1258 int + var yyb1258 bool + var yyhl1258 bool = l >= 0 + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l } else { - yyb1298 = r.CheckBreak() + yyb1258 = r.CheckBreak() } - if yyb1298 { + if yyb1258 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15476,13 +15030,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1298++ - if yyhl1298 { - yyb1298 = yyj1298 > l + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l } else { - yyb1298 = r.CheckBreak() + yyb1258 = r.CheckBreak() } - if yyb1298 { + if yyb1258 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15492,13 +15046,13 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1298++ - if yyhl1298 { - yyb1298 = yyj1298 > l + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l } else { - yyb1298 = r.CheckBreak() + yyb1258 = r.CheckBreak() } - if yyb1298 { + if yyb1258 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15506,16 +15060,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1301 := &x.ObjectMeta - yyv1301.CodecDecodeSelf(d) + yyv1261 := &x.ObjectMeta + yyv1261.CodecDecodeSelf(d) } - yyj1298++ - if yyhl1298 { - yyb1298 = yyj1298 > l + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l } else { - yyb1298 = r.CheckBreak() + yyb1258 = r.CheckBreak() } - if yyb1298 { + if yyb1258 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15523,16 +15077,16 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = ReplicaSetSpec{} } else { - yyv1302 := &x.Spec - yyv1302.CodecDecodeSelf(d) + yyv1262 := &x.Spec + yyv1262.CodecDecodeSelf(d) } - yyj1298++ - if yyhl1298 { - yyb1298 = yyj1298 > l + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l } else { - yyb1298 = r.CheckBreak() + yyb1258 = r.CheckBreak() } - if yyb1298 { + if yyb1258 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15540,21 +15094,21 @@ func (x *ReplicaSet) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Status = ReplicaSetStatus{} } else { - yyv1303 := &x.Status - yyv1303.CodecDecodeSelf(d) + yyv1263 := &x.Status + yyv1263.CodecDecodeSelf(d) } for { - yyj1298++ - if yyhl1298 { - yyb1298 = yyj1298 > l + yyj1258++ + if yyhl1258 { + yyb1258 = yyj1258 > l } else { - yyb1298 = r.CheckBreak() + yyb1258 = r.CheckBreak() } - if yyb1298 { + if yyb1258 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1298-1, "") + z.DecStructFieldNotFound(yyj1258-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15566,37 +15120,37 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1304 := z.EncBinary() - _ = yym1304 + yym1264 := z.EncBinary() + _ = yym1264 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1305 := !z.EncBinary() - yy2arr1305 := z.EncBasicHandle().StructToArray - var yyq1305 [4]bool - _, _, _ = yysep1305, yyq1305, yy2arr1305 - const yyr1305 bool = false - yyq1305[0] = x.Kind != "" - yyq1305[1] = x.APIVersion != "" - yyq1305[2] = true - var yynn1305 int - if yyr1305 || yy2arr1305 { + 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 { r.EncodeArrayStart(4) } else { - yynn1305 = 1 - for _, b := range yyq1305 { + yynn1265 = 1 + for _, b := range yyq1265 { if b { - yynn1305++ + yynn1265++ } } - r.EncodeMapStart(yynn1305) - yynn1305 = 0 + r.EncodeMapStart(yynn1265) + yynn1265 = 0 } - if yyr1305 || yy2arr1305 { + if yyr1265 || yy2arr1265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1305[0] { - yym1307 := z.EncBinary() - _ = yym1307 + if yyq1265[0] { + yym1267 := z.EncBinary() + _ = yym1267 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -15605,23 +15159,23 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1305[0] { + if yyq1265[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1308 := z.EncBinary() - _ = yym1308 + yym1268 := z.EncBinary() + _ = yym1268 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1305 || yy2arr1305 { + if yyr1265 || yy2arr1265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1305[1] { - yym1310 := z.EncBinary() - _ = yym1310 + if yyq1265[1] { + yym1270 := z.EncBinary() + _ = yym1270 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -15630,54 +15184,54 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1305[1] { + if yyq1265[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1311 := z.EncBinary() - _ = yym1311 + yym1271 := z.EncBinary() + _ = yym1271 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1305 || yy2arr1305 { + if yyr1265 || yy2arr1265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1305[2] { - yy1313 := &x.ListMeta - yym1314 := z.EncBinary() - _ = yym1314 + if yyq1265[2] { + yy1273 := &x.ListMeta + yym1274 := z.EncBinary() + _ = yym1274 if false { - } else if z.HasExtensions() && z.EncExt(yy1313) { + } else if z.HasExtensions() && z.EncExt(yy1273) { } else { - z.EncFallback(yy1313) + z.EncFallback(yy1273) } } else { r.EncodeNil() } } else { - if yyq1305[2] { + if yyq1265[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1315 := &x.ListMeta - yym1316 := z.EncBinary() - _ = yym1316 + yy1275 := &x.ListMeta + yym1276 := z.EncBinary() + _ = yym1276 if false { - } else if z.HasExtensions() && z.EncExt(yy1315) { + } else if z.HasExtensions() && z.EncExt(yy1275) { } else { - z.EncFallback(yy1315) + z.EncFallback(yy1275) } } } - if yyr1305 || yy2arr1305 { + if yyr1265 || yy2arr1265 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1318 := z.EncBinary() - _ = yym1318 + yym1278 := z.EncBinary() + _ = yym1278 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) @@ -15690,15 +15244,15 @@ func (x *ReplicaSetList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1319 := z.EncBinary() - _ = yym1319 + yym1279 := z.EncBinary() + _ = yym1279 if false { } else { h.encSliceReplicaSet(([]ReplicaSet)(x.Items), e) } } } - if yyr1305 || yy2arr1305 { + if yyr1265 || yy2arr1265 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -15711,25 +15265,25 @@ func (x *ReplicaSetList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1320 := z.DecBinary() - _ = yym1320 + yym1280 := z.DecBinary() + _ = yym1280 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1321 := r.ContainerType() - if yyct1321 == codecSelferValueTypeMap1234 { - yyl1321 := r.ReadMapStart() - if yyl1321 == 0 { + yyct1281 := r.ContainerType() + if yyct1281 == codecSelferValueTypeMap1234 { + yyl1281 := r.ReadMapStart() + if yyl1281 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1321, d) + x.codecDecodeSelfFromMap(yyl1281, d) } - } else if yyct1321 == codecSelferValueTypeArray1234 { - yyl1321 := r.ReadArrayStart() - if yyl1321 == 0 { + } else if yyct1281 == codecSelferValueTypeArray1234 { + yyl1281 := r.ReadArrayStart() + if yyl1281 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1321, d) + x.codecDecodeSelfFromArray(yyl1281, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -15741,12 +15295,12 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1322Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1322Slc - var yyhl1322 bool = l >= 0 - for yyj1322 := 0; ; yyj1322++ { - if yyhl1322 { - if yyj1322 >= l { + var yys1282Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1282Slc + var yyhl1282 bool = l >= 0 + for yyj1282 := 0; ; yyj1282++ { + if yyhl1282 { + if yyj1282 >= l { break } } else { @@ -15755,10 +15309,10 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1322Slc = r.DecodeBytes(yys1322Slc, true, true) - yys1322 := string(yys1322Slc) + yys1282Slc = r.DecodeBytes(yys1282Slc, true, true) + yys1282 := string(yys1282Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1322 { + switch yys1282 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -15775,31 +15329,31 @@ func (x *ReplicaSetList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1325 := &x.ListMeta - yym1326 := z.DecBinary() - _ = yym1326 + yyv1285 := &x.ListMeta + yym1286 := z.DecBinary() + _ = yym1286 if false { - } else if z.HasExtensions() && z.DecExt(yyv1325) { + } else if z.HasExtensions() && z.DecExt(yyv1285) { } else { - z.DecFallback(yyv1325, false) + z.DecFallback(yyv1285, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1327 := &x.Items - yym1328 := z.DecBinary() - _ = yym1328 + yyv1287 := &x.Items + yym1288 := z.DecBinary() + _ = yym1288 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1327), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1287), d) } } default: - z.DecStructFieldNotFound(-1, yys1322) - } // end switch yys1322 - } // end for yyj1322 + z.DecStructFieldNotFound(-1, yys1282) + } // end switch yys1282 + } // end for yyj1282 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -15807,16 +15361,16 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1329 int - var yyb1329 bool - var yyhl1329 bool = l >= 0 - yyj1329++ - if yyhl1329 { - yyb1329 = yyj1329 > l + var yyj1289 int + var yyb1289 bool + var yyhl1289 bool = l >= 0 + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1329 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1329 { + if yyb1289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15826,13 +15380,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1329++ - if yyhl1329 { - yyb1329 = yyj1329 > l + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1329 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1329 { + if yyb1289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15842,13 +15396,13 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1329++ - if yyhl1329 { - yyb1329 = yyj1329 > l + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1329 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1329 { + if yyb1289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15856,22 +15410,22 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1332 := &x.ListMeta - yym1333 := z.DecBinary() - _ = yym1333 + yyv1292 := &x.ListMeta + yym1293 := z.DecBinary() + _ = yym1293 if false { - } else if z.HasExtensions() && z.DecExt(yyv1332) { + } else if z.HasExtensions() && z.DecExt(yyv1292) { } else { - z.DecFallback(yyv1332, false) + z.DecFallback(yyv1292, false) } } - yyj1329++ - if yyhl1329 { - yyb1329 = yyj1329 > l + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1329 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1329 { + if yyb1289 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -15879,26 +15433,26 @@ func (x *ReplicaSetList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1334 := &x.Items - yym1335 := z.DecBinary() - _ = yym1335 + yyv1294 := &x.Items + yym1295 := z.DecBinary() + _ = yym1295 if false { } else { - h.decSliceReplicaSet((*[]ReplicaSet)(yyv1334), d) + h.decSliceReplicaSet((*[]ReplicaSet)(yyv1294), d) } } for { - yyj1329++ - if yyhl1329 { - yyb1329 = yyj1329 > l + yyj1289++ + if yyhl1289 { + yyb1289 = yyj1289 > l } else { - yyb1329 = r.CheckBreak() + yyb1289 = r.CheckBreak() } - if yyb1329 { + if yyb1289 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1329-1, "") + z.DecStructFieldNotFound(yyj1289-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -15910,70 +15464,96 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1336 := z.EncBinary() - _ = yym1336 + yym1296 := z.EncBinary() + _ = yym1296 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1337 := !z.EncBinary() - yy2arr1337 := z.EncBasicHandle().StructToArray - var yyq1337 [3]bool - _, _, _ = yysep1337, yyq1337, yy2arr1337 - const yyr1337 bool = false - yyq1337[0] = x.Replicas != nil - yyq1337[1] = x.Selector != nil - yyq1337[2] = true - var yynn1337 int - if yyr1337 || yy2arr1337 { - r.EncodeArrayStart(3) + 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 { - yynn1337 = 0 - for _, b := range yyq1337 { + yynn1297 = 0 + for _, b := range yyq1297 { if b { - yynn1337++ + yynn1297++ } } - r.EncodeMapStart(yynn1337) - yynn1337 = 0 + r.EncodeMapStart(yynn1297) + yynn1297 = 0 } - if yyr1337 || yy2arr1337 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1337[0] { + if yyq1297[0] { if x.Replicas == nil { r.EncodeNil() } else { - yy1339 := *x.Replicas - yym1340 := z.EncBinary() - _ = yym1340 + yy1299 := *x.Replicas + yym1300 := z.EncBinary() + _ = yym1300 if false { } else { - r.EncodeInt(int64(yy1339)) + r.EncodeInt(int64(yy1299)) } } } else { r.EncodeNil() } } else { - if yyq1337[0] { + if yyq1297[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Replicas == nil { r.EncodeNil() } else { - yy1341 := *x.Replicas - yym1342 := z.EncBinary() - _ = yym1342 + yy1301 := *x.Replicas + yym1302 := z.EncBinary() + _ = yym1302 if false { } else { - r.EncodeInt(int64(yy1341)) + r.EncodeInt(int64(yy1301)) } } } } - if yyr1337 || yy2arr1337 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1337[1] { + 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 { @@ -15983,7 +15563,7 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1337[1] { + if yyq1297[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("selector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -15994,24 +15574,24 @@ func (x *ReplicaSetSpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1337 || yy2arr1337 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1337[2] { - yy1345 := &x.Template - yy1345.CodecEncodeSelf(e) + if yyq1297[3] { + yy1308 := &x.Template + yy1308.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1337[2] { + if yyq1297[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("template")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1346 := &x.Template - yy1346.CodecEncodeSelf(e) + yy1309 := &x.Template + yy1309.CodecEncodeSelf(e) } } - if yyr1337 || yy2arr1337 { + if yyr1297 || yy2arr1297 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16024,25 +15604,25 @@ func (x *ReplicaSetSpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1347 := z.DecBinary() - _ = yym1347 + yym1310 := z.DecBinary() + _ = yym1310 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1348 := r.ContainerType() - if yyct1348 == codecSelferValueTypeMap1234 { - yyl1348 := r.ReadMapStart() - if yyl1348 == 0 { + yyct1311 := r.ContainerType() + if yyct1311 == codecSelferValueTypeMap1234 { + yyl1311 := r.ReadMapStart() + if yyl1311 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1348, d) + x.codecDecodeSelfFromMap(yyl1311, d) } - } else if yyct1348 == codecSelferValueTypeArray1234 { - yyl1348 := r.ReadArrayStart() - if yyl1348 == 0 { + } else if yyct1311 == codecSelferValueTypeArray1234 { + yyl1311 := r.ReadArrayStart() + if yyl1311 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1348, d) + x.codecDecodeSelfFromArray(yyl1311, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16054,12 +15634,12 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1349Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1349Slc - var yyhl1349 bool = l >= 0 - for yyj1349 := 0; ; yyj1349++ { - if yyhl1349 { - if yyj1349 >= l { + 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 { @@ -16068,10 +15648,10 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1349Slc = r.DecodeBytes(yys1349Slc, true, true) - yys1349 := string(yys1349Slc) + yys1312Slc = r.DecodeBytes(yys1312Slc, true, true) + yys1312 := string(yys1312Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1349 { + switch yys1312 { case "replicas": if r.TryDecodeAsNil() { if x.Replicas != nil { @@ -16081,13 +15661,19 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1351 := z.DecBinary() - _ = yym1351 + 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 { @@ -16103,13 +15689,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1353 := &x.Template - yyv1353.CodecDecodeSelf(d) + yyv1317 := &x.Template + yyv1317.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1349) - } // end switch yys1349 - } // end for yyj1349 + z.DecStructFieldNotFound(-1, yys1312) + } // end switch yys1312 + } // end for yyj1312 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16117,16 +15703,16 @@ func (x *ReplicaSetSpec) 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 yyj1318 int + var yyb1318 bool + var yyhl1318 bool = l >= 0 + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1354 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1354 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16139,20 +15725,36 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if x.Replicas == nil { x.Replicas = new(int32) } - yym1356 := z.DecBinary() - _ = yym1356 + yym1320 := z.DecBinary() + _ = yym1320 if false { } else { *((*int32)(x.Replicas)) = int32(r.DecodeInt(32)) } } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1354 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1354 { + 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 } @@ -16167,13 +15769,13 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } x.Selector.CodecDecodeSelf(d) } - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1354 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1354 { + if yyb1318 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16181,21 +15783,21 @@ func (x *ReplicaSetSpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Template = pkg2_v1.PodTemplateSpec{} } else { - yyv1358 := &x.Template - yyv1358.CodecDecodeSelf(d) + yyv1323 := &x.Template + yyv1323.CodecDecodeSelf(d) } for { - yyj1354++ - if yyhl1354 { - yyb1354 = yyj1354 > l + yyj1318++ + if yyhl1318 { + yyb1318 = yyj1318 > l } else { - yyb1354 = r.CheckBreak() + yyb1318 = r.CheckBreak() } - if yyb1354 { + if yyb1318 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1354-1, "") + z.DecStructFieldNotFound(yyj1318-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16207,36 +15809,38 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1359 := z.EncBinary() - _ = yym1359 + yym1324 := z.EncBinary() + _ = yym1324 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1360 := !z.EncBinary() - yy2arr1360 := z.EncBasicHandle().StructToArray - var yyq1360 [4]bool - _, _, _ = yysep1360, yyq1360, yy2arr1360 - const yyr1360 bool = false - yyq1360[1] = x.FullyLabeledReplicas != 0 - yyq1360[2] = x.ReadyReplicas != 0 - yyq1360[3] = x.ObservedGeneration != 0 - var yynn1360 int - if yyr1360 || yy2arr1360 { - r.EncodeArrayStart(4) + 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 { + r.EncodeArrayStart(6) } else { - yynn1360 = 1 - for _, b := range yyq1360 { + yynn1325 = 1 + for _, b := range yyq1325 { if b { - yynn1360++ + yynn1325++ } } - r.EncodeMapStart(yynn1360) - yynn1360 = 0 + r.EncodeMapStart(yynn1325) + yynn1325 = 0 } - if yyr1360 || yy2arr1360 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1362 := z.EncBinary() - _ = yym1362 + yym1327 := z.EncBinary() + _ = yym1327 if false { } else { r.EncodeInt(int64(x.Replicas)) @@ -16245,18 +15849,18 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("replicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1363 := z.EncBinary() - _ = yym1363 + yym1328 := z.EncBinary() + _ = yym1328 if false { } else { r.EncodeInt(int64(x.Replicas)) } } - if yyr1360 || yy2arr1360 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1360[1] { - yym1365 := z.EncBinary() - _ = yym1365 + if yyq1325[1] { + yym1330 := z.EncBinary() + _ = yym1330 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) @@ -16265,23 +15869,23 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1360[1] { + if yyq1325[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fullyLabeledReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1366 := z.EncBinary() - _ = yym1366 + yym1331 := z.EncBinary() + _ = yym1331 if false { } else { r.EncodeInt(int64(x.FullyLabeledReplicas)) } } } - if yyr1360 || yy2arr1360 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1360[2] { - yym1368 := z.EncBinary() - _ = yym1368 + if yyq1325[2] { + yym1333 := z.EncBinary() + _ = yym1333 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) @@ -16290,23 +15894,48 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1360[2] { + if yyq1325[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readyReplicas")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1369 := z.EncBinary() - _ = yym1369 + yym1334 := z.EncBinary() + _ = yym1334 if false { } else { r.EncodeInt(int64(x.ReadyReplicas)) } } } - if yyr1360 || yy2arr1360 { + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1360[3] { - yym1371 := z.EncBinary() - _ = yym1371 + if yyq1325[3] { + yym1336 := z.EncBinary() + _ = yym1336 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } else { + r.EncodeInt(0) + } + } else { + if yyq1325[3] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("availableReplicas")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1337 := z.EncBinary() + _ = yym1337 + if false { + } else { + r.EncodeInt(int64(x.AvailableReplicas)) + } + } + } + if yyr1325 || yy2arr1325 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1325[4] { + yym1339 := z.EncBinary() + _ = yym1339 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) @@ -16315,19 +15944,52 @@ func (x *ReplicaSetStatus) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeInt(0) } } else { - if yyq1360[3] { + if yyq1325[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("observedGeneration")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1372 := z.EncBinary() - _ = yym1372 + yym1340 := z.EncBinary() + _ = yym1340 if false { } else { r.EncodeInt(int64(x.ObservedGeneration)) } } } - if yyr1360 || yy2arr1360 { + if yyr1325 || yy2arr1325 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1325[5] { + if x.Conditions == nil { + r.EncodeNil() + } else { + yym1342 := z.EncBinary() + _ = yym1342 + if false { + } else { + h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) + } + } + } else { + r.EncodeNil() + } + } else { + if yyq1325[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 + if false { + } else { + h.encSliceReplicaSetCondition(([]ReplicaSetCondition)(x.Conditions), e) + } + } + } + } + if yyr1325 || yy2arr1325 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16340,25 +16002,25 @@ func (x *ReplicaSetStatus) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1373 := z.DecBinary() - _ = yym1373 + yym1344 := z.DecBinary() + _ = yym1344 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1374 := r.ContainerType() - if yyct1374 == codecSelferValueTypeMap1234 { - yyl1374 := r.ReadMapStart() - if yyl1374 == 0 { + yyct1345 := r.ContainerType() + if yyct1345 == codecSelferValueTypeMap1234 { + yyl1345 := r.ReadMapStart() + if yyl1345 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1374, d) + x.codecDecodeSelfFromMap(yyl1345, d) } - } else if yyct1374 == codecSelferValueTypeArray1234 { - yyl1374 := r.ReadArrayStart() - if yyl1374 == 0 { + } else if yyct1345 == codecSelferValueTypeArray1234 { + yyl1345 := r.ReadArrayStart() + if yyl1345 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1374, d) + x.codecDecodeSelfFromArray(yyl1345, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16370,12 +16032,12 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1375Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1375Slc - var yyhl1375 bool = l >= 0 - for yyj1375 := 0; ; yyj1375++ { - if yyhl1375 { - if yyj1375 >= l { + var yys1346Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1346Slc + var yyhl1346 bool = l >= 0 + for yyj1346 := 0; ; yyj1346++ { + if yyhl1346 { + if yyj1346 >= l { break } } else { @@ -16384,10 +16046,10 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1375Slc = r.DecodeBytes(yys1375Slc, true, true) - yys1375 := string(yys1375Slc) + yys1346Slc = r.DecodeBytes(yys1346Slc, true, true) + yys1346 := string(yys1346Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1375 { + switch yys1346 { case "replicas": if r.TryDecodeAsNil() { x.Replicas = 0 @@ -16406,16 +16068,34 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } + case "availableReplicas": + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } case "observedGeneration": if r.TryDecodeAsNil() { x.ObservedGeneration = 0 } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } + case "conditions": + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv1352 := &x.Conditions + yym1353 := z.DecBinary() + _ = yym1353 + if false { + } else { + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1352), d) + } + } default: - z.DecStructFieldNotFound(-1, yys1375) - } // end switch yys1375 - } // end for yyj1375 + z.DecStructFieldNotFound(-1, yys1346) + } // end switch yys1346 + } // end for yyj1346 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16423,16 +16103,16 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1380 int - var yyb1380 bool - var yyhl1380 bool = l >= 0 - yyj1380++ - if yyhl1380 { - yyb1380 = yyj1380 > l + var yyj1354 int + var yyb1354 bool + var yyhl1354 bool = l >= 0 + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1380 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1380 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16442,13 +16122,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.Replicas = int32(r.DecodeInt(32)) } - yyj1380++ - if yyhl1380 { - yyb1380 = yyj1380 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1380 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1380 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16458,13 +16138,13 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.FullyLabeledReplicas = int32(r.DecodeInt(32)) } - yyj1380++ - if yyhl1380 { - yyb1380 = yyj1380 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1380 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1380 { + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16474,13 +16154,29 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ReadyReplicas = int32(r.DecodeInt(32)) } - yyj1380++ - if yyhl1380 { - yyb1380 = yyj1380 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l } else { - yyb1380 = r.CheckBreak() + yyb1354 = r.CheckBreak() } - if yyb1380 { + if yyb1354 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.AvailableReplicas = 0 + } else { + x.AvailableReplicas = int32(r.DecodeInt(32)) + } + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l + } else { + yyb1354 = r.CheckBreak() + } + if yyb1354 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16490,18 +16186,521 @@ func (x *ReplicaSetStatus) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) } else { x.ObservedGeneration = int64(r.DecodeInt(64)) } - for { - yyj1380++ - if yyhl1380 { - yyb1380 = yyj1380 > l + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l + } else { + yyb1354 = r.CheckBreak() + } + if yyb1354 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Conditions = nil + } else { + yyv1360 := &x.Conditions + yym1361 := z.DecBinary() + _ = yym1361 + if false { } else { - yyb1380 = r.CheckBreak() + h.decSliceReplicaSetCondition((*[]ReplicaSetCondition)(yyv1360), d) } - if yyb1380 { + } + for { + yyj1354++ + if yyhl1354 { + yyb1354 = yyj1354 > l + } else { + yyb1354 = r.CheckBreak() + } + if yyb1354 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1380-1, "") + z.DecStructFieldNotFound(yyj1354-1, "") + } + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) +} + +func (x ReplicaSetConditionType) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + yym1362 := z.EncBinary() + _ = yym1362 + if false { + } else if z.HasExtensions() && z.EncExt(x) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x)) + } +} + +func (x *ReplicaSetConditionType) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1363 := z.DecBinary() + _ = yym1363 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + *((*string)(x)) = r.DecodeString() + } +} + +func (x *ReplicaSetCondition) CodecEncodeSelf(e *codec1978.Encoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperEncoder(e) + _, _, _ = h, z, r + if x == nil { + r.EncodeNil() + } else { + yym1364 := z.EncBinary() + _ = yym1364 + 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) + } else { + yynn1365 = 2 + for _, b := range yyq1365 { + if b { + yynn1365++ + } + } + r.EncodeMapStart(yynn1365) + yynn1365 = 0 + } + if yyr1365 || yy2arr1365 { + 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 yyr1365 || yy2arr1365 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yym1368 := z.EncBinary() + _ = yym1368 + 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) + yym1369 := z.EncBinary() + _ = yym1369 + if false { + } else if z.HasExtensions() && z.EncExt(x.Status) { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Status)) + } + } + if yyr1365 || yy2arr1365 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1365[2] { + yy1371 := &x.LastProbeTime + yym1372 := z.EncBinary() + _ = yym1372 + if false { + } else if z.HasExtensions() && z.EncExt(yy1371) { + } else if yym1372 { + z.EncBinaryMarshal(yy1371) + } else if !yym1372 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1371) + } else { + z.EncFallback(yy1371) + } + } 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] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("lastTransitionTime")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yy1378 := &x.LastTransitionTime + yym1379 := z.EncBinary() + _ = yym1379 + if false { + } else if z.HasExtensions() && z.EncExt(yy1378) { + } else if yym1379 { + z.EncBinaryMarshal(yy1378) + } else if !yym1379 && z.IsJSONHandle() { + z.EncJSONMarshal(yy1378) + } else { + z.EncFallback(yy1378) + } + } + } + if yyr1365 || yy2arr1365 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1365[4] { + yym1381 := z.EncBinary() + _ = yym1381 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1365[4] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("reason")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1382 := z.EncBinary() + _ = yym1382 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Reason)) + } + } + } + if yyr1365 || yy2arr1365 { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + if yyq1365[5] { + yym1384 := z.EncBinary() + _ = yym1384 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } else { + r.EncodeString(codecSelferC_UTF81234, "") + } + } else { + if yyq1365[5] { + z.EncSendContainerState(codecSelfer_containerMapKey1234) + r.EncodeString(codecSelferC_UTF81234, string("message")) + z.EncSendContainerState(codecSelfer_containerMapValue1234) + yym1385 := z.EncBinary() + _ = yym1385 + if false { + } else { + r.EncodeString(codecSelferC_UTF81234, string(x.Message)) + } + } + } + if yyr1365 || yy2arr1365 { + z.EncSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + z.EncSendContainerState(codecSelfer_containerMapEnd1234) + } + } + } +} + +func (x *ReplicaSetCondition) CodecDecodeSelf(d *codec1978.Decoder) { + var h codecSelfer1234 + z, r := codec1978.GenHelperDecoder(d) + _, _, _ = h, z, r + yym1386 := z.DecBinary() + _ = yym1386 + if false { + } else if z.HasExtensions() && z.DecExt(x) { + } else { + yyct1387 := r.ContainerType() + if yyct1387 == codecSelferValueTypeMap1234 { + yyl1387 := r.ReadMapStart() + if yyl1387 == 0 { + z.DecSendContainerState(codecSelfer_containerMapEnd1234) + } else { + x.codecDecodeSelfFromMap(yyl1387, d) + } + } else if yyct1387 == codecSelferValueTypeArray1234 { + yyl1387 := r.ReadArrayStart() + if yyl1387 == 0 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + } else { + x.codecDecodeSelfFromArray(yyl1387, d) + } + } else { + panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) + } + } +} + +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 { + break + } + } else { + if r.CheckBreak() { + break + } + } + z.DecSendContainerState(codecSelfer_containerMapKey1234) + yys1388Slc = r.DecodeBytes(yys1388Slc, true, true) + yys1388 := string(yys1388Slc) + z.DecSendContainerState(codecSelfer_containerMapValue1234) + switch yys1388 { + case "type": + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicaSetConditionType(r.DecodeString()) + } + case "status": + if r.TryDecodeAsNil() { + x.Status = "" + } 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 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1393) { + } else if yym1394 { + z.DecBinaryUnmarshal(yyv1393) + } else if !yym1394 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1393) + } else { + z.DecFallback(yyv1393, 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, yys1388) + } // end switch yys1388 + } // end for yyj1388 + z.DecSendContainerState(codecSelfer_containerMapEnd1234) +} + +func (x *ReplicaSetCondition) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { + 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 + } else { + yyb1397 = r.CheckBreak() + } + if yyb1397 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Type = "" + } else { + x.Type = ReplicaSetConditionType(r.DecodeString()) + } + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l + } else { + yyb1397 = r.CheckBreak() + } + if yyb1397 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Status = "" + } else { + x.Status = pkg2_v1.ConditionStatus(r.DecodeString()) + } + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l + } else { + yyb1397 = 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 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.LastTransitionTime = pkg1_unversioned.Time{} + } else { + yyv1402 := &x.LastTransitionTime + yym1403 := z.DecBinary() + _ = yym1403 + if false { + } else if z.HasExtensions() && z.DecExt(yyv1402) { + } else if yym1403 { + z.DecBinaryUnmarshal(yyv1402) + } else if !yym1403 && z.IsJSONHandle() { + z.DecJSONUnmarshal(yyv1402) + } else { + z.DecFallback(yyv1402, false) + } + } + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l + } else { + yyb1397 = r.CheckBreak() + } + if yyb1397 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Reason = "" + } else { + x.Reason = string(r.DecodeString()) + } + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l + } else { + yyb1397 = r.CheckBreak() + } + if yyb1397 { + z.DecSendContainerState(codecSelfer_containerArrayEnd1234) + return + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + if r.TryDecodeAsNil() { + x.Message = "" + } else { + x.Message = string(r.DecodeString()) + } + for { + yyj1397++ + if yyhl1397 { + yyb1397 = yyj1397 > l + } else { + yyb1397 = r.CheckBreak() + } + if yyb1397 { + break + } + z.DecSendContainerState(codecSelfer_containerArrayElem1234) + z.DecStructFieldNotFound(yyj1397-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16513,38 +16712,38 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1385 := z.EncBinary() - _ = yym1385 + yym1406 := z.EncBinary() + _ = yym1406 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1386 := !z.EncBinary() - yy2arr1386 := z.EncBasicHandle().StructToArray - var yyq1386 [4]bool - _, _, _ = yysep1386, yyq1386, yy2arr1386 - const yyr1386 bool = false - yyq1386[0] = x.Kind != "" - yyq1386[1] = x.APIVersion != "" - yyq1386[2] = true - yyq1386[3] = true - var yynn1386 int - if yyr1386 || yy2arr1386 { + 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 { r.EncodeArrayStart(4) } else { - yynn1386 = 0 - for _, b := range yyq1386 { + yynn1407 = 0 + for _, b := range yyq1407 { if b { - yynn1386++ + yynn1407++ } } - r.EncodeMapStart(yynn1386) - yynn1386 = 0 + r.EncodeMapStart(yynn1407) + yynn1407 = 0 } - if yyr1386 || yy2arr1386 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1386[0] { - yym1388 := z.EncBinary() - _ = yym1388 + if yyq1407[0] { + yym1409 := z.EncBinary() + _ = yym1409 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -16553,23 +16752,23 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1386[0] { + if yyq1407[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1389 := z.EncBinary() - _ = yym1389 + yym1410 := z.EncBinary() + _ = yym1410 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1386 || yy2arr1386 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1386[1] { - yym1391 := z.EncBinary() - _ = yym1391 + if yyq1407[1] { + yym1412 := z.EncBinary() + _ = yym1412 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -16578,53 +16777,53 @@ func (x *PodSecurityPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1386[1] { + if yyq1407[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1392 := z.EncBinary() - _ = yym1392 + yym1413 := z.EncBinary() + _ = yym1413 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1386 || yy2arr1386 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1386[2] { - yy1394 := &x.ObjectMeta - yy1394.CodecEncodeSelf(e) + if yyq1407[2] { + yy1415 := &x.ObjectMeta + yy1415.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1386[2] { + if yyq1407[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1395 := &x.ObjectMeta - yy1395.CodecEncodeSelf(e) + yy1416 := &x.ObjectMeta + yy1416.CodecEncodeSelf(e) } } - if yyr1386 || yy2arr1386 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1386[3] { - yy1397 := &x.Spec - yy1397.CodecEncodeSelf(e) + if yyq1407[3] { + yy1418 := &x.Spec + yy1418.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1386[3] { + if yyq1407[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1398 := &x.Spec - yy1398.CodecEncodeSelf(e) + yy1419 := &x.Spec + yy1419.CodecEncodeSelf(e) } } - if yyr1386 || yy2arr1386 { + if yyr1407 || yy2arr1407 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -16637,25 +16836,25 @@ func (x *PodSecurityPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1399 := z.DecBinary() - _ = yym1399 + yym1420 := z.DecBinary() + _ = yym1420 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1400 := r.ContainerType() - if yyct1400 == codecSelferValueTypeMap1234 { - yyl1400 := r.ReadMapStart() - if yyl1400 == 0 { + yyct1421 := r.ContainerType() + if yyct1421 == codecSelferValueTypeMap1234 { + yyl1421 := r.ReadMapStart() + if yyl1421 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1400, d) + x.codecDecodeSelfFromMap(yyl1421, d) } - } else if yyct1400 == codecSelferValueTypeArray1234 { - yyl1400 := r.ReadArrayStart() - if yyl1400 == 0 { + } else if yyct1421 == codecSelferValueTypeArray1234 { + yyl1421 := r.ReadArrayStart() + if yyl1421 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1400, d) + x.codecDecodeSelfFromArray(yyl1421, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -16667,12 +16866,12 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1401Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1401Slc - var yyhl1401 bool = l >= 0 - for yyj1401 := 0; ; yyj1401++ { - if yyhl1401 { - if yyj1401 >= l { + var yys1422Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1422Slc + var yyhl1422 bool = l >= 0 + for yyj1422 := 0; ; yyj1422++ { + if yyhl1422 { + if yyj1422 >= l { break } } else { @@ -16681,10 +16880,10 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1401Slc = r.DecodeBytes(yys1401Slc, true, true) - yys1401 := string(yys1401Slc) + yys1422Slc = r.DecodeBytes(yys1422Slc, true, true) + yys1422 := string(yys1422Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1401 { + switch yys1422 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -16701,20 +16900,20 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1404 := &x.ObjectMeta - yyv1404.CodecDecodeSelf(d) + yyv1425 := &x.ObjectMeta + yyv1425.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1405 := &x.Spec - yyv1405.CodecDecodeSelf(d) + yyv1426 := &x.Spec + yyv1426.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1401) - } // end switch yys1401 - } // end for yyj1401 + z.DecStructFieldNotFound(-1, yys1422) + } // end switch yys1422 + } // end for yyj1422 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -16722,16 +16921,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1406 int - var yyb1406 bool - var yyhl1406 bool = l >= 0 - yyj1406++ - if yyhl1406 { - yyb1406 = yyj1406 > l + var yyj1427 int + var yyb1427 bool + var yyhl1427 bool = l >= 0 + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1406 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1406 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16741,13 +16940,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1406++ - if yyhl1406 { - yyb1406 = yyj1406 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1406 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1406 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16757,13 +16956,13 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1406++ - if yyhl1406 { - yyb1406 = yyj1406 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1406 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1406 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16771,16 +16970,16 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1409 := &x.ObjectMeta - yyv1409.CodecDecodeSelf(d) + yyv1430 := &x.ObjectMeta + yyv1430.CodecDecodeSelf(d) } - yyj1406++ - if yyhl1406 { - yyb1406 = yyj1406 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1406 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1406 { + if yyb1427 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -16788,21 +16987,21 @@ func (x *PodSecurityPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Spec = PodSecurityPolicySpec{} } else { - yyv1410 := &x.Spec - yyv1410.CodecDecodeSelf(d) + yyv1431 := &x.Spec + yyv1431.CodecDecodeSelf(d) } for { - yyj1406++ - if yyhl1406 { - yyb1406 = yyj1406 > l + yyj1427++ + if yyhl1427 { + yyb1427 = yyj1427 > l } else { - yyb1406 = r.CheckBreak() + yyb1427 = r.CheckBreak() } - if yyb1406 { + if yyb1427 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1406-1, "") + z.DecStructFieldNotFound(yyj1427-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -16814,44 +17013,44 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1411 := z.EncBinary() - _ = yym1411 + yym1432 := z.EncBinary() + _ = yym1432 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1412 := !z.EncBinary() - yy2arr1412 := z.EncBasicHandle().StructToArray - var yyq1412 [14]bool - _, _, _ = yysep1412, yyq1412, yy2arr1412 - const yyr1412 bool = false - yyq1412[0] = x.Privileged != false - yyq1412[1] = len(x.DefaultAddCapabilities) != 0 - yyq1412[2] = len(x.RequiredDropCapabilities) != 0 - yyq1412[3] = len(x.AllowedCapabilities) != 0 - yyq1412[4] = len(x.Volumes) != 0 - yyq1412[5] = x.HostNetwork != false - yyq1412[6] = len(x.HostPorts) != 0 - yyq1412[7] = x.HostPID != false - yyq1412[8] = x.HostIPC != false - yyq1412[13] = x.ReadOnlyRootFilesystem != false - var yynn1412 int - if yyr1412 || yy2arr1412 { + 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 { r.EncodeArrayStart(14) } else { - yynn1412 = 4 - for _, b := range yyq1412 { + yynn1433 = 4 + for _, b := range yyq1433 { if b { - yynn1412++ + yynn1433++ } } - r.EncodeMapStart(yynn1412) - yynn1412 = 0 + r.EncodeMapStart(yynn1433) + yynn1433 = 0 } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[0] { - yym1414 := z.EncBinary() - _ = yym1414 + if yyq1433[0] { + yym1435 := z.EncBinary() + _ = yym1435 if false { } else { r.EncodeBool(bool(x.Privileged)) @@ -16860,26 +17059,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1412[0] { + if yyq1433[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("privileged")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1415 := z.EncBinary() - _ = yym1415 + yym1436 := z.EncBinary() + _ = yym1436 if false { } else { r.EncodeBool(bool(x.Privileged)) } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[1] { + if yyq1433[1] { if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1417 := z.EncBinary() - _ = yym1417 + yym1438 := z.EncBinary() + _ = yym1438 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16889,15 +17088,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1412[1] { + if yyq1433[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("defaultAddCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.DefaultAddCapabilities == nil { r.EncodeNil() } else { - yym1418 := z.EncBinary() - _ = yym1418 + yym1439 := z.EncBinary() + _ = yym1439 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.DefaultAddCapabilities), e) @@ -16905,14 +17104,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[2] { + if yyq1433[2] { if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1420 := z.EncBinary() - _ = yym1420 + yym1441 := z.EncBinary() + _ = yym1441 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16922,15 +17121,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1412[2] { + if yyq1433[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("requiredDropCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.RequiredDropCapabilities == nil { r.EncodeNil() } else { - yym1421 := z.EncBinary() - _ = yym1421 + yym1442 := z.EncBinary() + _ = yym1442 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.RequiredDropCapabilities), e) @@ -16938,14 +17137,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[3] { + if yyq1433[3] { if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1423 := z.EncBinary() - _ = yym1423 + yym1444 := z.EncBinary() + _ = yym1444 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16955,15 +17154,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1412[3] { + if yyq1433[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("allowedCapabilities")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.AllowedCapabilities == nil { r.EncodeNil() } else { - yym1424 := z.EncBinary() - _ = yym1424 + yym1445 := z.EncBinary() + _ = yym1445 if false { } else { h.encSlicev1_Capability(([]pkg2_v1.Capability)(x.AllowedCapabilities), e) @@ -16971,14 +17170,14 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[4] { + if yyq1433[4] { if x.Volumes == nil { r.EncodeNil() } else { - yym1426 := z.EncBinary() - _ = yym1426 + yym1447 := z.EncBinary() + _ = yym1447 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -16988,15 +17187,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1412[4] { + if yyq1433[4] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("volumes")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Volumes == nil { r.EncodeNil() } else { - yym1427 := z.EncBinary() - _ = yym1427 + yym1448 := z.EncBinary() + _ = yym1448 if false { } else { h.encSliceFSType(([]FSType)(x.Volumes), e) @@ -17004,11 +17203,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[5] { - yym1429 := z.EncBinary() - _ = yym1429 + if yyq1433[5] { + yym1450 := z.EncBinary() + _ = yym1450 if false { } else { r.EncodeBool(bool(x.HostNetwork)) @@ -17017,26 +17216,26 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1412[5] { + if yyq1433[5] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostNetwork")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1430 := z.EncBinary() - _ = yym1430 + yym1451 := z.EncBinary() + _ = yym1451 if false { } else { r.EncodeBool(bool(x.HostNetwork)) } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[6] { + if yyq1433[6] { if x.HostPorts == nil { r.EncodeNil() } else { - yym1432 := z.EncBinary() - _ = yym1432 + yym1453 := z.EncBinary() + _ = yym1453 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17046,15 +17245,15 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1412[6] { + if yyq1433[6] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPorts")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.HostPorts == nil { r.EncodeNil() } else { - yym1433 := z.EncBinary() - _ = yym1433 + yym1454 := z.EncBinary() + _ = yym1454 if false { } else { h.encSliceHostPortRange(([]HostPortRange)(x.HostPorts), e) @@ -17062,11 +17261,11 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[7] { - yym1435 := z.EncBinary() - _ = yym1435 + if yyq1433[7] { + yym1456 := z.EncBinary() + _ = yym1456 if false { } else { r.EncodeBool(bool(x.HostPID)) @@ -17075,23 +17274,23 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1412[7] { + if yyq1433[7] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostPID")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1436 := z.EncBinary() - _ = yym1436 + yym1457 := z.EncBinary() + _ = yym1457 if false { } else { r.EncodeBool(bool(x.HostPID)) } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[8] { - yym1438 := z.EncBinary() - _ = yym1438 + if yyq1433[8] { + yym1459 := z.EncBinary() + _ = yym1459 if false { } else { r.EncodeBool(bool(x.HostIPC)) @@ -17100,67 +17299,67 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1412[8] { + if yyq1433[8] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("hostIPC")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1439 := z.EncBinary() - _ = yym1439 + yym1460 := z.EncBinary() + _ = yym1460 if false { } else { r.EncodeBool(bool(x.HostIPC)) } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1441 := &x.SELinux - yy1441.CodecEncodeSelf(e) + yy1462 := &x.SELinux + yy1462.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinux")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1442 := &x.SELinux - yy1442.CodecEncodeSelf(e) + yy1463 := &x.SELinux + yy1463.CodecEncodeSelf(e) } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1444 := &x.RunAsUser - yy1444.CodecEncodeSelf(e) + yy1465 := &x.RunAsUser + yy1465.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("runAsUser")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1445 := &x.RunAsUser - yy1445.CodecEncodeSelf(e) + yy1466 := &x.RunAsUser + yy1466.CodecEncodeSelf(e) } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1447 := &x.SupplementalGroups - yy1447.CodecEncodeSelf(e) + yy1468 := &x.SupplementalGroups + yy1468.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("supplementalGroups")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1448 := &x.SupplementalGroups - yy1448.CodecEncodeSelf(e) + yy1469 := &x.SupplementalGroups + yy1469.CodecEncodeSelf(e) } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1450 := &x.FSGroup - yy1450.CodecEncodeSelf(e) + yy1471 := &x.FSGroup + yy1471.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("fsGroup")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1451 := &x.FSGroup - yy1451.CodecEncodeSelf(e) + yy1472 := &x.FSGroup + yy1472.CodecEncodeSelf(e) } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1412[13] { - yym1453 := z.EncBinary() - _ = yym1453 + if yyq1433[13] { + yym1474 := z.EncBinary() + _ = yym1474 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) @@ -17169,19 +17368,19 @@ func (x *PodSecurityPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeBool(false) } } else { - if yyq1412[13] { + if yyq1433[13] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("readOnlyRootFilesystem")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1454 := z.EncBinary() - _ = yym1454 + yym1475 := z.EncBinary() + _ = yym1475 if false { } else { r.EncodeBool(bool(x.ReadOnlyRootFilesystem)) } } } - if yyr1412 || yy2arr1412 { + if yyr1433 || yy2arr1433 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17194,25 +17393,25 @@ func (x *PodSecurityPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1455 := z.DecBinary() - _ = yym1455 + yym1476 := z.DecBinary() + _ = yym1476 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1456 := r.ContainerType() - if yyct1456 == codecSelferValueTypeMap1234 { - yyl1456 := r.ReadMapStart() - if yyl1456 == 0 { + yyct1477 := r.ContainerType() + if yyct1477 == codecSelferValueTypeMap1234 { + yyl1477 := r.ReadMapStart() + if yyl1477 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1456, d) + x.codecDecodeSelfFromMap(yyl1477, d) } - } else if yyct1456 == codecSelferValueTypeArray1234 { - yyl1456 := r.ReadArrayStart() - if yyl1456 == 0 { + } else if yyct1477 == codecSelferValueTypeArray1234 { + yyl1477 := r.ReadArrayStart() + if yyl1477 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1456, d) + x.codecDecodeSelfFromArray(yyl1477, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17224,12 +17423,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1457Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1457Slc - var yyhl1457 bool = l >= 0 - for yyj1457 := 0; ; yyj1457++ { - if yyhl1457 { - if yyj1457 >= l { + var yys1478Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1478Slc + var yyhl1478 bool = l >= 0 + for yyj1478 := 0; ; yyj1478++ { + if yyhl1478 { + if yyj1478 >= l { break } } else { @@ -17238,10 +17437,10 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1457Slc = r.DecodeBytes(yys1457Slc, true, true) - yys1457 := string(yys1457Slc) + yys1478Slc = r.DecodeBytes(yys1478Slc, true, true) + yys1478 := string(yys1478Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1457 { + switch yys1478 { case "privileged": if r.TryDecodeAsNil() { x.Privileged = false @@ -17252,48 +17451,48 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1459 := &x.DefaultAddCapabilities - yym1460 := z.DecBinary() - _ = yym1460 + yyv1480 := &x.DefaultAddCapabilities + yym1481 := z.DecBinary() + _ = yym1481 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1459), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1480), d) } } case "requiredDropCapabilities": if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1461 := &x.RequiredDropCapabilities - yym1462 := z.DecBinary() - _ = yym1462 + yyv1482 := &x.RequiredDropCapabilities + yym1483 := z.DecBinary() + _ = yym1483 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1461), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1482), d) } } case "allowedCapabilities": if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1463 := &x.AllowedCapabilities - yym1464 := z.DecBinary() - _ = yym1464 + yyv1484 := &x.AllowedCapabilities + yym1485 := z.DecBinary() + _ = yym1485 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1463), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1484), d) } } case "volumes": if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1465 := &x.Volumes - yym1466 := z.DecBinary() - _ = yym1466 + yyv1486 := &x.Volumes + yym1487 := z.DecBinary() + _ = yym1487 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1465), d) + h.decSliceFSType((*[]FSType)(yyv1486), d) } } case "hostNetwork": @@ -17306,12 +17505,12 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1468 := &x.HostPorts - yym1469 := z.DecBinary() - _ = yym1469 + yyv1489 := &x.HostPorts + yym1490 := z.DecBinary() + _ = yym1490 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1468), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1489), d) } } case "hostPID": @@ -17330,29 +17529,29 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1472 := &x.SELinux - yyv1472.CodecDecodeSelf(d) + yyv1493 := &x.SELinux + yyv1493.CodecDecodeSelf(d) } case "runAsUser": if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1473 := &x.RunAsUser - yyv1473.CodecDecodeSelf(d) + yyv1494 := &x.RunAsUser + yyv1494.CodecDecodeSelf(d) } case "supplementalGroups": if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1474 := &x.SupplementalGroups - yyv1474.CodecDecodeSelf(d) + yyv1495 := &x.SupplementalGroups + yyv1495.CodecDecodeSelf(d) } case "fsGroup": if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1475 := &x.FSGroup - yyv1475.CodecDecodeSelf(d) + yyv1496 := &x.FSGroup + yyv1496.CodecDecodeSelf(d) } case "readOnlyRootFilesystem": if r.TryDecodeAsNil() { @@ -17361,9 +17560,9 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decod x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } default: - z.DecStructFieldNotFound(-1, yys1457) - } // end switch yys1457 - } // end for yyj1457 + z.DecStructFieldNotFound(-1, yys1478) + } // end switch yys1478 + } // end for yyj1478 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17371,16 +17570,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1477 int - var yyb1477 bool - var yyhl1477 bool = l >= 0 - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + var yyj1498 int + var yyb1498 bool + var yyhl1498 bool = l >= 0 + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17390,13 +17589,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Privileged = bool(r.DecodeBool()) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17404,21 +17603,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.DefaultAddCapabilities = nil } else { - yyv1479 := &x.DefaultAddCapabilities - yym1480 := z.DecBinary() - _ = yym1480 + yyv1500 := &x.DefaultAddCapabilities + yym1501 := z.DecBinary() + _ = yym1501 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1479), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1500), d) } } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17426,21 +17625,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RequiredDropCapabilities = nil } else { - yyv1481 := &x.RequiredDropCapabilities - yym1482 := z.DecBinary() - _ = yym1482 + yyv1502 := &x.RequiredDropCapabilities + yym1503 := z.DecBinary() + _ = yym1503 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1481), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1502), d) } } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17448,21 +17647,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.AllowedCapabilities = nil } else { - yyv1483 := &x.AllowedCapabilities - yym1484 := z.DecBinary() - _ = yym1484 + yyv1504 := &x.AllowedCapabilities + yym1505 := z.DecBinary() + _ = yym1505 if false { } else { - h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1483), d) + h.decSlicev1_Capability((*[]pkg2_v1.Capability)(yyv1504), d) } } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17470,21 +17669,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Volumes = nil } else { - yyv1485 := &x.Volumes - yym1486 := z.DecBinary() - _ = yym1486 + yyv1506 := &x.Volumes + yym1507 := z.DecBinary() + _ = yym1507 if false { } else { - h.decSliceFSType((*[]FSType)(yyv1485), d) + h.decSliceFSType((*[]FSType)(yyv1506), d) } } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17494,13 +17693,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostNetwork = bool(r.DecodeBool()) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17508,21 +17707,21 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.HostPorts = nil } else { - yyv1488 := &x.HostPorts - yym1489 := z.DecBinary() - _ = yym1489 + yyv1509 := &x.HostPorts + yym1510 := z.DecBinary() + _ = yym1510 if false { } else { - h.decSliceHostPortRange((*[]HostPortRange)(yyv1488), d) + h.decSliceHostPortRange((*[]HostPortRange)(yyv1509), d) } } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17532,13 +17731,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostPID = bool(r.DecodeBool()) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17548,13 +17747,13 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.HostIPC = bool(r.DecodeBool()) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17562,16 +17761,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SELinux = SELinuxStrategyOptions{} } else { - yyv1492 := &x.SELinux - yyv1492.CodecDecodeSelf(d) + yyv1513 := &x.SELinux + yyv1513.CodecDecodeSelf(d) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17579,16 +17778,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.RunAsUser = RunAsUserStrategyOptions{} } else { - yyv1493 := &x.RunAsUser - yyv1493.CodecDecodeSelf(d) + yyv1514 := &x.RunAsUser + yyv1514.CodecDecodeSelf(d) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17596,16 +17795,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.SupplementalGroups = SupplementalGroupsStrategyOptions{} } else { - yyv1494 := &x.SupplementalGroups - yyv1494.CodecDecodeSelf(d) + yyv1515 := &x.SupplementalGroups + yyv1515.CodecDecodeSelf(d) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17613,16 +17812,16 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.FSGroup = FSGroupStrategyOptions{} } else { - yyv1495 := &x.FSGroup - yyv1495.CodecDecodeSelf(d) + yyv1516 := &x.FSGroup + yyv1516.CodecDecodeSelf(d) } - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17633,17 +17832,17 @@ func (x *PodSecurityPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Dec x.ReadOnlyRootFilesystem = bool(r.DecodeBool()) } for { - yyj1477++ - if yyhl1477 { - yyb1477 = yyj1477 > l + yyj1498++ + if yyhl1498 { + yyb1498 = yyj1498 > l } else { - yyb1477 = r.CheckBreak() + yyb1498 = r.CheckBreak() } - if yyb1477 { + if yyb1498 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1477-1, "") + z.DecStructFieldNotFound(yyj1498-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17652,8 +17851,8 @@ func (x FSType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1497 := z.EncBinary() - _ = yym1497 + yym1518 := z.EncBinary() + _ = yym1518 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -17665,8 +17864,8 @@ func (x *FSType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1498 := z.DecBinary() - _ = yym1498 + yym1519 := z.DecBinary() + _ = yym1519 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -17681,33 +17880,33 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1499 := z.EncBinary() - _ = yym1499 + yym1520 := z.EncBinary() + _ = yym1520 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1500 := !z.EncBinary() - yy2arr1500 := z.EncBasicHandle().StructToArray - var yyq1500 [2]bool - _, _, _ = yysep1500, yyq1500, yy2arr1500 - const yyr1500 bool = false - var yynn1500 int - if yyr1500 || yy2arr1500 { + yysep1521 := !z.EncBinary() + yy2arr1521 := z.EncBasicHandle().StructToArray + var yyq1521 [2]bool + _, _, _ = yysep1521, yyq1521, yy2arr1521 + const yyr1521 bool = false + var yynn1521 int + if yyr1521 || yy2arr1521 { r.EncodeArrayStart(2) } else { - yynn1500 = 2 - for _, b := range yyq1500 { + yynn1521 = 2 + for _, b := range yyq1521 { if b { - yynn1500++ + yynn1521++ } } - r.EncodeMapStart(yynn1500) - yynn1500 = 0 + r.EncodeMapStart(yynn1521) + yynn1521 = 0 } - if yyr1500 || yy2arr1500 { + if yyr1521 || yy2arr1521 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1502 := z.EncBinary() - _ = yym1502 + yym1523 := z.EncBinary() + _ = yym1523 if false { } else { r.EncodeInt(int64(x.Min)) @@ -17716,17 +17915,17 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1503 := z.EncBinary() - _ = yym1503 + yym1524 := z.EncBinary() + _ = yym1524 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1500 || yy2arr1500 { + if yyr1521 || yy2arr1521 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1505 := z.EncBinary() - _ = yym1505 + yym1526 := z.EncBinary() + _ = yym1526 if false { } else { r.EncodeInt(int64(x.Max)) @@ -17735,14 +17934,14 @@ func (x *HostPortRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1506 := z.EncBinary() - _ = yym1506 + yym1527 := z.EncBinary() + _ = yym1527 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1500 || yy2arr1500 { + if yyr1521 || yy2arr1521 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17755,25 +17954,25 @@ func (x *HostPortRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1507 := z.DecBinary() - _ = yym1507 + yym1528 := z.DecBinary() + _ = yym1528 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1508 := r.ContainerType() - if yyct1508 == codecSelferValueTypeMap1234 { - yyl1508 := r.ReadMapStart() - if yyl1508 == 0 { + yyct1529 := r.ContainerType() + if yyct1529 == codecSelferValueTypeMap1234 { + yyl1529 := r.ReadMapStart() + if yyl1529 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1508, d) + x.codecDecodeSelfFromMap(yyl1529, d) } - } else if yyct1508 == codecSelferValueTypeArray1234 { - yyl1508 := r.ReadArrayStart() - if yyl1508 == 0 { + } else if yyct1529 == codecSelferValueTypeArray1234 { + yyl1529 := r.ReadArrayStart() + if yyl1529 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1508, d) + x.codecDecodeSelfFromArray(yyl1529, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17785,12 +17984,12 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1509Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1509Slc - var yyhl1509 bool = l >= 0 - for yyj1509 := 0; ; yyj1509++ { - if yyhl1509 { - if yyj1509 >= l { + var yys1530Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1530Slc + var yyhl1530 bool = l >= 0 + for yyj1530 := 0; ; yyj1530++ { + if yyhl1530 { + if yyj1530 >= l { break } } else { @@ -17799,10 +17998,10 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1509Slc = r.DecodeBytes(yys1509Slc, true, true) - yys1509 := string(yys1509Slc) + yys1530Slc = r.DecodeBytes(yys1530Slc, true, true) + yys1530 := string(yys1530Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1509 { + switch yys1530 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -17816,9 +18015,9 @@ func (x *HostPortRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } default: - z.DecStructFieldNotFound(-1, yys1509) - } // end switch yys1509 - } // end for yyj1509 + z.DecStructFieldNotFound(-1, yys1530) + } // end switch yys1530 + } // end for yyj1530 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -17826,16 +18025,16 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1512 int - var yyb1512 bool - var yyhl1512 bool = l >= 0 - yyj1512++ - if yyhl1512 { - yyb1512 = yyj1512 > l + var yyj1533 int + var yyb1533 bool + var yyhl1533 bool = l >= 0 + yyj1533++ + if yyhl1533 { + yyb1533 = yyj1533 > l } else { - yyb1512 = r.CheckBreak() + yyb1533 = r.CheckBreak() } - if yyb1512 { + if yyb1533 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17845,13 +18044,13 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int32(r.DecodeInt(32)) } - yyj1512++ - if yyhl1512 { - yyb1512 = yyj1512 > l + yyj1533++ + if yyhl1533 { + yyb1533 = yyj1533 > l } else { - yyb1512 = r.CheckBreak() + yyb1533 = r.CheckBreak() } - if yyb1512 { + if yyb1533 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -17862,17 +18061,17 @@ func (x *HostPortRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int32(r.DecodeInt(32)) } for { - yyj1512++ - if yyhl1512 { - yyb1512 = yyj1512 > l + yyj1533++ + if yyhl1533 { + yyb1533 = yyj1533 > l } else { - yyb1512 = r.CheckBreak() + yyb1533 = r.CheckBreak() } - if yyb1512 { + if yyb1533 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1512-1, "") + z.DecStructFieldNotFound(yyj1533-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -17884,31 +18083,31 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1515 := z.EncBinary() - _ = yym1515 + yym1536 := z.EncBinary() + _ = yym1536 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1516 := !z.EncBinary() - yy2arr1516 := z.EncBasicHandle().StructToArray - var yyq1516 [2]bool - _, _, _ = yysep1516, yyq1516, yy2arr1516 - const yyr1516 bool = false - yyq1516[1] = x.SELinuxOptions != nil - var yynn1516 int - if yyr1516 || yy2arr1516 { + 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 { r.EncodeArrayStart(2) } else { - yynn1516 = 1 - for _, b := range yyq1516 { + yynn1537 = 1 + for _, b := range yyq1537 { if b { - yynn1516++ + yynn1537++ } } - r.EncodeMapStart(yynn1516) - yynn1516 = 0 + r.EncodeMapStart(yynn1537) + yynn1537 = 0 } - if yyr1516 || yy2arr1516 { + if yyr1537 || yy2arr1537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -17917,9 +18116,9 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1516 || yy2arr1516 { + if yyr1537 || yy2arr1537 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1516[1] { + if yyq1537[1] { if x.SELinuxOptions == nil { r.EncodeNil() } else { @@ -17929,7 +18128,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1516[1] { + if yyq1537[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("seLinuxOptions")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -17940,7 +18139,7 @@ func (x *SELinuxStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1516 || yy2arr1516 { + if yyr1537 || yy2arr1537 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -17953,25 +18152,25 @@ func (x *SELinuxStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1519 := z.DecBinary() - _ = yym1519 + yym1540 := z.DecBinary() + _ = yym1540 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1520 := r.ContainerType() - if yyct1520 == codecSelferValueTypeMap1234 { - yyl1520 := r.ReadMapStart() - if yyl1520 == 0 { + yyct1541 := r.ContainerType() + if yyct1541 == codecSelferValueTypeMap1234 { + yyl1541 := r.ReadMapStart() + if yyl1541 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1520, d) + x.codecDecodeSelfFromMap(yyl1541, d) } - } else if yyct1520 == codecSelferValueTypeArray1234 { - yyl1520 := r.ReadArrayStart() - if yyl1520 == 0 { + } else if yyct1541 == codecSelferValueTypeArray1234 { + yyl1541 := r.ReadArrayStart() + if yyl1541 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1520, d) + x.codecDecodeSelfFromArray(yyl1541, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -17983,12 +18182,12 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1521Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1521Slc - var yyhl1521 bool = l >= 0 - for yyj1521 := 0; ; yyj1521++ { - if yyhl1521 { - if yyj1521 >= l { + var yys1542Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1542Slc + var yyhl1542 bool = l >= 0 + for yyj1542 := 0; ; yyj1542++ { + if yyhl1542 { + if yyj1542 >= l { break } } else { @@ -17997,10 +18196,10 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1521Slc = r.DecodeBytes(yys1521Slc, true, true) - yys1521 := string(yys1521Slc) + yys1542Slc = r.DecodeBytes(yys1542Slc, true, true) + yys1542 := string(yys1542Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1521 { + switch yys1542 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18019,9 +18218,9 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco x.SELinuxOptions.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1521) - } // end switch yys1521 - } // end for yyj1521 + z.DecStructFieldNotFound(-1, yys1542) + } // end switch yys1542 + } // end for yyj1542 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18029,16 +18228,16 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1524 int - var yyb1524 bool - var yyhl1524 bool = l >= 0 - yyj1524++ - if yyhl1524 { - yyb1524 = yyj1524 > l + var yyj1545 int + var yyb1545 bool + var yyhl1545 bool = l >= 0 + yyj1545++ + if yyhl1545 { + yyb1545 = yyj1545 > l } else { - yyb1524 = r.CheckBreak() + yyb1545 = r.CheckBreak() } - if yyb1524 { + if yyb1545 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18048,13 +18247,13 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = SELinuxStrategy(r.DecodeString()) } - yyj1524++ - if yyhl1524 { - yyb1524 = yyj1524 > l + yyj1545++ + if yyhl1545 { + yyb1545 = yyj1545 > l } else { - yyb1524 = r.CheckBreak() + yyb1545 = r.CheckBreak() } - if yyb1524 { + if yyb1545 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18070,17 +18269,17 @@ func (x *SELinuxStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De x.SELinuxOptions.CodecDecodeSelf(d) } for { - yyj1524++ - if yyhl1524 { - yyb1524 = yyj1524 > l + yyj1545++ + if yyhl1545 { + yyb1545 = yyj1545 > l } else { - yyb1524 = r.CheckBreak() + yyb1545 = r.CheckBreak() } - if yyb1524 { + if yyb1545 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1524-1, "") + z.DecStructFieldNotFound(yyj1545-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18089,8 +18288,8 @@ func (x SELinuxStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1527 := z.EncBinary() - _ = yym1527 + yym1548 := z.EncBinary() + _ = yym1548 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18102,8 +18301,8 @@ func (x *SELinuxStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1528 := z.DecBinary() - _ = yym1528 + yym1549 := z.DecBinary() + _ = yym1549 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18118,31 +18317,31 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1529 := z.EncBinary() - _ = yym1529 + yym1550 := z.EncBinary() + _ = yym1550 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1530 := !z.EncBinary() - yy2arr1530 := z.EncBasicHandle().StructToArray - var yyq1530 [2]bool - _, _, _ = yysep1530, yyq1530, yy2arr1530 - const yyr1530 bool = false - yyq1530[1] = len(x.Ranges) != 0 - var yynn1530 int - if yyr1530 || yy2arr1530 { + 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 { r.EncodeArrayStart(2) } else { - yynn1530 = 1 - for _, b := range yyq1530 { + yynn1551 = 1 + for _, b := range yyq1551 { if b { - yynn1530++ + yynn1551++ } } - r.EncodeMapStart(yynn1530) - yynn1530 = 0 + r.EncodeMapStart(yynn1551) + yynn1551 = 0 } - if yyr1530 || yy2arr1530 { + if yyr1551 || yy2arr1551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) x.Rule.CodecEncodeSelf(e) } else { @@ -18151,14 +18350,14 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } - if yyr1530 || yy2arr1530 { + if yyr1551 || yy2arr1551 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1530[1] { + if yyq1551[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1533 := z.EncBinary() - _ = yym1533 + yym1554 := z.EncBinary() + _ = yym1554 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18168,15 +18367,15 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1530[1] { + if yyq1551[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1534 := z.EncBinary() - _ = yym1534 + yym1555 := z.EncBinary() + _ = yym1555 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18184,7 +18383,7 @@ func (x *RunAsUserStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1530 || yy2arr1530 { + if yyr1551 || yy2arr1551 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18197,25 +18396,25 @@ func (x *RunAsUserStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1535 := z.DecBinary() - _ = yym1535 + yym1556 := z.DecBinary() + _ = yym1556 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1536 := r.ContainerType() - if yyct1536 == codecSelferValueTypeMap1234 { - yyl1536 := r.ReadMapStart() - if yyl1536 == 0 { + yyct1557 := r.ContainerType() + if yyct1557 == codecSelferValueTypeMap1234 { + yyl1557 := r.ReadMapStart() + if yyl1557 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1536, d) + x.codecDecodeSelfFromMap(yyl1557, d) } - } else if yyct1536 == codecSelferValueTypeArray1234 { - yyl1536 := r.ReadArrayStart() - if yyl1536 == 0 { + } else if yyct1557 == codecSelferValueTypeArray1234 { + yyl1557 := r.ReadArrayStart() + if yyl1557 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1536, d) + x.codecDecodeSelfFromArray(yyl1557, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18227,12 +18426,12 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1537Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1537Slc - var yyhl1537 bool = l >= 0 - for yyj1537 := 0; ; yyj1537++ { - if yyhl1537 { - if yyj1537 >= l { + var yys1558Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1558Slc + var yyhl1558 bool = l >= 0 + for yyj1558 := 0; ; yyj1558++ { + if yyhl1558 { + if yyj1558 >= l { break } } else { @@ -18241,10 +18440,10 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1537Slc = r.DecodeBytes(yys1537Slc, true, true) - yys1537 := string(yys1537Slc) + yys1558Slc = r.DecodeBytes(yys1558Slc, true, true) + yys1558 := string(yys1558Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1537 { + switch yys1558 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18255,18 +18454,18 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1539 := &x.Ranges - yym1540 := z.DecBinary() - _ = yym1540 + yyv1560 := &x.Ranges + yym1561 := z.DecBinary() + _ = yym1561 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1539), d) + h.decSliceIDRange((*[]IDRange)(yyv1560), d) } } default: - z.DecStructFieldNotFound(-1, yys1537) - } // end switch yys1537 - } // end for yyj1537 + z.DecStructFieldNotFound(-1, yys1558) + } // end switch yys1558 + } // end for yyj1558 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18274,16 +18473,16 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1541 int - var yyb1541 bool - var yyhl1541 bool = l >= 0 - yyj1541++ - if yyhl1541 { - yyb1541 = yyj1541 > l + var yyj1562 int + var yyb1562 bool + var yyhl1562 bool = l >= 0 + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1541 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1541 { + if yyb1562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18293,13 +18492,13 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. } else { x.Rule = RunAsUserStrategy(r.DecodeString()) } - yyj1541++ - if yyhl1541 { - yyb1541 = yyj1541 > l + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1541 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1541 { + if yyb1562 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18307,26 +18506,26 @@ func (x *RunAsUserStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1543 := &x.Ranges - yym1544 := z.DecBinary() - _ = yym1544 + yyv1564 := &x.Ranges + yym1565 := z.DecBinary() + _ = yym1565 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1543), d) + h.decSliceIDRange((*[]IDRange)(yyv1564), d) } } for { - yyj1541++ - if yyhl1541 { - yyb1541 = yyj1541 > l + yyj1562++ + if yyhl1562 { + yyb1562 = yyj1562 > l } else { - yyb1541 = r.CheckBreak() + yyb1562 = r.CheckBreak() } - if yyb1541 { + if yyb1562 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1541-1, "") + z.DecStructFieldNotFound(yyj1562-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18338,33 +18537,33 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1545 := z.EncBinary() - _ = yym1545 + yym1566 := z.EncBinary() + _ = yym1566 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1546 := !z.EncBinary() - yy2arr1546 := z.EncBasicHandle().StructToArray - var yyq1546 [2]bool - _, _, _ = yysep1546, yyq1546, yy2arr1546 - const yyr1546 bool = false - var yynn1546 int - if yyr1546 || yy2arr1546 { + yysep1567 := !z.EncBinary() + yy2arr1567 := z.EncBasicHandle().StructToArray + var yyq1567 [2]bool + _, _, _ = yysep1567, yyq1567, yy2arr1567 + const yyr1567 bool = false + var yynn1567 int + if yyr1567 || yy2arr1567 { r.EncodeArrayStart(2) } else { - yynn1546 = 2 - for _, b := range yyq1546 { + yynn1567 = 2 + for _, b := range yyq1567 { if b { - yynn1546++ + yynn1567++ } } - r.EncodeMapStart(yynn1546) - yynn1546 = 0 + r.EncodeMapStart(yynn1567) + yynn1567 = 0 } - if yyr1546 || yy2arr1546 { + if yyr1567 || yy2arr1567 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1548 := z.EncBinary() - _ = yym1548 + yym1569 := z.EncBinary() + _ = yym1569 if false { } else { r.EncodeInt(int64(x.Min)) @@ -18373,17 +18572,17 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("min")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1549 := z.EncBinary() - _ = yym1549 + yym1570 := z.EncBinary() + _ = yym1570 if false { } else { r.EncodeInt(int64(x.Min)) } } - if yyr1546 || yy2arr1546 { + if yyr1567 || yy2arr1567 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1551 := z.EncBinary() - _ = yym1551 + yym1572 := z.EncBinary() + _ = yym1572 if false { } else { r.EncodeInt(int64(x.Max)) @@ -18392,14 +18591,14 @@ func (x *IDRange) CodecEncodeSelf(e *codec1978.Encoder) { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("max")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1552 := z.EncBinary() - _ = yym1552 + yym1573 := z.EncBinary() + _ = yym1573 if false { } else { r.EncodeInt(int64(x.Max)) } } - if yyr1546 || yy2arr1546 { + if yyr1567 || yy2arr1567 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18412,25 +18611,25 @@ func (x *IDRange) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1553 := z.DecBinary() - _ = yym1553 + yym1574 := z.DecBinary() + _ = yym1574 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1554 := r.ContainerType() - if yyct1554 == codecSelferValueTypeMap1234 { - yyl1554 := r.ReadMapStart() - if yyl1554 == 0 { + yyct1575 := r.ContainerType() + if yyct1575 == codecSelferValueTypeMap1234 { + yyl1575 := r.ReadMapStart() + if yyl1575 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1554, d) + x.codecDecodeSelfFromMap(yyl1575, d) } - } else if yyct1554 == codecSelferValueTypeArray1234 { - yyl1554 := r.ReadArrayStart() - if yyl1554 == 0 { + } else if yyct1575 == codecSelferValueTypeArray1234 { + yyl1575 := r.ReadArrayStart() + if yyl1575 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1554, d) + x.codecDecodeSelfFromArray(yyl1575, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18442,12 +18641,12 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1555Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1555Slc - var yyhl1555 bool = l >= 0 - for yyj1555 := 0; ; yyj1555++ { - if yyhl1555 { - if yyj1555 >= l { + var yys1576Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1576Slc + var yyhl1576 bool = l >= 0 + for yyj1576 := 0; ; yyj1576++ { + if yyhl1576 { + if yyj1576 >= l { break } } else { @@ -18456,10 +18655,10 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1555Slc = r.DecodeBytes(yys1555Slc, true, true) - yys1555 := string(yys1555Slc) + yys1576Slc = r.DecodeBytes(yys1576Slc, true, true) + yys1576 := string(yys1576Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1555 { + switch yys1576 { case "min": if r.TryDecodeAsNil() { x.Min = 0 @@ -18473,9 +18672,9 @@ func (x *IDRange) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } default: - z.DecStructFieldNotFound(-1, yys1555) - } // end switch yys1555 - } // end for yyj1555 + z.DecStructFieldNotFound(-1, yys1576) + } // end switch yys1576 + } // end for yyj1576 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18483,16 +18682,16 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1558 int - var yyb1558 bool - var yyhl1558 bool = l >= 0 - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + var yyj1579 int + var yyb1579 bool + var yyhl1579 bool = l >= 0 + yyj1579++ + if yyhl1579 { + yyb1579 = yyj1579 > l } else { - yyb1558 = r.CheckBreak() + yyb1579 = r.CheckBreak() } - if yyb1558 { + if yyb1579 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18502,13 +18701,13 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Min = int64(r.DecodeInt(64)) } - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj1579++ + if yyhl1579 { + yyb1579 = yyj1579 > l } else { - yyb1558 = r.CheckBreak() + yyb1579 = r.CheckBreak() } - if yyb1558 { + if yyb1579 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18519,17 +18718,17 @@ func (x *IDRange) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { x.Max = int64(r.DecodeInt(64)) } for { - yyj1558++ - if yyhl1558 { - yyb1558 = yyj1558 > l + yyj1579++ + if yyhl1579 { + yyb1579 = yyj1579 > l } else { - yyb1558 = r.CheckBreak() + yyb1579 = r.CheckBreak() } - if yyb1558 { + if yyb1579 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1558-1, "") + z.DecStructFieldNotFound(yyj1579-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18538,8 +18737,8 @@ func (x RunAsUserStrategy) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1561 := z.EncBinary() - _ = yym1561 + yym1582 := z.EncBinary() + _ = yym1582 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18551,8 +18750,8 @@ func (x *RunAsUserStrategy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1562 := z.DecBinary() - _ = yym1562 + yym1583 := z.DecBinary() + _ = yym1583 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18567,54 +18766,54 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1563 := z.EncBinary() - _ = yym1563 + yym1584 := z.EncBinary() + _ = yym1584 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1564 := !z.EncBinary() - yy2arr1564 := z.EncBasicHandle().StructToArray - var yyq1564 [2]bool - _, _, _ = yysep1564, yyq1564, yy2arr1564 - const yyr1564 bool = false - yyq1564[0] = x.Rule != "" - yyq1564[1] = len(x.Ranges) != 0 - var yynn1564 int - if yyr1564 || yy2arr1564 { + 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 { r.EncodeArrayStart(2) } else { - yynn1564 = 0 - for _, b := range yyq1564 { + yynn1585 = 0 + for _, b := range yyq1585 { if b { - yynn1564++ + yynn1585++ } } - r.EncodeMapStart(yynn1564) - yynn1564 = 0 + r.EncodeMapStart(yynn1585) + yynn1585 = 0 } - if yyr1564 || yy2arr1564 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1564[0] { + if yyq1585[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1564[0] { + if yyq1585[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1564 || yy2arr1564 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1564[1] { + if yyq1585[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1567 := z.EncBinary() - _ = yym1567 + yym1588 := z.EncBinary() + _ = yym1588 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18624,15 +18823,15 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1564[1] { + if yyq1585[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1568 := z.EncBinary() - _ = yym1568 + yym1589 := z.EncBinary() + _ = yym1589 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18640,7 +18839,7 @@ func (x *FSGroupStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1564 || yy2arr1564 { + if yyr1585 || yy2arr1585 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18653,25 +18852,25 @@ func (x *FSGroupStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1569 := z.DecBinary() - _ = yym1569 + yym1590 := z.DecBinary() + _ = yym1590 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1570 := r.ContainerType() - if yyct1570 == codecSelferValueTypeMap1234 { - yyl1570 := r.ReadMapStart() - if yyl1570 == 0 { + yyct1591 := r.ContainerType() + if yyct1591 == codecSelferValueTypeMap1234 { + yyl1591 := r.ReadMapStart() + if yyl1591 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1570, d) + x.codecDecodeSelfFromMap(yyl1591, d) } - } else if yyct1570 == codecSelferValueTypeArray1234 { - yyl1570 := r.ReadArrayStart() - if yyl1570 == 0 { + } else if yyct1591 == codecSelferValueTypeArray1234 { + yyl1591 := r.ReadArrayStart() + if yyl1591 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1570, d) + x.codecDecodeSelfFromArray(yyl1591, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18683,12 +18882,12 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1571Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1571Slc - var yyhl1571 bool = l >= 0 - for yyj1571 := 0; ; yyj1571++ { - if yyhl1571 { - if yyj1571 >= l { + var yys1592Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1592Slc + var yyhl1592 bool = l >= 0 + for yyj1592 := 0; ; yyj1592++ { + if yyhl1592 { + if yyj1592 >= l { break } } else { @@ -18697,10 +18896,10 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1571Slc = r.DecodeBytes(yys1571Slc, true, true) - yys1571 := string(yys1571Slc) + yys1592Slc = r.DecodeBytes(yys1592Slc, true, true) + yys1592 := string(yys1592Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1571 { + switch yys1592 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18711,18 +18910,18 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromMap(l int, d *codec1978.Deco if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1573 := &x.Ranges - yym1574 := z.DecBinary() - _ = yym1574 + yyv1594 := &x.Ranges + yym1595 := z.DecBinary() + _ = yym1595 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1573), d) + h.decSliceIDRange((*[]IDRange)(yyv1594), d) } } default: - z.DecStructFieldNotFound(-1, yys1571) - } // end switch yys1571 - } // end for yyj1571 + z.DecStructFieldNotFound(-1, yys1592) + } // end switch yys1592 + } // end for yyj1592 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18730,16 +18929,16 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1575 int - var yyb1575 bool - var yyhl1575 bool = l >= 0 - yyj1575++ - if yyhl1575 { - yyb1575 = yyj1575 > l + var yyj1596 int + var yyb1596 bool + var yyhl1596 bool = l >= 0 + yyj1596++ + if yyhl1596 { + yyb1596 = yyj1596 > l } else { - yyb1575 = r.CheckBreak() + yyb1596 = r.CheckBreak() } - if yyb1575 { + if yyb1596 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18749,13 +18948,13 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De } else { x.Rule = FSGroupStrategyType(r.DecodeString()) } - yyj1575++ - if yyhl1575 { - yyb1575 = yyj1575 > l + yyj1596++ + if yyhl1596 { + yyb1596 = yyj1596 > l } else { - yyb1575 = r.CheckBreak() + yyb1596 = r.CheckBreak() } - if yyb1575 { + if yyb1596 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -18763,26 +18962,26 @@ func (x *FSGroupStrategyOptions) codecDecodeSelfFromArray(l int, d *codec1978.De if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1577 := &x.Ranges - yym1578 := z.DecBinary() - _ = yym1578 + yyv1598 := &x.Ranges + yym1599 := z.DecBinary() + _ = yym1599 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1577), d) + h.decSliceIDRange((*[]IDRange)(yyv1598), d) } } for { - yyj1575++ - if yyhl1575 { - yyb1575 = yyj1575 > l + yyj1596++ + if yyhl1596 { + yyb1596 = yyj1596 > l } else { - yyb1575 = r.CheckBreak() + yyb1596 = r.CheckBreak() } - if yyb1575 { + if yyb1596 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1575-1, "") + z.DecStructFieldNotFound(yyj1596-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -18791,8 +18990,8 @@ func (x FSGroupStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1579 := z.EncBinary() - _ = yym1579 + yym1600 := z.EncBinary() + _ = yym1600 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -18804,8 +19003,8 @@ func (x *FSGroupStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1580 := z.DecBinary() - _ = yym1580 + yym1601 := z.DecBinary() + _ = yym1601 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -18820,54 +19019,54 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder if x == nil { r.EncodeNil() } else { - yym1581 := z.EncBinary() - _ = yym1581 + yym1602 := z.EncBinary() + _ = yym1602 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1582 := !z.EncBinary() - yy2arr1582 := z.EncBasicHandle().StructToArray - var yyq1582 [2]bool - _, _, _ = yysep1582, yyq1582, yy2arr1582 - const yyr1582 bool = false - yyq1582[0] = x.Rule != "" - yyq1582[1] = len(x.Ranges) != 0 - var yynn1582 int - if yyr1582 || yy2arr1582 { + 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 { r.EncodeArrayStart(2) } else { - yynn1582 = 0 - for _, b := range yyq1582 { + yynn1603 = 0 + for _, b := range yyq1603 { if b { - yynn1582++ + yynn1603++ } } - r.EncodeMapStart(yynn1582) - yynn1582 = 0 + r.EncodeMapStart(yynn1603) + yynn1603 = 0 } - if yyr1582 || yy2arr1582 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1582[0] { + if yyq1603[0] { x.Rule.CodecEncodeSelf(e) } else { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1582[0] { + if yyq1603[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("rule")) z.EncSendContainerState(codecSelfer_containerMapValue1234) x.Rule.CodecEncodeSelf(e) } } - if yyr1582 || yy2arr1582 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1582[1] { + if yyq1603[1] { if x.Ranges == nil { r.EncodeNil() } else { - yym1585 := z.EncBinary() - _ = yym1585 + yym1606 := z.EncBinary() + _ = yym1606 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18877,15 +19076,15 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder r.EncodeNil() } } else { - if yyq1582[1] { + if yyq1603[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ranges")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ranges == nil { r.EncodeNil() } else { - yym1586 := z.EncBinary() - _ = yym1586 + yym1607 := z.EncBinary() + _ = yym1607 if false { } else { h.encSliceIDRange(([]IDRange)(x.Ranges), e) @@ -18893,7 +19092,7 @@ func (x *SupplementalGroupsStrategyOptions) CodecEncodeSelf(e *codec1978.Encoder } } } - if yyr1582 || yy2arr1582 { + if yyr1603 || yy2arr1603 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -18906,25 +19105,25 @@ func (x *SupplementalGroupsStrategyOptions) CodecDecodeSelf(d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1587 := z.DecBinary() - _ = yym1587 + yym1608 := z.DecBinary() + _ = yym1608 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1588 := r.ContainerType() - if yyct1588 == codecSelferValueTypeMap1234 { - yyl1588 := r.ReadMapStart() - if yyl1588 == 0 { + yyct1609 := r.ContainerType() + if yyct1609 == codecSelferValueTypeMap1234 { + yyl1609 := r.ReadMapStart() + if yyl1609 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1588, d) + x.codecDecodeSelfFromMap(yyl1609, d) } - } else if yyct1588 == codecSelferValueTypeArray1234 { - yyl1588 := r.ReadArrayStart() - if yyl1588 == 0 { + } else if yyct1609 == codecSelferValueTypeArray1234 { + yyl1609 := r.ReadArrayStart() + if yyl1609 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1588, d) + x.codecDecodeSelfFromArray(yyl1609, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -18936,12 +19135,12 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1589Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1589Slc - var yyhl1589 bool = l >= 0 - for yyj1589 := 0; ; yyj1589++ { - if yyhl1589 { - if yyj1589 >= l { + var yys1610Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1610Slc + var yyhl1610 bool = l >= 0 + for yyj1610 := 0; ; yyj1610++ { + if yyhl1610 { + if yyj1610 >= l { break } } else { @@ -18950,10 +19149,10 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1589Slc = r.DecodeBytes(yys1589Slc, true, true) - yys1589 := string(yys1589Slc) + yys1610Slc = r.DecodeBytes(yys1610Slc, true, true) + yys1610 := string(yys1610Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1589 { + switch yys1610 { case "rule": if r.TryDecodeAsNil() { x.Rule = "" @@ -18964,18 +19163,18 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromMap(l int, d *cod if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1591 := &x.Ranges - yym1592 := z.DecBinary() - _ = yym1592 + yyv1612 := &x.Ranges + yym1613 := z.DecBinary() + _ = yym1613 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1591), d) + h.decSliceIDRange((*[]IDRange)(yyv1612), d) } } default: - z.DecStructFieldNotFound(-1, yys1589) - } // end switch yys1589 - } // end for yyj1589 + z.DecStructFieldNotFound(-1, yys1610) + } // end switch yys1610 + } // end for yyj1610 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -18983,16 +19182,16 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1593 int - var yyb1593 bool - var yyhl1593 bool = l >= 0 - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + var yyj1614 int + var yyb1614 bool + var yyhl1614 bool = l >= 0 + yyj1614++ + if yyhl1614 { + yyb1614 = yyj1614 > l } else { - yyb1593 = r.CheckBreak() + yyb1614 = r.CheckBreak() } - if yyb1593 { + if yyb1614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19002,13 +19201,13 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c } else { x.Rule = SupplementalGroupsStrategyType(r.DecodeString()) } - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + yyj1614++ + if yyhl1614 { + yyb1614 = yyj1614 > l } else { - yyb1593 = r.CheckBreak() + yyb1614 = r.CheckBreak() } - if yyb1593 { + if yyb1614 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19016,26 +19215,26 @@ func (x *SupplementalGroupsStrategyOptions) codecDecodeSelfFromArray(l int, d *c if r.TryDecodeAsNil() { x.Ranges = nil } else { - yyv1595 := &x.Ranges - yym1596 := z.DecBinary() - _ = yym1596 + yyv1616 := &x.Ranges + yym1617 := z.DecBinary() + _ = yym1617 if false { } else { - h.decSliceIDRange((*[]IDRange)(yyv1595), d) + h.decSliceIDRange((*[]IDRange)(yyv1616), d) } } for { - yyj1593++ - if yyhl1593 { - yyb1593 = yyj1593 > l + yyj1614++ + if yyhl1614 { + yyb1614 = yyj1614 > l } else { - yyb1593 = r.CheckBreak() + yyb1614 = r.CheckBreak() } - if yyb1593 { + if yyb1614 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1593-1, "") + z.DecStructFieldNotFound(yyj1614-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19044,8 +19243,8 @@ func (x SupplementalGroupsStrategyType) CodecEncodeSelf(e *codec1978.Encoder) { var h codecSelfer1234 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r - yym1597 := z.EncBinary() - _ = yym1597 + yym1618 := z.EncBinary() + _ = yym1618 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { @@ -19057,8 +19256,8 @@ func (x *SupplementalGroupsStrategyType) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1598 := z.DecBinary() - _ = yym1598 + yym1619 := z.DecBinary() + _ = yym1619 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { @@ -19073,37 +19272,37 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1599 := z.EncBinary() - _ = yym1599 + yym1620 := z.EncBinary() + _ = yym1620 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1600 := !z.EncBinary() - yy2arr1600 := z.EncBasicHandle().StructToArray - var yyq1600 [4]bool - _, _, _ = yysep1600, yyq1600, yy2arr1600 - const yyr1600 bool = false - yyq1600[0] = x.Kind != "" - yyq1600[1] = x.APIVersion != "" - yyq1600[2] = true - var yynn1600 int - if yyr1600 || yy2arr1600 { + 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 { r.EncodeArrayStart(4) } else { - yynn1600 = 1 - for _, b := range yyq1600 { + yynn1621 = 1 + for _, b := range yyq1621 { if b { - yynn1600++ + yynn1621++ } } - r.EncodeMapStart(yynn1600) - yynn1600 = 0 + r.EncodeMapStart(yynn1621) + yynn1621 = 0 } - if yyr1600 || yy2arr1600 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1600[0] { - yym1602 := z.EncBinary() - _ = yym1602 + if yyq1621[0] { + yym1623 := z.EncBinary() + _ = yym1623 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19112,23 +19311,23 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1600[0] { + if yyq1621[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1603 := z.EncBinary() - _ = yym1603 + yym1624 := z.EncBinary() + _ = yym1624 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1600 || yy2arr1600 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1600[1] { - yym1605 := z.EncBinary() - _ = yym1605 + if yyq1621[1] { + yym1626 := z.EncBinary() + _ = yym1626 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19137,54 +19336,54 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1600[1] { + if yyq1621[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1606 := z.EncBinary() - _ = yym1606 + yym1627 := z.EncBinary() + _ = yym1627 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1600 || yy2arr1600 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1600[2] { - yy1608 := &x.ListMeta - yym1609 := z.EncBinary() - _ = yym1609 + if yyq1621[2] { + yy1629 := &x.ListMeta + yym1630 := z.EncBinary() + _ = yym1630 if false { - } else if z.HasExtensions() && z.EncExt(yy1608) { + } else if z.HasExtensions() && z.EncExt(yy1629) { } else { - z.EncFallback(yy1608) + z.EncFallback(yy1629) } } else { r.EncodeNil() } } else { - if yyq1600[2] { + if yyq1621[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1610 := &x.ListMeta - yym1611 := z.EncBinary() - _ = yym1611 + yy1631 := &x.ListMeta + yym1632 := z.EncBinary() + _ = yym1632 if false { - } else if z.HasExtensions() && z.EncExt(yy1610) { + } else if z.HasExtensions() && z.EncExt(yy1631) { } else { - z.EncFallback(yy1610) + z.EncFallback(yy1631) } } } - if yyr1600 || yy2arr1600 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1613 := z.EncBinary() - _ = yym1613 + yym1634 := z.EncBinary() + _ = yym1634 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) @@ -19197,15 +19396,15 @@ func (x *PodSecurityPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1614 := z.EncBinary() - _ = yym1614 + yym1635 := z.EncBinary() + _ = yym1635 if false { } else { h.encSlicePodSecurityPolicy(([]PodSecurityPolicy)(x.Items), e) } } } - if yyr1600 || yy2arr1600 { + if yyr1621 || yy2arr1621 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19218,25 +19417,25 @@ func (x *PodSecurityPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1615 := z.DecBinary() - _ = yym1615 + yym1636 := z.DecBinary() + _ = yym1636 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1616 := r.ContainerType() - if yyct1616 == codecSelferValueTypeMap1234 { - yyl1616 := r.ReadMapStart() - if yyl1616 == 0 { + yyct1637 := r.ContainerType() + if yyct1637 == codecSelferValueTypeMap1234 { + yyl1637 := r.ReadMapStart() + if yyl1637 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1616, d) + x.codecDecodeSelfFromMap(yyl1637, d) } - } else if yyct1616 == codecSelferValueTypeArray1234 { - yyl1616 := r.ReadArrayStart() - if yyl1616 == 0 { + } else if yyct1637 == codecSelferValueTypeArray1234 { + yyl1637 := r.ReadArrayStart() + if yyl1637 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1616, d) + x.codecDecodeSelfFromArray(yyl1637, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19248,12 +19447,12 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1617Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1617Slc - var yyhl1617 bool = l >= 0 - for yyj1617 := 0; ; yyj1617++ { - if yyhl1617 { - if yyj1617 >= l { + var yys1638Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1638Slc + var yyhl1638 bool = l >= 0 + for yyj1638 := 0; ; yyj1638++ { + if yyhl1638 { + if yyj1638 >= l { break } } else { @@ -19262,10 +19461,10 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1617Slc = r.DecodeBytes(yys1617Slc, true, true) - yys1617 := string(yys1617Slc) + yys1638Slc = r.DecodeBytes(yys1638Slc, true, true) + yys1638 := string(yys1638Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1617 { + switch yys1638 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19282,31 +19481,31 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decod if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1620 := &x.ListMeta - yym1621 := z.DecBinary() - _ = yym1621 + yyv1641 := &x.ListMeta + yym1642 := z.DecBinary() + _ = yym1642 if false { - } else if z.HasExtensions() && z.DecExt(yyv1620) { + } else if z.HasExtensions() && z.DecExt(yyv1641) { } else { - z.DecFallback(yyv1620, false) + z.DecFallback(yyv1641, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1622 := &x.Items - yym1623 := z.DecBinary() - _ = yym1623 + yyv1643 := &x.Items + yym1644 := z.DecBinary() + _ = yym1644 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1622), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1643), d) } } default: - z.DecStructFieldNotFound(-1, yys1617) - } // end switch yys1617 - } // end for yyj1617 + z.DecStructFieldNotFound(-1, yys1638) + } // end switch yys1638 + } // end for yyj1638 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19314,16 +19513,16 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1624 int - var yyb1624 bool - var yyhl1624 bool = l >= 0 - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + var yyj1645 int + var yyb1645 bool + var yyhl1645 bool = l >= 0 + yyj1645++ + if yyhl1645 { + yyb1645 = yyj1645 > l } else { - yyb1624 = r.CheckBreak() + yyb1645 = r.CheckBreak() } - if yyb1624 { + if yyb1645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19333,13 +19532,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.Kind = string(r.DecodeString()) } - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + yyj1645++ + if yyhl1645 { + yyb1645 = yyj1645 > l } else { - yyb1624 = r.CheckBreak() + yyb1645 = r.CheckBreak() } - if yyb1624 { + if yyb1645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19349,13 +19548,13 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec } else { x.APIVersion = string(r.DecodeString()) } - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + yyj1645++ + if yyhl1645 { + yyb1645 = yyj1645 > l } else { - yyb1624 = r.CheckBreak() + yyb1645 = r.CheckBreak() } - if yyb1624 { + if yyb1645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19363,22 +19562,22 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1627 := &x.ListMeta - yym1628 := z.DecBinary() - _ = yym1628 + yyv1648 := &x.ListMeta + yym1649 := z.DecBinary() + _ = yym1649 if false { - } else if z.HasExtensions() && z.DecExt(yyv1627) { + } else if z.HasExtensions() && z.DecExt(yyv1648) { } else { - z.DecFallback(yyv1627, false) + z.DecFallback(yyv1648, false) } } - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + yyj1645++ + if yyhl1645 { + yyb1645 = yyj1645 > l } else { - yyb1624 = r.CheckBreak() + yyb1645 = r.CheckBreak() } - if yyb1624 { + if yyb1645 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19386,26 +19585,26 @@ func (x *PodSecurityPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Dec if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1629 := &x.Items - yym1630 := z.DecBinary() - _ = yym1630 + yyv1650 := &x.Items + yym1651 := z.DecBinary() + _ = yym1651 if false { } else { - h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1629), d) + h.decSlicePodSecurityPolicy((*[]PodSecurityPolicy)(yyv1650), d) } } for { - yyj1624++ - if yyhl1624 { - yyb1624 = yyj1624 > l + yyj1645++ + if yyhl1645 { + yyb1645 = yyj1645 > l } else { - yyb1624 = r.CheckBreak() + yyb1645 = r.CheckBreak() } - if yyb1624 { + if yyb1645 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1624-1, "") + z.DecStructFieldNotFound(yyj1645-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19417,38 +19616,38 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1631 := z.EncBinary() - _ = yym1631 + yym1652 := z.EncBinary() + _ = yym1652 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1632 := !z.EncBinary() - yy2arr1632 := z.EncBasicHandle().StructToArray - var yyq1632 [4]bool - _, _, _ = yysep1632, yyq1632, yy2arr1632 - const yyr1632 bool = false - yyq1632[0] = x.Kind != "" - yyq1632[1] = x.APIVersion != "" - yyq1632[2] = true - yyq1632[3] = true - var yynn1632 int - if yyr1632 || yy2arr1632 { + 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 { r.EncodeArrayStart(4) } else { - yynn1632 = 0 - for _, b := range yyq1632 { + yynn1653 = 0 + for _, b := range yyq1653 { if b { - yynn1632++ + yynn1653++ } } - r.EncodeMapStart(yynn1632) - yynn1632 = 0 + r.EncodeMapStart(yynn1653) + yynn1653 = 0 } - if yyr1632 || yy2arr1632 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[0] { - yym1634 := z.EncBinary() - _ = yym1634 + if yyq1653[0] { + yym1655 := z.EncBinary() + _ = yym1655 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -19457,23 +19656,23 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1632[0] { + if yyq1653[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1635 := z.EncBinary() - _ = yym1635 + yym1656 := z.EncBinary() + _ = yym1656 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1632 || yy2arr1632 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[1] { - yym1637 := z.EncBinary() - _ = yym1637 + if yyq1653[1] { + yym1658 := z.EncBinary() + _ = yym1658 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -19482,53 +19681,53 @@ func (x *NetworkPolicy) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1632[1] { + if yyq1653[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1638 := z.EncBinary() - _ = yym1638 + yym1659 := z.EncBinary() + _ = yym1659 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1632 || yy2arr1632 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[2] { - yy1640 := &x.ObjectMeta - yy1640.CodecEncodeSelf(e) + if yyq1653[2] { + yy1661 := &x.ObjectMeta + yy1661.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1632[2] { + if yyq1653[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1641 := &x.ObjectMeta - yy1641.CodecEncodeSelf(e) + yy1662 := &x.ObjectMeta + yy1662.CodecEncodeSelf(e) } } - if yyr1632 || yy2arr1632 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1632[3] { - yy1643 := &x.Spec - yy1643.CodecEncodeSelf(e) + if yyq1653[3] { + yy1664 := &x.Spec + yy1664.CodecEncodeSelf(e) } else { r.EncodeNil() } } else { - if yyq1632[3] { + if yyq1653[3] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("spec")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1644 := &x.Spec - yy1644.CodecEncodeSelf(e) + yy1665 := &x.Spec + yy1665.CodecEncodeSelf(e) } } - if yyr1632 || yy2arr1632 { + if yyr1653 || yy2arr1653 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19541,25 +19740,25 @@ func (x *NetworkPolicy) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1645 := z.DecBinary() - _ = yym1645 + yym1666 := z.DecBinary() + _ = yym1666 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1646 := r.ContainerType() - if yyct1646 == codecSelferValueTypeMap1234 { - yyl1646 := r.ReadMapStart() - if yyl1646 == 0 { + yyct1667 := r.ContainerType() + if yyct1667 == codecSelferValueTypeMap1234 { + yyl1667 := r.ReadMapStart() + if yyl1667 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1646, d) + x.codecDecodeSelfFromMap(yyl1667, d) } - } else if yyct1646 == codecSelferValueTypeArray1234 { - yyl1646 := r.ReadArrayStart() - if yyl1646 == 0 { + } else if yyct1667 == codecSelferValueTypeArray1234 { + yyl1667 := r.ReadArrayStart() + if yyl1667 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1646, d) + x.codecDecodeSelfFromArray(yyl1667, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19571,12 +19770,12 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1647Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1647Slc - var yyhl1647 bool = l >= 0 - for yyj1647 := 0; ; yyj1647++ { - if yyhl1647 { - if yyj1647 >= l { + var yys1668Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1668Slc + var yyhl1668 bool = l >= 0 + for yyj1668 := 0; ; yyj1668++ { + if yyhl1668 { + if yyj1668 >= l { break } } else { @@ -19585,10 +19784,10 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1647Slc = r.DecodeBytes(yys1647Slc, true, true) - yys1647 := string(yys1647Slc) + yys1668Slc = r.DecodeBytes(yys1668Slc, true, true) + yys1668 := string(yys1668Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1647 { + switch yys1668 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -19605,20 +19804,20 @@ func (x *NetworkPolicy) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1650 := &x.ObjectMeta - yyv1650.CodecDecodeSelf(d) + yyv1671 := &x.ObjectMeta + yyv1671.CodecDecodeSelf(d) } case "spec": if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1651 := &x.Spec - yyv1651.CodecDecodeSelf(d) + yyv1672 := &x.Spec + yyv1672.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1647) - } // end switch yys1647 - } // end for yyj1647 + z.DecStructFieldNotFound(-1, yys1668) + } // end switch yys1668 + } // end for yyj1668 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19626,16 +19825,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1652 int - var yyb1652 bool - var yyhl1652 bool = l >= 0 - yyj1652++ - if yyhl1652 { - yyb1652 = yyj1652 > l + var yyj1673 int + var yyb1673 bool + var yyhl1673 bool = l >= 0 + yyj1673++ + if yyhl1673 { + yyb1673 = yyj1673 > l } else { - yyb1652 = r.CheckBreak() + yyb1673 = r.CheckBreak() } - if yyb1652 { + if yyb1673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19645,13 +19844,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.Kind = string(r.DecodeString()) } - yyj1652++ - if yyhl1652 { - yyb1652 = yyj1652 > l + yyj1673++ + if yyhl1673 { + yyb1673 = yyj1673 > l } else { - yyb1652 = r.CheckBreak() + yyb1673 = r.CheckBreak() } - if yyb1652 { + if yyb1673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19661,13 +19860,13 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { } else { x.APIVersion = string(r.DecodeString()) } - yyj1652++ - if yyhl1652 { - yyb1652 = yyj1652 > l + yyj1673++ + if yyhl1673 { + yyb1673 = yyj1673 > l } else { - yyb1652 = r.CheckBreak() + yyb1673 = r.CheckBreak() } - if yyb1652 { + if yyb1673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19675,16 +19874,16 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.ObjectMeta = pkg2_v1.ObjectMeta{} } else { - yyv1655 := &x.ObjectMeta - yyv1655.CodecDecodeSelf(d) + yyv1676 := &x.ObjectMeta + yyv1676.CodecDecodeSelf(d) } - yyj1652++ - if yyhl1652 { - yyb1652 = yyj1652 > l + yyj1673++ + if yyhl1673 { + yyb1673 = yyj1673 > l } else { - yyb1652 = r.CheckBreak() + yyb1673 = r.CheckBreak() } - if yyb1652 { + if yyb1673 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19692,21 +19891,21 @@ func (x *NetworkPolicy) codecDecodeSelfFromArray(l int, d *codec1978.Decoder) { if r.TryDecodeAsNil() { x.Spec = NetworkPolicySpec{} } else { - yyv1656 := &x.Spec - yyv1656.CodecDecodeSelf(d) + yyv1677 := &x.Spec + yyv1677.CodecDecodeSelf(d) } for { - yyj1652++ - if yyhl1652 { - yyb1652 = yyj1652 > l + yyj1673++ + if yyhl1673 { + yyb1673 = yyj1673 > l } else { - yyb1652 = r.CheckBreak() + yyb1673 = r.CheckBreak() } - if yyb1652 { + if yyb1673 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1652-1, "") + z.DecStructFieldNotFound(yyj1673-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19718,49 +19917,49 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1657 := z.EncBinary() - _ = yym1657 + yym1678 := z.EncBinary() + _ = yym1678 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1658 := !z.EncBinary() - yy2arr1658 := z.EncBasicHandle().StructToArray - var yyq1658 [2]bool - _, _, _ = yysep1658, yyq1658, yy2arr1658 - const yyr1658 bool = false - yyq1658[1] = len(x.Ingress) != 0 - var yynn1658 int - if yyr1658 || yy2arr1658 { + 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 { r.EncodeArrayStart(2) } else { - yynn1658 = 1 - for _, b := range yyq1658 { + yynn1679 = 1 + for _, b := range yyq1679 { if b { - yynn1658++ + yynn1679++ } } - r.EncodeMapStart(yynn1658) - yynn1658 = 0 + r.EncodeMapStart(yynn1679) + yynn1679 = 0 } - if yyr1658 || yy2arr1658 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1660 := &x.PodSelector - yy1660.CodecEncodeSelf(e) + yy1681 := &x.PodSelector + yy1681.CodecEncodeSelf(e) } else { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1661 := &x.PodSelector - yy1661.CodecEncodeSelf(e) + yy1682 := &x.PodSelector + yy1682.CodecEncodeSelf(e) } - if yyr1658 || yy2arr1658 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1658[1] { + if yyq1679[1] { if x.Ingress == nil { r.EncodeNil() } else { - yym1663 := z.EncBinary() - _ = yym1663 + yym1684 := z.EncBinary() + _ = yym1684 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19770,15 +19969,15 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1658[1] { + if yyq1679[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ingress")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ingress == nil { r.EncodeNil() } else { - yym1664 := z.EncBinary() - _ = yym1664 + yym1685 := z.EncBinary() + _ = yym1685 if false { } else { h.encSliceNetworkPolicyIngressRule(([]NetworkPolicyIngressRule)(x.Ingress), e) @@ -19786,7 +19985,7 @@ func (x *NetworkPolicySpec) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1658 || yy2arr1658 { + if yyr1679 || yy2arr1679 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -19799,25 +19998,25 @@ func (x *NetworkPolicySpec) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1665 := z.DecBinary() - _ = yym1665 + yym1686 := z.DecBinary() + _ = yym1686 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1666 := r.ContainerType() - if yyct1666 == codecSelferValueTypeMap1234 { - yyl1666 := r.ReadMapStart() - if yyl1666 == 0 { + yyct1687 := r.ContainerType() + if yyct1687 == codecSelferValueTypeMap1234 { + yyl1687 := r.ReadMapStart() + if yyl1687 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1666, d) + x.codecDecodeSelfFromMap(yyl1687, d) } - } else if yyct1666 == codecSelferValueTypeArray1234 { - yyl1666 := r.ReadArrayStart() - if yyl1666 == 0 { + } else if yyct1687 == codecSelferValueTypeArray1234 { + yyl1687 := r.ReadArrayStart() + if yyl1687 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1666, d) + x.codecDecodeSelfFromArray(yyl1687, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -19829,12 +20028,12 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1667Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1667Slc - var yyhl1667 bool = l >= 0 - for yyj1667 := 0; ; yyj1667++ { - if yyhl1667 { - if yyj1667 >= l { + var yys1688Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1688Slc + var yyhl1688 bool = l >= 0 + for yyj1688 := 0; ; yyj1688++ { + if yyhl1688 { + if yyj1688 >= l { break } } else { @@ -19843,33 +20042,33 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1667Slc = r.DecodeBytes(yys1667Slc, true, true) - yys1667 := string(yys1667Slc) + yys1688Slc = r.DecodeBytes(yys1688Slc, true, true) + yys1688 := string(yys1688Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1667 { + switch yys1688 { case "podSelector": if r.TryDecodeAsNil() { x.PodSelector = LabelSelector{} } else { - yyv1668 := &x.PodSelector - yyv1668.CodecDecodeSelf(d) + yyv1689 := &x.PodSelector + yyv1689.CodecDecodeSelf(d) } case "ingress": if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1669 := &x.Ingress - yym1670 := z.DecBinary() - _ = yym1670 + yyv1690 := &x.Ingress + yym1691 := z.DecBinary() + _ = yym1691 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1669), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1690), d) } } default: - z.DecStructFieldNotFound(-1, yys1667) - } // end switch yys1667 - } // end for yyj1667 + z.DecStructFieldNotFound(-1, yys1688) + } // end switch yys1688 + } // end for yyj1688 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -19877,16 +20076,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1671 int - var yyb1671 bool - var yyhl1671 bool = l >= 0 - yyj1671++ - if yyhl1671 { - yyb1671 = yyj1671 > l + var yyj1692 int + var yyb1692 bool + var yyhl1692 bool = l >= 0 + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l } else { - yyb1671 = r.CheckBreak() + yyb1692 = r.CheckBreak() } - if yyb1671 { + if yyb1692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19894,16 +20093,16 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.PodSelector = LabelSelector{} } else { - yyv1672 := &x.PodSelector - yyv1672.CodecDecodeSelf(d) + yyv1693 := &x.PodSelector + yyv1693.CodecDecodeSelf(d) } - yyj1671++ - if yyhl1671 { - yyb1671 = yyj1671 > l + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l } else { - yyb1671 = r.CheckBreak() + yyb1692 = r.CheckBreak() } - if yyb1671 { + if yyb1692 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -19911,26 +20110,26 @@ func (x *NetworkPolicySpec) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Ingress = nil } else { - yyv1673 := &x.Ingress - yym1674 := z.DecBinary() - _ = yym1674 + yyv1694 := &x.Ingress + yym1695 := z.DecBinary() + _ = yym1695 if false { } else { - h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1673), d) + h.decSliceNetworkPolicyIngressRule((*[]NetworkPolicyIngressRule)(yyv1694), d) } } for { - yyj1671++ - if yyhl1671 { - yyb1671 = yyj1671 > l + yyj1692++ + if yyhl1692 { + yyb1692 = yyj1692 > l } else { - yyb1671 = r.CheckBreak() + yyb1692 = r.CheckBreak() } - if yyb1671 { + if yyb1692 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1671-1, "") + z.DecStructFieldNotFound(yyj1692-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -19942,39 +20141,39 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1675 := z.EncBinary() - _ = yym1675 + yym1696 := z.EncBinary() + _ = yym1696 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1676 := !z.EncBinary() - yy2arr1676 := z.EncBasicHandle().StructToArray - var yyq1676 [2]bool - _, _, _ = yysep1676, yyq1676, yy2arr1676 - const yyr1676 bool = false - yyq1676[0] = len(x.Ports) != 0 - yyq1676[1] = len(x.From) != 0 - var yynn1676 int - if yyr1676 || yy2arr1676 { + 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 { r.EncodeArrayStart(2) } else { - yynn1676 = 0 - for _, b := range yyq1676 { + yynn1697 = 0 + for _, b := range yyq1697 { if b { - yynn1676++ + yynn1697++ } } - r.EncodeMapStart(yynn1676) - yynn1676 = 0 + r.EncodeMapStart(yynn1697) + yynn1697 = 0 } - if yyr1676 || yy2arr1676 { + if yyr1697 || yy2arr1697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1676[0] { + if yyq1697[0] { if x.Ports == nil { r.EncodeNil() } else { - yym1678 := z.EncBinary() - _ = yym1678 + yym1699 := z.EncBinary() + _ = yym1699 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -19984,15 +20183,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1676[0] { + if yyq1697[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("ports")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Ports == nil { r.EncodeNil() } else { - yym1679 := z.EncBinary() - _ = yym1679 + yym1700 := z.EncBinary() + _ = yym1700 if false { } else { h.encSliceNetworkPolicyPort(([]NetworkPolicyPort)(x.Ports), e) @@ -20000,14 +20199,14 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1676 || yy2arr1676 { + if yyr1697 || yy2arr1697 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1676[1] { + if yyq1697[1] { if x.From == nil { r.EncodeNil() } else { - yym1681 := z.EncBinary() - _ = yym1681 + yym1702 := z.EncBinary() + _ = yym1702 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -20017,15 +20216,15 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1676[1] { + if yyq1697[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("from")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.From == nil { r.EncodeNil() } else { - yym1682 := z.EncBinary() - _ = yym1682 + yym1703 := z.EncBinary() + _ = yym1703 if false { } else { h.encSliceNetworkPolicyPeer(([]NetworkPolicyPeer)(x.From), e) @@ -20033,7 +20232,7 @@ func (x *NetworkPolicyIngressRule) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1676 || yy2arr1676 { + if yyr1697 || yy2arr1697 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20046,25 +20245,25 @@ func (x *NetworkPolicyIngressRule) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1683 := z.DecBinary() - _ = yym1683 + yym1704 := z.DecBinary() + _ = yym1704 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1684 := r.ContainerType() - if yyct1684 == codecSelferValueTypeMap1234 { - yyl1684 := r.ReadMapStart() - if yyl1684 == 0 { + yyct1705 := r.ContainerType() + if yyct1705 == codecSelferValueTypeMap1234 { + yyl1705 := r.ReadMapStart() + if yyl1705 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1684, d) + x.codecDecodeSelfFromMap(yyl1705, d) } - } else if yyct1684 == codecSelferValueTypeArray1234 { - yyl1684 := r.ReadArrayStart() - if yyl1684 == 0 { + } else if yyct1705 == codecSelferValueTypeArray1234 { + yyl1705 := r.ReadArrayStart() + if yyl1705 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1684, d) + x.codecDecodeSelfFromArray(yyl1705, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20076,12 +20275,12 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1685Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1685Slc - var yyhl1685 bool = l >= 0 - for yyj1685 := 0; ; yyj1685++ { - if yyhl1685 { - if yyj1685 >= l { + var yys1706Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1706Slc + var yyhl1706 bool = l >= 0 + for yyj1706 := 0; ; yyj1706++ { + if yyhl1706 { + if yyj1706 >= l { break } } else { @@ -20090,38 +20289,38 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromMap(l int, d *codec1978.De } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1685Slc = r.DecodeBytes(yys1685Slc, true, true) - yys1685 := string(yys1685Slc) + yys1706Slc = r.DecodeBytes(yys1706Slc, true, true) + yys1706 := string(yys1706Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1685 { + switch yys1706 { case "ports": if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1686 := &x.Ports - yym1687 := z.DecBinary() - _ = yym1687 + yyv1707 := &x.Ports + yym1708 := z.DecBinary() + _ = yym1708 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1686), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1707), d) } } case "from": if r.TryDecodeAsNil() { x.From = nil } else { - yyv1688 := &x.From - yym1689 := z.DecBinary() - _ = yym1689 + yyv1709 := &x.From + yym1710 := z.DecBinary() + _ = yym1710 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1688), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1709), d) } } default: - z.DecStructFieldNotFound(-1, yys1685) - } // end switch yys1685 - } // end for yyj1685 + z.DecStructFieldNotFound(-1, yys1706) + } // end switch yys1706 + } // end for yyj1706 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20129,16 +20328,16 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1690 int - var yyb1690 bool - var yyhl1690 bool = l >= 0 - yyj1690++ - if yyhl1690 { - yyb1690 = yyj1690 > l + var yyj1711 int + var yyb1711 bool + var yyhl1711 bool = l >= 0 + yyj1711++ + if yyhl1711 { + yyb1711 = yyj1711 > l } else { - yyb1690 = r.CheckBreak() + yyb1711 = r.CheckBreak() } - if yyb1690 { + if yyb1711 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20146,21 +20345,21 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.Ports = nil } else { - yyv1691 := &x.Ports - yym1692 := z.DecBinary() - _ = yym1692 + yyv1712 := &x.Ports + yym1713 := z.DecBinary() + _ = yym1713 if false { } else { - h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1691), d) + h.decSliceNetworkPolicyPort((*[]NetworkPolicyPort)(yyv1712), d) } } - yyj1690++ - if yyhl1690 { - yyb1690 = yyj1690 > l + yyj1711++ + if yyhl1711 { + yyb1711 = yyj1711 > l } else { - yyb1690 = r.CheckBreak() + yyb1711 = r.CheckBreak() } - if yyb1690 { + if yyb1711 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20168,26 +20367,26 @@ func (x *NetworkPolicyIngressRule) codecDecodeSelfFromArray(l int, d *codec1978. if r.TryDecodeAsNil() { x.From = nil } else { - yyv1693 := &x.From - yym1694 := z.DecBinary() - _ = yym1694 + yyv1714 := &x.From + yym1715 := z.DecBinary() + _ = yym1715 if false { } else { - h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1693), d) + h.decSliceNetworkPolicyPeer((*[]NetworkPolicyPeer)(yyv1714), d) } } for { - yyj1690++ - if yyhl1690 { - yyb1690 = yyj1690 > l + yyj1711++ + if yyhl1711 { + yyb1711 = yyj1711 > l } else { - yyb1690 = r.CheckBreak() + yyb1711 = r.CheckBreak() } - if yyb1690 { + if yyb1711 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1690-1, "") + z.DecStructFieldNotFound(yyj1711-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20199,79 +20398,79 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1695 := z.EncBinary() - _ = yym1695 + yym1716 := z.EncBinary() + _ = yym1716 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1696 := !z.EncBinary() - yy2arr1696 := z.EncBasicHandle().StructToArray - var yyq1696 [2]bool - _, _, _ = yysep1696, yyq1696, yy2arr1696 - const yyr1696 bool = false - yyq1696[0] = x.Protocol != nil - yyq1696[1] = x.Port != nil - var yynn1696 int - if yyr1696 || yy2arr1696 { + 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 { r.EncodeArrayStart(2) } else { - yynn1696 = 0 - for _, b := range yyq1696 { + yynn1717 = 0 + for _, b := range yyq1717 { if b { - yynn1696++ + yynn1717++ } } - r.EncodeMapStart(yynn1696) - yynn1696 = 0 + r.EncodeMapStart(yynn1717) + yynn1717 = 0 } - if yyr1696 || yy2arr1696 { + if yyr1717 || yy2arr1717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1696[0] { + if yyq1717[0] { if x.Protocol == nil { r.EncodeNil() } else { - yy1698 := *x.Protocol - yym1699 := z.EncBinary() - _ = yym1699 + yy1719 := *x.Protocol + yym1720 := z.EncBinary() + _ = yym1720 if false { - } else if z.HasExtensions() && z.EncExt(yy1698) { + } else if z.HasExtensions() && z.EncExt(yy1719) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1698)) + r.EncodeString(codecSelferC_UTF81234, string(yy1719)) } } } else { r.EncodeNil() } } else { - if yyq1696[0] { + if yyq1717[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("protocol")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Protocol == nil { r.EncodeNil() } else { - yy1700 := *x.Protocol - yym1701 := z.EncBinary() - _ = yym1701 + yy1721 := *x.Protocol + yym1722 := z.EncBinary() + _ = yym1722 if false { - } else if z.HasExtensions() && z.EncExt(yy1700) { + } else if z.HasExtensions() && z.EncExt(yy1721) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yy1700)) + r.EncodeString(codecSelferC_UTF81234, string(yy1721)) } } } } - if yyr1696 || yy2arr1696 { + if yyr1717 || yy2arr1717 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1696[1] { + if yyq1717[1] { if x.Port == nil { r.EncodeNil() } else { - yym1703 := z.EncBinary() - _ = yym1703 + yym1724 := z.EncBinary() + _ = yym1724 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1703 && z.IsJSONHandle() { + } else if !yym1724 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20281,18 +20480,18 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1696[1] { + if yyq1717[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("port")) z.EncSendContainerState(codecSelfer_containerMapValue1234) if x.Port == nil { r.EncodeNil() } else { - yym1704 := z.EncBinary() - _ = yym1704 + yym1725 := z.EncBinary() + _ = yym1725 if false { } else if z.HasExtensions() && z.EncExt(x.Port) { - } else if !yym1704 && z.IsJSONHandle() { + } else if !yym1725 && z.IsJSONHandle() { z.EncJSONMarshal(x.Port) } else { z.EncFallback(x.Port) @@ -20300,7 +20499,7 @@ func (x *NetworkPolicyPort) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1696 || yy2arr1696 { + if yyr1717 || yy2arr1717 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20313,25 +20512,25 @@ func (x *NetworkPolicyPort) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1705 := z.DecBinary() - _ = yym1705 + yym1726 := z.DecBinary() + _ = yym1726 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1706 := r.ContainerType() - if yyct1706 == codecSelferValueTypeMap1234 { - yyl1706 := r.ReadMapStart() - if yyl1706 == 0 { + yyct1727 := r.ContainerType() + if yyct1727 == codecSelferValueTypeMap1234 { + yyl1727 := r.ReadMapStart() + if yyl1727 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1706, d) + x.codecDecodeSelfFromMap(yyl1727, d) } - } else if yyct1706 == codecSelferValueTypeArray1234 { - yyl1706 := r.ReadArrayStart() - if yyl1706 == 0 { + } else if yyct1727 == codecSelferValueTypeArray1234 { + yyl1727 := r.ReadArrayStart() + if yyl1727 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1706, d) + x.codecDecodeSelfFromArray(yyl1727, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20343,12 +20542,12 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1707Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1707Slc - var yyhl1707 bool = l >= 0 - for yyj1707 := 0; ; yyj1707++ { - if yyhl1707 { - if yyj1707 >= l { + var yys1728Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1728Slc + var yyhl1728 bool = l >= 0 + for yyj1728 := 0; ; yyj1728++ { + if yyhl1728 { + if yyj1728 >= l { break } } else { @@ -20357,10 +20556,10 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1707Slc = r.DecodeBytes(yys1707Slc, true, true) - yys1707 := string(yys1707Slc) + yys1728Slc = r.DecodeBytes(yys1728Slc, true, true) + yys1728 := string(yys1728Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1707 { + switch yys1728 { case "protocol": if r.TryDecodeAsNil() { if x.Protocol != nil { @@ -20381,20 +20580,20 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1710 := z.DecBinary() - _ = yym1710 + yym1731 := z.DecBinary() + _ = yym1731 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1710 && z.IsJSONHandle() { + } else if !yym1731 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } default: - z.DecStructFieldNotFound(-1, yys1707) - } // end switch yys1707 - } // end for yyj1707 + z.DecStructFieldNotFound(-1, yys1728) + } // end switch yys1728 + } // end for yyj1728 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20402,16 +20601,16 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder 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 yyj1732 int + var yyb1732 bool + var yyhl1732 bool = l >= 0 + yyj1732++ + if yyhl1732 { + yyb1732 = yyj1732 > l } else { - yyb1711 = r.CheckBreak() + yyb1732 = r.CheckBreak() } - if yyb1711 { + if yyb1732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20426,13 +20625,13 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.Protocol.CodecDecodeSelf(d) } - yyj1711++ - if yyhl1711 { - yyb1711 = yyj1711 > l + yyj1732++ + if yyhl1732 { + yyb1732 = yyj1732 > l } else { - yyb1711 = r.CheckBreak() + yyb1732 = r.CheckBreak() } - if yyb1711 { + if yyb1732 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20445,28 +20644,28 @@ func (x *NetworkPolicyPort) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if x.Port == nil { x.Port = new(pkg5_intstr.IntOrString) } - yym1714 := z.DecBinary() - _ = yym1714 + yym1735 := z.DecBinary() + _ = yym1735 if false { } else if z.HasExtensions() && z.DecExt(x.Port) { - } else if !yym1714 && z.IsJSONHandle() { + } else if !yym1735 && z.IsJSONHandle() { z.DecJSONUnmarshal(x.Port) } else { z.DecFallback(x.Port, false) } } for { - yyj1711++ - if yyhl1711 { - yyb1711 = yyj1711 > l + yyj1732++ + if yyhl1732 { + yyb1732 = yyj1732 > l } else { - yyb1711 = r.CheckBreak() + yyb1732 = r.CheckBreak() } - if yyb1711 { + if yyb1732 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1711-1, "") + z.DecStructFieldNotFound(yyj1732-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20478,34 +20677,34 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1715 := z.EncBinary() - _ = yym1715 + yym1736 := z.EncBinary() + _ = yym1736 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1716 := !z.EncBinary() - yy2arr1716 := z.EncBasicHandle().StructToArray - var yyq1716 [2]bool - _, _, _ = yysep1716, yyq1716, yy2arr1716 - const yyr1716 bool = false - yyq1716[0] = x.PodSelector != nil - yyq1716[1] = x.NamespaceSelector != nil - var yynn1716 int - if yyr1716 || yy2arr1716 { + 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 { r.EncodeArrayStart(2) } else { - yynn1716 = 0 - for _, b := range yyq1716 { + yynn1737 = 0 + for _, b := range yyq1737 { if b { - yynn1716++ + yynn1737++ } } - r.EncodeMapStart(yynn1716) - yynn1716 = 0 + r.EncodeMapStart(yynn1737) + yynn1737 = 0 } - if yyr1716 || yy2arr1716 { + if yyr1737 || yy2arr1737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1716[0] { + if yyq1737[0] { if x.PodSelector == nil { r.EncodeNil() } else { @@ -20515,7 +20714,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1716[0] { + if yyq1737[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("podSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20526,9 +20725,9 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1716 || yy2arr1716 { + if yyr1737 || yy2arr1737 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1716[1] { + if yyq1737[1] { if x.NamespaceSelector == nil { r.EncodeNil() } else { @@ -20538,7 +20737,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeNil() } } else { - if yyq1716[1] { + if yyq1737[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("namespaceSelector")) z.EncSendContainerState(codecSelfer_containerMapValue1234) @@ -20549,7 +20748,7 @@ func (x *NetworkPolicyPeer) CodecEncodeSelf(e *codec1978.Encoder) { } } } - if yyr1716 || yy2arr1716 { + if yyr1737 || yy2arr1737 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20562,25 +20761,25 @@ func (x *NetworkPolicyPeer) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1719 := z.DecBinary() - _ = yym1719 + yym1740 := z.DecBinary() + _ = yym1740 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1720 := r.ContainerType() - if yyct1720 == codecSelferValueTypeMap1234 { - yyl1720 := r.ReadMapStart() - if yyl1720 == 0 { + yyct1741 := r.ContainerType() + if yyct1741 == codecSelferValueTypeMap1234 { + yyl1741 := r.ReadMapStart() + if yyl1741 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1720, d) + x.codecDecodeSelfFromMap(yyl1741, d) } - } else if yyct1720 == codecSelferValueTypeArray1234 { - yyl1720 := r.ReadArrayStart() - if yyl1720 == 0 { + } else if yyct1741 == codecSelferValueTypeArray1234 { + yyl1741 := r.ReadArrayStart() + if yyl1741 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1720, d) + x.codecDecodeSelfFromArray(yyl1741, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20592,12 +20791,12 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1721Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1721Slc - var yyhl1721 bool = l >= 0 - for yyj1721 := 0; ; yyj1721++ { - if yyhl1721 { - if yyj1721 >= l { + var yys1742Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1742Slc + var yyhl1742 bool = l >= 0 + for yyj1742 := 0; ; yyj1742++ { + if yyhl1742 { + if yyj1742 >= l { break } } else { @@ -20606,10 +20805,10 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1721Slc = r.DecodeBytes(yys1721Slc, true, true) - yys1721 := string(yys1721Slc) + yys1742Slc = r.DecodeBytes(yys1742Slc, true, true) + yys1742 := string(yys1742Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1721 { + switch yys1742 { case "podSelector": if r.TryDecodeAsNil() { if x.PodSelector != nil { @@ -20633,9 +20832,9 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) x.NamespaceSelector.CodecDecodeSelf(d) } default: - z.DecStructFieldNotFound(-1, yys1721) - } // end switch yys1721 - } // end for yyj1721 + z.DecStructFieldNotFound(-1, yys1742) + } // end switch yys1742 + } // end for yyj1742 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20643,16 +20842,16 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1724 int - var yyb1724 bool - var yyhl1724 bool = l >= 0 - yyj1724++ - if yyhl1724 { - yyb1724 = yyj1724 > l + var yyj1745 int + var yyb1745 bool + var yyhl1745 bool = l >= 0 + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1724 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1724 { + if yyb1745 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20667,13 +20866,13 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } x.PodSelector.CodecDecodeSelf(d) } - yyj1724++ - if yyhl1724 { - yyb1724 = yyj1724 > l + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1724 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1724 { + if yyb1745 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20689,17 +20888,17 @@ func (x *NetworkPolicyPeer) codecDecodeSelfFromArray(l int, d *codec1978.Decoder x.NamespaceSelector.CodecDecodeSelf(d) } for { - yyj1724++ - if yyhl1724 { - yyb1724 = yyj1724 > l + yyj1745++ + if yyhl1745 { + yyb1745 = yyj1745 > l } else { - yyb1724 = r.CheckBreak() + yyb1745 = r.CheckBreak() } - if yyb1724 { + if yyb1745 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1724-1, "") + z.DecStructFieldNotFound(yyj1745-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -20711,37 +20910,37 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x == nil { r.EncodeNil() } else { - yym1727 := z.EncBinary() - _ = yym1727 + yym1748 := z.EncBinary() + _ = yym1748 if false { } else if z.HasExtensions() && z.EncExt(x) { } else { - yysep1728 := !z.EncBinary() - yy2arr1728 := z.EncBasicHandle().StructToArray - var yyq1728 [4]bool - _, _, _ = yysep1728, yyq1728, yy2arr1728 - const yyr1728 bool = false - yyq1728[0] = x.Kind != "" - yyq1728[1] = x.APIVersion != "" - yyq1728[2] = true - var yynn1728 int - if yyr1728 || yy2arr1728 { + 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 { r.EncodeArrayStart(4) } else { - yynn1728 = 1 - for _, b := range yyq1728 { + yynn1749 = 1 + for _, b := range yyq1749 { if b { - yynn1728++ + yynn1749++ } } - r.EncodeMapStart(yynn1728) - yynn1728 = 0 + r.EncodeMapStart(yynn1749) + yynn1749 = 0 } - if yyr1728 || yy2arr1728 { + if yyr1749 || yy2arr1749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1728[0] { - yym1730 := z.EncBinary() - _ = yym1730 + if yyq1749[0] { + yym1751 := z.EncBinary() + _ = yym1751 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) @@ -20750,23 +20949,23 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1728[0] { + if yyq1749[0] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("kind")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1731 := z.EncBinary() - _ = yym1731 + yym1752 := z.EncBinary() + _ = yym1752 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.Kind)) } } } - if yyr1728 || yy2arr1728 { + if yyr1749 || yy2arr1749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1728[1] { - yym1733 := z.EncBinary() - _ = yym1733 + if yyq1749[1] { + yym1754 := z.EncBinary() + _ = yym1754 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) @@ -20775,54 +20974,54 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { r.EncodeString(codecSelferC_UTF81234, "") } } else { - if yyq1728[1] { + if yyq1749[1] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("apiVersion")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yym1734 := z.EncBinary() - _ = yym1734 + yym1755 := z.EncBinary() + _ = yym1755 if false { } else { r.EncodeString(codecSelferC_UTF81234, string(x.APIVersion)) } } } - if yyr1728 || yy2arr1728 { + if yyr1749 || yy2arr1749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - if yyq1728[2] { - yy1736 := &x.ListMeta - yym1737 := z.EncBinary() - _ = yym1737 + if yyq1749[2] { + yy1757 := &x.ListMeta + yym1758 := z.EncBinary() + _ = yym1758 if false { - } else if z.HasExtensions() && z.EncExt(yy1736) { + } else if z.HasExtensions() && z.EncExt(yy1757) { } else { - z.EncFallback(yy1736) + z.EncFallback(yy1757) } } else { r.EncodeNil() } } else { - if yyq1728[2] { + if yyq1749[2] { z.EncSendContainerState(codecSelfer_containerMapKey1234) r.EncodeString(codecSelferC_UTF81234, string("metadata")) z.EncSendContainerState(codecSelfer_containerMapValue1234) - yy1738 := &x.ListMeta - yym1739 := z.EncBinary() - _ = yym1739 + yy1759 := &x.ListMeta + yym1760 := z.EncBinary() + _ = yym1760 if false { - } else if z.HasExtensions() && z.EncExt(yy1738) { + } else if z.HasExtensions() && z.EncExt(yy1759) { } else { - z.EncFallback(yy1738) + z.EncFallback(yy1759) } } } - if yyr1728 || yy2arr1728 { + if yyr1749 || yy2arr1749 { z.EncSendContainerState(codecSelfer_containerArrayElem1234) if x.Items == nil { r.EncodeNil() } else { - yym1741 := z.EncBinary() - _ = yym1741 + yym1762 := z.EncBinary() + _ = yym1762 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) @@ -20835,15 +21034,15 @@ func (x *NetworkPolicyList) CodecEncodeSelf(e *codec1978.Encoder) { if x.Items == nil { r.EncodeNil() } else { - yym1742 := z.EncBinary() - _ = yym1742 + yym1763 := z.EncBinary() + _ = yym1763 if false { } else { h.encSliceNetworkPolicy(([]NetworkPolicy)(x.Items), e) } } } - if yyr1728 || yy2arr1728 { + if yyr1749 || yy2arr1749 { z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } else { z.EncSendContainerState(codecSelfer_containerMapEnd1234) @@ -20856,25 +21055,25 @@ func (x *NetworkPolicyList) CodecDecodeSelf(d *codec1978.Decoder) { var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yym1743 := z.DecBinary() - _ = yym1743 + yym1764 := z.DecBinary() + _ = yym1764 if false { } else if z.HasExtensions() && z.DecExt(x) { } else { - yyct1744 := r.ContainerType() - if yyct1744 == codecSelferValueTypeMap1234 { - yyl1744 := r.ReadMapStart() - if yyl1744 == 0 { + yyct1765 := r.ContainerType() + if yyct1765 == codecSelferValueTypeMap1234 { + yyl1765 := r.ReadMapStart() + if yyl1765 == 0 { z.DecSendContainerState(codecSelfer_containerMapEnd1234) } else { - x.codecDecodeSelfFromMap(yyl1744, d) + x.codecDecodeSelfFromMap(yyl1765, d) } - } else if yyct1744 == codecSelferValueTypeArray1234 { - yyl1744 := r.ReadArrayStart() - if yyl1744 == 0 { + } else if yyct1765 == codecSelferValueTypeArray1234 { + yyl1765 := r.ReadArrayStart() + if yyl1765 == 0 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } else { - x.codecDecodeSelfFromArray(yyl1744, d) + x.codecDecodeSelfFromArray(yyl1765, d) } } else { panic(codecSelferOnlyMapOrArrayEncodeToStructErr1234) @@ -20886,12 +21085,12 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yys1745Slc = z.DecScratchBuffer() // default slice to decode into - _ = yys1745Slc - var yyhl1745 bool = l >= 0 - for yyj1745 := 0; ; yyj1745++ { - if yyhl1745 { - if yyj1745 >= l { + var yys1766Slc = z.DecScratchBuffer() // default slice to decode into + _ = yys1766Slc + var yyhl1766 bool = l >= 0 + for yyj1766 := 0; ; yyj1766++ { + if yyhl1766 { + if yyj1766 >= l { break } } else { @@ -20900,10 +21099,10 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) } } z.DecSendContainerState(codecSelfer_containerMapKey1234) - yys1745Slc = r.DecodeBytes(yys1745Slc, true, true) - yys1745 := string(yys1745Slc) + yys1766Slc = r.DecodeBytes(yys1766Slc, true, true) + yys1766 := string(yys1766Slc) z.DecSendContainerState(codecSelfer_containerMapValue1234) - switch yys1745 { + switch yys1766 { case "kind": if r.TryDecodeAsNil() { x.Kind = "" @@ -20920,31 +21119,31 @@ func (x *NetworkPolicyList) codecDecodeSelfFromMap(l int, d *codec1978.Decoder) if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1748 := &x.ListMeta - yym1749 := z.DecBinary() - _ = yym1749 + yyv1769 := &x.ListMeta + yym1770 := z.DecBinary() + _ = yym1770 if false { - } else if z.HasExtensions() && z.DecExt(yyv1748) { + } else if z.HasExtensions() && z.DecExt(yyv1769) { } else { - z.DecFallback(yyv1748, false) + z.DecFallback(yyv1769, false) } } case "items": if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1750 := &x.Items - yym1751 := z.DecBinary() - _ = yym1751 + yyv1771 := &x.Items + yym1772 := z.DecBinary() + _ = yym1772 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1750), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1771), d) } } default: - z.DecStructFieldNotFound(-1, yys1745) - } // end switch yys1745 - } // end for yyj1745 + z.DecStructFieldNotFound(-1, yys1766) + } // end switch yys1766 + } // end for yyj1766 z.DecSendContainerState(codecSelfer_containerMapEnd1234) } @@ -20952,16 +21151,16 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder var h codecSelfer1234 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - var yyj1752 int - var yyb1752 bool - var yyhl1752 bool = l >= 0 - yyj1752++ - if yyhl1752 { - yyb1752 = yyj1752 > l + var yyj1773 int + var yyb1773 bool + var yyhl1773 bool = l >= 0 + yyj1773++ + if yyhl1773 { + yyb1773 = yyj1773 > l } else { - yyb1752 = r.CheckBreak() + yyb1773 = r.CheckBreak() } - if yyb1752 { + if yyb1773 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20971,13 +21170,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.Kind = string(r.DecodeString()) } - yyj1752++ - if yyhl1752 { - yyb1752 = yyj1752 > l + yyj1773++ + if yyhl1773 { + yyb1773 = yyj1773 > l } else { - yyb1752 = r.CheckBreak() + yyb1773 = r.CheckBreak() } - if yyb1752 { + if yyb1773 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -20987,13 +21186,13 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder } else { x.APIVersion = string(r.DecodeString()) } - yyj1752++ - if yyhl1752 { - yyb1752 = yyj1752 > l + yyj1773++ + if yyhl1773 { + yyb1773 = yyj1773 > l } else { - yyb1752 = r.CheckBreak() + yyb1773 = r.CheckBreak() } - if yyb1752 { + if yyb1773 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21001,22 +21200,22 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.ListMeta = pkg1_unversioned.ListMeta{} } else { - yyv1755 := &x.ListMeta - yym1756 := z.DecBinary() - _ = yym1756 + yyv1776 := &x.ListMeta + yym1777 := z.DecBinary() + _ = yym1777 if false { - } else if z.HasExtensions() && z.DecExt(yyv1755) { + } else if z.HasExtensions() && z.DecExt(yyv1776) { } else { - z.DecFallback(yyv1755, false) + z.DecFallback(yyv1776, false) } } - yyj1752++ - if yyhl1752 { - yyb1752 = yyj1752 > l + yyj1773++ + if yyhl1773 { + yyb1773 = yyj1773 > l } else { - yyb1752 = r.CheckBreak() + yyb1773 = r.CheckBreak() } - if yyb1752 { + if yyb1773 { z.DecSendContainerState(codecSelfer_containerArrayEnd1234) return } @@ -21024,26 +21223,26 @@ func (x *NetworkPolicyList) codecDecodeSelfFromArray(l int, d *codec1978.Decoder if r.TryDecodeAsNil() { x.Items = nil } else { - yyv1757 := &x.Items - yym1758 := z.DecBinary() - _ = yym1758 + yyv1778 := &x.Items + yym1779 := z.DecBinary() + _ = yym1779 if false { } else { - h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1757), d) + h.decSliceNetworkPolicy((*[]NetworkPolicy)(yyv1778), d) } } for { - yyj1752++ - if yyhl1752 { - yyb1752 = yyj1752 > l + yyj1773++ + if yyhl1773 { + yyb1773 = yyj1773 > l } else { - yyb1752 = r.CheckBreak() + yyb1773 = r.CheckBreak() } - if yyb1752 { + if yyb1773 { break } z.DecSendContainerState(codecSelfer_containerArrayElem1234) - z.DecStructFieldNotFound(yyj1752-1, "") + z.DecStructFieldNotFound(yyj1773-1, "") } z.DecSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21053,10 +21252,10 @@ func (x codecSelfer1234) encSliceCustomMetricTarget(v []CustomMetricTarget, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1759 := range v { + for _, yyv1780 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1760 := &yyv1759 - yy1760.CodecEncodeSelf(e) + yy1781 := &yyv1780 + yy1781.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21066,83 +21265,83 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1761 := *v - yyh1761, yyl1761 := z.DecSliceHelperStart() - var yyc1761 bool - if yyl1761 == 0 { - if yyv1761 == nil { - yyv1761 = []CustomMetricTarget{} - yyc1761 = true - } else if len(yyv1761) != 0 { - yyv1761 = yyv1761[:0] - yyc1761 = true + 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 yyl1761 > 0 { - var yyrr1761, yyrl1761 int - var yyrt1761 bool - if yyl1761 > cap(yyv1761) { + } else if yyl1782 > 0 { + var yyrr1782, yyrl1782 int + var yyrt1782 bool + if yyl1782 > cap(yyv1782) { - yyrg1761 := len(yyv1761) > 0 - yyv21761 := yyv1761 - yyrl1761, yyrt1761 = z.DecInferLen(yyl1761, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1761 { - if yyrl1761 <= cap(yyv1761) { - yyv1761 = yyv1761[:yyrl1761] + 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 { - yyv1761 = make([]CustomMetricTarget, yyrl1761) + yyv1782 = make([]CustomMetricTarget, yyrl1782) } } else { - yyv1761 = make([]CustomMetricTarget, yyrl1761) + yyv1782 = make([]CustomMetricTarget, yyrl1782) } - yyc1761 = true - yyrr1761 = len(yyv1761) - if yyrg1761 { - copy(yyv1761, yyv21761) + yyc1782 = true + yyrr1782 = len(yyv1782) + if yyrg1782 { + copy(yyv1782, yyv21782) } - } else if yyl1761 != len(yyv1761) { - yyv1761 = yyv1761[:yyl1761] - yyc1761 = true + } else if yyl1782 != len(yyv1782) { + yyv1782 = yyv1782[:yyl1782] + yyc1782 = true } - yyj1761 := 0 - for ; yyj1761 < yyrr1761; yyj1761++ { - yyh1761.ElemContainerState(yyj1761) + yyj1782 := 0 + for ; yyj1782 < yyrr1782; yyj1782++ { + yyh1782.ElemContainerState(yyj1782) if r.TryDecodeAsNil() { - yyv1761[yyj1761] = CustomMetricTarget{} + yyv1782[yyj1782] = CustomMetricTarget{} } else { - yyv1762 := &yyv1761[yyj1761] - yyv1762.CodecDecodeSelf(d) + yyv1783 := &yyv1782[yyj1782] + yyv1783.CodecDecodeSelf(d) } } - if yyrt1761 { - for ; yyj1761 < yyl1761; yyj1761++ { - yyv1761 = append(yyv1761, CustomMetricTarget{}) - yyh1761.ElemContainerState(yyj1761) + if yyrt1782 { + for ; yyj1782 < yyl1782; yyj1782++ { + yyv1782 = append(yyv1782, CustomMetricTarget{}) + yyh1782.ElemContainerState(yyj1782) if r.TryDecodeAsNil() { - yyv1761[yyj1761] = CustomMetricTarget{} + yyv1782[yyj1782] = CustomMetricTarget{} } else { - yyv1763 := &yyv1761[yyj1761] - yyv1763.CodecDecodeSelf(d) + yyv1784 := &yyv1782[yyj1782] + yyv1784.CodecDecodeSelf(d) } } } } else { - yyj1761 := 0 - for ; !r.CheckBreak(); yyj1761++ { + yyj1782 := 0 + for ; !r.CheckBreak(); yyj1782++ { - if yyj1761 >= len(yyv1761) { - yyv1761 = append(yyv1761, CustomMetricTarget{}) // var yyz1761 CustomMetricTarget - yyc1761 = true + if yyj1782 >= len(yyv1782) { + yyv1782 = append(yyv1782, CustomMetricTarget{}) // var yyz1782 CustomMetricTarget + yyc1782 = true } - yyh1761.ElemContainerState(yyj1761) - if yyj1761 < len(yyv1761) { + yyh1782.ElemContainerState(yyj1782) + if yyj1782 < len(yyv1782) { if r.TryDecodeAsNil() { - yyv1761[yyj1761] = CustomMetricTarget{} + yyv1782[yyj1782] = CustomMetricTarget{} } else { - yyv1764 := &yyv1761[yyj1761] - yyv1764.CodecDecodeSelf(d) + yyv1785 := &yyv1782[yyj1782] + yyv1785.CodecDecodeSelf(d) } } else { @@ -21150,17 +21349,17 @@ func (x codecSelfer1234) decSliceCustomMetricTarget(v *[]CustomMetricTarget, d * } } - if yyj1761 < len(yyv1761) { - yyv1761 = yyv1761[:yyj1761] - yyc1761 = true - } else if yyj1761 == 0 && yyv1761 == nil { - yyv1761 = []CustomMetricTarget{} - yyc1761 = true + if yyj1782 < len(yyv1782) { + yyv1782 = yyv1782[:yyj1782] + yyc1782 = true + } else if yyj1782 == 0 && yyv1782 == nil { + yyv1782 = []CustomMetricTarget{} + yyc1782 = true } } - yyh1761.End() - if yyc1761 { - *v = yyv1761 + yyh1782.End() + if yyc1782 { + *v = yyv1782 } } @@ -21169,10 +21368,10 @@ func (x codecSelfer1234) encSliceCustomMetricCurrentStatus(v []CustomMetricCurre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1765 := range v { + for _, yyv1786 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1766 := &yyv1765 - yy1766.CodecEncodeSelf(e) + yy1787 := &yyv1786 + yy1787.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21182,83 +21381,83 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1767 := *v - yyh1767, yyl1767 := z.DecSliceHelperStart() - var yyc1767 bool - if yyl1767 == 0 { - if yyv1767 == nil { - yyv1767 = []CustomMetricCurrentStatus{} - yyc1767 = true - } else if len(yyv1767) != 0 { - yyv1767 = yyv1767[:0] - yyc1767 = true + 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 yyl1767 > 0 { - var yyrr1767, yyrl1767 int - var yyrt1767 bool - if yyl1767 > cap(yyv1767) { + } else if yyl1788 > 0 { + var yyrr1788, yyrl1788 int + var yyrt1788 bool + if yyl1788 > cap(yyv1788) { - yyrg1767 := len(yyv1767) > 0 - yyv21767 := yyv1767 - yyrl1767, yyrt1767 = z.DecInferLen(yyl1767, z.DecBasicHandle().MaxInitLen, 72) - if yyrt1767 { - if yyrl1767 <= cap(yyv1767) { - yyv1767 = yyv1767[:yyrl1767] + 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 { - yyv1767 = make([]CustomMetricCurrentStatus, yyrl1767) + yyv1788 = make([]CustomMetricCurrentStatus, yyrl1788) } } else { - yyv1767 = make([]CustomMetricCurrentStatus, yyrl1767) + yyv1788 = make([]CustomMetricCurrentStatus, yyrl1788) } - yyc1767 = true - yyrr1767 = len(yyv1767) - if yyrg1767 { - copy(yyv1767, yyv21767) + yyc1788 = true + yyrr1788 = len(yyv1788) + if yyrg1788 { + copy(yyv1788, yyv21788) } - } else if yyl1767 != len(yyv1767) { - yyv1767 = yyv1767[:yyl1767] - yyc1767 = true + } else if yyl1788 != len(yyv1788) { + yyv1788 = yyv1788[:yyl1788] + yyc1788 = true } - yyj1767 := 0 - for ; yyj1767 < yyrr1767; yyj1767++ { - yyh1767.ElemContainerState(yyj1767) + yyj1788 := 0 + for ; yyj1788 < yyrr1788; yyj1788++ { + yyh1788.ElemContainerState(yyj1788) if r.TryDecodeAsNil() { - yyv1767[yyj1767] = CustomMetricCurrentStatus{} + yyv1788[yyj1788] = CustomMetricCurrentStatus{} } else { - yyv1768 := &yyv1767[yyj1767] - yyv1768.CodecDecodeSelf(d) + yyv1789 := &yyv1788[yyj1788] + yyv1789.CodecDecodeSelf(d) } } - if yyrt1767 { - for ; yyj1767 < yyl1767; yyj1767++ { - yyv1767 = append(yyv1767, CustomMetricCurrentStatus{}) - yyh1767.ElemContainerState(yyj1767) + if yyrt1788 { + for ; yyj1788 < yyl1788; yyj1788++ { + yyv1788 = append(yyv1788, CustomMetricCurrentStatus{}) + yyh1788.ElemContainerState(yyj1788) if r.TryDecodeAsNil() { - yyv1767[yyj1767] = CustomMetricCurrentStatus{} + yyv1788[yyj1788] = CustomMetricCurrentStatus{} } else { - yyv1769 := &yyv1767[yyj1767] - yyv1769.CodecDecodeSelf(d) + yyv1790 := &yyv1788[yyj1788] + yyv1790.CodecDecodeSelf(d) } } } } else { - yyj1767 := 0 - for ; !r.CheckBreak(); yyj1767++ { + yyj1788 := 0 + for ; !r.CheckBreak(); yyj1788++ { - if yyj1767 >= len(yyv1767) { - yyv1767 = append(yyv1767, CustomMetricCurrentStatus{}) // var yyz1767 CustomMetricCurrentStatus - yyc1767 = true + if yyj1788 >= len(yyv1788) { + yyv1788 = append(yyv1788, CustomMetricCurrentStatus{}) // var yyz1788 CustomMetricCurrentStatus + yyc1788 = true } - yyh1767.ElemContainerState(yyj1767) - if yyj1767 < len(yyv1767) { + yyh1788.ElemContainerState(yyj1788) + if yyj1788 < len(yyv1788) { if r.TryDecodeAsNil() { - yyv1767[yyj1767] = CustomMetricCurrentStatus{} + yyv1788[yyj1788] = CustomMetricCurrentStatus{} } else { - yyv1770 := &yyv1767[yyj1767] - yyv1770.CodecDecodeSelf(d) + yyv1791 := &yyv1788[yyj1788] + yyv1791.CodecDecodeSelf(d) } } else { @@ -21266,17 +21465,17 @@ func (x codecSelfer1234) decSliceCustomMetricCurrentStatus(v *[]CustomMetricCurr } } - if yyj1767 < len(yyv1767) { - yyv1767 = yyv1767[:yyj1767] - yyc1767 = true - } else if yyj1767 == 0 && yyv1767 == nil { - yyv1767 = []CustomMetricCurrentStatus{} - yyc1767 = true + if yyj1788 < len(yyv1788) { + yyv1788 = yyv1788[:yyj1788] + yyc1788 = true + } else if yyj1788 == 0 && yyv1788 == nil { + yyv1788 = []CustomMetricCurrentStatus{} + yyc1788 = true } } - yyh1767.End() - if yyc1767 { - *v = yyv1767 + yyh1788.End() + if yyc1788 { + *v = yyv1788 } } @@ -21285,10 +21484,10 @@ func (x codecSelfer1234) encSliceHorizontalPodAutoscaler(v []HorizontalPodAutosc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1771 := range v { + for _, yyv1792 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1772 := &yyv1771 - yy1772.CodecEncodeSelf(e) + yy1793 := &yyv1792 + yy1793.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21298,83 +21497,83 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1773 := *v - yyh1773, yyl1773 := z.DecSliceHelperStart() - var yyc1773 bool - if yyl1773 == 0 { - if yyv1773 == nil { - yyv1773 = []HorizontalPodAutoscaler{} - yyc1773 = true - } else if len(yyv1773) != 0 { - yyv1773 = yyv1773[:0] - yyc1773 = true + 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 yyl1773 > 0 { - var yyrr1773, yyrl1773 int - var yyrt1773 bool - if yyl1773 > cap(yyv1773) { + } else if yyl1794 > 0 { + var yyrr1794, yyrl1794 int + var yyrt1794 bool + if yyl1794 > cap(yyv1794) { - yyrg1773 := len(yyv1773) > 0 - yyv21773 := yyv1773 - yyrl1773, yyrt1773 = z.DecInferLen(yyl1773, z.DecBasicHandle().MaxInitLen, 376) - if yyrt1773 { - if yyrl1773 <= cap(yyv1773) { - yyv1773 = yyv1773[:yyrl1773] + 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 { - yyv1773 = make([]HorizontalPodAutoscaler, yyrl1773) + yyv1794 = make([]HorizontalPodAutoscaler, yyrl1794) } } else { - yyv1773 = make([]HorizontalPodAutoscaler, yyrl1773) + yyv1794 = make([]HorizontalPodAutoscaler, yyrl1794) } - yyc1773 = true - yyrr1773 = len(yyv1773) - if yyrg1773 { - copy(yyv1773, yyv21773) + yyc1794 = true + yyrr1794 = len(yyv1794) + if yyrg1794 { + copy(yyv1794, yyv21794) } - } else if yyl1773 != len(yyv1773) { - yyv1773 = yyv1773[:yyl1773] - yyc1773 = true + } else if yyl1794 != len(yyv1794) { + yyv1794 = yyv1794[:yyl1794] + yyc1794 = true } - yyj1773 := 0 - for ; yyj1773 < yyrr1773; yyj1773++ { - yyh1773.ElemContainerState(yyj1773) + yyj1794 := 0 + for ; yyj1794 < yyrr1794; yyj1794++ { + yyh1794.ElemContainerState(yyj1794) if r.TryDecodeAsNil() { - yyv1773[yyj1773] = HorizontalPodAutoscaler{} + yyv1794[yyj1794] = HorizontalPodAutoscaler{} } else { - yyv1774 := &yyv1773[yyj1773] - yyv1774.CodecDecodeSelf(d) + yyv1795 := &yyv1794[yyj1794] + yyv1795.CodecDecodeSelf(d) } } - if yyrt1773 { - for ; yyj1773 < yyl1773; yyj1773++ { - yyv1773 = append(yyv1773, HorizontalPodAutoscaler{}) - yyh1773.ElemContainerState(yyj1773) + if yyrt1794 { + for ; yyj1794 < yyl1794; yyj1794++ { + yyv1794 = append(yyv1794, HorizontalPodAutoscaler{}) + yyh1794.ElemContainerState(yyj1794) if r.TryDecodeAsNil() { - yyv1773[yyj1773] = HorizontalPodAutoscaler{} + yyv1794[yyj1794] = HorizontalPodAutoscaler{} } else { - yyv1775 := &yyv1773[yyj1773] - yyv1775.CodecDecodeSelf(d) + yyv1796 := &yyv1794[yyj1794] + yyv1796.CodecDecodeSelf(d) } } } } else { - yyj1773 := 0 - for ; !r.CheckBreak(); yyj1773++ { + yyj1794 := 0 + for ; !r.CheckBreak(); yyj1794++ { - if yyj1773 >= len(yyv1773) { - yyv1773 = append(yyv1773, HorizontalPodAutoscaler{}) // var yyz1773 HorizontalPodAutoscaler - yyc1773 = true + if yyj1794 >= len(yyv1794) { + yyv1794 = append(yyv1794, HorizontalPodAutoscaler{}) // var yyz1794 HorizontalPodAutoscaler + yyc1794 = true } - yyh1773.ElemContainerState(yyj1773) - if yyj1773 < len(yyv1773) { + yyh1794.ElemContainerState(yyj1794) + if yyj1794 < len(yyv1794) { if r.TryDecodeAsNil() { - yyv1773[yyj1773] = HorizontalPodAutoscaler{} + yyv1794[yyj1794] = HorizontalPodAutoscaler{} } else { - yyv1776 := &yyv1773[yyj1773] - yyv1776.CodecDecodeSelf(d) + yyv1797 := &yyv1794[yyj1794] + yyv1797.CodecDecodeSelf(d) } } else { @@ -21382,17 +21581,17 @@ func (x codecSelfer1234) decSliceHorizontalPodAutoscaler(v *[]HorizontalPodAutos } } - if yyj1773 < len(yyv1773) { - yyv1773 = yyv1773[:yyj1773] - yyc1773 = true - } else if yyj1773 == 0 && yyv1773 == nil { - yyv1773 = []HorizontalPodAutoscaler{} - yyc1773 = true + if yyj1794 < len(yyv1794) { + yyv1794 = yyv1794[:yyj1794] + yyc1794 = true + } else if yyj1794 == 0 && yyv1794 == nil { + yyv1794 = []HorizontalPodAutoscaler{} + yyc1794 = true } } - yyh1773.End() - if yyc1773 { - *v = yyv1773 + yyh1794.End() + if yyc1794 { + *v = yyv1794 } } @@ -21401,10 +21600,10 @@ func (x codecSelfer1234) encSliceAPIVersion(v []APIVersion, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1777 := range v { + for _, yyv1798 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1778 := &yyv1777 - yy1778.CodecEncodeSelf(e) + yy1799 := &yyv1798 + yy1799.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21414,83 +21613,83 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1779 := *v - yyh1779, yyl1779 := z.DecSliceHelperStart() - var yyc1779 bool - if yyl1779 == 0 { - if yyv1779 == nil { - yyv1779 = []APIVersion{} - yyc1779 = true - } else if len(yyv1779) != 0 { - yyv1779 = yyv1779[:0] - yyc1779 = true + 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 yyl1779 > 0 { - var yyrr1779, yyrl1779 int - var yyrt1779 bool - if yyl1779 > cap(yyv1779) { + } else if yyl1800 > 0 { + var yyrr1800, yyrl1800 int + var yyrt1800 bool + if yyl1800 > cap(yyv1800) { - yyrg1779 := len(yyv1779) > 0 - yyv21779 := yyv1779 - yyrl1779, yyrt1779 = z.DecInferLen(yyl1779, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1779 { - if yyrl1779 <= cap(yyv1779) { - yyv1779 = yyv1779[:yyrl1779] + 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 { - yyv1779 = make([]APIVersion, yyrl1779) + yyv1800 = make([]APIVersion, yyrl1800) } } else { - yyv1779 = make([]APIVersion, yyrl1779) + yyv1800 = make([]APIVersion, yyrl1800) } - yyc1779 = true - yyrr1779 = len(yyv1779) - if yyrg1779 { - copy(yyv1779, yyv21779) + yyc1800 = true + yyrr1800 = len(yyv1800) + if yyrg1800 { + copy(yyv1800, yyv21800) } - } else if yyl1779 != len(yyv1779) { - yyv1779 = yyv1779[:yyl1779] - yyc1779 = true + } else if yyl1800 != len(yyv1800) { + yyv1800 = yyv1800[:yyl1800] + yyc1800 = true } - yyj1779 := 0 - for ; yyj1779 < yyrr1779; yyj1779++ { - yyh1779.ElemContainerState(yyj1779) + yyj1800 := 0 + for ; yyj1800 < yyrr1800; yyj1800++ { + yyh1800.ElemContainerState(yyj1800) if r.TryDecodeAsNil() { - yyv1779[yyj1779] = APIVersion{} + yyv1800[yyj1800] = APIVersion{} } else { - yyv1780 := &yyv1779[yyj1779] - yyv1780.CodecDecodeSelf(d) + yyv1801 := &yyv1800[yyj1800] + yyv1801.CodecDecodeSelf(d) } } - if yyrt1779 { - for ; yyj1779 < yyl1779; yyj1779++ { - yyv1779 = append(yyv1779, APIVersion{}) - yyh1779.ElemContainerState(yyj1779) + if yyrt1800 { + for ; yyj1800 < yyl1800; yyj1800++ { + yyv1800 = append(yyv1800, APIVersion{}) + yyh1800.ElemContainerState(yyj1800) if r.TryDecodeAsNil() { - yyv1779[yyj1779] = APIVersion{} + yyv1800[yyj1800] = APIVersion{} } else { - yyv1781 := &yyv1779[yyj1779] - yyv1781.CodecDecodeSelf(d) + yyv1802 := &yyv1800[yyj1800] + yyv1802.CodecDecodeSelf(d) } } } } else { - yyj1779 := 0 - for ; !r.CheckBreak(); yyj1779++ { + yyj1800 := 0 + for ; !r.CheckBreak(); yyj1800++ { - if yyj1779 >= len(yyv1779) { - yyv1779 = append(yyv1779, APIVersion{}) // var yyz1779 APIVersion - yyc1779 = true + if yyj1800 >= len(yyv1800) { + yyv1800 = append(yyv1800, APIVersion{}) // var yyz1800 APIVersion + yyc1800 = true } - yyh1779.ElemContainerState(yyj1779) - if yyj1779 < len(yyv1779) { + yyh1800.ElemContainerState(yyj1800) + if yyj1800 < len(yyv1800) { if r.TryDecodeAsNil() { - yyv1779[yyj1779] = APIVersion{} + yyv1800[yyj1800] = APIVersion{} } else { - yyv1782 := &yyv1779[yyj1779] - yyv1782.CodecDecodeSelf(d) + yyv1803 := &yyv1800[yyj1800] + yyv1803.CodecDecodeSelf(d) } } else { @@ -21498,17 +21697,17 @@ func (x codecSelfer1234) decSliceAPIVersion(v *[]APIVersion, d *codec1978.Decode } } - if yyj1779 < len(yyv1779) { - yyv1779 = yyv1779[:yyj1779] - yyc1779 = true - } else if yyj1779 == 0 && yyv1779 == nil { - yyv1779 = []APIVersion{} - yyc1779 = true + if yyj1800 < len(yyv1800) { + yyv1800 = yyv1800[:yyj1800] + yyc1800 = true + } else if yyj1800 == 0 && yyv1800 == nil { + yyv1800 = []APIVersion{} + yyc1800 = true } } - yyh1779.End() - if yyc1779 { - *v = yyv1779 + yyh1800.End() + if yyc1800 { + *v = yyv1800 } } @@ -21517,10 +21716,10 @@ func (x codecSelfer1234) encSliceThirdPartyResource(v []ThirdPartyResource, e *c z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1783 := range v { + for _, yyv1804 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1784 := &yyv1783 - yy1784.CodecEncodeSelf(e) + yy1805 := &yyv1804 + yy1805.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21530,83 +21729,83 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1785 := *v - yyh1785, yyl1785 := z.DecSliceHelperStart() - var yyc1785 bool - if yyl1785 == 0 { - if yyv1785 == nil { - yyv1785 = []ThirdPartyResource{} - yyc1785 = true - } else if len(yyv1785) != 0 { - yyv1785 = yyv1785[:0] - yyc1785 = true + 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 yyl1785 > 0 { - var yyrr1785, yyrl1785 int - var yyrt1785 bool - if yyl1785 > cap(yyv1785) { + } else if yyl1806 > 0 { + var yyrr1806, yyrl1806 int + var yyrt1806 bool + if yyl1806 > cap(yyv1806) { - yyrg1785 := len(yyv1785) > 0 - yyv21785 := yyv1785 - yyrl1785, yyrt1785 = z.DecInferLen(yyl1785, z.DecBasicHandle().MaxInitLen, 296) - if yyrt1785 { - if yyrl1785 <= cap(yyv1785) { - yyv1785 = yyv1785[:yyrl1785] + 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 { - yyv1785 = make([]ThirdPartyResource, yyrl1785) + yyv1806 = make([]ThirdPartyResource, yyrl1806) } } else { - yyv1785 = make([]ThirdPartyResource, yyrl1785) + yyv1806 = make([]ThirdPartyResource, yyrl1806) } - yyc1785 = true - yyrr1785 = len(yyv1785) - if yyrg1785 { - copy(yyv1785, yyv21785) + yyc1806 = true + yyrr1806 = len(yyv1806) + if yyrg1806 { + copy(yyv1806, yyv21806) } - } else if yyl1785 != len(yyv1785) { - yyv1785 = yyv1785[:yyl1785] - yyc1785 = true + } else if yyl1806 != len(yyv1806) { + yyv1806 = yyv1806[:yyl1806] + yyc1806 = true } - yyj1785 := 0 - for ; yyj1785 < yyrr1785; yyj1785++ { - yyh1785.ElemContainerState(yyj1785) + yyj1806 := 0 + for ; yyj1806 < yyrr1806; yyj1806++ { + yyh1806.ElemContainerState(yyj1806) if r.TryDecodeAsNil() { - yyv1785[yyj1785] = ThirdPartyResource{} + yyv1806[yyj1806] = ThirdPartyResource{} } else { - yyv1786 := &yyv1785[yyj1785] - yyv1786.CodecDecodeSelf(d) + yyv1807 := &yyv1806[yyj1806] + yyv1807.CodecDecodeSelf(d) } } - if yyrt1785 { - for ; yyj1785 < yyl1785; yyj1785++ { - yyv1785 = append(yyv1785, ThirdPartyResource{}) - yyh1785.ElemContainerState(yyj1785) + if yyrt1806 { + for ; yyj1806 < yyl1806; yyj1806++ { + yyv1806 = append(yyv1806, ThirdPartyResource{}) + yyh1806.ElemContainerState(yyj1806) if r.TryDecodeAsNil() { - yyv1785[yyj1785] = ThirdPartyResource{} + yyv1806[yyj1806] = ThirdPartyResource{} } else { - yyv1787 := &yyv1785[yyj1785] - yyv1787.CodecDecodeSelf(d) + yyv1808 := &yyv1806[yyj1806] + yyv1808.CodecDecodeSelf(d) } } } } else { - yyj1785 := 0 - for ; !r.CheckBreak(); yyj1785++ { + yyj1806 := 0 + for ; !r.CheckBreak(); yyj1806++ { - if yyj1785 >= len(yyv1785) { - yyv1785 = append(yyv1785, ThirdPartyResource{}) // var yyz1785 ThirdPartyResource - yyc1785 = true + if yyj1806 >= len(yyv1806) { + yyv1806 = append(yyv1806, ThirdPartyResource{}) // var yyz1806 ThirdPartyResource + yyc1806 = true } - yyh1785.ElemContainerState(yyj1785) - if yyj1785 < len(yyv1785) { + yyh1806.ElemContainerState(yyj1806) + if yyj1806 < len(yyv1806) { if r.TryDecodeAsNil() { - yyv1785[yyj1785] = ThirdPartyResource{} + yyv1806[yyj1806] = ThirdPartyResource{} } else { - yyv1788 := &yyv1785[yyj1785] - yyv1788.CodecDecodeSelf(d) + yyv1809 := &yyv1806[yyj1806] + yyv1809.CodecDecodeSelf(d) } } else { @@ -21614,17 +21813,17 @@ func (x codecSelfer1234) decSliceThirdPartyResource(v *[]ThirdPartyResource, d * } } - if yyj1785 < len(yyv1785) { - yyv1785 = yyv1785[:yyj1785] - yyc1785 = true - } else if yyj1785 == 0 && yyv1785 == nil { - yyv1785 = []ThirdPartyResource{} - yyc1785 = true + if yyj1806 < len(yyv1806) { + yyv1806 = yyv1806[:yyj1806] + yyc1806 = true + } else if yyj1806 == 0 && yyv1806 == nil { + yyv1806 = []ThirdPartyResource{} + yyc1806 = true } } - yyh1785.End() - if yyc1785 { - *v = yyv1785 + yyh1806.End() + if yyc1806 { + *v = yyv1806 } } @@ -21633,10 +21832,10 @@ func (x codecSelfer1234) encSliceDeployment(v []Deployment, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1789 := range v { + for _, yyv1810 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1790 := &yyv1789 - yy1790.CodecEncodeSelf(e) + yy1811 := &yyv1810 + yy1811.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21646,83 +21845,83 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1791 := *v - yyh1791, yyl1791 := z.DecSliceHelperStart() - var yyc1791 bool - if yyl1791 == 0 { - if yyv1791 == nil { - yyv1791 = []Deployment{} - yyc1791 = true - } else if len(yyv1791) != 0 { - yyv1791 = yyv1791[:0] - yyc1791 = true + 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 yyl1791 > 0 { - var yyrr1791, yyrl1791 int - var yyrt1791 bool - if yyl1791 > cap(yyv1791) { + } else if yyl1812 > 0 { + var yyrr1812, yyrl1812 int + var yyrt1812 bool + if yyl1812 > cap(yyv1812) { - yyrg1791 := len(yyv1791) > 0 - yyv21791 := yyv1791 - yyrl1791, yyrt1791 = z.DecInferLen(yyl1791, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1791 { - if yyrl1791 <= cap(yyv1791) { - yyv1791 = yyv1791[:yyrl1791] + 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 { - yyv1791 = make([]Deployment, yyrl1791) + yyv1812 = make([]Deployment, yyrl1812) } } else { - yyv1791 = make([]Deployment, yyrl1791) + yyv1812 = make([]Deployment, yyrl1812) } - yyc1791 = true - yyrr1791 = len(yyv1791) - if yyrg1791 { - copy(yyv1791, yyv21791) + yyc1812 = true + yyrr1812 = len(yyv1812) + if yyrg1812 { + copy(yyv1812, yyv21812) } - } else if yyl1791 != len(yyv1791) { - yyv1791 = yyv1791[:yyl1791] - yyc1791 = true + } else if yyl1812 != len(yyv1812) { + yyv1812 = yyv1812[:yyl1812] + yyc1812 = true } - yyj1791 := 0 - for ; yyj1791 < yyrr1791; yyj1791++ { - yyh1791.ElemContainerState(yyj1791) + yyj1812 := 0 + for ; yyj1812 < yyrr1812; yyj1812++ { + yyh1812.ElemContainerState(yyj1812) if r.TryDecodeAsNil() { - yyv1791[yyj1791] = Deployment{} + yyv1812[yyj1812] = Deployment{} } else { - yyv1792 := &yyv1791[yyj1791] - yyv1792.CodecDecodeSelf(d) + yyv1813 := &yyv1812[yyj1812] + yyv1813.CodecDecodeSelf(d) } } - if yyrt1791 { - for ; yyj1791 < yyl1791; yyj1791++ { - yyv1791 = append(yyv1791, Deployment{}) - yyh1791.ElemContainerState(yyj1791) + if yyrt1812 { + for ; yyj1812 < yyl1812; yyj1812++ { + yyv1812 = append(yyv1812, Deployment{}) + yyh1812.ElemContainerState(yyj1812) if r.TryDecodeAsNil() { - yyv1791[yyj1791] = Deployment{} + yyv1812[yyj1812] = Deployment{} } else { - yyv1793 := &yyv1791[yyj1791] - yyv1793.CodecDecodeSelf(d) + yyv1814 := &yyv1812[yyj1812] + yyv1814.CodecDecodeSelf(d) } } } } else { - yyj1791 := 0 - for ; !r.CheckBreak(); yyj1791++ { + yyj1812 := 0 + for ; !r.CheckBreak(); yyj1812++ { - if yyj1791 >= len(yyv1791) { - yyv1791 = append(yyv1791, Deployment{}) // var yyz1791 Deployment - yyc1791 = true + if yyj1812 >= len(yyv1812) { + yyv1812 = append(yyv1812, Deployment{}) // var yyz1812 Deployment + yyc1812 = true } - yyh1791.ElemContainerState(yyj1791) - if yyj1791 < len(yyv1791) { + yyh1812.ElemContainerState(yyj1812) + if yyj1812 < len(yyv1812) { if r.TryDecodeAsNil() { - yyv1791[yyj1791] = Deployment{} + yyv1812[yyj1812] = Deployment{} } else { - yyv1794 := &yyv1791[yyj1791] - yyv1794.CodecDecodeSelf(d) + yyv1815 := &yyv1812[yyj1812] + yyv1815.CodecDecodeSelf(d) } } else { @@ -21730,17 +21929,17 @@ func (x codecSelfer1234) decSliceDeployment(v *[]Deployment, d *codec1978.Decode } } - if yyj1791 < len(yyv1791) { - yyv1791 = yyv1791[:yyj1791] - yyc1791 = true - } else if yyj1791 == 0 && yyv1791 == nil { - yyv1791 = []Deployment{} - yyc1791 = true + if yyj1812 < len(yyv1812) { + yyv1812 = yyv1812[:yyj1812] + yyc1812 = true + } else if yyj1812 == 0 && yyv1812 == nil { + yyv1812 = []Deployment{} + yyc1812 = true } } - yyh1791.End() - if yyc1791 { - *v = yyv1791 + yyh1812.End() + if yyc1812 { + *v = yyv1812 } } @@ -21749,10 +21948,10 @@ func (x codecSelfer1234) encSliceDaemonSet(v []DaemonSet, e *codec1978.Encoder) z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1795 := range v { + for _, yyv1816 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1796 := &yyv1795 - yy1796.CodecEncodeSelf(e) + yy1817 := &yyv1816 + yy1817.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21762,83 +21961,83 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1797 := *v - yyh1797, yyl1797 := z.DecSliceHelperStart() - var yyc1797 bool - if yyl1797 == 0 { - if yyv1797 == nil { - yyv1797 = []DaemonSet{} - yyc1797 = true - } else if len(yyv1797) != 0 { - yyv1797 = yyv1797[:0] - yyc1797 = true + yyv1818 := *v + yyh1818, yyl1818 := z.DecSliceHelperStart() + var yyc1818 bool + if yyl1818 == 0 { + if yyv1818 == nil { + yyv1818 = []DaemonSet{} + yyc1818 = true + } else if len(yyv1818) != 0 { + yyv1818 = yyv1818[:0] + yyc1818 = true } - } else if yyl1797 > 0 { - var yyrr1797, yyrl1797 int - var yyrt1797 bool - if yyl1797 > cap(yyv1797) { + } else if yyl1818 > 0 { + var yyrr1818, yyrl1818 int + var yyrt1818 bool + if yyl1818 > cap(yyv1818) { - yyrg1797 := len(yyv1797) > 0 - yyv21797 := yyv1797 - yyrl1797, yyrt1797 = z.DecInferLen(yyl1797, z.DecBasicHandle().MaxInitLen, 752) - if yyrt1797 { - if yyrl1797 <= cap(yyv1797) { - yyv1797 = yyv1797[:yyrl1797] + yyrg1818 := len(yyv1818) > 0 + yyv21818 := yyv1818 + yyrl1818, yyrt1818 = z.DecInferLen(yyl1818, z.DecBasicHandle().MaxInitLen, 752) + if yyrt1818 { + if yyrl1818 <= cap(yyv1818) { + yyv1818 = yyv1818[:yyrl1818] } else { - yyv1797 = make([]DaemonSet, yyrl1797) + yyv1818 = make([]DaemonSet, yyrl1818) } } else { - yyv1797 = make([]DaemonSet, yyrl1797) + yyv1818 = make([]DaemonSet, yyrl1818) } - yyc1797 = true - yyrr1797 = len(yyv1797) - if yyrg1797 { - copy(yyv1797, yyv21797) + yyc1818 = true + yyrr1818 = len(yyv1818) + if yyrg1818 { + copy(yyv1818, yyv21818) } - } else if yyl1797 != len(yyv1797) { - yyv1797 = yyv1797[:yyl1797] - yyc1797 = true + } else if yyl1818 != len(yyv1818) { + yyv1818 = yyv1818[:yyl1818] + yyc1818 = true } - yyj1797 := 0 - for ; yyj1797 < yyrr1797; yyj1797++ { - yyh1797.ElemContainerState(yyj1797) + yyj1818 := 0 + for ; yyj1818 < yyrr1818; yyj1818++ { + yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1797[yyj1797] = DaemonSet{} + yyv1818[yyj1818] = DaemonSet{} } else { - yyv1798 := &yyv1797[yyj1797] - yyv1798.CodecDecodeSelf(d) + yyv1819 := &yyv1818[yyj1818] + yyv1819.CodecDecodeSelf(d) } } - if yyrt1797 { - for ; yyj1797 < yyl1797; yyj1797++ { - yyv1797 = append(yyv1797, DaemonSet{}) - yyh1797.ElemContainerState(yyj1797) + if yyrt1818 { + for ; yyj1818 < yyl1818; yyj1818++ { + yyv1818 = append(yyv1818, DaemonSet{}) + yyh1818.ElemContainerState(yyj1818) if r.TryDecodeAsNil() { - yyv1797[yyj1797] = DaemonSet{} + yyv1818[yyj1818] = DaemonSet{} } else { - yyv1799 := &yyv1797[yyj1797] - yyv1799.CodecDecodeSelf(d) + yyv1820 := &yyv1818[yyj1818] + yyv1820.CodecDecodeSelf(d) } } } } else { - yyj1797 := 0 - for ; !r.CheckBreak(); yyj1797++ { + yyj1818 := 0 + for ; !r.CheckBreak(); yyj1818++ { - if yyj1797 >= len(yyv1797) { - yyv1797 = append(yyv1797, DaemonSet{}) // var yyz1797 DaemonSet - yyc1797 = true + if yyj1818 >= len(yyv1818) { + yyv1818 = append(yyv1818, DaemonSet{}) // var yyz1818 DaemonSet + yyc1818 = true } - yyh1797.ElemContainerState(yyj1797) - if yyj1797 < len(yyv1797) { + yyh1818.ElemContainerState(yyj1818) + if yyj1818 < len(yyv1818) { if r.TryDecodeAsNil() { - yyv1797[yyj1797] = DaemonSet{} + yyv1818[yyj1818] = DaemonSet{} } else { - yyv1800 := &yyv1797[yyj1797] - yyv1800.CodecDecodeSelf(d) + yyv1821 := &yyv1818[yyj1818] + yyv1821.CodecDecodeSelf(d) } } else { @@ -21846,17 +22045,17 @@ func (x codecSelfer1234) decSliceDaemonSet(v *[]DaemonSet, d *codec1978.Decoder) } } - if yyj1797 < len(yyv1797) { - yyv1797 = yyv1797[:yyj1797] - yyc1797 = true - } else if yyj1797 == 0 && yyv1797 == nil { - yyv1797 = []DaemonSet{} - yyc1797 = true + if yyj1818 < len(yyv1818) { + yyv1818 = yyv1818[:yyj1818] + yyc1818 = true + } else if yyj1818 == 0 && yyv1818 == nil { + yyv1818 = []DaemonSet{} + yyc1818 = true } } - yyh1797.End() - if yyc1797 { - *v = yyv1797 + yyh1818.End() + if yyc1818 { + *v = yyv1818 } } @@ -21865,10 +22064,10 @@ func (x codecSelfer1234) encSliceThirdPartyResourceData(v []ThirdPartyResourceDa z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1801 := range v { + for _, yyv1822 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1802 := &yyv1801 - yy1802.CodecEncodeSelf(e) + yy1823 := &yyv1822 + yy1823.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21878,83 +22077,83 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1803 := *v - yyh1803, yyl1803 := z.DecSliceHelperStart() - var yyc1803 bool - if yyl1803 == 0 { - if yyv1803 == nil { - yyv1803 = []ThirdPartyResourceData{} - yyc1803 = true - } else if len(yyv1803) != 0 { - yyv1803 = yyv1803[:0] - yyc1803 = true + yyv1824 := *v + yyh1824, yyl1824 := z.DecSliceHelperStart() + var yyc1824 bool + if yyl1824 == 0 { + if yyv1824 == nil { + yyv1824 = []ThirdPartyResourceData{} + yyc1824 = true + } else if len(yyv1824) != 0 { + yyv1824 = yyv1824[:0] + yyc1824 = true } - } else if yyl1803 > 0 { - var yyrr1803, yyrl1803 int - var yyrt1803 bool - if yyl1803 > cap(yyv1803) { + } else if yyl1824 > 0 { + var yyrr1824, yyrl1824 int + var yyrt1824 bool + if yyl1824 > cap(yyv1824) { - yyrg1803 := len(yyv1803) > 0 - yyv21803 := yyv1803 - yyrl1803, yyrt1803 = z.DecInferLen(yyl1803, z.DecBasicHandle().MaxInitLen, 280) - if yyrt1803 { - if yyrl1803 <= cap(yyv1803) { - yyv1803 = yyv1803[:yyrl1803] + yyrg1824 := len(yyv1824) > 0 + yyv21824 := yyv1824 + yyrl1824, yyrt1824 = z.DecInferLen(yyl1824, z.DecBasicHandle().MaxInitLen, 280) + if yyrt1824 { + if yyrl1824 <= cap(yyv1824) { + yyv1824 = yyv1824[:yyrl1824] } else { - yyv1803 = make([]ThirdPartyResourceData, yyrl1803) + yyv1824 = make([]ThirdPartyResourceData, yyrl1824) } } else { - yyv1803 = make([]ThirdPartyResourceData, yyrl1803) + yyv1824 = make([]ThirdPartyResourceData, yyrl1824) } - yyc1803 = true - yyrr1803 = len(yyv1803) - if yyrg1803 { - copy(yyv1803, yyv21803) + yyc1824 = true + yyrr1824 = len(yyv1824) + if yyrg1824 { + copy(yyv1824, yyv21824) } - } else if yyl1803 != len(yyv1803) { - yyv1803 = yyv1803[:yyl1803] - yyc1803 = true + } else if yyl1824 != len(yyv1824) { + yyv1824 = yyv1824[:yyl1824] + yyc1824 = true } - yyj1803 := 0 - for ; yyj1803 < yyrr1803; yyj1803++ { - yyh1803.ElemContainerState(yyj1803) + yyj1824 := 0 + for ; yyj1824 < yyrr1824; yyj1824++ { + yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1803[yyj1803] = ThirdPartyResourceData{} + yyv1824[yyj1824] = ThirdPartyResourceData{} } else { - yyv1804 := &yyv1803[yyj1803] - yyv1804.CodecDecodeSelf(d) + yyv1825 := &yyv1824[yyj1824] + yyv1825.CodecDecodeSelf(d) } } - if yyrt1803 { - for ; yyj1803 < yyl1803; yyj1803++ { - yyv1803 = append(yyv1803, ThirdPartyResourceData{}) - yyh1803.ElemContainerState(yyj1803) + if yyrt1824 { + for ; yyj1824 < yyl1824; yyj1824++ { + yyv1824 = append(yyv1824, ThirdPartyResourceData{}) + yyh1824.ElemContainerState(yyj1824) if r.TryDecodeAsNil() { - yyv1803[yyj1803] = ThirdPartyResourceData{} + yyv1824[yyj1824] = ThirdPartyResourceData{} } else { - yyv1805 := &yyv1803[yyj1803] - yyv1805.CodecDecodeSelf(d) + yyv1826 := &yyv1824[yyj1824] + yyv1826.CodecDecodeSelf(d) } } } } else { - yyj1803 := 0 - for ; !r.CheckBreak(); yyj1803++ { + yyj1824 := 0 + for ; !r.CheckBreak(); yyj1824++ { - if yyj1803 >= len(yyv1803) { - yyv1803 = append(yyv1803, ThirdPartyResourceData{}) // var yyz1803 ThirdPartyResourceData - yyc1803 = true + if yyj1824 >= len(yyv1824) { + yyv1824 = append(yyv1824, ThirdPartyResourceData{}) // var yyz1824 ThirdPartyResourceData + yyc1824 = true } - yyh1803.ElemContainerState(yyj1803) - if yyj1803 < len(yyv1803) { + yyh1824.ElemContainerState(yyj1824) + if yyj1824 < len(yyv1824) { if r.TryDecodeAsNil() { - yyv1803[yyj1803] = ThirdPartyResourceData{} + yyv1824[yyj1824] = ThirdPartyResourceData{} } else { - yyv1806 := &yyv1803[yyj1803] - yyv1806.CodecDecodeSelf(d) + yyv1827 := &yyv1824[yyj1824] + yyv1827.CodecDecodeSelf(d) } } else { @@ -21962,17 +22161,17 @@ func (x codecSelfer1234) decSliceThirdPartyResourceData(v *[]ThirdPartyResourceD } } - if yyj1803 < len(yyv1803) { - yyv1803 = yyv1803[:yyj1803] - yyc1803 = true - } else if yyj1803 == 0 && yyv1803 == nil { - yyv1803 = []ThirdPartyResourceData{} - yyc1803 = true + if yyj1824 < len(yyv1824) { + yyv1824 = yyv1824[:yyj1824] + yyc1824 = true + } else if yyj1824 == 0 && yyv1824 == nil { + yyv1824 = []ThirdPartyResourceData{} + yyc1824 = true } } - yyh1803.End() - if yyc1803 { - *v = yyv1803 + yyh1824.End() + if yyc1824 { + *v = yyv1824 } } @@ -21981,10 +22180,10 @@ func (x codecSelfer1234) encSliceJob(v []Job, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1807 := range v { + for _, yyv1828 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1808 := &yyv1807 - yy1808.CodecEncodeSelf(e) + yy1829 := &yyv1828 + yy1829.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -21994,83 +22193,83 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1809 := *v - yyh1809, yyl1809 := z.DecSliceHelperStart() - var yyc1809 bool - if yyl1809 == 0 { - if yyv1809 == nil { - yyv1809 = []Job{} - yyc1809 = true - } else if len(yyv1809) != 0 { - yyv1809 = yyv1809[:0] - yyc1809 = true + yyv1830 := *v + yyh1830, yyl1830 := z.DecSliceHelperStart() + var yyc1830 bool + if yyl1830 == 0 { + if yyv1830 == nil { + yyv1830 = []Job{} + yyc1830 = true + } else if len(yyv1830) != 0 { + yyv1830 = yyv1830[:0] + yyc1830 = true } - } else if yyl1809 > 0 { - var yyrr1809, yyrl1809 int - var yyrt1809 bool - if yyl1809 > cap(yyv1809) { + } else if yyl1830 > 0 { + var yyrr1830, yyrl1830 int + var yyrt1830 bool + if yyl1830 > cap(yyv1830) { - yyrg1809 := len(yyv1809) > 0 - yyv21809 := yyv1809 - yyrl1809, yyrt1809 = z.DecInferLen(yyl1809, z.DecBasicHandle().MaxInitLen, 824) - if yyrt1809 { - if yyrl1809 <= cap(yyv1809) { - yyv1809 = yyv1809[:yyrl1809] + yyrg1830 := len(yyv1830) > 0 + yyv21830 := yyv1830 + yyrl1830, yyrt1830 = z.DecInferLen(yyl1830, z.DecBasicHandle().MaxInitLen, 824) + if yyrt1830 { + if yyrl1830 <= cap(yyv1830) { + yyv1830 = yyv1830[:yyrl1830] } else { - yyv1809 = make([]Job, yyrl1809) + yyv1830 = make([]Job, yyrl1830) } } else { - yyv1809 = make([]Job, yyrl1809) + yyv1830 = make([]Job, yyrl1830) } - yyc1809 = true - yyrr1809 = len(yyv1809) - if yyrg1809 { - copy(yyv1809, yyv21809) + yyc1830 = true + yyrr1830 = len(yyv1830) + if yyrg1830 { + copy(yyv1830, yyv21830) } - } else if yyl1809 != len(yyv1809) { - yyv1809 = yyv1809[:yyl1809] - yyc1809 = true + } else if yyl1830 != len(yyv1830) { + yyv1830 = yyv1830[:yyl1830] + yyc1830 = true } - yyj1809 := 0 - for ; yyj1809 < yyrr1809; yyj1809++ { - yyh1809.ElemContainerState(yyj1809) + yyj1830 := 0 + for ; yyj1830 < yyrr1830; yyj1830++ { + yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1809[yyj1809] = Job{} + yyv1830[yyj1830] = Job{} } else { - yyv1810 := &yyv1809[yyj1809] - yyv1810.CodecDecodeSelf(d) + yyv1831 := &yyv1830[yyj1830] + yyv1831.CodecDecodeSelf(d) } } - if yyrt1809 { - for ; yyj1809 < yyl1809; yyj1809++ { - yyv1809 = append(yyv1809, Job{}) - yyh1809.ElemContainerState(yyj1809) + if yyrt1830 { + for ; yyj1830 < yyl1830; yyj1830++ { + yyv1830 = append(yyv1830, Job{}) + yyh1830.ElemContainerState(yyj1830) if r.TryDecodeAsNil() { - yyv1809[yyj1809] = Job{} + yyv1830[yyj1830] = Job{} } else { - yyv1811 := &yyv1809[yyj1809] - yyv1811.CodecDecodeSelf(d) + yyv1832 := &yyv1830[yyj1830] + yyv1832.CodecDecodeSelf(d) } } } } else { - yyj1809 := 0 - for ; !r.CheckBreak(); yyj1809++ { + yyj1830 := 0 + for ; !r.CheckBreak(); yyj1830++ { - if yyj1809 >= len(yyv1809) { - yyv1809 = append(yyv1809, Job{}) // var yyz1809 Job - yyc1809 = true + if yyj1830 >= len(yyv1830) { + yyv1830 = append(yyv1830, Job{}) // var yyz1830 Job + yyc1830 = true } - yyh1809.ElemContainerState(yyj1809) - if yyj1809 < len(yyv1809) { + yyh1830.ElemContainerState(yyj1830) + if yyj1830 < len(yyv1830) { if r.TryDecodeAsNil() { - yyv1809[yyj1809] = Job{} + yyv1830[yyj1830] = Job{} } else { - yyv1812 := &yyv1809[yyj1809] - yyv1812.CodecDecodeSelf(d) + yyv1833 := &yyv1830[yyj1830] + yyv1833.CodecDecodeSelf(d) } } else { @@ -22078,17 +22277,17 @@ func (x codecSelfer1234) decSliceJob(v *[]Job, d *codec1978.Decoder) { } } - if yyj1809 < len(yyv1809) { - yyv1809 = yyv1809[:yyj1809] - yyc1809 = true - } else if yyj1809 == 0 && yyv1809 == nil { - yyv1809 = []Job{} - yyc1809 = true + if yyj1830 < len(yyv1830) { + yyv1830 = yyv1830[:yyj1830] + yyc1830 = true + } else if yyj1830 == 0 && yyv1830 == nil { + yyv1830 = []Job{} + yyc1830 = true } } - yyh1809.End() - if yyc1809 { - *v = yyv1809 + yyh1830.End() + if yyc1830 { + *v = yyv1830 } } @@ -22097,10 +22296,10 @@ func (x codecSelfer1234) encSliceJobCondition(v []JobCondition, e *codec1978.Enc z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1813 := range v { + for _, yyv1834 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1814 := &yyv1813 - yy1814.CodecEncodeSelf(e) + yy1835 := &yyv1834 + yy1835.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22110,83 +22309,83 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1815 := *v - yyh1815, yyl1815 := z.DecSliceHelperStart() - var yyc1815 bool - if yyl1815 == 0 { - if yyv1815 == nil { - yyv1815 = []JobCondition{} - yyc1815 = true - } else if len(yyv1815) != 0 { - yyv1815 = yyv1815[:0] - yyc1815 = true + yyv1836 := *v + yyh1836, yyl1836 := z.DecSliceHelperStart() + var yyc1836 bool + if yyl1836 == 0 { + if yyv1836 == nil { + yyv1836 = []JobCondition{} + yyc1836 = true + } else if len(yyv1836) != 0 { + yyv1836 = yyv1836[:0] + yyc1836 = true } - } else if yyl1815 > 0 { - var yyrr1815, yyrl1815 int - var yyrt1815 bool - if yyl1815 > cap(yyv1815) { + } else if yyl1836 > 0 { + var yyrr1836, yyrl1836 int + var yyrt1836 bool + if yyl1836 > cap(yyv1836) { - yyrg1815 := len(yyv1815) > 0 - yyv21815 := yyv1815 - yyrl1815, yyrt1815 = z.DecInferLen(yyl1815, z.DecBasicHandle().MaxInitLen, 112) - if yyrt1815 { - if yyrl1815 <= cap(yyv1815) { - yyv1815 = yyv1815[:yyrl1815] + yyrg1836 := len(yyv1836) > 0 + yyv21836 := yyv1836 + yyrl1836, yyrt1836 = z.DecInferLen(yyl1836, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1836 { + if yyrl1836 <= cap(yyv1836) { + yyv1836 = yyv1836[:yyrl1836] } else { - yyv1815 = make([]JobCondition, yyrl1815) + yyv1836 = make([]JobCondition, yyrl1836) } } else { - yyv1815 = make([]JobCondition, yyrl1815) + yyv1836 = make([]JobCondition, yyrl1836) } - yyc1815 = true - yyrr1815 = len(yyv1815) - if yyrg1815 { - copy(yyv1815, yyv21815) + yyc1836 = true + yyrr1836 = len(yyv1836) + if yyrg1836 { + copy(yyv1836, yyv21836) } - } else if yyl1815 != len(yyv1815) { - yyv1815 = yyv1815[:yyl1815] - yyc1815 = true + } else if yyl1836 != len(yyv1836) { + yyv1836 = yyv1836[:yyl1836] + yyc1836 = true } - yyj1815 := 0 - for ; yyj1815 < yyrr1815; yyj1815++ { - yyh1815.ElemContainerState(yyj1815) + yyj1836 := 0 + for ; yyj1836 < yyrr1836; yyj1836++ { + yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1815[yyj1815] = JobCondition{} + yyv1836[yyj1836] = JobCondition{} } else { - yyv1816 := &yyv1815[yyj1815] - yyv1816.CodecDecodeSelf(d) + yyv1837 := &yyv1836[yyj1836] + yyv1837.CodecDecodeSelf(d) } } - if yyrt1815 { - for ; yyj1815 < yyl1815; yyj1815++ { - yyv1815 = append(yyv1815, JobCondition{}) - yyh1815.ElemContainerState(yyj1815) + if yyrt1836 { + for ; yyj1836 < yyl1836; yyj1836++ { + yyv1836 = append(yyv1836, JobCondition{}) + yyh1836.ElemContainerState(yyj1836) if r.TryDecodeAsNil() { - yyv1815[yyj1815] = JobCondition{} + yyv1836[yyj1836] = JobCondition{} } else { - yyv1817 := &yyv1815[yyj1815] - yyv1817.CodecDecodeSelf(d) + yyv1838 := &yyv1836[yyj1836] + yyv1838.CodecDecodeSelf(d) } } } } else { - yyj1815 := 0 - for ; !r.CheckBreak(); yyj1815++ { + yyj1836 := 0 + for ; !r.CheckBreak(); yyj1836++ { - if yyj1815 >= len(yyv1815) { - yyv1815 = append(yyv1815, JobCondition{}) // var yyz1815 JobCondition - yyc1815 = true + if yyj1836 >= len(yyv1836) { + yyv1836 = append(yyv1836, JobCondition{}) // var yyz1836 JobCondition + yyc1836 = true } - yyh1815.ElemContainerState(yyj1815) - if yyj1815 < len(yyv1815) { + yyh1836.ElemContainerState(yyj1836) + if yyj1836 < len(yyv1836) { if r.TryDecodeAsNil() { - yyv1815[yyj1815] = JobCondition{} + yyv1836[yyj1836] = JobCondition{} } else { - yyv1818 := &yyv1815[yyj1815] - yyv1818.CodecDecodeSelf(d) + yyv1839 := &yyv1836[yyj1836] + yyv1839.CodecDecodeSelf(d) } } else { @@ -22194,17 +22393,17 @@ func (x codecSelfer1234) decSliceJobCondition(v *[]JobCondition, d *codec1978.De } } - if yyj1815 < len(yyv1815) { - yyv1815 = yyv1815[:yyj1815] - yyc1815 = true - } else if yyj1815 == 0 && yyv1815 == nil { - yyv1815 = []JobCondition{} - yyc1815 = true + if yyj1836 < len(yyv1836) { + yyv1836 = yyv1836[:yyj1836] + yyc1836 = true + } else if yyj1836 == 0 && yyv1836 == nil { + yyv1836 = []JobCondition{} + yyc1836 = true } } - yyh1815.End() - if yyc1815 { - *v = yyv1815 + yyh1836.End() + if yyc1836 { + *v = yyv1836 } } @@ -22213,10 +22412,10 @@ func (x codecSelfer1234) encSliceIngress(v []Ingress, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1819 := range v { + for _, yyv1840 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1820 := &yyv1819 - yy1820.CodecEncodeSelf(e) + yy1841 := &yyv1840 + yy1841.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22226,83 +22425,83 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1821 := *v - yyh1821, yyl1821 := z.DecSliceHelperStart() - var yyc1821 bool - if yyl1821 == 0 { - if yyv1821 == nil { - yyv1821 = []Ingress{} - yyc1821 = true - } else if len(yyv1821) != 0 { - yyv1821 = yyv1821[:0] - yyc1821 = true + yyv1842 := *v + yyh1842, yyl1842 := z.DecSliceHelperStart() + var yyc1842 bool + if yyl1842 == 0 { + if yyv1842 == nil { + yyv1842 = []Ingress{} + yyc1842 = true + } else if len(yyv1842) != 0 { + yyv1842 = yyv1842[:0] + yyc1842 = true } - } else if yyl1821 > 0 { - var yyrr1821, yyrl1821 int - var yyrt1821 bool - if yyl1821 > cap(yyv1821) { + } else if yyl1842 > 0 { + var yyrr1842, yyrl1842 int + var yyrt1842 bool + if yyl1842 > cap(yyv1842) { - yyrg1821 := len(yyv1821) > 0 - yyv21821 := yyv1821 - yyrl1821, yyrt1821 = z.DecInferLen(yyl1821, z.DecBasicHandle().MaxInitLen, 336) - if yyrt1821 { - if yyrl1821 <= cap(yyv1821) { - yyv1821 = yyv1821[:yyrl1821] + yyrg1842 := len(yyv1842) > 0 + yyv21842 := yyv1842 + yyrl1842, yyrt1842 = z.DecInferLen(yyl1842, z.DecBasicHandle().MaxInitLen, 336) + if yyrt1842 { + if yyrl1842 <= cap(yyv1842) { + yyv1842 = yyv1842[:yyrl1842] } else { - yyv1821 = make([]Ingress, yyrl1821) + yyv1842 = make([]Ingress, yyrl1842) } } else { - yyv1821 = make([]Ingress, yyrl1821) + yyv1842 = make([]Ingress, yyrl1842) } - yyc1821 = true - yyrr1821 = len(yyv1821) - if yyrg1821 { - copy(yyv1821, yyv21821) + yyc1842 = true + yyrr1842 = len(yyv1842) + if yyrg1842 { + copy(yyv1842, yyv21842) } - } else if yyl1821 != len(yyv1821) { - yyv1821 = yyv1821[:yyl1821] - yyc1821 = true + } else if yyl1842 != len(yyv1842) { + yyv1842 = yyv1842[:yyl1842] + yyc1842 = true } - yyj1821 := 0 - for ; yyj1821 < yyrr1821; yyj1821++ { - yyh1821.ElemContainerState(yyj1821) + yyj1842 := 0 + for ; yyj1842 < yyrr1842; yyj1842++ { + yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1821[yyj1821] = Ingress{} + yyv1842[yyj1842] = Ingress{} } else { - yyv1822 := &yyv1821[yyj1821] - yyv1822.CodecDecodeSelf(d) + yyv1843 := &yyv1842[yyj1842] + yyv1843.CodecDecodeSelf(d) } } - if yyrt1821 { - for ; yyj1821 < yyl1821; yyj1821++ { - yyv1821 = append(yyv1821, Ingress{}) - yyh1821.ElemContainerState(yyj1821) + if yyrt1842 { + for ; yyj1842 < yyl1842; yyj1842++ { + yyv1842 = append(yyv1842, Ingress{}) + yyh1842.ElemContainerState(yyj1842) if r.TryDecodeAsNil() { - yyv1821[yyj1821] = Ingress{} + yyv1842[yyj1842] = Ingress{} } else { - yyv1823 := &yyv1821[yyj1821] - yyv1823.CodecDecodeSelf(d) + yyv1844 := &yyv1842[yyj1842] + yyv1844.CodecDecodeSelf(d) } } } } else { - yyj1821 := 0 - for ; !r.CheckBreak(); yyj1821++ { + yyj1842 := 0 + for ; !r.CheckBreak(); yyj1842++ { - if yyj1821 >= len(yyv1821) { - yyv1821 = append(yyv1821, Ingress{}) // var yyz1821 Ingress - yyc1821 = true + if yyj1842 >= len(yyv1842) { + yyv1842 = append(yyv1842, Ingress{}) // var yyz1842 Ingress + yyc1842 = true } - yyh1821.ElemContainerState(yyj1821) - if yyj1821 < len(yyv1821) { + yyh1842.ElemContainerState(yyj1842) + if yyj1842 < len(yyv1842) { if r.TryDecodeAsNil() { - yyv1821[yyj1821] = Ingress{} + yyv1842[yyj1842] = Ingress{} } else { - yyv1824 := &yyv1821[yyj1821] - yyv1824.CodecDecodeSelf(d) + yyv1845 := &yyv1842[yyj1842] + yyv1845.CodecDecodeSelf(d) } } else { @@ -22310,17 +22509,17 @@ func (x codecSelfer1234) decSliceIngress(v *[]Ingress, d *codec1978.Decoder) { } } - if yyj1821 < len(yyv1821) { - yyv1821 = yyv1821[:yyj1821] - yyc1821 = true - } else if yyj1821 == 0 && yyv1821 == nil { - yyv1821 = []Ingress{} - yyc1821 = true + if yyj1842 < len(yyv1842) { + yyv1842 = yyv1842[:yyj1842] + yyc1842 = true + } else if yyj1842 == 0 && yyv1842 == nil { + yyv1842 = []Ingress{} + yyc1842 = true } } - yyh1821.End() - if yyc1821 { - *v = yyv1821 + yyh1842.End() + if yyc1842 { + *v = yyv1842 } } @@ -22329,10 +22528,10 @@ func (x codecSelfer1234) encSliceIngressTLS(v []IngressTLS, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1825 := range v { + for _, yyv1846 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1826 := &yyv1825 - yy1826.CodecEncodeSelf(e) + yy1847 := &yyv1846 + yy1847.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22342,83 +22541,83 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1827 := *v - yyh1827, yyl1827 := z.DecSliceHelperStart() - var yyc1827 bool - if yyl1827 == 0 { - if yyv1827 == nil { - yyv1827 = []IngressTLS{} - yyc1827 = true - } else if len(yyv1827) != 0 { - yyv1827 = yyv1827[:0] - yyc1827 = true + yyv1848 := *v + yyh1848, yyl1848 := z.DecSliceHelperStart() + var yyc1848 bool + if yyl1848 == 0 { + if yyv1848 == nil { + yyv1848 = []IngressTLS{} + yyc1848 = true + } else if len(yyv1848) != 0 { + yyv1848 = yyv1848[:0] + yyc1848 = true } - } else if yyl1827 > 0 { - var yyrr1827, yyrl1827 int - var yyrt1827 bool - if yyl1827 > cap(yyv1827) { + } else if yyl1848 > 0 { + var yyrr1848, yyrl1848 int + var yyrt1848 bool + if yyl1848 > cap(yyv1848) { - yyrg1827 := len(yyv1827) > 0 - yyv21827 := yyv1827 - yyrl1827, yyrt1827 = z.DecInferLen(yyl1827, z.DecBasicHandle().MaxInitLen, 40) - if yyrt1827 { - if yyrl1827 <= cap(yyv1827) { - yyv1827 = yyv1827[:yyrl1827] + yyrg1848 := len(yyv1848) > 0 + yyv21848 := yyv1848 + yyrl1848, yyrt1848 = z.DecInferLen(yyl1848, z.DecBasicHandle().MaxInitLen, 40) + if yyrt1848 { + if yyrl1848 <= cap(yyv1848) { + yyv1848 = yyv1848[:yyrl1848] } else { - yyv1827 = make([]IngressTLS, yyrl1827) + yyv1848 = make([]IngressTLS, yyrl1848) } } else { - yyv1827 = make([]IngressTLS, yyrl1827) + yyv1848 = make([]IngressTLS, yyrl1848) } - yyc1827 = true - yyrr1827 = len(yyv1827) - if yyrg1827 { - copy(yyv1827, yyv21827) + yyc1848 = true + yyrr1848 = len(yyv1848) + if yyrg1848 { + copy(yyv1848, yyv21848) } - } else if yyl1827 != len(yyv1827) { - yyv1827 = yyv1827[:yyl1827] - yyc1827 = true + } else if yyl1848 != len(yyv1848) { + yyv1848 = yyv1848[:yyl1848] + yyc1848 = true } - yyj1827 := 0 - for ; yyj1827 < yyrr1827; yyj1827++ { - yyh1827.ElemContainerState(yyj1827) + yyj1848 := 0 + for ; yyj1848 < yyrr1848; yyj1848++ { + yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1827[yyj1827] = IngressTLS{} + yyv1848[yyj1848] = IngressTLS{} } else { - yyv1828 := &yyv1827[yyj1827] - yyv1828.CodecDecodeSelf(d) + yyv1849 := &yyv1848[yyj1848] + yyv1849.CodecDecodeSelf(d) } } - if yyrt1827 { - for ; yyj1827 < yyl1827; yyj1827++ { - yyv1827 = append(yyv1827, IngressTLS{}) - yyh1827.ElemContainerState(yyj1827) + if yyrt1848 { + for ; yyj1848 < yyl1848; yyj1848++ { + yyv1848 = append(yyv1848, IngressTLS{}) + yyh1848.ElemContainerState(yyj1848) if r.TryDecodeAsNil() { - yyv1827[yyj1827] = IngressTLS{} + yyv1848[yyj1848] = IngressTLS{} } else { - yyv1829 := &yyv1827[yyj1827] - yyv1829.CodecDecodeSelf(d) + yyv1850 := &yyv1848[yyj1848] + yyv1850.CodecDecodeSelf(d) } } } } else { - yyj1827 := 0 - for ; !r.CheckBreak(); yyj1827++ { + yyj1848 := 0 + for ; !r.CheckBreak(); yyj1848++ { - if yyj1827 >= len(yyv1827) { - yyv1827 = append(yyv1827, IngressTLS{}) // var yyz1827 IngressTLS - yyc1827 = true + if yyj1848 >= len(yyv1848) { + yyv1848 = append(yyv1848, IngressTLS{}) // var yyz1848 IngressTLS + yyc1848 = true } - yyh1827.ElemContainerState(yyj1827) - if yyj1827 < len(yyv1827) { + yyh1848.ElemContainerState(yyj1848) + if yyj1848 < len(yyv1848) { if r.TryDecodeAsNil() { - yyv1827[yyj1827] = IngressTLS{} + yyv1848[yyj1848] = IngressTLS{} } else { - yyv1830 := &yyv1827[yyj1827] - yyv1830.CodecDecodeSelf(d) + yyv1851 := &yyv1848[yyj1848] + yyv1851.CodecDecodeSelf(d) } } else { @@ -22426,17 +22625,17 @@ func (x codecSelfer1234) decSliceIngressTLS(v *[]IngressTLS, d *codec1978.Decode } } - if yyj1827 < len(yyv1827) { - yyv1827 = yyv1827[:yyj1827] - yyc1827 = true - } else if yyj1827 == 0 && yyv1827 == nil { - yyv1827 = []IngressTLS{} - yyc1827 = true + if yyj1848 < len(yyv1848) { + yyv1848 = yyv1848[:yyj1848] + yyc1848 = true + } else if yyj1848 == 0 && yyv1848 == nil { + yyv1848 = []IngressTLS{} + yyc1848 = true } } - yyh1827.End() - if yyc1827 { - *v = yyv1827 + yyh1848.End() + if yyc1848 { + *v = yyv1848 } } @@ -22445,10 +22644,10 @@ func (x codecSelfer1234) encSliceIngressRule(v []IngressRule, e *codec1978.Encod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1831 := range v { + for _, yyv1852 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1832 := &yyv1831 - yy1832.CodecEncodeSelf(e) + yy1853 := &yyv1852 + yy1853.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22458,83 +22657,83 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1833 := *v - yyh1833, yyl1833 := z.DecSliceHelperStart() - var yyc1833 bool - if yyl1833 == 0 { - if yyv1833 == nil { - yyv1833 = []IngressRule{} - yyc1833 = true - } else if len(yyv1833) != 0 { - yyv1833 = yyv1833[:0] - yyc1833 = true + yyv1854 := *v + yyh1854, yyl1854 := z.DecSliceHelperStart() + var yyc1854 bool + if yyl1854 == 0 { + if yyv1854 == nil { + yyv1854 = []IngressRule{} + yyc1854 = true + } else if len(yyv1854) != 0 { + yyv1854 = yyv1854[:0] + yyc1854 = true } - } else if yyl1833 > 0 { - var yyrr1833, yyrl1833 int - var yyrt1833 bool - if yyl1833 > cap(yyv1833) { + } else if yyl1854 > 0 { + var yyrr1854, yyrl1854 int + var yyrt1854 bool + if yyl1854 > cap(yyv1854) { - yyrg1833 := len(yyv1833) > 0 - yyv21833 := yyv1833 - yyrl1833, yyrt1833 = z.DecInferLen(yyl1833, z.DecBasicHandle().MaxInitLen, 24) - if yyrt1833 { - if yyrl1833 <= cap(yyv1833) { - yyv1833 = yyv1833[:yyrl1833] + yyrg1854 := len(yyv1854) > 0 + yyv21854 := yyv1854 + yyrl1854, yyrt1854 = z.DecInferLen(yyl1854, z.DecBasicHandle().MaxInitLen, 24) + if yyrt1854 { + if yyrl1854 <= cap(yyv1854) { + yyv1854 = yyv1854[:yyrl1854] } else { - yyv1833 = make([]IngressRule, yyrl1833) + yyv1854 = make([]IngressRule, yyrl1854) } } else { - yyv1833 = make([]IngressRule, yyrl1833) + yyv1854 = make([]IngressRule, yyrl1854) } - yyc1833 = true - yyrr1833 = len(yyv1833) - if yyrg1833 { - copy(yyv1833, yyv21833) + yyc1854 = true + yyrr1854 = len(yyv1854) + if yyrg1854 { + copy(yyv1854, yyv21854) } - } else if yyl1833 != len(yyv1833) { - yyv1833 = yyv1833[:yyl1833] - yyc1833 = true + } else if yyl1854 != len(yyv1854) { + yyv1854 = yyv1854[:yyl1854] + yyc1854 = true } - yyj1833 := 0 - for ; yyj1833 < yyrr1833; yyj1833++ { - yyh1833.ElemContainerState(yyj1833) + yyj1854 := 0 + for ; yyj1854 < yyrr1854; yyj1854++ { + yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1833[yyj1833] = IngressRule{} + yyv1854[yyj1854] = IngressRule{} } else { - yyv1834 := &yyv1833[yyj1833] - yyv1834.CodecDecodeSelf(d) + yyv1855 := &yyv1854[yyj1854] + yyv1855.CodecDecodeSelf(d) } } - if yyrt1833 { - for ; yyj1833 < yyl1833; yyj1833++ { - yyv1833 = append(yyv1833, IngressRule{}) - yyh1833.ElemContainerState(yyj1833) + if yyrt1854 { + for ; yyj1854 < yyl1854; yyj1854++ { + yyv1854 = append(yyv1854, IngressRule{}) + yyh1854.ElemContainerState(yyj1854) if r.TryDecodeAsNil() { - yyv1833[yyj1833] = IngressRule{} + yyv1854[yyj1854] = IngressRule{} } else { - yyv1835 := &yyv1833[yyj1833] - yyv1835.CodecDecodeSelf(d) + yyv1856 := &yyv1854[yyj1854] + yyv1856.CodecDecodeSelf(d) } } } } else { - yyj1833 := 0 - for ; !r.CheckBreak(); yyj1833++ { + yyj1854 := 0 + for ; !r.CheckBreak(); yyj1854++ { - if yyj1833 >= len(yyv1833) { - yyv1833 = append(yyv1833, IngressRule{}) // var yyz1833 IngressRule - yyc1833 = true + if yyj1854 >= len(yyv1854) { + yyv1854 = append(yyv1854, IngressRule{}) // var yyz1854 IngressRule + yyc1854 = true } - yyh1833.ElemContainerState(yyj1833) - if yyj1833 < len(yyv1833) { + yyh1854.ElemContainerState(yyj1854) + if yyj1854 < len(yyv1854) { if r.TryDecodeAsNil() { - yyv1833[yyj1833] = IngressRule{} + yyv1854[yyj1854] = IngressRule{} } else { - yyv1836 := &yyv1833[yyj1833] - yyv1836.CodecDecodeSelf(d) + yyv1857 := &yyv1854[yyj1854] + yyv1857.CodecDecodeSelf(d) } } else { @@ -22542,17 +22741,17 @@ func (x codecSelfer1234) decSliceIngressRule(v *[]IngressRule, d *codec1978.Deco } } - if yyj1833 < len(yyv1833) { - yyv1833 = yyv1833[:yyj1833] - yyc1833 = true - } else if yyj1833 == 0 && yyv1833 == nil { - yyv1833 = []IngressRule{} - yyc1833 = true + if yyj1854 < len(yyv1854) { + yyv1854 = yyv1854[:yyj1854] + yyc1854 = true + } else if yyj1854 == 0 && yyv1854 == nil { + yyv1854 = []IngressRule{} + yyc1854 = true } } - yyh1833.End() - if yyc1833 { - *v = yyv1833 + yyh1854.End() + if yyc1854 { + *v = yyv1854 } } @@ -22561,10 +22760,10 @@ func (x codecSelfer1234) encSliceHTTPIngressPath(v []HTTPIngressPath, e *codec19 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1837 := range v { + for _, yyv1858 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1838 := &yyv1837 - yy1838.CodecEncodeSelf(e) + yy1859 := &yyv1858 + yy1859.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22574,83 +22773,83 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1839 := *v - yyh1839, yyl1839 := z.DecSliceHelperStart() - var yyc1839 bool - if yyl1839 == 0 { - if yyv1839 == nil { - yyv1839 = []HTTPIngressPath{} - yyc1839 = true - } else if len(yyv1839) != 0 { - yyv1839 = yyv1839[:0] - yyc1839 = true + yyv1860 := *v + yyh1860, yyl1860 := z.DecSliceHelperStart() + var yyc1860 bool + if yyl1860 == 0 { + if yyv1860 == nil { + yyv1860 = []HTTPIngressPath{} + yyc1860 = true + } else if len(yyv1860) != 0 { + yyv1860 = yyv1860[:0] + yyc1860 = true } - } else if yyl1839 > 0 { - var yyrr1839, yyrl1839 int - var yyrt1839 bool - if yyl1839 > cap(yyv1839) { + } else if yyl1860 > 0 { + var yyrr1860, yyrl1860 int + var yyrt1860 bool + if yyl1860 > cap(yyv1860) { - yyrg1839 := len(yyv1839) > 0 - yyv21839 := yyv1839 - yyrl1839, yyrt1839 = z.DecInferLen(yyl1839, z.DecBasicHandle().MaxInitLen, 64) - if yyrt1839 { - if yyrl1839 <= cap(yyv1839) { - yyv1839 = yyv1839[:yyrl1839] + yyrg1860 := len(yyv1860) > 0 + yyv21860 := yyv1860 + yyrl1860, yyrt1860 = z.DecInferLen(yyl1860, z.DecBasicHandle().MaxInitLen, 64) + if yyrt1860 { + if yyrl1860 <= cap(yyv1860) { + yyv1860 = yyv1860[:yyrl1860] } else { - yyv1839 = make([]HTTPIngressPath, yyrl1839) + yyv1860 = make([]HTTPIngressPath, yyrl1860) } } else { - yyv1839 = make([]HTTPIngressPath, yyrl1839) + yyv1860 = make([]HTTPIngressPath, yyrl1860) } - yyc1839 = true - yyrr1839 = len(yyv1839) - if yyrg1839 { - copy(yyv1839, yyv21839) + yyc1860 = true + yyrr1860 = len(yyv1860) + if yyrg1860 { + copy(yyv1860, yyv21860) } - } else if yyl1839 != len(yyv1839) { - yyv1839 = yyv1839[:yyl1839] - yyc1839 = true + } else if yyl1860 != len(yyv1860) { + yyv1860 = yyv1860[:yyl1860] + yyc1860 = true } - yyj1839 := 0 - for ; yyj1839 < yyrr1839; yyj1839++ { - yyh1839.ElemContainerState(yyj1839) + yyj1860 := 0 + for ; yyj1860 < yyrr1860; yyj1860++ { + yyh1860.ElemContainerState(yyj1860) if r.TryDecodeAsNil() { - yyv1839[yyj1839] = HTTPIngressPath{} + yyv1860[yyj1860] = HTTPIngressPath{} } else { - yyv1840 := &yyv1839[yyj1839] - yyv1840.CodecDecodeSelf(d) + yyv1861 := &yyv1860[yyj1860] + yyv1861.CodecDecodeSelf(d) } } - if yyrt1839 { - for ; yyj1839 < yyl1839; yyj1839++ { - yyv1839 = append(yyv1839, HTTPIngressPath{}) - yyh1839.ElemContainerState(yyj1839) + if yyrt1860 { + for ; yyj1860 < yyl1860; yyj1860++ { + yyv1860 = append(yyv1860, HTTPIngressPath{}) + yyh1860.ElemContainerState(yyj1860) if r.TryDecodeAsNil() { - yyv1839[yyj1839] = HTTPIngressPath{} + yyv1860[yyj1860] = HTTPIngressPath{} } else { - yyv1841 := &yyv1839[yyj1839] - yyv1841.CodecDecodeSelf(d) + yyv1862 := &yyv1860[yyj1860] + yyv1862.CodecDecodeSelf(d) } } } } else { - yyj1839 := 0 - for ; !r.CheckBreak(); yyj1839++ { + yyj1860 := 0 + for ; !r.CheckBreak(); yyj1860++ { - if yyj1839 >= len(yyv1839) { - yyv1839 = append(yyv1839, HTTPIngressPath{}) // var yyz1839 HTTPIngressPath - yyc1839 = true + if yyj1860 >= len(yyv1860) { + yyv1860 = append(yyv1860, HTTPIngressPath{}) // var yyz1860 HTTPIngressPath + yyc1860 = true } - yyh1839.ElemContainerState(yyj1839) - if yyj1839 < len(yyv1839) { + yyh1860.ElemContainerState(yyj1860) + if yyj1860 < len(yyv1860) { if r.TryDecodeAsNil() { - yyv1839[yyj1839] = HTTPIngressPath{} + yyv1860[yyj1860] = HTTPIngressPath{} } else { - yyv1842 := &yyv1839[yyj1839] - yyv1842.CodecDecodeSelf(d) + yyv1863 := &yyv1860[yyj1860] + yyv1863.CodecDecodeSelf(d) } } else { @@ -22658,17 +22857,17 @@ func (x codecSelfer1234) decSliceHTTPIngressPath(v *[]HTTPIngressPath, d *codec1 } } - if yyj1839 < len(yyv1839) { - yyv1839 = yyv1839[:yyj1839] - yyc1839 = true - } else if yyj1839 == 0 && yyv1839 == nil { - yyv1839 = []HTTPIngressPath{} - yyc1839 = true + if yyj1860 < len(yyv1860) { + yyv1860 = yyv1860[:yyj1860] + yyc1860 = true + } else if yyj1860 == 0 && yyv1860 == nil { + yyv1860 = []HTTPIngressPath{} + yyc1860 = true } } - yyh1839.End() - if yyc1839 { - *v = yyv1839 + yyh1860.End() + if yyc1860 { + *v = yyv1860 } } @@ -22677,10 +22876,10 @@ func (x codecSelfer1234) encSliceLabelSelectorRequirement(v []LabelSelectorRequi z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1843 := range v { + for _, yyv1864 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1844 := &yyv1843 - yy1844.CodecEncodeSelf(e) + yy1865 := &yyv1864 + yy1865.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22690,83 +22889,83 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1845 := *v - yyh1845, yyl1845 := z.DecSliceHelperStart() - var yyc1845 bool - if yyl1845 == 0 { - if yyv1845 == nil { - yyv1845 = []LabelSelectorRequirement{} - yyc1845 = true - } else if len(yyv1845) != 0 { - yyv1845 = yyv1845[:0] - yyc1845 = true + yyv1866 := *v + yyh1866, yyl1866 := z.DecSliceHelperStart() + var yyc1866 bool + if yyl1866 == 0 { + if yyv1866 == nil { + yyv1866 = []LabelSelectorRequirement{} + yyc1866 = true + } else if len(yyv1866) != 0 { + yyv1866 = yyv1866[:0] + yyc1866 = true } - } else if yyl1845 > 0 { - var yyrr1845, yyrl1845 int - var yyrt1845 bool - if yyl1845 > cap(yyv1845) { + } else if yyl1866 > 0 { + var yyrr1866, yyrl1866 int + var yyrt1866 bool + if yyl1866 > cap(yyv1866) { - yyrg1845 := len(yyv1845) > 0 - yyv21845 := yyv1845 - yyrl1845, yyrt1845 = z.DecInferLen(yyl1845, z.DecBasicHandle().MaxInitLen, 56) - if yyrt1845 { - if yyrl1845 <= cap(yyv1845) { - yyv1845 = yyv1845[:yyrl1845] + yyrg1866 := len(yyv1866) > 0 + yyv21866 := yyv1866 + yyrl1866, yyrt1866 = z.DecInferLen(yyl1866, z.DecBasicHandle().MaxInitLen, 56) + if yyrt1866 { + if yyrl1866 <= cap(yyv1866) { + yyv1866 = yyv1866[:yyrl1866] } else { - yyv1845 = make([]LabelSelectorRequirement, yyrl1845) + yyv1866 = make([]LabelSelectorRequirement, yyrl1866) } } else { - yyv1845 = make([]LabelSelectorRequirement, yyrl1845) + yyv1866 = make([]LabelSelectorRequirement, yyrl1866) } - yyc1845 = true - yyrr1845 = len(yyv1845) - if yyrg1845 { - copy(yyv1845, yyv21845) + yyc1866 = true + yyrr1866 = len(yyv1866) + if yyrg1866 { + copy(yyv1866, yyv21866) } - } else if yyl1845 != len(yyv1845) { - yyv1845 = yyv1845[:yyl1845] - yyc1845 = true + } else if yyl1866 != len(yyv1866) { + yyv1866 = yyv1866[:yyl1866] + yyc1866 = true } - yyj1845 := 0 - for ; yyj1845 < yyrr1845; yyj1845++ { - yyh1845.ElemContainerState(yyj1845) + yyj1866 := 0 + for ; yyj1866 < yyrr1866; yyj1866++ { + yyh1866.ElemContainerState(yyj1866) if r.TryDecodeAsNil() { - yyv1845[yyj1845] = LabelSelectorRequirement{} + yyv1866[yyj1866] = LabelSelectorRequirement{} } else { - yyv1846 := &yyv1845[yyj1845] - yyv1846.CodecDecodeSelf(d) + yyv1867 := &yyv1866[yyj1866] + yyv1867.CodecDecodeSelf(d) } } - if yyrt1845 { - for ; yyj1845 < yyl1845; yyj1845++ { - yyv1845 = append(yyv1845, LabelSelectorRequirement{}) - yyh1845.ElemContainerState(yyj1845) + if yyrt1866 { + for ; yyj1866 < yyl1866; yyj1866++ { + yyv1866 = append(yyv1866, LabelSelectorRequirement{}) + yyh1866.ElemContainerState(yyj1866) if r.TryDecodeAsNil() { - yyv1845[yyj1845] = LabelSelectorRequirement{} + yyv1866[yyj1866] = LabelSelectorRequirement{} } else { - yyv1847 := &yyv1845[yyj1845] - yyv1847.CodecDecodeSelf(d) + yyv1868 := &yyv1866[yyj1866] + yyv1868.CodecDecodeSelf(d) } } } } else { - yyj1845 := 0 - for ; !r.CheckBreak(); yyj1845++ { + yyj1866 := 0 + for ; !r.CheckBreak(); yyj1866++ { - if yyj1845 >= len(yyv1845) { - yyv1845 = append(yyv1845, LabelSelectorRequirement{}) // var yyz1845 LabelSelectorRequirement - yyc1845 = true + if yyj1866 >= len(yyv1866) { + yyv1866 = append(yyv1866, LabelSelectorRequirement{}) // var yyz1866 LabelSelectorRequirement + yyc1866 = true } - yyh1845.ElemContainerState(yyj1845) - if yyj1845 < len(yyv1845) { + yyh1866.ElemContainerState(yyj1866) + if yyj1866 < len(yyv1866) { if r.TryDecodeAsNil() { - yyv1845[yyj1845] = LabelSelectorRequirement{} + yyv1866[yyj1866] = LabelSelectorRequirement{} } else { - yyv1848 := &yyv1845[yyj1845] - yyv1848.CodecDecodeSelf(d) + yyv1869 := &yyv1866[yyj1866] + yyv1869.CodecDecodeSelf(d) } } else { @@ -22774,17 +22973,17 @@ func (x codecSelfer1234) decSliceLabelSelectorRequirement(v *[]LabelSelectorRequ } } - if yyj1845 < len(yyv1845) { - yyv1845 = yyv1845[:yyj1845] - yyc1845 = true - } else if yyj1845 == 0 && yyv1845 == nil { - yyv1845 = []LabelSelectorRequirement{} - yyc1845 = true + if yyj1866 < len(yyv1866) { + yyv1866 = yyv1866[:yyj1866] + yyc1866 = true + } else if yyj1866 == 0 && yyv1866 == nil { + yyv1866 = []LabelSelectorRequirement{} + yyc1866 = true } } - yyh1845.End() - if yyc1845 { - *v = yyv1845 + yyh1866.End() + if yyc1866 { + *v = yyv1866 } } @@ -22793,10 +22992,10 @@ func (x codecSelfer1234) encSliceReplicaSet(v []ReplicaSet, e *codec1978.Encoder z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1849 := range v { + for _, yyv1870 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1850 := &yyv1849 - yy1850.CodecEncodeSelf(e) + yy1871 := &yyv1870 + yy1871.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -22806,83 +23005,83 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1851 := *v - yyh1851, yyl1851 := z.DecSliceHelperStart() - var yyc1851 bool - if yyl1851 == 0 { - if yyv1851 == nil { - yyv1851 = []ReplicaSet{} - yyc1851 = true - } else if len(yyv1851) != 0 { - yyv1851 = yyv1851[:0] - yyc1851 = true + yyv1872 := *v + yyh1872, yyl1872 := z.DecSliceHelperStart() + var yyc1872 bool + if yyl1872 == 0 { + if yyv1872 == nil { + yyv1872 = []ReplicaSet{} + yyc1872 = true + } else if len(yyv1872) != 0 { + yyv1872 = yyv1872[:0] + yyc1872 = true } - } else if yyl1851 > 0 { - var yyrr1851, yyrl1851 int - var yyrt1851 bool - if yyl1851 > cap(yyv1851) { + } else if yyl1872 > 0 { + var yyrr1872, yyrl1872 int + var yyrt1872 bool + if yyl1872 > cap(yyv1872) { - yyrg1851 := len(yyv1851) > 0 - yyv21851 := yyv1851 - yyrl1851, yyrt1851 = z.DecInferLen(yyl1851, z.DecBasicHandle().MaxInitLen, 768) - if yyrt1851 { - if yyrl1851 <= cap(yyv1851) { - yyv1851 = yyv1851[:yyrl1851] + yyrg1872 := len(yyv1872) > 0 + yyv21872 := yyv1872 + yyrl1872, yyrt1872 = z.DecInferLen(yyl1872, z.DecBasicHandle().MaxInitLen, 800) + if yyrt1872 { + if yyrl1872 <= cap(yyv1872) { + yyv1872 = yyv1872[:yyrl1872] } else { - yyv1851 = make([]ReplicaSet, yyrl1851) + yyv1872 = make([]ReplicaSet, yyrl1872) } } else { - yyv1851 = make([]ReplicaSet, yyrl1851) + yyv1872 = make([]ReplicaSet, yyrl1872) } - yyc1851 = true - yyrr1851 = len(yyv1851) - if yyrg1851 { - copy(yyv1851, yyv21851) + yyc1872 = true + yyrr1872 = len(yyv1872) + if yyrg1872 { + copy(yyv1872, yyv21872) } - } else if yyl1851 != len(yyv1851) { - yyv1851 = yyv1851[:yyl1851] - yyc1851 = true + } else if yyl1872 != len(yyv1872) { + yyv1872 = yyv1872[:yyl1872] + yyc1872 = true } - yyj1851 := 0 - for ; yyj1851 < yyrr1851; yyj1851++ { - yyh1851.ElemContainerState(yyj1851) + yyj1872 := 0 + for ; yyj1872 < yyrr1872; yyj1872++ { + yyh1872.ElemContainerState(yyj1872) if r.TryDecodeAsNil() { - yyv1851[yyj1851] = ReplicaSet{} + yyv1872[yyj1872] = ReplicaSet{} } else { - yyv1852 := &yyv1851[yyj1851] - yyv1852.CodecDecodeSelf(d) + yyv1873 := &yyv1872[yyj1872] + yyv1873.CodecDecodeSelf(d) } } - if yyrt1851 { - for ; yyj1851 < yyl1851; yyj1851++ { - yyv1851 = append(yyv1851, ReplicaSet{}) - yyh1851.ElemContainerState(yyj1851) + if yyrt1872 { + for ; yyj1872 < yyl1872; yyj1872++ { + yyv1872 = append(yyv1872, ReplicaSet{}) + yyh1872.ElemContainerState(yyj1872) if r.TryDecodeAsNil() { - yyv1851[yyj1851] = ReplicaSet{} + yyv1872[yyj1872] = ReplicaSet{} } else { - yyv1853 := &yyv1851[yyj1851] - yyv1853.CodecDecodeSelf(d) + yyv1874 := &yyv1872[yyj1872] + yyv1874.CodecDecodeSelf(d) } } } } else { - yyj1851 := 0 - for ; !r.CheckBreak(); yyj1851++ { + yyj1872 := 0 + for ; !r.CheckBreak(); yyj1872++ { - if yyj1851 >= len(yyv1851) { - yyv1851 = append(yyv1851, ReplicaSet{}) // var yyz1851 ReplicaSet - yyc1851 = true + if yyj1872 >= len(yyv1872) { + yyv1872 = append(yyv1872, ReplicaSet{}) // var yyz1872 ReplicaSet + yyc1872 = true } - yyh1851.ElemContainerState(yyj1851) - if yyj1851 < len(yyv1851) { + yyh1872.ElemContainerState(yyj1872) + if yyj1872 < len(yyv1872) { if r.TryDecodeAsNil() { - yyv1851[yyj1851] = ReplicaSet{} + yyv1872[yyj1872] = ReplicaSet{} } else { - yyv1854 := &yyv1851[yyj1851] - yyv1854.CodecDecodeSelf(d) + yyv1875 := &yyv1872[yyj1872] + yyv1875.CodecDecodeSelf(d) } } else { @@ -22890,17 +23089,133 @@ func (x codecSelfer1234) decSliceReplicaSet(v *[]ReplicaSet, d *codec1978.Decode } } - if yyj1851 < len(yyv1851) { - yyv1851 = yyv1851[:yyj1851] - yyc1851 = true - } else if yyj1851 == 0 && yyv1851 == nil { - yyv1851 = []ReplicaSet{} - yyc1851 = true + if yyj1872 < len(yyv1872) { + yyv1872 = yyv1872[:yyj1872] + yyc1872 = true + } else if yyj1872 == 0 && yyv1872 == nil { + yyv1872 = []ReplicaSet{} + yyc1872 = true } } - yyh1851.End() - if yyc1851 { - *v = yyv1851 + yyh1872.End() + if yyc1872 { + *v = yyv1872 + } +} + +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 _, yyv1876 := range v { + z.EncSendContainerState(codecSelfer_containerArrayElem1234) + yy1877 := &yyv1876 + yy1877.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 + + yyv1878 := *v + yyh1878, yyl1878 := z.DecSliceHelperStart() + var yyc1878 bool + if yyl1878 == 0 { + if yyv1878 == nil { + yyv1878 = []ReplicaSetCondition{} + yyc1878 = true + } else if len(yyv1878) != 0 { + yyv1878 = yyv1878[:0] + yyc1878 = true + } + } else if yyl1878 > 0 { + var yyrr1878, yyrl1878 int + var yyrt1878 bool + if yyl1878 > cap(yyv1878) { + + yyrg1878 := len(yyv1878) > 0 + yyv21878 := yyv1878 + yyrl1878, yyrt1878 = z.DecInferLen(yyl1878, z.DecBasicHandle().MaxInitLen, 112) + if yyrt1878 { + if yyrl1878 <= cap(yyv1878) { + yyv1878 = yyv1878[:yyrl1878] + } else { + yyv1878 = make([]ReplicaSetCondition, yyrl1878) + } + } else { + yyv1878 = make([]ReplicaSetCondition, yyrl1878) + } + yyc1878 = true + yyrr1878 = len(yyv1878) + if yyrg1878 { + copy(yyv1878, yyv21878) + } + } else if yyl1878 != len(yyv1878) { + yyv1878 = yyv1878[:yyl1878] + yyc1878 = true + } + yyj1878 := 0 + for ; yyj1878 < yyrr1878; yyj1878++ { + yyh1878.ElemContainerState(yyj1878) + if r.TryDecodeAsNil() { + yyv1878[yyj1878] = ReplicaSetCondition{} + } else { + yyv1879 := &yyv1878[yyj1878] + yyv1879.CodecDecodeSelf(d) + } + + } + if yyrt1878 { + for ; yyj1878 < yyl1878; yyj1878++ { + yyv1878 = append(yyv1878, ReplicaSetCondition{}) + yyh1878.ElemContainerState(yyj1878) + if r.TryDecodeAsNil() { + yyv1878[yyj1878] = ReplicaSetCondition{} + } else { + yyv1880 := &yyv1878[yyj1878] + yyv1880.CodecDecodeSelf(d) + } + + } + } + + } else { + yyj1878 := 0 + for ; !r.CheckBreak(); yyj1878++ { + + if yyj1878 >= len(yyv1878) { + yyv1878 = append(yyv1878, ReplicaSetCondition{}) // var yyz1878 ReplicaSetCondition + yyc1878 = true + } + yyh1878.ElemContainerState(yyj1878) + if yyj1878 < len(yyv1878) { + if r.TryDecodeAsNil() { + yyv1878[yyj1878] = ReplicaSetCondition{} + } else { + yyv1881 := &yyv1878[yyj1878] + yyv1881.CodecDecodeSelf(d) + } + + } else { + z.DecSwallow() + } + + } + if yyj1878 < len(yyv1878) { + yyv1878 = yyv1878[:yyj1878] + yyc1878 = true + } else if yyj1878 == 0 && yyv1878 == nil { + yyv1878 = []ReplicaSetCondition{} + yyc1878 = true + } + } + yyh1878.End() + if yyc1878 { + *v = yyv1878 } } @@ -22909,14 +23224,14 @@ func (x codecSelfer1234) encSlicev1_Capability(v []pkg2_v1.Capability, e *codec1 z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1855 := range v { + for _, yyv1882 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yym1856 := z.EncBinary() - _ = yym1856 + yym1883 := z.EncBinary() + _ = yym1883 if false { - } else if z.HasExtensions() && z.EncExt(yyv1855) { + } else if z.HasExtensions() && z.EncExt(yyv1882) { } else { - r.EncodeString(codecSelferC_UTF81234, string(yyv1855)) + r.EncodeString(codecSelferC_UTF81234, string(yyv1882)) } } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) @@ -22927,75 +23242,75 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1857 := *v - yyh1857, yyl1857 := z.DecSliceHelperStart() - var yyc1857 bool - if yyl1857 == 0 { - if yyv1857 == nil { - yyv1857 = []pkg2_v1.Capability{} - yyc1857 = true - } else if len(yyv1857) != 0 { - yyv1857 = yyv1857[:0] - yyc1857 = true + yyv1884 := *v + yyh1884, yyl1884 := z.DecSliceHelperStart() + var yyc1884 bool + if yyl1884 == 0 { + if yyv1884 == nil { + yyv1884 = []pkg2_v1.Capability{} + yyc1884 = true + } else if len(yyv1884) != 0 { + yyv1884 = yyv1884[:0] + yyc1884 = true } - } else if yyl1857 > 0 { - var yyrr1857, yyrl1857 int - var yyrt1857 bool - if yyl1857 > cap(yyv1857) { + } else if yyl1884 > 0 { + var yyrr1884, yyrl1884 int + var yyrt1884 bool + if yyl1884 > cap(yyv1884) { - yyrl1857, yyrt1857 = z.DecInferLen(yyl1857, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1857 { - if yyrl1857 <= cap(yyv1857) { - yyv1857 = yyv1857[:yyrl1857] + yyrl1884, yyrt1884 = z.DecInferLen(yyl1884, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1884 { + if yyrl1884 <= cap(yyv1884) { + yyv1884 = yyv1884[:yyrl1884] } else { - yyv1857 = make([]pkg2_v1.Capability, yyrl1857) + yyv1884 = make([]pkg2_v1.Capability, yyrl1884) } } else { - yyv1857 = make([]pkg2_v1.Capability, yyrl1857) + yyv1884 = make([]pkg2_v1.Capability, yyrl1884) } - yyc1857 = true - yyrr1857 = len(yyv1857) - } else if yyl1857 != len(yyv1857) { - yyv1857 = yyv1857[:yyl1857] - yyc1857 = true + yyc1884 = true + yyrr1884 = len(yyv1884) + } else if yyl1884 != len(yyv1884) { + yyv1884 = yyv1884[:yyl1884] + yyc1884 = true } - yyj1857 := 0 - for ; yyj1857 < yyrr1857; yyj1857++ { - yyh1857.ElemContainerState(yyj1857) + yyj1884 := 0 + for ; yyj1884 < yyrr1884; yyj1884++ { + yyh1884.ElemContainerState(yyj1884) if r.TryDecodeAsNil() { - yyv1857[yyj1857] = "" + yyv1884[yyj1884] = "" } else { - yyv1857[yyj1857] = pkg2_v1.Capability(r.DecodeString()) + yyv1884[yyj1884] = pkg2_v1.Capability(r.DecodeString()) } } - if yyrt1857 { - for ; yyj1857 < yyl1857; yyj1857++ { - yyv1857 = append(yyv1857, "") - yyh1857.ElemContainerState(yyj1857) + if yyrt1884 { + for ; yyj1884 < yyl1884; yyj1884++ { + yyv1884 = append(yyv1884, "") + yyh1884.ElemContainerState(yyj1884) if r.TryDecodeAsNil() { - yyv1857[yyj1857] = "" + yyv1884[yyj1884] = "" } else { - yyv1857[yyj1857] = pkg2_v1.Capability(r.DecodeString()) + yyv1884[yyj1884] = pkg2_v1.Capability(r.DecodeString()) } } } } else { - yyj1857 := 0 - for ; !r.CheckBreak(); yyj1857++ { + yyj1884 := 0 + for ; !r.CheckBreak(); yyj1884++ { - if yyj1857 >= len(yyv1857) { - yyv1857 = append(yyv1857, "") // var yyz1857 pkg2_v1.Capability - yyc1857 = true + if yyj1884 >= len(yyv1884) { + yyv1884 = append(yyv1884, "") // var yyz1884 pkg2_v1.Capability + yyc1884 = true } - yyh1857.ElemContainerState(yyj1857) - if yyj1857 < len(yyv1857) { + yyh1884.ElemContainerState(yyj1884) + if yyj1884 < len(yyv1884) { if r.TryDecodeAsNil() { - yyv1857[yyj1857] = "" + yyv1884[yyj1884] = "" } else { - yyv1857[yyj1857] = pkg2_v1.Capability(r.DecodeString()) + yyv1884[yyj1884] = pkg2_v1.Capability(r.DecodeString()) } } else { @@ -23003,17 +23318,17 @@ func (x codecSelfer1234) decSlicev1_Capability(v *[]pkg2_v1.Capability, d *codec } } - if yyj1857 < len(yyv1857) { - yyv1857 = yyv1857[:yyj1857] - yyc1857 = true - } else if yyj1857 == 0 && yyv1857 == nil { - yyv1857 = []pkg2_v1.Capability{} - yyc1857 = true + if yyj1884 < len(yyv1884) { + yyv1884 = yyv1884[:yyj1884] + yyc1884 = true + } else if yyj1884 == 0 && yyv1884 == nil { + yyv1884 = []pkg2_v1.Capability{} + yyc1884 = true } } - yyh1857.End() - if yyc1857 { - *v = yyv1857 + yyh1884.End() + if yyc1884 { + *v = yyv1884 } } @@ -23022,9 +23337,9 @@ func (x codecSelfer1234) encSliceFSType(v []FSType, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1861 := range v { + for _, yyv1888 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yyv1861.CodecEncodeSelf(e) + yyv1888.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23034,75 +23349,75 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1862 := *v - yyh1862, yyl1862 := z.DecSliceHelperStart() - var yyc1862 bool - if yyl1862 == 0 { - if yyv1862 == nil { - yyv1862 = []FSType{} - yyc1862 = true - } else if len(yyv1862) != 0 { - yyv1862 = yyv1862[:0] - yyc1862 = true + 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 yyl1862 > 0 { - var yyrr1862, yyrl1862 int - var yyrt1862 bool - if yyl1862 > cap(yyv1862) { + } else if yyl1889 > 0 { + var yyrr1889, yyrl1889 int + var yyrt1889 bool + if yyl1889 > cap(yyv1889) { - yyrl1862, yyrt1862 = z.DecInferLen(yyl1862, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1862 { - if yyrl1862 <= cap(yyv1862) { - yyv1862 = yyv1862[:yyrl1862] + yyrl1889, yyrt1889 = z.DecInferLen(yyl1889, z.DecBasicHandle().MaxInitLen, 16) + if yyrt1889 { + if yyrl1889 <= cap(yyv1889) { + yyv1889 = yyv1889[:yyrl1889] } else { - yyv1862 = make([]FSType, yyrl1862) + yyv1889 = make([]FSType, yyrl1889) } } else { - yyv1862 = make([]FSType, yyrl1862) + yyv1889 = make([]FSType, yyrl1889) } - yyc1862 = true - yyrr1862 = len(yyv1862) - } else if yyl1862 != len(yyv1862) { - yyv1862 = yyv1862[:yyl1862] - yyc1862 = true + yyc1889 = true + yyrr1889 = len(yyv1889) + } else if yyl1889 != len(yyv1889) { + yyv1889 = yyv1889[:yyl1889] + yyc1889 = true } - yyj1862 := 0 - for ; yyj1862 < yyrr1862; yyj1862++ { - yyh1862.ElemContainerState(yyj1862) + yyj1889 := 0 + for ; yyj1889 < yyrr1889; yyj1889++ { + yyh1889.ElemContainerState(yyj1889) if r.TryDecodeAsNil() { - yyv1862[yyj1862] = "" + yyv1889[yyj1889] = "" } else { - yyv1862[yyj1862] = FSType(r.DecodeString()) + yyv1889[yyj1889] = FSType(r.DecodeString()) } } - if yyrt1862 { - for ; yyj1862 < yyl1862; yyj1862++ { - yyv1862 = append(yyv1862, "") - yyh1862.ElemContainerState(yyj1862) + if yyrt1889 { + for ; yyj1889 < yyl1889; yyj1889++ { + yyv1889 = append(yyv1889, "") + yyh1889.ElemContainerState(yyj1889) if r.TryDecodeAsNil() { - yyv1862[yyj1862] = "" + yyv1889[yyj1889] = "" } else { - yyv1862[yyj1862] = FSType(r.DecodeString()) + yyv1889[yyj1889] = FSType(r.DecodeString()) } } } } else { - yyj1862 := 0 - for ; !r.CheckBreak(); yyj1862++ { + yyj1889 := 0 + for ; !r.CheckBreak(); yyj1889++ { - if yyj1862 >= len(yyv1862) { - yyv1862 = append(yyv1862, "") // var yyz1862 FSType - yyc1862 = true + if yyj1889 >= len(yyv1889) { + yyv1889 = append(yyv1889, "") // var yyz1889 FSType + yyc1889 = true } - yyh1862.ElemContainerState(yyj1862) - if yyj1862 < len(yyv1862) { + yyh1889.ElemContainerState(yyj1889) + if yyj1889 < len(yyv1889) { if r.TryDecodeAsNil() { - yyv1862[yyj1862] = "" + yyv1889[yyj1889] = "" } else { - yyv1862[yyj1862] = FSType(r.DecodeString()) + yyv1889[yyj1889] = FSType(r.DecodeString()) } } else { @@ -23110,17 +23425,17 @@ func (x codecSelfer1234) decSliceFSType(v *[]FSType, d *codec1978.Decoder) { } } - if yyj1862 < len(yyv1862) { - yyv1862 = yyv1862[:yyj1862] - yyc1862 = true - } else if yyj1862 == 0 && yyv1862 == nil { - yyv1862 = []FSType{} - yyc1862 = true + if yyj1889 < len(yyv1889) { + yyv1889 = yyv1889[:yyj1889] + yyc1889 = true + } else if yyj1889 == 0 && yyv1889 == nil { + yyv1889 = []FSType{} + yyc1889 = true } } - yyh1862.End() - if yyc1862 { - *v = yyv1862 + yyh1889.End() + if yyc1889 { + *v = yyv1889 } } @@ -23129,10 +23444,10 @@ func (x codecSelfer1234) encSliceHostPortRange(v []HostPortRange, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1866 := range v { + for _, yyv1893 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1867 := &yyv1866 - yy1867.CodecEncodeSelf(e) + yy1894 := &yyv1893 + yy1894.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23142,83 +23457,83 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1868 := *v - yyh1868, yyl1868 := z.DecSliceHelperStart() - var yyc1868 bool - if yyl1868 == 0 { - if yyv1868 == nil { - yyv1868 = []HostPortRange{} - yyc1868 = true - } else if len(yyv1868) != 0 { - yyv1868 = yyv1868[:0] - yyc1868 = true + 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 yyl1868 > 0 { - var yyrr1868, yyrl1868 int - var yyrt1868 bool - if yyl1868 > cap(yyv1868) { + } else if yyl1895 > 0 { + var yyrr1895, yyrl1895 int + var yyrt1895 bool + if yyl1895 > cap(yyv1895) { - yyrg1868 := len(yyv1868) > 0 - yyv21868 := yyv1868 - yyrl1868, yyrt1868 = z.DecInferLen(yyl1868, z.DecBasicHandle().MaxInitLen, 8) - if yyrt1868 { - if yyrl1868 <= cap(yyv1868) { - yyv1868 = yyv1868[:yyrl1868] + 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 { - yyv1868 = make([]HostPortRange, yyrl1868) + yyv1895 = make([]HostPortRange, yyrl1895) } } else { - yyv1868 = make([]HostPortRange, yyrl1868) + yyv1895 = make([]HostPortRange, yyrl1895) } - yyc1868 = true - yyrr1868 = len(yyv1868) - if yyrg1868 { - copy(yyv1868, yyv21868) + yyc1895 = true + yyrr1895 = len(yyv1895) + if yyrg1895 { + copy(yyv1895, yyv21895) } - } else if yyl1868 != len(yyv1868) { - yyv1868 = yyv1868[:yyl1868] - yyc1868 = true + } else if yyl1895 != len(yyv1895) { + yyv1895 = yyv1895[:yyl1895] + yyc1895 = true } - yyj1868 := 0 - for ; yyj1868 < yyrr1868; yyj1868++ { - yyh1868.ElemContainerState(yyj1868) + yyj1895 := 0 + for ; yyj1895 < yyrr1895; yyj1895++ { + yyh1895.ElemContainerState(yyj1895) if r.TryDecodeAsNil() { - yyv1868[yyj1868] = HostPortRange{} + yyv1895[yyj1895] = HostPortRange{} } else { - yyv1869 := &yyv1868[yyj1868] - yyv1869.CodecDecodeSelf(d) + yyv1896 := &yyv1895[yyj1895] + yyv1896.CodecDecodeSelf(d) } } - if yyrt1868 { - for ; yyj1868 < yyl1868; yyj1868++ { - yyv1868 = append(yyv1868, HostPortRange{}) - yyh1868.ElemContainerState(yyj1868) + if yyrt1895 { + for ; yyj1895 < yyl1895; yyj1895++ { + yyv1895 = append(yyv1895, HostPortRange{}) + yyh1895.ElemContainerState(yyj1895) if r.TryDecodeAsNil() { - yyv1868[yyj1868] = HostPortRange{} + yyv1895[yyj1895] = HostPortRange{} } else { - yyv1870 := &yyv1868[yyj1868] - yyv1870.CodecDecodeSelf(d) + yyv1897 := &yyv1895[yyj1895] + yyv1897.CodecDecodeSelf(d) } } } } else { - yyj1868 := 0 - for ; !r.CheckBreak(); yyj1868++ { + yyj1895 := 0 + for ; !r.CheckBreak(); yyj1895++ { - if yyj1868 >= len(yyv1868) { - yyv1868 = append(yyv1868, HostPortRange{}) // var yyz1868 HostPortRange - yyc1868 = true + if yyj1895 >= len(yyv1895) { + yyv1895 = append(yyv1895, HostPortRange{}) // var yyz1895 HostPortRange + yyc1895 = true } - yyh1868.ElemContainerState(yyj1868) - if yyj1868 < len(yyv1868) { + yyh1895.ElemContainerState(yyj1895) + if yyj1895 < len(yyv1895) { if r.TryDecodeAsNil() { - yyv1868[yyj1868] = HostPortRange{} + yyv1895[yyj1895] = HostPortRange{} } else { - yyv1871 := &yyv1868[yyj1868] - yyv1871.CodecDecodeSelf(d) + yyv1898 := &yyv1895[yyj1895] + yyv1898.CodecDecodeSelf(d) } } else { @@ -23226,17 +23541,17 @@ func (x codecSelfer1234) decSliceHostPortRange(v *[]HostPortRange, d *codec1978. } } - if yyj1868 < len(yyv1868) { - yyv1868 = yyv1868[:yyj1868] - yyc1868 = true - } else if yyj1868 == 0 && yyv1868 == nil { - yyv1868 = []HostPortRange{} - yyc1868 = true + if yyj1895 < len(yyv1895) { + yyv1895 = yyv1895[:yyj1895] + yyc1895 = true + } else if yyj1895 == 0 && yyv1895 == nil { + yyv1895 = []HostPortRange{} + yyc1895 = true } } - yyh1868.End() - if yyc1868 { - *v = yyv1868 + yyh1895.End() + if yyc1895 { + *v = yyv1895 } } @@ -23245,10 +23560,10 @@ func (x codecSelfer1234) encSliceIDRange(v []IDRange, e *codec1978.Encoder) { z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1872 := range v { + for _, yyv1899 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1873 := &yyv1872 - yy1873.CodecEncodeSelf(e) + yy1900 := &yyv1899 + yy1900.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23258,83 +23573,83 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1874 := *v - yyh1874, yyl1874 := z.DecSliceHelperStart() - var yyc1874 bool - if yyl1874 == 0 { - if yyv1874 == nil { - yyv1874 = []IDRange{} - yyc1874 = true - } else if len(yyv1874) != 0 { - yyv1874 = yyv1874[:0] - yyc1874 = true + 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 yyl1874 > 0 { - var yyrr1874, yyrl1874 int - var yyrt1874 bool - if yyl1874 > cap(yyv1874) { + } else if yyl1901 > 0 { + var yyrr1901, yyrl1901 int + var yyrt1901 bool + if yyl1901 > cap(yyv1901) { - yyrg1874 := len(yyv1874) > 0 - yyv21874 := yyv1874 - yyrl1874, yyrt1874 = z.DecInferLen(yyl1874, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1874 { - if yyrl1874 <= cap(yyv1874) { - yyv1874 = yyv1874[:yyrl1874] + 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 { - yyv1874 = make([]IDRange, yyrl1874) + yyv1901 = make([]IDRange, yyrl1901) } } else { - yyv1874 = make([]IDRange, yyrl1874) + yyv1901 = make([]IDRange, yyrl1901) } - yyc1874 = true - yyrr1874 = len(yyv1874) - if yyrg1874 { - copy(yyv1874, yyv21874) + yyc1901 = true + yyrr1901 = len(yyv1901) + if yyrg1901 { + copy(yyv1901, yyv21901) } - } else if yyl1874 != len(yyv1874) { - yyv1874 = yyv1874[:yyl1874] - yyc1874 = true + } else if yyl1901 != len(yyv1901) { + yyv1901 = yyv1901[:yyl1901] + yyc1901 = true } - yyj1874 := 0 - for ; yyj1874 < yyrr1874; yyj1874++ { - yyh1874.ElemContainerState(yyj1874) + yyj1901 := 0 + for ; yyj1901 < yyrr1901; yyj1901++ { + yyh1901.ElemContainerState(yyj1901) if r.TryDecodeAsNil() { - yyv1874[yyj1874] = IDRange{} + yyv1901[yyj1901] = IDRange{} } else { - yyv1875 := &yyv1874[yyj1874] - yyv1875.CodecDecodeSelf(d) + yyv1902 := &yyv1901[yyj1901] + yyv1902.CodecDecodeSelf(d) } } - if yyrt1874 { - for ; yyj1874 < yyl1874; yyj1874++ { - yyv1874 = append(yyv1874, IDRange{}) - yyh1874.ElemContainerState(yyj1874) + if yyrt1901 { + for ; yyj1901 < yyl1901; yyj1901++ { + yyv1901 = append(yyv1901, IDRange{}) + yyh1901.ElemContainerState(yyj1901) if r.TryDecodeAsNil() { - yyv1874[yyj1874] = IDRange{} + yyv1901[yyj1901] = IDRange{} } else { - yyv1876 := &yyv1874[yyj1874] - yyv1876.CodecDecodeSelf(d) + yyv1903 := &yyv1901[yyj1901] + yyv1903.CodecDecodeSelf(d) } } } } else { - yyj1874 := 0 - for ; !r.CheckBreak(); yyj1874++ { + yyj1901 := 0 + for ; !r.CheckBreak(); yyj1901++ { - if yyj1874 >= len(yyv1874) { - yyv1874 = append(yyv1874, IDRange{}) // var yyz1874 IDRange - yyc1874 = true + if yyj1901 >= len(yyv1901) { + yyv1901 = append(yyv1901, IDRange{}) // var yyz1901 IDRange + yyc1901 = true } - yyh1874.ElemContainerState(yyj1874) - if yyj1874 < len(yyv1874) { + yyh1901.ElemContainerState(yyj1901) + if yyj1901 < len(yyv1901) { if r.TryDecodeAsNil() { - yyv1874[yyj1874] = IDRange{} + yyv1901[yyj1901] = IDRange{} } else { - yyv1877 := &yyv1874[yyj1874] - yyv1877.CodecDecodeSelf(d) + yyv1904 := &yyv1901[yyj1901] + yyv1904.CodecDecodeSelf(d) } } else { @@ -23342,17 +23657,17 @@ func (x codecSelfer1234) decSliceIDRange(v *[]IDRange, d *codec1978.Decoder) { } } - if yyj1874 < len(yyv1874) { - yyv1874 = yyv1874[:yyj1874] - yyc1874 = true - } else if yyj1874 == 0 && yyv1874 == nil { - yyv1874 = []IDRange{} - yyc1874 = true + if yyj1901 < len(yyv1901) { + yyv1901 = yyv1901[:yyj1901] + yyc1901 = true + } else if yyj1901 == 0 && yyv1901 == nil { + yyv1901 = []IDRange{} + yyc1901 = true } } - yyh1874.End() - if yyc1874 { - *v = yyv1874 + yyh1901.End() + if yyc1901 { + *v = yyv1901 } } @@ -23361,10 +23676,10 @@ func (x codecSelfer1234) encSlicePodSecurityPolicy(v []PodSecurityPolicy, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1878 := range v { + for _, yyv1905 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1879 := &yyv1878 - yy1879.CodecEncodeSelf(e) + yy1906 := &yyv1905 + yy1906.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23374,83 +23689,83 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1880 := *v - yyh1880, yyl1880 := z.DecSliceHelperStart() - var yyc1880 bool - if yyl1880 == 0 { - if yyv1880 == nil { - yyv1880 = []PodSecurityPolicy{} - yyc1880 = true - } else if len(yyv1880) != 0 { - yyv1880 = yyv1880[:0] - yyc1880 = true + 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 yyl1880 > 0 { - var yyrr1880, yyrl1880 int - var yyrt1880 bool - if yyl1880 > cap(yyv1880) { + } else if yyl1907 > 0 { + var yyrr1907, yyrl1907 int + var yyrt1907 bool + if yyl1907 > cap(yyv1907) { - yyrg1880 := len(yyv1880) > 0 - yyv21880 := yyv1880 - yyrl1880, yyrt1880 = z.DecInferLen(yyl1880, z.DecBasicHandle().MaxInitLen, 552) - if yyrt1880 { - if yyrl1880 <= cap(yyv1880) { - yyv1880 = yyv1880[:yyrl1880] + 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 { - yyv1880 = make([]PodSecurityPolicy, yyrl1880) + yyv1907 = make([]PodSecurityPolicy, yyrl1907) } } else { - yyv1880 = make([]PodSecurityPolicy, yyrl1880) + yyv1907 = make([]PodSecurityPolicy, yyrl1907) } - yyc1880 = true - yyrr1880 = len(yyv1880) - if yyrg1880 { - copy(yyv1880, yyv21880) + yyc1907 = true + yyrr1907 = len(yyv1907) + if yyrg1907 { + copy(yyv1907, yyv21907) } - } else if yyl1880 != len(yyv1880) { - yyv1880 = yyv1880[:yyl1880] - yyc1880 = true + } else if yyl1907 != len(yyv1907) { + yyv1907 = yyv1907[:yyl1907] + yyc1907 = true } - yyj1880 := 0 - for ; yyj1880 < yyrr1880; yyj1880++ { - yyh1880.ElemContainerState(yyj1880) + yyj1907 := 0 + for ; yyj1907 < yyrr1907; yyj1907++ { + yyh1907.ElemContainerState(yyj1907) if r.TryDecodeAsNil() { - yyv1880[yyj1880] = PodSecurityPolicy{} + yyv1907[yyj1907] = PodSecurityPolicy{} } else { - yyv1881 := &yyv1880[yyj1880] - yyv1881.CodecDecodeSelf(d) + yyv1908 := &yyv1907[yyj1907] + yyv1908.CodecDecodeSelf(d) } } - if yyrt1880 { - for ; yyj1880 < yyl1880; yyj1880++ { - yyv1880 = append(yyv1880, PodSecurityPolicy{}) - yyh1880.ElemContainerState(yyj1880) + if yyrt1907 { + for ; yyj1907 < yyl1907; yyj1907++ { + yyv1907 = append(yyv1907, PodSecurityPolicy{}) + yyh1907.ElemContainerState(yyj1907) if r.TryDecodeAsNil() { - yyv1880[yyj1880] = PodSecurityPolicy{} + yyv1907[yyj1907] = PodSecurityPolicy{} } else { - yyv1882 := &yyv1880[yyj1880] - yyv1882.CodecDecodeSelf(d) + yyv1909 := &yyv1907[yyj1907] + yyv1909.CodecDecodeSelf(d) } } } } else { - yyj1880 := 0 - for ; !r.CheckBreak(); yyj1880++ { + yyj1907 := 0 + for ; !r.CheckBreak(); yyj1907++ { - if yyj1880 >= len(yyv1880) { - yyv1880 = append(yyv1880, PodSecurityPolicy{}) // var yyz1880 PodSecurityPolicy - yyc1880 = true + if yyj1907 >= len(yyv1907) { + yyv1907 = append(yyv1907, PodSecurityPolicy{}) // var yyz1907 PodSecurityPolicy + yyc1907 = true } - yyh1880.ElemContainerState(yyj1880) - if yyj1880 < len(yyv1880) { + yyh1907.ElemContainerState(yyj1907) + if yyj1907 < len(yyv1907) { if r.TryDecodeAsNil() { - yyv1880[yyj1880] = PodSecurityPolicy{} + yyv1907[yyj1907] = PodSecurityPolicy{} } else { - yyv1883 := &yyv1880[yyj1880] - yyv1883.CodecDecodeSelf(d) + yyv1910 := &yyv1907[yyj1907] + yyv1910.CodecDecodeSelf(d) } } else { @@ -23458,17 +23773,17 @@ func (x codecSelfer1234) decSlicePodSecurityPolicy(v *[]PodSecurityPolicy, d *co } } - if yyj1880 < len(yyv1880) { - yyv1880 = yyv1880[:yyj1880] - yyc1880 = true - } else if yyj1880 == 0 && yyv1880 == nil { - yyv1880 = []PodSecurityPolicy{} - yyc1880 = true + if yyj1907 < len(yyv1907) { + yyv1907 = yyv1907[:yyj1907] + yyc1907 = true + } else if yyj1907 == 0 && yyv1907 == nil { + yyv1907 = []PodSecurityPolicy{} + yyc1907 = true } } - yyh1880.End() - if yyc1880 { - *v = yyv1880 + yyh1907.End() + if yyc1907 { + *v = yyv1907 } } @@ -23477,10 +23792,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyIngressRule(v []NetworkPolicyIngre z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1884 := range v { + for _, yyv1911 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1885 := &yyv1884 - yy1885.CodecEncodeSelf(e) + yy1912 := &yyv1911 + yy1912.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23490,83 +23805,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1886 := *v - yyh1886, yyl1886 := z.DecSliceHelperStart() - var yyc1886 bool - if yyl1886 == 0 { - if yyv1886 == nil { - yyv1886 = []NetworkPolicyIngressRule{} - yyc1886 = true - } else if len(yyv1886) != 0 { - yyv1886 = yyv1886[:0] - yyc1886 = true + 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 yyl1886 > 0 { - var yyrr1886, yyrl1886 int - var yyrt1886 bool - if yyl1886 > cap(yyv1886) { + } else if yyl1913 > 0 { + var yyrr1913, yyrl1913 int + var yyrt1913 bool + if yyl1913 > cap(yyv1913) { - yyrg1886 := len(yyv1886) > 0 - yyv21886 := yyv1886 - yyrl1886, yyrt1886 = z.DecInferLen(yyl1886, z.DecBasicHandle().MaxInitLen, 48) - if yyrt1886 { - if yyrl1886 <= cap(yyv1886) { - yyv1886 = yyv1886[:yyrl1886] + 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 { - yyv1886 = make([]NetworkPolicyIngressRule, yyrl1886) + yyv1913 = make([]NetworkPolicyIngressRule, yyrl1913) } } else { - yyv1886 = make([]NetworkPolicyIngressRule, yyrl1886) + yyv1913 = make([]NetworkPolicyIngressRule, yyrl1913) } - yyc1886 = true - yyrr1886 = len(yyv1886) - if yyrg1886 { - copy(yyv1886, yyv21886) + yyc1913 = true + yyrr1913 = len(yyv1913) + if yyrg1913 { + copy(yyv1913, yyv21913) } - } else if yyl1886 != len(yyv1886) { - yyv1886 = yyv1886[:yyl1886] - yyc1886 = true + } else if yyl1913 != len(yyv1913) { + yyv1913 = yyv1913[:yyl1913] + yyc1913 = true } - yyj1886 := 0 - for ; yyj1886 < yyrr1886; yyj1886++ { - yyh1886.ElemContainerState(yyj1886) + yyj1913 := 0 + for ; yyj1913 < yyrr1913; yyj1913++ { + yyh1913.ElemContainerState(yyj1913) if r.TryDecodeAsNil() { - yyv1886[yyj1886] = NetworkPolicyIngressRule{} + yyv1913[yyj1913] = NetworkPolicyIngressRule{} } else { - yyv1887 := &yyv1886[yyj1886] - yyv1887.CodecDecodeSelf(d) + yyv1914 := &yyv1913[yyj1913] + yyv1914.CodecDecodeSelf(d) } } - if yyrt1886 { - for ; yyj1886 < yyl1886; yyj1886++ { - yyv1886 = append(yyv1886, NetworkPolicyIngressRule{}) - yyh1886.ElemContainerState(yyj1886) + if yyrt1913 { + for ; yyj1913 < yyl1913; yyj1913++ { + yyv1913 = append(yyv1913, NetworkPolicyIngressRule{}) + yyh1913.ElemContainerState(yyj1913) if r.TryDecodeAsNil() { - yyv1886[yyj1886] = NetworkPolicyIngressRule{} + yyv1913[yyj1913] = NetworkPolicyIngressRule{} } else { - yyv1888 := &yyv1886[yyj1886] - yyv1888.CodecDecodeSelf(d) + yyv1915 := &yyv1913[yyj1913] + yyv1915.CodecDecodeSelf(d) } } } } else { - yyj1886 := 0 - for ; !r.CheckBreak(); yyj1886++ { + yyj1913 := 0 + for ; !r.CheckBreak(); yyj1913++ { - if yyj1886 >= len(yyv1886) { - yyv1886 = append(yyv1886, NetworkPolicyIngressRule{}) // var yyz1886 NetworkPolicyIngressRule - yyc1886 = true + if yyj1913 >= len(yyv1913) { + yyv1913 = append(yyv1913, NetworkPolicyIngressRule{}) // var yyz1913 NetworkPolicyIngressRule + yyc1913 = true } - yyh1886.ElemContainerState(yyj1886) - if yyj1886 < len(yyv1886) { + yyh1913.ElemContainerState(yyj1913) + if yyj1913 < len(yyv1913) { if r.TryDecodeAsNil() { - yyv1886[yyj1886] = NetworkPolicyIngressRule{} + yyv1913[yyj1913] = NetworkPolicyIngressRule{} } else { - yyv1889 := &yyv1886[yyj1886] - yyv1889.CodecDecodeSelf(d) + yyv1916 := &yyv1913[yyj1913] + yyv1916.CodecDecodeSelf(d) } } else { @@ -23574,17 +23889,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyIngressRule(v *[]NetworkPolicyIngr } } - if yyj1886 < len(yyv1886) { - yyv1886 = yyv1886[:yyj1886] - yyc1886 = true - } else if yyj1886 == 0 && yyv1886 == nil { - yyv1886 = []NetworkPolicyIngressRule{} - yyc1886 = true + if yyj1913 < len(yyv1913) { + yyv1913 = yyv1913[:yyj1913] + yyc1913 = true + } else if yyj1913 == 0 && yyv1913 == nil { + yyv1913 = []NetworkPolicyIngressRule{} + yyc1913 = true } } - yyh1886.End() - if yyc1886 { - *v = yyv1886 + yyh1913.End() + if yyc1913 { + *v = yyv1913 } } @@ -23593,10 +23908,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPort(v []NetworkPolicyPort, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1890 := range v { + for _, yyv1917 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1891 := &yyv1890 - yy1891.CodecEncodeSelf(e) + yy1918 := &yyv1917 + yy1918.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23606,83 +23921,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1892 := *v - yyh1892, yyl1892 := z.DecSliceHelperStart() - var yyc1892 bool - if yyl1892 == 0 { - if yyv1892 == nil { - yyv1892 = []NetworkPolicyPort{} - yyc1892 = true - } else if len(yyv1892) != 0 { - yyv1892 = yyv1892[:0] - yyc1892 = true + 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 yyl1892 > 0 { - var yyrr1892, yyrl1892 int - var yyrt1892 bool - if yyl1892 > cap(yyv1892) { + } else if yyl1919 > 0 { + var yyrr1919, yyrl1919 int + var yyrt1919 bool + if yyl1919 > cap(yyv1919) { - yyrg1892 := len(yyv1892) > 0 - yyv21892 := yyv1892 - yyrl1892, yyrt1892 = z.DecInferLen(yyl1892, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1892 { - if yyrl1892 <= cap(yyv1892) { - yyv1892 = yyv1892[:yyrl1892] + 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 { - yyv1892 = make([]NetworkPolicyPort, yyrl1892) + yyv1919 = make([]NetworkPolicyPort, yyrl1919) } } else { - yyv1892 = make([]NetworkPolicyPort, yyrl1892) + yyv1919 = make([]NetworkPolicyPort, yyrl1919) } - yyc1892 = true - yyrr1892 = len(yyv1892) - if yyrg1892 { - copy(yyv1892, yyv21892) + yyc1919 = true + yyrr1919 = len(yyv1919) + if yyrg1919 { + copy(yyv1919, yyv21919) } - } else if yyl1892 != len(yyv1892) { - yyv1892 = yyv1892[:yyl1892] - yyc1892 = true + } else if yyl1919 != len(yyv1919) { + yyv1919 = yyv1919[:yyl1919] + yyc1919 = true } - yyj1892 := 0 - for ; yyj1892 < yyrr1892; yyj1892++ { - yyh1892.ElemContainerState(yyj1892) + yyj1919 := 0 + for ; yyj1919 < yyrr1919; yyj1919++ { + yyh1919.ElemContainerState(yyj1919) if r.TryDecodeAsNil() { - yyv1892[yyj1892] = NetworkPolicyPort{} + yyv1919[yyj1919] = NetworkPolicyPort{} } else { - yyv1893 := &yyv1892[yyj1892] - yyv1893.CodecDecodeSelf(d) + yyv1920 := &yyv1919[yyj1919] + yyv1920.CodecDecodeSelf(d) } } - if yyrt1892 { - for ; yyj1892 < yyl1892; yyj1892++ { - yyv1892 = append(yyv1892, NetworkPolicyPort{}) - yyh1892.ElemContainerState(yyj1892) + if yyrt1919 { + for ; yyj1919 < yyl1919; yyj1919++ { + yyv1919 = append(yyv1919, NetworkPolicyPort{}) + yyh1919.ElemContainerState(yyj1919) if r.TryDecodeAsNil() { - yyv1892[yyj1892] = NetworkPolicyPort{} + yyv1919[yyj1919] = NetworkPolicyPort{} } else { - yyv1894 := &yyv1892[yyj1892] - yyv1894.CodecDecodeSelf(d) + yyv1921 := &yyv1919[yyj1919] + yyv1921.CodecDecodeSelf(d) } } } } else { - yyj1892 := 0 - for ; !r.CheckBreak(); yyj1892++ { + yyj1919 := 0 + for ; !r.CheckBreak(); yyj1919++ { - if yyj1892 >= len(yyv1892) { - yyv1892 = append(yyv1892, NetworkPolicyPort{}) // var yyz1892 NetworkPolicyPort - yyc1892 = true + if yyj1919 >= len(yyv1919) { + yyv1919 = append(yyv1919, NetworkPolicyPort{}) // var yyz1919 NetworkPolicyPort + yyc1919 = true } - yyh1892.ElemContainerState(yyj1892) - if yyj1892 < len(yyv1892) { + yyh1919.ElemContainerState(yyj1919) + if yyj1919 < len(yyv1919) { if r.TryDecodeAsNil() { - yyv1892[yyj1892] = NetworkPolicyPort{} + yyv1919[yyj1919] = NetworkPolicyPort{} } else { - yyv1895 := &yyv1892[yyj1892] - yyv1895.CodecDecodeSelf(d) + yyv1922 := &yyv1919[yyj1919] + yyv1922.CodecDecodeSelf(d) } } else { @@ -23690,17 +24005,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPort(v *[]NetworkPolicyPort, d *co } } - if yyj1892 < len(yyv1892) { - yyv1892 = yyv1892[:yyj1892] - yyc1892 = true - } else if yyj1892 == 0 && yyv1892 == nil { - yyv1892 = []NetworkPolicyPort{} - yyc1892 = true + if yyj1919 < len(yyv1919) { + yyv1919 = yyv1919[:yyj1919] + yyc1919 = true + } else if yyj1919 == 0 && yyv1919 == nil { + yyv1919 = []NetworkPolicyPort{} + yyc1919 = true } } - yyh1892.End() - if yyc1892 { - *v = yyv1892 + yyh1919.End() + if yyc1919 { + *v = yyv1919 } } @@ -23709,10 +24024,10 @@ func (x codecSelfer1234) encSliceNetworkPolicyPeer(v []NetworkPolicyPeer, e *cod z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1896 := range v { + for _, yyv1923 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1897 := &yyv1896 - yy1897.CodecEncodeSelf(e) + yy1924 := &yyv1923 + yy1924.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23722,83 +24037,83 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1898 := *v - yyh1898, yyl1898 := z.DecSliceHelperStart() - var yyc1898 bool - if yyl1898 == 0 { - if yyv1898 == nil { - yyv1898 = []NetworkPolicyPeer{} - yyc1898 = true - } else if len(yyv1898) != 0 { - yyv1898 = yyv1898[:0] - yyc1898 = true + yyv1925 := *v + yyh1925, yyl1925 := z.DecSliceHelperStart() + var yyc1925 bool + if yyl1925 == 0 { + if yyv1925 == nil { + yyv1925 = []NetworkPolicyPeer{} + yyc1925 = true + } else if len(yyv1925) != 0 { + yyv1925 = yyv1925[:0] + yyc1925 = true } - } else if yyl1898 > 0 { - var yyrr1898, yyrl1898 int - var yyrt1898 bool - if yyl1898 > cap(yyv1898) { + } else if yyl1925 > 0 { + var yyrr1925, yyrl1925 int + var yyrt1925 bool + if yyl1925 > cap(yyv1925) { - yyrg1898 := len(yyv1898) > 0 - yyv21898 := yyv1898 - yyrl1898, yyrt1898 = z.DecInferLen(yyl1898, z.DecBasicHandle().MaxInitLen, 16) - if yyrt1898 { - if yyrl1898 <= cap(yyv1898) { - yyv1898 = yyv1898[:yyrl1898] + 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 { - yyv1898 = make([]NetworkPolicyPeer, yyrl1898) + yyv1925 = make([]NetworkPolicyPeer, yyrl1925) } } else { - yyv1898 = make([]NetworkPolicyPeer, yyrl1898) + yyv1925 = make([]NetworkPolicyPeer, yyrl1925) } - yyc1898 = true - yyrr1898 = len(yyv1898) - if yyrg1898 { - copy(yyv1898, yyv21898) + yyc1925 = true + yyrr1925 = len(yyv1925) + if yyrg1925 { + copy(yyv1925, yyv21925) } - } else if yyl1898 != len(yyv1898) { - yyv1898 = yyv1898[:yyl1898] - yyc1898 = true + } else if yyl1925 != len(yyv1925) { + yyv1925 = yyv1925[:yyl1925] + yyc1925 = true } - yyj1898 := 0 - for ; yyj1898 < yyrr1898; yyj1898++ { - yyh1898.ElemContainerState(yyj1898) + yyj1925 := 0 + for ; yyj1925 < yyrr1925; yyj1925++ { + yyh1925.ElemContainerState(yyj1925) if r.TryDecodeAsNil() { - yyv1898[yyj1898] = NetworkPolicyPeer{} + yyv1925[yyj1925] = NetworkPolicyPeer{} } else { - yyv1899 := &yyv1898[yyj1898] - yyv1899.CodecDecodeSelf(d) + yyv1926 := &yyv1925[yyj1925] + yyv1926.CodecDecodeSelf(d) } } - if yyrt1898 { - for ; yyj1898 < yyl1898; yyj1898++ { - yyv1898 = append(yyv1898, NetworkPolicyPeer{}) - yyh1898.ElemContainerState(yyj1898) + if yyrt1925 { + for ; yyj1925 < yyl1925; yyj1925++ { + yyv1925 = append(yyv1925, NetworkPolicyPeer{}) + yyh1925.ElemContainerState(yyj1925) if r.TryDecodeAsNil() { - yyv1898[yyj1898] = NetworkPolicyPeer{} + yyv1925[yyj1925] = NetworkPolicyPeer{} } else { - yyv1900 := &yyv1898[yyj1898] - yyv1900.CodecDecodeSelf(d) + yyv1927 := &yyv1925[yyj1925] + yyv1927.CodecDecodeSelf(d) } } } } else { - yyj1898 := 0 - for ; !r.CheckBreak(); yyj1898++ { + yyj1925 := 0 + for ; !r.CheckBreak(); yyj1925++ { - if yyj1898 >= len(yyv1898) { - yyv1898 = append(yyv1898, NetworkPolicyPeer{}) // var yyz1898 NetworkPolicyPeer - yyc1898 = true + if yyj1925 >= len(yyv1925) { + yyv1925 = append(yyv1925, NetworkPolicyPeer{}) // var yyz1925 NetworkPolicyPeer + yyc1925 = true } - yyh1898.ElemContainerState(yyj1898) - if yyj1898 < len(yyv1898) { + yyh1925.ElemContainerState(yyj1925) + if yyj1925 < len(yyv1925) { if r.TryDecodeAsNil() { - yyv1898[yyj1898] = NetworkPolicyPeer{} + yyv1925[yyj1925] = NetworkPolicyPeer{} } else { - yyv1901 := &yyv1898[yyj1898] - yyv1901.CodecDecodeSelf(d) + yyv1928 := &yyv1925[yyj1925] + yyv1928.CodecDecodeSelf(d) } } else { @@ -23806,17 +24121,17 @@ func (x codecSelfer1234) decSliceNetworkPolicyPeer(v *[]NetworkPolicyPeer, d *co } } - if yyj1898 < len(yyv1898) { - yyv1898 = yyv1898[:yyj1898] - yyc1898 = true - } else if yyj1898 == 0 && yyv1898 == nil { - yyv1898 = []NetworkPolicyPeer{} - yyc1898 = true + if yyj1925 < len(yyv1925) { + yyv1925 = yyv1925[:yyj1925] + yyc1925 = true + } else if yyj1925 == 0 && yyv1925 == nil { + yyv1925 = []NetworkPolicyPeer{} + yyc1925 = true } } - yyh1898.End() - if yyc1898 { - *v = yyv1898 + yyh1925.End() + if yyc1925 { + *v = yyv1925 } } @@ -23825,10 +24140,10 @@ func (x codecSelfer1234) encSliceNetworkPolicy(v []NetworkPolicy, e *codec1978.E z, r := codec1978.GenHelperEncoder(e) _, _, _ = h, z, r r.EncodeArrayStart(len(v)) - for _, yyv1902 := range v { + for _, yyv1929 := range v { z.EncSendContainerState(codecSelfer_containerArrayElem1234) - yy1903 := &yyv1902 - yy1903.CodecEncodeSelf(e) + yy1930 := &yyv1929 + yy1930.CodecEncodeSelf(e) } z.EncSendContainerState(codecSelfer_containerArrayEnd1234) } @@ -23838,83 +24153,83 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. z, r := codec1978.GenHelperDecoder(d) _, _, _ = h, z, r - yyv1904 := *v - yyh1904, yyl1904 := z.DecSliceHelperStart() - var yyc1904 bool - if yyl1904 == 0 { - if yyv1904 == nil { - yyv1904 = []NetworkPolicy{} - yyc1904 = true - } else if len(yyv1904) != 0 { - yyv1904 = yyv1904[:0] - yyc1904 = true + yyv1931 := *v + yyh1931, yyl1931 := z.DecSliceHelperStart() + var yyc1931 bool + if yyl1931 == 0 { + if yyv1931 == nil { + yyv1931 = []NetworkPolicy{} + yyc1931 = true + } else if len(yyv1931) != 0 { + yyv1931 = yyv1931[:0] + yyc1931 = true } - } else if yyl1904 > 0 { - var yyrr1904, yyrl1904 int - var yyrt1904 bool - if yyl1904 > cap(yyv1904) { + } else if yyl1931 > 0 { + var yyrr1931, yyrl1931 int + var yyrt1931 bool + if yyl1931 > cap(yyv1931) { - yyrg1904 := len(yyv1904) > 0 - yyv21904 := yyv1904 - yyrl1904, yyrt1904 = z.DecInferLen(yyl1904, z.DecBasicHandle().MaxInitLen, 312) - if yyrt1904 { - if yyrl1904 <= cap(yyv1904) { - yyv1904 = yyv1904[:yyrl1904] + yyrg1931 := len(yyv1931) > 0 + yyv21931 := yyv1931 + yyrl1931, yyrt1931 = z.DecInferLen(yyl1931, z.DecBasicHandle().MaxInitLen, 312) + if yyrt1931 { + if yyrl1931 <= cap(yyv1931) { + yyv1931 = yyv1931[:yyrl1931] } else { - yyv1904 = make([]NetworkPolicy, yyrl1904) + yyv1931 = make([]NetworkPolicy, yyrl1931) } } else { - yyv1904 = make([]NetworkPolicy, yyrl1904) + yyv1931 = make([]NetworkPolicy, yyrl1931) } - yyc1904 = true - yyrr1904 = len(yyv1904) - if yyrg1904 { - copy(yyv1904, yyv21904) + yyc1931 = true + yyrr1931 = len(yyv1931) + if yyrg1931 { + copy(yyv1931, yyv21931) } - } else if yyl1904 != len(yyv1904) { - yyv1904 = yyv1904[:yyl1904] - yyc1904 = true + } else if yyl1931 != len(yyv1931) { + yyv1931 = yyv1931[:yyl1931] + yyc1931 = true } - yyj1904 := 0 - for ; yyj1904 < yyrr1904; yyj1904++ { - yyh1904.ElemContainerState(yyj1904) + yyj1931 := 0 + for ; yyj1931 < yyrr1931; yyj1931++ { + yyh1931.ElemContainerState(yyj1931) if r.TryDecodeAsNil() { - yyv1904[yyj1904] = NetworkPolicy{} + yyv1931[yyj1931] = NetworkPolicy{} } else { - yyv1905 := &yyv1904[yyj1904] - yyv1905.CodecDecodeSelf(d) + yyv1932 := &yyv1931[yyj1931] + yyv1932.CodecDecodeSelf(d) } } - if yyrt1904 { - for ; yyj1904 < yyl1904; yyj1904++ { - yyv1904 = append(yyv1904, NetworkPolicy{}) - yyh1904.ElemContainerState(yyj1904) + if yyrt1931 { + for ; yyj1931 < yyl1931; yyj1931++ { + yyv1931 = append(yyv1931, NetworkPolicy{}) + yyh1931.ElemContainerState(yyj1931) if r.TryDecodeAsNil() { - yyv1904[yyj1904] = NetworkPolicy{} + yyv1931[yyj1931] = NetworkPolicy{} } else { - yyv1906 := &yyv1904[yyj1904] - yyv1906.CodecDecodeSelf(d) + yyv1933 := &yyv1931[yyj1931] + yyv1933.CodecDecodeSelf(d) } } } } else { - yyj1904 := 0 - for ; !r.CheckBreak(); yyj1904++ { + yyj1931 := 0 + for ; !r.CheckBreak(); yyj1931++ { - if yyj1904 >= len(yyv1904) { - yyv1904 = append(yyv1904, NetworkPolicy{}) // var yyz1904 NetworkPolicy - yyc1904 = true + if yyj1931 >= len(yyv1931) { + yyv1931 = append(yyv1931, NetworkPolicy{}) // var yyz1931 NetworkPolicy + yyc1931 = true } - yyh1904.ElemContainerState(yyj1904) - if yyj1904 < len(yyv1904) { + yyh1931.ElemContainerState(yyj1931) + if yyj1931 < len(yyv1931) { if r.TryDecodeAsNil() { - yyv1904[yyj1904] = NetworkPolicy{} + yyv1931[yyj1931] = NetworkPolicy{} } else { - yyv1907 := &yyv1904[yyj1904] - yyv1907.CodecDecodeSelf(d) + yyv1934 := &yyv1931[yyj1931] + yyv1934.CodecDecodeSelf(d) } } else { @@ -23922,16 +24237,16 @@ func (x codecSelfer1234) decSliceNetworkPolicy(v *[]NetworkPolicy, d *codec1978. } } - if yyj1904 < len(yyv1904) { - yyv1904 = yyv1904[:yyj1904] - yyc1904 = true - } else if yyj1904 == 0 && yyv1904 == nil { - yyv1904 = []NetworkPolicy{} - yyc1904 = true + if yyj1931 < len(yyv1931) { + yyv1931 = yyv1931[:yyj1931] + yyc1931 = true + } else if yyj1931 == 0 && yyv1931 == nil { + yyv1931 = []NetworkPolicy{} + yyc1931 = true } } - yyh1904.End() - if yyc1904 { - *v = yyv1904 + yyh1931.End() + if yyc1931 { + *v = yyv1931 } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.go index 1b916ecaff6..8c4462eec6c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/util/intstr" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/util/intstr" ) // describes the attributes of a scale subresource @@ -34,7 +34,7 @@ type ScaleStatus struct { // actual number of observed instances of the scaled object. Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"` - // label query over pods that should match the replicas count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors 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 @@ -42,7 +42,7 @@ type ScaleStatus struct { // avoid introspection in the clients. The string will be in the same format as the // 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors TargetSelector string `json:"targetSelector,omitempty" protobuf:"bytes,3,opt,name=targetSelector"` } @@ -71,7 +71,7 @@ type ReplicationControllerDummy struct { type SubresourceReference struct { // Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds Kind string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"` - // Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names + // Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"` // API version of the referent APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,3,opt,name=apiVersion"` @@ -410,14 +410,14 @@ type DaemonSetSpec struct { // Selector is a label query over pods that are managed by the daemon set. // Must match in order to be controlled. // If empty, defaulted to labels on Pod template. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *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 // that matches the template's node selector (or on every node if no node // selector is specified). - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,2,opt,name=template"` // TODO(madhusudancs): Uncomment while implementing DaemonSet updates. @@ -459,6 +459,10 @@ type DaemonSetStatus struct { // pod (including nodes correctly running the daemon pod). // More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md DesiredNumberScheduled int32 `json:"desiredNumberScheduled" protobuf:"varint,3,opt,name=desiredNumberScheduled"` + + // NumberReady is the number of nodes that should be running the daemon pod and have one + // or more of the daemon pod running and ready. + NumberReady int32 `json:"numberReady" protobuf:"varint,4,opt,name=numberReady"` } // +genclient=true @@ -540,7 +544,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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs Parallelism *int32 `json:"parallelism,omitempty" protobuf:"varint,1,opt,name=parallelism"` // Completions specifies the desired number of successfully finished pods the @@ -548,7 +552,7 @@ 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. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs 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 @@ -557,7 +561,7 @@ type JobSpec struct { // Selector is a label query over pods that should match the pod count. // Normally, the system sets this field for you. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *LabelSelector `json:"selector,omitempty" protobuf:"bytes,4,opt,name=selector"` // AutoSelector controls generation of pod labels and pod selectors. @@ -569,7 +573,7 @@ type JobSpec struct { // Template is the object that describes the pod that will be created when // executing a job. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs Template v1.PodTemplateSpec `json:"template" protobuf:"bytes,6,opt,name=template"` } @@ -577,7 +581,7 @@ type JobSpec struct { type JobStatus struct { // Conditions represent the latest available observations of an object's current state. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md + // More info: http://kubernetes.io/docs/user-guide/jobs 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. @@ -787,26 +791,6 @@ type ExportOptions struct { Exact bool `json:"exact" protobuf:"varint,2,opt,name=exact"` } -// ListOptions is the query options to a standard REST list call. -type ListOptions struct { - unversioned.TypeMeta `json:",inline"` - - // A selector to restrict the list of returned objects by their labels. - // Defaults to everything. - 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. - 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. - 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. - ResourceVersion string `json:"resourceVersion,omitempty" protobuf:"bytes,4,opt,name=resourceVersion"` - // Timeout for the list/watch call. - TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty" protobuf:"varint,5,opt,name=timeoutSeconds"` -} - // 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. @@ -875,7 +859,7 @@ type ReplicaSetList struct { unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of ReplicaSets. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md + // More info: http://kubernetes.io/docs/user-guide/replication-controller Items []ReplicaSet `json:"items" protobuf:"bytes,2,rep,name=items"` } @@ -884,25 +868,30 @@ type ReplicaSetSpec struct { // Replicas is the number of desired replicas. // This is a pointer to distinguish between explicit zero and unspecified. // Defaults to 1. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller 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) + 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors + // More info: http://kubernetes.io/docs/user-guide/labels#label-selectors Selector *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://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template + // More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template Template v1.PodTemplateSpec `json:"template,omitempty" protobuf:"bytes,3,opt,name=template"` } // ReplicaSetStatus represents the current status of a ReplicaSet. type ReplicaSetStatus struct { // Replicas is the most recently oberved number of replicas. - // More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller + // More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller 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. @@ -911,8 +900,40 @@ type ReplicaSetStatus struct { // The number of ready replicas for this replica set. 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. + AvailableReplicas int32 `json:"availableReplicas,omitempty" protobuf:"varint,5,opt,name=availableReplicas"` + // ObservedGeneration reflects the generation of the most recently observed ReplicaSet. ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` + + // Represents the latest available observations of a replica set's current state. + Conditions []ReplicaSetCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type"` +} + +type ReplicaSetConditionType string + +// These are valid conditions of a replica set. +const ( + // ReplicaSetReplicaFailure is added in a replica set when one of its pods fails to be created + // due to insufficient quota, limit ranges, pod security policy, node selectors, etc. or deleted + // due to kubelet being down or finalizers are failing. + ReplicaSetReplicaFailure ReplicaSetConditionType = "ReplicaFailure" +) + +// ReplicaSetCondition describes the state of a replica set at a certain point. +type ReplicaSetCondition struct { + // Type of replica set condition. + 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. + 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"` } // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go index 4b1e22ba575..d0d1d86d737 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/types_swagger_doc_generated.go @@ -86,8 +86,8 @@ func (DaemonSetList) SwaggerDoc() map[string]string { var map_DaemonSetSpec = map[string]string{ "": "DaemonSetSpec is the specification of a daemon set.", - "selector": "Selector is a label query over pods that are managed by the daemon set. Must match in order to be controlled. If empty, defaulted to labels on Pod template. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", - "template": "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 that matches the template's node selector (or on every node if no node selector is specified). More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template", + "selector": "Selector is a label query over pods that are managed by the daemon set. 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", + "template": "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 that matches the template's node selector (or on every node if no node selector is specified). More info: http://kubernetes.io/docs/user-guide/replication-controller#pod-template", } func (DaemonSetSpec) SwaggerDoc() map[string]string { @@ -99,6 +99,7 @@ var map_DaemonSetStatus = map[string]string{ "currentNumberScheduled": "CurrentNumberScheduled is the number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", "numberMisscheduled": "NumberMisscheduled is the number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", "desiredNumberScheduled": "DesiredNumberScheduled is the total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: http://releases.k8s.io/HEAD/docs/admin/daemons.md", + "numberReady": "NumberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.", } func (DaemonSetStatus) SwaggerDoc() map[string]string { @@ -396,12 +397,12 @@ func (JobList) SwaggerDoc() map[string]string { var map_JobSpec = map[string]string{ "": "JobSpec describes how the job execution will look like.", - "parallelism": "Parallelism specifies the maximum desired number of pods the job should 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. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", - "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any 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. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "parallelism": "Parallelism specifies the maximum desired number of pods the job should 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. More info: http://kubernetes.io/docs/user-guide/jobs", + "completions": "Completions specifies the desired number of successfully finished pods the job should be run with. Setting to nil means that the success of any 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. More info: http://kubernetes.io/docs/user-guide/jobs", "activeDeadlineSeconds": "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", - "selector": "Selector is a label query over pods that should match the pod count. Normally, the system sets this field for you. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "selector": "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", "autoSelector": "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", - "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "template": "Template is the object that describes the pod that will be created when executing a job. More info: http://kubernetes.io/docs/user-guide/jobs", } func (JobSpec) SwaggerDoc() map[string]string { @@ -410,7 +411,7 @@ func (JobSpec) SwaggerDoc() map[string]string { var map_JobStatus = map[string]string{ "": "JobStatus represents the current state of a Job.", - "conditions": "Conditions represent the latest available observations of an object's current state. More info: http://releases.k8s.io/HEAD/docs/user-guide/jobs.md", + "conditions": "Conditions represent the latest available observations of an object's current state. More info: http://kubernetes.io/docs/user-guide/jobs", "startTime": "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.", "completionTime": "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.", "active": "Active is the number of actively running pods.", @@ -443,19 +444,6 @@ func (LabelSelectorRequirement) SwaggerDoc() map[string]string { return map_LabelSelectorRequirement } -var map_ListOptions = map[string]string{ - "": "ListOptions is the query options to a standard REST list call.", - "labelSelector": "A selector to restrict the list of returned objects by their labels. Defaults to everything.", - "fieldSelector": "A selector to restrict the list of returned objects by their fields. Defaults to everything.", - "watch": "Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion.", - "resourceVersion": "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.", - "timeoutSeconds": "Timeout for the list/watch call.", -} - -func (ListOptions) SwaggerDoc() map[string]string { - return map_ListOptions -} - 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.", @@ -565,10 +553,24 @@ func (ReplicaSet) SwaggerDoc() map[string]string { return map_ReplicaSet } +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.", +} + +func (ReplicaSetCondition) SwaggerDoc() map[string]string { + return map_ReplicaSetCondition +} + var map_ReplicaSetList = map[string]string{ "": "ReplicaSetList is a collection of ReplicaSets.", "metadata": "Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "items": "List of ReplicaSets. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md", + "items": "List of ReplicaSets. More info: http://kubernetes.io/docs/user-guide/replication-controller", } func (ReplicaSetList) SwaggerDoc() map[string]string { @@ -576,10 +578,11 @@ func (ReplicaSetList) SwaggerDoc() map[string]string { } var map_ReplicaSetSpec = map[string]string{ - "": "ReplicaSetSpec is the specification of a ReplicaSet.", - "replicas": "Replicas is the number of desired replicas. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller", - "selector": "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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", - "template": "Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#pod-template", + "": "ReplicaSetSpec is the specification of a ReplicaSet.", + "replicas": "Replicas is the number of desired replicas. 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", + "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)", + "selector": "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", + "template": "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", } func (ReplicaSetSpec) SwaggerDoc() map[string]string { @@ -588,10 +591,12 @@ func (ReplicaSetSpec) SwaggerDoc() map[string]string { var map_ReplicaSetStatus = map[string]string{ "": "ReplicaSetStatus represents the current status of a ReplicaSet.", - "replicas": "Replicas is the most recently oberved number of replicas. More info: http://releases.k8s.io/HEAD/docs/user-guide/replication-controller.md#what-is-a-replication-controller", + "replicas": "Replicas is the most recently oberved number of replicas. More info: http://kubernetes.io/docs/user-guide/replication-controller#what-is-a-replication-controller", "fullyLabeledReplicas": "The number of pods that have labels matching the labels of the pod template of the replicaset.", "readyReplicas": "The number of ready replicas for this replica set.", + "availableReplicas": "The number of available replicas (ready for at least minReadySeconds) for this replica set.", "observedGeneration": "ObservedGeneration reflects the generation of the most recently observed ReplicaSet.", + "conditions": "Represents the latest available observations of a replica set's current state.", } func (ReplicaSetStatus) SwaggerDoc() map[string]string { @@ -667,8 +672,8 @@ func (ScaleSpec) SwaggerDoc() map[string]string { var map_ScaleStatus = map[string]string{ "": "represents the current status of a scale subresource.", "replicas": "actual number of observed instances of the scaled object.", - "selector": "label query over pods that should match the replicas count. More info: http://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", - "targetSelector": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the 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://releases.k8s.io/HEAD/docs/user-guide/labels.md#label-selectors", + "selector": "label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors", + "targetSelector": "label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the 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", } func (ScaleStatus) SwaggerDoc() map[string]string { @@ -678,7 +683,7 @@ func (ScaleStatus) SwaggerDoc() map[string]string { var map_SubresourceReference = map[string]string{ "": "SubresourceReference contains enough information to let you inspect or modify the referred subresource.", "kind": "Kind of the referent; More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds", - "name": "Name of the referent; More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names", + "name": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", "apiVersion": "API version of the referent", "subresource": "Subresource name of the referent", } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.conversion.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.conversion.go index 6c76c93cdfb..9f728b4570d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.conversion.go @@ -21,14 +21,14 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - autoscaling "k8s.io/client-go/1.5/pkg/apis/autoscaling" - batch "k8s.io/client-go/1.5/pkg/apis/batch" - extensions "k8s.io/client-go/1.5/pkg/apis/extensions" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" + extensions "k8s.io/client-go/pkg/apis/extensions" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" ) func init() { @@ -119,8 +119,6 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_unversioned_LabelSelector_To_v1beta1_LabelSelector, Convert_v1beta1_LabelSelectorRequirement_To_unversioned_LabelSelectorRequirement, Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement, - Convert_v1beta1_ListOptions_To_api_ListOptions, - Convert_api_ListOptions_To_v1beta1_ListOptions, Convert_v1beta1_NetworkPolicy_To_extensions_NetworkPolicy, Convert_extensions_NetworkPolicy_To_v1beta1_NetworkPolicy, Convert_v1beta1_NetworkPolicyIngressRule_To_extensions_NetworkPolicyIngressRule, @@ -141,6 +139,8 @@ func RegisterConversions(scheme *runtime.Scheme) error { Convert_extensions_PodSecurityPolicySpec_To_v1beta1_PodSecurityPolicySpec, Convert_v1beta1_ReplicaSet_To_extensions_ReplicaSet, Convert_extensions_ReplicaSet_To_v1beta1_ReplicaSet, + Convert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition, + Convert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition, Convert_v1beta1_ReplicaSetList_To_extensions_ReplicaSetList, Convert_extensions_ReplicaSetList_To_v1beta1_ReplicaSetList, Convert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec, @@ -455,6 +455,7 @@ func autoConvert_v1beta1_DaemonSetStatus_To_extensions_DaemonSetStatus(in *Daemo out.CurrentNumberScheduled = in.CurrentNumberScheduled out.NumberMisscheduled = in.NumberMisscheduled out.DesiredNumberScheduled = in.DesiredNumberScheduled + out.NumberReady = in.NumberReady return nil } @@ -466,6 +467,7 @@ func autoConvert_extensions_DaemonSetStatus_To_v1beta1_DaemonSetStatus(in *exten out.CurrentNumberScheduled = in.CurrentNumberScheduled out.NumberMisscheduled = in.NumberMisscheduled out.DesiredNumberScheduled = in.DesiredNumberScheduled + out.NumberReady = in.NumberReady return nil } @@ -1598,46 +1600,6 @@ func Convert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequir return autoConvert_unversioned_LabelSelectorRequirement_To_v1beta1_LabelSelectorRequirement(in, out, s) } -func autoConvert_v1beta1_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 - } - if err := api.Convert_string_To_fields_Selector(&in.FieldSelector, &out.FieldSelector, s); err != nil { - return err - } - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion - out.TimeoutSeconds = in.TimeoutSeconds - return nil -} - -func Convert_v1beta1_ListOptions_To_api_ListOptions(in *ListOptions, out *api.ListOptions, s conversion.Scope) error { - return autoConvert_v1beta1_ListOptions_To_api_ListOptions(in, out, s) -} - -func autoConvert_api_ListOptions_To_v1beta1_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 - } - if err := api.Convert_fields_Selector_To_string(&in.FieldSelector, &out.FieldSelector, s); err != nil { - return err - } - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion - out.TimeoutSeconds = in.TimeoutSeconds - return nil -} - -func Convert_api_ListOptions_To_v1beta1_ListOptions(in *api.ListOptions, out *ListOptions, s conversion.Scope) error { - return autoConvert_api_ListOptions_To_v1beta1_ListOptions(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 { @@ -2186,6 +2148,42 @@ func Convert_extensions_ReplicaSet_To_v1beta1_ReplicaSet(in *extensions.ReplicaS return autoConvert_extensions_ReplicaSet_To_v1beta1_ReplicaSet(in, out, s) } +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.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition(in *ReplicaSetCondition, out *extensions.ReplicaSetCondition, s conversion.Scope) error { + return autoConvert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition(in, out, s) +} + +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.Reason = in.Reason + out.Message = in.Message + return nil +} + +func Convert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition(in *extensions.ReplicaSetCondition, out *ReplicaSetCondition, s conversion.Scope) error { + return autoConvert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition(in, out, s) +} + 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 @@ -2240,6 +2238,7 @@ func autoConvert_v1beta1_ReplicaSetSpec_To_extensions_ReplicaSetSpec(in *Replica if err := api.Convert_Pointer_int32_To_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } + out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(unversioned.LabelSelector) @@ -2259,6 +2258,7 @@ func autoConvert_extensions_ReplicaSetSpec_To_v1beta1_ReplicaSetSpec(in *extensi if err := api.Convert_int32_To_Pointer_int32(&in.Replicas, &out.Replicas, s); err != nil { return err } + out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(LabelSelector) @@ -2278,7 +2278,19 @@ func autoConvert_v1beta1_ReplicaSetStatus_To_extensions_ReplicaSetStatus(in *Rep out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]extensions.ReplicaSetCondition, len(*in)) + for i := range *in { + if err := Convert_v1beta1_ReplicaSetCondition_To_extensions_ReplicaSetCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } @@ -2290,7 +2302,19 @@ func autoConvert_extensions_ReplicaSetStatus_To_v1beta1_ReplicaSetStatus(in *ext out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]ReplicaSetCondition, len(*in)) + for i := range *in { + if err := Convert_extensions_ReplicaSetCondition_To_v1beta1_ReplicaSetCondition(&(*in)[i], &(*out)[i], s); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go index 614d0d6c1d5..88cba778635 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/v1beta1/zz_generated.deepcopy.go @@ -21,11 +21,11 @@ limitations under the License. package v1beta1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" - intstr "k8s.io/client-go/1.5/pkg/util/intstr" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" + intstr "k8s.io/client-go/pkg/util/intstr" reflect "reflect" ) @@ -78,7 +78,6 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { 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_ListOptions, InType: reflect.TypeOf(&ListOptions{})}, 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{})}, @@ -89,6 +88,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicyList, InType: reflect.TypeOf(&PodSecurityPolicyList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_PodSecurityPolicySpec, InType: reflect.TypeOf(&PodSecurityPolicySpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSet, InType: reflect.TypeOf(&ReplicaSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetCondition, InType: reflect.TypeOf(&ReplicaSetCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetList, InType: reflect.TypeOf(&ReplicaSetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetSpec, InType: reflect.TypeOf(&ReplicaSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_v1beta1_ReplicaSetStatus, InType: reflect.TypeOf(&ReplicaSetStatus{})}, @@ -249,6 +249,7 @@ func DeepCopy_v1beta1_DaemonSetStatus(in interface{}, out interface{}, c *conver out.CurrentNumberScheduled = in.CurrentNumberScheduled out.NumberMisscheduled = in.NumberMisscheduled out.DesiredNumberScheduled = in.DesiredNumberScheduled + out.NumberReady = in.NumberReady return nil } } @@ -881,26 +882,6 @@ func DeepCopy_v1beta1_LabelSelectorRequirement(in interface{}, out interface{}, } } -func DeepCopy_v1beta1_ListOptions(in interface{}, out interface{}, c *conversion.Cloner) error { - { - in := in.(*ListOptions) - out := out.(*ListOptions) - out.TypeMeta = in.TypeMeta - out.LabelSelector = in.LabelSelector - out.FieldSelector = in.FieldSelector - out.Watch = in.Watch - out.ResourceVersion = in.ResourceVersion - if in.TimeoutSeconds != nil { - in, out := &in.TimeoutSeconds, &out.TimeoutSeconds - *out = new(int64) - **out = **in - } else { - out.TimeoutSeconds = nil - } - return nil - } -} - func DeepCopy_v1beta1_NetworkPolicy(in interface{}, out interface{}, c *conversion.Cloner) error { { in := in.(*NetworkPolicy) @@ -1154,7 +1135,23 @@ func DeepCopy_v1beta1_ReplicaSet(in interface{}, out interface{}, c *conversion. if err := DeepCopy_v1beta1_ReplicaSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_v1beta1_ReplicaSetStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_v1beta1_ReplicaSetCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*ReplicaSetCondition) + 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 return nil } } @@ -1191,6 +1188,7 @@ func DeepCopy_v1beta1_ReplicaSetSpec(in interface{}, out interface{}, c *convers } else { out.Replicas = nil } + out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(LabelSelector) @@ -1214,7 +1212,19 @@ func DeepCopy_v1beta1_ReplicaSetStatus(in interface{}, out interface{}, c *conve out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]ReplicaSetCondition, len(*in)) + for i := range *in { + if err := DeepCopy_v1beta1_ReplicaSetCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/extensions/zz_generated.deepcopy.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/extensions/zz_generated.deepcopy.go index 4f5b015afc0..19383cb724b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/extensions/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/extensions/zz_generated.deepcopy.go @@ -21,11 +21,11 @@ limitations under the License. package extensions import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" - intstr "k8s.io/client-go/1.5/pkg/util/intstr" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" + intstr "k8s.io/client-go/pkg/util/intstr" reflect "reflect" ) @@ -75,6 +75,7 @@ func RegisterDeepCopies(scheme *runtime.Scheme) error { conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicyList, InType: reflect.TypeOf(&PodSecurityPolicyList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_PodSecurityPolicySpec, InType: reflect.TypeOf(&PodSecurityPolicySpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSet, InType: reflect.TypeOf(&ReplicaSet{})}, + conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetCondition, InType: reflect.TypeOf(&ReplicaSetCondition{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetList, InType: reflect.TypeOf(&ReplicaSetList{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetSpec, InType: reflect.TypeOf(&ReplicaSetSpec{})}, conversion.GeneratedDeepCopyFunc{Fn: DeepCopy_extensions_ReplicaSetStatus, InType: reflect.TypeOf(&ReplicaSetStatus{})}, @@ -225,6 +226,7 @@ func DeepCopy_extensions_DaemonSetStatus(in interface{}, out interface{}, c *con out.CurrentNumberScheduled = in.CurrentNumberScheduled out.NumberMisscheduled = in.NumberMisscheduled out.DesiredNumberScheduled = in.DesiredNumberScheduled + out.NumberReady = in.NumberReady return nil } } @@ -815,7 +817,23 @@ func DeepCopy_extensions_ReplicaSet(in interface{}, out interface{}, c *conversi if err := DeepCopy_extensions_ReplicaSetSpec(&in.Spec, &out.Spec, c); err != nil { return err } + if err := DeepCopy_extensions_ReplicaSetStatus(&in.Status, &out.Status, c); err != nil { + return err + } + return nil + } +} + +func DeepCopy_extensions_ReplicaSetCondition(in interface{}, out interface{}, c *conversion.Cloner) error { + { + in := in.(*ReplicaSetCondition) + 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 return nil } } @@ -846,6 +864,7 @@ func DeepCopy_extensions_ReplicaSetSpec(in interface{}, out interface{}, c *conv in := in.(*ReplicaSetSpec) out := out.(*ReplicaSetSpec) out.Replicas = in.Replicas + out.MinReadySeconds = in.MinReadySeconds if in.Selector != nil { in, out := &in.Selector, &out.Selector *out = new(unversioned.LabelSelector) @@ -869,7 +888,19 @@ func DeepCopy_extensions_ReplicaSetStatus(in interface{}, out interface{}, c *co out.Replicas = in.Replicas out.FullyLabeledReplicas = in.FullyLabeledReplicas out.ReadyReplicas = in.ReadyReplicas + out.AvailableReplicas = in.AvailableReplicas out.ObservedGeneration = in.ObservedGeneration + if in.Conditions != nil { + in, out := &in.Conditions, &out.Conditions + *out = make([]ReplicaSetCondition, len(*in)) + for i := range *in { + if err := DeepCopy_extensions_ReplicaSetCondition(&(*in)[i], &(*out)[i], c); err != nil { + return err + } + } + } else { + out.Conditions = nil + } return nil } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/doc.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/install/install.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/install/install.go index 87fd9974b59..113b24af48d 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/imagepolicy" - "k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/imagepolicy" + "k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: imagepolicy.GroupName, VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/imagepolicy", + ImportPrefix: "k8s.io/client-go/pkg/apis/imagepolicy", RootScopedKinds: sets.NewString("ImageReview"), AddInternalObjectsToScheme: imagepolicy.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/register.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/register.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/register.go index bdf591a08f1..fb55f7dc3e7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/register.go @@ -17,9 +17,9 @@ limitations under the License. package imagepolicy import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/types.generated.go index e07028160bc..382e8acb897 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_api "k8s.io/client-go/pkg/api" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/types.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/types.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/types.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/types.go index 793d20b3fe2..d0fa6d2dc68 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/types.go @@ -17,8 +17,8 @@ limitations under the License. package imagepolicy import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/generated.pb.go index 9acc041f7d0..1e3b2d15a09 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/generated.pb.go @@ -70,10 +70,10 @@ func (*ImageReviewStatus) ProtoMessage() {} func (*ImageReviewStatus) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{3} } func init() { - proto.RegisterType((*ImageReview)(nil), "k8s.io.client-go.1.5.pkg.apis.imagepolicy.v1alpha1.ImageReview") - proto.RegisterType((*ImageReviewContainerSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.imagepolicy.v1alpha1.ImageReviewContainerSpec") - proto.RegisterType((*ImageReviewSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.imagepolicy.v1alpha1.ImageReviewSpec") - proto.RegisterType((*ImageReviewStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.imagepolicy.v1alpha1.ImageReviewStatus") + proto.RegisterType((*ImageReview)(nil), "k8s.io.client-go.pkg.apis.imagepolicy.v1alpha1.ImageReview") + proto.RegisterType((*ImageReviewContainerSpec)(nil), "k8s.io.client-go.pkg.apis.imagepolicy.v1alpha1.ImageReviewContainerSpec") + proto.RegisterType((*ImageReviewSpec)(nil), "k8s.io.client-go.pkg.apis.imagepolicy.v1alpha1.ImageReviewSpec") + proto.RegisterType((*ImageReviewStatus)(nil), "k8s.io.client-go.pkg.apis.imagepolicy.v1alpha1.ImageReviewStatus") } func (m *ImageReview) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/generated.proto similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/generated.proto index a0797d57621..f82d90b110b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.imagepolicy.v1alpha1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1alpha1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/register.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/register.go index 9b76a410919..35d793281c7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/register.go @@ -17,9 +17,9 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name for this API. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types.generated.go index dbdd6e9b2db..8bb3ba09baf 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types.go index afd5f6ecf88..d62a73de365 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go index 15dc52fb74d..3c36d7f42da 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - imagepolicy "k8s.io/client-go/1.5/pkg/apis/imagepolicy" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go index b7724df28f7..ba5c19d2aeb 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/v1alpha1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/imagepolicy/zz_generated.deepcopy.go index 64cc7313d38..abe64ed78ad 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/imagepolicy/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/imagepolicy/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package imagepolicy import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/defaults.go new file mode 100644 index 00000000000..87aa038cd95 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/defaults.go @@ -0,0 +1,25 @@ +/* +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 kubeadm + +const ( + DefaultServiceDNSDomain = "cluster.local" + DefaultServicesSubnet = "10.12.0.0/12" + DefaultKubernetesVersion = "v1.4.1" + DefaultAPIBindPort = 6443 + DefaultDiscoveryBindPort = 9898 +) diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/doc.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/doc.go new file mode 100644 index 00000000000..973b2e8c7b0 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/doc.go @@ -0,0 +1,18 @@ +/* +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. +*/ + +// +groupName=kubeadm.k8s.io +package kubeadm diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/env.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/env.go new file mode 100644 index 00000000000..d3df5b7d01a --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/env.go @@ -0,0 +1,49 @@ +/* +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 kubeadm + +import ( + "fmt" + "os" + "runtime" + "strings" +) + +// TODO(phase2) use componentconfig +// we need some params for testing etc, let's keep these hidden for now +func GetEnvParams() map[string]string { + + envParams := map[string]string{ + // TODO(phase1+): Mode prefix and host_pki_path to another place as constants, and use them everywhere + // Right now they're used here and there, but not consequently + "kubernetes_dir": "/etc/kubernetes", + "host_pki_path": "/etc/kubernetes/pki", + "host_etcd_path": "/var/lib/etcd", + "hyperkube_image": "", + "discovery_image": fmt.Sprintf("gcr.io/google_containers/kube-discovery-%s:%s", runtime.GOARCH, "1.0"), + "etcd_image": "", + "component_loglevel": "--v=4", + } + + for k := range envParams { + if v := os.Getenv(fmt.Sprintf("KUBE_%s", strings.ToUpper(k))); v != "" { + envParams[k] = v + } + } + + return envParams +} diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/doc.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/doc.go new file mode 100644 index 00000000000..0ca2c59db77 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/doc.go @@ -0,0 +1,17 @@ +/* +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 install diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/install.go new file mode 100644 index 00000000000..88ff7b7f3bc --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/install/install.go @@ -0,0 +1,39 @@ +/* +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 install + +import ( + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/kubeadm" + "k8s.io/client-go/pkg/apis/kubeadm/v1alpha1" +) + +func init() { + if err := announced.NewGroupMetaFactory( + &announced.GroupMetaFactoryArgs{ + GroupName: kubeadm.GroupName, + VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, + ImportPrefix: "k8s.io/client-go/pkg/apis/kubeadm", + AddInternalObjectsToScheme: kubeadm.AddToScheme, + }, + announced.VersionToSchemeFunc{ + v1alpha1.SchemeGroupVersion.Version: v1alpha1.AddToScheme, + }, + ).Announce().RegisterAndEnable(); err != nil { + panic(err) + } +} diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/register.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/register.go new file mode 100644 index 00000000000..40c6d127d44 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/register.go @@ -0,0 +1,59 @@ +/* +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 kubeadm + +import ( + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" +) + +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +// GroupName is the group name use in this package +const GroupName = "kubeadm.k8s.io" + +// SchemeGroupVersion is group version used to register these objects +var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal} + +// Kind takes an unqualified kind and returns a Group qualified GroupKind +func Kind(kind string) unversioned.GroupKind { + return SchemeGroupVersion.WithKind(kind).GroupKind() +} + +// Resource takes an unqualified resource and returns a Group qualified GroupResource +func Resource(resource string) unversioned.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &MasterConfiguration{}, + &NodeConfiguration{}, + &ClusterInfo{}, + &api.ListOptions{}, + &api.DeleteOptions{}, + ) + return nil +} + +func (obj *MasterConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *NodeConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *ClusterInfo) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/types.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/types.go new file mode 100644 index 00000000000..185beffa04e --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/types.go @@ -0,0 +1,78 @@ +/* +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 kubeadm + +import "k8s.io/client-go/pkg/api/unversioned" + +type MasterConfiguration struct { + unversioned.TypeMeta + + Secrets Secrets + API API + Discovery Discovery + Etcd Etcd + Networking Networking + KubernetesVersion string + CloudProvider string +} + +type API struct { + AdvertiseAddresses []string + ExternalDNSNames []string + BindPort int32 +} + +type Discovery struct { + BindPort int32 +} + +type Networking struct { + ServiceSubnet string + PodSubnet string + DNSDomain string +} + +type Etcd struct { + Endpoints []string + CAFile string + CertFile string + KeyFile string +} + +type Secrets struct { + GivenToken string // dot-separated `.` set by the user + TokenID string // optional on master side, will be generated if not specified + Token []byte // optional on master side, will be generated if not specified + BearerToken string // set based on Token +} + +type NodeConfiguration struct { + unversioned.TypeMeta + + MasterAddresses []string + Secrets Secrets + APIPort int32 + DiscoveryPort int32 +} + +// ClusterInfo TODO add description +type ClusterInfo struct { + unversioned.TypeMeta + // TODO(phase1+) this may become simply `api.Config` + CertificateAuthorities []string `json:"certificateAuthorities"` + Endpoints []string `json:"endpoints"` +} diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/doc.go new file mode 100644 index 00000000000..7963bca2563 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/doc.go @@ -0,0 +1,18 @@ +/* +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. +*/ + +// +groupName=kubeadm.k8s.io +package v1alpha1 diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/register.go new file mode 100644 index 00000000000..fddce4338e3 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/register.go @@ -0,0 +1,59 @@ +/* +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 ( + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" +) + +var ( + SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) + AddToScheme = SchemeBuilder.AddToScheme +) + +// GroupName is the group name use in this package +const GroupName = "kubeadm.k8s.io" + +// SchemeGroupVersion is group version used to register these objects +var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1alpha1"} + +// Kind takes an unqualified kind and returns a Group qualified GroupKind +func Kind(kind string) unversioned.GroupKind { + return SchemeGroupVersion.WithKind(kind).GroupKind() +} + +// Resource takes an unqualified resource and returns a Group qualified GroupResource +func Resource(resource string) unversioned.GroupResource { + return SchemeGroupVersion.WithResource(resource).GroupResource() +} + +func addKnownTypes(scheme *runtime.Scheme) error { + scheme.AddKnownTypes(SchemeGroupVersion, + &MasterConfiguration{}, + &NodeConfiguration{}, + &ClusterInfo{}, + &v1.ListOptions{}, + &v1.DeleteOptions{}, + ) + return nil +} + +func (obj *MasterConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *NodeConfiguration) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } +func (obj *ClusterInfo) GetObjectKind() unversioned.ObjectKind { return &obj.TypeMeta } diff --git a/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/types.go new file mode 100644 index 00000000000..ecd8046559e --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/apis/kubeadm/v1alpha1/types.go @@ -0,0 +1,78 @@ +/* +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 "k8s.io/client-go/pkg/api/unversioned" + +type MasterConfiguration struct { + unversioned.TypeMeta `json:",inline"` + + Secrets Secrets `json:"secrets"` + API API `json:"api"` + Etcd Etcd `json:"etcd"` + Discovery Discovery `json:"discovery"` + Networking Networking `json:"networking"` + KubernetesVersion string `json:"kubernetesVersion"` + CloudProvider string `json:"cloudProvider"` +} + +type API struct { + AdvertiseAddresses []string `json:"advertiseAddresses"` + ExternalDNSNames []string `json:"externalDNSNames"` + BindPort int32 `json:"bindPort"` +} + +type Discovery struct { + BindPort int32 `json:"bindPort"` +} + +type Networking struct { + ServiceSubnet string `json:"serviceSubnet"` + PodSubnet string `json:"podSubnet"` + DNSDomain string `json:"dnsDomain"` +} + +type Etcd struct { + Endpoints []string `json:"endpoints"` + CAFile string `json:"caFile"` + CertFile string `json:"certFile"` + KeyFile string `json:"keyFile"` +} + +type Secrets struct { + GivenToken string `json:"givenToken"` // dot-separated `.` set by the user + TokenID string `json:"tokenID"` // optional on master side, will be generated if not specified + Token []byte `json:"token"` // optional on master side, will be generated if not specified + BearerToken string `json:"bearerToken"` // set based on Token +} + +type NodeConfiguration struct { + unversioned.TypeMeta `json:",inline"` + + MasterAddresses []string `json:"masterAddresses"` + Secrets Secrets `json:"secrets"` + APIPort int32 `json:"apiPort"` + DiscoveryPort int32 `json:"discoveryPort"` +} + +// ClusterInfo TODO add description +type ClusterInfo struct { + unversioned.TypeMeta `json:",inline"` + // TODO(phase1+) this may become simply `api.Config` + CertificateAuthorities []string `json:"certificateAuthorities"` + Endpoints []string `json:"endpoints"` +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/doc.go b/staging/src/k8s.io/client-go/pkg/apis/policy/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/policy/install/install.go similarity index 84% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/install/install.go index 26d374d4625..76ccfdb7f01 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/install/install.go @@ -19,9 +19,9 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/policy" - "k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/policy" + "k8s.io/client-go/pkg/apis/policy/v1alpha1" ) func init() { @@ -29,7 +29,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: policy.GroupName, VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/policy", + ImportPrefix: "k8s.io/client-go/pkg/apis/policy", AddInternalObjectsToScheme: policy.AddToScheme, }, announced.VersionToSchemeFunc{ diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/register.go b/staging/src/k8s.io/client-go/pkg/apis/policy/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/register.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/register.go index bb0f6c63e5b..af378cbd774 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/register.go @@ -17,9 +17,9 @@ limitations under the License. package policy import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/policy/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/types.generated.go index 9afa1aa7be9..c2a0757c169 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg3_api "k8s.io/client-go/1.5/pkg/api" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg4_types "k8s.io/client-go/1.5/pkg/types" - pkg1_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg3_api "k8s.io/client-go/pkg/api" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg4_types "k8s.io/client-go/pkg/types" + pkg1_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/types.go b/staging/src/k8s.io/client-go/pkg/apis/policy/types.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/types.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/types.go index c2d27243719..a95ca9c6457 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/types.go @@ -17,15 +17,17 @@ limitations under the License. package policy import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/util/intstr" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/util/intstr" ) // PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. type PodDisruptionBudgetSpec struct { - // The minimum number of pods that must be available simultaneously. This - // can be either an integer or a string specifying a percentage, e.g. "28%". + // An eviction is allowed if at least "minAvailable" pods selected by + // "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%". MinAvailable intstr.IntOrString `json:"minAvailable,omitempty"` // Label query over pods whose evictions are managed by the disruption diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/generated.pb.go index cc337cb9be2..ff5e0103434 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/generated.pb.go @@ -37,8 +37,8 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/1.5/pkg/api/v1" +import k8s_io_kubernetes_pkg_api_unversioned "k8s.io/client-go/pkg/api/unversioned" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" @@ -77,11 +77,11 @@ func (*PodDisruptionBudgetStatus) Descriptor() ([]byte, []int) { } func init() { - proto.RegisterType((*Eviction)(nil), "k8s.io.client-go.1.5.pkg.apis.policy.v1alpha1.Eviction") - proto.RegisterType((*PodDisruptionBudget)(nil), "k8s.io.client-go.1.5.pkg.apis.policy.v1alpha1.PodDisruptionBudget") - proto.RegisterType((*PodDisruptionBudgetList)(nil), "k8s.io.client-go.1.5.pkg.apis.policy.v1alpha1.PodDisruptionBudgetList") - proto.RegisterType((*PodDisruptionBudgetSpec)(nil), "k8s.io.client-go.1.5.pkg.apis.policy.v1alpha1.PodDisruptionBudgetSpec") - proto.RegisterType((*PodDisruptionBudgetStatus)(nil), "k8s.io.client-go.1.5.pkg.apis.policy.v1alpha1.PodDisruptionBudgetStatus") + proto.RegisterType((*Eviction)(nil), "k8s.io.client-go.pkg.apis.policy.v1alpha1.Eviction") + proto.RegisterType((*PodDisruptionBudget)(nil), "k8s.io.client-go.pkg.apis.policy.v1alpha1.PodDisruptionBudget") + proto.RegisterType((*PodDisruptionBudgetList)(nil), "k8s.io.client-go.pkg.apis.policy.v1alpha1.PodDisruptionBudgetList") + proto.RegisterType((*PodDisruptionBudgetSpec)(nil), "k8s.io.client-go.pkg.apis.policy.v1alpha1.PodDisruptionBudgetSpec") + proto.RegisterType((*PodDisruptionBudgetStatus)(nil), "k8s.io.client-go.pkg.apis.policy.v1alpha1.PodDisruptionBudgetStatus") } func (m *Eviction) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/generated.proto similarity index 83% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/generated.proto index 8fb5c2be63f..1a6e745452f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.policy.v1alpha1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1alpha1"; @@ -61,8 +61,10 @@ message PodDisruptionBudgetList { // PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. message PodDisruptionBudgetSpec { - // The minimum number of pods that must be available simultaneously. This - // can be either an integer or a string specifying a percentage, e.g. "28%". + // An eviction is allowed if at least "minAvailable" pods selected by + // "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 k8s.io.kubernetes.pkg.util.intstr.IntOrString minAvailable = 1; // Label query over pods whose evictions are managed by the disruption diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/register.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/register.go index f3f36faaaa8..5cc55aa9b80 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types.generated.go index afaf78fdce7..3d26017b455 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg4_types "k8s.io/client-go/1.5/pkg/types" - pkg1_intstr "k8s.io/client-go/1.5/pkg/util/intstr" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_v1 "k8s.io/client-go/pkg/api/v1" + pkg4_types "k8s.io/client-go/pkg/types" + pkg1_intstr "k8s.io/client-go/pkg/util/intstr" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types.go index f10b8453619..4bbd4b50270 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types.go @@ -17,15 +17,17 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/util/intstr" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/util/intstr" ) // PodDisruptionBudgetSpec is a description of a PodDisruptionBudget. type PodDisruptionBudgetSpec struct { - // The minimum number of pods that must be available simultaneously. This - // can be either an integer or a string specifying a percentage, e.g. "28%". + // An eviction is allowed if at least "minAvailable" pods selected by + // "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%". MinAvailable intstr.IntOrString `json:"minAvailable,omitempty" protobuf:"bytes,1,opt,name=minAvailable"` // Label query over pods whose evictions are managed by the disruption diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go index 7750b1007fe..f11858ff242 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/types_swagger_doc_generated.go @@ -57,7 +57,7 @@ func (PodDisruptionBudgetList) SwaggerDoc() map[string]string { var map_PodDisruptionBudgetSpec = map[string]string{ "": "PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.", - "minAvailable": "The minimum number of pods that must be available simultaneously. This can be either an integer or a string specifying a percentage, e.g. \"28%\".", + "minAvailable": "An eviction is allowed if at least \"minAvailable\" pods selected by \"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%\".", "selector": "Label query over pods whose evictions are managed by the disruption budget.", } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/zz_generated.conversion.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/zz_generated.conversion.go index d20b4763d09..61f5b7a48b3 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/zz_generated.conversion.go @@ -21,11 +21,11 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - policy "k8s.io/client-go/1.5/pkg/apis/policy" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + policy "k8s.io/client-go/pkg/apis/policy" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go index 56439e069f0..94b655816a5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/v1alpha1/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package v1alpha1 import ( - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + unversioned "k8s.io/client-go/pkg/api/unversioned" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/policy/zz_generated.deepcopy.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/policy/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/policy/zz_generated.deepcopy.go index 9153d5e741d..bd13ae0874f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/policy/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/policy/zz_generated.deepcopy.go @@ -21,10 +21,10 @@ limitations under the License. package policy import ( - api "k8s.io/client-go/1.5/pkg/api" - unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + unversioned "k8s.io/client-go/pkg/api/unversioned" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/doc.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/helpers.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/helpers.go similarity index 69% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/helpers.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/helpers.go index 4be3bf062cb..f9a770bb021 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/helpers.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/helpers.go @@ -20,7 +20,8 @@ import ( "fmt" "strings" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) func RoleRefGroupKind(roleRef RoleRef) unversioned.GroupKind { @@ -162,3 +163,61 @@ func (r *PolicyRuleBuilder) Rule() (PolicyRule, error) { return r.PolicyRule, nil } + +// +k8s:deepcopy-gen=false +// ClusterRoleBindingBuilder let's us attach methods. A no-no for API types. +// We use it to construct bindings in code. It's more compact than trying to write them +// out in a literal. +type ClusterRoleBindingBuilder struct { + ClusterRoleBinding ClusterRoleBinding +} + +func NewClusterBinding(clusterRoleName string) *ClusterRoleBindingBuilder { + return &ClusterRoleBindingBuilder{ + ClusterRoleBinding: ClusterRoleBinding{ + ObjectMeta: api.ObjectMeta{Name: clusterRoleName}, + RoleRef: RoleRef{ + APIGroup: GroupName, + Kind: "ClusterRole", + Name: clusterRoleName, + }, + }, + } +} + +func (r *ClusterRoleBindingBuilder) Groups(groups ...string) *ClusterRoleBindingBuilder { + for _, group := range groups { + r.ClusterRoleBinding.Subjects = append(r.ClusterRoleBinding.Subjects, Subject{Kind: GroupKind, Name: group}) + } + return r +} + +func (r *ClusterRoleBindingBuilder) Users(users ...string) *ClusterRoleBindingBuilder { + for _, user := range users { + r.ClusterRoleBinding.Subjects = append(r.ClusterRoleBinding.Subjects, Subject{Kind: UserKind, Name: user}) + } + return r +} + +func (r *ClusterRoleBindingBuilder) SAs(namespace string, serviceAccountNames ...string) *ClusterRoleBindingBuilder { + for _, saName := range serviceAccountNames { + r.ClusterRoleBinding.Subjects = append(r.ClusterRoleBinding.Subjects, Subject{Kind: ServiceAccountKind, Namespace: namespace, Name: saName}) + } + return r +} + +func (r *ClusterRoleBindingBuilder) BindingOrDie() ClusterRoleBinding { + ret, err := r.Binding() + if err != nil { + panic(err) + } + return ret +} + +func (r *ClusterRoleBindingBuilder) Binding() (ClusterRoleBinding, error) { + if len(r.ClusterRoleBinding.Subjects) == 0 { + return ClusterRoleBinding{}, fmt.Errorf("subjects are required: %#v", r.ClusterRoleBinding) + } + + return r.ClusterRoleBinding, nil +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/install/install.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/install/install.go index d02f33943d6..37e5b91a55b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/rbac" - "k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/rbac" + "k8s.io/client-go/pkg/apis/rbac/v1alpha1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: rbac.GroupName, VersionPreferenceOrder: []string{v1alpha1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/rbac", + ImportPrefix: "k8s.io/client-go/pkg/apis/rbac", RootScopedKinds: sets.NewString("ClusterRole", "ClusterRoleBinding"), AddInternalObjectsToScheme: rbac.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/register.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/register.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/register.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/register.go index 4ac400d942b..d50d55745cc 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/register.go @@ -17,10 +17,10 @@ limitations under the License. package rbac import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/watch/versioned" ) const GroupName = "rbac.authorization.k8s.io" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/types.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/types.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/types.go index c2af95acc6f..0d8ec843fd1 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/types.go @@ -17,9 +17,9 @@ limitations under the License. package rbac import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // Authorization is calculated against diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/defaults.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/defaults.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/defaults.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/defaults.go index d989a3e0204..41b1c3d4356 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/generated.pb.go index fc09bd66fd4..2aa6eeeac2c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/generated.pb.go @@ -102,17 +102,17 @@ func (*Subject) ProtoMessage() {} func (*Subject) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{10} } func init() { - proto.RegisterType((*ClusterRole)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.ClusterRole") - proto.RegisterType((*ClusterRoleBinding)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.ClusterRoleBinding") - proto.RegisterType((*ClusterRoleBindingList)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.ClusterRoleBindingList") - proto.RegisterType((*ClusterRoleList)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.ClusterRoleList") - proto.RegisterType((*PolicyRule)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.PolicyRule") - proto.RegisterType((*Role)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.Role") - proto.RegisterType((*RoleBinding)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.RoleBinding") - proto.RegisterType((*RoleBindingList)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.RoleBindingList") - proto.RegisterType((*RoleList)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.RoleList") - proto.RegisterType((*RoleRef)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.RoleRef") - proto.RegisterType((*Subject)(nil), "k8s.io.client-go.1.5.pkg.apis.rbac.v1alpha1.Subject") + proto.RegisterType((*ClusterRole)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.ClusterRole") + proto.RegisterType((*ClusterRoleBinding)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.ClusterRoleBinding") + proto.RegisterType((*ClusterRoleBindingList)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.ClusterRoleBindingList") + proto.RegisterType((*ClusterRoleList)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.ClusterRoleList") + proto.RegisterType((*PolicyRule)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.PolicyRule") + proto.RegisterType((*Role)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.Role") + proto.RegisterType((*RoleBinding)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.RoleBinding") + proto.RegisterType((*RoleBindingList)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.RoleBindingList") + proto.RegisterType((*RoleList)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.RoleList") + proto.RegisterType((*RoleRef)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.RoleRef") + proto.RegisterType((*Subject)(nil), "k8s.io.client-go.pkg.apis.rbac.v1alpha1.Subject") } func (m *ClusterRole) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/generated.proto similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/generated.proto index ebb657c4a9e..18a8e017e0e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.rbac.v1alpha1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1alpha1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/register.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/register.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/register.go index 7657ecc298f..069071139d9 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/watch/versioned" + "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/watch/versioned" ) const GroupName = "rbac.authorization.k8s.io" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types.generated.go index 7113b91496d..3e0824d3f34 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types.generated.go @@ -25,10 +25,10 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg1_runtime "k8s.io/client-go/1.5/pkg/runtime" - pkg4_types "k8s.io/client-go/1.5/pkg/types" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_v1 "k8s.io/client-go/pkg/api/v1" + pkg1_runtime "k8s.io/client-go/pkg/runtime" + pkg4_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types.go index eefa6636b1e..e3902f04136 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types.go @@ -17,9 +17,9 @@ limitations under the License. package v1alpha1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" ) // Authorization is calculated against diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go index 49e957994a7..07c2f4946b2 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1alpha1 import ( - api "k8s.io/client-go/1.5/pkg/api" - rbac "k8s.io/client-go/1.5/pkg/apis/rbac" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go index f8dd0b8a00b..0631bb7cc29 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/v1alpha1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1alpha1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/rbac/zz_generated.deepcopy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/rbac/zz_generated.deepcopy.go index 20df3be7dd7..253c1517f10 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/rbac/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/rbac/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package rbac import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/doc.go b/staging/src/k8s.io/client-go/pkg/apis/storage/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/install/install.go b/staging/src/k8s.io/client-go/pkg/apis/storage/install/install.go similarity index 83% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/install/install.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/install/install.go index 175ee2c7192..4fc5ac7ed98 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/install/install.go @@ -19,10 +19,10 @@ limitations under the License. package install import ( - "k8s.io/client-go/1.5/pkg/apimachinery/announced" - "k8s.io/client-go/1.5/pkg/apis/storage" - "k8s.io/client-go/1.5/pkg/apis/storage/v1beta1" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/apimachinery/announced" + "k8s.io/client-go/pkg/apis/storage" + "k8s.io/client-go/pkg/apis/storage/v1beta1" + "k8s.io/client-go/pkg/util/sets" ) func init() { @@ -30,7 +30,7 @@ func init() { &announced.GroupMetaFactoryArgs{ GroupName: storage.GroupName, VersionPreferenceOrder: []string{v1beta1.SchemeGroupVersion.Version}, - ImportPrefix: "k8s.io/client-go/1.5/pkg/apis/storage", + ImportPrefix: "k8s.io/client-go/pkg/apis/storage", RootScopedKinds: sets.NewString("StorageClass"), AddInternalObjectsToScheme: storage.AddToScheme, }, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/register.go b/staging/src/k8s.io/client-go/pkg/apis/storage/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/register.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/register.go index d71cdf61ef9..a924b77587c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/register.go @@ -17,9 +17,9 @@ limitations under the License. package storage import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/storage/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/types.generated.go index 68f862894f1..9d8d7bf960f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_api "k8s.io/client-go/1.5/pkg/api" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_api "k8s.io/client-go/pkg/api" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/types.go b/staging/src/k8s.io/client-go/pkg/apis/storage/types.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/types.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/types.go index 20b70cee633..4751e8daecd 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/types.go @@ -17,8 +17,8 @@ limitations under the License. package storage import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/doc.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/doc.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/generated.pb.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/generated.pb.go index c865fbd6e2a..e011b1b78e6 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/generated.pb.go @@ -58,8 +58,8 @@ func (*StorageClassList) ProtoMessage() {} func (*StorageClassList) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{1} } func init() { - proto.RegisterType((*StorageClass)(nil), "k8s.io.client-go.1.5.pkg.apis.storage.v1beta1.StorageClass") - proto.RegisterType((*StorageClassList)(nil), "k8s.io.client-go.1.5.pkg.apis.storage.v1beta1.StorageClassList") + proto.RegisterType((*StorageClass)(nil), "k8s.io.client-go.pkg.apis.storage.v1beta1.StorageClass") + proto.RegisterType((*StorageClassList)(nil), "k8s.io.client-go.pkg.apis.storage.v1beta1.StorageClassList") } func (m *StorageClass) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/generated.proto b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/generated.proto similarity index 86% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/generated.proto rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/generated.proto index dbcdcc3c030..9b6bf07a041 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.apis.storage.v1beta1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1beta1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/register.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/register.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/register.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/register.go index 97c322dcf5a..04088117745 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types.generated.go index 4e8d7744667..39e92456367 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg2_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg2_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types.go index e281b579356..7ccfba7726c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // +genclient=true diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.conversion.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.conversion.go index fc900af2fe5..938b94ffb70 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.conversion.go @@ -21,10 +21,10 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - storage "k8s.io/client-go/1.5/pkg/apis/storage" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + 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" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go index 27e39b68ccc..05b9feca812 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/v1beta1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/apis/storage/zz_generated.deepcopy.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/apis/storage/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/apis/storage/zz_generated.deepcopy.go index d158ebcc6cf..a1c1817537e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/apis/storage/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/apis/storage/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package storage import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/auth/user/doc.go b/staging/src/k8s.io/client-go/pkg/auth/user/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/auth/user/doc.go rename to staging/src/k8s.io/client-go/pkg/auth/user/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/auth/user/user.go b/staging/src/k8s.io/client-go/pkg/auth/user/user.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/auth/user/user.go rename to staging/src/k8s.io/client-go/pkg/auth/user/user.go index 7e7cc16f68b..c48695b6d54 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/auth/user/user.go +++ b/staging/src/k8s.io/client-go/pkg/auth/user/user.go @@ -65,3 +65,13 @@ func (i *DefaultInfo) GetGroups() []string { func (i *DefaultInfo) GetExtra() map[string][]string { return i.Extra } + +// well-known user and group names +const ( + SystemPrivilegedGroup = "system:masters" + AllUnauthenticated = "system:unauthenticated" + AllAuthenticated = "system:authenticated" + + Anonymous = "system:anonymous" + APIServerUser = "system:apiserver" +) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/OWNERS b/staging/src/k8s.io/client-go/pkg/conversion/OWNERS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/OWNERS rename to staging/src/k8s.io/client-go/pkg/conversion/OWNERS diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/cloner.go b/staging/src/k8s.io/client-go/pkg/conversion/cloner.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/cloner.go rename to staging/src/k8s.io/client-go/pkg/conversion/cloner.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/converter.go b/staging/src/k8s.io/client-go/pkg/conversion/converter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/converter.go rename to staging/src/k8s.io/client-go/pkg/conversion/converter.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/deep_equal.go b/staging/src/k8s.io/client-go/pkg/conversion/deep_equal.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/deep_equal.go rename to staging/src/k8s.io/client-go/pkg/conversion/deep_equal.go index 9edb3a82ed3..d1cf931b514 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/conversion/deep_equal.go +++ b/staging/src/k8s.io/client-go/pkg/conversion/deep_equal.go @@ -17,7 +17,7 @@ limitations under the License. package conversion import ( - "k8s.io/client-go/1.5/pkg/third_party/forked/golang/reflect" + "k8s.io/client-go/pkg/third_party/forked/golang/reflect" ) // The code for this type must be located in third_party, since it forks from diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/doc.go b/staging/src/k8s.io/client-go/pkg/conversion/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/doc.go rename to staging/src/k8s.io/client-go/pkg/conversion/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/helper.go b/staging/src/k8s.io/client-go/pkg/conversion/helper.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/helper.go rename to staging/src/k8s.io/client-go/pkg/conversion/helper.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/queryparams/convert.go b/staging/src/k8s.io/client-go/pkg/conversion/queryparams/convert.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/queryparams/convert.go rename to staging/src/k8s.io/client-go/pkg/conversion/queryparams/convert.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/conversion/queryparams/doc.go b/staging/src/k8s.io/client-go/pkg/conversion/queryparams/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/conversion/queryparams/doc.go rename to staging/src/k8s.io/client-go/pkg/conversion/queryparams/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/doc.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/doc.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/install/install.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/install/install.go similarity index 88% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/install/install.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/install/install.go index afc2c021fe5..506713a28fe 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/install/install.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/install/install.go @@ -21,18 +21,18 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apimachinery" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/federation/apis/federation" - "k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/sets" + "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/apimachinery" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/federation/apis/federation" + "k8s.io/client-go/pkg/federation/apis/federation/v1beta1" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/sets" ) -const importPrefix = "k8s.io/client-go/1.5/pkg/federation/apis/federation" +const importPrefix = "k8s.io/client-go/pkg/federation/apis/federation" var accessor = meta.NewAccessor() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/register.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/register.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/register.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/register.go index 8c9474ec8a5..8a669a1c06c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/register.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/register.go @@ -17,9 +17,9 @@ limitations under the License. package federation import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/types.generated.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/types.generated.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/types.generated.go index 10bf29dd1fb..2113488bfc7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg1_api "k8s.io/client-go/1.5/pkg/api" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg1_api "k8s.io/client-go/pkg/api" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/types.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/types.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/types.go index 0c944be9b02..f434b01a47b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/types.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/types.go @@ -17,8 +17,8 @@ limitations under the License. package federation import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" ) // ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/conversion.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/conversion.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/conversion.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/conversion.go index e4fd1afb8ca..0591422c353 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/conversion.go @@ -19,7 +19,7 @@ package v1beta1 import ( "fmt" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/defaults.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/defaults.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/defaults.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/defaults.go index d29eb3d4d57..644ae49b56a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/defaults.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/defaults.go @@ -17,7 +17,7 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) func addDefaultingFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/doc.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/doc.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/generated.pb.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/generated.pb.go index 6ff3ec1eedd..1a73fec1832 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/generated.pb.go @@ -38,7 +38,7 @@ import proto "github.com/gogo/protobuf/proto" import fmt "fmt" import math "math" -import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/1.5/pkg/api/v1" +import k8s_io_kubernetes_pkg_api_v1 "k8s.io/client-go/pkg/api/v1" import strings "strings" import reflect "reflect" @@ -81,12 +81,12 @@ func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int) { } func init() { - proto.RegisterType((*Cluster)(nil), "k8s.io.client-go.1.5.federation.apis.federation.v1beta1.Cluster") - proto.RegisterType((*ClusterCondition)(nil), "k8s.io.client-go.1.5.federation.apis.federation.v1beta1.ClusterCondition") - proto.RegisterType((*ClusterList)(nil), "k8s.io.client-go.1.5.federation.apis.federation.v1beta1.ClusterList") - proto.RegisterType((*ClusterSpec)(nil), "k8s.io.client-go.1.5.federation.apis.federation.v1beta1.ClusterSpec") - proto.RegisterType((*ClusterStatus)(nil), "k8s.io.client-go.1.5.federation.apis.federation.v1beta1.ClusterStatus") - proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.client-go.1.5.federation.apis.federation.v1beta1.ServerAddressByClientCIDR") + proto.RegisterType((*Cluster)(nil), "k8s.io.client-go.federation.apis.federation.v1beta1.Cluster") + proto.RegisterType((*ClusterCondition)(nil), "k8s.io.client-go.federation.apis.federation.v1beta1.ClusterCondition") + proto.RegisterType((*ClusterList)(nil), "k8s.io.client-go.federation.apis.federation.v1beta1.ClusterList") + proto.RegisterType((*ClusterSpec)(nil), "k8s.io.client-go.federation.apis.federation.v1beta1.ClusterSpec") + proto.RegisterType((*ClusterStatus)(nil), "k8s.io.client-go.federation.apis.federation.v1beta1.ClusterStatus") + proto.RegisterType((*ServerAddressByClientCIDR)(nil), "k8s.io.client-go.federation.apis.federation.v1beta1.ServerAddressByClientCIDR") } func (m *Cluster) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/generated.proto b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/generated.proto similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/generated.proto rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/generated.proto index 30c5533c2d1..e9828a07c24 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/generated.proto @@ -21,11 +21,11 @@ syntax = 'proto2'; package k8s.io.kubernetes.federation.apis.federation.v1beta1; -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"; +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"; // Package-wide variables from generator "generated". option go_package = "v1beta1"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/register.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/register.go similarity index 89% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/register.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/register.go index 53969e6f162..ca71ff99060 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/register.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/register.go @@ -17,10 +17,10 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - versionedwatch "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/runtime" + versionedwatch "k8s.io/client-go/pkg/watch/versioned" ) // GroupName is the group name use in this package diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types.generated.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types.generated.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types.generated.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types.generated.go index cc01937299f..7a6cc62a6aa 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types.generated.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types.generated.go @@ -25,9 +25,9 @@ import ( "errors" "fmt" codec1978 "github.com/ugorji/go/codec" - pkg2_unversioned "k8s.io/client-go/1.5/pkg/api/unversioned" - pkg1_v1 "k8s.io/client-go/1.5/pkg/api/v1" - pkg3_types "k8s.io/client-go/1.5/pkg/types" + pkg2_unversioned "k8s.io/client-go/pkg/api/unversioned" + pkg1_v1 "k8s.io/client-go/pkg/api/v1" + pkg3_types "k8s.io/client-go/pkg/types" "reflect" "runtime" time "time" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types.go index f0c53dd9d78..35f98821c1e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types.go @@ -17,8 +17,8 @@ limitations under the License. package v1beta1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" ) // ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/types_swagger_doc_generated.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go index e832b05c35e..d89cc7becc8 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/zz_generated.conversion.go @@ -21,11 +21,11 @@ limitations under the License. package v1beta1 import ( - api "k8s.io/client-go/1.5/pkg/api" - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - federation "k8s.io/client-go/1.5/pkg/federation/apis/federation" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + federation "k8s.io/client-go/pkg/federation/apis/federation" + runtime "k8s.io/client-go/pkg/runtime" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go index 307c0355efd..16b06a16211 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/v1beta1/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package v1beta1 import ( - v1 "k8s.io/client-go/1.5/pkg/api/v1" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + v1 "k8s.io/client-go/pkg/api/v1" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/federation/apis/federation/zz_generated.deepcopy.go index dc56536f653..32e8bc360af 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/federation/apis/federation/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/federation/apis/federation/zz_generated.deepcopy.go @@ -21,9 +21,9 @@ limitations under the License. package federation import ( - api "k8s.io/client-go/1.5/pkg/api" - conversion "k8s.io/client-go/1.5/pkg/conversion" - runtime "k8s.io/client-go/1.5/pkg/runtime" + api "k8s.io/client-go/pkg/api" + conversion "k8s.io/client-go/pkg/conversion" + runtime "k8s.io/client-go/pkg/runtime" reflect "reflect" ) diff --git a/staging/src/k8s.io/client-go/1.5/pkg/fields/doc.go b/staging/src/k8s.io/client-go/pkg/fields/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/fields/doc.go rename to staging/src/k8s.io/client-go/pkg/fields/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/fields/fields.go b/staging/src/k8s.io/client-go/pkg/fields/fields.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/fields/fields.go rename to staging/src/k8s.io/client-go/pkg/fields/fields.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/fields/requirements.go b/staging/src/k8s.io/client-go/pkg/fields/requirements.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/fields/requirements.go rename to staging/src/k8s.io/client-go/pkg/fields/requirements.go index 1ab540aa639..fdf81c1239f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/fields/requirements.go +++ b/staging/src/k8s.io/client-go/pkg/fields/requirements.go @@ -16,7 +16,7 @@ limitations under the License. package fields -import "k8s.io/client-go/1.5/pkg/selection" +import "k8s.io/client-go/pkg/selection" // Requirements is AND of all requirements. type Requirements []Requirement diff --git a/staging/src/k8s.io/client-go/1.5/pkg/fields/selector.go b/staging/src/k8s.io/client-go/pkg/fields/selector.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/fields/selector.go rename to staging/src/k8s.io/client-go/pkg/fields/selector.go index cd61a0130b2..836e8ba72d4 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/fields/selector.go +++ b/staging/src/k8s.io/client-go/pkg/fields/selector.go @@ -21,7 +21,7 @@ import ( "sort" "strings" - "k8s.io/client-go/1.5/pkg/selection" + "k8s.io/client-go/pkg/selection" ) // Selector represents a field selector. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common/common.go b/staging/src/k8s.io/client-go/pkg/genericapiserver/openapi/common/common.go similarity index 79% rename from staging/src/k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common/common.go rename to staging/src/k8s.io/client-go/pkg/genericapiserver/openapi/common/common.go index 48c4f9c0191..3bcc744dfad 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common/common.go +++ b/staging/src/k8s.io/client-go/pkg/genericapiserver/openapi/common/common.go @@ -16,7 +16,10 @@ limitations under the License. package common -import "github.com/go-openapi/spec" +import ( + "github.com/emicklei/go-restful" + "github.com/go-openapi/spec" +) // OpenAPIDefinition describes single type. Normally these definitions are auto-generated using gen-openapi. type OpenAPIDefinition struct { @@ -35,6 +38,27 @@ type OpenAPIDefinitionGetter interface { OpenAPIDefinition() *OpenAPIDefinition } +// Config is set of configuration for openAPI spec generation. +type Config struct { + // List of supported protocols such as https, http, etc. + ProtocolList []string + + // 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 + // List of webservice's path prefixes to ignore + IgnorePrefixes []string + + // OpenAPIDefinitions should provide definition for all models used by routes. Failure to provide this map + // 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) +} + // This function is a reference for converting go (or any custom type) to a simple open API type,format pair. There are // two ways to customize spec for a type. If you add it here, a type will be converted to a simple type and the type // comment (the comment that is added before type definition) will be lost. The spec will still have the property diff --git a/staging/src/k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common/doc.go b/staging/src/k8s.io/client-go/pkg/genericapiserver/openapi/common/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common/doc.go rename to staging/src/k8s.io/client-go/pkg/genericapiserver/openapi/common/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/doc.go b/staging/src/k8s.io/client-go/pkg/kubelet/qos/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/doc.go rename to staging/src/k8s.io/client-go/pkg/kubelet/qos/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/policy.go b/staging/src/k8s.io/client-go/pkg/kubelet/qos/policy.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/policy.go rename to staging/src/k8s.io/client-go/pkg/kubelet/qos/policy.go index b32352ef270..304be9df061 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/policy.go +++ b/staging/src/k8s.io/client-go/pkg/kubelet/qos/policy.go @@ -17,7 +17,7 @@ limitations under the License. package qos import ( - "k8s.io/client-go/1.5/pkg/api" + "k8s.io/client-go/pkg/api" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/qos.go b/staging/src/k8s.io/client-go/pkg/kubelet/qos/qos.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/qos.go rename to staging/src/k8s.io/client-go/pkg/kubelet/qos/qos.go index 52cfadfc1cc..0c408483fb6 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/qos.go +++ b/staging/src/k8s.io/client-go/pkg/kubelet/qos/qos.go @@ -17,9 +17,9 @@ limitations under the License. package qos import ( - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/resource" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/resource" + "k8s.io/client-go/pkg/util/sets" ) // isResourceGuaranteed returns true if the container's resource requirements are Guaranteed. @@ -68,11 +68,13 @@ func GetPodQOS(pod *api.Pod) QOSClass { } } // process limits + qosLimitsFound := sets.NewString() for name, quantity := range container.Resources.Limits { if !supportedQoSComputeResources.Has(string(name)) { continue } if quantity.Cmp(zeroQuantity) == 1 { + qosLimitsFound.Insert(string(name)) delta := quantity.Copy() if _, exists := limits[name]; !exists { limits[name] = *delta @@ -82,7 +84,8 @@ func GetPodQOS(pod *api.Pod) QOSClass { } } } - if len(limits) != len(supportedQoSComputeResources) { + + if len(qosLimitsFound) != len(supportedQoSComputeResources) { isGuaranteed = false } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/types.go b/staging/src/k8s.io/client-go/pkg/kubelet/qos/types.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/qos/types.go rename to staging/src/k8s.io/client-go/pkg/kubelet/qos/types.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/server/portforward/constants.go b/staging/src/k8s.io/client-go/pkg/kubelet/server/portforward/constants.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/server/portforward/constants.go rename to staging/src/k8s.io/client-go/pkg/kubelet/server/portforward/constants.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/constants.go b/staging/src/k8s.io/client-go/pkg/kubelet/types/constants.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/constants.go rename to staging/src/k8s.io/client-go/pkg/kubelet/types/constants.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/doc.go b/staging/src/k8s.io/client-go/pkg/kubelet/types/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/doc.go rename to staging/src/k8s.io/client-go/pkg/kubelet/types/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/labels.go b/staging/src/k8s.io/client-go/pkg/kubelet/types/labels.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/labels.go rename to staging/src/k8s.io/client-go/pkg/kubelet/types/labels.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/pod_update.go b/staging/src/k8s.io/client-go/pkg/kubelet/types/pod_update.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/pod_update.go rename to staging/src/k8s.io/client-go/pkg/kubelet/types/pod_update.go index 58516fbbb22..fb7ac4c95c5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/pod_update.go +++ b/staging/src/k8s.io/client-go/pkg/kubelet/types/pod_update.go @@ -19,7 +19,7 @@ package types import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" + "k8s.io/client-go/pkg/api" ) const ConfigSourceAnnotationKey = "kubernetes.io/config.source" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/types.go b/staging/src/k8s.io/client-go/pkg/kubelet/types/types.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/types.go rename to staging/src/k8s.io/client-go/pkg/kubelet/types/types.go index 21a49eb1c31..7009cea29f7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/kubelet/types/types.go +++ b/staging/src/k8s.io/client-go/pkg/kubelet/types/types.go @@ -20,7 +20,7 @@ import ( "net/http" "time" - "k8s.io/client-go/1.5/pkg/api" + "k8s.io/client-go/pkg/api" ) // TODO: Reconcile custom types in kubelet/types and this subpackage diff --git a/staging/src/k8s.io/client-go/1.5/pkg/labels/doc.go b/staging/src/k8s.io/client-go/pkg/labels/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/labels/doc.go rename to staging/src/k8s.io/client-go/pkg/labels/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/labels/labels.go b/staging/src/k8s.io/client-go/pkg/labels/labels.go similarity index 51% rename from staging/src/k8s.io/client-go/1.5/pkg/labels/labels.go rename to staging/src/k8s.io/client-go/pkg/labels/labels.go index 822b137a9e7..0d0caa77dcb 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/labels/labels.go +++ b/staging/src/k8s.io/client-go/pkg/labels/labels.go @@ -17,6 +17,7 @@ limitations under the License. package labels import ( + "fmt" "sort" "strings" ) @@ -78,3 +79,103 @@ func FormatLabels(labelMap map[string]string) string { } return l } + +// Conflicts takes 2 maps and returns true if there a key match between +// the maps but the value doesn't match, and returns false in other cases +func Conflicts(labels1, labels2 Set) bool { + small := labels1 + big := labels2 + if len(labels2) < len(labels1) { + small = labels2 + big = labels1 + } + + for k, v := range small { + if val, match := big[k]; match { + if val != v { + return true + } + } + } + + return false +} + +// Merge combines given maps, and does not check for any conflicts +// between the maps. In case of conflicts, second map (labels2) wins +func Merge(labels1, labels2 Set) Set { + mergedMap := Set{} + + for k, v := range labels1 { + mergedMap[k] = v + } + for k, v := range labels2 { + mergedMap[k] = v + } + return mergedMap +} + +// Equals returns true if the given maps are equal +func Equals(labels1, labels2 Set) bool { + if len(labels1) != len(labels2) { + return false + } + + for k, v := range labels1 { + value, ok := labels2[k] + if !ok { + return false + } + if value != v { + return false + } + } + return true +} + +// AreLabelsInWhiteList verifies if the provided label list +// is in the provided whitelist and returns true, otherwise false. +func AreLabelsInWhiteList(labels, whitelist Set) bool { + if len(whitelist) == 0 { + return true + } + + for k, v := range labels { + value, ok := whitelist[k] + if !ok { + return false + } + if value != v { + return false + } + } + return true +} + +// ConvertSelectorToLabelsMap converts selector string to labels map +// and validates keys and values +func ConvertSelectorToLabelsMap(selector string) (Set, error) { + labelsMap := Set{} + + if len(selector) == 0 { + return labelsMap, nil + } + + labels := strings.Split(selector, ",") + for _, label := range labels { + l := strings.Split(label, "=") + if len(l) != 2 { + return labelsMap, fmt.Errorf("invalid selector: %s", l) + } + key := strings.TrimSpace(l[0]) + if err := validateLabelKey(key); err != nil { + return labelsMap, err + } + value := strings.TrimSpace(l[1]) + if err := validateLabelValue(value); err != nil { + return labelsMap, err + } + labelsMap[key] = value + } + return labelsMap, nil +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/labels/selector.go b/staging/src/k8s.io/client-go/pkg/labels/selector.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/labels/selector.go rename to staging/src/k8s.io/client-go/pkg/labels/selector.go index c6b8fd1d64f..5cec970f01c 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/labels/selector.go +++ b/staging/src/k8s.io/client-go/pkg/labels/selector.go @@ -24,9 +24,9 @@ import ( "strings" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/selection" - "k8s.io/client-go/1.5/pkg/util/sets" - "k8s.io/client-go/1.5/pkg/util/validation" + "k8s.io/client-go/pkg/selection" + "k8s.io/client-go/pkg/util/sets" + "k8s.io/client-go/pkg/util/validation" ) // Requirements is AND of all requirements. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/master/ports/doc.go b/staging/src/k8s.io/client-go/pkg/master/ports/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/master/ports/doc.go rename to staging/src/k8s.io/client-go/pkg/master/ports/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/master/ports/ports.go b/staging/src/k8s.io/client-go/pkg/master/ports/ports.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/master/ports/ports.go rename to staging/src/k8s.io/client-go/pkg/master/ports/ports.go index 9c597ba47b4..6aa97963d5a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/master/ports/ports.go +++ b/staging/src/k8s.io/client-go/pkg/master/ports/ports.go @@ -29,8 +29,6 @@ const ( // ControllerManagerPort is the default port for the controller manager status server. // May be overridden by a flag at startup. ControllerManagerPort = 10252 - // Port for flannel daemon. - FlannelDaemonPort = 10253 // KubeletReadOnlyPort exposes basic read-only services from the kubelet. // May be overridden by a flag at startup. // This is necessary for heapster to collect monitoring stats from the kubelet diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/OWNERS b/staging/src/k8s.io/client-go/pkg/runtime/OWNERS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/OWNERS rename to staging/src/k8s.io/client-go/pkg/runtime/OWNERS diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/codec.go b/staging/src/k8s.io/client-go/pkg/runtime/codec.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/codec.go rename to staging/src/k8s.io/client-go/pkg/runtime/codec.go index 10ea163a172..5a641439d53 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/codec.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/codec.go @@ -24,8 +24,8 @@ import ( "net/url" "reflect" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion/queryparams" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion/queryparams" ) // codec binds an encoder and decoder. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/codec_check.go b/staging/src/k8s.io/client-go/pkg/runtime/codec_check.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/codec_check.go rename to staging/src/k8s.io/client-go/pkg/runtime/codec_check.go index 1f9755e92c1..9a52ad2e5c5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/codec_check.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/codec_check.go @@ -20,7 +20,7 @@ import ( "fmt" "reflect" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) // CheckCodec makes sure that the codec can encode objects like internalType, diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/conversion.go b/staging/src/k8s.io/client-go/pkg/runtime/conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/conversion.go rename to staging/src/k8s.io/client-go/pkg/runtime/conversion.go index 822304db2ca..034bef9f11f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/conversion.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/conversion.go @@ -23,7 +23,7 @@ import ( "strconv" "strings" - "k8s.io/client-go/1.5/pkg/conversion" + "k8s.io/client-go/pkg/conversion" ) // JSONKeyMapper uses the struct tags on a conversion to determine the key value for diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/doc.go b/staging/src/k8s.io/client-go/pkg/runtime/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/doc.go rename to staging/src/k8s.io/client-go/pkg/runtime/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/embedded.go b/staging/src/k8s.io/client-go/pkg/runtime/embedded.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/embedded.go rename to staging/src/k8s.io/client-go/pkg/runtime/embedded.go index 7184a7d3448..f914256b758 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/embedded.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/embedded.go @@ -19,8 +19,8 @@ package runtime import ( "errors" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" ) type encodable struct { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/error.go b/staging/src/k8s.io/client-go/pkg/runtime/error.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/error.go rename to staging/src/k8s.io/client-go/pkg/runtime/error.go index 098e5bcf207..086507c14c0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/error.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/error.go @@ -20,7 +20,7 @@ import ( "fmt" "reflect" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) type notRegisteredErr struct { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/extension.go b/staging/src/k8s.io/client-go/pkg/runtime/extension.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/extension.go rename to staging/src/k8s.io/client-go/pkg/runtime/extension.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/generated.pb.go b/staging/src/k8s.io/client-go/pkg/runtime/generated.pb.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/runtime/generated.pb.go index bdf9aa92bff..c0f0cd5458a 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/generated.pb.go @@ -62,9 +62,9 @@ func (*Unknown) ProtoMessage() {} func (*Unknown) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{2} } func init() { - proto.RegisterType((*RawExtension)(nil), "k8s.io.client-go.1.5.pkg.runtime.RawExtension") - proto.RegisterType((*TypeMeta)(nil), "k8s.io.client-go.1.5.pkg.runtime.TypeMeta") - proto.RegisterType((*Unknown)(nil), "k8s.io.client-go.1.5.pkg.runtime.Unknown") + proto.RegisterType((*RawExtension)(nil), "k8s.io.client-go.pkg.runtime.RawExtension") + proto.RegisterType((*TypeMeta)(nil), "k8s.io.client-go.pkg.runtime.TypeMeta") + proto.RegisterType((*Unknown)(nil), "k8s.io.client-go.pkg.runtime.Unknown") } func (m *RawExtension) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/generated.proto b/staging/src/k8s.io/client-go/pkg/runtime/generated.proto similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/generated.proto rename to staging/src/k8s.io/client-go/pkg/runtime/generated.proto index 17951fd3086..79db8e80263 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/runtime/generated.proto @@ -21,8 +21,8 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.runtime; -import "k8s.io/kubernetes/pkg/api/resource/generated.proto"; -import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; +import "k8s.io/client-go/pkg/api/resource/generated.proto"; +import "k8s.io/client-go/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "runtime"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/helper.go b/staging/src/k8s.io/client-go/pkg/runtime/helper.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/helper.go rename to staging/src/k8s.io/client-go/pkg/runtime/helper.go index 3c2c6832506..3062109f714 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/helper.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/helper.go @@ -21,9 +21,9 @@ import ( "io" "reflect" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/util/errors" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/util/errors" ) // unsafeObjectConvertor implements ObjectConvertor using the unsafe conversion path. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/interfaces.go b/staging/src/k8s.io/client-go/pkg/runtime/interfaces.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/interfaces.go rename to staging/src/k8s.io/client-go/pkg/runtime/interfaces.go index caed60a2bd6..17cdb140145 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/interfaces.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/interfaces.go @@ -20,7 +20,7 @@ import ( "io" "net/url" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/register.go b/staging/src/k8s.io/client-go/pkg/runtime/register.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/register.go rename to staging/src/k8s.io/client-go/pkg/runtime/register.go index 7515b795e46..66f664fa058 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/register.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/register.go @@ -17,7 +17,7 @@ limitations under the License. package runtime import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) // SetGroupVersionKind satisfies the ObjectKind interface for all objects that embed TypeMeta diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/scheme.go b/staging/src/k8s.io/client-go/pkg/runtime/scheme.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/scheme.go rename to staging/src/k8s.io/client-go/pkg/runtime/scheme.go index 51eb10a8f1f..ad67e1ac607 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/scheme.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/scheme.go @@ -21,8 +21,8 @@ import ( "net/url" "reflect" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" ) // Scheme defines methods for serializing and deserializing API objects, a type diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/scheme_builder.go b/staging/src/k8s.io/client-go/pkg/runtime/scheme_builder.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/scheme_builder.go rename to staging/src/k8s.io/client-go/pkg/runtime/scheme_builder.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/codec_factory.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/codec_factory.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/codec_factory.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/codec_factory.go index 6d0c9f04640..f5b6c2ac704 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/codec_factory.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/codec_factory.go @@ -17,11 +17,11 @@ limitations under the License. package serializer import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/json" - "k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer" - "k8s.io/client-go/1.5/pkg/runtime/serializer/versioning" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/json" + "k8s.io/client-go/pkg/runtime/serializer/recognizer" + "k8s.io/client-go/pkg/runtime/serializer/versioning" ) // serializerExtensions are for serializers that are conditionally compiled in diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/json/json.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/json/json.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/json/json.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/json/json.go index 513f6d9691e..2f2f69fbbd9 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/json/json.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/json/json.go @@ -23,11 +23,11 @@ import ( "github.com/ghodss/yaml" "github.com/ugorji/go/codec" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer" - "k8s.io/client-go/1.5/pkg/util/framer" - utilyaml "k8s.io/client-go/1.5/pkg/util/yaml" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/recognizer" + "k8s.io/client-go/pkg/util/framer" + utilyaml "k8s.io/client-go/pkg/util/yaml" ) // NewSerializer creates a JSON serializer that handles encoding versioned objects into the proper JSON form. If typer diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/json/meta.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/json/meta.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/json/meta.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/json/meta.go index d9dacf43762..970516e1b71 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/json/meta.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/json/meta.go @@ -20,7 +20,7 @@ import ( "encoding/json" "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) // MetaFactory is used to store and retrieve the version and kind diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/negotiated_codec.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/negotiated_codec.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/negotiated_codec.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/negotiated_codec.go index 6b3cf018e0e..d6b246fddd7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/negotiated_codec.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/negotiated_codec.go @@ -17,7 +17,7 @@ limitations under the License. package serializer import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) // TODO: We should figure out what happens when someone asks diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf/doc.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf/doc.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf/protobuf.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf/protobuf.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf/protobuf.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf/protobuf.go index b64bf62f498..0118828eee1 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf/protobuf.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf/protobuf.go @@ -24,10 +24,10 @@ import ( "github.com/gogo/protobuf/proto" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer" - "k8s.io/client-go/1.5/pkg/util/framer" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/recognizer" + "k8s.io/client-go/pkg/util/framer" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf_extension.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf_extension.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf_extension.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf_extension.go index c47383b990e..57088657e9b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf_extension.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/protobuf_extension.go @@ -17,8 +17,8 @@ limitations under the License. package serializer import ( - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/protobuf" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/protobuf" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer/recognizer.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/recognizer/recognizer.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer/recognizer.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/recognizer/recognizer.go index bc29015ca31..54d978fb300 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/recognizer/recognizer.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/recognizer/recognizer.go @@ -22,8 +22,8 @@ import ( "fmt" "io" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) type RecognizingDecoder interface { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/streaming/streaming.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/streaming/streaming.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/streaming/streaming.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/streaming/streaming.go index ffdcf2e2663..9b91f1ba835 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/streaming/streaming.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/streaming/streaming.go @@ -23,8 +23,8 @@ import ( "fmt" "io" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // Encoder is a runtime.Encoder on a stream. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/versioning/versioning.go b/staging/src/k8s.io/client-go/pkg/runtime/serializer/versioning/versioning.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/versioning/versioning.go rename to staging/src/k8s.io/client-go/pkg/runtime/serializer/versioning/versioning.go index 310d1aa91d1..86ac8557960 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/serializer/versioning/versioning.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/serializer/versioning/versioning.go @@ -19,8 +19,8 @@ package versioning import ( "io" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // NewCodecForScheme is a convenience method for callers that are using a scheme. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/swagger_doc_generator.go b/staging/src/k8s.io/client-go/pkg/runtime/swagger_doc_generator.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/swagger_doc_generator.go rename to staging/src/k8s.io/client-go/pkg/runtime/swagger_doc_generator.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/types.go b/staging/src/k8s.io/client-go/pkg/runtime/types.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/types.go rename to staging/src/k8s.io/client-go/pkg/runtime/types.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/types_proto.go b/staging/src/k8s.io/client-go/pkg/runtime/types_proto.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/types_proto.go rename to staging/src/k8s.io/client-go/pkg/runtime/types_proto.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/unstructured.go b/staging/src/k8s.io/client-go/pkg/runtime/unstructured.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/unstructured.go rename to staging/src/k8s.io/client-go/pkg/runtime/unstructured.go index 54b38ddb383..a15208c51ce 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/unstructured.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/unstructured.go @@ -26,10 +26,10 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api/meta/metatypes" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/types" - "k8s.io/client-go/1.5/pkg/util/json" + "k8s.io/client-go/pkg/api/meta/metatypes" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/types" + "k8s.io/client-go/pkg/util/json" ) // MarshalJSON ensures that the unstructured object produces proper diff --git a/staging/src/k8s.io/client-go/1.5/pkg/runtime/zz_generated.deepcopy.go b/staging/src/k8s.io/client-go/pkg/runtime/zz_generated.deepcopy.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/runtime/zz_generated.deepcopy.go rename to staging/src/k8s.io/client-go/pkg/runtime/zz_generated.deepcopy.go index c9f30ba2be8..09bf660025b 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/runtime/zz_generated.deepcopy.go +++ b/staging/src/k8s.io/client-go/pkg/runtime/zz_generated.deepcopy.go @@ -21,7 +21,7 @@ limitations under the License. package runtime import ( - conversion "k8s.io/client-go/1.5/pkg/conversion" + conversion "k8s.io/client-go/pkg/conversion" ) func DeepCopy_runtime_RawExtension(in interface{}, out interface{}, c *conversion.Cloner) error { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/selection/operator.go b/staging/src/k8s.io/client-go/pkg/selection/operator.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/selection/operator.go rename to staging/src/k8s.io/client-go/pkg/selection/operator.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/third_party/forked/golang/json/fields.go b/staging/src/k8s.io/client-go/pkg/third_party/forked/golang/json/fields.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/third_party/forked/golang/json/fields.go rename to staging/src/k8s.io/client-go/pkg/third_party/forked/golang/json/fields.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/third_party/forked/golang/reflect/deep_equal.go b/staging/src/k8s.io/client-go/pkg/third_party/forked/golang/reflect/deep_equal.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/third_party/forked/golang/reflect/deep_equal.go rename to staging/src/k8s.io/client-go/pkg/third_party/forked/golang/reflect/deep_equal.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/third_party/forked/golang/reflect/type.go b/staging/src/k8s.io/client-go/pkg/third_party/forked/golang/reflect/type.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/third_party/forked/golang/reflect/type.go rename to staging/src/k8s.io/client-go/pkg/third_party/forked/golang/reflect/type.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/types/doc.go b/staging/src/k8s.io/client-go/pkg/types/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/types/doc.go rename to staging/src/k8s.io/client-go/pkg/types/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/types/namespacedname.go b/staging/src/k8s.io/client-go/pkg/types/namespacedname.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/types/namespacedname.go rename to staging/src/k8s.io/client-go/pkg/types/namespacedname.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/types/nodename.go b/staging/src/k8s.io/client-go/pkg/types/nodename.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/types/nodename.go rename to staging/src/k8s.io/client-go/pkg/types/nodename.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/types/uid.go b/staging/src/k8s.io/client-go/pkg/types/uid.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/types/uid.go rename to staging/src/k8s.io/client-go/pkg/types/uid.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/types/unix_user_id.go b/staging/src/k8s.io/client-go/pkg/types/unix_user_id.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/types/unix_user_id.go rename to staging/src/k8s.io/client-go/pkg/types/unix_user_id.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/cert/cert.go b/staging/src/k8s.io/client-go/pkg/util/cert/cert.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/pkg/util/cert/cert.go rename to staging/src/k8s.io/client-go/pkg/util/cert/cert.go index 8617744a732..32e968bb60e 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/cert/cert.go +++ b/staging/src/k8s.io/client-go/pkg/util/cert/cert.go @@ -188,3 +188,31 @@ func GenerateSelfSignedCert(host, certPath, keyPath string, alternateIPs []net.I return nil } + +// FormatBytesCert receives byte array certificate and formats in human-readable format +func FormatBytesCert(cert []byte) (string, error) { + block, _ := pem.Decode(cert) + c, err := x509.ParseCertificate(block.Bytes) + if err != nil { + return "", fmt.Errorf("failed to parse certificate [%v]", err) + } + return FormatCert(c), nil +} + +// FormatCert receives certificate and formats in human-readable format +func FormatCert(c *x509.Certificate) string { + var ips []string + for _, ip := range c.IPAddresses { + ips = append(ips, ip.String()) + } + altNames := append(ips, c.DNSNames...) + res := fmt.Sprintf( + "Issuer: CN=%s | Subject: CN=%s | CA: %t\n", + c.Issuer.CommonName, c.Subject.CommonName, c.IsCA, + ) + res += fmt.Sprintf("Not before: %s Not After: %s", c.NotBefore, c.NotAfter) + if len(altNames) > 0 { + res += fmt.Sprintf("\nAlternate Names: %v", altNames) + } + return res +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/cert/csr.go b/staging/src/k8s.io/client-go/pkg/util/cert/csr.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/util/cert/csr.go rename to staging/src/k8s.io/client-go/pkg/util/cert/csr.go index f03e8d82620..69846df6d34 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/cert/csr.go +++ b/staging/src/k8s.io/client-go/pkg/util/cert/csr.go @@ -25,7 +25,7 @@ import ( "errors" "net" - "k8s.io/client-go/1.5/pkg/apis/certificates" + "k8s.io/client-go/pkg/apis/certificates" ) // ParseCSR extracts the CSR from the API object and decodes it. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/cert/io.go b/staging/src/k8s.io/client-go/pkg/util/cert/io.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/cert/io.go rename to staging/src/k8s.io/client-go/pkg/util/cert/io.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/cert/pem.go b/staging/src/k8s.io/client-go/pkg/util/cert/pem.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/cert/pem.go rename to staging/src/k8s.io/client-go/pkg/util/cert/pem.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/clock/clock.go b/staging/src/k8s.io/client-go/pkg/util/clock/clock.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/clock/clock.go rename to staging/src/k8s.io/client-go/pkg/util/clock/clock.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/config/config.go b/staging/src/k8s.io/client-go/pkg/util/config/config.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/util/config/config.go rename to staging/src/k8s.io/client-go/pkg/util/config/config.go index 9b567352ec7..d8effbb61eb 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/config/config.go +++ b/staging/src/k8s.io/client-go/pkg/util/config/config.go @@ -19,7 +19,7 @@ package config import ( "sync" - "k8s.io/client-go/1.5/pkg/util/wait" + "k8s.io/client-go/pkg/util/wait" ) type Merger interface { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/config/configuration_map.go b/staging/src/k8s.io/client-go/pkg/util/config/configuration_map.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/config/configuration_map.go rename to staging/src/k8s.io/client-go/pkg/util/config/configuration_map.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/config/doc.go b/staging/src/k8s.io/client-go/pkg/util/config/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/config/doc.go rename to staging/src/k8s.io/client-go/pkg/util/config/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/config/feature_gate.go b/staging/src/k8s.io/client-go/pkg/util/config/feature_gate.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/config/feature_gate.go rename to staging/src/k8s.io/client-go/pkg/util/config/feature_gate.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/diff/diff.go b/staging/src/k8s.io/client-go/pkg/util/diff/diff.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/util/diff/diff.go rename to staging/src/k8s.io/client-go/pkg/util/diff/diff.go index ae1956eea16..be406a01db7 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/diff/diff.go +++ b/staging/src/k8s.io/client-go/pkg/util/diff/diff.go @@ -27,7 +27,7 @@ import ( "github.com/davecgh/go-spew/spew" - "k8s.io/client-go/1.5/pkg/util/validation/field" + "k8s.io/client-go/pkg/util/validation/field" ) // StringDiff diffs a and b and returns a human readable diff. @@ -85,7 +85,7 @@ func ObjectReflectDiff(a, b interface{}) string { } diffs := objectReflectDiff(field.NewPath("object"), vA, vB) if len(diffs) == 0 { - return "" + return "" } out := []string{""} for _, d := range diffs { @@ -136,12 +136,16 @@ func objectReflectDiff(path *field.Path, a, b reflect.Value) []diff { for i := 0; i < a.Type().NumField(); i++ { if !public(a.Type().Field(i).Name) { if reflect.DeepEqual(a.Interface(), b.Interface()) { - return nil + continue } return []diff{{path: path, a: fmt.Sprintf("%#v", a), b: fmt.Sprintf("%#v", b)}} } if sub := objectReflectDiff(path.Child(a.Type().Field(i).Name), a.Field(i), b.Field(i)); len(sub) > 0 { changes = append(changes, sub...) + } else { + if !reflect.DeepEqual(a.Field(i).Interface(), b.Field(i).Interface()) { + changes = append(changes, diff{path: path, a: a.Field(i).Interface(), b: b.Field(i).Interface()}) + } } } return changes @@ -163,14 +167,17 @@ func objectReflectDiff(path *field.Path, a, b reflect.Value) []diff { } return nil case reflect.Slice: - if reflect.DeepEqual(a, b) { - return nil - } lA, lB := a.Len(), b.Len() l := lA if lB < lA { l = lB } + if lA == lB && lA == 0 { + if a.IsNil() != b.IsNil() { + return []diff{{path: path, a: a.Interface(), b: b.Interface()}} + } + return nil + } for i := 0; i < l; i++ { if !reflect.DeepEqual(a.Index(i), b.Index(i)) { return objectReflectDiff(path.Index(i), a.Index(i), b.Index(i)) @@ -183,9 +190,12 @@ func objectReflectDiff(path *field.Path, a, b reflect.Value) []diff { for i := l; i < lB; i++ { diffs = append(diffs, diff{path: path.Index(i), a: nil, b: b.Index(i)}) } + if len(diffs) == 0 { + diffs = append(diffs, diff{path: path, a: a, b: b}) + } return diffs case reflect.Map: - if reflect.DeepEqual(a, b) { + if reflect.DeepEqual(a.Interface(), b.Interface()) { return nil } aKeys := make(map[interface{}]interface{}) @@ -207,6 +217,9 @@ func objectReflectDiff(path *field.Path, a, b reflect.Value) []diff { for key, value := range aKeys { missing = append(missing, diff{path: path.Key(fmt.Sprintf("%s", key)), a: value, b: nil}) } + if len(missing) == 0 { + missing = append(missing, diff{path: path, a: a.Interface(), b: b.Interface()}) + } sort.Sort(orderedDiffs(missing)) return missing default: diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/doc.go b/staging/src/k8s.io/client-go/pkg/util/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/doc.go rename to staging/src/k8s.io/client-go/pkg/util/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/errors/doc.go b/staging/src/k8s.io/client-go/pkg/util/errors/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/errors/doc.go rename to staging/src/k8s.io/client-go/pkg/util/errors/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/errors/errors.go b/staging/src/k8s.io/client-go/pkg/util/errors/errors.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/errors/errors.go rename to staging/src/k8s.io/client-go/pkg/util/errors/errors.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/flowcontrol/backoff.go b/staging/src/k8s.io/client-go/pkg/util/flowcontrol/backoff.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/util/flowcontrol/backoff.go rename to staging/src/k8s.io/client-go/pkg/util/flowcontrol/backoff.go index dae8980652e..c3bf9582c7f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/flowcontrol/backoff.go +++ b/staging/src/k8s.io/client-go/pkg/util/flowcontrol/backoff.go @@ -20,8 +20,8 @@ import ( "sync" "time" - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/integer" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/integer" ) type backoffEntry struct { diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/flowcontrol/throttle.go b/staging/src/k8s.io/client-go/pkg/util/flowcontrol/throttle.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/flowcontrol/throttle.go rename to staging/src/k8s.io/client-go/pkg/util/flowcontrol/throttle.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/framer/framer.go b/staging/src/k8s.io/client-go/pkg/util/framer/framer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/framer/framer.go rename to staging/src/k8s.io/client-go/pkg/util/framer/framer.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/homedir/homedir.go b/staging/src/k8s.io/client-go/pkg/util/homedir/homedir.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/homedir/homedir.go rename to staging/src/k8s.io/client-go/pkg/util/homedir/homedir.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/httpstream/doc.go b/staging/src/k8s.io/client-go/pkg/util/httpstream/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/httpstream/doc.go rename to staging/src/k8s.io/client-go/pkg/util/httpstream/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/httpstream/httpstream.go b/staging/src/k8s.io/client-go/pkg/util/httpstream/httpstream.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/httpstream/httpstream.go rename to staging/src/k8s.io/client-go/pkg/util/httpstream/httpstream.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/integer/integer.go b/staging/src/k8s.io/client-go/pkg/util/integer/integer.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/integer/integer.go rename to staging/src/k8s.io/client-go/pkg/util/integer/integer.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/intstr/generated.pb.go b/staging/src/k8s.io/client-go/pkg/util/intstr/generated.pb.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/util/intstr/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/util/intstr/generated.pb.go index de36b07aed2..0279afddab6 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/intstr/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/util/intstr/generated.pb.go @@ -49,7 +49,7 @@ func (*IntOrString) ProtoMessage() {} func (*IntOrString) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func init() { - proto.RegisterType((*IntOrString)(nil), "k8s.io.client-go.1.5.pkg.util.intstr.IntOrString") + proto.RegisterType((*IntOrString)(nil), "k8s.io.client-go.pkg.util.intstr.IntOrString") } func (m *IntOrString) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/intstr/generated.proto b/staging/src/k8s.io/client-go/pkg/util/intstr/generated.proto similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/intstr/generated.proto rename to staging/src/k8s.io/client-go/pkg/util/intstr/generated.proto diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/intstr/intstr.go b/staging/src/k8s.io/client-go/pkg/util/intstr/intstr.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/util/intstr/intstr.go rename to staging/src/k8s.io/client-go/pkg/util/intstr/intstr.go index 28c0c0ed435..a365f623e58 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/intstr/intstr.go +++ b/staging/src/k8s.io/client-go/pkg/util/intstr/intstr.go @@ -23,7 +23,7 @@ import ( "strconv" "strings" - "k8s.io/client-go/1.5/pkg/genericapiserver/openapi/common" + "k8s.io/client-go/pkg/genericapiserver/openapi/common" "github.com/go-openapi/spec" "github.com/google/gofuzz" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/json/json.go b/staging/src/k8s.io/client-go/pkg/util/json/json.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/json/json.go rename to staging/src/k8s.io/client-go/pkg/util/json/json.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/labels/doc.go b/staging/src/k8s.io/client-go/pkg/util/labels/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/labels/doc.go rename to staging/src/k8s.io/client-go/pkg/util/labels/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/labels/labels.go b/staging/src/k8s.io/client-go/pkg/util/labels/labels.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/util/labels/labels.go rename to staging/src/k8s.io/client-go/pkg/util/labels/labels.go index 37f60cffb18..3e1f623e548 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/labels/labels.go +++ b/staging/src/k8s.io/client-go/pkg/util/labels/labels.go @@ -19,7 +19,7 @@ package labels import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) // Clones the given map and returns a new map with the given key and value added. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/net/http.go b/staging/src/k8s.io/client-go/pkg/util/net/http.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/net/http.go rename to staging/src/k8s.io/client-go/pkg/util/net/http.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/net/interface.go b/staging/src/k8s.io/client-go/pkg/util/net/interface.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/net/interface.go rename to staging/src/k8s.io/client-go/pkg/util/net/interface.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/net/port_range.go b/staging/src/k8s.io/client-go/pkg/util/net/port_range.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/net/port_range.go rename to staging/src/k8s.io/client-go/pkg/util/net/port_range.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/net/port_split.go b/staging/src/k8s.io/client-go/pkg/util/net/port_split.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/util/net/port_split.go rename to staging/src/k8s.io/client-go/pkg/util/net/port_split.go index 74983498d62..a341983adec 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/net/port_split.go +++ b/staging/src/k8s.io/client-go/pkg/util/net/port_split.go @@ -19,7 +19,7 @@ package net import ( "strings" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/sets" ) var validSchemes = sets.NewString("http", "https", "") diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/net/util.go b/staging/src/k8s.io/client-go/pkg/util/net/util.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/net/util.go rename to staging/src/k8s.io/client-go/pkg/util/net/util.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/parsers/parsers.go b/staging/src/k8s.io/client-go/pkg/util/parsers/parsers.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/parsers/parsers.go rename to staging/src/k8s.io/client-go/pkg/util/parsers/parsers.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/rand/rand.go b/staging/src/k8s.io/client-go/pkg/util/rand/rand.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/rand/rand.go rename to staging/src/k8s.io/client-go/pkg/util/rand/rand.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/runtime/runtime.go b/staging/src/k8s.io/client-go/pkg/util/runtime/runtime.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/runtime/runtime.go rename to staging/src/k8s.io/client-go/pkg/util/runtime/runtime.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/sets/byte.go b/staging/src/k8s.io/client-go/pkg/util/sets/byte.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/sets/byte.go rename to staging/src/k8s.io/client-go/pkg/util/sets/byte.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/sets/doc.go b/staging/src/k8s.io/client-go/pkg/util/sets/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/sets/doc.go rename to staging/src/k8s.io/client-go/pkg/util/sets/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/sets/empty.go b/staging/src/k8s.io/client-go/pkg/util/sets/empty.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/sets/empty.go rename to staging/src/k8s.io/client-go/pkg/util/sets/empty.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/sets/int.go b/staging/src/k8s.io/client-go/pkg/util/sets/int.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/sets/int.go rename to staging/src/k8s.io/client-go/pkg/util/sets/int.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/sets/int64.go b/staging/src/k8s.io/client-go/pkg/util/sets/int64.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/sets/int64.go rename to staging/src/k8s.io/client-go/pkg/util/sets/int64.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/sets/string.go b/staging/src/k8s.io/client-go/pkg/util/sets/string.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/sets/string.go rename to staging/src/k8s.io/client-go/pkg/util/sets/string.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/strategicpatch/patch.go b/staging/src/k8s.io/client-go/pkg/util/strategicpatch/patch.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/util/strategicpatch/patch.go rename to staging/src/k8s.io/client-go/pkg/util/strategicpatch/patch.go index 830f04ce5b3..56affaa9151 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/strategicpatch/patch.go +++ b/staging/src/k8s.io/client-go/pkg/util/strategicpatch/patch.go @@ -21,8 +21,8 @@ import ( "reflect" "sort" - forkedjson "k8s.io/client-go/1.5/pkg/third_party/forked/golang/json" - "k8s.io/client-go/1.5/pkg/util/json" + forkedjson "k8s.io/client-go/pkg/third_party/forked/golang/json" + "k8s.io/client-go/pkg/util/json" "github.com/davecgh/go-spew/spew" "github.com/ghodss/yaml" diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/template.go b/staging/src/k8s.io/client-go/pkg/util/template.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/template.go rename to staging/src/k8s.io/client-go/pkg/util/template.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/testing/fake_handler.go b/staging/src/k8s.io/client-go/pkg/util/testing/fake_handler.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/testing/fake_handler.go rename to staging/src/k8s.io/client-go/pkg/util/testing/fake_handler.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/testing/tmpdir.go b/staging/src/k8s.io/client-go/pkg/util/testing/tmpdir.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/testing/tmpdir.go rename to staging/src/k8s.io/client-go/pkg/util/testing/tmpdir.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/trace.go b/staging/src/k8s.io/client-go/pkg/util/trace.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/trace.go rename to staging/src/k8s.io/client-go/pkg/util/trace.go diff --git a/staging/src/k8s.io/client-go/pkg/util/trie.go b/staging/src/k8s.io/client-go/pkg/util/trie.go new file mode 100644 index 00000000000..0eeac436dc9 --- /dev/null +++ b/staging/src/k8s.io/client-go/pkg/util/trie.go @@ -0,0 +1,79 @@ +/* +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 util + +// A simple trie implementation with Add an HasPrefix methods only. +type Trie struct { + children map[byte]*Trie + wordTail bool + word string +} + +// CreateTrie creates a Trie and add all strings in the provided list to it. +func CreateTrie(list []string) Trie { + ret := Trie{ + children: make(map[byte]*Trie), + wordTail: false, + } + for _, v := range list { + ret.Add(v) + } + return ret +} + +// Add adds a word to this trie +func (t *Trie) Add(v string) { + root := t + for _, b := range []byte(v) { + child, exists := root.children[b] + if !exists { + child = &Trie{ + children: make(map[byte]*Trie), + wordTail: false, + } + root.children[b] = child + } + root = child + } + root.wordTail = true + root.word = v +} + +// HasPrefix returns true of v has any of the prefixes stored in this trie. +func (t *Trie) HasPrefix(v string) bool { + _, has := t.GetPrefix(v) + return has +} + +// GetPrefix is like HasPrefix but return the prefix in case of match or empty string otherwise. +func (t *Trie) GetPrefix(v string) (string, bool) { + root := t + if root.wordTail { + return root.word, true + } + for _, b := range []byte(v) { + child, exists := root.children[b] + if !exists { + return "", false + } + if child.wordTail { + return child.word, true + } + root = child + } + return "", false +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/umask.go b/staging/src/k8s.io/client-go/pkg/util/umask.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/umask.go rename to staging/src/k8s.io/client-go/pkg/util/umask.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/umask_windows.go b/staging/src/k8s.io/client-go/pkg/util/umask_windows.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/umask_windows.go rename to staging/src/k8s.io/client-go/pkg/util/umask_windows.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/util.go b/staging/src/k8s.io/client-go/pkg/util/util.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/util.go rename to staging/src/k8s.io/client-go/pkg/util/util.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/uuid/uuid.go b/staging/src/k8s.io/client-go/pkg/util/uuid/uuid.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/util/uuid/uuid.go rename to staging/src/k8s.io/client-go/pkg/util/uuid/uuid.go index d1cbda5da22..ad0e8a6a4fe 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/uuid/uuid.go +++ b/staging/src/k8s.io/client-go/pkg/util/uuid/uuid.go @@ -20,7 +20,7 @@ import ( "sync" "github.com/pborman/uuid" - "k8s.io/client-go/1.5/pkg/types" + "k8s.io/client-go/pkg/types" ) var uuidLock sync.Mutex diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/validation/field/errors.go b/staging/src/k8s.io/client-go/pkg/util/validation/field/errors.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/util/validation/field/errors.go rename to staging/src/k8s.io/client-go/pkg/util/validation/field/errors.go index 0e303e37ae9..6d11ec61653 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/validation/field/errors.go +++ b/staging/src/k8s.io/client-go/pkg/util/validation/field/errors.go @@ -21,7 +21,7 @@ import ( "fmt" "strings" - utilerrors "k8s.io/client-go/1.5/pkg/util/errors" + utilerrors "k8s.io/client-go/pkg/util/errors" ) // Error is an implementation of the 'error' interface, which represents a diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/validation/field/path.go b/staging/src/k8s.io/client-go/pkg/util/validation/field/path.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/validation/field/path.go rename to staging/src/k8s.io/client-go/pkg/util/validation/field/path.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/validation/validation.go b/staging/src/k8s.io/client-go/pkg/util/validation/validation.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/validation/validation.go rename to staging/src/k8s.io/client-go/pkg/util/validation/validation.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/wait/doc.go b/staging/src/k8s.io/client-go/pkg/util/wait/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/util/wait/doc.go rename to staging/src/k8s.io/client-go/pkg/util/wait/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/wait/wait.go b/staging/src/k8s.io/client-go/pkg/util/wait/wait.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/util/wait/wait.go rename to staging/src/k8s.io/client-go/pkg/util/wait/wait.go index b58a6288d0f..ceafded127f 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/wait/wait.go +++ b/staging/src/k8s.io/client-go/pkg/util/wait/wait.go @@ -20,6 +20,8 @@ import ( "errors" "math/rand" "time" + + "k8s.io/client-go/pkg/util/runtime" ) // For any test of the style: @@ -81,6 +83,7 @@ func JitterUntil(f func(), period time.Duration, jitterFactor float64, sliding b } func() { + defer runtime.HandleCrash() f() }() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/util/yaml/decoder.go b/staging/src/k8s.io/client-go/pkg/util/yaml/decoder.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/pkg/util/yaml/decoder.go rename to staging/src/k8s.io/client-go/pkg/util/yaml/decoder.go index c65c2d6ba34..ed503d03905 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/util/yaml/decoder.go +++ b/staging/src/k8s.io/client-go/pkg/util/yaml/decoder.go @@ -137,7 +137,7 @@ func (d *YAMLDecoder) Close() error { } const yamlSeparator = "\n---" -const separator = "---\n" +const separator = "---" // splitYAMLDocument is a bufio.SplitFunc for splitting YAML streams into individual documents. func splitYAMLDocument(data []byte, atEOF bool) (advance int, token []byte, err error) { @@ -246,16 +246,28 @@ func (r *YAMLReader) Read() ([]byte, error) { return nil, err } - if string(line) == separator || err == io.EOF { + sep := len([]byte(separator)) + if i := bytes.Index(line, []byte(separator)); i == 0 { + // We have a potential document terminator + i += sep + after := line[i:] + if len(strings.TrimRightFunc(string(after), unicode.IsSpace)) == 0 { + if buffer.Len() != 0 { + return buffer.Bytes(), nil + } + if err == io.EOF { + return nil, err + } + } + } + if err == io.EOF { if buffer.Len() != 0 { + // If we're at EOF, we have a final, non-terminated line. Return it. return buffer.Bytes(), nil } - if err == io.EOF { - return nil, err - } - } else { - buffer.Write(line) + return nil, err } + buffer.Write(line) } } diff --git a/staging/src/k8s.io/client-go/1.5/pkg/version/.gitattributes b/staging/src/k8s.io/client-go/pkg/version/.gitattributes similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/version/.gitattributes rename to staging/src/k8s.io/client-go/pkg/version/.gitattributes diff --git a/staging/src/k8s.io/client-go/1.5/pkg/version/base.go b/staging/src/k8s.io/client-go/pkg/version/base.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/version/base.go rename to staging/src/k8s.io/client-go/pkg/version/base.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/version/doc.go b/staging/src/k8s.io/client-go/pkg/version/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/version/doc.go rename to staging/src/k8s.io/client-go/pkg/version/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/version/semver.go b/staging/src/k8s.io/client-go/pkg/version/semver.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/version/semver.go rename to staging/src/k8s.io/client-go/pkg/version/semver.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/version/version.go b/staging/src/k8s.io/client-go/pkg/version/version.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/version/version.go rename to staging/src/k8s.io/client-go/pkg/version/version.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/doc.go b/staging/src/k8s.io/client-go/pkg/watch/doc.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/doc.go rename to staging/src/k8s.io/client-go/pkg/watch/doc.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/filter.go b/staging/src/k8s.io/client-go/pkg/watch/filter.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/filter.go rename to staging/src/k8s.io/client-go/pkg/watch/filter.go diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/mux.go b/staging/src/k8s.io/client-go/pkg/watch/mux.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/mux.go rename to staging/src/k8s.io/client-go/pkg/watch/mux.go index 65b6609a16b..3c7cfd1b102 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/mux.go +++ b/staging/src/k8s.io/client-go/pkg/watch/mux.go @@ -19,8 +19,8 @@ package watch import ( "sync" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // FullChannelBehavior controls how the Broadcaster reacts if a watcher's watch diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/streamwatcher.go b/staging/src/k8s.io/client-go/pkg/watch/streamwatcher.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/streamwatcher.go rename to staging/src/k8s.io/client-go/pkg/watch/streamwatcher.go index 92609a06c04..5b0f6882f62 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/streamwatcher.go +++ b/staging/src/k8s.io/client-go/pkg/watch/streamwatcher.go @@ -21,9 +21,9 @@ import ( "sync" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/net" - utilruntime "k8s.io/client-go/1.5/pkg/util/runtime" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/net" + utilruntime "k8s.io/client-go/pkg/util/runtime" ) // Decoder allows StreamWatcher to watch any stream for which a Decoder can be written. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/until.go b/staging/src/k8s.io/client-go/pkg/watch/until.go similarity index 51% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/until.go rename to staging/src/k8s.io/client-go/pkg/watch/until.go index cd46b099c22..a388bb02858 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/until.go +++ b/staging/src/k8s.io/client-go/pkg/watch/until.go @@ -19,7 +19,10 @@ package watch import ( "time" - "k8s.io/client-go/1.5/pkg/util/wait" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/wait" ) // ConditionFunc returns true if the condition has been reached, false if it has not been reached yet, @@ -32,6 +35,7 @@ type ConditionFunc func(event Event) (bool, error) // encountered. The first condition that returns an error terminates the watch (and the event is also returned). // If no event has been received, the returned event will be nil. // Conditions are satisfied sequentially so as to provide a useful primitive for higher level composition. +// A zero timeout means to wait forever. func Until(timeout time.Duration, watcher Interface, conditions ...ConditionFunc) (*Event, error) { ch := watcher.ResultChan() defer watcher.Stop() @@ -40,7 +44,7 @@ func Until(timeout time.Duration, watcher Interface, conditions ...ConditionFunc after = time.After(timeout) } else { ch := make(chan time.Time) - close(ch) + defer close(ch) after = ch } var lastEvent *Event @@ -52,7 +56,7 @@ func Until(timeout time.Duration, watcher Interface, conditions ...ConditionFunc return lastEvent, err } if done { - break + continue } } ConditionSucceeded: @@ -80,3 +84,78 @@ func Until(timeout time.Duration, watcher Interface, conditions ...ConditionFunc } return lastEvent, nil } + +// ListerWatcher is any object that knows how to perform an initial list and start a watch on a resource. +type ListerWatcher interface { + // List should return a list type object; the Items field will be extracted, and the + // ResourceVersion field will be used to start the watch in the right place. + List(options api.ListOptions) (runtime.Object, error) + // Watch should begin a watch at the specified version. + Watch(options api.ListOptions) (Interface, error) +} + +// TODO: check for watch expired error and retry watch from latest point? Same issue exists for Until. +func ListWatchUntil(timeout time.Duration, lw ListerWatcher, conditions ...ConditionFunc) (*Event, error) { + if len(conditions) == 0 { + return nil, nil + } + + list, err := lw.List(api.ListOptions{}) + if err != nil { + return nil, err + } + initialItems, err := meta.ExtractList(list) + if err != nil { + return nil, err + } + + // use the initial items as simulated "adds" + var lastEvent *Event + currIndex := 0 + passedConditions := 0 + for _, condition := range conditions { + // check the next condition against the previous event and short circuit waiting for the next watch + if lastEvent != nil { + done, err := condition(*lastEvent) + if err != nil { + return lastEvent, err + } + if done { + passedConditions = passedConditions + 1 + continue + } + } + + ConditionSucceeded: + for currIndex < len(initialItems) { + lastEvent = &Event{Type: Added, Object: initialItems[currIndex]} + currIndex++ + + done, err := condition(*lastEvent) + if err != nil { + return lastEvent, err + } + if done { + passedConditions = passedConditions + 1 + break ConditionSucceeded + } + } + } + if passedConditions == len(conditions) { + return lastEvent, nil + } + remainingConditions := conditions[passedConditions:] + + metaObj, err := meta.ListAccessor(list) + if err != nil { + return nil, err + } + currResourceVersion := metaObj.GetResourceVersion() + + watch, err := lw.Watch(api.ListOptions{ResourceVersion: currResourceVersion}) + if err != nil { + return nil, err + } + + return Until(timeout, watch, remainingConditions...) +} diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/decoder.go b/staging/src/k8s.io/client-go/pkg/watch/versioned/decoder.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/decoder.go rename to staging/src/k8s.io/client-go/pkg/watch/versioned/decoder.go index 15062334872..25390c5e4e0 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/decoder.go +++ b/staging/src/k8s.io/client-go/pkg/watch/versioned/decoder.go @@ -19,9 +19,9 @@ package versioned import ( "fmt" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/streaming" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/streaming" + "k8s.io/client-go/pkg/watch" ) // Decoder implements the watch.Decoder interface for io.ReadClosers that diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/encoder.go b/staging/src/k8s.io/client-go/pkg/watch/versioned/encoder.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/encoder.go rename to staging/src/k8s.io/client-go/pkg/watch/versioned/encoder.go index 0f499d4bba0..3d7f436f879 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/encoder.go +++ b/staging/src/k8s.io/client-go/pkg/watch/versioned/encoder.go @@ -19,9 +19,9 @@ package versioned import ( "encoding/json" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/streaming" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/streaming" + "k8s.io/client-go/pkg/watch" ) // Encoder serializes watch.Events into io.Writer. The internal objects diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/generated.pb.go b/staging/src/k8s.io/client-go/pkg/watch/versioned/generated.pb.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/generated.pb.go rename to staging/src/k8s.io/client-go/pkg/watch/versioned/generated.pb.go index 241878de1ca..00f599eabca 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/generated.pb.go +++ b/staging/src/k8s.io/client-go/pkg/watch/versioned/generated.pb.go @@ -52,7 +52,7 @@ func (*Event) ProtoMessage() {} func (*Event) Descriptor() ([]byte, []int) { return fileDescriptorGenerated, []int{0} } func init() { - proto.RegisterType((*Event)(nil), "k8s.io.client-go.1.5.pkg.watch.versioned.Event") + proto.RegisterType((*Event)(nil), "k8s.io.client-go.pkg.watch.versioned.Event") } func (m *Event) Marshal() (data []byte, err error) { size := m.Size() diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/generated.proto b/staging/src/k8s.io/client-go/pkg/watch/versioned/generated.proto similarity index 91% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/generated.proto rename to staging/src/k8s.io/client-go/pkg/watch/versioned/generated.proto index 340e18dad8f..aeb0167e941 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/generated.proto +++ b/staging/src/k8s.io/client-go/pkg/watch/versioned/generated.proto @@ -21,8 +21,8 @@ syntax = 'proto2'; package k8s.io.kubernetes.pkg.watch.versioned; -import "k8s.io/kubernetes/pkg/runtime/generated.proto"; -import "k8s.io/kubernetes/pkg/util/intstr/generated.proto"; +import "k8s.io/client-go/pkg/runtime/generated.proto"; +import "k8s.io/client-go/pkg/util/intstr/generated.proto"; // Package-wide variables from generator "generated". option go_package = "versioned"; diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/register.go b/staging/src/k8s.io/client-go/pkg/watch/versioned/register.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/register.go rename to staging/src/k8s.io/client-go/pkg/watch/versioned/register.go index a1eaec494b8..2223a934be5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/register.go +++ b/staging/src/k8s.io/client-go/pkg/watch/versioned/register.go @@ -17,10 +17,10 @@ limitations under the License. package versioned import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/watch" ) // WatchEventKind is name reserved for serializing watch events. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/types.go b/staging/src/k8s.io/client-go/pkg/watch/versioned/types.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/types.go rename to staging/src/k8s.io/client-go/pkg/watch/versioned/types.go index f73cb68db17..16b8b02ecf5 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/versioned/types.go +++ b/staging/src/k8s.io/client-go/pkg/watch/versioned/types.go @@ -19,7 +19,7 @@ limitations under the License. package versioned import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) // Event represents a single event to a watched resource. diff --git a/staging/src/k8s.io/client-go/1.5/pkg/watch/watch.go b/staging/src/k8s.io/client-go/pkg/watch/watch.go similarity index 60% rename from staging/src/k8s.io/client-go/1.5/pkg/watch/watch.go rename to staging/src/k8s.io/client-go/pkg/watch/watch.go index 861932af300..0995e03c622 100644 --- a/staging/src/k8s.io/client-go/1.5/pkg/watch/watch.go +++ b/staging/src/k8s.io/client-go/pkg/watch/watch.go @@ -17,9 +17,10 @@ limitations under the License. package watch import ( + "fmt" "sync" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" "github.com/golang/glog" ) @@ -44,6 +45,8 @@ const ( Modified EventType = "MODIFIED" Deleted EventType = "DELETED" Error EventType = "ERROR" + + DefaultChanSize int32 = 100 ) // Event represents a single event to a watched resource. @@ -91,7 +94,7 @@ func NewFake() *FakeWatcher { } } -func NewFakeWithChanSize(size int) *FakeWatcher { +func NewFakeWithChanSize(size int, blocking bool) *FakeWatcher { return &FakeWatcher{ result: make(chan Event, size), } @@ -150,3 +153,117 @@ func (f *FakeWatcher) Error(errValue runtime.Object) { func (f *FakeWatcher) Action(action EventType, obj runtime.Object) { f.result <- Event{action, obj} } + +// RaceFreeFakeWatcher lets you test anything that consumes a watch.Interface; threadsafe. +type RaceFreeFakeWatcher struct { + result chan Event + Stopped bool + sync.Mutex +} + +func NewRaceFreeFake() *RaceFreeFakeWatcher { + return &RaceFreeFakeWatcher{ + result: make(chan Event, DefaultChanSize), + } +} + +// Stop implements Interface.Stop(). +func (f *RaceFreeFakeWatcher) Stop() { + f.Lock() + defer f.Unlock() + if !f.Stopped { + glog.V(4).Infof("Stopping fake watcher.") + close(f.result) + f.Stopped = true + } +} + +func (f *RaceFreeFakeWatcher) IsStopped() bool { + f.Lock() + defer f.Unlock() + return f.Stopped +} + +// Reset prepares the watcher to be reused. +func (f *RaceFreeFakeWatcher) Reset() { + f.Lock() + defer f.Unlock() + f.Stopped = false + f.result = make(chan Event, DefaultChanSize) +} + +func (f *RaceFreeFakeWatcher) ResultChan() <-chan Event { + f.Lock() + defer f.Unlock() + return f.result +} + +// Add sends an add event. +func (f *RaceFreeFakeWatcher) Add(obj runtime.Object) { + f.Lock() + defer f.Unlock() + if !f.Stopped { + select { + case f.result <- Event{Added, obj}: + return + default: + panic(fmt.Errorf("channel full")) + } + } +} + +// Modify sends a modify event. +func (f *RaceFreeFakeWatcher) Modify(obj runtime.Object) { + f.Lock() + defer f.Unlock() + if !f.Stopped { + select { + case f.result <- Event{Modified, obj}: + return + default: + panic(fmt.Errorf("channel full")) + } + } +} + +// Delete sends a delete event. +func (f *RaceFreeFakeWatcher) Delete(lastValue runtime.Object) { + f.Lock() + defer f.Unlock() + if !f.Stopped { + select { + case f.result <- Event{Deleted, lastValue}: + return + default: + panic(fmt.Errorf("channel full")) + } + } +} + +// Error sends an Error event. +func (f *RaceFreeFakeWatcher) Error(errValue runtime.Object) { + f.Lock() + defer f.Unlock() + if !f.Stopped { + select { + case f.result <- Event{Error, errValue}: + return + default: + panic(fmt.Errorf("channel full")) + } + } +} + +// Action sends an event of the requested type, for table-based testing. +func (f *RaceFreeFakeWatcher) Action(action EventType, obj runtime.Object) { + f.Lock() + defer f.Unlock() + if !f.Stopped { + select { + case f.result <- Event{action, obj}: + return + default: + panic(fmt.Errorf("channel full")) + } + } +} diff --git a/staging/src/k8s.io/client-go/1.5/plugin/pkg/auth/authenticator/token/oidc/testing/provider.go b/staging/src/k8s.io/client-go/plugin/pkg/auth/authenticator/token/oidc/testing/provider.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/plugin/pkg/auth/authenticator/token/oidc/testing/provider.go rename to staging/src/k8s.io/client-go/plugin/pkg/auth/authenticator/token/oidc/testing/provider.go diff --git a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/gcp/gcp.go b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/gcp/gcp.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/gcp/gcp.go rename to staging/src/k8s.io/client-go/plugin/pkg/client/auth/gcp/gcp.go index bbc0f0b8b06..48b8d524fc1 100644 --- a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/gcp/gcp.go +++ b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/gcp/gcp.go @@ -24,7 +24,7 @@ import ( "golang.org/x/net/context" "golang.org/x/oauth2" "golang.org/x/oauth2/google" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/rest" ) func init() { diff --git a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/OWNERS b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/OWNERS similarity index 100% rename from staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/OWNERS rename to staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/OWNERS diff --git a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/oidc.go b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/oidc.go rename to staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc.go index b397fa16260..f5da43906df 100644 --- a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/oidc.go +++ b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc.go @@ -29,8 +29,8 @@ import ( "github.com/coreos/go-oidc/oidc" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/util/wait" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/util/wait" + "k8s.io/client-go/rest" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/oidc_test.go b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/oidc_test.go rename to staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc_test.go index 395bfc58eb1..ee8367e53f4 100644 --- a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc/oidc_test.go +++ b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/oidc/oidc_test.go @@ -33,9 +33,9 @@ import ( "github.com/coreos/go-oidc/key" "github.com/coreos/go-oidc/oauth2" - "k8s.io/client-go/1.5/pkg/util/diff" - "k8s.io/client-go/1.5/pkg/util/wait" - oidctesting "k8s.io/client-go/1.5/plugin/pkg/auth/authenticator/token/oidc/testing" + "k8s.io/client-go/pkg/util/diff" + "k8s.io/client-go/pkg/util/wait" + oidctesting "k8s.io/client-go/plugin/pkg/auth/authenticator/token/oidc/testing" ) func TestNewOIDCAuthProvider(t *testing.T) { @@ -45,10 +45,7 @@ func TestNewOIDCAuthProvider(t *testing.T) { } cert := path.Join(tempDir, "oidc-cert") key := path.Join(tempDir, "oidc-key") - - defer os.Remove(cert) - defer os.Remove(key) - defer os.Remove(tempDir) + defer os.RemoveAll(tempDir) oidctesting.GenerateSelfSignedCert(t, "127.0.0.1", cert, key) op := oidctesting.NewOIDCProvider(t, "") diff --git a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/plugins.go b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/plugins.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/plugins.go rename to staging/src/k8s.io/client-go/plugin/pkg/client/auth/plugins.go index 4be6cc515eb..5cb2375ffb9 100644 --- a/staging/src/k8s.io/client-go/1.5/plugin/pkg/client/auth/plugins.go +++ b/staging/src/k8s.io/client-go/plugin/pkg/client/auth/plugins.go @@ -18,6 +18,6 @@ package auth import ( // Initialize all known client auth plugins. - _ "k8s.io/client-go/1.5/plugin/pkg/client/auth/gcp" - _ "k8s.io/client-go/1.5/plugin/pkg/client/auth/oidc" + _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" + _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" ) diff --git a/staging/src/k8s.io/client-go/1.5/rest/client.go b/staging/src/k8s.io/client-go/rest/client.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/rest/client.go rename to staging/src/k8s.io/client-go/rest/client.go index c1fdf1f09ac..51666ce9013 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/client.go +++ b/staging/src/k8s.io/client-go/rest/client.go @@ -25,10 +25,10 @@ import ( "strings" "time" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/flowcontrol" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/rest/client_test.go b/staging/src/k8s.io/client-go/rest/client_test.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/rest/client_test.go rename to staging/src/k8s.io/client-go/rest/client_test.go index 4f62bb50554..8acaef81edb 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/client_test.go +++ b/staging/src/k8s.io/client-go/rest/client_test.go @@ -27,13 +27,14 @@ import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/testapi" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/diff" - utiltesting "k8s.io/client-go/1.5/pkg/util/testing" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/testapi" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/diff" + utiltesting "k8s.io/client-go/pkg/util/testing" ) type TestParam struct { @@ -185,7 +186,7 @@ func validate(testParam TestParam, t *testing.T, body []byte, fakeHandler *utilt t.Errorf("Unexpected mis-match. Expected %#v. Saw %#v", testParam.expStatus, statusOut) } } - fakeHandler.ValidateRequest(t, "/"+testapi.Default.GroupVersion().String()+"/test", "GET", nil) + fakeHandler.ValidateRequest(t, "/"+registered.GroupOrDie(api.GroupName).GroupVersion.String()+"/test", "GET", nil) } @@ -272,7 +273,7 @@ func restClient(testServer *httptest.Server) (*RESTClient, error) { c, err := RESTClientFor(&Config{ Host: testServer.URL, ContentConfig: ContentConfig{ - GroupVersion: testapi.Default.GroupVersion(), + GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer(), }, Username: "user", diff --git a/staging/src/k8s.io/client-go/1.5/rest/config.go b/staging/src/k8s.io/client-go/rest/config.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/rest/config.go rename to staging/src/k8s.io/client-go/rest/config.go index 41609617125..37d8756494a 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/config.go +++ b/staging/src/k8s.io/client-go/rest/config.go @@ -29,13 +29,13 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - certutil "k8s.io/client-go/1.5/pkg/util/cert" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" - "k8s.io/client-go/1.5/pkg/version" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + certutil "k8s.io/client-go/pkg/util/cert" + "k8s.io/client-go/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/version" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) const ( @@ -189,6 +189,9 @@ func RESTClientFor(config *Config) (*RESTClient, error) { var httpClient *http.Client if transport != http.DefaultTransport { httpClient = &http.Client{Transport: transport} + if config.Timeout > 0 { + httpClient.Timeout = config.Timeout + } } return NewRESTClient(baseURL, versionedAPIPath, config.ContentConfig, qps, burst, config.RateLimiter, httpClient) @@ -214,6 +217,9 @@ func UnversionedRESTClientFor(config *Config) (*RESTClient, error) { var httpClient *http.Client if transport != http.DefaultTransport { httpClient = &http.Client{Transport: transport} + if config.Timeout > 0 { + httpClient.Timeout = config.Timeout + } } versionConfig := config.ContentConfig @@ -337,3 +343,26 @@ func AddUserAgent(config *Config, userAgent string) *Config { config.UserAgent = fullUserAgent return config } + +// AnonymousClientConfig returns a copy of the given config with all user credentials (cert/key, bearer token, and username/password) removed +func AnonymousClientConfig(config *Config) *Config { + // copy only known safe fields + return &Config{ + Host: config.Host, + APIPath: config.APIPath, + Prefix: config.Prefix, + ContentConfig: config.ContentConfig, + TLSClientConfig: TLSClientConfig{ + CAFile: config.TLSClientConfig.CAFile, + CAData: config.TLSClientConfig.CAData, + }, + RateLimiter: config.RateLimiter, + Insecure: config.Insecure, + UserAgent: config.UserAgent, + Transport: config.Transport, + WrapTransport: config.WrapTransport, + QPS: config.QPS, + Burst: config.Burst, + Timeout: config.Timeout, + } +} diff --git a/staging/src/k8s.io/client-go/rest/config_test.go b/staging/src/k8s.io/client-go/rest/config_test.go new file mode 100644 index 00000000000..53df7afe87c --- /dev/null +++ b/staging/src/k8s.io/client-go/rest/config_test.go @@ -0,0 +1,244 @@ +/* +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 rest + +import ( + "io" + "net/http" + "reflect" + "strings" + "testing" + + fuzz "github.com/google/gofuzz" + + "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/diff" + "k8s.io/client-go/pkg/util/flowcontrol" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" +) + +func TestIsConfigTransportTLS(t *testing.T) { + testCases := []struct { + Config *Config + TransportTLS bool + }{ + { + Config: &Config{}, + TransportTLS: false, + }, + { + Config: &Config{ + Host: "https://localhost", + }, + TransportTLS: true, + }, + { + Config: &Config{ + Host: "localhost", + TLSClientConfig: TLSClientConfig{ + CertFile: "foo", + }, + }, + TransportTLS: true, + }, + { + Config: &Config{ + Host: "///:://localhost", + TLSClientConfig: TLSClientConfig{ + CertFile: "foo", + }, + }, + TransportTLS: false, + }, + { + Config: &Config{ + Host: "1.2.3.4:567", + Insecure: true, + }, + TransportTLS: true, + }, + } + for _, testCase := range testCases { + if err := SetKubernetesDefaults(testCase.Config); err != nil { + t.Errorf("setting defaults failed for %#v: %v", testCase.Config, err) + continue + } + useTLS := IsConfigTransportTLS(*testCase.Config) + if testCase.TransportTLS != useTLS { + t.Errorf("expected %v for %#v", testCase.TransportTLS, testCase.Config) + } + } +} + +func TestSetKubernetesDefaultsUserAgent(t *testing.T) { + config := &Config{} + if err := SetKubernetesDefaults(config); err != nil { + t.Errorf("unexpected error: %v", err) + } + if !strings.Contains(config.UserAgent, "kubernetes/") { + t.Errorf("no user agent set: %#v", config) + } +} + +func TestRESTClientRequires(t *testing.T) { + if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err == nil { + t.Errorf("unexpected non-error") + } + if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}}); err == nil { + t.Errorf("unexpected non-error") + } + if _, err := RESTClientFor(&Config{Host: "127.0.0.1", ContentConfig: ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer()}}); err != nil { + t.Errorf("unexpected error: %v", err) + } +} + +type fakeLimiter struct { + FakeSaturation float64 + FakeQPS float32 +} + +func (t *fakeLimiter) TryAccept() bool { + return true +} + +func (t *fakeLimiter) Saturation() float64 { + return t.FakeSaturation +} + +func (t *fakeLimiter) QPS() float32 { + return t.FakeQPS +} + +func (t *fakeLimiter) Stop() {} + +func (t *fakeLimiter) Accept() {} + +type fakeCodec struct{} + +func (c *fakeCodec) Decode([]byte, *unversioned.GroupVersionKind, runtime.Object) (runtime.Object, *unversioned.GroupVersionKind, error) { + return nil, nil, nil +} + +func (c *fakeCodec) Encode(obj runtime.Object, stream io.Writer) error { + return nil +} + +type fakeRoundTripper struct{} + +func (r *fakeRoundTripper) RoundTrip(*http.Request) (*http.Response, error) { + return nil, nil +} + +var fakeWrapperFunc = func(http.RoundTripper) http.RoundTripper { + return &fakeRoundTripper{} +} + +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) EncoderForVersion(serializer runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { + return &fakeCodec{} +} + +func (n *fakeNegotiatedSerializer) DecoderToVersion(serializer runtime.Decoder, gv runtime.GroupVersioner) runtime.Decoder { + return &fakeCodec{} +} + +func TestAnonymousConfig(t *testing.T) { + f := fuzz.New().NilChance(0.0).NumElements(1, 1) + f.Funcs( + func(r *runtime.Codec, f fuzz.Continue) { + codec := &fakeCodec{} + f.Fuzz(codec) + *r = codec + }, + func(r *http.RoundTripper, f fuzz.Continue) { + roundTripper := &fakeRoundTripper{} + f.Fuzz(roundTripper) + *r = roundTripper + }, + func(fn *func(http.RoundTripper) http.RoundTripper, f fuzz.Continue) { + *fn = fakeWrapperFunc + }, + func(r *runtime.NegotiatedSerializer, f fuzz.Continue) { + serializer := &fakeNegotiatedSerializer{} + f.Fuzz(serializer) + *r = serializer + }, + func(r *flowcontrol.RateLimiter, f fuzz.Continue) { + limiter := &fakeLimiter{} + f.Fuzz(limiter) + *r = limiter + }, + // Authentication does not require fuzzer + func(r *AuthProviderConfigPersister, f fuzz.Continue) {}, + func(r *clientcmdapi.AuthProviderConfig, f fuzz.Continue) { + r.Config = map[string]string{} + }, + ) + for i := 0; i < 20; i++ { + original := &Config{} + f.Fuzz(original) + actual := AnonymousClientConfig(original) + expected := *original + + // this is the list of known security related fields, add to this list if a new field + // is added to Config, update AnonymousClientConfig to preserve the field otherwise. + expected.Impersonate = "" + expected.BearerToken = "" + expected.Username = "" + expected.Password = "" + expected.AuthProvider = nil + expected.AuthConfigPersister = nil + expected.TLSClientConfig.CertData = nil + expected.TLSClientConfig.CertFile = "" + expected.TLSClientConfig.KeyData = nil + expected.TLSClientConfig.KeyFile = "" + + // The DeepEqual cannot handle the func comparison, so we just verify if the + // function return the expected object. + if actual.WrapTransport == nil || !reflect.DeepEqual(expected.WrapTransport(nil), &fakeRoundTripper{}) { + t.Fatalf("AnonymousClientConfig dropped the WrapTransport field") + } else { + actual.WrapTransport = nil + expected.WrapTransport = nil + } + + if !reflect.DeepEqual(*actual, expected) { + t.Fatalf("AnonymousClientConfig dropped unexpected fields, identify whether they are security related or not: %s", diff.ObjectGoPrintDiff(expected, actual)) + } + } +} diff --git a/staging/src/k8s.io/client-go/1.5/rest/plugin.go b/staging/src/k8s.io/client-go/rest/plugin.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/rest/plugin.go rename to staging/src/k8s.io/client-go/rest/plugin.go index 9f1ce9973f7..cf8fbabfdf1 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/plugin.go +++ b/staging/src/k8s.io/client-go/rest/plugin.go @@ -23,7 +23,7 @@ import ( "github.com/golang/glog" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) type AuthProvider interface { diff --git a/staging/src/k8s.io/client-go/1.5/rest/plugin_test.go b/staging/src/k8s.io/client-go/rest/plugin_test.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/rest/plugin_test.go rename to staging/src/k8s.io/client-go/rest/plugin_test.go index 8368aa31493..070e537909d 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/plugin_test.go +++ b/staging/src/k8s.io/client-go/rest/plugin_test.go @@ -23,7 +23,7 @@ import ( "strconv" "testing" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) func TestAuthPluginWrapTransport(t *testing.T) { @@ -61,7 +61,7 @@ func TestAuthPluginWrapTransport(t *testing.T) { if len(tc.plugin) != 0 { c.AuthProvider = &clientcmdapi.AuthProviderConfig{Name: tc.plugin} } - tConfig, err := c.transportConfig() + tConfig, err := c.TransportConfig() if err != nil { // Unknown/bad plugins are expected to fail here. if !tc.expectErr { diff --git a/staging/src/k8s.io/client-go/1.5/rest/request.go b/staging/src/k8s.io/client-go/rest/request.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/rest/request.go rename to staging/src/k8s.io/client-go/rest/request.go index 4e57a0cc277..1051da46ba0 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/request.go +++ b/staging/src/k8s.io/client-go/rest/request.go @@ -32,20 +32,20 @@ import ( "time" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - pathvalidation "k8s.io/client-go/1.5/pkg/api/validation/path" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/streaming" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" - "k8s.io/client-go/1.5/pkg/util/net" - "k8s.io/client-go/1.5/pkg/util/sets" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/pkg/watch/versioned" - "k8s.io/client-go/1.5/tools/metrics" + "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + pathvalidation "k8s.io/client-go/pkg/api/validation/path" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/streaming" + "k8s.io/client-go/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/util/net" + "k8s.io/client-go/pkg/util/sets" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/pkg/watch/versioned" + "k8s.io/client-go/tools/metrics" ) var ( @@ -357,8 +357,9 @@ var fieldMappings = versionToResourceToFieldMapping{ nodeUnschedulable: nodeUnschedulable, }, "pods": clientFieldNameToAPIVersionFieldName{ - podHost: podHost, - podStatus: podStatus, + objectNameField: objectNameField, + podHost: podHost, + podStatus: podStatus, }, "secrets": clientFieldNameToAPIVersionFieldName{ secretType: secretType, @@ -889,10 +890,11 @@ func (r *Request) transformResponse(resp *http.Response, req *http.Request) Resu } if glog.V(8) { - switch { - case bytes.IndexFunc(body, func(r rune) bool { return r < 0x0a }) != -1: + if bytes.IndexFunc(body, func(r rune) bool { + return r < 0x0a + }) != -1 { glog.Infof("Response Body:\n%s", hex.Dump(body)) - default: + } else { glog.Infof("Response Body: %s", string(body)) } } diff --git a/staging/src/k8s.io/client-go/1.5/rest/request_test.go b/staging/src/k8s.io/client-go/rest/request_test.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/rest/request_test.go rename to staging/src/k8s.io/client-go/rest/request_test.go index d6ad5bd18cb..3ac9e24147b 100755 --- a/staging/src/k8s.io/client-go/1.5/rest/request_test.go +++ b/staging/src/k8s.io/client-go/rest/request_test.go @@ -31,21 +31,22 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/api" - apierrors "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/testapi" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/streaming" - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" - "k8s.io/client-go/1.5/pkg/util/httpstream" - "k8s.io/client-go/1.5/pkg/util/intstr" - utiltesting "k8s.io/client-go/1.5/pkg/util/testing" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/pkg/watch/versioned" + "k8s.io/client-go/pkg/api" + apierrors "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/testapi" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/apimachinery/registered" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/streaming" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/util/httpstream" + "k8s.io/client-go/pkg/util/intstr" + utiltesting "k8s.io/client-go/pkg/util/testing" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/pkg/watch/versioned" ) func TestNewRequestSetsAccept(t *testing.T) { @@ -89,7 +90,7 @@ func TestRequestSetsHeaders(t *testing.T) { func TestRequestWithErrorWontChange(t *testing.T) { original := Request{ err: errors.New("test"), - content: ContentConfig{GroupVersion: testapi.Default.GroupVersion()}, + content: ContentConfig{GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion}, } r := original changed := r.Param("foo", "bar"). @@ -273,7 +274,7 @@ func (obj NotAnAPIObject) SetGroupVersionKind(gvk *unversioned.GroupVersionKind) func defaultContentConfig() ContentConfig { return ContentConfig{ - GroupVersion: testapi.Default.GroupVersion(), + GroupVersion: ®istered.GroupOrDie(api.GroupName).GroupVersion, NegotiatedSerializer: testapi.Default.NegotiatedSerializer(), } } @@ -1153,7 +1154,7 @@ func TestDoRequestNewWayReader(t *testing.T) { } tmpStr := string(reqBodyExpected) requestURL := testapi.Default.ResourcePathWithPrefix("foo", "bar", "", "baz") - requestURL += "?" + unversioned.LabelSelectorQueryParam(testapi.Default.GroupVersion().String()) + "=name%3Dfoo&timeout=1s" + requestURL += "?" + unversioned.LabelSelectorQueryParam(registered.GroupOrDie(api.GroupName).GroupVersion.String()) + "=name%3Dfoo&timeout=1s" fakeHandler.ValidateRequest(t, requestURL, "POST", &tmpStr) } @@ -1193,7 +1194,7 @@ func TestDoRequestNewWayObj(t *testing.T) { } tmpStr := string(reqBodyExpected) requestURL := testapi.Default.ResourcePath("foo", "", "bar/baz") - requestURL += "?" + unversioned.LabelSelectorQueryParam(testapi.Default.GroupVersion().String()) + "=name%3Dfoo&timeout=1s" + requestURL += "?" + unversioned.LabelSelectorQueryParam(registered.GroupOrDie(api.GroupName).GroupVersion.String()) + "=name%3Dfoo&timeout=1s" fakeHandler.ValidateRequest(t, requestURL, "POST", &tmpStr) } diff --git a/staging/src/k8s.io/client-go/1.5/rest/transport.go b/staging/src/k8s.io/client-go/rest/transport.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/rest/transport.go rename to staging/src/k8s.io/client-go/rest/transport.go index 6cd2757a228..0672fb46c8e 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/transport.go +++ b/staging/src/k8s.io/client-go/rest/transport.go @@ -20,13 +20,13 @@ import ( "crypto/tls" "net/http" - "k8s.io/client-go/1.5/transport" + "k8s.io/client-go/transport" ) // TLSConfigFor returns a tls.Config that will provide the transport level security defined // by the provided Config. Will return nil if no transport level security is requested. func TLSConfigFor(config *Config) (*tls.Config, error) { - cfg, err := config.transportConfig() + cfg, err := config.TransportConfig() if err != nil { return nil, err } @@ -37,7 +37,7 @@ func TLSConfigFor(config *Config) (*tls.Config, error) { // or transport level security defined by the provided Config. Will return the // default http.DefaultTransport if no special case behavior is needed. func TransportFor(config *Config) (http.RoundTripper, error) { - cfg, err := config.transportConfig() + cfg, err := config.TransportConfig() if err != nil { return nil, err } @@ -49,15 +49,15 @@ func TransportFor(config *Config) (http.RoundTripper, error) { // the underlying connection (like WebSocket or HTTP2 clients). Pure HTTP clients should use // the higher level TransportFor or RESTClientFor methods. func HTTPWrappersForConfig(config *Config, rt http.RoundTripper) (http.RoundTripper, error) { - cfg, err := config.transportConfig() + cfg, err := config.TransportConfig() if err != nil { return nil, err } return transport.HTTPWrappersForConfig(cfg, rt) } -// transportConfig converts a client config to an appropriate transport config. -func (c *Config) transportConfig() (*transport.Config, error) { +// TransportConfig converts a client config to an appropriate transport config. +func (c *Config) TransportConfig() (*transport.Config, error) { wt := c.WrapTransport if c.AuthProvider != nil { provider, err := GetAuthProvider(c.Host, c.AuthProvider, c.AuthConfigPersister) diff --git a/staging/src/k8s.io/client-go/1.5/rest/url_utils.go b/staging/src/k8s.io/client-go/rest/url_utils.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/rest/url_utils.go rename to staging/src/k8s.io/client-go/rest/url_utils.go index f674f47d15c..46da9910112 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/url_utils.go +++ b/staging/src/k8s.io/client-go/rest/url_utils.go @@ -21,7 +21,7 @@ import ( "net/url" "path" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) // DefaultServerURL converts a host, host:port, or URL string to the default base server API path diff --git a/staging/src/k8s.io/client-go/1.5/rest/url_utils_test.go b/staging/src/k8s.io/client-go/rest/url_utils_test.go similarity index 57% rename from staging/src/k8s.io/client-go/1.5/rest/url_utils_test.go rename to staging/src/k8s.io/client-go/rest/url_utils_test.go index cae74b0df64..ebac17de841 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/url_utils_test.go +++ b/staging/src/k8s.io/client-go/rest/url_utils_test.go @@ -20,7 +20,8 @@ import ( "path" "testing" - "k8s.io/client-go/1.5/pkg/api/testapi" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/apimachinery/registered" ) func TestValidatesHostParameter(t *testing.T) { @@ -31,17 +32,17 @@ func TestValidatesHostParameter(t *testing.T) { URL string Err bool }{ - {"127.0.0.1", "", "http://127.0.0.1/" + testapi.Default.GroupVersion().Version, false}, - {"127.0.0.1:8080", "", "http://127.0.0.1:8080/" + testapi.Default.GroupVersion().Version, false}, - {"foo.bar.com", "", "http://foo.bar.com/" + testapi.Default.GroupVersion().Version, false}, - {"http://host/prefix", "", "http://host/prefix/" + testapi.Default.GroupVersion().Version, false}, - {"http://host", "", "http://host/" + testapi.Default.GroupVersion().Version, false}, - {"http://host", "/", "http://host/" + testapi.Default.GroupVersion().Version, false}, - {"http://host", "/other", "http://host/other/" + testapi.Default.GroupVersion().Version, false}, + {"127.0.0.1", "", "http://127.0.0.1/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"127.0.0.1:8080", "", "http://127.0.0.1:8080/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"foo.bar.com", "", "http://foo.bar.com/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host/prefix", "", "http://host/prefix/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host", "", "http://host/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host", "/", "http://host/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, + {"http://host", "/other", "http://host/other/" + registered.GroupOrDie(api.GroupName).GroupVersion.Version, false}, {"host/server", "", "", true}, } for i, testCase := range testCases { - u, versionedAPIPath, err := DefaultServerURL(testCase.Host, testCase.APIPath, *testapi.Default.GroupVersion(), false) + u, versionedAPIPath, err := DefaultServerURL(testCase.Host, testCase.APIPath, registered.GroupOrDie(api.GroupName).GroupVersion, false) switch { case err == nil && testCase.Err: t.Errorf("expected error but was nil") diff --git a/staging/src/k8s.io/client-go/1.5/rest/urlbackoff.go b/staging/src/k8s.io/client-go/rest/urlbackoff.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/rest/urlbackoff.go rename to staging/src/k8s.io/client-go/rest/urlbackoff.go index bac7477ffea..1bfb61a61b2 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/urlbackoff.go +++ b/staging/src/k8s.io/client-go/rest/urlbackoff.go @@ -21,8 +21,8 @@ import ( "time" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/util/sets" ) // Set of resp. Codes that we backoff for. diff --git a/staging/src/k8s.io/client-go/1.5/rest/urlbackoff_test.go b/staging/src/k8s.io/client-go/rest/urlbackoff_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/rest/urlbackoff_test.go rename to staging/src/k8s.io/client-go/rest/urlbackoff_test.go index 486295e4609..c01d40c7402 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/urlbackoff_test.go +++ b/staging/src/k8s.io/client-go/rest/urlbackoff_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/util/flowcontrol" + "k8s.io/client-go/pkg/util/flowcontrol" ) func parse(raw string) *url.URL { diff --git a/staging/src/k8s.io/client-go/1.5/rest/versions.go b/staging/src/k8s.io/client-go/rest/versions.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/rest/versions.go rename to staging/src/k8s.io/client-go/rest/versions.go index e2cd9212c3e..12ef828dd7b 100644 --- a/staging/src/k8s.io/client-go/1.5/rest/versions.go +++ b/staging/src/k8s.io/client-go/rest/versions.go @@ -22,7 +22,7 @@ import ( "net/http" "path" - "k8s.io/client-go/1.5/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/unversioned" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/testing/actions.go b/staging/src/k8s.io/client-go/testing/actions.go similarity index 85% rename from staging/src/k8s.io/client-go/1.5/testing/actions.go rename to staging/src/k8s.io/client-go/testing/actions.go index 8b3112b698a..c8f955c348d 100644 --- a/staging/src/k8s.io/client-go/1.5/testing/actions.go +++ b/staging/src/k8s.io/client-go/testing/actions.go @@ -17,14 +17,16 @@ limitations under the License. package testing import ( + "fmt" "path" "strings" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/runtime" ) func NewRootGetAction(resource unversioned.GroupVersionResource, name string) GetActionImpl { @@ -46,36 +48,22 @@ func NewGetAction(resource unversioned.GroupVersionResource, namespace, name str return action } -func NewRootListAction(resource unversioned.GroupVersionResource, opts api.ListOptions) ListActionImpl { +func NewRootListAction(resource unversioned.GroupVersionResource, opts interface{}) ListActionImpl { action := ListActionImpl{} action.Verb = "list" action.Resource = resource - labelSelector := opts.LabelSelector - if labelSelector == nil { - labelSelector = labels.Everything() - } - fieldSelector := opts.FieldSelector - if fieldSelector == nil { - fieldSelector = fields.Everything() - } + labelSelector, fieldSelector, _ := ExtractFromListOptions(opts) action.ListRestrictions = ListRestrictions{labelSelector, fieldSelector} return action } -func NewListAction(resource unversioned.GroupVersionResource, namespace string, opts api.ListOptions) ListActionImpl { +func NewListAction(resource unversioned.GroupVersionResource, namespace string, opts interface{}) ListActionImpl { action := ListActionImpl{} action.Verb = "list" action.Resource = resource action.Namespace = namespace - labelSelector := opts.LabelSelector - if labelSelector == nil { - labelSelector = labels.Everything() - } - fieldSelector := opts.FieldSelector - if fieldSelector == nil { - fieldSelector = fields.Everything() - } + labelSelector, fieldSelector, _ := ExtractFromListOptions(opts) action.ListRestrictions = ListRestrictions{labelSelector, fieldSelector} return action @@ -202,72 +190,73 @@ func NewDeleteAction(resource unversioned.GroupVersionResource, namespace, name return action } -func NewRootDeleteCollectionAction(resource unversioned.GroupVersionResource, opts api.ListOptions) DeleteCollectionActionImpl { +func NewRootDeleteCollectionAction(resource unversioned.GroupVersionResource, opts interface{}) DeleteCollectionActionImpl { action := DeleteCollectionActionImpl{} action.Verb = "delete-collection" action.Resource = resource - labelSelector := opts.LabelSelector - if labelSelector == nil { - labelSelector = labels.Everything() - } - fieldSelector := opts.FieldSelector - if fieldSelector == nil { - fieldSelector = fields.Everything() - } + labelSelector, fieldSelector, _ := ExtractFromListOptions(opts) action.ListRestrictions = ListRestrictions{labelSelector, fieldSelector} return action } -func NewDeleteCollectionAction(resource unversioned.GroupVersionResource, namespace string, opts api.ListOptions) DeleteCollectionActionImpl { +func NewDeleteCollectionAction(resource unversioned.GroupVersionResource, namespace string, opts interface{}) DeleteCollectionActionImpl { action := DeleteCollectionActionImpl{} action.Verb = "delete-collection" action.Resource = resource action.Namespace = namespace - labelSelector := opts.LabelSelector - if labelSelector == nil { - labelSelector = labels.Everything() - } - fieldSelector := opts.FieldSelector - if fieldSelector == nil { - fieldSelector = fields.Everything() - } + labelSelector, fieldSelector, _ := ExtractFromListOptions(opts) action.ListRestrictions = ListRestrictions{labelSelector, fieldSelector} return action } -func NewRootWatchAction(resource unversioned.GroupVersionResource, opts api.ListOptions) WatchActionImpl { +func NewRootWatchAction(resource unversioned.GroupVersionResource, opts interface{}) WatchActionImpl { action := WatchActionImpl{} action.Verb = "watch" action.Resource = resource - labelSelector := opts.LabelSelector - if labelSelector == nil { - labelSelector = labels.Everything() - } - fieldSelector := opts.FieldSelector - if fieldSelector == nil { - fieldSelector = fields.Everything() - } - action.WatchRestrictions = WatchRestrictions{labelSelector, fieldSelector, opts.ResourceVersion} + labelSelector, fieldSelector, resourceVersion := ExtractFromListOptions(opts) + action.WatchRestrictions = WatchRestrictions{labelSelector, fieldSelector, resourceVersion} return action } -func NewWatchAction(resource unversioned.GroupVersionResource, namespace string, opts api.ListOptions) WatchActionImpl { +func ExtractFromListOptions(opts interface{}) (labelSelector labels.Selector, fieldSelector fields.Selector, resourceVersion string) { + var err error + switch t := opts.(type) { + case api.ListOptions: + labelSelector = t.LabelSelector + fieldSelector = t.FieldSelector + resourceVersion = t.ResourceVersion + case v1.ListOptions: + labelSelector, err = labels.Parse(t.LabelSelector) + if err != nil { + panic(err) + } + fieldSelector, err = fields.ParseSelector(t.FieldSelector) + if err != nil { + panic(err) + } + resourceVersion = t.ResourceVersion + default: + panic(fmt.Errorf("expect a ListOptions")) + } + if labelSelector == nil { + labelSelector = labels.Everything() + } + if fieldSelector == nil { + fieldSelector = fields.Everything() + } + return labelSelector, fieldSelector, resourceVersion +} + +func NewWatchAction(resource unversioned.GroupVersionResource, namespace string, opts interface{}) WatchActionImpl { action := WatchActionImpl{} action.Verb = "watch" action.Resource = resource action.Namespace = namespace - labelSelector := opts.LabelSelector - if labelSelector == nil { - labelSelector = labels.Everything() - } - fieldSelector := opts.FieldSelector - if fieldSelector == nil { - fieldSelector = fields.Everything() - } - action.WatchRestrictions = WatchRestrictions{labelSelector, fieldSelector, opts.ResourceVersion} + labelSelector, fieldSelector, resourceVersion := ExtractFromListOptions(opts) + action.WatchRestrictions = WatchRestrictions{labelSelector, fieldSelector, resourceVersion} return action } diff --git a/staging/src/k8s.io/client-go/1.5/testing/fake.go b/staging/src/k8s.io/client-go/testing/fake.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/testing/fake.go rename to staging/src/k8s.io/client-go/testing/fake.go index 208efec67ef..82e9efbf271 100644 --- a/staging/src/k8s.io/client-go/1.5/testing/fake.go +++ b/staging/src/k8s.io/client-go/testing/fake.go @@ -20,11 +20,11 @@ import ( "fmt" "sync" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/version" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/version" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/rest" ) // Fake implements client.Interface. Meant to be embedded into a struct to get diff --git a/staging/src/k8s.io/client-go/1.5/testing/fixture.go b/staging/src/k8s.io/client-go/testing/fixture.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/testing/fixture.go rename to staging/src/k8s.io/client-go/testing/fixture.go index 996d803fbc1..2a2d88c18f6 100644 --- a/staging/src/k8s.io/client-go/1.5/testing/fixture.go +++ b/staging/src/k8s.io/client-go/testing/fixture.go @@ -20,13 +20,13 @@ import ( "fmt" "sync" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apimachinery/registered" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/rest" + "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/apimachinery/registered" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/rest" ) // ObjectTracker keeps track of objects. It is intended to be used to diff --git a/staging/src/k8s.io/client-go/1.5/tools/auth/clientauth.go b/staging/src/k8s.io/client-go/tools/auth/clientauth.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/auth/clientauth.go rename to staging/src/k8s.io/client-go/tools/auth/clientauth.go index 81ec36bfd5c..d820adcafe2 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/auth/clientauth.go +++ b/staging/src/k8s.io/client-go/tools/auth/clientauth.go @@ -68,7 +68,7 @@ import ( "io/ioutil" "os" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/rest" ) // Info holds Kubernetes API authorization config. It is intended diff --git a/staging/src/k8s.io/client-go/1.5/tools/auth/clientauth_test.go b/staging/src/k8s.io/client-go/tools/auth/clientauth_test.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/auth/clientauth_test.go rename to staging/src/k8s.io/client-go/tools/auth/clientauth_test.go index 25549fcc173..11f7369de9f 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/auth/clientauth_test.go +++ b/staging/src/k8s.io/client-go/tools/auth/clientauth_test.go @@ -22,7 +22,7 @@ import ( "reflect" "testing" - clientauth "k8s.io/client-go/1.5/tools/auth" + clientauth "k8s.io/client-go/tools/auth" ) func TestLoadFromFile(t *testing.T) { diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/controller.go b/staging/src/k8s.io/client-go/tools/cache/controller.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/cache/controller.go rename to staging/src/k8s.io/client-go/tools/cache/controller.go index 413f455897a..8c814c99fa0 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/controller.go +++ b/staging/src/k8s.io/client-go/tools/cache/controller.go @@ -20,9 +20,9 @@ import ( "sync" "time" - "k8s.io/client-go/1.5/pkg/runtime" - utilruntime "k8s.io/client-go/1.5/pkg/util/runtime" - "k8s.io/client-go/1.5/pkg/util/wait" + "k8s.io/client-go/pkg/runtime" + utilruntime "k8s.io/client-go/pkg/util/runtime" + "k8s.io/client-go/pkg/util/wait" ) // Config contains all the settings for a Controller. diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/controller_test.go b/staging/src/k8s.io/client-go/tools/cache/controller_test.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/cache/controller_test.go rename to staging/src/k8s.io/client-go/tools/cache/controller_test.go index f5f281193c3..4fcef1ffe4d 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/controller_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/controller_test.go @@ -23,12 +23,12 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/sets" - "k8s.io/client-go/1.5/pkg/util/wait" - "k8s.io/client-go/1.5/pkg/watch" - fcache "k8s.io/client-go/1.5/tools/cache/testing" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/sets" + "k8s.io/client-go/pkg/util/wait" + "k8s.io/client-go/pkg/watch" + fcache "k8s.io/client-go/tools/cache/testing" "github.com/google/gofuzz" ) diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/delta_fifo.go b/staging/src/k8s.io/client-go/tools/cache/delta_fifo.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/cache/delta_fifo.go rename to staging/src/k8s.io/client-go/tools/cache/delta_fifo.go index b26eefe6aa7..af7de8a976e 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/delta_fifo.go +++ b/staging/src/k8s.io/client-go/tools/cache/delta_fifo.go @@ -21,7 +21,7 @@ import ( "fmt" "sync" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/sets" "github.com/golang/glog" ) @@ -437,11 +437,6 @@ func (f *DeltaFIFO) Replace(list []interface{}, resourceVersion string) error { defer f.lock.Unlock() keys := make(sets.String, len(list)) - if !f.populated { - f.populated = true - f.initialPopulationCount = len(list) - } - for _, item := range list { key, err := f.KeyOf(item) if err != nil { @@ -467,6 +462,12 @@ func (f *DeltaFIFO) Replace(list []interface{}, resourceVersion string) error { return err } } + + if !f.populated { + f.populated = true + f.initialPopulationCount = len(list) + } + return nil } @@ -474,6 +475,7 @@ func (f *DeltaFIFO) Replace(list []interface{}, resourceVersion string) error { // TODO(lavalamp): This may be racy-- we aren't properly locked // with knownObjects. Unproven. knownKeys := f.knownObjects.ListKeys() + queuedDeletions := 0 for _, k := range knownKeys { if keys.Has(k) { continue @@ -487,10 +489,17 @@ func (f *DeltaFIFO) Replace(list []interface{}, resourceVersion string) error { deletedObj = nil glog.Infof("Key %v does not exist in known objects store, placing DeleteFinalStateUnknown marker without object", k) } + queuedDeletions++ if err := f.queueActionLocked(Deleted, DeletedFinalStateUnknown{k, deletedObj}); err != nil { return err } } + + if !f.populated { + f.populated = true + f.initialPopulationCount = len(list) + queuedDeletions + } + return nil } diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/delta_fifo_test.go b/staging/src/k8s.io/client-go/tools/cache/delta_fifo_test.go similarity index 92% rename from staging/src/k8s.io/client-go/1.5/tools/cache/delta_fifo_test.go rename to staging/src/k8s.io/client-go/tools/cache/delta_fifo_test.go index f1a95573709..87bbdaeab89 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/delta_fifo_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/delta_fifo_test.go @@ -144,6 +144,9 @@ func TestDeltaFIFO_compressorWorks(t *testing.T) { }), nil, ) + if f.HasSynced() { + t.Errorf("Expected HasSynced to be false before completion of initial population") + } f.Add(mkFifoObj("foo", 10)) f.Update(mkFifoObj("foo", 12)) f.Replace([]interface{}{mkFifoObj("foo", 20)}, "0") @@ -156,7 +159,9 @@ func TestDeltaFIFO_compressorWorks(t *testing.T) { if e, a := (Deltas{{Added, mkFifoObj("foo", 25)}}), Pop(f).(Deltas); !reflect.DeepEqual(e, a) { t.Fatalf("Expected %#v, got %#v", e, a) } - + if !f.HasSynced() { + t.Errorf("Expected HasSynced to be true after completion of initial population") + } } func TestDeltaFIFO_addUpdate(t *testing.T) { @@ -359,6 +364,37 @@ func TestDeltaFIFO_UpdateResyncRace(t *testing.T) { } } +func TestDeltaFIFO_HasSyncedCorrectOnDeletion(t *testing.T) { + f := NewDeltaFIFO( + testFifoObjectKeyFunc, + nil, + keyLookupFunc(func() []testFifoObject { + return []testFifoObject{mkFifoObj("foo", 5), mkFifoObj("bar", 6), mkFifoObj("baz", 7)} + }), + ) + f.Replace([]interface{}{mkFifoObj("foo", 5)}, "0") + + expectedList := []Deltas{ + {{Sync, mkFifoObj("foo", 5)}}, + // Since "bar" didn't have a delete event and wasn't in the Replace list + // it should get a tombstone key with the right Obj. + {{Deleted, DeletedFinalStateUnknown{Key: "bar", Obj: mkFifoObj("bar", 6)}}}, + } + + for _, expected := range expectedList { + if f.HasSynced() { + t.Errorf("Expected HasSynced to be false") + } + cur := Pop(f).(Deltas) + if e, a := expected, cur; !reflect.DeepEqual(e, a) { + t.Errorf("Expected %#v, got %#v", e, a) + } + } + if f.HasSynced() { + t.Errorf("Expected HasSynced to be true") + } +} + func TestDeltaFIFO_detectLineJumpers(t *testing.T) { f := NewDeltaFIFO(testFifoObjectKeyFunc, nil, nil) diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/doc.go b/staging/src/k8s.io/client-go/tools/cache/doc.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/tools/cache/doc.go rename to staging/src/k8s.io/client-go/tools/cache/doc.go index 72b39f2f92b..56b61d3006f 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/doc.go +++ b/staging/src/k8s.io/client-go/tools/cache/doc.go @@ -21,4 +21,4 @@ limitations under the License. // list currently available nodes), and one that additionally acts as // a FIFO queue (for example, to allow a scheduler to process incoming // pods). -package cache // import "k8s.io/client-go/1.5/tools/cache" +package cache // import "k8s.io/client-go/tools/cache" diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache.go b/staging/src/k8s.io/client-go/tools/cache/expiration_cache.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache.go rename to staging/src/k8s.io/client-go/tools/cache/expiration_cache.go index 07f5dee40b2..10d68c533af 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache.go +++ b/staging/src/k8s.io/client-go/tools/cache/expiration_cache.go @@ -21,7 +21,7 @@ import ( "time" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/util/clock" + "k8s.io/client-go/pkg/util/clock" ) // ExpirationCache implements the store interface diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache_fakes.go b/staging/src/k8s.io/client-go/tools/cache/expiration_cache_fakes.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache_fakes.go rename to staging/src/k8s.io/client-go/tools/cache/expiration_cache_fakes.go index 53a346ce46e..13f4e4c0f51 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache_fakes.go +++ b/staging/src/k8s.io/client-go/tools/cache/expiration_cache_fakes.go @@ -17,8 +17,8 @@ limitations under the License. package cache import ( - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/sets" ) type fakeThreadSafeMap struct { diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache_test.go b/staging/src/k8s.io/client-go/tools/cache/expiration_cache_test.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache_test.go rename to staging/src/k8s.io/client-go/tools/cache/expiration_cache_test.go index 9e1ecc0da61..8d424a90628 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/expiration_cache_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/expiration_cache_test.go @@ -21,9 +21,9 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/sets" - "k8s.io/client-go/1.5/pkg/util/wait" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/sets" + "k8s.io/client-go/pkg/util/wait" ) func TestTTLExpirationBasic(t *testing.T) { diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/fake_custom_store.go b/staging/src/k8s.io/client-go/tools/cache/fake_custom_store.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/cache/fake_custom_store.go rename to staging/src/k8s.io/client-go/tools/cache/fake_custom_store.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/fifo.go b/staging/src/k8s.io/client-go/tools/cache/fifo.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/cache/fifo.go rename to staging/src/k8s.io/client-go/tools/cache/fifo.go index d0c002c5284..0e1c9a8bed9 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/fifo.go +++ b/staging/src/k8s.io/client-go/tools/cache/fifo.go @@ -19,7 +19,7 @@ package cache import ( "sync" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/sets" ) // PopProcessFunc is passed to Pop() method of Queue interface. diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/fifo_test.go b/staging/src/k8s.io/client-go/tools/cache/fifo_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/cache/fifo_test.go rename to staging/src/k8s.io/client-go/tools/cache/fifo_test.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/index.go b/staging/src/k8s.io/client-go/tools/cache/index.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/cache/index.go rename to staging/src/k8s.io/client-go/tools/cache/index.go index bc257ae03e2..25ad6780586 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/index.go +++ b/staging/src/k8s.io/client-go/tools/cache/index.go @@ -19,8 +19,8 @@ package cache import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/util/sets" ) // Indexer is a storage interface that lets you list objects using multiple indexing functions diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/index_test.go b/staging/src/k8s.io/client-go/tools/cache/index_test.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/cache/index_test.go rename to staging/src/k8s.io/client-go/tools/cache/index_test.go index 438a5431115..6794364738a 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/index_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/index_test.go @@ -20,7 +20,7 @@ import ( "strings" "testing" - "k8s.io/client-go/1.5/pkg/api" + "k8s.io/client-go/pkg/api" ) func testIndexFunc(obj interface{}) ([]string, error) { diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/listers.go b/staging/src/k8s.io/client-go/tools/cache/listers.go similarity index 63% rename from staging/src/k8s.io/client-go/1.5/tools/cache/listers.go rename to staging/src/k8s.io/client-go/tools/cache/listers.go index 1b607e77325..9b44cdaf393 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/listers.go +++ b/staging/src/k8s.io/client-go/tools/cache/listers.go @@ -20,16 +20,15 @@ import ( "fmt" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apis/apps" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/apis/certificates" - "k8s.io/client-go/1.5/pkg/apis/extensions" - "k8s.io/client-go/1.5/pkg/apis/policy" - "k8s.io/client-go/1.5/pkg/labels" + "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/apis/apps" + "k8s.io/client-go/pkg/apis/batch" + "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/labels" ) // AppendFunc is used to add a matching item to whatever list the caller is using @@ -62,7 +61,7 @@ func ListAllByNamespace(indexer Indexer, namespace string, selector labels.Selec return nil } - items, err := indexer.Index(NamespaceIndex, api.ObjectMeta{Namespace: namespace}) + items, err := indexer.Index(NamespaceIndex, &api.ObjectMeta{Namespace: namespace}) if err != nil { // Ignore error; do slow search without index. glog.Warningf("can not retrieve list of objects using index : %v", err) @@ -137,221 +136,6 @@ func (s storeToNodeConditionLister) List() (nodes []*api.Node, err error) { return } -// StoreToDeploymentLister gives a store List and Exists methods. The store must contain only Deployments. -type StoreToDeploymentLister struct { - Indexer -} - -// Exists checks if the given deployment exists in the store. -func (s *StoreToDeploymentLister) Exists(deployment *extensions.Deployment) (bool, error) { - _, exists, err := s.Indexer.Get(deployment) - if err != nil { - return false, err - } - return exists, nil -} - -// StoreToDeploymentLister lists all deployments in the store. -// TODO: converge on the interface in pkg/client -func (s *StoreToDeploymentLister) List() (deployments []extensions.Deployment, err error) { - for _, c := range s.Indexer.List() { - deployments = append(deployments, *(c.(*extensions.Deployment))) - } - return deployments, nil -} - -// GetDeploymentsForReplicaSet returns a list of deployments managing a replica set. Returns an error only if no matching deployments are found. -func (s *StoreToDeploymentLister) GetDeploymentsForReplicaSet(rs *extensions.ReplicaSet) (deployments []extensions.Deployment, err error) { - if len(rs.Labels) == 0 { - err = fmt.Errorf("no deployments found for ReplicaSet %v because it has no labels", rs.Name) - return - } - - // TODO: MODIFY THIS METHOD so that it checks for the podTemplateSpecHash label - dList, err := s.Deployments(rs.Namespace).List(labels.Everything()) - if err != nil { - return - } - for _, d := range dList { - selector, err := unversioned.LabelSelectorAsSelector(d.Spec.Selector) - if err != nil { - return nil, fmt.Errorf("invalid label selector: %v", err) - } - // If a deployment with a nil or empty selector creeps in, it should match nothing, not everything. - if selector.Empty() || !selector.Matches(labels.Set(rs.Labels)) { - continue - } - deployments = append(deployments, d) - } - if len(deployments) == 0 { - err = fmt.Errorf("could not find deployments set for ReplicaSet %s in namespace %s with labels: %v", rs.Name, rs.Namespace, rs.Labels) - } - return -} - -type storeToDeploymentNamespacer struct { - indexer Indexer - namespace string -} - -// storeToDeploymentNamespacer lists deployments under its namespace in the store. -func (s storeToDeploymentNamespacer) List(selector labels.Selector) (deployments []extensions.Deployment, err error) { - if s.namespace == api.NamespaceAll { - for _, m := range s.indexer.List() { - d := *(m.(*extensions.Deployment)) - if selector.Matches(labels.Set(d.Labels)) { - deployments = append(deployments, d) - } - } - return - } - - key := &extensions.Deployment{ObjectMeta: api.ObjectMeta{Namespace: s.namespace}} - items, err := s.indexer.Index(NamespaceIndex, key) - if err != nil { - // Ignore error; do slow search without index. - glog.Warningf("can not retrieve list of objects using index : %v", err) - for _, m := range s.indexer.List() { - d := *(m.(*extensions.Deployment)) - if s.namespace == d.Namespace && selector.Matches(labels.Set(d.Labels)) { - deployments = append(deployments, d) - } - } - return deployments, nil - } - for _, m := range items { - d := *(m.(*extensions.Deployment)) - if selector.Matches(labels.Set(d.Labels)) { - deployments = append(deployments, d) - } - } - return -} - -func (s *StoreToDeploymentLister) Deployments(namespace string) storeToDeploymentNamespacer { - return storeToDeploymentNamespacer{s.Indexer, namespace} -} - -// GetDeploymentsForPods returns a list of deployments managing a pod. Returns an error only if no matching deployments are found. -func (s *StoreToDeploymentLister) GetDeploymentsForPod(pod *api.Pod) (deployments []extensions.Deployment, err error) { - if len(pod.Labels) == 0 { - err = fmt.Errorf("no deployments found for Pod %v because it has no labels", pod.Name) - return - } - - if len(pod.Labels[extensions.DefaultDeploymentUniqueLabelKey]) == 0 { - return - } - - dList, err := s.Deployments(pod.Namespace).List(labels.Everything()) - if err != nil { - return - } - for _, d := range dList { - selector, err := unversioned.LabelSelectorAsSelector(d.Spec.Selector) - if err != nil { - return nil, fmt.Errorf("invalid label selector: %v", err) - } - // If a deployment with a nil or empty selector creeps in, it should match nothing, not everything. - if selector.Empty() || !selector.Matches(labels.Set(pod.Labels)) { - continue - } - deployments = append(deployments, d) - } - if len(deployments) == 0 { - err = fmt.Errorf("could not find deployments set for Pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels) - } - return -} - -// StoreToReplicaSetLister gives a store List and Exists methods. The store must contain only ReplicaSets. -type StoreToReplicaSetLister struct { - Store -} - -// Exists checks if the given ReplicaSet exists in the store. -func (s *StoreToReplicaSetLister) Exists(rs *extensions.ReplicaSet) (bool, error) { - _, exists, err := s.Store.Get(rs) - if err != nil { - return false, err - } - return exists, nil -} - -// List lists all ReplicaSets in the store. -// TODO: converge on the interface in pkg/client -func (s *StoreToReplicaSetLister) List() (rss []extensions.ReplicaSet, err error) { - for _, rs := range s.Store.List() { - rss = append(rss, *(rs.(*extensions.ReplicaSet))) - } - return rss, nil -} - -type storeReplicaSetsNamespacer struct { - store Store - namespace string -} - -func (s storeReplicaSetsNamespacer) List(selector labels.Selector) (rss []extensions.ReplicaSet, err error) { - for _, c := range s.store.List() { - rs := *(c.(*extensions.ReplicaSet)) - if s.namespace == api.NamespaceAll || s.namespace == rs.Namespace { - if selector.Matches(labels.Set(rs.Labels)) { - rss = append(rss, rs) - } - } - } - return -} - -func (s storeReplicaSetsNamespacer) Get(name string) (*extensions.ReplicaSet, error) { - obj, exists, err := s.store.GetByKey(s.namespace + "/" + name) - if err != nil { - return nil, err - } - if !exists { - return nil, errors.NewNotFound(extensions.Resource("replicaset"), name) - } - return obj.(*extensions.ReplicaSet), nil -} - -func (s *StoreToReplicaSetLister) ReplicaSets(namespace string) storeReplicaSetsNamespacer { - return storeReplicaSetsNamespacer{s.Store, namespace} -} - -// GetPodReplicaSets returns a list of ReplicaSets managing a pod. Returns an error only if no matching ReplicaSets are found. -func (s *StoreToReplicaSetLister) GetPodReplicaSets(pod *api.Pod) (rss []extensions.ReplicaSet, err error) { - var selector labels.Selector - var rs extensions.ReplicaSet - - if len(pod.Labels) == 0 { - err = fmt.Errorf("no ReplicaSets found for pod %v because it has no labels", pod.Name) - return - } - - for _, m := range s.Store.List() { - rs = *m.(*extensions.ReplicaSet) - if rs.Namespace != pod.Namespace { - continue - } - selector, err = unversioned.LabelSelectorAsSelector(rs.Spec.Selector) - if err != nil { - err = fmt.Errorf("invalid selector: %v", err) - return - } - - // If a ReplicaSet with a nil or empty selector creeps in, it should match nothing, not everything. - if selector.Empty() || !selector.Matches(labels.Set(pod.Labels)) { - continue - } - rss = append(rss, rs) - } - if len(rss) == 0 { - err = fmt.Errorf("could not find ReplicaSet for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels) - } - return -} - // StoreToDaemonSetLister gives a store List and Exists methods. The store must contain only DaemonSets. type StoreToDaemonSetLister struct { Store diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/listers_core.go b/staging/src/k8s.io/client-go/tools/cache/listers_core.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/cache/listers_core.go rename to staging/src/k8s.io/client-go/tools/cache/listers_core.go index 854c2a2ca78..98cceef929f 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/listers_core.go +++ b/staging/src/k8s.io/client-go/tools/cache/listers_core.go @@ -19,9 +19,9 @@ package cache import ( "fmt" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/labels" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/labels" ) // TODO: generate these classes and methods for all resources of interest using diff --git a/staging/src/k8s.io/client-go/tools/cache/listers_extensions.go b/staging/src/k8s.io/client-go/tools/cache/listers_extensions.go new file mode 100644 index 00000000000..7281df9e35b --- /dev/null +++ b/staging/src/k8s.io/client-go/tools/cache/listers_extensions.go @@ -0,0 +1,210 @@ +/* +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" + + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/apis/extensions" + "k8s.io/client-go/pkg/labels" +) + +// 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. + +// Lister makes an Index have the List method. The Stores must contain only the expected type +// Example: +// s := cache.NewStore() +// lw := cache.ListWatch{Client: c, FieldSelector: sel, Resource: "pods"} +// r := cache.NewReflector(lw, &extensions.Deployment{}, s).Run() +// l := StoreToDeploymentLister{s} +// l.List() + +// StoreToDeploymentLister helps list deployments +type StoreToDeploymentLister struct { + Indexer Indexer +} + +func (s *StoreToDeploymentLister) List(selector labels.Selector) (ret []*extensions.Deployment, err error) { + err = ListAll(s.Indexer, selector, func(m interface{}) { + ret = append(ret, m.(*extensions.Deployment)) + }) + return ret, err +} + +func (s *StoreToDeploymentLister) Deployments(namespace string) storeDeploymentsNamespacer { + return storeDeploymentsNamespacer{Indexer: s.Indexer, namespace: namespace} +} + +type storeDeploymentsNamespacer struct { + Indexer Indexer + namespace string +} + +func (s storeDeploymentsNamespacer) List(selector labels.Selector) (ret []*extensions.Deployment, err error) { + err = ListAllByNamespace(s.Indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*extensions.Deployment)) + }) + return ret, err +} + +func (s storeDeploymentsNamespacer) Get(name string) (*extensions.Deployment, error) { + obj, exists, err := s.Indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(extensions.Resource("deployment"), name) + } + return obj.(*extensions.Deployment), nil +} + +// GetDeploymentsForReplicaSet returns a list of deployments managing a replica set. Returns an error only if no matching deployments are found. +func (s *StoreToDeploymentLister) GetDeploymentsForReplicaSet(rs *extensions.ReplicaSet) (deployments []*extensions.Deployment, err error) { + if len(rs.Labels) == 0 { + err = fmt.Errorf("no deployments found for ReplicaSet %v because it has no labels", rs.Name) + return + } + + // TODO: MODIFY THIS METHOD so that it checks for the podTemplateSpecHash label + dList, err := s.Deployments(rs.Namespace).List(labels.Everything()) + if err != nil { + return + } + for _, d := range dList { + selector, err := unversioned.LabelSelectorAsSelector(d.Spec.Selector) + if err != nil { + return nil, fmt.Errorf("invalid label selector: %v", err) + } + // If a deployment with a nil or empty selector creeps in, it should match nothing, not everything. + if selector.Empty() || !selector.Matches(labels.Set(rs.Labels)) { + continue + } + deployments = append(deployments, d) + } + if len(deployments) == 0 { + err = fmt.Errorf("could not find deployments set for ReplicaSet %s in namespace %s with labels: %v", rs.Name, rs.Namespace, rs.Labels) + } + return +} + +// GetDeploymentsForDeployments returns a list of deployments managing a pod. Returns an error only if no matching deployments are found. +// TODO eliminate shallow copies +func (s *StoreToDeploymentLister) GetDeploymentsForPod(pod *api.Pod) (deployments []*extensions.Deployment, err error) { + if len(pod.Labels) == 0 { + err = fmt.Errorf("no deployments found for Pod %v because it has no labels", pod.Name) + return + } + + if len(pod.Labels[extensions.DefaultDeploymentUniqueLabelKey]) == 0 { + return + } + + dList, err := s.Deployments(pod.Namespace).List(labels.Everything()) + if err != nil { + return + } + for _, d := range dList { + selector, err := unversioned.LabelSelectorAsSelector(d.Spec.Selector) + if err != nil { + return nil, fmt.Errorf("invalid label selector: %v", err) + } + // If a deployment with a nil or empty selector creeps in, it should match nothing, not everything. + if selector.Empty() || !selector.Matches(labels.Set(pod.Labels)) { + continue + } + deployments = append(deployments, d) + } + if len(deployments) == 0 { + err = fmt.Errorf("could not find deployments set for Pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels) + } + return +} + +// StoreToReplicaSetLister helps list replicasets +type StoreToReplicaSetLister struct { + Indexer Indexer +} + +func (s *StoreToReplicaSetLister) List(selector labels.Selector) (ret []*extensions.ReplicaSet, err error) { + err = ListAll(s.Indexer, selector, func(m interface{}) { + ret = append(ret, m.(*extensions.ReplicaSet)) + }) + return ret, err +} + +func (s *StoreToReplicaSetLister) ReplicaSets(namespace string) storeReplicaSetsNamespacer { + return storeReplicaSetsNamespacer{Indexer: s.Indexer, namespace: namespace} +} + +type storeReplicaSetsNamespacer struct { + Indexer Indexer + namespace string +} + +func (s storeReplicaSetsNamespacer) List(selector labels.Selector) (ret []*extensions.ReplicaSet, err error) { + err = ListAllByNamespace(s.Indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*extensions.ReplicaSet)) + }) + return ret, err +} + +func (s storeReplicaSetsNamespacer) Get(name string) (*extensions.ReplicaSet, error) { + obj, exists, err := s.Indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(extensions.Resource("replicaset"), name) + } + return obj.(*extensions.ReplicaSet), nil +} + +// GetPodReplicaSets returns a list of ReplicaSets managing a pod. Returns an error only if no matching ReplicaSets are found. +func (s *StoreToReplicaSetLister) GetPodReplicaSets(pod *api.Pod) (rss []*extensions.ReplicaSet, err error) { + if len(pod.Labels) == 0 { + err = fmt.Errorf("no ReplicaSets found for pod %v because it has no labels", pod.Name) + return + } + + list, err := s.ReplicaSets(pod.Namespace).List(labels.Everything()) + if err != nil { + return + } + for _, rs := range list { + if rs.Namespace != pod.Namespace { + continue + } + selector, err := unversioned.LabelSelectorAsSelector(rs.Spec.Selector) + if err != nil { + return nil, fmt.Errorf("invalid selector: %v", err) + } + + // If a ReplicaSet with a nil or empty selector creeps in, it should match nothing, not everything. + if selector.Empty() || !selector.Matches(labels.Set(pod.Labels)) { + continue + } + rss = append(rss, rs) + } + if len(rss) == 0 { + err = fmt.Errorf("could not find ReplicaSet for pod %s in namespace %s with labels: %v", pod.Name, pod.Namespace, pod.Labels) + } + return +} diff --git a/staging/src/k8s.io/client-go/tools/cache/listers_rbac.go b/staging/src/k8s.io/client-go/tools/cache/listers_rbac.go new file mode 100644 index 00000000000..fb9906f19e1 --- /dev/null +++ b/staging/src/k8s.io/client-go/tools/cache/listers_rbac.go @@ -0,0 +1,234 @@ +/* +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 ( + "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/apis/rbac" + "k8s.io/client-go/pkg/labels" +) + +// TODO: generate these classes and methods for all resources of interest using +// a script. Can use "go generate" once 1.4 is supported by all users. + +// Lister makes an Index have the List method. The Stores must contain only the expected type +// Example: +// s := cache.NewStore() +// lw := cache.ListWatch{Client: c, FieldSelector: sel, Resource: "pods"} +// r := cache.NewReflector(lw, &rbac.ClusterRole{}, s).Run() +// l := clusterRoleLister{s} +// l.List() + +func NewClusterRoleLister(indexer Indexer) ClusterRoleLister { + return &clusterRoleLister{indexer: indexer} +} +func NewClusterRoleBindingLister(indexer Indexer) ClusterRoleBindingLister { + return &clusterRoleBindingLister{indexer: indexer} +} +func NewRoleLister(indexer Indexer) RoleLister { + return &roleLister{indexer: indexer} +} +func NewRoleBindingLister(indexer Indexer) RoleBindingLister { + return &roleBindingLister{indexer: indexer} +} + +// these interfaces are used by the rbac authorizer +type authorizerClusterRoleGetter interface { + GetClusterRole(name string) (*rbac.ClusterRole, error) +} + +type authorizerClusterRoleBindingLister interface { + ListClusterRoleBindings() ([]*rbac.ClusterRoleBinding, error) +} + +type authorizerRoleGetter interface { + GetRole(namespace, name string) (*rbac.Role, error) +} + +type authorizerRoleBindingLister interface { + ListRoleBindings(namespace string) ([]*rbac.RoleBinding, error) +} + +type ClusterRoleLister interface { + authorizerClusterRoleGetter + List(selector labels.Selector) (ret []*rbac.ClusterRole, err error) + Get(name string) (*rbac.ClusterRole, error) +} + +type clusterRoleLister struct { + indexer Indexer +} + +func (s *clusterRoleLister) List(selector labels.Selector) (ret []*rbac.ClusterRole, err error) { + err = ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*rbac.ClusterRole)) + }) + return ret, err +} + +func (s clusterRoleLister) Get(name string) (*rbac.ClusterRole, error) { + obj, exists, err := s.indexer.GetByKey(name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(rbac.Resource("clusterrole"), name) + } + return obj.(*rbac.ClusterRole), nil +} + +func (s clusterRoleLister) GetClusterRole(name string) (*rbac.ClusterRole, error) { + return s.Get(name) +} + +type ClusterRoleBindingLister interface { + authorizerClusterRoleBindingLister + List(selector labels.Selector) (ret []*rbac.ClusterRoleBinding, err error) + Get(name string) (*rbac.ClusterRoleBinding, error) +} + +type clusterRoleBindingLister struct { + indexer Indexer +} + +func (s *clusterRoleBindingLister) List(selector labels.Selector) (ret []*rbac.ClusterRoleBinding, err error) { + err = ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*rbac.ClusterRoleBinding)) + }) + return ret, err +} + +func (s clusterRoleBindingLister) Get(name string) (*rbac.ClusterRoleBinding, error) { + obj, exists, err := s.indexer.GetByKey(name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(rbac.Resource("clusterrolebinding"), name) + } + return obj.(*rbac.ClusterRoleBinding), nil +} + +func (s clusterRoleBindingLister) ListClusterRoleBindings() ([]*rbac.ClusterRoleBinding, error) { + return s.List(labels.Everything()) +} + +type RoleLister interface { + authorizerRoleGetter + List(selector labels.Selector) (ret []*rbac.Role, err error) + Roles(namespace string) RoleNamespaceLister +} + +type RoleNamespaceLister interface { + List(selector labels.Selector) (ret []*rbac.Role, err error) + Get(name string) (*rbac.Role, error) +} + +type roleLister struct { + indexer Indexer +} + +func (s *roleLister) List(selector labels.Selector) (ret []*rbac.Role, err error) { + err = ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*rbac.Role)) + }) + return ret, err +} + +func (s *roleLister) Roles(namespace string) RoleNamespaceLister { + return roleNamespaceLister{indexer: s.indexer, namespace: namespace} +} + +func (s roleLister) GetRole(namespace, name string) (*rbac.Role, error) { + return s.Roles(namespace).Get(name) +} + +type roleNamespaceLister struct { + indexer Indexer + namespace string +} + +func (s roleNamespaceLister) List(selector labels.Selector) (ret []*rbac.Role, err error) { + err = ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*rbac.Role)) + }) + return ret, err +} + +func (s roleNamespaceLister) Get(name string) (*rbac.Role, error) { + obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(rbac.Resource("role"), name) + } + return obj.(*rbac.Role), nil +} + +type RoleBindingLister interface { + authorizerRoleBindingLister + List(selector labels.Selector) (ret []*rbac.RoleBinding, err error) + RoleBindings(namespace string) RoleBindingNamespaceLister +} + +type RoleBindingNamespaceLister interface { + List(selector labels.Selector) (ret []*rbac.RoleBinding, err error) + Get(name string) (*rbac.RoleBinding, error) +} + +type roleBindingLister struct { + indexer Indexer +} + +func (s *roleBindingLister) List(selector labels.Selector) (ret []*rbac.RoleBinding, err error) { + err = ListAll(s.indexer, selector, func(m interface{}) { + ret = append(ret, m.(*rbac.RoleBinding)) + }) + return ret, err +} + +func (s *roleBindingLister) RoleBindings(namespace string) RoleBindingNamespaceLister { + return roleBindingNamespaceLister{indexer: s.indexer, namespace: namespace} +} + +func (s roleBindingLister) ListRoleBindings(namespace string) ([]*rbac.RoleBinding, error) { + return s.RoleBindings(namespace).List(labels.Everything()) +} + +type roleBindingNamespaceLister struct { + indexer Indexer + namespace string +} + +func (s roleBindingNamespaceLister) List(selector labels.Selector) (ret []*rbac.RoleBinding, err error) { + err = ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) { + ret = append(ret, m.(*rbac.RoleBinding)) + }) + return ret, err +} + +func (s roleBindingNamespaceLister) Get(name string) (*rbac.RoleBinding, error) { + obj, exists, err := s.indexer.GetByKey(s.namespace + "/" + name) + if err != nil { + return nil, err + } + if !exists { + return nil, errors.NewNotFound(rbac.Resource("rolebinding"), name) + } + return obj.(*rbac.RoleBinding), nil +} diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/listers_test.go b/staging/src/k8s.io/client-go/tools/cache/listers_test.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/tools/cache/listers_test.go rename to staging/src/k8s.io/client-go/tools/cache/listers_test.go index 822dc80bc0b..6b4ce360a1b 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/listers_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/listers_test.go @@ -19,13 +19,13 @@ package cache import ( "testing" - "k8s.io/client-go/1.5/pkg/api" - apierrors "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/apis/batch" - "k8s.io/client-go/1.5/pkg/apis/extensions" - "k8s.io/client-go/1.5/pkg/labels" - "k8s.io/client-go/1.5/pkg/util/sets" + "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/apis/batch" + "k8s.io/client-go/pkg/apis/extensions" + "k8s.io/client-go/pkg/labels" + "k8s.io/client-go/pkg/util/sets" ) func TestStoreToNodeLister(t *testing.T) { @@ -280,11 +280,11 @@ func TestStoreToReplicationControllerLister(t *testing.T) { } func TestStoreToReplicaSetLister(t *testing.T) { - store := NewStore(MetaNamespaceKeyFunc) + store := NewIndexer(MetaNamespaceKeyFunc, Indexers{NamespaceIndex: MetaNamespaceIndexFunc}) lister := StoreToReplicaSetLister{store} testCases := []struct { inRSs []*extensions.ReplicaSet - list func() ([]extensions.ReplicaSet, error) + list func() ([]*extensions.ReplicaSet, error) outRSNames sets.String expectErr bool }{ @@ -293,8 +293,8 @@ func TestStoreToReplicaSetLister(t *testing.T) { inRSs: []*extensions.ReplicaSet{ {ObjectMeta: api.ObjectMeta{Name: "basic"}}, }, - list: func() ([]extensions.ReplicaSet, error) { - return lister.List() + list: func() ([]*extensions.ReplicaSet, error) { + return lister.List(labels.Everything()) }, outRSNames: sets.NewString("basic"), }, @@ -308,7 +308,7 @@ func TestStoreToReplicaSetLister(t *testing.T) { }, }, }, - list: func() ([]extensions.ReplicaSet, error) { + list: func() ([]*extensions.ReplicaSet, error) { pod := &api.Pod{ ObjectMeta: api.ObjectMeta{Name: "pod1", Namespace: "ns"}, } @@ -324,7 +324,7 @@ func TestStoreToReplicaSetLister(t *testing.T) { ObjectMeta: api.ObjectMeta{Name: "basic", Namespace: "ns"}, }, }, - list: func() ([]extensions.ReplicaSet, error) { + list: func() ([]*extensions.ReplicaSet, error) { pod := &api.Pod{ ObjectMeta: api.ObjectMeta{ Name: "pod1", @@ -353,7 +353,7 @@ func TestStoreToReplicaSetLister(t *testing.T) { }, }, }, - list: func() ([]extensions.ReplicaSet, error) { + list: func() ([]*extensions.ReplicaSet, error) { pod := &api.Pod{ ObjectMeta: api.ObjectMeta{ Name: "pod1", diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/listwatch.go b/staging/src/k8s.io/client-go/tools/cache/listwatch.go similarity index 93% rename from staging/src/k8s.io/client-go/1.5/tools/cache/listwatch.go rename to staging/src/k8s.io/client-go/tools/cache/listwatch.go index 4790c9c5c47..dddb83d7165 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/listwatch.go +++ b/staging/src/k8s.io/client-go/tools/cache/listwatch.go @@ -19,11 +19,11 @@ package cache import ( "time" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/fields" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/fields" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/rest" ) // ListFunc knows how to list resources diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/processor_listener_test.go b/staging/src/k8s.io/client-go/tools/cache/processor_listener_test.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/tools/cache/processor_listener_test.go rename to staging/src/k8s.io/client-go/tools/cache/processor_listener_test.go index 74c48be9bc2..b68b678ce99 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/processor_listener_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/processor_listener_test.go @@ -20,7 +20,7 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/util/wait" + "k8s.io/client-go/pkg/util/wait" ) // TestPopReleaseLock tests that when processor listener blocks on chan, diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/reflector.go b/staging/src/k8s.io/client-go/tools/cache/reflector.go similarity index 96% rename from staging/src/k8s.io/client-go/1.5/tools/cache/reflector.go rename to staging/src/k8s.io/client-go/tools/cache/reflector.go index 8dacf3ac130..1f3017d0341 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/reflector.go +++ b/staging/src/k8s.io/client-go/tools/cache/reflector.go @@ -34,13 +34,13 @@ import ( "time" "github.com/golang/glog" - "k8s.io/client-go/1.5/pkg/api" - apierrs "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/runtime" - utilruntime "k8s.io/client-go/1.5/pkg/util/runtime" - "k8s.io/client-go/1.5/pkg/util/wait" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/api" + apierrs "k8s.io/client-go/pkg/api/errors" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/runtime" + utilruntime "k8s.io/client-go/pkg/util/runtime" + "k8s.io/client-go/pkg/util/wait" + "k8s.io/client-go/pkg/watch" ) // ListerWatcher is any object that knows how to perform an initial list and start a watch on a resource. @@ -125,7 +125,7 @@ func NewNamedReflector(name string, lw ListerWatcher, expectedType interface{}, // internalPackages are packages that ignored when creating a default reflector name. These packages are in the common // call chains to NewReflector, so they'd be low entropy names for reflectors -var internalPackages = []string{"kubernetes/pkg/client/cache/", "kubernetes/pkg/controller/framework/", "/runtime/asm_"} +var internalPackages = []string{"kubernetes/pkg/client/cache/", "/runtime/asm_"} // getDefaultReflectorName walks back through the call stack until we find a caller from outside of the ignoredPackages // it returns back a shortpath/filename:line to aid in identification of this reflector when it starts logging @@ -164,8 +164,8 @@ func hasPackage(file string, ignoredPackages []string) bool { // trimPackagePrefix reduces duplicate values off the front of a package name. func trimPackagePrefix(file string) string { - if l := strings.LastIndex(file, "k8s.io/client-go/1.5/pkg/"); l >= 0 { - return file[l+len("k8s.io/client-go/1.5/"):] + if l := strings.LastIndex(file, "k8s.io/client-go/pkg/"); l >= 0 { + return file[l+len("k8s.io/client-go/"):] } if l := strings.LastIndex(file, "/src/"); l >= 0 { return file[l+5:] diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/reflector_test.go b/staging/src/k8s.io/client-go/tools/cache/reflector_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/cache/reflector_test.go rename to staging/src/k8s.io/client-go/tools/cache/reflector_test.go index dc2f45ec1a3..9ae39afad8f 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/reflector_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/reflector_test.go @@ -24,11 +24,11 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/wait" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/wait" + "k8s.io/client-go/pkg/watch" ) var nevererrc chan error diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/shared_informer.go b/staging/src/k8s.io/client-go/tools/cache/shared_informer.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/cache/shared_informer.go rename to staging/src/k8s.io/client-go/tools/cache/shared_informer.go index ffa6a919a90..8e48b6001d5 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/shared_informer.go +++ b/staging/src/k8s.io/client-go/tools/cache/shared_informer.go @@ -21,9 +21,9 @@ import ( "sync" "time" - "k8s.io/client-go/1.5/pkg/runtime" - utilruntime "k8s.io/client-go/1.5/pkg/util/runtime" - "k8s.io/client-go/1.5/pkg/util/wait" + "k8s.io/client-go/pkg/runtime" + utilruntime "k8s.io/client-go/pkg/util/runtime" + "k8s.io/client-go/pkg/util/wait" "github.com/golang/glog" ) diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/store.go b/staging/src/k8s.io/client-go/tools/cache/store.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/cache/store.go rename to staging/src/k8s.io/client-go/tools/cache/store.go index 6dcf50a66e7..d8e65e495ca 100755 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/store.go +++ b/staging/src/k8s.io/client-go/tools/cache/store.go @@ -20,7 +20,7 @@ import ( "fmt" "strings" - "k8s.io/client-go/1.5/pkg/api/meta" + "k8s.io/client-go/pkg/api/meta" ) // Store is a generic object storage interface. Reflector knows how to watch a server diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/store_test.go b/staging/src/k8s.io/client-go/tools/cache/store_test.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/cache/store_test.go rename to staging/src/k8s.io/client-go/tools/cache/store_test.go index 683cb312613..9c9655fdbdd 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/store_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/store_test.go @@ -19,7 +19,7 @@ package cache import ( "testing" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/sets" ) // Test public interface diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/testing/fake_controller_source.go b/staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/cache/testing/fake_controller_source.go rename to staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source.go index 0f5565137f6..6eb6ca87296 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/testing/fake_controller_source.go +++ b/staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source.go @@ -22,11 +22,11 @@ import ( "strconv" "sync" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/api/meta" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/types" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/api/meta" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/types" + "k8s.io/client-go/pkg/watch" ) func NewFakeControllerSource() *FakeControllerSource { diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/testing/fake_controller_source_test.go b/staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source_test.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/cache/testing/fake_controller_source_test.go rename to staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source_test.go index 135af37b79f..6c4f56d50d9 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/testing/fake_controller_source_test.go +++ b/staging/src/k8s.io/client-go/tools/cache/testing/fake_controller_source_test.go @@ -20,8 +20,8 @@ import ( "sync" "testing" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/watch" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/watch" ) // ensure the watch delivers the requested and only the requested items. diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/thread_safe_store.go b/staging/src/k8s.io/client-go/tools/cache/thread_safe_store.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/cache/thread_safe_store.go rename to staging/src/k8s.io/client-go/tools/cache/thread_safe_store.go index 913a77ac2b8..1f5fb35436e 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/cache/thread_safe_store.go +++ b/staging/src/k8s.io/client-go/tools/cache/thread_safe_store.go @@ -20,7 +20,7 @@ import ( "fmt" "sync" - "k8s.io/client-go/1.5/pkg/util/sets" + "k8s.io/client-go/pkg/util/sets" ) // ThreadSafeStore is an interface that allows concurrent access to a storage backend. diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/undelta_store.go b/staging/src/k8s.io/client-go/tools/cache/undelta_store.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/cache/undelta_store.go rename to staging/src/k8s.io/client-go/tools/cache/undelta_store.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/cache/undelta_store_test.go b/staging/src/k8s.io/client-go/tools/cache/undelta_store_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/cache/undelta_store_test.go rename to staging/src/k8s.io/client-go/tools/cache/undelta_store_test.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/helpers.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/helpers.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/helpers.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/helpers.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/helpers_test.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/helpers_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/helpers_test.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/helpers_test.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/latest/latest.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/latest/latest.go similarity index 86% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/latest/latest.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/latest/latest.go index 6bbbd90bcb3..e47ab71882c 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/latest/latest.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/latest/latest.go @@ -17,12 +17,12 @@ limitations under the License. package latest import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/runtime/serializer/json" - "k8s.io/client-go/1.5/pkg/runtime/serializer/versioning" - "k8s.io/client-go/1.5/tools/clientcmd/api" - "k8s.io/client-go/1.5/tools/clientcmd/api/v1" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/runtime/serializer/json" + "k8s.io/client-go/pkg/runtime/serializer/versioning" + "k8s.io/client-go/tools/clientcmd/api" + "k8s.io/client-go/tools/clientcmd/api/v1" ) // Version is the string that represents the current external default version. diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/register.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/register.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/register.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/register.go index a7f46d5ac2c..efca4eea143 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/register.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/register.go @@ -17,8 +17,8 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // SchemeGroupVersion is group version used to register these objects diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/types.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/types.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/types.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/types.go index 7b7ed9f5bf3..fa46ce18ebc 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/types.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/types.go @@ -17,7 +17,7 @@ limitations under the License. package api import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) // Where possible, json tags match the cli argument names. diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/types_test.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/types_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/types_test.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/types_test.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/conversion.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/conversion.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/conversion.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/v1/conversion.go index cd0982f4d3c..61bc4793265 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/conversion.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/conversion.go @@ -19,9 +19,9 @@ package v1 import ( "sort" - "k8s.io/client-go/1.5/pkg/conversion" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/tools/clientcmd/api" + "k8s.io/client-go/pkg/conversion" + "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/tools/clientcmd/api" ) func addConversionFuncs(scheme *runtime.Scheme) error { diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/register.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/register.go similarity index 94% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/register.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/v1/register.go index fe2490e638f..d8659354a62 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/register.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/register.go @@ -17,8 +17,8 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // SchemeGroupVersion is group version used to register these objects diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/types.go b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/types.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/types.go rename to staging/src/k8s.io/client-go/tools/clientcmd/api/v1/types.go index 0f355132c8f..90a1f2d8b40 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/api/v1/types.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/api/v1/types.go @@ -17,7 +17,7 @@ limitations under the License. package v1 import ( - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/runtime" ) // Where possible, json tags match the cli argument names. diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/auth_loaders.go b/staging/src/k8s.io/client-go/tools/clientcmd/auth_loaders.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/auth_loaders.go rename to staging/src/k8s.io/client-go/tools/clientcmd/auth_loaders.go index 2076f94c573..12331f6e65e 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/auth_loaders.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/auth_loaders.go @@ -24,7 +24,7 @@ import ( "os" "github.com/howeyc/gopass" - clientauth "k8s.io/client-go/1.5/tools/auth" + clientauth "k8s.io/client-go/tools/auth" ) // AuthLoaders are used to build clientauth.Info objects. diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/client_config.go b/staging/src/k8s.io/client-go/tools/clientcmd/client_config.go similarity index 82% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/client_config.go rename to staging/src/k8s.io/client-go/tools/clientcmd/client_config.go index 1b30022163b..61bda9f6be0 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/client_config.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/client_config.go @@ -30,10 +30,10 @@ import ( "strconv" "time" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/rest" - clientauth "k8s.io/client-go/1.5/tools/auth" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/rest" + clientauth "k8s.io/client-go/tools/auth" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) var ( @@ -102,12 +102,28 @@ func (config *DirectClientConfig) RawConfig() (clientcmdapi.Config, error) { // ClientConfig implements ClientConfig func (config *DirectClientConfig) ClientConfig() (*rest.Config, error) { - if err := config.ConfirmUsable(); err != nil { + // check that getAuthInfo, getContext, and getCluster do not return an error. + // Do this before checking if the curent config is usable in the event that an + // AuthInfo, Context, or Cluster config with user-defined names are not found. + // This provides a user with the immediate cause for error if one is found + configAuthInfo, err := config.getAuthInfo() + if err != nil { return nil, err } - configAuthInfo := config.getAuthInfo() - configClusterInfo := config.getCluster() + _, err = config.getContext() + if err != nil { + return nil, err + } + + configClusterInfo, err := config.getCluster() + if err != nil { + return nil, err + } + + if err := config.ConfirmUsable(); err != nil { + return nil, err + } clientConfig := &rest.Config{} clientConfig.Host = configClusterInfo.Server @@ -140,7 +156,8 @@ func (config *DirectClientConfig) ClientConfig() (*rest.Config, error) { // Our mergo.Merge version is older than this change. var persister rest.AuthProviderConfigPersister if config.configAccess != nil { - persister = PersisterForUser(config.configAccess, config.getAuthInfoName()) + authInfoName, _ := config.getAuthInfoName() + persister = PersisterForUser(config.configAccess, authInfoName) } userAuthPartialConfig, err := getUserIdentificationPartialConfig(configAuthInfo, config.fallbackReader, persister) if err != nil { @@ -266,7 +283,10 @@ func (config *DirectClientConfig) Namespace() (string, bool, error) { return "", false, err } - configContext := config.getContext() + configContext, err := config.getContext() + if err != nil { + return "", false, err + } if len(configContext.Namespace) == 0 { return api.NamespaceDefault, false, nil @@ -303,8 +323,12 @@ func (config *DirectClientConfig) ConfirmUsable() error { } } - validationErrors = append(validationErrors, validateAuthInfo(config.getAuthInfoName(), config.getAuthInfo())...) - validationErrors = append(validationErrors, validateClusterInfo(config.getClusterName(), config.getCluster())...) + authInfoName, _ := config.getAuthInfoName() + authInfo, _ := config.getAuthInfo() + validationErrors = append(validationErrors, validateAuthInfo(authInfoName, authInfo)...) + clusterName, _ := config.getClusterName() + cluster, _ := config.getCluster() + validationErrors = append(validationErrors, validateClusterInfo(clusterName, cluster)...) // when direct client config is specified, and our only error is that no server is defined, we should // return a standard "no config" error if len(validationErrors) == 1 && validationErrors[0] == ErrEmptyCluster { @@ -313,65 +337,84 @@ func (config *DirectClientConfig) ConfirmUsable() error { return newErrConfigurationInvalid(validationErrors) } -func (config *DirectClientConfig) getContextName() string { +// getContextName returns the default, or user-set context name, and a boolean that indicates +// whether the default context name has been overwritten by a user-set flag, or left as its default value +func (config *DirectClientConfig) getContextName() (string, bool) { if len(config.overrides.CurrentContext) != 0 { - return config.overrides.CurrentContext + return config.overrides.CurrentContext, true } if len(config.contextName) != 0 { - return config.contextName + return config.contextName, false } - return config.config.CurrentContext + return config.config.CurrentContext, false } -func (config *DirectClientConfig) getAuthInfoName() string { +// getAuthInfoName returns a string containing the current authinfo name for the current context, +// and a boolean indicating whether the default authInfo name is overwritten by a user-set flag, or +// left as its default value +func (config *DirectClientConfig) getAuthInfoName() (string, bool) { if len(config.overrides.Context.AuthInfo) != 0 { - return config.overrides.Context.AuthInfo + return config.overrides.Context.AuthInfo, true } - return config.getContext().AuthInfo + context, _ := config.getContext() + return context.AuthInfo, false } -func (config *DirectClientConfig) getClusterName() string { +// getClusterName returns a string containing the default, or user-set cluster name, and a boolean +// indicating whether the default clusterName has been overwritten by a user-set flag, or left as +// its default value +func (config *DirectClientConfig) getClusterName() (string, bool) { if len(config.overrides.Context.Cluster) != 0 { - return config.overrides.Context.Cluster + return config.overrides.Context.Cluster, true } - return config.getContext().Cluster + context, _ := config.getContext() + return context.Cluster, false } -func (config *DirectClientConfig) getContext() clientcmdapi.Context { +// getContext returns the clientcmdapi.Context, or an error if a required context is not found. +func (config *DirectClientConfig) getContext() (clientcmdapi.Context, error) { contexts := config.config.Contexts - contextName := config.getContextName() + contextName, required := config.getContextName() var mergedContext clientcmdapi.Context if configContext, exists := contexts[contextName]; exists { mergo.Merge(&mergedContext, configContext) + } else if required { + return clientcmdapi.Context{}, fmt.Errorf("context %q does not exist", contextName) } mergo.Merge(&mergedContext, config.overrides.Context) - return mergedContext + return mergedContext, nil } -func (config *DirectClientConfig) getAuthInfo() clientcmdapi.AuthInfo { +// getAuthInfo returns the clientcmdapi.AuthInfo, or an error if a required auth info is not found. +func (config *DirectClientConfig) getAuthInfo() (clientcmdapi.AuthInfo, error) { authInfos := config.config.AuthInfos - authInfoName := config.getAuthInfoName() + authInfoName, required := config.getAuthInfoName() var mergedAuthInfo clientcmdapi.AuthInfo if configAuthInfo, exists := authInfos[authInfoName]; exists { mergo.Merge(&mergedAuthInfo, configAuthInfo) + } else if required { + return clientcmdapi.AuthInfo{}, fmt.Errorf("auth info %q does not exist", authInfoName) } mergo.Merge(&mergedAuthInfo, config.overrides.AuthInfo) - return mergedAuthInfo + return mergedAuthInfo, nil } -func (config *DirectClientConfig) getCluster() clientcmdapi.Cluster { +// getCluster returns the clientcmdapi.Cluster, or an error if a required cluster is not found. +func (config *DirectClientConfig) getCluster() (clientcmdapi.Cluster, error) { clusterInfos := config.config.Clusters - clusterInfoName := config.getClusterName() + clusterInfoName, required := config.getClusterName() var mergedClusterInfo clientcmdapi.Cluster mergo.Merge(&mergedClusterInfo, config.overrides.ClusterDefaults) if configClusterInfo, exists := clusterInfos[clusterInfoName]; exists { mergo.Merge(&mergedClusterInfo, configClusterInfo) + } else if required { + return clientcmdapi.Cluster{}, fmt.Errorf("cluster %q does not exist", clusterInfoName) } mergo.Merge(&mergedClusterInfo, config.overrides.ClusterInfo) // An override of --insecure-skip-tls-verify=true and no accompanying CA/CA data should clear already-set CA/CA data @@ -383,7 +426,7 @@ func (config *DirectClientConfig) getCluster() clientcmdapi.Cluster { mergedClusterInfo.CertificateAuthorityData = nil } - return mergedClusterInfo + return mergedClusterInfo, nil } // inClusterClientConfig makes a config that will work from within a kubernetes cluster container environment. diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/client_config_test.go b/staging/src/k8s.io/client-go/tools/clientcmd/client_config_test.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/client_config_test.go rename to staging/src/k8s.io/client-go/tools/clientcmd/client_config_test.go index 6471957e4b2..3b9d43e0625 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/client_config_test.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/client_config_test.go @@ -24,7 +24,7 @@ import ( "testing" "github.com/imdario/mergo" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) func TestOldMergoLib(t *testing.T) { diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/config.go b/staging/src/k8s.io/client-go/tools/clientcmd/config.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/config.go rename to staging/src/k8s.io/client-go/tools/clientcmd/config.go index f95a66d89ba..3e5aa49a38f 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/config.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/config.go @@ -26,8 +26,8 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/rest" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + "k8s.io/client-go/rest" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) // ConfigAccess is used by subcommands and methods in this package to load and modify the appropriate config files diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/doc.go b/staging/src/k8s.io/client-go/tools/clientcmd/doc.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/doc.go rename to staging/src/k8s.io/client-go/tools/clientcmd/doc.go index e8864c56350..a4cfbd13ce1 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/doc.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/doc.go @@ -34,4 +34,4 @@ Sample usage from merged .kubeconfig files (local directory, home directory) client, err := unversioned.New(config) // ... */ -package clientcmd // import "k8s.io/client-go/1.5/tools/clientcmd" +package clientcmd // import "k8s.io/client-go/tools/clientcmd" diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/loader.go b/staging/src/k8s.io/client-go/tools/clientcmd/loader.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/loader.go rename to staging/src/k8s.io/client-go/tools/clientcmd/loader.go index 03020a51adc..d678e7fa203 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/loader.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/loader.go @@ -30,13 +30,13 @@ import ( "github.com/golang/glog" "github.com/imdario/mergo" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" - utilerrors "k8s.io/client-go/1.5/pkg/util/errors" - "k8s.io/client-go/1.5/pkg/util/homedir" - "k8s.io/client-go/1.5/rest" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" - clientcmdlatest "k8s.io/client-go/1.5/tools/clientcmd/api/latest" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" + utilerrors "k8s.io/client-go/pkg/util/errors" + "k8s.io/client-go/pkg/util/homedir" + "k8s.io/client-go/rest" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" + clientcmdlatest "k8s.io/client-go/tools/clientcmd/api/latest" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/loader_test.go b/staging/src/k8s.io/client-go/tools/clientcmd/loader_test.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/loader_test.go rename to staging/src/k8s.io/client-go/tools/clientcmd/loader_test.go index 5456660e144..ca824b3f931 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/loader_test.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/loader_test.go @@ -28,9 +28,9 @@ import ( "github.com/ghodss/yaml" - "k8s.io/client-go/1.5/pkg/runtime" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" - clientcmdlatest "k8s.io/client-go/1.5/tools/clientcmd/api/latest" + "k8s.io/client-go/pkg/runtime" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" + clientcmdlatest "k8s.io/client-go/tools/clientcmd/api/latest" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/merged_client_builder.go b/staging/src/k8s.io/client-go/tools/clientcmd/merged_client_builder.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/merged_client_builder.go rename to staging/src/k8s.io/client-go/tools/clientcmd/merged_client_builder.go index 950cb7cd7c9..5343509c023 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/merged_client_builder.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/merged_client_builder.go @@ -22,8 +22,8 @@ import ( "github.com/golang/glog" - "k8s.io/client-go/1.5/rest" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + "k8s.io/client-go/rest" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) // DeferredLoadingClientConfig is a ClientConfig interface that is backed by a client config loader. diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/merged_client_builder_test.go b/staging/src/k8s.io/client-go/tools/clientcmd/merged_client_builder_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/merged_client_builder_test.go rename to staging/src/k8s.io/client-go/tools/clientcmd/merged_client_builder_test.go index c17a7aeb9e8..e73fc93b117 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/merged_client_builder_test.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/merged_client_builder_test.go @@ -20,8 +20,8 @@ import ( "fmt" "testing" - "k8s.io/client-go/1.5/rest" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + "k8s.io/client-go/rest" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) type testLoader struct { diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/overrides.go b/staging/src/k8s.io/client-go/tools/clientcmd/overrides.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/overrides.go rename to staging/src/k8s.io/client-go/tools/clientcmd/overrides.go index c81a7dd50cd..965eca6440e 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/overrides.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/overrides.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/pflag" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) // ConfigOverrides holds values that should override whatever information is pulled from the actual Config object. You can't diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/validation.go b/staging/src/k8s.io/client-go/tools/clientcmd/validation.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/validation.go rename to staging/src/k8s.io/client-go/tools/clientcmd/validation.go index 77f4a60a8ad..284245e96db 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/validation.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/validation.go @@ -23,9 +23,9 @@ import ( "reflect" "strings" - utilerrors "k8s.io/client-go/1.5/pkg/util/errors" - "k8s.io/client-go/1.5/pkg/util/validation" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + utilerrors "k8s.io/client-go/pkg/util/errors" + "k8s.io/client-go/pkg/util/validation" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) var ( diff --git a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/validation_test.go b/staging/src/k8s.io/client-go/tools/clientcmd/validation_test.go similarity index 99% rename from staging/src/k8s.io/client-go/1.5/tools/clientcmd/validation_test.go rename to staging/src/k8s.io/client-go/tools/clientcmd/validation_test.go index 294ee804c41..87ca4b0368c 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/clientcmd/validation_test.go +++ b/staging/src/k8s.io/client-go/tools/clientcmd/validation_test.go @@ -22,8 +22,8 @@ import ( "strings" "testing" - utilerrors "k8s.io/client-go/1.5/pkg/util/errors" - clientcmdapi "k8s.io/client-go/1.5/tools/clientcmd/api" + utilerrors "k8s.io/client-go/pkg/util/errors" + clientcmdapi "k8s.io/client-go/tools/clientcmd/api" ) func TestConfirmUsableBadInfoButOkConfig(t *testing.T) { diff --git a/staging/src/k8s.io/client-go/1.5/tools/metrics/metrics.go b/staging/src/k8s.io/client-go/tools/metrics/metrics.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/tools/metrics/metrics.go rename to staging/src/k8s.io/client-go/tools/metrics/metrics.go diff --git a/staging/src/k8s.io/client-go/1.5/tools/portforward/doc.go b/staging/src/k8s.io/client-go/tools/portforward/doc.go similarity index 90% rename from staging/src/k8s.io/client-go/1.5/tools/portforward/doc.go rename to staging/src/k8s.io/client-go/tools/portforward/doc.go index 82dbacbef6f..2f53406344f 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/portforward/doc.go +++ b/staging/src/k8s.io/client-go/tools/portforward/doc.go @@ -16,4 +16,4 @@ limitations under the License. // Package portforward adds support for SSH-like port forwarding from the client's // local host to remote containers. -package portforward // import "k8s.io/client-go/1.5/tools/portforward" +package portforward // import "k8s.io/client-go/tools/portforward" diff --git a/staging/src/k8s.io/client-go/1.5/tools/portforward/portforward.go b/staging/src/k8s.io/client-go/tools/portforward/portforward.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/portforward/portforward.go rename to staging/src/k8s.io/client-go/tools/portforward/portforward.go index 80cb4f103b6..2004c0bd572 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/portforward/portforward.go +++ b/staging/src/k8s.io/client-go/tools/portforward/portforward.go @@ -27,10 +27,10 @@ import ( "strings" "sync" - "k8s.io/client-go/1.5/pkg/api" - "k8s.io/client-go/1.5/pkg/kubelet/server/portforward" - "k8s.io/client-go/1.5/pkg/util/httpstream" - "k8s.io/client-go/1.5/pkg/util/runtime" + "k8s.io/client-go/pkg/api" + "k8s.io/client-go/pkg/kubelet/server/portforward" + "k8s.io/client-go/pkg/util/httpstream" + "k8s.io/client-go/pkg/util/runtime" ) // PortForwarder knows how to listen for local connections and forward them to diff --git a/staging/src/k8s.io/client-go/1.5/tools/record/doc.go b/staging/src/k8s.io/client-go/tools/record/doc.go similarity index 91% rename from staging/src/k8s.io/client-go/1.5/tools/record/doc.go rename to staging/src/k8s.io/client-go/tools/record/doc.go index a3d6d8ce5b1..657ddecbcdc 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/record/doc.go +++ b/staging/src/k8s.io/client-go/tools/record/doc.go @@ -15,4 +15,4 @@ limitations under the License. */ // Package record has all client logic for recording and reporting events. -package record // import "k8s.io/client-go/1.5/tools/record" +package record // import "k8s.io/client-go/tools/record" diff --git a/staging/src/k8s.io/client-go/1.5/tools/record/event.go b/staging/src/k8s.io/client-go/tools/record/event.go similarity index 97% rename from staging/src/k8s.io/client-go/1.5/tools/record/event.go rename to staging/src/k8s.io/client-go/tools/record/event.go index f8ba8c7c3a1..89cba20ee10 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/record/event.go +++ b/staging/src/k8s.io/client-go/tools/record/event.go @@ -21,14 +21,14 @@ import ( "math/rand" "time" - "k8s.io/client-go/1.5/pkg/api/errors" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/clock" - utilruntime "k8s.io/client-go/1.5/pkg/util/runtime" - "k8s.io/client-go/1.5/pkg/watch" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api/errors" + "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/clock" + utilruntime "k8s.io/client-go/pkg/util/runtime" + "k8s.io/client-go/pkg/watch" + "k8s.io/client-go/rest" "net/http" diff --git a/staging/src/k8s.io/client-go/1.5/tools/record/event_test.go b/staging/src/k8s.io/client-go/tools/record/event_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/record/event_test.go rename to staging/src/k8s.io/client-go/tools/record/event_test.go index cdef349c55b..2e8a9dba439 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/record/event_test.go +++ b/staging/src/k8s.io/client-go/tools/record/event_test.go @@ -25,14 +25,14 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/api/errors" - _ "k8s.io/client-go/1.5/pkg/api/install" // To register api.Pod used in tests below - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - k8sruntime "k8s.io/client-go/1.5/pkg/runtime" - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/strategicpatch" - "k8s.io/client-go/1.5/rest" + "k8s.io/client-go/pkg/api/errors" + _ "k8s.io/client-go/pkg/api/install" // To register api.Pod used in tests below + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + k8sruntime "k8s.io/client-go/pkg/runtime" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/strategicpatch" + "k8s.io/client-go/rest" ) type testEventSink struct { diff --git a/staging/src/k8s.io/client-go/1.5/tools/record/events_cache.go b/staging/src/k8s.io/client-go/tools/record/events_cache.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/record/events_cache.go rename to staging/src/k8s.io/client-go/tools/record/events_cache.go index 5bd8b8d2b41..6e68a2203df 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/record/events_cache.go +++ b/staging/src/k8s.io/client-go/tools/record/events_cache.go @@ -25,11 +25,11 @@ import ( "github.com/golang/groupcache/lru" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/sets" - "k8s.io/client-go/1.5/pkg/util/strategicpatch" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/sets" + "k8s.io/client-go/pkg/util/strategicpatch" ) const ( diff --git a/staging/src/k8s.io/client-go/1.5/tools/record/events_cache_test.go b/staging/src/k8s.io/client-go/tools/record/events_cache_test.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/tools/record/events_cache_test.go rename to staging/src/k8s.io/client-go/tools/record/events_cache_test.go index 629d0962dc0..168f672b748 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/record/events_cache_test.go +++ b/staging/src/k8s.io/client-go/tools/record/events_cache_test.go @@ -22,10 +22,10 @@ import ( "testing" "time" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/api/v1" - "k8s.io/client-go/1.5/pkg/util/clock" - "k8s.io/client-go/1.5/pkg/util/diff" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/api/v1" + "k8s.io/client-go/pkg/util/clock" + "k8s.io/client-go/pkg/util/diff" ) func makeObjectReference(kind, name, namespace string) v1.ObjectReference { diff --git a/staging/src/k8s.io/client-go/1.5/tools/record/fake.go b/staging/src/k8s.io/client-go/tools/record/fake.go similarity index 95% rename from staging/src/k8s.io/client-go/1.5/tools/record/fake.go rename to staging/src/k8s.io/client-go/tools/record/fake.go index 712d4ff297f..81069e83f5a 100644 --- a/staging/src/k8s.io/client-go/1.5/tools/record/fake.go +++ b/staging/src/k8s.io/client-go/tools/record/fake.go @@ -19,8 +19,8 @@ package record import ( "fmt" - "k8s.io/client-go/1.5/pkg/api/unversioned" - "k8s.io/client-go/1.5/pkg/runtime" + "k8s.io/client-go/pkg/api/unversioned" + "k8s.io/client-go/pkg/runtime" ) // FakeRecorder is used as a fake during tests. It is thread safe. It is usable diff --git a/staging/src/k8s.io/client-go/1.5/transport/cache.go b/staging/src/k8s.io/client-go/transport/cache.go similarity index 98% rename from staging/src/k8s.io/client-go/1.5/transport/cache.go rename to staging/src/k8s.io/client-go/transport/cache.go index 6902757e195..6e52d771e9f 100644 --- a/staging/src/k8s.io/client-go/1.5/transport/cache.go +++ b/staging/src/k8s.io/client-go/transport/cache.go @@ -23,7 +23,7 @@ import ( "sync" "time" - utilnet "k8s.io/client-go/1.5/pkg/util/net" + utilnet "k8s.io/client-go/pkg/util/net" ) // TlsTransportCache caches TLS http.RoundTrippers different configurations. The diff --git a/staging/src/k8s.io/client-go/1.5/transport/cache_test.go b/staging/src/k8s.io/client-go/transport/cache_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/transport/cache_test.go rename to staging/src/k8s.io/client-go/transport/cache_test.go diff --git a/staging/src/k8s.io/client-go/1.5/transport/config.go b/staging/src/k8s.io/client-go/transport/config.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/transport/config.go rename to staging/src/k8s.io/client-go/transport/config.go diff --git a/staging/src/k8s.io/client-go/1.5/transport/round_trippers.go b/staging/src/k8s.io/client-go/transport/round_trippers.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/transport/round_trippers.go rename to staging/src/k8s.io/client-go/transport/round_trippers.go diff --git a/staging/src/k8s.io/client-go/1.5/transport/round_trippers_test.go b/staging/src/k8s.io/client-go/transport/round_trippers_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/transport/round_trippers_test.go rename to staging/src/k8s.io/client-go/transport/round_trippers_test.go diff --git a/staging/src/k8s.io/client-go/1.5/transport/transport.go b/staging/src/k8s.io/client-go/transport/transport.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/transport/transport.go rename to staging/src/k8s.io/client-go/transport/transport.go diff --git a/staging/src/k8s.io/client-go/1.5/transport/transport_test.go b/staging/src/k8s.io/client-go/transport/transport_test.go similarity index 100% rename from staging/src/k8s.io/client-go/1.5/transport/transport_test.go rename to staging/src/k8s.io/client-go/transport/transport_test.go